JPH0669928A - Routing system - Google Patents

Routing system

Info

Publication number
JPH0669928A
JPH0669928A JP4240045A JP24004592A JPH0669928A JP H0669928 A JPH0669928 A JP H0669928A JP 4240045 A JP4240045 A JP 4240045A JP 24004592 A JP24004592 A JP 24004592A JP H0669928 A JPH0669928 A JP H0669928A
Authority
JP
Japan
Prior art keywords
routing
address
routing table
routing information
entry
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.)
Pending
Application number
JP4240045A
Other languages
Japanese (ja)
Inventor
Takeshi Nishizawa
剛 西沢
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4240045A priority Critical patent/JPH0669928A/en
Publication of JPH0669928A publication Critical patent/JPH0669928A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the time to retrieve an entry of revision object when routing information is received from a network and the routing table stored in an end system is revised. CONSTITUTION:A routing table is stored in a routing information storage section 12 and the revision processing is implemented by a routing information management section 13. In the cafe of making data transfer, a routing section 11 obtains a destination physical address from the routing table. A frequency of use information column is provided to each entry of the routing table and when the routing information including an address mask is received, entries whose use frequency information exceeds a threshold level are objects of retrieval and revision processing is performed. Or routing table is divided into a table including an address mask and a table not including the address mask, and when the routing information including the address mask is received, only the table including the address mask is retrieved and subject to revision processing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のネットワークを
相互に接続した通信システムにおけるルーティング方式
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a routing system in a communication system in which a plurality of networks are connected to each other.

【0002】[0002]

【従来の技術】図5は、複数のネットワークを相互に接
続した通信システムの概要を示す図である。図5におい
て、1,2,4,5,7,8はワークステーション等の
エンドシステム、3,6は中継システム、10,20,
30はネットワークである。このようなシステムにおい
て、同一のネットワークに接続されるシステム間のデー
タ転送の宛先の指定には、物理アドレスが用いられる。
しかし、プログラムがデータの転送先を指定する場合、
一般にネットワークアドレス(複数のネットワーク内で
の共通のアドレス)が用いられるため、転送を実行する
際には、ネットワークアドレスを物理アドレスに変換す
る必要がある。そのため、各エンドシステムは、ルーテ
ィング情報格納部に、ネットワークアドレスと物理アド
レスとの対応関係を示すルーティングテーブルを保持し
ている。
2. Description of the Related Art FIG. 5 is a diagram showing an outline of a communication system in which a plurality of networks are mutually connected. In FIG. 5, 1, 2, 4, 5, 7, 8 are end systems such as workstations, 3 and 6 are relay systems, 10, 20,
30 is a network. In such a system, a physical address is used to specify the destination of data transfer between systems connected to the same network.
However, if the program specifies where to transfer the data,
Generally, a network address (a common address in a plurality of networks) is used, and therefore it is necessary to convert the network address into a physical address when executing the transfer. Therefore, each end system holds a routing table indicating the correspondence between network addresses and physical addresses in the routing information storage unit.

【0003】図6は、エンドシステムにおけるルーティ
ング関連部の概要を示すブロック図である。図6におい
て、11はルーティング部、12はルーティング情報格
納部、13はルーティング情報管理部、14はデータ送
受信部である。ルーティング部11は、データ転送にあ
たってルーティング情報格納部12のルーティングテー
ブルから転送先の物理アドレスを得て、それをデータ送
受信部14に与える。ルーティングテーブルの内容は、
定期的あるいは非定期的にエンドシステムに対して送ら
れてくるルーティング情報に基づいて更新される。その
管理は、ルーティング情報管理部13で行われる。
FIG. 6 is a block diagram showing an outline of a routing-related part in the end system. In FIG. 6, 11 is a routing unit, 12 is a routing information storage unit, 13 is a routing information management unit, and 14 is a data transmission / reception unit. The routing unit 11 obtains the physical address of the transfer destination from the routing table of the routing information storage unit 12 for data transfer, and gives it to the data transmitting / receiving unit 14. The contents of the routing table are
It is updated based on the routing information sent to the end system regularly or irregularly. The management is performed by the routing information management unit 13.

【0004】エンドシステムに送られてくるルーティン
グ情報としては、主として次のようなものがある。 (1)ネットワークに接続された中継システムから定期
的に送られてくるルーティング情報。 これは、中継システムが、自分が繋がっているネットワ
ーク中の各エンドシステムに対して、現在自分がこのネ
ットワークに存在していることを示すための情報であ
る。そのルーティング情報には、中継システムのネット
ワークアドレスと物理アドレスとが含まれる。
The routing information sent to the end system is mainly as follows. (1) Routing information periodically sent from the relay system connected to the network. This is information for the relay system to indicate to each end system in the network to which it is connected that it is currently in this network. The routing information includes the network address and physical address of the relay system.

