JPH10257066A - Network address retrieval system - Google Patents

Network address retrieval system

Info

Publication number
JPH10257066A
JPH10257066A JP9059103A JP5910397A JPH10257066A JP H10257066 A JPH10257066 A JP H10257066A JP 9059103 A JP9059103 A JP 9059103A JP 5910397 A JP5910397 A JP 5910397A JP H10257066 A JPH10257066 A JP H10257066A
Authority
JP
Japan
Prior art keywords
address
control table
search
divided
network
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.)
Granted
Application number
JP9059103A
Other languages
Japanese (ja)
Other versions
JP3520709B2 (en
Inventor
Yasuhisa Tokiniwa
康久 時庭
Toru Inada
徹 稲田
Teruko Fujii
照子 藤井
Akira Watanabe
晃 渡邊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP05910397A priority Critical patent/JP3520709B2/en
Publication of JPH10257066A publication Critical patent/JPH10257066A/en
Application granted granted Critical
Publication of JP3520709B2 publication Critical patent/JP3520709B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an address control table retrieval system capable of simultaneously retrieving an address and a masked address and speeding up the retrieval of the address. SOLUTION: In the retrieval of an IP address 133. 141. 77. 59, the address is divided into four addresses, i.e., 133, 141, 77, 59 and a first control table, a second control table, a third control table, a fourth control table are successively retrieved by using values of each address. In the retrieval of each control table, a retrieval end/continuation flag in the control table corresponding to the divided addresse is read, the end or continuation of the retrieval is decided and when the retrieval is continued, the next table pointer of the control table used in the next retrieval corresponding to the divided address in the control table is read. Each control table is repeatedly read and retrieved until the end of the retrieval.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、ネットワークの
中継装置内やネットワークに接続された端末内でのネッ
トワークのアドレスの検索におけるネットワークアドレ
ス検索方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network address search method for searching for a network address in a network relay device or in a terminal connected to the network.

【0002】[0002]

【従来の技術】情報通信網システムは、多数の端末や中
継装置を相互接続した網である。図11は情報通信網シ
ステムを表し、図において1は広域網、11と12と1
3は中継装置、21から24は端末である。中継装置1
3のインタフェースAは中継装置11と接続され、イン
タフェースBは中継装置12と接続され、インタフェー
スCは端末24と接続され、インタフェースDは広域網
1と接続されている。端末と端末の通信においては、通
信相手端末を識別するためにアドレスを用いる。端末
は、通信相手端末のアドレスに関連した情報をアドレス
を用いて検索し、検索した情報の利用により動作を決定
する。また、中継装置は中継処理、特に中継データの方
路決定のためにアドレスに関連した情報を通信端末のア
ドレスを用いて検索する。これらのアドレス検索では、
検索を高速化しデータの転送遅延を少なくしなければな
らない。
2. Description of the Related Art An information communication network system is a network in which a large number of terminals and relay devices are interconnected. FIG. 11 shows an information communication network system, where 1 is a wide area network, 11, 12 and 1.
3 is a relay device, 21 to 24 are terminals. Relay device 1
3, the interface A is connected to the relay device 11, the interface B is connected to the relay device 12, the interface C is connected to the terminal 24, and the interface D is connected to the wide area network 1. In communication between terminals, an address is used to identify a communication partner terminal. The terminal searches for information related to the address of the communication partner terminal using the address, and determines an operation by using the searched information. Further, the relay device searches for information related to the address using the address of the communication terminal for relay processing, particularly for determining the route of the relay data. For these address searches,
The search must be speeded up and the data transfer delay must be reduced.

【0003】端末や中継装置は、アドレスにアドレスマ
スクを掛けて生成したアドレスに関連した情報を保持し
ている。これによりアドレスマスクを掛ける以前の複数
のアドレスに関連した情報を複数保持していないので保
持する情報量を少なくする。アドレスマスクは、アドレ
スの下位に位置する数ビットをマスクすることにより用
いられる。アドレス検索では、ある一つのアドレスの検
索においてマスクするビット長ごとに複数の検索結果が
存在するが、マスクしていないビット長の大きい検索結
果から選択する方法を採用しており、この方法をアドレ
スマスクのロンゲストマッチと呼ぶ。アドレス検索では
アドレスマスクのロンゲストマッチに対応した検索を高
速化しなければならない。
[0003] A terminal or a relay device holds information related to an address generated by multiplying the address by an address mask. Thus, since a plurality of pieces of information related to a plurality of addresses before the address mask is applied are not held, the amount of information to be held is reduced. The address mask is used by masking several bits located at the lower part of the address. In the address search, there are a plurality of search results for each bit length to be masked in the search of a certain address, but a method of selecting from search results having a large bit length which is not masked is adopted. This is called a mask longest match. In the address search, the search corresponding to the longest match of the address mask must be speeded up.

【0004】図12は、例えば中継装置13で受信デー
タを送出するインタフェースを決定するために用いるル
ーティングテーブルである。図12において宛先ネット
ワークが26.0.0.0でアドレスマスクが255.
0.0.0の該当する宛先アドレス26.0.0.0〜
26.255.255.255へのデータは、送信イン
タフェースAから回線に送信される。宛先ネットワーク
が133.141.76.0でアドレスマスクが25
5.255.252.0の該当する宛先アドレス13
3.141.76.0〜133.141.79.255
へのデータは、送信インタフェースAから回線に送信さ
れる。
FIG. 12 shows a routing table used by the relay device 13 to determine an interface for transmitting received data. In FIG. 12, the destination network is 26.0.0.0 and the address mask is 255.0.0.
The corresponding destination address of 0.0.
Data to 26.255.255.255 is transmitted from transmission interface A to the line. The destination network is 133.141.76.0 and the address mask is 25
Applicable destination address 13 of 5.255.252.0
3.1411.76.0 to 133.141.77.955
Is transmitted from the transmission interface A to the line.

【0005】宛先ネットワークが133.141.7
7.0でアドレスマスクが255.255.255.0
の該当する宛先アドレス133.141.77.0〜1
33.141.77.255へのデータは、送信インタ
フェースBから回線に送信される。宛先ネットワークが
133.141.77.59でアドレスマスクが25
5.255.255.255の該当する宛先アドレス1
33.141.77.59へのデータは、送信インタフ
ェースCから回線に送信される。そして全アドレスは、
送信インタフェースDから回線に送信される。
If the destination network is 133.141.7
7.0 with an address mask of 255.255.255.0
Destination address 133.141.77.0-1
Data to 33.141.77.255 is transmitted from transmission interface B to the line. The destination network is 133.141.77.59 and the address mask is 25
Applicable destination address 1 of 5.255.255.255
Data to 33.141.77.59 is transmitted from transmission interface C to the line. And all addresses are
The data is transmitted from the transmission interface D to the line.

【0006】中継装置13においてインタフェースDか
ら宛先アドレス133.141.77.59宛へのデー
タを受信した場合、中継装置13は中継のために受信し
たデータを送信するインタフェースを決定しなければな
らない。133.141.77.59は、送信インタフ
ェースAと送信インタフェースBと送信インタフェース
Cへのそれぞれの宛先アドレスの条件を満たしている
が、アドレスマスクのロンゲストマッチによりアドレス
マスクの一番長い255.255.255.255のイ
ンタフェースCにデータを送信する。
When the relay apparatus 13 receives data addressed to the destination address 133.141.77.59 from the interface D, the relay apparatus 13 must determine an interface for transmitting the received data for relay. 133.141.77.59 satisfies the conditions of the respective destination addresses to the transmission interface A, the transmission interface B, and the transmission interface C, but the longest match of the address mask is 255.255 due to the longest match of the address mask. . 255.255 to the interface C.

【0007】図13は例えば特開昭62−91038号
公報に示された従来のネットワークアドレス検索方式で
用いられていたポインタテーブルであり、図において、
ポインタテーブルはテーブルポインタ”0”からテーブ
ルポインタ”63”から構成され、個々のパス制御テー
ブルは別のパス制御テーブルを指す次テーブルポインタ
とIPアドレスとIPアドレスマスクと送信インタフェ
ースとパス制御テーブルへの連結があるかないかを示す
シノニムポインタから構成される。
FIG. 13 is a pointer table used in the conventional network address search system disclosed in Japanese Patent Application Laid-Open No. Sho 62-91038, for example.
The pointer table is composed of a table pointer “0” to a table pointer “63”, and each path control table has a next table pointer pointing to another path control table, an IP address, an IP address mask, a transmission interface, and a path control table. It consists of a synonym pointer that indicates whether there is a connection.

【0008】次に動作について説明する。本従来例で
は、IPアドレスのハッシュ値を取りポインタテーブル
の検索のための索引とする。すなわち、多数のパス制御
テーブルを配列するに当たり、各パス制御テーブルのI
Pアドレスのハッシュ値を取る。今仮にハッシュ値の演
算方法をIPアドレスの32ビットを8ビットごとに区
切り、区切った4つの数字の加算の最下位6ビットをハ
ッシュ値とする。パス制御テーブルのIPアドレスを2
6.0.0.0、IPアドレスマスクを255.0.
0.0であるとすると、ハッシュ値は26+0+0+0
=26の最下位6ビットである26となる。従って図1
3に示すポインタテーブルのテーブルポインタ”26”
に、上記パス制御テーブルを指すように設定する。パス
制御テーブルのIPアドレスを133.141.76.
0、IPアドレスマスクを255.255.252.0
であるとすると、ハッシュ値は133+141+76+
0=350の最下位6ビットである30となる。従って
図13に示すポインタテーブルのテーブルポインタ”3
0”に、上記パス制御テーブルを指すように設定する。
Next, the operation will be described. In this conventional example, the hash value of the IP address is taken and used as an index for searching the pointer table. That is, when arranging a large number of path control tables, the I
Take the hash value of the P address. Suppose now that the calculation method of the hash value is such that 32 bits of the IP address are divided into 8 bits, and the least significant 6 bits of the addition of the divided four numbers are used as the hash value. Set the IP address of the path control table to 2
6.0.0.0, the IP address mask is 255.0.
If it is 0.0, the hash value is 26 + 0 + 0 + 0
= 26, which is the least significant 6 bits. Therefore, FIG.
Table pointer "26" of the pointer table shown in FIG.
Is set to point to the path control table. Change the IP address of the path control table to 133.141.76.
0, IP address mask 255.255.252.0
, The hash value is 133 + 141 + 76 +
The least significant 6 bits of 0 = 350 are 30. Therefore, the table pointer "3" of the pointer table shown in FIG.
0 "is set to indicate the path control table.

【0009】パス制御テーブルのIPアドレスを13
3.141.77.0、IPアドレスマスクを255.
255.255.0であるとすると、ハッシュ値は13
3+141+77+0=351の最下位6ビットである
31となる。従って図13に示すポインタテーブルのテ
ーブルポインタ”31”に、上記パス制御テーブルを指
すように設定する。パス制御テーブルのIPアドレスを
133.141.77.59、IPアドレスマスクを2
55.255.255.255であるとすると、ハッシ
ュ値は133+141+77+59=410の最下位6
ビットである26となる。従って図13に示すポインタ
テーブルのテーブルポインタ”26”には、IPアドレ
スを26.0.0.0、IPアドレスマスクを255.
0.0.0のパス制御テーブルが設定されているので、
IPアドレスを26.0.0.0、IPアドレスマスク
を255.0.0.0のパス制御テーブルの次テーブル
ポインタに上記パス制御テーブルを指すように設定す
る。
The IP address of the path control table is set to 13
3.141.77.0, IP address mask 255.
If it is 255.255.0, the hash value is 13
3 + 141 + 77 + 0 = 351, which is the least significant 6 bits, is 31. Therefore, the table pointer "31" of the pointer table shown in FIG. 13 is set so as to point to the path control table. The IP address of the path control table is 133.141.77.59, and the IP address mask is 2
Assuming that 55.255.255.255, the hash value is 133 + 141 + 77 + 59 = 410, the lowest 6
This is bit 26. Accordingly, the table pointer “26” of the pointer table shown in FIG. 13 has an IP address of 26.0.0.0 and an IP address mask of 255.
Since a 0.0.0.0 path control table is set,
The IP address is set to 26.0.0.0, and the IP address mask is set to the next table pointer of the path control table of 255.0.0.0 so as to point to the path control table.

【0010】同様に全てのパス制御テーブルについて同
様な処理を施して対応するテーブルポインタの位置に予
め配置しておく。即ち、テーブルポインタ”0”の位置
には、IPアドレスのハッシュ値が0となるパス制御テ
ーブルを並べる。この様にパス制御テーブルを並べる場
合、当然ある同一テーブルポインタの位置に複数個のパ
ス制御テーブルが並ぶことになる。従って図13に示す
様に、ポインタテーブル”26”のテーブルポインタ”
26”の位置に例えば二つのパス制御テーブルがある場
合には、テーブルポインタ”26”にはIPアドレス2
6.0.0.0のパス制御テーブルを指すように設定
し、IPアドレス26.0.0.0のパス制御テーブル
内の次テーブルポインタにはIPアドレス133.14
1.77.59のパス制御テーブルを指すように設定
し、IPアドレス26.0.0.0のパス制御テーブル
内のシノニムポインタにはIPアドレス133.14
1.77.59のパス制御テーブルへの連結を示す”
1”を設定する。IPアドレス133.141.77.
59のパス制御テーブル内のシノニムポインタには連結
が無いことを示す”0”を設定する。テーブルポインタ
によっては該当するハッシュ値のパス制御テーブルが無
いこともあり、該当するパス制御テーブルが無いことを
示す特定の値、例えば「0」をテーブルポインタに設定
する。
[0010] Similarly, the same processing is performed for all the path control tables, and the path control tables are previously arranged at the positions of the corresponding table pointers. That is, a path control table in which the hash value of the IP address is 0 is arranged at the position of the table pointer “0”. When the path control tables are arranged in this way, a plurality of path control tables are naturally arranged at the position of a certain table pointer. Accordingly, as shown in FIG. 13, the table pointer "26" of the pointer table "26"
For example, when there are two path control tables at the position of “26”, the IP address 2 is stored in the table pointer “26”.
It is set to point to the path control table of 6.0.0.0, and the next table pointer in the path control table of IP address 26.0.0.0 is the IP address 133.14.
It is set to point to the path control table of 1.77.59, and the IP address 133.14 is set in the synonym pointer in the path control table of IP address 26.0.0.0.
Indicates connection to the path control table of 1.77.59 "
1 ". IP address 133.141.77.
The synonym pointer in the path control table 59 is set to “0” indicating that there is no connection. Depending on the table pointer, there is no path control table of the corresponding hash value, and a specific value indicating that there is no corresponding path control table, for example, “0” is set in the table pointer.

【0011】図13に示す例では、テーブルポインタ”
30”の指す位置には唯一のIPアドレス133.14
1.76.0のパス制御テーブルがある。シノニムポイ
ンタには”0”が設定され連結がないことを明示する。
同様にテーブルポインタ”31”の指す位置には、IP
アドレス133.141.77.0のパス制御テーブル
がある。IPアドレスの検索では、IPアドレスマスク
のロンゲストマッチにより、長いIPアドレスマスク値
でマスクしたIPアドレスより順番に検索し一致する制
御ブロックを検索する。
In the example shown in FIG. 13, the table pointer "
A unique IP address 133.14 at the location indicated by 30 "
There is a 1.76.0 path control table. "0" is set in the synonym pointer to indicate that there is no connection.
Similarly, at the position indicated by the table pointer “31”, the IP address
There is a path control table at address 133.141.77.0. In the search of the IP address, the longest match of the IP address mask is used to sequentially search from the IP address masked with the long IP address mask value to search for a matching control block.

【0012】IPアドレス133.141.78.11
1の検索を例にとると、最初の検索ではIPアドレスマ
スク255.255.255.255でマスクしたIP
アドレス133.141.78.111を検索し、13
3+141+78+111=463の下位6ビットであ
るハッシュ値15によりポインタテーブルのテーブルポ
インタ”15”を読み出すが該当するパス制御テーブル
は設定されていないので、次の検索ではIPアドレスマ
スク255.255.255.254に対応したIPア
ドレス133.141.78.110を検索し、一致す
るパス制御テーブルが無いので、次の検索ではIPアド
レスマスク255.255.255.252でマスクし
たIPアドレス133.141.78.108を検索す
る。これらの検索は、マスク長を1ビットづつ小さくし
てIPアドレス133.141.78.111をIPア
ドレスマスク255.255.252.0でマスクした
IPアドレス133.141.76.0まで続けられ
る。IPアドレスマスク255.255.252.0で
マスクしたIPアドレス133.141.76.0の検
索で該当するパス制御テーブルを検出し、送信インタフ
ェースAの情報を得て検索を終了する。
IP address 133.141.78.11
For example, in the first search, the IP address masked with the IP address mask 255.255.255.255 is used in the first search.
The address 133.141.78.111 is searched, and 13
The table pointer “15” of the pointer table is read from the hash value 15 which is the lower 6 bits of 3 + 141 + 78 + 111 = 463, but the corresponding path control table is not set. Is searched for the IP address 133.141.78.110, and there is no matching path control table. Therefore, in the next search, the IP address 133.141.78.110 masked with the IP address mask 255.255.255.252. Search 108. These searches are continued until the IP address 133.141.78.0 is obtained by reducing the mask length by one bit and masking the IP address 133.141.78.111 with the IP address mask 255.255.252.0. The corresponding path control table is detected by searching for the IP address 133.141.76.0 masked with the IP address mask 255.255.252.0, the information of the transmission interface A is obtained, and the search ends.

【0013】個々のIPアドレスの検索では、IPアド
レスのハッシュ値を演算しポインタテーブルの該当する
テーブルポインタの指す位置のパス制御テーブル内のI
PアドレスとIPアドレスマスクを比較し一致すれば検
索は終了する。比較した結果が一致しない場合、連結す
る次のパス制御テーブルを検索し、連結する最後の制御
テーブルまで続けられる。
In the search for each IP address, a hash value of the IP address is calculated, and the I value in the path control table at the position indicated by the corresponding table pointer in the pointer table is calculated.
The P address is compared with the IP address mask, and if they match, the search ends. If the result of the comparison does not match, the next path control table to be linked is searched, and the search is continued to the last control table to be linked.

【0014】IPアドレス133.141.77.59
の検索を例にとると、最初の検索ではIPアドレスマス
ク255.255.255.255でマスクしたIPア
ドレス133.141.77.59を検索し、133+
141+77+59=410の下位6ビットであるハッ
シュ値26によりポインタテーブルのテーブルポイン
タ”26”を読み出し、該当するパス制御テーブルには
IPアドレス26.0.0.0のアドレスがあるのでI
Pアドレス26.0.0.0のパス制御テーブルのシノ
ニムポインタが”1”であるので次テーブルポインタの
指すIPアドレス133.141.77.59パス制御
テーブルを読み出し、IPアドレスマスク255.25
5.255.255でマスクしたIPアドレス133.
141.77.59の検索で該当するパス制御テーブル
を検出し、送信インタフェースCの情報を得て検索を終
了する。
IP address 133.141.77.59
For example, in the first search, the IP address 133.141.77.59 masked with the IP address mask 255.255.255.255 is searched in the first search, and 133+
The table pointer "26" of the pointer table is read out from the hash value 26, which is the lower 6 bits of 141 + 77 + 59 = 410, and the corresponding path control table has the IP address 26.0.0.0.
Since the synonym pointer of the path control table with the P address 26.0.0.0 is “1”, the IP address 133.141.77.59 pointed to by the next table pointer is read, and the IP address mask 255.25 is read.
5. IP address masked with 5.255.255 133.
The corresponding path control table is detected by the search of 141.77.59, the information of the transmission interface C is obtained, and the search is terminated.

【0015】IPアドレスの検索で一致するパス制御テ
ーブルを検出した場合は、中継装置は検出したパス制御
テーブルの送信インタフェースから回線に中継データを
送信する。IPアドレスの検索で一致するパス制御テー
ブルが無い場合は、未登録の結果を得る。この場合、送
信インタフェースDから回線に中継データを送信する。
When a matching path control table is detected by searching for an IP address, the relay apparatus transmits relay data to the line from the transmission interface of the detected path control table. If there is no matching path control table in the IP address search, an unregistered result is obtained. In this case, the relay data is transmitted from the transmission interface D to the line.

【0016】[0016]

【発明が解決しようとする課題】従来のネットワークア
ドレス検索方式は以上のように構成されているので、I
Pアドレスから算出するハッシュ値が多数一致した場
合、連結する制御テーブルの数はハッシュ値が一致した
IPアドレスの数だけ増えることになり、未登録の検索
結果を得るには連結している最後の制御テーブルまで検
索しなければ検索を終了しないため検索回数が増えるな
どの問題があった。また、IPアドレスマスクのロンゲ
ストマッチによる検索では、長いIPアドレスマスク値
でマスクしたIPアドレスより順番に検索していくため
未登録の検索結果を得るには、全てのIPアドレスマス
ク値でマスクしたIPアドレスで検索をしなければなら
ないため検索回数が増えるなどの問題があった。
Since the conventional network address search method is configured as described above,
If a large number of hash values calculated from the P address match, the number of linked control tables will increase by the number of IP addresses with matching hash values. Unless the control table is searched, the search is not terminated, so that the number of searches increases. In addition, in the search based on the longest match of the IP address mask, the search is performed in order from the IP address masked with the long IP address mask value. Therefore, in order to obtain an unregistered search result, all the IP address mask values are masked. There is a problem that the number of searches increases because the search must be performed using the IP address.

【0017】この発明は上記のような問題点を解消する
ためになされたもので、アドレスの検索を高速化できる
ネットワークアドレス検索方式を得ることを目的とす
る。また、アドレスの検索とアドレスにマスクを施した
検索を同時に行え、アドレスの検索を高速化できるネッ
トワークアドレス検索方式を得ることを目的とする。
The present invention has been made to solve the above problems, and has as its object to provide a network address search method capable of speeding up address search. It is another object of the present invention to provide a network address search method capable of simultaneously performing an address search and a search with a mask applied to an address, thereby speeding up the address search.

【0018】[0018]

【課題を解決するための手段】第1の発明に係わるネッ
トワークアドレス検索方式は、ネットワークの中継装置
内やネットワークに接続された端末内でのネットワーク
アドレスに対応する情報(以下アドレス情報)を登録
し、検索するネットワークアドレス検索方式において、
上記ネットワークアドレスを複数のアドレスに分割し、
この分割したアドレス(以下、分割アドレスと称す)対
応に、検索終了か継続かを識別する情報と、継続なら次
に下位の分割アドレスに対応する制御テーブルを指すテ
ーブルポインタを有する制御テーブルを設け、アドレス
マスクを用いて指定する複数のネットワークアドレスに
対応して同じアドレス情報を登録する際、上記複数のネ
ットワークアドレスを分割した、上位の分割アドレスが
同一で下位の分割アドレスが互いに異なっていても登録
するアドレス情報が同じなら、上位の分割アドレスに対
応して検索終了とアドレス情報を制御テーブルに登録
し、下位の分割アドレスの制御テーブルに登録しようと
するアドレス情報が登録ずみのアドレス情報と異なるな
ら、検索継続と下位の分割アドレスに対応する制御テー
ブルを指すテーブルポインタとを上位の分割アドレスに
対応する制御テーブルに登録することを繰り返し、最下
位の分割アドレスに達したならその分割アドレスに対応
する制御テーブルに検索終了とアドレス情報を登録し、
検索するネットワークアドレスに対し上位の分割アドレ
スに対応する制御テーブルに検索終了が登録されている
なら、その分割アドレスに対応するアドレス情報を得
て、検索継続が登録されているなら、次のテーブルポイ
ンタから次に下位の分割アドレスに対応する制御テーブ
ルを求め、順次検索終了まで上記を繰り返すことによっ
てアドレス情報を検索するものである。
According to a first aspect of the present invention, a network address search system registers information (hereinafter, address information) corresponding to a network address in a relay device of a network or in a terminal connected to the network. In the network address search method to search,
Dividing the above network address into multiple addresses,
Corresponding to the divided address (hereinafter referred to as a divided address), a control table having information for identifying whether the search is completed or continuing, and a table pointer pointing to a control table corresponding to the next lower divided address if continuation is provided, When registering the same address information corresponding to a plurality of network addresses specified by using an address mask, the above network addresses are divided, and registered even if the upper divided address is the same and the lower divided addresses are different from each other. If the address information to be registered is the same, the search end and the address information are registered in the control table corresponding to the upper divided address, and if the address information to be registered in the lower divided address control table is different from the registered address information. , Table pointing to control table corresponding to search continuation and lower division address Repeatedly to register the control table corresponding to the interface to split the upper address, and registers the search end and address information in the control table corresponding to the divided address has been reached the lowest division address,
If the search end is registered in the control table corresponding to the upper division address for the network address to be searched, the address information corresponding to the division address is obtained, and if the search continuation is registered, the next table pointer , A control table corresponding to the next lower-order divided address is obtained, and the above process is repeated until the search is completed, thereby searching for address information.

【0019】第2の発明に係わるネットワークアドレス
検索方式は、ネットワークの中継装置内やネットワーク
に接続された端末内でのネットワークアドレスに対応す
る処理エントリアドレスを登録し、検索するネットワー
クアドレス検索方式において、上記ネットワークアドレ
スを複数のアドレスに分割し、この分割したアドレス
(以下、分割アドレスと称す)対応に、処理エントリア
ドレスと次に下位の分割アドレスに対応する制御テーブ
ルを指すテーブルポインタとを有する制御テーブルを設
け、アドレスマスクを用いて指定する複数のネットワー
クアドレスに対応する処理エントリアドレスを登録する
際、上記複数のネットワークアドレスを分割した、上位
の分割アドレスが同一で下位の分割アドレスに関係なく
上記処理エントリアドレスが同じなら、上位分割アドレ
スに対応する処理エントリアドレスを制御テーブルに登
録し、下位分割アドレスによって処理エントリアドレス
が異なるなら、下位の分割アドレスに対応する制御テー
ブルを指すテーブルポインタと検索を継続する検索関数
を上位の分割アドレスに対応する制御テーブルに登録
し、検索するネットワークアドレスに対し上位の分割ア
ドレスに対応する制御テーブルに処理エントリアドレス
が登録されているなら、その分割アドレスに対応する処
理エントリアドレスに制御を渡し、検索を継続する検索
関数のエントリアドレスが登録されているなら、次のテ
ーブルポインタから次に下位の分割アドレスに対応する
制御テーブルを求め、順次検索終了まで上記を繰り返す
ことによって処理エントリアドレスを検索するものであ
る。
A network address search method according to a second invention is a network address search method for registering and searching for a processing entry address corresponding to a network address in a relay device of a network or in a terminal connected to the network. A control table having a processing entry address and a table pointer pointing to a control table corresponding to the next lower divided address corresponding to the divided network address (hereinafter referred to as a divided address); When registering a processing entry address corresponding to a plurality of network addresses specified by using an address mask, the above-described processing is performed regardless of the lower divisional address, in which the plurality of network addresses are divided and the upper divisional address is the same. Entry door If the address is the same, the processing entry address corresponding to the upper division address is registered in the control table. If the processing entry address differs depending on the lower division address, the search is continued with the table pointer indicating the control table corresponding to the lower division address. If the search function is registered in the control table corresponding to the higher division address, and the processing entry address is registered in the control table corresponding to the higher division address for the network address to be searched, the processing entry corresponding to the division address If control is passed to the address and the entry address of the search function that continues the search is registered, the control table corresponding to the next lower divided address is obtained from the next table pointer, and the above is sequentially repeated until the search is completed. Check processing entry address It is intended to.

【0020】[0020]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.ネットワーク構成が図11で、中継装置
13におけるルーチングテーブルが図12の例をもと
に、図1を用いて本実施の形態を説明する。図1はアド
レス制御テーブルで、IPアドレスに対する送信インタ
フェースを記憶するものである。31は第1制御テーブ
ルで、A000からA255までの索引となる分割アド
レスと検索終了/継続フラグと次テーブルポインタと中
継データ送信先を決定する送信インタフェースから構成
される。32は第2制御テーブルで、B000からB2
55までの索引となる分割アドレスと検索終了/継続フ
ラグと次テーブルポインタと中継データ送信先を決定す
る送信インタフェースから構成される。33は第3制御
テーブルで、C000からC255までの索引となる分
割アドレスと検索終了/継続フラグと次テーブルポイン
タと中継データ送信先を決定する送信インタフェースか
ら構成される。34は第4制御テーブルでD000から
D255までの索引となる分割アドレスと検索終了/継
続フラグと次テーブルポインタと中継データ送信先を決
定する送信インタフェースから構成される。なお、アド
レス制御テーブルは第1制御テーブル31、第2制御テ
ーブル32、第3制御テーブル33および第4制御テー
ブル34から構成される。
Embodiment 1 FIG. This embodiment will be described with reference to FIG. 1 based on the network configuration shown in FIG. 11 and the routing table in the relay device 13 shown in FIG. FIG. 1 is an address control table for storing a transmission interface for an IP address. Reference numeral 31 denotes a first control table, which includes a divided address serving as an index from A000 to A255, a search end / continuation flag, a next table pointer, and a transmission interface for determining a relay data transmission destination. 32 is a second control table, from B000 to B2
It is composed of a divided address serving as an index up to 55, a search end / continuation flag, a next table pointer, and a transmission interface for determining a relay data transmission destination. Reference numeral 33 denotes a third control table, which includes a divided address serving as an index from C000 to C255, a search end / continuation flag, a next table pointer, and a transmission interface for determining a relay data transmission destination. Reference numeral 34 denotes a fourth control table, which is composed of a divided address serving as an index from D000 to D255, a search end / continuation flag, a next table pointer, and a transmission interface for determining a relay data transmission destination. Note that the address control table includes a first control table 31, a second control table 32, a third control table 33, and a fourth control table 34.

【0021】次に動作について説明する。図2、図3は
この発明によるネットワークアドレス検索方式の処理手
順を示す図である。本実施の形態では、32ビットのI
Pアドレスを8ビットごと4つに分割し、その4つの数
字を”.”で区切り、それぞれ10進数に変換して表す
ことにより4段の制御テーブルを作成する。検索終了/
継続フラグは、検索が終了したことを表す時に”0”を
設定し、検索が次の制御テーブルに続く時に”1”を設
定する。検索終了/継続フラグに検索終了を表す”0”
が設定されている場合、検索終了/継続フラグと対を成
す送信インタフェースには、中継データを送信するイン
タフェース名が設定される。検索終了/継続フラグが検
索続行を表す”1”が設定されている場合、検索終了/
継続フラグと対を成す次テーブルポインタに検索すべき
制御テーブルへのポインタが設定される。
Next, the operation will be described. 2 and 3 are diagrams showing the processing procedure of the network address search method according to the present invention. In the present embodiment, a 32-bit I
The P address is divided into four for every 8 bits, the four numbers are separated by ".", And each is converted to a decimal number to represent a four-stage control table. End of search /
The continuation flag is set to “0” when it indicates that the search is completed, and is set to “1” when the search is continued to the next control table. "0" indicating search end is set in the search end / continuation flag.
Is set in the transmission interface paired with the search end / continuation flag, the interface name for transmitting the relay data is set. When the search end / continuation flag is set to “1” indicating that the search is continued, the search end / continuation flag is set.
The pointer to the control table to be searched is set in the next table pointer that is paired with the continuation flag.

【0022】IPアドレス133.141.77.59
をロングマッチのためのIPアドレスマスク255.2
55.255.255でマスクしたIPアドレス13
3.141.77.59とそれに対応する送信インタフ
ェースCを、アドレス制御テーブルに登録する例を説明
する。第1制御テーブル31のアドレスA133の検索
終了/継続フラグ312には、検索続行を表す”1”を
設定し、検索終了/継続フラグ312と対を成す次テー
ブルポインタ313には、第2制御テーブル32を指す
ポインタとしてB000を設定する。第2制御テーブル
32のアドレスB141の検索終了フラグ322には、
検索続行を表す”1”を設定し、検索終了/継続フラグ
322と対を成す次テーブルポインタ323には、第3
制御テーブル33を指すポインタとしてC000を設定
する。第3制御テーブル33のアドレスC077の検索
終了/継続フラグ332には、検索続行を表す”1”を
設定し、検索終了/継続フラグ332と対を成す次テー
ブルポインタ333には、第4制御テーブル34を指す
ポインタとしてD000を設定する。第4制御テーブル
34のアドレスD059の検索終了/継続フラグ342
には検索終了を表す”0”を設定し、検索終了/継続フ
ラグ342と対を成す送信インタフェースにはCを設定
する。
IP address 133.141.77.59
IP address mask 255.2 for long match
IP address 13 masked with 55.255.255
An example will be described in which 3.141.77.59 and the corresponding transmission interface C are registered in the address control table. The search end / continuation flag 312 of the address A133 of the first control table 31 is set to "1" indicating the search continuation, and the next table pointer 313 paired with the search end / continuation flag 312 is set to the second control table. B000 is set as a pointer to 32. The search end flag 322 of the address B141 of the second control table 32 includes
The next table pointer 323 paired with the search end / continuation flag 322 is set to “1” indicating the search continuation and the third
C000 is set as a pointer to the control table 33. The search end / continuation flag 332 of the address C077 of the third control table 33 is set to "1" indicating continuation of the search, and the next table pointer 333 paired with the search end / continuation flag 332 is set to the fourth control table. D000 is set as a pointer pointing to D.34. Search end / continue flag 342 at address D059 in fourth control table 34
Is set to "0" indicating the search end, and C is set to the transmission interface paired with the search end / continuation flag 342.

【0023】次に、IPアドレス133.141.7
7.59が登録されている状態において、IPアドレス
マスク255.255.255.0でマスクするとIP
アドレス133.141.77.0になるIPアドレス
すべて、ただし、登録済みのIPアドレス133.14
1.77.59を除く、即ち133.141.77.0
〜133.141.77.255のIPアドレスに対応
して送信インタフェースBをアドレス制御テーブルに登
録する例を説明する。第1制御テーブル31、第2制御
テーブル32および第3制御テーブル33への登録方法
については、IPアドレス133.141.77.59
の登録と同じである。第4制御テーブル34のアドレス
D059の検索終了/継続フラグ342は既に設定され
ているのでアドレスD059以外のアドレスD000〜
D058とD060〜D255の検索終了/継続フラグ
342には検索終了を表す”0”を設定し、検索終了/
継続フラグ342と対を成す送信インタフェースにはB
を設定する。
Next, the IP address 133.141.7
If the IP address mask 255.255.255.0 is masked in a state where 7.59 is registered, IP address
All IP addresses that become address 133.141.77.0, but registered IP addresses 133.14
Excluding 1.77.75, ie 133.141.77.0
An example will be described in which the transmission interface B is registered in the address control table corresponding to an IP address of 133.141.77.255. Regarding the registration method in the first control table 31, the second control table 32, and the third control table 33, the IP address 133.141.77.59
Same as registration. Since the search end / continuation flag 342 of the address D059 of the fourth control table 34 has already been set, addresses D000 to D000 other than the address D059 are set.
The search end / continuation flag 342 of D058 and D060 to D255 is set to “0” indicating the end of search, and the search end / continuation flag 342 is set.
The transmission interface paired with the continuation flag 342 has B
Set.

【0024】また、上記IPアドレスが登録されている
状態において、IPアドレスマスク255.255.2
52.0でマスクするとIPアドレス133.141.
76.0になるIPアドレスすべて、ただし、IPアド
レス133.141.77.0〜133.141.7
7.255を除く、即ち133.141.76.0〜1
33.141.76.255と133.141.78.
0〜133.141.79.255のIPアドレスに対
応して送信インタフェースAをアドレス制御テーブルに
登録する例を説明する。第1制御テーブル31と第2制
御テーブル32の設定については、IPアドレス13
3.141.77.59を設定する例と同じである。第
3制御テーブル33のアドレスC077の検索終了/継
続フラグ332は既に設定されているのでアドレスC0
76とC078とC079の検索終了/継続フラグ33
2には検索終了を表す”0”を設定し、検索終了/継続
フラグ332と対を成す送信インタフェースにはAを設
定する。
In the state where the above IP address is registered, the IP address mask 255.255.2
If masked with 52.0, the IP address 133.141.
All IP addresses that will be 76.0, except for IP addresses 133.141.77.0 to 133.141.7
Excluding 7.255, i.e. 133.141.76.0-1
33.141.76.255 and 133.141.78.
An example will be described in which the transmission interface A is registered in the address control table in correspondence with the IP address of 0 to 133.141.79.255. For the setting of the first control table 31 and the second control table 32, the IP address 13
This is the same as the example of setting 3.141.77.59. Since the search end / continuation flag 332 of the address C077 of the third control table 33 has already been set, the address C077
76, C078 and C079 search end / continuation flag 33
2 is set to “0” representing the end of the search, and A is set to the transmission interface paired with the search end / continuation flag 332.

【0025】また、上記IPアドレスが登録されている
状態において、IPアドレスマスク255.0.0.0
でマスクするとIPアドレス26.0.0.0になるI
Pアドレスすべて、即ち26.0.0.0〜26.25
5.255.255のIPアドレスに対応して送信イン
タフェースAをアドレス制御テーブルに登録する例を説
明する。第1制御テーブル31のアドレスA026の検
索終了/継続フラグ312には検索終了を表す”0”を
設定し、検索終了/継続フラグ312と対を成す送信イ
ンタフェースにはAを設定する。
When the IP address is registered, the IP address mask is 255.0.0.0.
I becomes 26.0.0.0 if masked by
All P addresses, ie, 26.0.0.0 to 26.25
An example will be described in which the transmission interface A is registered in the address control table corresponding to the IP address of 5.255.255. The search end / continuation flag 312 of the address A026 of the first control table 31 is set to "0" indicating the end of the search, and A is set to the transmission interface paired with the search end / continuation flag 312.

【0026】制御テーブルへのIPアドレスの登録で
は、IPアドレスとIPアドレスマスクにより第1制御
テーブル31から登録を行う。第2制御テーブル32、
第3制御テーブル33および第4制御テーブル34は、
次テーブルポインタの設定値により複数存在することに
なる。未登録のIPアドレスに対応する検索終了/継続
フラグには検索終了を表す”0”を設定し、検索終了/
継続フラグと対を成す送信インタフェースにはDを設定
する。なお、76、78、79に対応して第4の制御テ
ーブルを持たなくてもよい。
In the registration of the IP address in the control table, the registration is performed from the first control table 31 using the IP address and the IP address mask. A second control table 32,
The third control table 33 and the fourth control table 34
Depending on the setting value of the next table pointer, there are a plurality of them. The search end / continuation flag corresponding to the unregistered IP address is set to “0” indicating the search end, and the search end / continuation flag is set.
D is set for the transmission interface paired with the continuation flag. It is not necessary to have the fourth control table corresponding to 76, 78 and 79.

【0027】次に検索処理方法について、IPアドレス
133.141.77.59を検索し、送信インタフェ
ースを求める例を図2と図3により説明する。検索する
IPアドレスの先頭の8ビットの133を選択し(図2
のステップ52)、第1制御テーブル31のアドレスA
133の検索終了/継続フラグ312を読み出す(ステ
ップ53)。検索終了/継続フラグ312には検索続行
を表す”1”が設定されている(ステップ54)。次テー
ブルポインタ313を読み出し第2制御テーブル32の
ポインタB000を読み出す(ステップ57)。検索する
IPアドレスの2番目の8ビットの141を選択し(ス
テップ58)、B000が指す第2制御テーブル32の
アドレスB141の検索終了/継続フラグ322を読み
出す(ステップ59)。検索終了/継続フラグ322には
検索続行を表す”1”が設定されている(ステップ6
0)。
Next, a search processing method will be described with reference to FIGS. 2 and 3 in which an example is described in which the IP address 133.141.77.59 is searched for a transmission interface. The first 8 bits 133 of the IP address to be searched are selected (FIG. 2).
Step 52), the address A of the first control table 31
The search end / continuation flag 312 of 133 is read (step 53). In the search end / continuation flag 312, “1” indicating the search continuation is set (step 54). The next table pointer 313 is read, and the pointer B000 of the second control table 32 is read (step 57). The second 8-bit 141 of the IP address to be searched is selected (step 58), and the search end / continuation flag 322 of the address B141 of the second control table 32 indicated by B000 is read (step 59). The search end / continuation flag 322 is set to "1" indicating that the search is continued (step 6).
0).

