JP3340162B2 - Network coupling device - Google Patents

Network coupling device

Info

Publication number
JP3340162B2
JP3340162B2 JP32665892A JP32665892A JP3340162B2 JP 3340162 B2 JP3340162 B2 JP 3340162B2 JP 32665892 A JP32665892 A JP 32665892A JP 32665892 A JP32665892 A JP 32665892A JP 3340162 B2 JP3340162 B2 JP 3340162B2
Authority
JP
Japan
Prior art keywords
packet
passing amount
unit
setting
amount
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.)
Expired - Fee Related
Application number
JP32665892A
Other languages
Japanese (ja)
Other versions
JPH06177890A (en
Inventor
秀幸 相川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP32665892A priority Critical patent/JP3340162B2/en
Publication of JPH06177890A publication Critical patent/JPH06177890A/en
Application granted granted Critical
Publication of JP3340162B2 publication Critical patent/JP3340162B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明はネットワークの接続に必
要なブリッジやルータの如きネットワーク間結合装置に
係り、例えば通信容量の限られた細い回線で接続された
少なくとも2つのネットワーク間のパケットの通過量を
効率良く配分して、重要度や緊急度の高い通信を優先さ
せるなどのために好適な、パケットの通過量を制御する
機能を持つネットワーク間結合装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-network coupling device such as a bridge or a router required for network connection, for example, the passage of packets between at least two networks connected by a thin line having a limited communication capacity. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-network coupling device having a function of controlling a packet passing amount, which is suitable for efficiently distributing the amount and giving priority to communication with high importance and urgency.

【0002】[0002]

【従来の技術】ネットワーク間を接続するためネットワ
ーク間結合装置が使用される。例えば図7(A)に示す
如く、ネットワークN1 、N2 を接続するとき、ネット
ワークN1 のインタフェース部41と、ネットワークN
2 のインタフェース部42間をブリッジやルータの如き
ネットワーク間結合装置(以下結合装置という)51で
接続し、パケットをN1 、N2 間に転送制御している。
2. Description of the Related Art An inter-network coupling device is used to connect networks. For example, as shown in FIG. 7A, when connecting the networks N 1 and N 2 , the interface unit 41 of the network N 1 and the network N 1
The two interface units 42 are connected by an inter-network coupling device (hereinafter referred to as a coupling device) 51 such as a bridge or a router, and the transfer of packets between N 1 and N 2 is controlled.

【0003】結合装置としては、図7(A)に示す如
き、ネットワークN1 、N2 が近距離にあるローカル式
のものと、図7(B)に示す如く、ネットワークN1
2 が遠距離にあり、結合装置52間に伝送部53、5
4を設けてこの間を回線55で接続するリモート式のも
のがある。また、図7(C)に例示する如く、1つの結
合装置56で複数のネットワークN1 〜N4 間のパケッ
ト転送制御を行うものもある。なお図7(C)において
43、44はそれぞれネットワークN3 、N4 のインタ
フェース部である。
[0003] As the coupling device, as shown in FIG. 7 (A), and that of the local-type network N 1, N 2 is at a short distance, as shown in FIG. 7 (B), the network N 1,
N 2 is at a long distance, and the transmission units 53, 5
There is a remote type in which a line 4 is provided and the line 4 is connected by a line 55. Further, as illustrated in FIG. 7C, there is a type in which a single coupling device 56 controls packet transfer between a plurality of networks N 1 to N 4 . In FIG. 7C, reference numerals 43 and 44 denote interface units of the networks N 3 and N 4 , respectively.

【0004】ここで、ブリッジはイーサネットの如きL
ANを結合するとき、パケットのソースアドレス、ディ
スティネーションアドレスとしてのMAC(Media Acce
ss Control)アドレスがそれぞれ記載されたパケットを
制御するものであり、ルータは、前記MACアドレスを
有するパケットのデータ部分に更にIP(Internet Pro
tocol )ソースアドレスとIPディスティネーションア
ドレスが記入されているパケットを転送制御するもので
ある。
Here, the bridge is an L such as Ethernet.
When combining an AN, MAC (Media Acce) as the source address and destination address of the packet
ss Control) controls the packet in which each address is described, and the router further adds an IP (Internet Protocol) to the data portion of the packet having the MAC address.
tocol) Controls the transfer of a packet in which a source address and an IP destination address are written.

【0005】ところで、このような結合装置において、
通信容量の限られた回線で接続されたネットワーク間
で、少ない通信容量を効率良く使用しようとする場合に
は、(a)データ圧縮する、(b)特定のパケットの通
過を許可又は禁止するという2つの方法が用いられてい
た。
By the way, in such a coupling device,
In order to efficiently use a small communication capacity between networks connected by a line having a limited communication capacity, it is necessary to (a) compress data and (b) permit or prohibit the passage of a specific packet. Two methods were used.

【0006】[0006]

【発明が解決しようとする課題】しかし、前記(a)の
方法は、回線の通信容量は見かけ上増えるものの、緊急
度の低い通信と緊急度の高い通信とがパケットレベルで
区別できず、緊急度の低い通信が多く存在することによ
る使用量が増加して回線が混み合っている状況では、緊
急度が高い通信をスムーズに行うことができない。
However, in the method (a), although the communication capacity of the line is apparently increased, the communication with low urgency and the communication with high urgency cannot be distinguished at the packet level. In a situation where the usage is increasing due to the presence of many low-degree communications and the lines are congested, communication with high urgency cannot be performed smoothly.