【0005】(2)ネットワークに接続された中継シス
テムから非定期的に送られてくるルーティング情報。 これが送られてくるケースとしては、次のような場合が
ある。例えば、図5におけるネットワーク10上のエン
ドシステム1から、ネットワーク30上のエンドシステ
ム7にデータを転送する場合、まずエンドシステム1か
ら中継システム6に転送し、次に、中継システム6から
エンドシステム7に転送することになる。しかし、エン
ドシステム1のルーティングテーブルに、エンドシステ
ム7のネットワークアドレスが登録されておらず、どの
物理アドレス宛に送ればよいのか不明な時、取り合えず
いずれかの中継システム、例えば一番近くにある中継シ
ステム3に送る。そうすると、中継システム3は自己が
管理しているルーティング情報に基づいて、本来送るべ
き中継システム6にそのデータを転送すると共に、エン
ドシステム1に対して、エンドシステム7に転送する際
の正しいルーティング情報を送る。そのルーティング情
報には、エンドシステム7のネットワークアドレス,ア
ドレスマスク及び中継システム6の物理アドレスが含ま
れる。
(2) Routing information sent aperiodically from a relay system connected to the network. There are the following cases when this is sent. For example, when transferring data from the end system 1 on the network 10 to the end system 7 on the network 30 in FIG. 5, first, the data is transferred from the end system 1 to the relay system 6, and then from the relay system 6 to the end system 7. Will be transferred to. However, when the network address of the end system 7 is not registered in the routing table of the end system 1 and it is unknown to which physical address the address should be sent, it cannot be exchanged and any relay system, for example, the closest one is located. Send to the relay system 3. Then, the relay system 3 transfers the data to the relay system 6 which should be originally sent based on the routing information managed by the relay system 3 and correct routing information when transferring the data to the end system 1 to the end system 1. To send. The routing information includes the network address of the end system 7, the address mask, and the physical address of the relay system 6.

【0006】このように、ネットワーク側よりエンドシ
ステムに対して送信されるルーティング情報には、アド
レスマスクを持たないものと持つものとがある。前者
は、ネットワークアドレスと物理アドレスとが1対1に
対応し、後者は、複数のネットワークアドレスと1つの
物理アドレスとが対応する。
As described above, the routing information transmitted from the network side to the end system includes those having no address mask and those having no address mask. The former has a one-to-one correspondence between network addresses and physical addresses, and the latter has a plurality of network addresses and one physical address.

【0007】ここで、アドレスマスクについて説明す
る。アドレスマスクは、それとネットワークアドレスと
のビット論理積をとることにより、複数のネットワーク
アドレスを指すことを可能にするものである。 例えば、ネットワークアドレス 0111101101100001(2進表示。以下同
じ) に対して、アドレスマスク 1111111100000000 とのビット論理積をとると、ネットワークアドレスの
内、アドレスマスクのビットが1である部分だけが有効
になり、 01111011 を上位8ビットに持つネットワークアドレス全てを示す
ことになる。
Here, the address mask will be described. The address mask makes it possible to point to a plurality of network addresses by taking a bit logical product of the address and the network address. For example, when the bit logical product of the network address 01111101101100001 (binary notation; the same applies below) with the address mask 11111111100000000 is taken, only the part of the network address where the bit of the address mask is 1 is valid, Indicates all network addresses having the upper 8 bits.

【0008】一方、複数のネットワークを相互に接続し
た通信システムにおいては、各エンドシステムのネット
ワークアドレスは、上位何桁かがネットワークを示す数
字で、下位の残りの桁が各エンドシステムを示す数字と
なっている。そのため、アドレスマスクのビットが1の
部分をネットワークを示す数字の桁数に合わせておけ
ば、それとネットワークアドレスとのビット論理積をと
ることにより、同一ネットワーク上のエンドシステム全
てを一括して示すことができる。
On the other hand, in a communication system in which a plurality of networks are connected to each other, in the network address of each end system, some of the upper digits are numbers indicating the network, and the remaining lower digits are numbers indicating the end systems. Has become. Therefore, if you match the part where the bit of the address mask is 1 with the number of digits of the network, you can collectively show all end systems on the same network by taking the bit logical product of that and the network address. You can

【0009】図7は、従来のルーティング方式における
ルーティングテーブルの一例を示す図である。ルーティ
ングテーブルの各エントリには、各エンドシステムある
いは中継システムのネットワークアドレスと、それに対
応する物理アドレス、及び、タイマーを保持している。
タイマーは、そのネットワークアドレスに関するルーテ
ィング情報が送られてきたとき、所定の値にセットさ
れ、次のルーティング情報が送られてくるまで時間の経
過と共に減少していく。そして、タイマーの値が0にな
ったら、そのネットワークアドレスを有するエンドシス
テムは、ネットワークから切り離されたものとみなし
て、ルーティングテーブルから削除する。
FIG. 7 is a diagram showing an example of a routing table in the conventional routing method. Each entry of the routing table holds a network address of each end system or relay system, a corresponding physical address, and a timer.
The timer is set to a predetermined value when the routing information about the network address is sent, and decreases with the passage of time until the next routing information is sent. Then, when the value of the timer becomes 0, the end system having the network address is regarded as disconnected from the network and is deleted from the routing table.