【0028】次テーブルポインタ323を読み出し第3
制御テーブル33のポインタC000を読み出す(ステ
ップ63)。検索するIPアドレスの3番目の8ビット
の77を選択し(図3のステップ66)、C000が指す
第3制御テーブル33のアドレスC077の検索終了/
継続フラグ332を読み出す(ステップ67)。検索終了
/継続フラグ332には検索続行を表す”1”が設定さ
れている(ステップ68)。次テーブルポインタ333を
読み出し第4制御テーブル34のポインタD000を読
み出す(ステップ71)。検索するIPアドレスの4番目
の8ビットの59を選択し(ステップ72)、D000が
指す第4制御テーブル34のアドレスD059の検索終
了/継続フラグ342を読み出す(ステップ73)。検索
終了/継続フラグ342には検索終了を表す”0”が設
定されている(ステップ74)。送信インタフェースCを
読み出し(ステップ75)検索を終了する。
The next table pointer 323 is read and the third
The pointer C000 in the control table 33 is read (step 63). The third 8-bit 77 of the IP address to be searched is selected (step 66 in FIG. 3), and the search of the address C077 of the third control table 33 indicated by C000 is completed /
The continuation flag 332 is read (step 67). "1" indicating continuation of the search is set in the search end / continuation flag 332 (step 68). The next table pointer 333 is read, and the pointer D000 of the fourth control table 34 is read (step 71). The fourth 8-bit 59 of the IP address to be searched is selected (step 72), and the search end / continuation flag 342 of the address D059 of the fourth control table 34 indicated by D000 is read (step 73). The search end / continuation flag 342 is set to “0” indicating the end of the search (step 74). The transmission interface C is read (step 75), and the search ends.