【0007】また、前記(b)の方法では、パケットの
通過を許可するか許可しないかという設定しかできない
ため、回線が混み合うような状況において緊急な通信の
みを通過許可することはできても、逆に回線が十分に空
いている場合に緊急度の低い通信を許すことができない
ものとなる。
Further, in the method (b), since only the setting of permitting or not permitting the passage of the packet can be performed, only the emergency communication can be permitted in a situation where the lines are congested. Conversely, when the line is sufficiently free, communication with low urgency cannot be permitted.

【0008】従って本発明の目的は、このような問題点
を改善するため、ネットワーク間を接続する回線が混み
合っている場合に緊急度の高い通信を滞りなく行わせた
り、また反対にネットワーク間を接続する回線が空いて
いる場合に緊急度の低い通信を行わせて回線の無駄をな
くしたりするためのパケットの通過量の制御機能を持っ
た結合装置を提供することである。
[0008] Accordingly, an object of the present invention is to solve the above-mentioned problems by allowing communication of high urgency to be performed without interruption when lines connecting the networks are congested. The present invention is to provide a coupling device having a function of controlling the amount of packets passed so as to make communication with a low degree of urgency to be performed when a line for connecting the line is free and to reduce waste of the line.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するた
め、本発明では、図1に示す如く、ネットワークN1
2 間に配置した結合装置10に、パケット通過量計測
部1−1、1−2、パケット通過量設定部2、パケット
通過量比較部3、パケット通過量制御部4−1、4−
2、バッファ部5−1、5−2、パケット転送部6等を
設ける。
To achieve the above object, according to an aspect of the present invention, as shown in FIG. 1, the network N 1,
The coupling device 10 arranged between the N 2, packet throughput measurement unit 1-1 and 1-2, the packet passes through amount setting unit 2, the packet throughput comparator 3, packet throughput controller 4-1,4-
2, the buffer units 5-1 and 5-2, the packet transfer unit 6, and the like are provided.

【0010】パケット通過量設定部2にはこの結合装置
10を通過するパケットのパターンとか、そのパターン
に対する通過量等をあらかじめ設定しておく。パターン
の設定は、例えばパケットのソースアドレスとディステ
ィネーションアドレスで分類して設定したり、パケット
のサイズで分類する等の手法がある。また通過量の設定
は、例えばパターンAを常に優先し、残りをその他のパ
ターンにする等の手法である。
In the packet passing amount setting unit 2, a pattern of a packet passing through the coupling device 10, a passing amount for the pattern, and the like are set in advance. The pattern can be set, for example, by classifying the source address and the destination address of the packet, or by classifying the packet by the size of the packet. The setting of the passing amount is a method of always giving priority to the pattern A and setting the remaining pattern to another pattern.

【0011】なお、パターンの設定としては、例えばM
ACアドレス1からきてMACアドレス2に行くパケッ
トをパターンAとし、それ以外のものをその他のパター
ンとしたり、パケットサイズが64オクテット以下のパ
ケットをパターンAとしそれ以外のものをその他のパタ
ーンとする。
The pattern is set, for example, by M
A packet coming from the AC address 1 and going to the MAC address 2 is set as pattern A, and other packets are set as other patterns, or a packet having a packet size of 64 octets or less is set as pattern A, and other packets are set as other patterns.

【0012】パターンとしては、このように2つの分類
に限定されるものではなく、勿論3以上の適宜の種類に
分類してもよい。通過量の設定もパターンが3以上に分
類されるときは、3以上に分類してもよい。
The pattern is not limited to the two categories as described above, but may be of course classified into three or more appropriate types. The setting of the passing amount may be classified into three or more when the pattern is classified into three or more.

【0013】[0013]

【作用】結合装置10は、パケット通過量設定部2に前
記の如くパケットのパターンとそのパターンに対する通
過量を示す、パケット通過量データをあらかじめ設定し
ておく。結合装置10は動作を始めると、パケット通過
量計測部1−1、1−2によりそれぞれネットワークN
1 、N2 との間で通信されるパケットのパターンとその
パターンに対する通過量を計測し始める。なお、ネット
ワークN1 のインタフェース7から結合装置10に送出
されたパケットはパケット転送部6により全て一旦バッ
ファ部5−2に蓄積される。同様にネットワークN2
インタフェース8から送出されたパケットはパケット転
送部6により一旦バッファ部5−1に蓄積される。
The coupling device 10 previously sets the packet passing amount data indicating the packet pattern and the passing amount for the pattern in the packet passing amount setting unit 2 as described above. When the coupling device 10 starts operation, the network N is transmitted by the packet passing amount measuring units 1-1 and 1-2, respectively.
1, starts to measure the passing amount with respect to the pattern and the pattern of packets communicated between the N 2. The packet sent from the interface 7 of the network N 1 to the coupling device 10 is accumulated in all temporarily buffer 5-2 by the packet transfer unit 6. Similarly packets sent from the interface 8 of the network N 2 are stored temporarily in the buffer unit 5-1 by the packet transfer unit 6.

【0014】パケット通過量比較部3では、これらパケ
ット通過量計測部1−1、1−2から伝達された実際の
パケット通過量データをあらかじめパケット通過量設定
部2に設定してある設定値と比較し、実際のパケットの
転送制御がこの設定値と同じになるように、バッファ部
5−1、5−2に一時的に保持されているパケットのう
ちから、優先度の高いものを先に転送するようにパケッ
ト通過量制御部4−1、4−2を制御する。
The packet passing amount comparing unit 3 compares the actual packet passing amount data transmitted from the packet passing amount measuring units 1-1 and 1-2 with a set value set in the packet passing amount setting unit 2 in advance. By comparing the packets temporarily stored in the buffer units 5-1 and 5-2, the one with the highest priority is first transmitted so that the actual packet transfer control becomes the same as the set value. The packet passing amount control units 4-1 and 4-2 are controlled so as to transfer the packets.