【0010】エンドシステムがルーティング情報を受け
取った場合に、該ルーティング情報にアドレスマスクが
含まれない場合は、ルーティングテーブルに新たにエン
トリを登録、または既に登録済のエントリを更新する。
一方、アドレスマスクが含まれる場合は、受け取ったネ
ットワークアドレスとアドレスマスクとのビット論理積
をとった結果と、ルーティングテーブルの各ネットワー
クアドレスと受け取ったアドレスマスクとのビット論理
積をとった結果とを比較し、それらが一致したらそのエ
ントリを更新する。
When the end system receives the routing information and the address mask is not included in the routing information, a new entry is registered in the routing table or an already registered entry is updated.
On the other hand, if the address mask is included, the result of the bit logical product of the received network address and the address mask and the result of the bit logical product of each network address of the routing table and the received address mask are calculated. Compare and update the entry if they match.

【0011】[0011]

【発明が解決しようとする課題】(問題点)しかしなが
ら、前記した従来の技術には、次のような問題点があっ
た。第1の問題点は、アドレスマスクを含んだルーティ
ング情報を受信して、ルーティングテーブルの更新を行
おうとする際、一致するネットワークアドレスを検索す
るのに時間がかかるという点である。
(Problems) However, the above-mentioned conventional technique has the following problems. The first problem is that it takes time to search for a matching network address when the routing information including the address mask is received and the routing table is updated.

【0012】第2の問題点は、アドレスマスクを含んだ
ルーティング情報は、複数のネットワークアドレスに対
応する物理アドレスを示しているにもかかわらず、それ
を有効に活用していないという点である。
The second problem is that the routing information including the address mask does not make effective use of the physical addresses corresponding to a plurality of network addresses, even though they indicate the physical addresses.

【0013】(問題点の説明)まず第1の問題点につい
て説明する。従来のルーティング方式では、アドレスマ
スクを含んだルーティング情報を受信した時、ルーティ
ングテーブル全体を走査して、受信したアドレスマスク
とテーブル中の各ネットワークアドレスとのビット論理
積をとっていく。そして、その結果と受信したネットワ
ークアドレスとアドレスマスクとのビット論理積とが一
致するか否かをみていく。一方、近年大規模なネットワ
ークが多く作られているが、ネットワークの規模が大き
くなるにつれて、ルーティングテーブルのサイズも大き
くなっている。そのため、上記ビット論理積をとるため
の計算量が増大し、検索に時間がかかってしまう。検索
に時間がかかると、その分エンドシステム内のCPUが
それに縛られる時間が長くなり、他の処理が遅れ、結
局、全体の処理が遅くなってしまう。
(Description of Problems) First, the first problem will be described. In the conventional routing method, when the routing information including the address mask is received, the entire routing table is scanned and the bit logical product of the received address mask and each network address in the table is taken. Then, it is checked whether or not the result matches the bit logical product of the received network address and the address mask. On the other hand, although many large-scale networks have been made in recent years, the size of the routing table also increases as the scale of the network increases. Therefore, the amount of calculation for obtaining the bit logical product increases, and the search takes time. If the search takes a long time, the CPU in the end system is tied up by that much, the other processing is delayed, and eventually the entire processing is delayed.

【0014】次に第2の問題点について説明する。従来
のルーティング方式では、アドレスマスク付のルーティ
ング情報を受信しても、ルーティングテーブルに登録す
るのは、ネットワークアドレスとそれに対応する物理ア
ドレスだけである。そのため、アドレスマスクを含んだ
ルーティング情報は、複数のネットワークアドレスに対
応する物理アドレスを示しているにもかかわらず、デー
タ転送をする際、宛先物理アドレスを得ようとルーティ
ングテーブルを検索した時、ルーティングテーブルに登
録されているネットワークアドレスにしか物理アドレス
を与えることができない。本発明は、以上のような問題
点を解決することを課題とするものである。
Next, the second problem will be described. In the conventional routing method, even when the routing information with the address mask is received, only the network address and the corresponding physical address are registered in the routing table. Therefore, although the routing information including the address mask indicates the physical addresses corresponding to multiple network addresses, when data is transferred, when the routing table is searched for the destination physical address, the routing information is The physical address can be given only to the network address registered in the table. An object of the present invention is to solve the above problems.

【0015】[0015]

【課題を解決するための手段】前記課題を解決するた
め、本件第1発明では、複数のネットワークを相互に接
続した通信システムのルーティング方式において、エン
ドシステムに保持されるルーティングテーブルの各エン
トリ毎に使用頻度情報欄を設け、該エンドシステムがア
ドレスマスクを含んだルーティング情報を受信した時
は、上記使用頻度情報が閾値を越えているエントリに対
してのみ検索して更新処理を行うこととした。また、本
件第2発明では、複数のネットワークを相互に接続した
通信システムのルーティング方式において、エンドシス
テムのルーティングテーブルとして、アドレスマスクを
含まないルーティング情報を格納する第1のルーティン
グテーブルと、アドレスマスクを含むルーティング情報
を格納する第2のルーティングテーブルとを設け、該エ
ンドシステムがアドレスマスクを含んだルーティング情
報を受信した時は、上記第2のルーティングテーブルの
みを検索して更新処理を行い、データ転送を行う際に
は、最初上記第1のルーティングテーブルのネットワー
クアドレスを参照して宛先物理ドレスを求め、第1のル
ーティングテーブルで宛先が見つからなかった場合に
は、上記第2のルーティングテーブルのネットワークア
ドレスとアドレスマスクとを参照して宛先物理アドレス
を決定することとした。
In order to solve the above problems, in the first invention of the present case, in the routing system of a communication system in which a plurality of networks are mutually connected, each entry of a routing table held by an end system is A usage frequency information column is provided, and when the end system receives the routing information including the address mask, only the entry whose usage frequency information exceeds the threshold value is searched and the update processing is performed. Further, according to the second aspect of the present invention, in a routing system of a communication system in which a plurality of networks are connected to each other, a first routing table storing routing information not including an address mask and an address mask are used as a routing table of an end system. And a second routing table for storing the routing information including the address information. When the end system receives the routing information including the address mask, only the second routing table is searched for the update process to transfer the data. When performing the above, first, the network address of the second routing table is obtained by referring to the network address of the first routing table, and when the destination is not found in the first routing table. And ad It was to determine the destination physical address with reference to the Sumasuku.

【0016】[0016]

【作 用】第1発明では、エンドシステムに保持され
るルーティングテーブルの各エントリ毎に使用頻度情報
欄を設け、該エンドシステムがアドレスマスクを含んだ
ルーティング情報を受信した時は、上記使用頻度情報が
閾値を越えているエントリに対してのみ検索して更新処
理を行う。そのため、検索対象となるエントリ数が限定
されるので、検索時間を短くすることができる。また、
第2発明では、エンドシステムのルーティングテーブル
として、アドレスマスクを含まないルーティング情報を
格納する第1のルーティングテーブルと、アドレスマス
クを含むルーティング情報を格納する第2のルーティン
グテーブルとを設け、該エンドシステムがアドレスマス
クを含んだルーティング情報を受信した時は、上記第2
のルーティングテーブルのみを検索して更新処理を行
う。そのため、検索対象となるエントリ数が限定される
ので、検索時間を短くすることができる。さらに、デー
タ転送の際には、上記第1のルーティングテーブルのネ
ットワークアドレスを参照して宛先物理アドレスを求
め、第1のルーティングテーブルで宛先が見つからなか
った場合には、上記第2のルーティングテーブルのネッ
トワークアドレスとアドレスマスクとを参照して宛先物
理アドレスを決定する。そのため、1組のネットワーク
アドレスとアドレスマスクとで該ネットワーク上の他の
エンドシステムの分までカバーすることができて、複数
のネットワークアドレスに対応する物理アドレスを示し
ているアドレスマスクを含んだルーティング情報を有効
に活用することができる。
[Operation] In the first invention, a usage frequency information column is provided for each entry of the routing table held in the end system, and when the end system receives the routing information including the address mask, the above-mentioned usage frequency information is provided. Update is performed by searching only for the entries that exceed the threshold. Therefore, since the number of entries to be searched is limited, the search time can be shortened. Also,
In the second invention, as the routing table of the end system, a first routing table that stores routing information that does not include an address mask and a second routing table that stores routing information that includes an address mask are provided. When the routing information including the address mask is received by the
Updates by searching only the routing table of. Therefore, since the number of entries to be searched is limited, the search time can be shortened. Further, at the time of data transfer, the destination physical address is obtained by referring to the network address of the first routing table, and when the destination is not found in the first routing table, the second routing table of the second routing table is searched. The destination physical address is determined by referring to the network address and the address mask. Therefore, a set of network addresses and address masks can cover up to other end systems on the network, and routing information including address masks indicating physical addresses corresponding to a plurality of network addresses. Can be effectively utilized.

【0017】[0017]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、第1発明に適用されるルーティン
グテーブルの一例を示す図である。これは、従来のルー
ティングテーブルに各エントリ毎の使用頻度情報と、該
使用頻度が閾値を超えたことを示すフラグとを追加した
ものである。使用頻度情報は、データ転送に際してその
エントリが一定時間当たり何回使用されたかを示すもの
であり、ルーティング部11(図6参照)がテーブル内
のエントリを1回使用する度毎に1ずつ増やされる。ま
た、フラグは、上記使用頻度が閾値を超えた時、オンさ
れる。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a diagram showing an example of a routing table applied to the first invention. This is the addition of usage frequency information for each entry and a flag indicating that the usage frequency has exceeded a threshold value to the conventional routing table. The usage frequency information indicates how many times the entry has been used per fixed time during data transfer, and is incremented by 1 each time the routing unit 11 (see FIG. 6) uses the entry in the table once. . Further, the flag is turned on when the usage frequency exceeds a threshold value.

【0018】図2は、第1発明におけるルーティング情
報を受信した際の処理手順を示すフローチャートであ
る。 ステップ1…受信したルーティング情報にアドレスマス
クが含まれているか否かを判別する。 ステップ2…アドレスマスクが含まれている時、ルーテ
ィングテーブルのフラグが1になっているか否かを判別
する。 ステップ3…フラグが1になっている時、該エントリの
ネットワークアドレスとルーティング情報に含まれてい
るアドレスマスクとのビット論理積をとり、その結果得
られた値とルーティング情報に含まれるネットワークア
ドレスとアドレスマスクとのビット論理積をとって得ら
れる値とを照合し、一致するか否かを判別する。 ステップ4…一致した時、該エントリのタイマーを初期
値にセットし直す。また、ルーティング情報に含まれる
物理アドレスが該エントリの物理アドレスと異なってい
た時は、エントリの物理アドレスをルーティング情報に
含まれる物理アドレスに置換する。 ステップ5…一致しなかった時、次のエントリに移る。 ステップ6…ルーティングテーブル中のエントリを全て
検索し終わったか否かを判別する。 ステップ7…エントリを全て検索し終わった時、ルーテ
ィングテーブルにルーティング情報に含まれるネットワ
ークアドレスと物理アドレスとを登録する。
FIG. 2 is a flow chart showing a processing procedure when receiving the routing information in the first invention. Step 1 ... It is determined whether the received routing information includes an address mask. Step 2 ... When the address mask is included, it is determined whether or not the flag of the routing table is 1. Step 3 ... When the flag is 1, the bit logical product of the network address of the entry and the address mask included in the routing information is obtained, and the value obtained as a result and the network address included in the routing information are obtained. The value obtained by taking the bit logical product of the address mask is collated to determine whether they match. Step 4 ... When they match, the timer of the entry is reset to the initial value. When the physical address included in the routing information is different from the physical address of the entry, the physical address of the entry is replaced with the physical address included in the routing information. Step 5 ... If they do not match, move to the next entry. Step 6 ... It is determined whether or not all the entries in the routing table have been searched. Step 7 ... When all the entries have been searched, the network address and physical address included in the routing information are registered in the routing table.

【0019】ステップ8…ステップ1でアドレスマスク
が含まれていない時、該エントリのネットワークアドレ
スとルーティング情報に含まれるネットワークアドレス
とを照合し、一致するか否かを判別する。 ステップ9…一致した時、該エントリのタイマーを初期
値にセットし直す。また、ルーティング情報に含まれる
物理アドレスが該エントリの物理アドレスと異なってい
た時は、エントリの物理アドレスをルーティング情報に
含まれる物理アドレスに置換する。 ステップ10…一致しなかった時、次のエントリに移
る。 ステップ11…ルーティングテーブル中のエントリを全
て検索し終わったか否かを判別する。 ステップ12…エントリを全て検索し終わった時、ルー
ティングテーブルにルーティング情報に含まれるネット
ワークアドレスと物理アドレスとを登録する。
Step 8 ... When the address mask is not included in Step 1, the network address of the entry is collated with the network address included in the routing information to determine whether they match. Step 9 ... When they match, the timer of the entry is reset to the initial value. When the physical address included in the routing information is different from the physical address of the entry, the physical address of the entry is replaced with the physical address included in the routing information. Step 10 ... If they do not match, move to the next entry. Step 11 ... It is determined whether or not all the entries in the routing table have been searched. Step 12 ... When all the entries have been searched, the network address and physical address included in the routing information are registered in the routing table.

【0020】このようにすれば、アドレスマスクを含ん
だルーティング情報を受信して、ルーティングテーブル
の更新を行おうとする際、使用頻度が高いエントリのみ
を検索するので、検索時間が節約できる。一方、使用頻
度の低いエントリは、ルーティング情報が入ってきても
更新されず、テーブルに登録されていてもタイマーの値
が0になればテーブルから削除されてしまうが、次にそ
こにデータ転送する際には、いずれかの中継システムに
送ればその中継システムが正しい物理アドレスを見つけ
て転送してくれる。その時中継システムから返送される
ルーティング情報により再びテーブルに登録できる。そ
のようにして転送した場合は、ルーティングテーブルか
ら物理アドレスを得て転送する場合より時間はかかる
が、もともと転送する頻度は低いのであまり問題はな
い。
With this configuration, when the routing information including the address mask is received and the routing table is updated, only the frequently used entry is searched, so that the search time can be saved. On the other hand, an entry with a low frequency of use is not updated even when routing information comes in, and even if it is registered in the table, it will be deleted from the table when the timer value becomes 0, but the data will be transferred there. In that case, if you send it to one of the relay systems, that relay system will find the correct physical address and transfer it. At that time, it can be registered in the table again based on the routing information returned from the relay system. Transferring in this way takes more time than transferring by obtaining a physical address from the routing table, but since the transfer frequency is originally low, there is no problem.

【0021】次に、第2発明について説明する。図3
は、第2発明に適用されるルーティングテーブルの一例
を示す図である。この発明においては、ルーティングテ
ーブルを2つに分けている。図3(イ)は、アドレスマ
スクを含まないルーティング情報を格納する第1のルー
ティングテーブルを示しており、図3(ロ)は、アドレ
スマスクを含むルーティング情報を格納する第2のルー
ティングテーブルを示している。
Next, the second invention will be described. Figure 3
FIG. 6 is a diagram showing an example of a routing table applied to the second invention. In the present invention, the routing table is divided into two. FIG. 3A shows a first routing table that stores routing information that does not include an address mask, and FIG. 3B shows a second routing table that stores routing information that includes an address mask. ing.

【0022】図4は、第2発明におけるルーティング情
報を受信した際の処理手順を示すフローチャートであ
る。 ステップ1…受信したルーティング情報にアドレスマス
クが含まれているか否かを判別する。 ステップ2…アドレスマスクが含まれている時、該エン
トリのネットワークアドレスとアドレスマスクとのビッ
ト論理積をとり、その結果得られた値とルーティング情
報に含まれるネットワークアドレスとアドレスマスクと
のビット論理積をとって得られる値とを照合し、一致す
るか否かを判別する。 ステップ3…一致した時、該エントリのタイマーを初期
値にセットし直す。また、ルーティング情報に含まれる
物理アドレスが該エントリの物理アドレスと異なってい
た時は、エントリの物理アドレスをルーティング情報に
含まれる物理アドレスに置換する。 ステップ4…一致しなかった時、次のエントリに移る。 ステップ5…ルーティングテーブル中のエントリを全て
検索し終わったか否かを判別する。 ステップ6…エントリを全て検索し終わった時、第2の
ルーティングテーブルにルーティング情報に含まれるネ
ットワークアドレス,アドレスマスク及び物理アドレス
を登録する。
FIG. 4 is a flow chart showing a processing procedure when receiving the routing information in the second invention. Step 1 ... It is determined whether the received routing information includes an address mask. Step 2 ... When the address mask is included, the bit logical product of the network address of the entry and the address mask is obtained, and the bit logical product of the value obtained as a result and the network address included in the routing information and the address mask Is compared with the value obtained by taking to determine whether or not they match. Step 3 ... When they match, the timer of the entry is reset to the initial value. When the physical address included in the routing information is different from the physical address of the entry, the physical address of the entry is replaced with the physical address included in the routing information. Step 4 ... If they do not match, move to the next entry. Step 5 ... It is determined whether or not all the entries in the routing table have been searched. Step 6 ... When all the entries have been searched, the network address, address mask and physical address included in the routing information are registered in the second routing table.

【0023】ステップ7…ステップ1でアドレスマスク
が含まれていない時、該エントリのネットワークアドレ
スとルーティング情報に含まれるネットワークアドレス
とを照合し、一致するか否かを判別する。 ステップ8…一致した時、該エントリのタイマーを初期
値にセットし直す。また、ルーティング情報に含まれる
物理アドレスが該エントリの物理アドレスと異なってい
た時は、エントリの物理アドレスをルーティング情報に
含まれる物理アドレスに置換する。 ステップ9…一致しなかった時、次のエントリに移る。 ステップ10…ルーティングテーブル中のエントリを全
て検索し終わったか否かを判別する。 ステップ11…エントリを全て検索し終わった時、第1
のルーティングテーブルにルーティング情報に含まれる
ネットワークアドレスと物理アドレスとを登録する。
Step 7 ... When the address mask is not included in Step 1, the network address of the entry is collated with the network address included in the routing information to determine whether they match. Step 8 ... When they match, the timer of the entry is reset to the initial value. When the physical address included in the routing information is different from the physical address of the entry, the physical address of the entry is replaced with the physical address included in the routing information. Step 9 ... If they do not match, move to the next entry. Step 10 ... It is determined whether or not all the entries in the routing table have been searched. Step 11 ... The first when all the entries have been searched
The network address and the physical address included in the routing information are registered in the routing table of.

【0024】ルーティング部11(図6参照)は、デー
タ転送に際して、以下の処理を行う。 (1)データ転送先のネットワークアドレスと、上記第
1のルーティングテーブルの各エントリのネットワーク
アドレスとの照合を順次行い、ネットワークアドレスが
一致するエントリがあったら、そのエントリの物理アド
レスをデータ送受信部14に送る。 (2)(1)で一致するエントリが見つからなかった
ら、データ転送先のネットワークアドレスと、上記第2
のルーティングテーブルの各エントリのアドレスマスク
とのビット論理積をとって得られる値と、該エントリの
ネットワークアドレスとアドレスマスクとのビット論理
積をとって得られる値とを順次照合する。その結果、一
致するエントリがあったら、そのエントリの物理アドレ
スをデータ送受信部14に送る。
The routing unit 11 (see FIG. 6) performs the following processing when transferring data. (1) The network address of the data transfer destination is sequentially compared with the network address of each entry of the first routing table, and if there is an entry having a matching network address, the physical address of that entry is used as the data transmitting / receiving unit 14 Send to. (2) If no matching entry is found in (1), the network address of the data transfer destination and the second
The value obtained by taking the bit-logical product of the address mask of each entry of the routing table and the value obtained by taking the bit-logical product of the network address of the entry and the address mask are sequentially collated. As a result, if there is a matching entry, the physical address of the entry is sent to the data transmitting / receiving unit 14.

【0025】[0025]

【発明の効果】以上述べた如く、本発明のルーティング
方式によれば、次のような効果を奏する。 (1)第1発明では、エンドシステムに保持されるルー
ティングテーブルの各エントリ毎に使用頻度情報欄を設
け、該エンドシステムがアドレスマスクを含んだルーテ
ィング情報を受信した時は、上記使用頻度情報が閾値を
越えているエントリに対してのみ検索して更新処理を行
う。そのため、検索対象となるエントリ数が限定される
ので、検索時間を短くすることができる。 (2)また、第2発明では、エンドシステムのルーティ
ングテーブルとして、アドレスマスクを含まないルーテ
ィング情報を格納する第1のルーティングテーブルと、
アドレスマスクを含むルーティング情報を格納する第2
のルーティングテーブルとを設け、該エンドシステムが
アドレスマスクを含んだルーティング情報を受信した時
は、上記第2のルーティングテーブルのみを検索して更
新処理を行う。そのため、検索対象となるエントリ数が
限定されるので、検索時間を短くすることができる。さ
らに、データ転送の際には、上記第1のルーティングテ
ーブルのネットワークアドレスを参照して宛先物理アド
レスを求め、第1のルーティングテーブルで宛先が見つ
からなかった場合には、上記第2のルーティングテーブ
ルのネットワークアドレスとアドレスマスクとを参照し
て宛先物理アドレスを決定する。そのため、1組のネッ
トワークアドレスとアドレスマスクとで該ネットワーク
上の他のエンドシステムの分までカバーすることができ
て、複数のネットワークアドレスに対応する物理アドレ
スを示しているアドレスマスクを含んだルーティング情
報を有効に活用することができる。
As described above, the routing method of the present invention has the following effects. (1) In the first invention, a usage frequency information column is provided for each entry of the routing table held by the end system, and when the end system receives the routing information including the address mask, the usage frequency information is Only the entries that exceed the threshold are searched and updated. Therefore, since the number of entries to be searched is limited, the search time can be shortened. (2) In the second invention, a first routing table that stores routing information that does not include an address mask, as a routing table of the end system,
Second, storing routing information including address mask
When the end system receives the routing information including the address mask, only the second routing table is searched and the update processing is performed. Therefore, since the number of entries to be searched is limited, the search time can be shortened. Further, at the time of data transfer, the destination physical address is obtained by referring to the network address of the first routing table, and when the destination is not found in the first routing table, the second routing table of the second routing table is searched. The destination physical address is determined by referring to the network address and the address mask. Therefore, a set of network addresses and address masks can cover up to other end systems on the network, and routing information including address masks indicating physical addresses corresponding to a plurality of network addresses. Can be effectively utilized.

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

【図1】 第1発明に適用されるルーティングテーブル
の一例を示す図
FIG. 1 is a diagram showing an example of a routing table applied to the first invention.

【図2】 第1発明におけるルーティング情報を受信し
た際の処理手順を示すフローチャート
FIG. 2 is a flowchart showing a processing procedure when receiving routing information in the first invention.

【図3】 第2発明に適用されるルーティングテーブル
の一例を示す図
FIG. 3 is a diagram showing an example of a routing table applied to the second invention.

【図4】 第2発明におけるルーティング情報を受信し
た際の処理手順を示すフローチャート
FIG. 4 is a flowchart showing a processing procedure when receiving routing information in the second invention.

【図5】 複数のネットワークを相互に接続した通信シ
ステムの概要を示す図
FIG. 5 is a diagram showing an outline of a communication system in which a plurality of networks are mutually connected.

【図6】 エンドシステムにおけるルーティング関連部
の概要を示すブロック図
FIG. 6 is a block diagram showing an outline of a routing-related part in the end system.

【図7】 従来のルーティング方式におけるルーティン
グテーブルの一例を示す図
FIG. 7 is a diagram showing an example of a routing table in a conventional routing method.

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

1,2,4,5,7,8…エンドシステム、3,6…中
継システム、10,20,30…ネットワーク、11…
ルーティング部、12…ルーティング情報格納部、13
…ルーティング情報管理部、14…データ送受信部
1, 2, 4, 5, 7, 8 ... End system, 3, 6 ... Relay system, 10, 20, 30 ... Network, 11 ...
Routing unit, 12 ... Routing information storage unit, 13
... Routing information management unit, 14 ... Data transmission / reception unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のネットワークを相互に接続した通
信システムのルーティング方式において、エンドシステ
ムに保持されるルーティングテーブルの各エントリ毎に
使用頻度情報欄を設け、該エンドシステムがアドレスマ
スクを含んだルーティング情報を受信した時は、上記使
用頻度情報が閾値を越えているエントリに対してのみ検
索して更新処理を行うことを特徴とするルーティング方
式。
1. In a routing system of a communication system in which a plurality of networks are mutually connected, a usage frequency information column is provided for each entry of a routing table held in an end system, and the end system includes a routing including an address mask. A routing method characterized in that, when the information is received, the update processing is performed by searching only for the entry in which the usage frequency information exceeds a threshold value.
【請求項2】 複数のネットワークを相互に接続した通
信システムのルーティング方式において、エンドシステ
ムのルーティングテーブルとして、アドレスマスクを含
まないルーティング情報を格納する第1のルーティング
テーブルと、アドレスマスクを含むルーティング情報を
格納する第2のルーティングテーブルとを設け、該エン
ドシステムがアドレスマスクを含んだルーティング情報
を受信した時は、上記第2のルーティングテーブルのみ
を検索して更新処理を行い、データ転送を行う際には、
最初上記第1のルーティングテーブルのネットワークア
ドレスを参照して宛先物理ドレスを求め、第1のルーテ
ィングテーブルで宛先が見つからなかった場合には、上
記第2のルーティングテーブルのネットワークアドレス
とアドレスマスクとを参照して宛先物理アドレスを決定
するようにしたことを特徴とするルーティング方式。
2. In a routing system of a communication system in which a plurality of networks are connected to each other, as a routing table of an end system, a first routing table that stores routing information that does not include an address mask, and routing information that includes an address mask. And a second routing table for storing data, and when the end system receives the routing information including the address mask, only the second routing table is searched for update processing, and data is transferred. Has
First, the destination physical address is obtained by referring to the network address in the first routing table, and if the destination is not found in the first routing table, the network address and the address mask in the second routing table are referred to. The routing method is characterized in that the destination physical address is determined.
JP4240045A 1992-08-17 1992-08-17 Routing system Pending JPH0669928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4240045A JPH0669928A (en) 1992-08-17 1992-08-17 Routing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4240045A JPH0669928A (en) 1992-08-17 1992-08-17 Routing system

Publications (1)

Publication Number Publication Date
JPH0669928A true JPH0669928A (en) 1994-03-11

Family

ID=17053660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4240045A Pending JPH0669928A (en) 1992-08-17 1992-08-17 Routing system

Country Status (1)

Country Link
JP (1) JPH0669928A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999049618A1 (en) * 1998-03-23 1999-09-30 Hitachi, Ltd. Network repeater and network next transfer destination searching method
US6515998B1 (en) 1998-12-04 2003-02-04 Nec Corporation Table data retrieving apparatus retrieving table in which reference data is stored by using retrieval key
US7313138B2 (en) 2002-06-17 2007-12-25 Nec Corporation Router device and routing method
US7952819B2 (en) 2005-04-12 2011-05-31 Sony Corporation Optical device, light irradiation apparatus and light irradiation method
US9889522B2 (en) 2014-02-25 2018-02-13 Panasonic Intellectual Property Management Co., Ltd. Laser processing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999049618A1 (en) * 1998-03-23 1999-09-30 Hitachi, Ltd. Network repeater and network next transfer destination searching method
US6515998B1 (en) 1998-12-04 2003-02-04 Nec Corporation Table data retrieving apparatus retrieving table in which reference data is stored by using retrieval key
US7313138B2 (en) 2002-06-17 2007-12-25 Nec Corporation Router device and routing method
US7952819B2 (en) 2005-04-12 2011-05-31 Sony Corporation Optical device, light irradiation apparatus and light irradiation method
US9889522B2 (en) 2014-02-25 2018-02-13 Panasonic Intellectual Property Management Co., Ltd. Laser processing system

Similar Documents

Publication Publication Date Title
US5555427A (en) Distributed processing in a system of computers at terminals connected by a communication network
EP2314027B1 (en) Switching table in an ethernet bridge
CA1312144C (en) Session control in network for digital data processing system which supports multiple transfer protocols
US5642483A (en) Method for efficiently broadcast messages to all concerned users by limiting the number of messages that can be sent at one time
US20080046428A1 (en) Method and system for providing cascaded trie-based network packet search engines
CN101170555A (en) Address resolution protocol (ARP) cache management method and related communication device
CN115113997A (en) Task scheduling method and device, electronic equipment and storage medium
JPH11191781A (en) Path retrieval circuit and communication controller
KR100257413B1 (en) Address management for remote terminals in digital loop transmission systems
US20060195485A1 (en) Apparatus, a method and a computer program product for releasing a savepoint
JPH0669928A (en) Routing system
JPH06290090A (en) Remote file accessing system
EP2090976A2 (en) Method of substituting process in storage system
US20060062221A1 (en) Routing table automatic setting method
CN110990611B (en) Picture caching method and device, electronic equipment and storage medium
JPS63289657A (en) Common file access system
NZ332456A (en) Service control point of advanced intelligent network handles requests from different types of service switching points
JP2002183138A (en) System and method for collecting information, and storage medium
JPH11232285A (en) Device and method for retrieving data
EP3036665B1 (en) A method of transmitting data structures from one computer to another computer
CN112069366B (en) Recall determination method, recall determination device, recall determination equipment and storage medium
US20180196848A1 (en) Processing method and processing system
KR100419096B1 (en) Method of Managing Message ID in Intelligent Network
KR100366794B1 (en) CTAG management system and CTAG management metnod in EMS
JPH05175970A (en) Priority control system