【0029】次に、IPアドレス133.141.7
8.111を検索し、送信インタフェースを求める例を
図2と図3により説明する。検索するIPアドレスの先
頭の8ビットの133を選択し(ステップ52)、第1制
御テーブル31のアドレスA133の検索終了/継続フ
ラグ312を読み出す(ステップ53)。検索終了/継続
フラグ312には検索続行を表す”1”が設定されてい
る(ステップ54)。次テーブルポインタ313を読み出
し第2制御テーブル32のポインタB000を読み出す
(ステップ57)。
Next, the IP address 133.141.7
An example of retrieving 8.111 and obtaining a transmission interface will be described with reference to FIGS. The first 8-bit 133 of the IP address to be searched is selected (step 52), and the search end / continuation flag 312 of the address A133 in the first control table 31 is read (step 53). In the search end / continuation flag 312, “1” indicating the search continuation is set (step 54). The next table pointer 313 is read, and the pointer B000 of the second control table 32 is read.
(Step 57).

【0030】検索するIPアドレスの2番目の8ビット
の141を選択し(ステップ58)、B000が指す第2
制御テーブル32のアドレスB141の検索終了/継続
フラグ322を読み出す(ステップ59)。検索終了/継
続フラグ322には検索続行を表す”1”が設定されて
いる(ステップ60)。次テーブルポインタ322を読み
出し第3制御テーブル33のポインタC000を読み出
す(ステップ63)。検索するIPアドレスの3番目の8
ビットの78を選択し(ステップ66)、C000が指す
第3制御テーブル33のアドレスC078の検索終了/
継続フラグ332を読み出す(ステップ67)。検索終了
/継続フラグ332には検索終了を表す”0”が設定さ
れている(ステップ68)。送信インタフェースAを読み
出し(ステップ69)検索を終了する。
The second 8-bit 141 of the IP address to be searched is selected (step 58), and the second address indicated by B000 is selected.
The search end / continuation flag 322 of the address B141 of the control table 32 is read (step 59). The search end / continuation flag 322 is set with "1" indicating that the search is continued (step 60). The next table pointer 322 is read, and the pointer C000 of the third control table 33 is read (step 63). Third 8 of IP address to search
The bit 78 is selected (step 66), and the search of the address C078 of the third control table 33 indicated by C000 is completed /
The continuation flag 332 is read (step 67). “0” indicating the end of the search is set in the search end / continuation flag 332 (step 68). The transmission interface A is read (step 69), and the search ends.