【0015】このようにして、本発明では、ネットワー
ク間を接続する回線が混み合っている場合に緊急度の高
い通信を優先させたり、逆に回線が空いている場合に緊
急度の低い通信を行わせて回線の無駄をなくする結合装
置を提供できる。
As described above, according to the present invention, when the lines connecting the networks are congested, the communication with high urgency is prioritized, and when the line is free, the communication with low urgency is given priority. It is possible to provide a coupling device that can perform the operation without waste of the line.

【0016】[0016]

【実施例】本発明の一実施例を図2〜図4にもとづき説
明する。図2は本発明の一実施例構成図であり、図3は
本発明におけるパターン設定例説明図であり、図4は本
発明における通過量設定例説明図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a configuration diagram of one embodiment of the present invention, FIG. 3 is an explanatory diagram of a pattern setting example in the present invention, and FIG. 4 is an explanatory diagram of a passing amount setting example in the present invention.

【0017】図2において他図と同記号部は同一部を示
し、6−1は分別部、9は通過量設定部である。パケッ
ト通過量計測部1−1はネットワークN1 から結合装置
10に送出されたパケット通過量及びバッファ部5−1
からネットワークN1 に送出されたパケット通過量を測
定するものである。ここでパケット通過量とはパケット
の数やそのオクテット長の外にソース、ディスティネー
ション等のパケットの送出元、送出先の各データも検知
するものである。パケット通過量計測部1−2も、これ
また同様にネットワークN2 から結合装置10に送出さ
れたパケット通過量及びバッファ部5−2からネットワ
ークN2 に送出されたパケット通過量を測定するもので
ある。
In FIG. 2, the same symbols as those in the other figures indicate the same parts, 6-1 is a classification unit, and 9 is a passage amount setting unit. Packet throughput measurement unit 1-1 packet throughput and buffer unit 5-1 which is sent to the coupling device 10 from the network N 1
And measures the packet throughput sent to the network N 1 from. Here, the packet passing amount is to detect not only the number of packets and their octet length but also the data of the source and destination of the packet such as the source and the destination. Packet throughput measuring unit 1-2 is also intended to measure this Similarly packet throughput sent to the coupling device 10 from the network N 2 and the packet throughput sent to the network N 2 from the buffer section 5-2 is there.

【0018】パケット通過量設定部2は結合装置10を
通過すべきパケットを制御する制御データが格納される
ものであり、図3、図4等にもとづき後述詳記するパタ
ーン設定データや、通過量設定データが格納されてい
る。
The packet passing amount setting section 2 stores control data for controlling packets to be passed through the coupling device 10, and includes pattern setting data, which will be described in detail later with reference to FIGS. Setting data is stored.

【0019】パケット通過量比較部3はネットワークN
1 より送出または送入するパケット通過量、あるいはネ
ットワークN2 より送出または送入するパケット通過量
が、パケット通過量設定部2に格納されているパケット
通過量と等しいか否かを比較し、それにもとづきパケッ
ト通過量制御部4−1、4−2を制御してネットワーク
1 、N2 に送入されるパケットを制御するものであ
る。
The packet passing amount comparison unit 3 is connected to the network N
A comparison is made as to whether or not the packet passing amount transmitted or transmitted from 1 or the packet passing amount transmitted or transmitted from the network N 2 is equal to the packet passing amount stored in the packet passing amount setting unit 2. based controls the packet throughput control unit 4-1 and 4-2 controls the packet fed into the network N 1, N 2.

【0020】パケット通過量制御部4−1はネットワー
クN1 に送入されるパケットを制御するものであり、パ
ケット通過量制御部4−2はネットワークN2 に送入さ
れるパケットを制御するものである。
The packet throughput control unit 4-1 is for controlling the packet fed into the network N 1, packet throughput control unit 4-2 controls a packet fed into the network N 2 It is.

【0021】バッファ部5−1はネットワークN1 に送
出すべきパケットを一時保持するものであり、バッファ
部5−2はネットワークN2 に送出すべきパケットを一
時保持するものである。
The buffer unit 5-1 is to hold temporarily the packet to be sent to the network N 1, the buffer unit 5-2 is intended for temporarily storing packets to be sent to the network N 2.

【0022】パケット転送部6は伝達されたパケットを
そのディスティネーション・アドレスにもとづき該当す
るネットワーク側のバッファ部に送出するものであり、
例えばネットワークN1 からN2 に送出すべきパケット
をバッファ部5−2に送出し、またネットワークN2
らN1 に送出すべきパケットをバッファ部5−1に送出
するとともに、パケットの種類を分別する分別部6−1
を有する。この分別部6−1は結合装置10がブリッジ
であればソースのMACアドレス、ディスティネーショ
ンのMACアドレスなどの種類別に、また結合装置10
がIPルータであれば、ソースのIPアドレス、ディス
ティネーションのIPアドレス、TCP(Transmission
Control Protocol )/UDP(User Datagram Protoc
ol)/ICMP(Internet control Message Protocol
)の別、TCPやUDPのソースのポート番号、ディ
スティネーションのポート番号などによるパケットの種
類を分別するものである。
The packet transfer section 6 sends the transmitted packet to a corresponding buffer section on the network side based on the destination address.
For example, with a packet to be transmitted from the network N 1 to N 2 and sends to the buffer unit 5-2 and sends the packet to be transmitted from the network N 2 to N 1 in the buffer unit 5-1, separating the type of the packet Sorting section 6-1
Having. If the coupling device 10 is a bridge, the classification unit 6-1 sorts the MAC address of the source, the MAC address of the destination, and the like.
Is an IP router, the source IP address, destination IP address, TCP (Transmission
Control Protocol) / UDP (User Datagram Protocol)
ol) / ICMP (Internet control Message Protocol)
), The type of packet is classified based on TCP or UDP source port numbers, destination port numbers, and the like.

【0023】インタフェース7はネットワークN1 から
送出すべきパケットまたはネットワークN1 に送入され
るべきパケットを送受信するものである。インタフェー
ス8はネットワークN2 から送出すべきパケットまたは
ネットワークN2 に送入されるべきパケットを送受信す
るものである。
The interface 7 transmits and receives a packet to be transmitted from the network N 1 or a packet to be transmitted to the network N 1 . Interface 8 is for transmitting and receiving a packet to be sent into packets or network N 2 to be transmitted from the network N 2.

【0024】通過量設定部9は、パケット通過量設定部
2に格納されるパターン設定データや通過量設定データ
を記入するものである。次に図3、図4にもとづき、パ
ケット通過量設定部2に格納されているA.パターンの
設定及びB.通過量の設定について説明する。
The passing amount setting section 9 is for writing pattern setting data and passing amount setting data stored in the packet passing amount setting section 2. Next, based on FIG. 3 and FIG. Pattern setting and B. The setting of the passing amount will be described.

【0025】A.パターンの設定は、例えば図3に示す
如く、(1)パケットのソースアドレス/ディスティネ
ーションアドレスで分類する方法、(2)インタフェー
スで分類する方法、(3)パケットのソースポート/デ
ィスティネーションポートで分類する方法、(4)パケ
ットのサイズで分類する方法等が考えられる。
A. As shown in FIG. 3, for example, the pattern is set by (1) a method of classifying by a source address / destination address of a packet, (2) a method of classifying by an interface, and (3) a classification by a source port / destination port of a packet. And (4) a method of classifying based on packet size.

【0026】(1) パケットのソースアドレス/ディステ
ィネーションアドレスで分類する方法は、異なるネット
ワークの特定のホスト間のパケットあるいは特定ホスト
のパケットを指定して、それに対しては優先度を与える
ように制御するものであり、結合装置がブリッジの場
合には例えばMACアドレス1からきてMACアドレス
2に行くパケットとか、あるいはMACアドレス1から
のパケットの如き記入が行われ、結合装置がルータの
場合には例えばIPアドレス1からきてIPアドレス2
に行くパケットとか、あるいはIPアドレス1からのパ
ケット等の如き事項が記入される。
(1) A method of classifying packets by source address / destination address is such that a packet between specific hosts on different networks or a packet of a specific host is designated, and priority is given to the packet. When the coupling device is a bridge, a packet such as a packet coming from the MAC address 1 and going to the MAC address 2 or a packet from the MAC address 1 is written, and when the coupling device is a router, for example, Comes from IP address 1 and IP address 2
Or a packet from the IP address 1 or the like.

【0027】(2) インタフェースで分類する方法は、例
えば図7(C)の如く、インタフェースが3以上(この
例ではインタフェースが4)ある場合インタフェースに
もとづき優先度を与えるように制御するものであり、
例えばインタフェース1からきてインタフェース2に行
くパケットとか、インタフェース1を通過するパケッ
ト等の如き事項が記入される。
(2) The method of classifying by interface is such that, as shown in FIG. 7C, when there are three or more interfaces (in this example, there are four interfaces), control is performed so that priority is given based on the interfaces. ,
For example, items such as a packet coming from the interface 1 and going to the interface 2 and a packet passing through the interface 1 are written.

【0028】(3) パケットのソースポート/ディスティ
ネーションポートで分類する方法は、結合装置がルータ
の場合で、更にパケットがTCP(Transmission Contr
ol Protocol )またはUDP(User Datagram Protoco
l)のパケットである場合に、ポート番号でパケットを
分類することができるので、これによりのように、ソ
ースポートがポート番号1024以上からきてディステ
ィネーションポートがポート番号23に行くパケットを
優先するように制御することができる。ここでポート番
号1024以上のポートとは相手を呼び出すときに使用
されるポートであり、ポート番号23とはログインのと
きの相手のポート番号を示す。従ってこののケース
は、ログインのため相手を呼び出す場合の例である。
(3) A method of classifying packets by source port / destination port is a case where the coupling device is a router, and the packet is further transmitted by TCP (Transmission Control).
ol Protocol) or UDP (User Datagram Protocol)
In the case of the packet of l), the packet can be classified by the port number. Thus, as described above, the packet whose source port comes from the port number 1024 or more and whose destination port goes to the port number 23 is prioritized. Can be controlled. Here, the port having a port number of 1024 or more is a port used when calling the other party, and the port number 23 indicates a port number of the other party at the time of login. Therefore, this case is an example of calling the other party for login.

【0029】(4) パケットのサイズで分類する方法は、
パケットの長さで優先すべきか否かを分類するものであ
る。例えば短いものはプロトコル等の制御用のものと判
断して優先させたり、長いものはファイルの転送と判断
して遅れてもよいように制御することが考えられ、サ
イズが64オクテット以下のパケット、サイズが10
00オクテット以上のパケット等に分類して制御状態を
決定できる。
(4) The method of classifying by packet size is as follows:
This classifies whether priority should be given to the packet length. For example, it is conceivable that a short one is determined to be for controlling a protocol or the like and given priority, or a long one is determined to be a file transfer and controlled so that it may be delayed, such as a packet having a size of 64 octets or less, Size 10
The control state can be determined by classifying the packet into packets of 00 octets or more.

【0030】なお、パターン設定は、前記(1)〜
(4)を単独のみでなくこれらを併用することもでき
る。例えばIPアドレス1からIPアドレス2に行くパ
ケットでかつソースポートがポート番号1024以上か
ら来てディスティネーションポートがポート番号23に
行くパケットの如く定義することもできる。
The pattern setting is performed in the above (1) to
(4) can be used not only alone but also in combination. For example, it can be defined as a packet going from IP address 1 to IP address 2 and a source port coming from port number 1024 or more and a destination port going to port number 23.

【0031】B.通過量は、例えば図4に示す如く、
(1)回線の通信容量に対し相対的に通過量を設定する
方法、(2)絶対値で通過量を設定する方法、(3)最
高値を設定する方法、(4)最低値を設定する方法等が
考えられる。
B. The passing amount is, for example, as shown in FIG.
(1) A method of setting a passing amount relative to a communication capacity of a line, (2) A method of setting a passing amount by an absolute value, (3) A method of setting a maximum value, and (4) A setting of a minimum value. A method is conceivable.

【0032】いまパターンの設定として、例えばパター
ンAとしてIPアドレス1からきてIPアドレス2に行
くパケットであってかつソースポートがポート番号10
24以上であってディスティネーションポートがポート
番号23のパケット、パターンBとしてIPアドレス1
からきてIPアドレス2に行くパケットであってポート
番号は前記パターンA以外のもの、パターンCとしてそ
の他のパターンのものと定義したとき、以下のように通
過量を設定することができる。
As a pattern setting, for example, as a pattern A, a packet coming from IP address 1 and going to IP address 2 and having a source port of port number 10
24 or more, and the destination port is a packet with the port number 23, and the pattern B has the IP address 1
When the packet is transmitted to the IP address 2 and the port number is defined as a pattern other than the pattern A and the pattern C is defined as another pattern, the passing amount can be set as follows.

【0033】(1) 回線の通信容量に対し相対的に通過量
を設定する方法としては、例えばの如く、パターンA
を回線容量の50%、パターンBを回線容量の20%、
その他のパターンを回線容量の30%とするものであ
る。
(1) As a method of setting the passing amount relative to the communication capacity of the line, for example, a pattern A
Is 50% of the circuit capacity, Pattern B is 20% of the circuit capacity,
Other patterns are set to 30% of the line capacity.

【0034】(2) 絶対値で通過量を設定する方法として
は、例えば回線容量が64kbsのとき、の如く、パ
ターンAを30kbs、パターンBを20kbs、その
他のパターンを残りの14kbsとするものである。
(2) As a method of setting the passing amount by the absolute value, for example, when the line capacity is 64 kbs, the pattern A is 30 kbs, the pattern B is 20 kbs, and the other patterns are the remaining 14 kbs. is there.

【0035】(3) 最高値を設定する方法としては、例え
ばの如く、パターンAに対しては最高で回線容量の5
0%までとする。これにより常に回線容量の半分を他の
パターン用に空けておくことができる。
(3) As a method of setting the maximum value, for example, as shown in FIG.
Up to 0%. As a result, half of the line capacity can always be kept free for other patterns.

【0036】(4) 最低値を設定する方法としては、例え
ばの如く、パターンBに対して最低で回線容量の20
%とする。これによりどんなに回線が混んでいる場合に
も、パターンBは20%の通信ができることが保証され
る。
(4) As a method of setting the minimum value, for example, as shown in FIG.
%. This guarantees that pattern B can communicate at 20%, no matter how busy the line.

【0037】ところでパケットの通過量を求めるとき、
結合装置10が動作を開始してから現在までの長時間の
平均パケット通過量を求めることは実用上意味がない。
結合装置10がパケットの通過量を制御しようとしてい
るインタフェースの通信速度(通信容量)に応じて下記
の式より得られた時間内に通過したパケットの通過量を
調べればよい。
By the way, when calculating the amount of passing packets,
It is practically meaningless to find the average amount of packet passing for a long time from the start of the operation of the coupling device 10 to the present.
It is sufficient to check the amount of packets that have passed within the time obtained from the following equation according to the communication speed (communication capacity) of the interface for which the coupling device 10 is trying to control the amount of packets passing.

【0038】 ここでNはパケット数であり、10〜1000程度が考
えられるが、100程度が良い。上式はオクテット数つ
まりパケットのサイズで表現した例であるが、パケット
の通過量はパケット数でも、パケットのサイズでもどち
らでも計測することができる。
[0038] Here, N is the number of packets, which may be about 10 to 1000, but preferably about 100. Although the above expression is an example in which the number of octets, that is, the size of a packet, is expressed, the amount of passing packets can be measured by either the number of packets or the size of a packet.

【0039】本発明の一実施例構成を示す図2の動作に
ついて説明する。この場合、パケット通過量設定部2に
は、結合装置10がIPルータの場合、パターン設定部
9から、動作に先立ち例えば図3(1)ののパターン
をパターンAとして設定し、通過量として例えば図4
(2)が設定されている。ここでパケット通過量計測
部1−1、1−2、パケット通過量制御部4−1、4−
2、バッファ部5−1、5−2はインタフェース毎にそ
れぞれ用意されている。
The operation of FIG. 2 showing the configuration of one embodiment of the present invention will be described. In this case, if the coupling device 10 is an IP router, the pattern setting unit 9 sets, for example, the pattern of FIG. FIG.
(2) is set. Here, the packet passing amount measuring units 1-1 and 1-2, the packet passing amount control units 4-1 and 4-
2. Buffer units 5-1 and 5-2 are provided for each interface.

【0040】結合装置10では入ってくるパケットにつ
いて制御できないため、パケット通過量制御部4−1、
4−2により出て行くパケットについてのみ、パケット
通過量比較部3からの制御信号にもとづき制御を行う。
しかしパケット通過量計測部1−1、1−2では、入っ
てくるパケットと出て行くパケットの両方について通過
量を計測している。
Since the coupling device 10 cannot control the incoming packet, the packet passing amount control unit 4-1,
The control is performed only for the packet going out according to 4-2 based on the control signal from the packet passing amount comparison unit 3.
However, the packet passing amount measuring units 1-1 and 1-2 measure the passing amount of both incoming packets and outgoing packets.

【0041】結合装置10が動作を始めると、パケット
の通過量をパケット通過量計測部1−1、1−2が計測
し、これをパケット通過量比較部3に通知する。結合装
置10が受け取ったパケットは、全て一旦バッファ部5
−1、5−2に蓄えられている。そしてパケット通過量
比較部3では実際のパケットの通過量(パターンも含
む)と、あらかじめパケット通過量設定部2に設定した
通過量(パターンも含む)とを比較し、その結果が設定
値と同じになるようにバッファ部5−1、5−2に蓄え
られたパケットのうちから優先度の高いものを先に転送
するように制御が行われる。
When the coupling device 10 starts operating, the packet passing amount measuring units 1-1 and 1-2 measure the packet passing amount, and notifies the packet passing amount comparing unit 3 of this. All packets received by the coupling device 10 are temporarily stored in the buffer unit 5.
-1, 5-2. The packet passing amount comparing unit 3 compares the actual packet passing amount (including the pattern) with the passing amount (including the pattern) set in the packet passing amount setting unit 2 in advance, and the result is the same as the set value. Thus, control is performed such that a packet having a higher priority among packets stored in the buffer units 5-1 and 5-2 is transferred first.

【0042】このとき、パケットの種類別にパケットの
通過量があらかじめ設定されており、通過したパケット
の1つ1つについてどの種類に属するのかチェックし、
パケットの種類別に通過量を計測する。
At this time, the passing amount of the packet is set in advance for each type of packet, and it is checked which type of each passed packet belongs.
The passing amount is measured for each type of packet.

【0043】なお、前記の如く、結合装置10が受け取
ったパケットは全て一旦バッファ部5−1、5−2に蓄
積されている。そしてパケットの種類別の実際のパケッ
トの通過量とあらかじめ設定した設定値とを比較し、そ
の結果が設定値と同じになるように、バッファ部5−
1、5−2に蓄積されたパケットのうちから優先度の高
いものを先に転送することにより、パケットの種類別に
パケットの通過量を制御する。
As described above, all the packets received by the coupling device 10 are temporarily stored in the buffer units 5-1 and 5-2. Then, the actual packet passing amount for each type of packet is compared with a preset set value, and the buffer unit 5-
By transferring the packet with the highest priority among the packets stored in the packets 1 and 5-2 first, the amount of passage of the packet is controlled for each type of the packet.

【0044】またバッファ部5−1、5−2にパケット
を蓄積する際に、分別部6−1によりパケット通過量設
定部2で設定したパケットのパターン設定のどれに属す
るかを事前に判定して、このパターン種別情報とともに
パケットをバッファ部5−1、5−2に蓄積することに
より、実際のパケットの転送時にパケットの種別を判定
する必要がなくなり、処理速度を向上することになる。
When storing the packets in the buffer units 5-1 and 5-2, the classification unit 6-1 determines in advance which of the packet pattern settings set by the packet passing amount setting unit 2 belongs to the classification unit 6-1. By storing the packets together with the pattern type information in the buffer units 5-1 and 5-2, it is not necessary to determine the type of the packet at the time of actual packet transfer, and the processing speed is improved.

【0045】本発明の第2実施例を図5、図6にもとづ
き説明する。第2実施例では時計11を設け、またパケ
ット通過量比較部3に時間比較部3−1、時間通過量設
定部3−2を設ける。なおこれらに加えて猶予時間判別
部3−3及びタイマ12を設けておく。
A second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, a clock 11 is provided, and a packet passing amount comparing unit 3 is provided with a time comparing unit 3-1 and a time passing amount setting unit 3-2. In addition, a grace time determination unit 3-3 and a timer 12 are provided in addition to these.

【0046】また、パケット通過量設定部2には、猶予
時間設定を行わないときは、例えば図6(A)〜(C)
に示す如く、パターン設定、通過量設定、時刻設定等を
行う。
When no grace time is set in the packet passing amount setting unit 2, for example, FIGS.
As shown in (1), pattern setting, passing amount setting, time setting and the like are performed.

【0047】パターン設定は、図6(A)に例示するよ
うに、パターンPとしてサイズが1000オクテット以
上のパケットを、パターンQとしてサイズが64オクテ
ット以下のパケットを、パターンRとしてパターンP、
Q以外のパケットを定義する。
As shown in FIG. 6 (A), the pattern setting includes a packet having a size of 1000 octets or more as a pattern P, a packet having a size of 64 octets or less as a pattern Q, a pattern P and a pattern R as a pattern R.
Define packets other than Q.

【0048】通過量設定は、図6(B)に例示するよう
に、パターンPを50%、パターンQを20%、パター
ンRを30%とする。そして時刻設定は、図6(C)に
例示するように、9時〜17時までの間は、前記
(B)に示す通りとし、17時〜9時までの間は、パ
ターンPを70%、パターンQを10%、パターンRを
20%として、例えばファイル転送のようなサイズが1
000オクテット以上のパケットの割当を大きくし、フ
ァイル処理の便宜を考慮した設定とする。
As shown in FIG. 6B, the passing amount is set to 50% for the pattern P, 20% for the pattern Q, and 30% for the pattern R. Then, as shown in FIG. 6C, the time is set as shown in (B) from 9:00 to 17:00, and the pattern P is set to 70% from 17:00 to 9:00. When the pattern Q is 10% and the pattern R is 20%, for example, the file transfer size is 1
The allocation of packets of 000 octets or more is increased, and the setting is made in consideration of the convenience of file processing.

【0049】図5に示す本発明の第2実施例では、現在
の時刻を知るための時計11と、この時計から得られた
時間帯情報により時間比較部3−1がパケット通過量設
定部2から、図6(C)に示すまたはの如きパケッ
ト通過量設定データを抽出し、これにもとづき時間通過
量設定部3−2がバッファ部5−1、5−2から出力す
るパケットを制御する。
In the second embodiment of the present invention shown in FIG. 5, the clock 11 for knowing the current time and the time comparing section 3-1 are used by the time comparing section 3-1 based on the time zone information obtained from the clock. Then, the packet passing amount setting data shown in FIG. 6C or as shown in FIG. 6C is extracted, and based on this, the time passing amount setting unit 3-2 controls the packets output from the buffer units 5-1 and 5-2.

【0050】なお、図5に示す如く、タイマ12を設
け、パケット通過量設定部2に、図6(D)に例示する
パケット通過量設定データを記入しておけば、パターン
Pのパケットを送出しているとき、途中で回線容量の5
0%を超えた状態になったとき、猶予時間判別部3−3
が直ちに動作し、タイマ監視を行う。そして猶予時間の
60秒以内にこのパターンPのパケット転送が終われ
ば、そのまま動作を続けるように構成することができ
る。このようにして、例えばファイル転送のような場合
に、途中で一時的に設定違反状態になってもこれを許容
することによりスムースに処理を行うことができる。こ
の場合、猶予時間がすぎても設定違反状態が続けば転送
処理は中断されるが、バッファ部にパケットが残ってい
るのであとで再送可能である。
As shown in FIG. 5, a timer 12 is provided, and if the packet passing amount setting data illustrated in FIG. And the line capacity is 5
When the state exceeds 0%, the grace time determination unit 3-3
Operates immediately and performs timer monitoring. If the packet transfer of the pattern P is completed within 60 seconds of the grace time, the operation can be continued as it is. In this way, for example, in the case of file transfer, even if the setting is temporarily violated on the way, the process can be smoothly performed by permitting this. In this case, if the setting violation state continues even after the grace period has passed, the transfer process is interrupted, but the packet can be retransmitted because the packet remains in the buffer unit.

【0051】なお、前記説明は、2つのネットワーク間
を結合する結合装置の例について記述したが、本発明は
勿論これのみに限定されるものではなく、3以上のネッ
トワークを結合する結合装置についても勿論適用でき
る。
In the above description, an example of a coupling device for coupling two networks has been described. However, the present invention is not limited to this, but is also applicable to a coupling device for coupling three or more networks. Of course, it can be applied.

【0052】[0052]

【発明の効果】本発明によりパケットの通過量を設定す
る際、ある特定の、例えば特定ホスト間の、通信が重要
度は低いが通信量が多いことが分かっているような場合
には、その特定の通信のパケットの通過量に上限値を設
定することにより、回線が100%混雑した状態になる
のを防ぐことができる。
According to the present invention, when setting the amount of passing packets, if it is known that communication between a specific host and a specific host is low in importance but high in communication, By setting an upper limit value for the amount of passing packets of a specific communication, it is possible to prevent the line from becoming 100% congested.

【0053】反対に、普段は回線がどんなに混雑してい
てもよいが、特定の通信が起こったときには該通信が他
の通信を排除しても必ず行わなければならない程重要度
が高い場合には、その特定の通信のパケットの通過量に
下限値を設けることにより、回線の混雑具合にかかわら
ず、その特定の通信を常に一定の割合以上で行うことが
できるようになる。
On the other hand, if the communication line is usually congested no matter how congested, but when a particular communication occurs, the communication is so important that it must be performed even if other communication is excluded. By setting a lower limit value for the amount of packet passing of the specific communication, the specific communication can always be performed at a certain rate or more regardless of the degree of line congestion.

【0054】また、午前8時から午後5時までの間は特
定の通信を優先させる必要があるが、それ以外の時間帯
では全ての通信を同様に扱っても差し支えない場合に
は、時間帯情報とともにパケット通過量の制限値を設定
することにより、このようなことが実現可能となる。
In addition, it is necessary to give priority to a specific communication from 8:00 am to 5:00 pm. This can be realized by setting a limit value of the packet passing amount together with the information.

【0055】さらにまた突発的なパケットの通過量の増
加に対して、少しの間はそのパケットの通過を許すが、
一定時間を越えて通信している場合にはパケットの通過
量に制限を加えたい場合にも、このようなことが実現可
能となる。
Further, for a sudden increase in the amount of passing packets, the passing of the packets is allowed for a short time.
This can be realized even when it is desired to limit the amount of packet passing when communication is performed over a certain period of time.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の一実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】本発明におけるパターン設定説明図である。FIG. 3 is an explanatory diagram of pattern setting in the present invention.

【図4】本発明における通過量設定説明図である。FIG. 4 is an explanatory diagram of a passing amount setting in the present invention.

【図5】本発明の第2実施例構成図である。FIG. 5 is a configuration diagram of a second embodiment of the present invention.

【図6】本発明におけるパケット通過量設定説明図であ
る。
FIG. 6 is an explanatory diagram of setting a packet passing amount in the present invention.

【図7】ネットワーク結合状態説明図である。FIG. 7 is an explanatory diagram of a network connection state.

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

1−1、1−2 パケット通過量計測部 2 パケット通過量設定部 3 パケット通過量比較部 4−1、4−2 パケット通過量制御部 5−1、5−2 バッファ部 6 パケット転送部 1-1, 1-2 Packet passing amount measuring unit 2 Packet passing amount setting unit 3 Packet passing amount comparing unit 4-1, 4-2 Packet passing amount control unit 5-1, 5-2 Buffer unit 6 Packet transfer unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/46 H04L 12/56 H04L 12/66 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 12/46 H04L 12/56 H04L 12/66

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のネットワークを結合するネットワ
ーク間結合装置において、現在の時刻を知るための時計部と、 時間帯情報とともにパケットの通過量を設定するパケッ
ト通過量設定部と、 パケットの通過量を計測するパケット通過量計測部と、 パケットのパターンと、通過量を設定するパケット通過
量設定部と、 実際に通過するパケットのパターンと通過量を前記パケ
ット通過量設定部に記入された設定値と比較するパケッ
ト通過量比較部と、 比較結果が前記設定値内になるようにパケットの通過量
を制御するパケット通過量制御部と、時間帯情報と現在の時刻とを比較する時間比較部 を具備
することを特徴とするネットワーク間結合装置。
1. An inter-network connecting apparatus for connecting a plurality of networks, a clock unit for knowing a current time, and a packet for setting a packet passing amount together with time zone information.
A packet passing amount setting unit, a packet passing amount measuring unit for measuring a packet passing amount, a packet pattern, a packet passing amount setting unit for setting a passing amount, and a packet passing amount setting unit and a packet passing amount. A packet passing amount comparison unit that compares the setting value entered in the packet passing amount setting unit; a packet passing amount control unit that controls the packet passing amount so that the comparison result is within the setting value ; An inter-network coupling device comprising a time comparison unit for comparing with a current time .
【請求項2】 特定の通信が始まってからの時間をカウ
ントするタイマと、 タイマの猶予時間情報とともにパケットの通過量を設定
するパケット通過量設定部を具備することを特徴とする
請求項1記載のネットワーク間結合装置。
2. The time from the start of a specific communication is counted.
Set the packet passing amount along with the timer to be transferred and the grace time information of the timer
Characterized by having a packet passing amount setting unit
The network coupling device according to claim 1.
【請求項3】 複数のネットワークを結合するネットワ
ーク間結合装置において、 パケットの種類を分別する分別部とパケットの種類別に通過量を計測するパケット通過量計
測部と、 パケットの種類別に通過量を設定するパケット通過量設
定部と、 パケットの種類別に、実際のパケットの通過量と、前記
パケット通過量設定部で設定された設定値とを比較する
パケット通過量比較部と、 前記パケット通過量比較部による比較結果にもとづい
て、パケットの種類別にパケットの通過量を制御するパ
ケット通過量制御部とを具備することを特徴とするネッ
トワーク間結合装置。
3. A network for connecting a plurality of networks.
In the interworking coupling device, a classification unit for classifying a packet type and a packet passage amount meter for measuring a passage amount for each packet type
Measurement unit and a packet passing amount setting that sets the passing amount for each packet type.
And the actual packet passing amount for each packet type,
Compare with the setting value set in the packet passing amount setting unit
A packet passing amount comparing unit and a packet passing amount comparing unit based on the comparison result.
To control the amount of passing packets by packet type.
And a packet passing amount control unit.
An interworking coupling device.
JP32665892A 1992-12-07 1992-12-07 Network coupling device Expired - Fee Related JP3340162B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32665892A JP3340162B2 (en) 1992-12-07 1992-12-07 Network coupling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32665892A JP3340162B2 (en) 1992-12-07 1992-12-07 Network coupling device

Publications (2)

Publication Number Publication Date
JPH06177890A JPH06177890A (en) 1994-06-24
JP3340162B2 true JP3340162B2 (en) 2002-11-05

Family

ID=18190229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32665892A Expired - Fee Related JP3340162B2 (en) 1992-12-07 1992-12-07 Network coupling device

Country Status (1)

Country Link
JP (1) JP3340162B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NL9401525A (en) * 1994-09-21 1996-05-01 Nederland Ptt Clock recovery for ATM receiver.
JP5832155B2 (en) * 2011-06-20 2015-12-16 三菱電機株式会社 Air conditioner network system

Also Published As

Publication number Publication date
JPH06177890A (en) 1994-06-24

Similar Documents

Publication Publication Date Title
EP0736238B1 (en) Data link interface for packet-switched network
US7961606B2 (en) Packet flow control in switched full duplex ethernet networks
US7002911B1 (en) Flow control mechanism
JPH08503821A (en) Method for assigning priority to traffic between local area networks interconnected by a central network
US20050226149A1 (en) Method of detecting non-responsive network flows
US20040125815A1 (en) Packet transmission apparatus and method thereof, traffic conditioner, priority control mechanism and packet shaper
JPH07336375A (en) Data transfer system
JP2003525000A (en) Data flow mirror processing system and method in network switch
CA2237208A1 (en) Congestion notification from router
JP3309020B2 (en) Transmission throughput control apparatus and method
JPH09509289A (en) Variable latency cut-through bridging
EP0955749A1 (en) Receiver based congestion control and congestion notification from router
US20040037225A1 (en) Network interface unit
JP3340162B2 (en) Network coupling device
EP1106003A1 (en) Method and system for prioritised congestion control in a switching hub
JPH08307454A (en) Packet priority processor
JP2003258881A (en) Adaptive quality control system
JPH07210473A (en) Data filtering system between transmission lines
JP2561022B2 (en) Transmission channel selection system by destination address
JP2003046555A (en) Band supervisory device
JP2004343227A (en) Shaping rate setting apparatus, shaping rate setting method, and shaping rate setting system
JPH03159436A (en) Token passing system
JP3240240B2 (en) Packet network congestion prevention method and communication system using the method
JP2001195326A (en) File transfer system
US7145874B2 (en) Apparatus, method, and software for limiting session rates in a computer network

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

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

Free format text: PAYMENT UNTIL: 20080816

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090816

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees