JP2002314562A - Flow controller - Google Patents

Flow controller

Info

Publication number
JP2002314562A
JP2002314562A JP2001114650A JP2001114650A JP2002314562A JP 2002314562 A JP2002314562 A JP 2002314562A JP 2001114650 A JP2001114650 A JP 2001114650A JP 2001114650 A JP2001114650 A JP 2001114650A JP 2002314562 A JP2002314562 A JP 2002314562A
Authority
JP
Japan
Prior art keywords
congestion
congestion notification
packet
priority
notification packet
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.)
Withdrawn
Application number
JP2001114650A
Other languages
Japanese (ja)
Inventor
Takuo Ukai
拓男 鵜飼
Masaya Takahashi
正也 高橋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001114650A priority Critical patent/JP2002314562A/en
Publication of JP2002314562A publication Critical patent/JP2002314562A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a flow controller in a network that limits use of a communication band for a packet to inform of congestion on the occurrence of the congestion. SOLUTION: A switching hub 10 is provided with buffers Pri- 0, Pri- 1,..., Pri- m to queue congestion information in the order of priority, controls an output of a congestion notice packet on the basis of the priority to minimize outputs thereby effectively utilizing a transmission band of the packet.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の端末グルー
プをグループ識別子により多重可能な入力ポート及び出
力ポートを有するスイッチングハブが階層構造で接続さ
れたネットワークにおけるフロー制御装置に関する。
The present invention relates to a flow control device in a network in which switching hubs having input ports and output ports capable of multiplexing a plurality of terminal groups by group identifiers are connected in a hierarchical structure.

【0002】[0002]

【従来の技術】図6(1)は従来例として、スイッチング
ハブにおけるフロー制御を説明する図であり、スイッチ
ングハブSW1とスイッチングハブSW1の個々のポー
トP1〜P4にそれぞれ接続されたイーサネット(登録
商標)端末A〜DはIEEE802.3xの全二重フロー制御に対
応している。今、スイッチングハブSW1が端末Bから
端末A宛てのパケットを転送し、さらに端末Cが同じく
端末A宛てのパケットを送信したとして、スイッチング
ハブSW1の端末Bからのパケットと端末Cからのパケ
ットの受信量が端末Aへの送信量を上回ると、そのパケ
ットはスイッチングハブSW1内部のそれぞれの入力バ
ッファに蓄積される。
2. Description of the Related Art FIG. 6 (1) is a diagram for explaining a flow control in a switching hub as a conventional example. A switching hub SW1 and Ethernet (registered trademark) connected to respective ports P1 to P4 of the switching hub SW1 are registered. ) Terminals A to D support IEEE802.3x full-duplex flow control. Now, assuming that the switching hub SW1 transfers a packet addressed to the terminal A from the terminal B, and furthermore, the terminal C transmits a packet addressed to the terminal A as well, and receives a packet from the terminal B and a packet from the terminal C of the switching hub SW1. If the amount exceeds the amount transmitted to the terminal A, the packet is stored in each input buffer inside the switching hub SW1.

【0003】このようにして長時間パケットが入力バッ
ファに蓄積されていくと、入力バッファはオーバーフロ
ーし、あふれたパケットは破棄されてしまう。このた
め、スイッチングハブSW1は入力バッファがオーバー
フローしそうになると、該当の入力ポートP3に対し、
送信停止時間を規定したポーズパケットを送信し、これ
を受信した端末Cは、規定された送信停止時間の間、パ
ケットの送信を停止する。その結果、スイッチングハブ
SW1は入力バッファのオーバーフローを回避できる。
When packets are accumulated in the input buffer for a long time in this way, the input buffer overflows, and overflowing packets are discarded. For this reason, when the input buffer is about to overflow, the switching hub SW1 sends a signal to the corresponding input port P3.
The terminal C that has transmitted the pause packet defining the transmission stop time and has received this pauses the packet transmission during the defined transmission stop time. As a result, the switching hub SW1 can avoid overflow of the input buffer.

【0004】しかし、このポーズパケットによる送信停
止は、スイッチングハブSW1のポートP1〜P4を単
位として制御されるため、図6(2)に示すような、複数
の端末グループを多重したスイッチングハブSW2〜S
W5が階層構造で接続されたネットワークにおいては、
同一スイッチングハブに接続された異なるグループに属
する他の端末に対しても影響を与える。
[0006] However, since the transmission stop by the pause packet is controlled in units of the ports P1 to P4 of the switching hub SW1, the switching hubs SW2 to SW2 in which a plurality of terminal groups are multiplexed as shown in FIG. S
In a network in which W5 is connected in a hierarchical structure,
This also affects other terminals belonging to different groups connected to the same switching hub.

【0005】ここで、スイッチングハブSW2は複数の
グループを多重したスイッチングハブSW3〜SW5を
束ねるバックボーンのスイッチングハブであり、スイッ
チングハブSW3〜SW5はイーサネット対応の端末機
器A〜Iを収容するフロントエンドのスイッチングハブ
である。また、各端末A〜Iはフロントエンドのスイッ
チングハブSW3〜SW5のポートで端末グループとし
て認識されており、複数の端末グループをグループ識別
子により多重したバックボーンのスイッチングハブSW
2へ接続される。スイッチングハブSW2のポートP2
3からポーズパケットがスイッチングハブSW5に出力
された場合、スイッチングハブSW5からスイッチング
ハブSW2に送信するパケットは全て送信停止になるた
め、スイッチングハブSW5に接続された端末Iから、
スイッチングハブSW4に接続された端末Fへの送信も
停止してしまうことになる。
Here, the switching hub SW2 is a backbone switching hub that bundles the switching hubs SW3 to SW5 in which a plurality of groups are multiplexed, and the switching hubs SW3 to SW5 are front-ends that accommodate the terminal devices A to I corresponding to Ethernet. It is a switching hub. Each of the terminals A to I is recognized as a terminal group by the ports of the front-end switching hubs SW3 to SW5, and a backbone switching hub SW in which a plurality of terminal groups are multiplexed by a group identifier.
Connected to 2. Port P2 of switching hub SW2
When the pause packet is output from the switching hub SW5 to the switching hub SW5, transmission of all packets transmitted from the switching hub SW5 to the switching hub SW2 is stopped. Therefore, from the terminal I connected to the switching hub SW5,
The transmission to the terminal F connected to the switching hub SW4 also stops.

【0006】そこで、このような課題に対し、特開平9
−149065号公報で示された特定の端末に対するバ
ックプレッシャーを送信するフロー制御の考えを応用す
ると、入力バッファが閾値を超えた場合に、入力バッフ
ァに入力された最新のパケットの送信元アドレスを元
に、このパケットを送信した該当端末のみに、送信を停
止させるためのポーズパケットを送信することが可能で
ある。
To solve such a problem, Japanese Patent Laid-Open No.
Applying the idea of flow control for transmitting back pressure to a specific terminal disclosed in JP-A-149065, when the input buffer exceeds a threshold, the source address of the latest packet input to the input buffer is determined. Then, it is possible to transmit a pause packet for stopping transmission only to the terminal that has transmitted this packet.

【0007】[0007]

【発明が解決しようとする課題】しかし、この入力バッ
ファに入力された端末を特定した個別フロー制御方法を
用いた場合、パケットロスの可能性や、輻輳の原因とな
らないグループの端末に対してもフロー制御を行う可能
性があるという問題がある。
However, when the individual flow control method that specifies the terminal input to the input buffer is used, the possibility of packet loss and the terminal of a group that does not cause congestion are also reduced. There is a problem that flow control may be performed.

【0008】図7を用いて具体的に説明する。図7(1)
は図6(2)の構成に特開平9−149065号公報で示
された方式を適用した形態を示している。今、同じグル
ープであって、スイッチングハブSW4のポートP41
に接続された端末DとスイッチングハブSW5のポート
P51に接続された端末Gがそれぞれスイッチングハブ
SW2のポートP22、P23を経由して、スイッチン
グハブSW3に接続された端末Aにパケットを送信した
結果、スイッチングハブSW2のポートP23の入力バ
ッファが閾値を上回り、オーバーフロー通知用パケット
が入力時のパケットの送信元である端末G宛てに送信さ
れたとする。
A specific description will be given with reference to FIG. Fig. 7 (1)
FIG. 6 shows an embodiment in which the system shown in Japanese Patent Application Laid-Open No. 9-149065 is applied to the configuration of FIG. Now, in the same group, the port P41 of the switching hub SW4
The terminal D connected to the switching hub SW5 and the terminal G connected to the port P51 of the switching hub SW5 transmit packets to the terminal A connected to the switching hub SW3 via the ports P22 and P23 of the switching hub SW2, respectively. It is assumed that the input buffer of the port P23 of the switching hub SW2 exceeds the threshold value, and the overflow notification packet is transmitted to the terminal G that is the transmission source of the packet at the time of input.

【0009】スイッチングハブSW5は、このパケット
を受信すると、該当端末Gが接続されるポートP51に
対してポーズパケットを送信する。このような方式によ
り輻輳の原因となった端末Gのみがパケットの送信を停
止することになる。この結果、スイッチングハブSW5
はそのポートP53に接続された端末Iより、スイッチ
ングハブSW4のポートP43に接続された端末F宛て
のパケットをスイッチングハブSW2宛てに送信可能と
なる。
When receiving this packet, the switching hub SW5 transmits a pause packet to the port P51 to which the corresponding terminal G is connected. According to such a method, only the terminal G that has caused the congestion stops transmitting packets. As a result, the switching hub SW5
Allows a terminal I connected to the port P53 to transmit a packet addressed to the terminal F connected to the port P43 of the switching hub SW4 to the switching hub SW2.

【0010】しかし、スイッチングハブSW2のポート
P23の入力バッファがまだ閾値を上回っている場合、
この端末F宛てのパケットを送信してきたグループ#4
の端末I宛て、すなわち直接輻輳と関係のない端末I宛
てにオーバーフロー通知用パケットを送信することにな
る。このように複数のグループを多重したポートの入力
バッファで判断を行う場合、直接輻輳と関係のないLA
Nに属する端末宛てにフロー制御を行う可能性があると
いう問題点がある。
However, if the input buffer at port P23 of switching hub SW2 is still above the threshold,
Group # 4 that has transmitted the packet addressed to terminal F
, The overflow notification packet is transmitted to the terminal I that is not directly related to the congestion. When the determination is made on the input buffer of the port in which a plurality of groups are multiplexed as described above, LA that is not directly related to congestion is used.
There is a problem that there is a possibility that flow control is performed to a terminal belonging to N.

【0011】また図7(2)は、スイッチングハブSW5
の各ポートに同一のグループに属する端末が多数(図で
はG〜M)接続された構成を示している。この場合に
も、スイッチングハブSW5が複数の端末G〜Mからの
パケットをスイッチングハブSW2への送信時、スイッ
チングハブSW2のポートP23の入力バッファが閾値
を上回ると、スイッチングハブSW2は順時、オーバー
フロー通知用パケットを各端末G〜M宛てに送信するこ
とになる。これにより全端末G〜Mが送信を停止するま
でにスイッチングハブSW2が受信したパケットによ
り、スイッチングハブSW2のポートP23の入力バッ
ファはフロー制御を行っているにも拘わらず、オーバー
フローする可能性があるという問題点がある。
FIG. 7B shows the switching hub SW5.
In the figure, a large number (GM in the figure) of terminals belonging to the same group are connected to each port. Also in this case, when the switching hub SW5 transmits packets from the plurality of terminals G to M to the switching hub SW2, if the input buffer of the port P23 of the switching hub SW2 exceeds the threshold, the switching hub SW2 overflows at all times. The notification packet is transmitted to each of the terminals G to M. Thus, the packet received by the switching hub SW2 until all the terminals G to M stop transmitting may cause the input buffer of the port P23 of the switching hub SW2 to overflow despite the flow control being performed. There is a problem.

【0012】本出願人は本発明に先立って上記の問題点
を解決すべく、輻輳時に他のグループに与える影響を極
力少なくし、通信を制限したい機器にのみ送信を制限す
ることができるフロー制御装置を提供することを目的と
して、グループ別の輻輳判断を行い、輻輳と判断された
グループにのみ、輻輳通知パケットを出力するフロー制
御装置を既に開発し特許出願している(特願2000−
358378号)。なお、この出願は平成12年11月
に出願されたものであり、未公開であるので、本発明に
対して従来技術を構成するものではない。
In order to solve the above-mentioned problems prior to the present invention, the present applicant has made it possible to minimize the influence on other groups during congestion, and to limit the transmission to only the equipment whose communication is to be restricted. For the purpose of providing a device, a flow control device that performs congestion determination for each group and outputs a congestion notification packet only to a group determined to be congested has already been developed and a patent application has been filed (Japanese Patent Application No. 2000-210).
358378). This application was filed in November 2000 and has not been published yet, and therefore does not constitute a prior art with respect to the present invention.

【0013】図8は上記特願2000−358378号
に記載されたフロー制御装置のスイッチングハブにおけ
る輻輳通知パケットの動作を示している。今、スイッチ
ングハブのポートよりパケットを入力した場合、出力ポ
ートに設けたグループ別のデータ用バッファ使用量によ
って、輻輳の状態を2段階に判断し、輻輳と判断された
単独の宛先、複数の宛先に対しフロー制御を行う。この
とき、ポートよりデータパケットが出力されていれば、
データパケットが出力された後にデータバッファからの
輻輳情報の順番に輻輳通知パケットを送出する。
FIG. 8 shows the operation of a congestion notification packet in the switching hub of the flow control device described in Japanese Patent Application No. 2000-358378. When a packet is input from a port of the switching hub, the state of congestion is determined in two stages based on the data buffer usage for each group provided in the output port, and a single destination determined to be congested or a plurality of destinations is determined. To the flow control. At this time, if a data packet is output from the port,
After the data packet is output, the congestion notification packets are transmitted in the order of the congestion information from the data buffer.

【0014】しかしながら、上記本出願人の先願にかか
るフロー制御装置における輻輳通知パケットの動作にお
いては、輻輳通知パケットの宛先アドレス又は宛先グル
ープの重複が発生することにより、パケットの伝送帯域
を無駄に使用するという問題があった。また、輻輳通知
用バッファの容量によっては、輻輳通知パケットが溢れ
てしまうという問題も考えられる。
However, in the operation of the congestion notification packet in the flow control device according to the prior application of the present applicant, the destination address or the destination group of the congestion notification packet is duplicated, so that the transmission bandwidth of the packet is wasted. There was a problem of using. There is also a problem that the congestion notification packet overflows depending on the capacity of the congestion notification buffer.

【0015】本発明は、上記本出願人の先願にかかるフ
ロー制御装置の問題を解決するためになされたもので、
輻輳通知パケットの宛先アドレス又は宛先グループの重
複が発生することにより、パケットの伝送帯域を無駄に
使用することがなく、また、輻輳通知用バッファの容量
によっては、輻輳通知パケットが溢れてしまうというこ
とがなく、よって通信トラフィックを低減することので
きるフロー制御装置を提供することを目的とする。
The present invention has been made to solve the problem of the flow control device according to the prior application of the present applicant, and
When the destination address or the destination group of the congestion notification packet is duplicated, the transmission bandwidth of the packet is not wasted, and the congestion notification packet overflows depending on the capacity of the congestion notification buffer. It is therefore an object of the present invention to provide a flow control device which does not have any problem and can reduce communication traffic.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するた
め、本発明では、複数の端末グループをグループ識別子
により多重可能な入力ポート及び出力ポートを有するハ
ブが階層構造で接続されたネットワークにおけるフロー
制御装置において、前記ハブが輻輳情報を格納する優先
順位毎のバッファを有し、輻輳情報をキューイングした
後、輻輳通知パケットを出力する構成とした。この構成
により、輻輳通知パケットの優先順位による出力制限が
可能となり、優先度の高い輻輳パケットから出力するこ
とによって優先度の高い輻輳パケットと宛先アドレスが
重複する優先順位の低い輻輳通知パケットを破棄する確
立が増え、ネットワーク上のトラフィックを低減するこ
とができる。
In order to achieve the above object, the present invention provides a flow control method in a network in which hubs having input ports and output ports capable of multiplexing a plurality of terminal groups by group identifiers are connected in a hierarchical structure. In the apparatus, the hub has a buffer for each priority for storing the congestion information, and outputs a congestion notification packet after queuing the congestion information. With this configuration, it is possible to restrict the output by the priority of the congestion notification packet, and to discard the low priority congestion notification packet in which the destination address overlaps with the high priority congestion packet by outputting from the high priority congestion packet. The probability increases and traffic on the network can be reduced.

【0017】本発明はまた、前記輻輳通知パケットのグ
ループ又は宛先アドレスが、より優先順位の高い輻輳通
知パケットのグループに含まれる場合、該当する輻輳通
知パケットを廃棄することを特徴とする。この構成によ
り、優先順位の高い輻輳通知パケットに含まれる輻輳通
知パケットを廃棄することによってネットワーク上のト
ラフィックが低減し、その分の通信帯域を有効に活用す
ることができる。
The present invention is also characterized in that when the group or the destination address of the congestion notification packet is included in the group of the congestion notification packets having higher priority, the corresponding congestion notification packet is discarded. With this configuration, the traffic on the network is reduced by discarding the congestion notification packet included in the congestion notification packet having the higher priority, and the communication bandwidth corresponding to that can be effectively used.

【0018】本発明はまた、同じ宛先アドレスで第1段
階輻輳通知パケットが複数発生した場合、1つを残して
それ以外は廃棄することを特徴とする。この構成によ
り、ある宛先に対して既に第1段階輻輳通知パケットを
送出した状態で、さらに同じ宛先に対して第1段階輻輳
通知パケットを送出することが無くなり、その分のネッ
トワーク上のトラフィックを低減することができる。
The present invention is also characterized in that, when a plurality of first-stage congestion notification packets are generated at the same destination address, one packet is discarded except for one. With this configuration, in a state where the first-stage congestion notification packet has already been transmitted to a certain destination, the first-stage congestion notification packet is not transmitted to the same destination, thereby reducing the traffic on the network by that amount. can do.

【0019】本発明はまた、同じグループ宛で優先順位
の等しい輻輳通知パケットが複数発生した場合、1つを
残してそれ以外は廃棄することを特徴とする。この構成
により、あるグループに対して既に輻輳通知パケットを
送出した状態で、さらに同じグループ宛に対して優先順
位の等しい輻輳通知パケットを送出することがなくな
り、その分のネットワーク上のトラフィックを低減する
ことができる。
The present invention is also characterized in that, when a plurality of congestion notification packets having the same priority to the same group are generated, one of them is discarded except for one. With this configuration, in a state where a congestion notification packet has already been transmitted to a certain group, a congestion notification packet having the same priority is not transmitted to the same group, and the traffic on the network is reduced accordingly. be able to.

【0020】本発明はまた、第1段階輻輳通知パケット
を受信したハブが、既にバッファにキューイングされて
いる同一宛先アドレスの輻輳通知パケットを検索する機
能を有し、同一宛先の輻輳通知パケットを検索すること
を特徴とする。本発明はまた、既にバッファにキューイ
ングされている前記第1段階輻輳通知パケットと同一宛
先の第1段階輻輳通知パケットが発生した場合、既にバ
ッファにキューイングされている輻輳通知パケットを廃
棄することを特徴とする。この構成により、第1段階輻
輳通知パケットを受信した段階で、既にバッファにキュ
ーイングされている同一アドレスの輻輳通知パケットを
廃棄すれば、その分だけネットワーク上のトラフィック
を低減することができる。
The present invention also has a function in which the hub having received the first-stage congestion notification packet has a function of searching for a congestion notification packet of the same destination address already queued in the buffer, and transmits the congestion notification packet of the same destination. It is characterized by searching. The present invention is also directed to, when a first-stage congestion notification packet having the same destination as the first-stage congestion notification packet already queued in a buffer occurs, discarding the congestion notification packet already queued in the buffer. It is characterized by. With this configuration, when the first-stage congestion notification packet is received and the congestion notification packet of the same address already queued in the buffer is discarded, the traffic on the network can be reduced by that amount.

【0021】本発明はまた、既にバッファにキューイン
グされている前記第1段階輻輳通知パケットと同一宛先
の第1段階輻輳通知パケットが発生した場合、後から発
生した輻輳通知パケットを廃棄することを特徴とする。
この構成により、第1段階輻輳通知パケットを受信した
段階で、後から発生した同一宛先の輻輳通知パケットを
廃棄すれば、その分だけネットワーク上のトラフィック
を低減することができる。
According to the present invention, when a first-stage congestion notification packet having the same destination as the first-stage congestion notification packet already queued in the buffer occurs, the later-generated congestion notification packet is discarded. Features.
With this configuration, when the first-stage congestion notification packet is received, the subsequent congestion notification packet of the same destination generated later is discarded, whereby the traffic on the network can be reduced accordingly.

【0022】本発明はまた、前記第2段階以上の輻輳通
知パケットを受信したハブが、既にバッファにキューイ
ングされている同一グループ宛で優先順位の等しい輻輳
通知パケットを検索する機能を有し、同一グループ宛で
優先順位の等しい輻輳通知パケットを検索することを特
徴とする。本発明はまた、既にバッファにキューイング
されている前記第2段階以上の輻輳通知パケットと、同
一グループ宛で優先順位の等しい輻輳通知パケットが発
生した場合、既にバッファにキューイングされている輻
輳通知パケットを廃棄することを特徴とする。この構成
により、第2段階以上の輻輳通知パケットを受信した段
階で、既にバッファにキューイングされている同一グル
ープ宛で優先順位の等しい輻輳通知パケットを廃棄すれ
ば、その分だけネットワーク上のトラフィックを低減す
ることができる。
The present invention also has a function of, upon receiving the congestion notification packet in the second stage or more, searching for a congestion notification packet having the same priority to the same group already queued in the buffer. It is characterized by searching for congestion notification packets having the same priority to the same group. The present invention is also directed to a congestion notification packet already queued in the buffer when a congestion notification packet of the second or higher level already queued in the buffer and a congestion notification packet of the same priority addressed to the same group occur. The packet is discarded. With this configuration, at the stage where the congestion notification packet of the second stage or more is received, if the congestion notification packet of the same priority destined for the same group already queued in the buffer is discarded, the traffic on the network is reduced by that much. Can be reduced.

【0023】本発明はまた、既にバッファにキューイン
グされている前記第2段階以上の輻輳通知パケットと、
同一グループ宛で優先順位の等しい輻輳通知パケットが
発生した場合、後から発生した輻輳通知パケットを廃棄
することを特徴とする。この構成により、第2段階以上
の輳通知パケットを受信した段階で、後から発生した同
一グループ宛で優先順位の等しい輻輳通知パケットを廃
棄すれば、その分だけネットワーク上のトラフィックを
低減することができる。
[0023] The present invention also relates to a congestion notification packet of the second or more stages already queued in a buffer,
When congestion notification packets having the same priority are generated for the same group, the congestion notification packets generated later are discarded. With this configuration, at the stage where the congestion notification packet of the second stage or more is received, if the congestion notification packet of the same priority that is generated later and destined for the same group is discarded, the traffic on the network can be reduced accordingly. it can.

【0024】本発明はまた、優先順位の異なる輻輳通知
パケットがバッファにキューイングされている場合、優
先順位の高い輻輳通知パケットから順に出力することを
特徴とする。この構成により、優先順位の高い輻輳通知
パケットと宛先アドレスが重複する優先順位の低い輻輳
通知パケットがネットワーク上に出力される頻度が低減
され、ネットワーク上のトラフィックを低減することが
できる。
The present invention is also characterized in that, when congestion notification packets having different priorities are queued in the buffer, the congestion notification packets having higher priorities are output in order. With this configuration, the frequency of outputting a low-priority congestion notification packet in which a destination address overlaps with a high-priority congestion notification packet is reduced on the network, and traffic on the network can be reduced.

【0025】[0025]

【発明の実施の形態】以下、本発明のフロー制御装置の
好ましい実施の形態について、図面を用いて説明する。
図1は、本発明のフロー制御を実現するフロー制御装置
の実施の形態としてのスイッチングハブ10の構成を示
すブロック図である。スイッチングハブ10は、各ポー
トからの入力パケットをスイッチングして出力ポートに
転送するスイッチ処理部12とポート#0〜#n毎のポ
ート制御部14,16…18を有している。各ポート制
御部14,16…18は同一構造であるので、以下ポー
ト制御部14についてのみ説明する。ポート制御部14
は、データ用バッファ部20と、輻輳通知パケット送信
処理部22と送信処理部24により構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a preferred embodiment of a flow control device according to the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration of a switching hub 10 as an embodiment of a flow control device that implements flow control according to the present invention. The switching hub 10 includes a switch processing unit 12 for switching an input packet from each port and transferring the packet to an output port, and port control units 14, 16,... Since the port controllers 14, 16,... 18 have the same structure, only the port controller 14 will be described below. Port control unit 14
Is composed of a data buffer unit 20, a congestion notification packet transmission processing unit 22, and a transmission processing unit 24.

【0026】輻輳通知パケット送信処理部22は図2に
詳しく示すように、輻輳通知用バッファ部26として、
優先順位別の輻輳情報用バッファPri_0、Pri_1、…Pri_
mを有する。なお、符号Pri_0、Pri_1、…Pri_mは、ハー
ドウェアとしての輻輳情報用バッファを示すとともに、
優先順位(プライオリティー)を示している。すなわ
ち、輻輳情報用バッファPri_0が最も優先順位が高く、
輻輳情報用バッファPri_mが最も優先順位が低い。輻輳
通知パケット送信処理部22はまた、この輻輳通知用バ
ッファ部26のパケット出力を制御する輻輳パケット出
力制御部28と、輻輳通知用バッファ部26内の輻輳通
知の宛先を検索する宛先検索部30と、図1の送信処理
部24より送信許可指示のあった場合に輻輳通知パケッ
トを生成する輻輳通知パケット生成部32より構成され
る。
As shown in detail in FIG. 2, the congestion notification packet transmission processing unit 22
Congestion information buffers by priority order Pri_0, Pri_1, ... Pri_
has m. The symbols Pri_0, Pri_1,... Pri_m indicate congestion information buffers as hardware,
Indicates the priority (priority). That is, the congestion information buffer Pri_0 has the highest priority,
The congestion information buffer Pri_m has the lowest priority. The congestion notification packet transmission processing unit 22 also includes a congestion packet output control unit 28 that controls the packet output of the congestion notification buffer unit 26, and a destination search unit 30 that searches for a destination of the congestion notification in the congestion notification buffer unit 26. And a congestion notification packet generation unit 32 that generates a congestion notification packet when a transmission permission instruction is issued from the transmission processing unit 24 in FIG.

【0027】図3は、輻輳通知パケット送信処理部22
の輻輳通知用バッファ部26での処理を示すフローチャ
ートである。まず、データ用バッファ部20からパケッ
トヘッダ情報、受信・送信先情報、輻輳プライオリティ
(優先順位)情報を受信すると(ステップS1)、宛先
検索部30により、輻輳通知用バッファ部26のキュー
の中から同一宛先の輻輳情報を検索する(ステップS
2)。
FIG. 3 shows the congestion notification packet transmission processing unit 22.
6 is a flowchart showing the processing in the congestion notification buffer unit 26 of FIG. First, when packet header information, reception / transmission destination information, and congestion priority (priority) information are received from the data buffer unit 20 (step S1), the destination search unit 30 removes the packet from the queue of the congestion notification buffer unit 26. Search for congestion information of the same destination (step S
2).

【0028】そして、同一宛先の輻輳情報がない場合は
(ステップS2でNO)、受信した情報を輻輳の優先順
位に基づいて輻輳情報用バッファPri_0、Pri_1、…Pri_
mに保存する(ステップS3)。また、同一宛先の輻輳
情報があった場合は(ステップS2でYES)、輻輳の
優先順位を比較し、既にキューにある輻輳情報の優先順
位が、受信した輻輳情報の優先順位以上であるならば
(ステップS4でYES)、受信した情報をキューに保
存せず廃棄する(ステップS5)。既にキューにある輻
輳情報の優先順位が、受信した輻輳情報の優先順位より
低い場合は(ステップS4でNO)、受信した情報を輻
輳の優先順位に基づいて輻輳情報用バッファPri_0、Pri
_1、…Pri_mに保存(ステップS6)した後、既にキュ
ーにある輻輳情報で、受信した情報に含まれている宛先
の輻輳情報をバッファPri_0、Pri_1、…Pri_mから消去
する(ステップS7)。
If there is no congestion information of the same destination (NO in step S2), the received information is transferred to the congestion information buffers Pri_0, Pri_1,.
Stored in m (step S3). If there is congestion information of the same destination (YES in step S2), the priority of congestion is compared, and if the priority of the congestion information already in the queue is equal to or higher than the priority of the received congestion information. (YES in step S4), the received information is discarded without being stored in the queue (step S5). If the priority of the congestion information already in the queue is lower than the priority of the received congestion information (NO in step S4), the received information is stored in the congestion information buffers Pri_0, Pri based on the congestion priority.
,... Pri_m (step S6), and deletes the congestion information of the destination contained in the received information from the buffers Pri_0, Pri_1,.

【0029】この結果、同じ宛先の輻輳情報があった場
合、優先順位の低い輻輳情報は消去され、優先順位の高
い輻輳情報だけがバッファに残るので、バッファ使用量
は低減し、結果として優先順位の低い輻輳通知パケット
の分だけ、伝送帯域を有効に活用できる。
As a result, when there is congestion information of the same destination, the congestion information having a lower priority is deleted, and only the congestion information having a higher priority remains in the buffer. The transmission bandwidth can be effectively used for the congestion notification packet having a low congestion.

【0030】図4は輻輳パケット出力制御部28の処理
を示すフローチャートである。輻輳通知用バッファ部2
6に輻輳情報データがある場合(ステップS8でYE
S)、スイッチングハブの出力ポートに出力中のパケッ
トがあれば(ステップS9でYES)、そのパケットが
出力された後、ただし出力中のパケットがない場合は直
ぐに、輻輳通知用バッファにある輻輳情報を優先順位の
高い順に輻輳通知パケット生成部32に送信する(ステ
ップS10)。
FIG. 4 is a flowchart showing the processing of the congestion packet output control unit 28. Congestion notification buffer 2
6 has congestion information data (YE in step S8)
S) If there is a packet being output to the output port of the switching hub (YES in step S9), immediately after the packet is output, but if there is no packet being output, the congestion information in the congestion notification buffer is immediately stored. Are transmitted to the congestion notification packet generator 32 in descending order of priority (step S10).

【0031】図5は輻輳通知パケット送信処理部22の
動作例を示している。スイッチングハブ10の出力ポー
トにデータが出力されている間に、優先順位Pri_0の輻
輳情報で輻輳通知アドレスの宛先がa宛て、c宛て、b
宛て、a宛て、c宛て、b宛ての順でデータ用バッファ
部20から通知され、更に優先順位Pri_1の輻輳情報で
輻輳通知アドレスの宛先がa及びb宛てであった場合
に、a及びb宛ての第2段階の輻輳通知情報と、c宛て
の第1段階の輻輳通知情報だけが残り、それ以外は廃棄
される。そして、データパケットが出力された後、a及
びb宛ての優先順位Pri_1の輻輳通知パケット、c宛て
の優先順位Pri_0の輻輳通知パケットの順で出力され
る。
FIG. 5 shows an operation example of the congestion notification packet transmission processing unit 22. While data is being output to the output port of the switching hub 10, the congestion notification address destinations are addressed to a, c, and b in the congestion information of the priority order Pri_0.
When the destination of the congestion notification address is notified to the a and the b in the congestion information of the priority order Pri_1, the address is notified to the a and the b. Only the second-stage congestion notification information and the first-stage congestion notification information addressed to c remain, and the others are discarded. Then, after the data packet is output, the packet is output in the order of the congestion notification packet of priority Pri_1 addressed to a and b, and the congestion notification packet of priority Pri_0 addressed to c.

【0032】[0032]

【発明の効果】以上説明したように本発明によれば、前
記輻輳通知パケットを受信したハブが、輻輳情報を格納
する優先順位毎のバッファを有することにより、優先順
位の高い輻輳通知パケットに含まれる輻輳通知パケッ
ト、及び重複する輻輳通知パケットを廃棄することがで
き、その分の通信トラフィックを低減することができ
る。
As described above, according to the present invention, the hub receiving the congestion notification packet has a buffer for each priority for storing the congestion information, so that the hub is included in the congestion notification packet with a high priority. Congestion notification packets and overlapping congestion notification packets can be discarded, and communication traffic can be reduced accordingly.

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

【図1】本発明のフロー制御装置の好ましい実施の形態
の概要を示すブロック図
FIG. 1 is a block diagram showing an outline of a preferred embodiment of a flow control device of the present invention.

【図2】図1の輻輳パケット送信処理部を詳しく示すブ
ロック図
FIG. 2 is a block diagram showing a congested packet transmission processing unit of FIG. 1 in detail;

【図3】図2の輻輳通知用バッファ部の処理を示すフロ
ーチャート
FIG. 3 is a flowchart showing processing of a congestion notification buffer unit in FIG. 2;

【図4】図2の輻輳パケット出力制御部の処理を示すフ
ローチャート
FIG. 4 is a flowchart showing processing of a congestion packet output control unit in FIG. 2;

【図5】図2の輻輳パケット送信処理部の処理を示すフ
ローチャート
FIG. 5 is a flowchart showing processing of a congestion packet transmission processing unit in FIG. 2;

【図6】(1)従来のスイッチングハブにおけるフロー
制御を示す図 (2)図6の(1)の構成で、複数の端末グループを多
重したスイッチングハブが階層構造で接続された場合の
フロー制御を示す図
FIG. 6 (1) Diagram showing flow control in a conventional switching hub. (2) Flow control in a case where switching hubs multiplexing a plurality of terminal groups are connected in a hierarchical structure in the configuration of (1) in FIG. Figure showing

【図7】(1)図6の(2)の構成に特開平9−149
065号公報で示された方式を適用した形態を示す図 (2)図7の(1)の構成において、同一グループに属
する複数の端末が接続された構成を示す図
FIG. 7 (1) Japanese Patent Laid-Open Publication No.
FIG. 1 shows a configuration to which the method disclosed in Japanese Patent Application Publication No. 065 is applied. (2) A configuration in which a plurality of terminals belonging to the same group are connected in the configuration of (1) in FIG.

【図8】本出願人の先願(特願2000−358378
号)に記載されたフロー制御装置のスイッチングハブに
おける輻輳通知パケットの動作を示す図
FIG. 8: Applicant's prior application (Japanese Patent Application No. 2000-358378)
Diagram showing the operation of a congestion notification packet in the switching hub of the flow control device described in FIG.

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

10 スイッチングハブ 12 スイッチ処理部 14、16…18 ポート制御部 20 データ用バッファ部 22 輻輳通知パケット送信処理部 24 送信処理部 26 輻輳通知用バッファ部 28 輻輳パケット出力制御部 30 宛先検索部 32 輻輳通知パケット生成部 Pri_0、Pri_1、…Pri_m 輻輳情報用バッファ(優先順
位を示す)
DESCRIPTION OF SYMBOLS 10 Switching hub 12 Switch processing part 14,16 ... 18 Port control part 20 Data buffer part 22 Congestion notification packet transmission processing part 24 Transmission processing part 26 Congestion notification buffer part 28 Congestion packet output control part 30 Destination search part 32 Congestion notification Packet generator Pri_0, Pri_1, ... Pri_m Congestion information buffer (indicating priority)

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5K030 GA13 HA08 HB13 HC14 LC01 LC11 LC15 MB02 5K033 AA07 CB06 CB17 CC01 DA15 DB02  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5K030 GA13 HA08 HB13 HC14 LC01 LC11 LC15 MB02 5K033 AA07 CB06 CB17 CC01 DA15 DB02

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 複数の端末グループをグループ識別子に
より多重可能な入力ポート及び出力ポートを有するハブ
が階層構造で接続されたネットワークにおけるフロー制
御装置において、前記ハブが輻輳情報を格納する優先順
位毎のバッファを有し、輻輳情報をキューイングした
後、輻輳通知パケットを出力することを特徴とするフロ
ー制御装置。
1. A flow control apparatus in a network in which hubs having input ports and output ports capable of multiplexing a plurality of terminal groups by a group identifier are connected in a hierarchical structure, wherein the hub stores congestion information for each priority. A flow control device having a buffer and outputting a congestion notification packet after queuing congestion information.
【請求項2】 前記ハブにおいて輻輳が発生し、かつ、
既に前記バッファに輻輳情報のデータが存在する場合、
輻輳情報の優先順位及び輻輳を通知する宛先を検索する
機能を有し、また、輻輳情報の優先順位及び輻輳を通知
する宛先を検索することを特徴とする請求項1に記載の
フロー制御装置。
2. A congestion occurs in the hub, and
When the data of the congestion information already exists in the buffer,
The flow control device according to claim 1, further comprising a function of searching for a priority of congestion information and a destination for notifying congestion, and searching for a priority of congestion information and a destination for notifying congestion.
【請求項3】 前記輻輳通知パケットのグループ又は宛
先アドレスが、より優先順位の高い輻輳通知パケットの
グループ又は宛先アドレスに含まれる場合、含まれる側
の輻輳通知パケットを廃棄することを特徴とする請求項
2に記載のフロー制御装置。
3. The method according to claim 1, wherein when the group or the destination address of the congestion notification packet is included in the group or the destination address of the congestion notification packet having a higher priority, the included congestion notification packet is discarded. Item 3. A flow control device according to item 2.
【請求項4】 同じ宛先アドレスで優先順位の最も低い
輻輳通知パケットが複数発生した場合、一つを残してそ
れ以外は廃棄することを特徴とする請求項3に記載のフ
ロー制御装置。
4. The flow control device according to claim 3, wherein when a plurality of congestion notification packets having the lowest priority at the same destination address occur, one packet is discarded except for one.
【請求項5】 同じグループ宛で優先順位の等しい輻輳
通知パケットが複数発生した場合、一つを残してそれ以
外は廃棄することを特徴とする請求項3に記載のフロー
制御装置。
5. The flow control device according to claim 3, wherein, when a plurality of congestion notification packets having the same priority order are generated for the same group, all but one of them are discarded.
【請求項6】 既にバッファにキューイングされている
優先順位が最下位である前記輻輳通知パケットと同一宛
先、かつ、優先順位が最下位の輻輳通知パケットが発生
した場合、既にバッファにキューイングされている輻輳
通知パケットを廃棄することを特徴とする請求項4に記
載のフロー制御装置。
6. When a congestion notification packet having the same priority as the congestion notification packet having the lowest priority already queued in the buffer and having the lowest priority occurs, the packet is already queued in the buffer. The flow control device according to claim 4, wherein the congestion notification packet is discarded.
【請求項7】 既にバッファにキューイングされている
優先順位が最下位である前記輻輳通知パケットと同一宛
先、かつ、優先順位が最下位の輻輳通知パケットが発生
した場合、後から発生した輻輳通知パケットを廃棄する
ことを特徴とする請求項4に記載のフロー制御装置。
7. When a congestion notification packet having the same priority as the congestion notification packet already queued in the buffer and having the lowest priority and having the lowest priority is generated, a congestion notification generated later is generated. The flow control device according to claim 4, wherein the packet is discarded.
【請求項8】 既にバッファにキューイングされている
優先順位が最下位以外の前記輻輳通知パケットと同一グ
ループ宛、かつ、優先順位の等しい輻輳通知パケットが
発生した場合、既にバッファにキューイングされている
輻輳通知パケットを廃棄することを特徴とする請求項5
に記載のフロー制御装置。
8. When a congestion notification packet having the same priority as the congestion notification packet having the same priority as the congestion notification packet other than the lowest priority already queued in the buffer occurs, the packet is already queued in the buffer. 6. The method according to claim 5, wherein the congestion notification packet is discarded.
3. The flow control device according to claim 1.
【請求項9】 既にバッファにキューイングされている
優先順位が最下位以外の前記輻輳通知パケットと同一グ
ループ宛、かつ、優先順位の等しい輻輳通知パケットが
発生した場合、後から発生した輻輳通知パケットを廃棄
することを特徴とする請求項5に記載のフロー制御装
置。
9. A congestion notification packet generated later when a congestion notification packet having the same priority as the congestion notification packet having the same priority as the congestion notification packet other than the lowest priority queued in the buffer is generated. The flow control device according to claim 5, wherein is discarded.
【請求項10】 優先順位の異なる輻輳通知パケットが
バッファにキューイングされている場合、優先順位の高
い輻輳通知パケットから順に出力することを特徴とする
請求項1に記載のフロー制御装置。
10. The flow control device according to claim 1, wherein when congestion notification packets having different priorities are queued in the buffer, the congestion notification packets having higher priorities are sequentially output.
JP2001114650A 2001-04-12 2001-04-12 Flow controller Withdrawn JP2002314562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001114650A JP2002314562A (en) 2001-04-12 2001-04-12 Flow controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001114650A JP2002314562A (en) 2001-04-12 2001-04-12 Flow controller

Publications (1)

Publication Number Publication Date
JP2002314562A true JP2002314562A (en) 2002-10-25

Family

ID=18965680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001114650A Withdrawn JP2002314562A (en) 2001-04-12 2001-04-12 Flow controller

Country Status (1)

Country Link
JP (1) JP2002314562A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11201822B2 (en) 2017-02-21 2021-12-14 Nec Corporation Switch, switch controlling method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11201822B2 (en) 2017-02-21 2021-12-14 Nec Corporation Switch, switch controlling method, and program

Similar Documents

Publication Publication Date Title
US9094327B2 (en) Prioritization and preemption of data frames over a switching fabric
AU2003291743B2 (en) Apparatus and method for distributing buffer status information in a switching fabric
EP0981878B1 (en) Fair and efficient scheduling of variable-size data packets in an input-buffered multipoint switch
US6185221B1 (en) Method and apparatus for fair and efficient scheduling of variable-size data packets in an input-buffered multipoint switch
US7023841B2 (en) Three-stage switch fabric with buffered crossbar devices
US7352695B2 (en) Switch and a switching method
EP2050199B1 (en) Expedited communication traffic handling apparatus and methods
JP2004509512A (en) System and method for controlling multicast traffic in a data packet switch
WO2010007339A1 (en) Switching device
US7701949B1 (en) System and method for switching high priority traffic with low latency
US6574232B1 (en) Crossbar switch utilizing broadcast buffer and associated broadcast buffer management unit
EP0492972A2 (en) Serial link communication systems
US20030002517A1 (en) Communications apparatus and communications control method
US20030099242A1 (en) Switch fabric capable of aggregating multiple chips and links for high bandwidth operation
EP1521411B1 (en) Method and apparatus for request/grant priority scheduling
JP2002314562A (en) Flow controller
US6643702B1 (en) Traffic scheduler for a first tier switch of a two tier switch
JP3543725B2 (en) Packet switching device and packet switching method
JP2007325178A (en) Packet processing system, packet processing method and program
CN113422741B (en) Time-triggered Ethernet switch structure
JP5617625B2 (en) Data relay apparatus and communication priority control method
JPH1168787A (en) Packet scheduling method
JPH07123101A (en) Atm multiplexer
JP2002026982A (en) Packet switch
JP2005278204A (en) Variable length packet communication device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080701