【0031】また上記例では、IPアドレスについての
場合について述べたがIPX(Internet Packet Exchan
ge)アドレスやMAC(Media Access Control)アドレ
スや電話番号であってもよい。以上のようにこの発明に
よれば検索するアドレスを複数のビットごとにn個の数
に分割し、分割したアドレスの数の索引により対応した
制御テーブルを検索し、分割したアドレスの次の数に対
応した制御テーブルのアドレスを得るようにしたのでネ
ットワークアドレスを高速に検索できる。
In the above example, the case of an IP address has been described.
ge) address, MAC (Media Access Control) address, or telephone number. As described above, according to the present invention, the address to be searched is divided into n numbers for each of a plurality of bits, the corresponding control table is searched by the index of the number of the divided addresses, and the next number of the divided addresses is retrieved. Since the address of the corresponding control table is obtained, the network address can be searched at high speed.

【0032】更にこの発明によれば分割したアドレスの
m番目の数の索引により第m制御テーブルを検索し、読
み出した値により検索終了を検出することにしたのでネ
ットワークアドレスを高速に検索できる。
Further, according to the present invention, the m-th control table is searched by the index of the m-th number of the divided address, and the end of the search is detected by the read value, so that the network address can be searched at high speed.

【0033】実施の形態2.実施の形態1と同様に、ネ
ットワーク構成が図11で、中継装置13におけるルー
チングテーブルが図12の例をもとに、図4を用いて本
実施の形態を説明する。図4において、第1制御テーブ
ルはA000からA255までの索引となるアドレスと
処理エントリアドレスと次テーブルポインタから構成さ
れる。第2制御テーブルはB000からB255までの
索引となるアドレスと処理エントリアドレスと次テーブ
ルポインタから構成される。第3制御テーブルはC00
0からC255までの索引となるアドレスと処理エント
リアドレスと次テーブルポインタから構成される。第4
制御テーブルはD000からD255までの索引となる
アドレスと処理エントリアドレスと次テーブルポインタ
から構成される。
Embodiment 2 FIG. As in the first embodiment, the present embodiment will be described with reference to FIG. 4 based on the example of FIG. 11 having the network configuration of FIG. 11 and the routing table of the relay device 13 of FIG. In FIG. 4, the first control table includes an index address from A000 to A255, a processing entry address, and a next table pointer. The second control table includes an index address from B000 to B255, a processing entry address, and a next table pointer. The third control table is C00
It comprises an index address from 0 to C255, a process entry address, and a next table pointer. 4th
The control table includes an index address from D000 to D255, a processing entry address, and a next table pointer.

【0034】次に、図5、図6、図7、図8、図9、図
10はこの発明によるネットワークアドレス検索方式の
処理手順を示す図であり、図5は第1制御テーブル検索
関数、図6は第2制御テーブル検索関数、図7は第3制
御テーブル検索関数、図8は第4制御テーブル検索関
数、図9はデータをインタフェースAへ送信するA送信
関数とデータをインタフェースBへ送信するB送信関
数、図10はデータをインタフェースCへ送信するC送
信関数とデータをインタフェースDへ送信するD送信関
数である。本実施の形態では、IPアドレスの32ビッ
トを8ビットごとに分割し、区切った4つの数字により
4段の制御テーブルを作成する。処理エントリアドレス
は、該当するアドレスの処理関数を指すポインタであ
る。
Next, FIGS. 5, 6, 7, 8, 9 and 10 are diagrams showing the processing procedure of the network address search method according to the present invention, and FIG. 6 is a second control table search function, FIG. 7 is a third control table search function, FIG. 8 is a fourth control table search function, and FIG. 9 is an A transmission function for transmitting data to the interface A and transmitting data to the interface B. FIG. 10 shows a C transmission function for transmitting data to the interface C and a D transmission function for transmitting data to the interface D. In the present embodiment, 32 bits of the IP address are divided every 8 bits, and a four-stage control table is created using the four divided numbers. The processing entry address is a pointer that points to the processing function of the corresponding address.

【0035】第1制御テーブル41内の処理エントリア
ドレス412が第2制御テーブル検索関数を指した場合
に、処理エントリアドレス412と対を成す次テーブル
ポインタ413は、第2制御テーブル検索関数の引数と
して処理される第2制御テーブル42のアドレスを指す
ポインタである。第2制御テーブル42内の処理エント
リアドレス422が第3制御テーブル検索関数を指した
場合に、処理エントリアドレス422と対を成す次テー
ブルポインタ423は、第3制御テーブル検索関数の引
数として処理される第3制御テーブル43のアドレスを
指すポインタである。第3制御テーブル43内の処理エ
ントリアドレス432が第4制御テーブル検索関数を指
した場合に、処理エントリアドレス432と対を成す次
テーブルポインタ433は、第4制御テーブル検索関数
の引数として処理される第4制御テーブルのアドレスを
指すポインタである。第4制御テーブル44内の処理エ
ントリアドレスは、インタフェースA〜Dへデータを送
信するA〜D送信関数を指すポインタが設定されてい
る。
When the processing entry address 412 in the first control table 41 points to the second control table search function, the next table pointer 413 paired with the processing entry address 412 is used as an argument of the second control table search function. This is a pointer indicating the address of the second control table 42 to be processed. When the processing entry address 422 in the second control table 42 points to the third control table search function, the next table pointer 423 paired with the processing entry address 422 is processed as an argument of the third control table search function. This is a pointer indicating the address of the third control table 43. When the processing entry address 432 in the third control table 43 points to the fourth control table search function, the next table pointer 433 paired with the processing entry address 432 is processed as an argument of the fourth control table search function. This is a pointer indicating the address of the fourth control table. In the processing entry address in the fourth control table 44, pointers indicating A to D transmission functions for transmitting data to the interfaces A to D are set.

【0036】IPアドレス133.141.77.59
でIPアドレスマスク255.255.255.255
でマスクしたIPアドレス133.141.77.59
をアドレス制御テーブルに登録する例について説明す
る。第1制御テーブル41のアドレスA133の処理エ
ントリアドレス412には、第2制御テーブル検索関数
のポインタを設定する。処理エントリアドレス412と
対を成す次テーブルポインタ413には、第2制御テー
ブル42を指すポインタを設定する。第2制御テーブル
42のアドレスB141の処理エントリアドレス422
には、第3制御テーブル検索関数のポインタを設定す
る。処理エントリアドレス422と対を成す次テーブル
ポインタ423には、第3制御テーブル43を指すポイ
ンタを設定する。第3制御テーブル43のアドレスC0
77の処理エントリアドレス432には、第4制御テー
ブル検索関数のポインタを設定する。処理エントリアド
レス432と対を成す次テーブルポインタ433には、
第4制御テーブルを指すポインタを設定する。第4制御
テーブル44のアドレスD059の処理エントリアドレ
ス442にはインタフェースCへデータを送信するC送
信関数を指すポインタを設定する。
IP address 133.141.77.59
IP address mask 255.255.255.255
133.141.77.59 IP address masked by
Is registered in the address control table. In the processing entry address 412 of the address A133 of the first control table 41, a pointer of the second control table search function is set. As the next table pointer 413 paired with the processing entry address 412, a pointer pointing to the second control table 42 is set. Process entry address 422 of address B141 of second control table 42
, A pointer to a third control table search function is set. As the next table pointer 423 paired with the processing entry address 422, a pointer pointing to the third control table 43 is set. Address C0 of third control table 43
The pointer of the fourth control table search function is set to the process entry address 432 of 77. The next table pointer 433 paired with the processing entry address 432 includes:
Set a pointer to the fourth control table. In the processing entry address 442 of the address D059 of the fourth control table 44, a pointer indicating a C transmission function for transmitting data to the interface C is set.

【0037】IPアドレス133.141.77.59
をIPアドレスマスク255.255.255.0でマ
スクしたIPアドレス133.141.77.0をアド
レス制御テーブルに登録する例について説明する。IP
アドレスマスク255.255.255.0でマスクし
たIPアドレス133.141.77.0には、マスク
する前のIPアドレス133.141.77.0〜13
3.141.77.255のIPアドレスが該当する。
しかし、IPアドレス133.141.77.59につ
いては、ロンゲストマッチにより既に設定されている。
第1制御テーブル41と第2制御テーブル42と第3制
御テーブル43の設定については、IPアドレス13
3.141.77.59の設定例と同じである。第4制
御テーブル44のアドレスD059の処理エントリアド
レス442は既に設定されているのでアドレスD059
以外のアドレスD000〜D058とD060〜D25
5の処理エントリアドレス442にはインタフェースB
へデータを送信するB送信関数を指すポインタを設定す
る。
IP address 133.141.77.59
An example of registering an IP address 133.141.77.0 in which an IP address 133.141.77.0 is masked with an IP address mask 255.255.255.0 in an address control table will be described. IP
The IP address 133.141.77.0 masked by the address mask 255.255.255.0 has the IP address 133.141.77.0 to 13 before masking.
An IP address of 3.141.77.255 corresponds to this.
However, the IP address 133.141.77.59 has already been set by the longest match.
Regarding the setting of the first control table 41, the second control table 42, and the third control table 43, the IP address 13
This is the same as the setting example of 3.141.77.59. Since the processing entry address 442 of the address D059 of the fourth control table 44 has already been set, the address D059 is set.
Addresses other than D000 to D058 and D060 to D25
5, the processing entry address 442 has the interface B
A pointer to the B transmission function for transmitting data to is set.

【0038】IPアドレス133.141.77.59
でIPアドレスマスク255.255.252.0でマ
スクしたIPアドレス133.141.76.0をアド
レス制御テーブルに登録する例について説明する。IP
アドレスマスク255.255.252.0でマスクし
たIPアドレス133.141.76.0には、マスク
する前のIPアドレス133.141.76.0〜13
3.141.79.255のIPアドレスが該当する。
しかし、IPアドレス133.141.77.0〜13
3.141.77.255については、ロンゲストマッ
チにより既に設定されている。第1制御テーブル41と
第2制御テーブル42の設定については、IPアドレス
133.141.77.59を登録する例と同じであ
る。第3制御テーブル43のアドレスC077の処理エ
ントリアドレス432は既に設定されているのでアドレ
スC076とC078とC079の処理エントリアドレ
ス432にはインタフェースAへデータを送信するA送
信関数を指すポインタを設定する。
IP address 133.141.77.59
An example of registering the IP address 133.1411.76.0 masked with the IP address mask 255.255.252.0 in the address control table will be described. IP
The IP address 133.1411.76.0 masked by the address mask 255.255.252.0 has the IP address 133.141.76.0-13 before masking.
An IP address of 3.141.79.255 corresponds to this.
However, the IP address 133.1411.77.0-13
3.141.77.255 has already been set by longest match. The setting of the first control table 41 and the second control table 42 is the same as the example in which the IP address 133.141.77.59 is registered. Since the processing entry address 432 of the address C077 in the third control table 43 has already been set, a pointer indicating an A transmission function for transmitting data to the interface A is set in the processing entry addresses 432 of the addresses C076, C078, and C079.

【0039】IPアドレスマスク255.0.0.0で
マスクしたIPアドレス26.0.0.0をアドレス制
御テーブルに登録する例について説明する。IPアドレ
スマスク255.0.0.0でマスクしたIPアドレス
26.0.0.0には、マスクする前のIPアドレス2
6.0.0.0〜26.255.255.255のIP
アドレスが該当する。第1制御テーブルのアドレスA0
26の処理エントリアドレス412にはインタフェース
Aへデータを送信するA送信関数を指すポインタを設定
する。
An example in which an IP address 26.0.0.0 masked with an IP address mask 255.0.0.0 is registered in an address control table will be described. The IP address 26.0.0.0 masked with the IP address mask 255.0.0.0.0 has an IP address 2 before masking.
6.0.0.0 to 26.255.255.255 IP
Address is applicable. Address A0 of first control table
A pointer indicating an A transmission function for transmitting data to the interface A is set in the process entry address 412 of 26.

【0040】アドレス制御テーブルへIPアドレスを登
録するには、IPアドレスとIPアドレスマスクにより
第1制御テーブル41から設定を行う。第2制御テーブ
ル42と第3制御テーブル43と第4制御テーブル44
は、検索を続行するかどうかにより複数存在することに
なる。IPアドレスが未登録のアドレスに対応する処理
エントリアドレスにはインタフェースDへデータを送信
するD送信関数を指すポインタを設定する。
To register an IP address in the address control table, a setting is made from the first control table 41 using an IP address and an IP address mask. Second control table 42, third control table 43, and fourth control table 44
Exist depending on whether or not to continue the search. A pointer pointing to a D transmission function for transmitting data to the interface D is set in the processing entry address corresponding to the address whose IP address has not been registered.

【0041】次に検索処理方法について、IPアドレス
133.141.77.59を検索する例に説明する。
検索するIPアドレスの先頭の8ビットの133を選択
し(ステッフ゜82)、第1制御テーブル41のアドレスA133
の処理エントリアドレス412を読み出す(ステップ8
3)。読み出した処理エントリアドレス412には、第
2制御テーブル検索関数のポインタが設定されているの
で引数として次テーブルポインタB000を用いて第2
制御テーブル検索関数の処理を実行する(ステップ8
4)。検索するIPアドレスの2番目の8ビットの14
1を選択し(ステップ87)、第2制御テーブル42のア
ドレスB141の処理エントリアドレス422を読み出
す(ステップ88)。読み出した処理エントリアドレス4
22には、第3制御テーブル検索関数のポインタが設定
されているので引数として次テーブルポインタC000
を用いて第3制御テーブル検索関数の処理を実行する
(ステップ89)。検索するIPアドレスの3番目の8ビ
ットの77を選択し(ステップ92)、第3制御テーブル
43のアドレスC077の処理エントリアドレス432
を読み出す(ステップ93)。読み出した処理エントリア
ドレス432には、第4制御テーブル検索関数のポイン
タが設定されているので引数として次テーブルポインタ
D000を用いて第4制御テーブル検索関数の処理を実
行する(ステップ94)。検索するIPアドレスの4番目
の8ビットの59を選択し(ステップ97)、第4制御テ
ーブル44のアドレスD059の処理エントリアドレス
442を読み出す(ステップ98)。読み出した処理エン
トリアドレス442には、C送信関数が登録がされてい
る。C送信関数を実行し(ステップ99)、インタフェー
スCへデータを送信し(ステップ108)検索処理を終了
する(ステップ109)。
Next, the search processing method will be described by taking an example of searching for the IP address 133.141.77.59.
The first 8-bit 133 of the IP address to be searched is selected (step # 82), and the address A133 of the first control table 41 is selected.
Of the processing entry address 412 (step 8)
3). Since the pointer of the second control table search function is set in the read process entry address 412, the second table pointer B000 is used as an argument to read the second control table search function.
Execute the processing of the control table search function (step 8)
4). 14 of the second 8 bits of the IP address to be searched
1 is selected (step 87), and the process entry address 422 of the address B141 of the second control table 42 is read (step 88). Read process entry address 4
22, the pointer of the third control table search function is set, so the next table pointer C000 is used as an argument.
Of the third control table search function using
(Step 89). The third 8-bit 77 of the IP address to be searched is selected (step 92), and the processing entry address 432 of the address C077 of the third control table 43 is selected.
Is read (step 93). Since the pointer of the fourth control table search function is set in the read process entry address 432, the process of the fourth control table search function is executed using the next table pointer D000 as an argument (step 94). The fourth 8-bit 59 of the IP address to be searched is selected (step 97), and the processing entry address 442 of the address D059 of the fourth control table 44 is read (step 98). In the read process entry address 442, a C transmission function is registered. The C transmission function is executed (step 99), data is transmitted to the interface C (step 108), and the search process is terminated (step 109).

【0042】IPアドレス133.141.78.11
1を検索する例について説明する。検索するIPアドレ
スの先頭の8ビットの133を選択し(ステップ82)、
第1制御テーブル41のアドレスA133の処理エント
リアドレス412を読み出す(ステップ83)。読み出し
た処理エントリアドレス412には、第2制御テーブル
検索関数のポインタが設定されているので引数として次
テーブルポインタB000を用いて第2制御テーブル検
索関数の処理を実行する(ステップ84)。検索するIP
アドレスの2番目の8ビットの141を選択し(ステッ
プ87)、第2制御テーブル42のアドレスB141処
理エントリアドレス422を読み出す(ステップ88)。
IP address 133.141.78.11
An example of searching for 1 will be described. The first 8-bit 133 of the IP address to be searched is selected (step 82),
The process entry address 412 of the address A133 in the first control table 41 is read (step 83). Since the pointer of the second control table search function is set in the read process entry address 412, the process of the second control table search function is executed using the next table pointer B000 as an argument (step 84). IP to search
The second 8-bit address 141 is selected (step 87), and the address B141 processing entry address 422 of the second control table 42 is read (step 88).

【0043】読み出した処理エントリアドレス422に
は、第3制御テーブル検索関数のポインタが設定されて
いるので引数として次テーブルポインタC000を用い
て第3制御テーブル検索関数の処理を実行する(ステッ
プ89)。検索するIPアドレスの3番目の8ビットの
78を選択し(ステップ92)、第3制御テーブル43の
アドレスC078処理エントリアドレス432を読み出
す(ステップ93)。読み出した処理エントリアドレス4
32には、A送信関数が登録されている。A送信関数を
実行し(ステップ94)、インタフェースAへデータを送
信し(ステップ102)検索処理を終了する(ステップ1
03) 。
Since the pointer of the third control table search function is set in the read processing entry address 422, the processing of the third control table search function is executed using the next table pointer C000 as an argument (step 89). . The third 8-bit 78 of the IP address to be searched is selected (step 92), and the address C078 processing entry address 432 of the third control table 43 is read (step 93). Read process entry address 4
32, an A transmission function is registered. A transmission function is executed (step 94), data is transmitted to interface A (step 102), and the search process is terminated (step 1).
03).

【0044】また上記例では、IPアドレスについての
場合について述べたがIPX(Internet Packet Exchan
ge)アドレスやMAC(Media Access Control)アドレ
スや電話番号であってもよい
In the above example, the case of an IP address has been described.
ge) Address, MAC (Media Access Control) address or phone number

【0045】またこの発明によれば検索するネットワー
クまたは端末のアドレスを複数のビットごとにn個の数
に分割し、分割したアドレスを制御テーブルのアドレス
に対応ずけて制御テーブルの内容を読みだすのでネット
ワークアドレスを高速に検索できる。また、分割したア
ドレスのm番目の数の索引により第m制御テーブルを検
索し、第m制御テーブルから処理エントリアドレスを読
み出し、読み出した処理関数を実行し、実行した処理関
数が検索するアドレスに関する処理を決定するのでネッ
トワークアドレスを高速に検索できる。
According to the present invention, the address of the network or terminal to be searched is divided into n numbers for each of a plurality of bits, and the contents of the control table are read out in correspondence with the divided addresses corresponding to the addresses of the control table. So you can search network address at high speed. Further, the m-th control table is searched by the index of the m-th number of the divided address, the processing entry address is read from the m-th control table, the read processing function is executed, and the processing related to the address searched by the executed processing function is executed. Is determined, the network address can be searched at high speed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1によるアドレス制御
テーブルを示す構成図である。
FIG. 1 is a configuration diagram showing an address control table according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1による処理手順を示
す構成図(1/2)である。
FIG. 2 is a configuration diagram (1/2) illustrating a processing procedure according to the first embodiment of the present invention;

【図3】 この発明の実施の形態1による処理手順を示
す構成図(2/2)である。
FIG. 3 is a configuration diagram (2/2) showing a processing procedure according to the first embodiment of the present invention;

【図4】 この発明の実施の形態2によるアドレス制御
テーブルを示す構成図である。
FIG. 4 is a configuration diagram illustrating an address control table according to a second embodiment of the present invention;

【図5】 この発明の実施の形態2による処理手順を示
す構成図である。
FIG. 5 is a configuration diagram showing a processing procedure according to a second embodiment of the present invention.

【図6】 この発明の実施の形態2による処理手順を示
す構成図である。
FIG. 6 is a configuration diagram showing a processing procedure according to a second embodiment of the present invention.

【図7】 この発明の実施の形態2による処理手順を示
す構成図である。
FIG. 7 is a configuration diagram showing a processing procedure according to a second embodiment of the present invention.

【図8】 この発明の実施の形態2による処理手順を示
す構成図である。
FIG. 8 is a configuration diagram showing a processing procedure according to a second embodiment of the present invention.

【図9】 この発明の実施の形態2による処理手順を示
す構成図である。
FIG. 9 is a configuration diagram showing a processing procedure according to the second embodiment of the present invention.

【図10】 この発明の実施の形態2による処理手順を
示す構成図である。
FIG. 10 is a configuration diagram showing a processing procedure according to a second embodiment of the present invention.

【図11】 従来の情報通信網システムを示す構成図で
ある。
FIG. 11 is a configuration diagram showing a conventional information communication network system.

【図12】 ルーティングテーブルの一例を示す図であ
る。
FIG. 12 illustrates an example of a routing table.

【図13】 従来のアドレス制御テーブルを示す構成図
である。
FIG. 13 is a configuration diagram showing a conventional address control table.

【符号の説明】[Explanation of symbols]

1 広域網 11〜13 中継装置 21〜24 端末 31、41 第1制御テーブル 32、42 第2制御テーブル 33、43 第3制御テーブル 34、44 第4制御テーブル 311、321、331、341 分割アドレス 312、322、332、342 検索終了/継続フラ
グ 313、323、333、343 次テーブルポインタ 314、324、334、344 送信インタフェース 411、421、431、441 分割アドレス 412、422、432、442 処理エントリアドレ
ス 413、423、433、443 次テーブルポインタ
DESCRIPTION OF SYMBOLS 1 Wide area network 11-13 Relay apparatus 21-24 Terminal 31, 41 1st control table 32, 42 2nd control table 33, 43 3rd control table 34, 44 4th control table 311, 321, 331, 341 Division address 312 , 322, 332, 342 Search end / continuation flag 313, 323, 333, 343 Next table pointer 314, 324, 334, 344 Transmission interface 411, 421, 431, 441 Division address 412, 422, 432, 442 Processing entry address 413 , 423, 433, 443 Next table pointer

───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡邊 晃 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Akira Watanabe 2-3-2 Marunouchi, Chiyoda-ku, Tokyo Mitsubishi Electric Corporation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークの中継装置内やネットワー
クに接続された端末内でのネットワークアドレスに対応
する情報(以下アドレス情報)を登録し、検索するネッ
トワークアドレス検索方式において、 上記ネットワークアドレスを複数のアドレスに分割し、
この分割したアドレス(以下、分割アドレスと称す)対
応に、検索終了か継続かを識別する情報と、継続なら次
に下位の分割アドレスに対応する制御テーブルを指すテ
ーブルポインタを有する制御テーブルを設け、 アドレスマスクを用いて指定する複数のネットワークア
ドレスに対応して同じアドレス情報を登録する際、上記
複数のネットワークアドレスを分割した、上位の分割ア
ドレスが同一で下位の分割アドレスが互いに異なってい
ても登録するアドレス情報が同じなら、上位の分割アド
レスに対応して検索終了とアドレス情報を制御テーブル
に登録し、 下位の分割アドレスの制御テーブルに登録しようとする
アドレス情報が登録ずみのアドレス情報と異なるなら、
検索継続と下位の分割アドレスに対応する制御テーブル
を指すテーブルポインタとを上位の分割アドレスに対応
する制御テーブルに登録することを繰り返し、最下位の
分割アドレスに達したならその分割アドレスに対応する
制御テーブルに検索終了とアドレス情報を登録し、 検索するネットワークアドレスに対し上位の分割アドレ
スに対応する制御テーブルに検索終了が登録されている
なら、その分割アドレスに対応するアドレス情報を得
て、検索継続が登録されているなら、次のテーブルポイ
ンタから次に下位の分割アドレスに対応する制御テーブ
ルを求め、順次検索終了まで上記を繰り返すことによっ
てアドレス情報を検索することを特徴とするネットワー
クアドレス検索方式。
1. A network address search method for registering and searching for information (hereinafter, address information) corresponding to a network address in a relay device of a network or in a terminal connected to the network. Divided into
Corresponding to the divided address (hereinafter, referred to as a divided address), a control table having information for identifying whether the search is completed or continuing, and a table pointer pointing to a control table corresponding to the next lower divided address if the search is continued, is provided. When registering the same address information corresponding to a plurality of network addresses specified by using an address mask, the above network addresses are divided, and registered even if the upper divided address is the same and the lower divided addresses are different from each other. If the address information is the same, the search end and the address information are registered in the control table corresponding to the upper divided address, and if the address information to be registered in the lower divided address control table is different from the registered address information. ,
The search continuation and the registration of the table pointer pointing to the control table corresponding to the lower divided address in the control table corresponding to the higher divided address are repeated, and when the lowest divided address is reached, the control corresponding to the divided address is repeated. Register the search end and the address information in the table, and if the search end is registered in the control table corresponding to the upper divided address for the network address to be searched, obtain the address information corresponding to the divided address and continue the search Is registered, a control table corresponding to the next lower divided address is obtained from the next table pointer, and the above-mentioned steps are repeated until the search is completed, thereby searching for address information.
【請求項2】 ネットワークの中継装置内やネットワー
クに接続された端末内でのネットワークアドレスに対応
する処理エントリアドレスを登録し、検索するネットワ
ークアドレス検索方式において、 上記ネットワークアドレスを複数のアドレスに分割し、
この分割したアドレス(以下、分割アドレスと称す)対
応に、処理エントリアドレスと次に下位の分割アドレス
に対応する制御テーブルを指すテーブルポインタとを有
する制御テーブルを設け、 アドレスマスクを用いて指定する複数のネットワークア
ドレスに対応する処理エントリアドレスを登録する際、
上記複数のネットワークアドレスを分割した、上位の分
割アドレスが同一で下位の分割アドレスに関係なく上記
処理エントリアドレスが同じなら、上位分割アドレスに
対応する処理エントリアドレスを制御テーブルに登録
し、下位分割アドレスによって処理エントリアドレスが
異なるなら、下位の分割アドレスに対応する制御テーブ
ルを指すテーブルポインタと検索を継続する検索関数を
上位の分割アドレスに対応する制御テーブルに登録し、 検索するネットワークアドレスに対し上位の分割アドレ
スに対応する制御テーブルに処理エントリアドレスが登
録されているなら、その分割アドレスに対応する処理エ
ントリアドレスに制御を渡し、検索を継続する検索関数
のエントリアドレスが登録されているなら、次のテーブ
ルポインタから次に下位の分割アドレスに対応する制御
テーブルを求め、順次検索終了まで上記を繰り返すこと
によって処理エントリアドレスを検索することを特徴と
するネットワークアドレス検索方式。
2. In a network address search method for registering and searching for a processing entry address corresponding to a network address in a relay device of a network or in a terminal connected to the network, the network address is divided into a plurality of addresses. ,
A control table having a processing entry address and a table pointer pointing to a control table corresponding to the next lower divided address is provided in correspondence with the divided address (hereinafter, referred to as a divided address), and a plurality of addresses are designated using an address mask. When registering the processing entry address corresponding to the network address of
If the upper division address obtained by dividing the plurality of network addresses is the same and the processing entry address is the same regardless of the lower division address, the processing entry address corresponding to the upper division address is registered in the control table, and the lower division address is registered. If the processing entry address differs, the table pointer pointing to the control table corresponding to the lower divided address and the search function for continuing the search are registered in the control table corresponding to the higher divided address. If the processing entry address is registered in the control table corresponding to the divided address, control is passed to the processing entry address corresponding to the divided address, and if the entry address of the search function for continuing the search is registered, the next From table pointer to next A network address search method wherein a control table corresponding to a lower divided address is obtained, and the above processing is repeated until the search is sequentially completed to search for a processing entry address.
JP05910397A 1997-03-13 1997-03-13 Network address search method Expired - Fee Related JP3520709B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05910397A JP3520709B2 (en) 1997-03-13 1997-03-13 Network address search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05910397A JP3520709B2 (en) 1997-03-13 1997-03-13 Network address search method

Publications (2)

Publication Number Publication Date
JPH10257066A true JPH10257066A (en) 1998-09-25
JP3520709B2 JP3520709B2 (en) 2004-04-19

Family

ID=13103664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05910397A Expired - Fee Related JP3520709B2 (en) 1997-03-13 1997-03-13 Network address search method

Country Status (1)

Country Link
JP (1) JP3520709B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000307641A (en) * 1999-04-16 2000-11-02 Nec Corp Method and device for transfer destination retrieval, and retrieval table recording medium and retrieval program recording medium
JP2000332786A (en) * 1999-05-21 2000-11-30 Nippon Telegr & Teleph Corp <Ntt> Method for retrieval from routing table
JP2002033769A (en) * 2000-05-29 2002-01-31 Internatl Business Mach Corp <Ibm> Prefix-retrieving method using compressed retrieval table, and data structure
JP2003516666A (en) * 1999-12-10 2003-05-13 モサイド・テクノロジーズ・インコーポレイテッド Method and apparatus for longest match address lookup
JP2003143198A (en) * 2001-10-23 2003-05-16 Internatl Business Mach Corp <Ibm> Routing processor and routing method
JP2003518873A (en) * 1999-12-28 2003-06-10 モサイド・テクノロジーズ・インコーポレイテッド Forwarding override in packet switch
JP2003273918A (en) * 2002-03-12 2003-09-26 Nippon Telegr & Teleph Corp <Ntt> Method for filtering packet
JP2004015592A (en) * 2002-06-10 2004-01-15 Internatl Business Mach Corp <Ibm> Mac address pointer structure and method for rearranging mac address
WO2004032435A1 (en) * 2002-10-03 2004-04-15 In4S Inc. Bit string check method and device
JP2005513895A (en) * 2001-12-11 2005-05-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Hybrid search memory for network processors and computer systems
US6987762B2 (en) 2000-03-02 2006-01-17 Nec Corporation Packet exchange and router and input packet processing method thereof
US7107265B1 (en) 2000-04-06 2006-09-12 International Business Machines Corporation Software management tree implementation for a network processor
US7120630B2 (en) 2000-04-06 2006-10-10 International Business Machines Corporation Full match (FM) search algorithm implementation for a network processor
JP2006527526A (en) * 2003-03-28 2006-11-30 サイプレス・セミコンダクタ・コーポレーション System and method for efficiently searching a forwarding database divided into a limited number of sub-databases having a limited size
US7913060B2 (en) 2000-06-21 2011-03-22 SAtech Group, A.B. Limited Liability Company Method and apparatus for physical width expansion of a longest prefix match lookup table

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618760B1 (en) * 1999-04-16 2003-09-09 Nec Corporation Forwarding information retrieval technique
JP2000307641A (en) * 1999-04-16 2000-11-02 Nec Corp Method and device for transfer destination retrieval, and retrieval table recording medium and retrieval program recording medium
JP2000332786A (en) * 1999-05-21 2000-11-30 Nippon Telegr & Teleph Corp <Ntt> Method for retrieval from routing table
JP4741134B2 (en) * 1999-12-10 2011-08-03 エスエイテック・グループ・エー・ビー・リミテッド・ライアビリティ・カンパニー Method and apparatus for longest match address lookup
JP2003516666A (en) * 1999-12-10 2003-05-13 モサイド・テクノロジーズ・インコーポレイテッド Method and apparatus for longest match address lookup
JP2003516660A (en) * 1999-12-10 2003-05-13 モサイド・テクノロジーズ・インコーポレイテッド Method and apparatus for longest match address lookup
JP2003518873A (en) * 1999-12-28 2003-06-10 モサイド・テクノロジーズ・インコーポレイテッド Forwarding override in packet switch
US6987762B2 (en) 2000-03-02 2006-01-17 Nec Corporation Packet exchange and router and input packet processing method thereof
US7120630B2 (en) 2000-04-06 2006-10-10 International Business Machines Corporation Full match (FM) search algorithm implementation for a network processor
US7139753B2 (en) 2000-04-06 2006-11-21 International Business Machines Corporation Full match (FM) search algorithm implementation for a network processor
US7107265B1 (en) 2000-04-06 2006-09-12 International Business Machines Corporation Software management tree implementation for a network processor
JP2002033769A (en) * 2000-05-29 2002-01-31 Internatl Business Mach Corp <Ibm> Prefix-retrieving method using compressed retrieval table, and data structure
US7966421B2 (en) 2000-06-21 2011-06-21 SAtech Group, A.B. Limited Liability Company Method and apparatus for logically expanding the length of a search key
US7913060B2 (en) 2000-06-21 2011-03-22 SAtech Group, A.B. Limited Liability Company Method and apparatus for physical width expansion of a longest prefix match lookup table
JP2003143198A (en) * 2001-10-23 2003-05-16 Internatl Business Mach Corp <Ibm> Routing processor and routing method
JP2005513895A (en) * 2001-12-11 2005-05-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Hybrid search memory for network processors and computer systems
US8195705B2 (en) 2001-12-11 2012-06-05 International Business Machines Corporation Hybrid search memory for network processor and computer systems
JP2003273918A (en) * 2002-03-12 2003-09-26 Nippon Telegr & Teleph Corp <Ntt> Method for filtering packet
JP2004015592A (en) * 2002-06-10 2004-01-15 Internatl Business Mach Corp <Ibm> Mac address pointer structure and method for rearranging mac address
CN1324861C (en) * 2002-10-03 2007-07-04 In4S公司 Bit string check method and device
WO2004032435A1 (en) * 2002-10-03 2004-04-15 In4S Inc. Bit string check method and device
JP2006527526A (en) * 2003-03-28 2006-11-30 サイプレス・セミコンダクタ・コーポレーション System and method for efficiently searching a forwarding database divided into a limited number of sub-databases having a limited size

Also Published As

Publication number Publication date
JP3520709B2 (en) 2004-04-19

Similar Documents

Publication Publication Date Title
US6553002B1 (en) Apparatus and method for routing data packets through a communications network
US6665297B1 (en) Network routing table
EP0551243B1 (en) Address recognition engine
JP3453148B2 (en) Fast Variable Length Best Match Lookup in Switching Devices
US5920886A (en) Accelerated hierarchical address filtering and translation using binary and ternary CAMs
US6956858B2 (en) Network routing table and packet routing method
JPH10257066A (en) Network address retrieval system
US5909440A (en) High speed variable length best match look-up in a switching device
US6173384B1 (en) Method of searching for a data element in a data structure
US20060265363A1 (en) Network processor with single interface supporting tree search engine and cam
US20040230583A1 (en) Comparison tree data structures of particular use in performing lookup operations
JPH077524A (en) Method for accessing of communication subscriber to address identifier
WO2000024159A2 (en) Method and apparatus for address lookup
US7861291B2 (en) System and method for implementing ACLs using standard LPM engine
JP3371006B2 (en) Table search method and router device
US7047317B1 (en) High performance network address processor system
TW200301429A (en) A method of improving the lookup performance of tree-type knowledge base searches
CN111984835B (en) IPv4 mask quintuple rule storage compression method and device
US7403526B1 (en) Partitioning and filtering a search space of particular use for determining a longest prefix match thereon
US7349981B2 (en) System, apparatus, and method for string matching
CN1312890C (en) Method for generating a trie having a reduced number of trie blocks
CN100401723C (en) Fast indexing method
US7249216B2 (en) Data relay apparatus, content addressable/associative memory device, and content addressable/associative memory device use information search method
JP3837670B2 (en) Data relay apparatus, associative memory device, and associative memory device utilization information retrieval method
US7308468B2 (en) Pattern matching

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040113

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040126

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080213

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110213

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120213

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130213

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees