JP2012120015A - Switching hub - Google Patents

Switching hub Download PDF

Info

Publication number
JP2012120015A
JP2012120015A JP2010269079A JP2010269079A JP2012120015A JP 2012120015 A JP2012120015 A JP 2012120015A JP 2010269079 A JP2010269079 A JP 2010269079A JP 2010269079 A JP2010269079 A JP 2010269079A JP 2012120015 A JP2012120015 A JP 2012120015A
Authority
JP
Japan
Prior art keywords
frame
flooding
priority
switching hub
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010269079A
Other languages
Japanese (ja)
Other versions
JP5556631B2 (en
Inventor
Koji Haga
功治 芳賀
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable 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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP2010269079A priority Critical patent/JP5556631B2/en
Publication of JP2012120015A publication Critical patent/JP2012120015A/en
Application granted granted Critical
Publication of JP5556631B2 publication Critical patent/JP5556631B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique that prevents discarding of a flooding frame and suppresses load due to the flooding frame.SOLUTION: A reception control part 4 of a switching hub 1 stores a value of inner priority registered in a priority table 14a in a tag and gives the value to a received frame in an inner priority setting part 14. A measurement part 8 measures a transfer amount in the process of transferring of a flooding frame to an inner priority change part 10. In addition, a prescribed reference value is set to the measurement part 8 beforehand, and a value of priority that is given to the flooding frame is reduced for the inner priority change part 10 when the transfer amount exceeds the reference value. A transmission control part 12 transmits a frame in order of a frame that is waiting in a queue of which a value of the inner priority is higher.

Description

本発明は、フラッディングによる負荷を抑制しつつフレームを中継するスイッチングハブに関するものである。   The present invention relates to a switching hub that relays frames while suppressing a load caused by flooding.

レイヤ2(データリンク層)でフレームを中継するスイッチングハブに関して、受信したフレームが、宛先アドレスがブロードキャストアドレス、マルチキャストアドレス、又は宛先不明のユニキャストアドレスを示すフラッディングフレームである場合、フレームを受信したポート以外の複数のポートから一斉に送信(フラッディング)することが一般に知られている。   For switching hubs that relay frames at Layer 2 (data link layer), if the received frame is a flooded frame whose destination address indicates a broadcast address, multicast address, or unknown unicast address, the port that received the frame It is generally known that transmission (flooding) is simultaneously performed from a plurality of other ports.

複数のスイッチングハブにより構成されたネットワークにおいて、例えば、あるスイッチングハブの故障によってフラッディングフレームが大量に送信された場合、スイッチングハブ間の通信帯域がフラッディングフレームによって圧迫されるという問題がある。   In a network composed of a plurality of switching hubs, for example, when a large number of flooding frames are transmitted due to a failure of a certain switching hub, there is a problem that a communication band between the switching hubs is compressed by the flooding frames.

これに対して、スイッチングハブにブロードキャストフレームの設定負荷値が予め規定され、ブロードキャストフレームの負荷が設定基準値を超えるとスイッチングハブがブロードキャストフレームを破棄する先行技術が知られている(例えば、特許文献1参照。)。   On the other hand, a prior art is known in which a setting load value of a broadcast frame is defined in advance in the switching hub, and the switching hub discards the broadcast frame when the load of the broadcast frame exceeds a set reference value (for example, Patent Documents). 1).

特開2000−101629号公報JP 2000-101629 A

しかしながら、上記の先行技術において、破棄されるフラッディングフレームの中には、本来転送しなければならないフレームが含まれており、そのようなフレームも含めて破棄されてしまう可能性がある。   However, in the above-described prior art, the discarded flooding frame includes a frame that should be transferred originally, and such a frame may be discarded.

そこで本発明は、フラッディングフレームの破棄を防ぎながらフラッディングフレームによる負荷を抑制する技術の提供を課題とする。   Therefore, an object of the present invention is to provide a technique for suppressing a load caused by a flooding frame while preventing the flooding frame from being discarded.

上記の課題を解決するために本発明のスイッチングハブは、フレームを中継するスイッチングハブであって、所定の基準値を設定する設定手段と、フレームを受信した場合、これが宛先の特定されたユニキャストフレーム以外のフラッディングフレームであるか否かを判別する判別手段と、受信したフレームを転送する過程で、フレームの転送量を測定する測定手段と、測定手段により測定されたフレームの転送量が基準値を超えた場合、判別手段によりフラッディングフレームであると判別されたフレームに対して、フレームの転送順序に関する優先度を下げる優先度変更手段とを備える。   In order to solve the above problems, a switching hub of the present invention is a switching hub that relays a frame, and a setting unit that sets a predetermined reference value, and when a frame is received, this is a unicast in which a destination is specified. A discriminating unit for discriminating whether or not the frame is a flooding frame other than a frame, a measuring unit for measuring a frame transfer amount in the process of transferring a received frame, and a frame transfer amount measured by the measuring unit And a priority changing unit that lowers the priority of the frame transfer order with respect to the frame determined to be a flooding frame by the determining unit.

本発明のスイッチングハブによれば、フラッディングフレームの破棄を防ぎながら、フラッディングフレームによる負荷を抑制することができる。   According to the switching hub of the present invention, the load caused by the flooding frame can be suppressed while preventing the flooding frame from being discarded.

第1実施形態のスイッチングハブの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of the switching hub of 1st Embodiment. 受信制御部における優先度テーブルを概略的に示す表である。It is a table | surface which shows schematically the priority table in a reception control part. 受信制御部、測定部、内部優先度変更部におけるフレームの転送処理を概略的に示す図である。It is a figure which shows roughly the transfer process of the frame in a reception control part, a measurement part, and an internal priority change part. 送信制御部におけるフレームの転送処理を概略的に示す図である。It is a figure which shows roughly the transfer process of the frame in a transmission control part. 測定部により測定したフラッディングフレームの転送量がフレームの最大転送量を占める割合を概略的に示すグラフである。It is a graph which shows roughly the ratio for which the transfer amount of the flooding frame measured by the measurement part occupies the maximum transfer amount of a frame. スイッチングハブによるフレームの転送処理を示すフローチャートである。It is a flowchart which shows the transfer process of the flame | frame by a switching hub. 第2実施形態におけるスイッチングハブの機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of the switching hub in 2nd Embodiment. 第3実施形態におけるスイッチングハブの機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of the switching hub in 3rd Embodiment. 第4実施形態のスイッチングハブにおける送信制御部の構成を概略的に示す図である。It is a figure which shows roughly the structure of the transmission control part in the switching hub of 4th Embodiment. 第5実施形態のスイッチングハブにおける送信制御部の構成を概略的に示す図である。It is a figure which shows roughly the structure of the transmission control part in the switching hub of 5th Embodiment.

以下、本発明の実施形態について図面を参照しながら説明する。また、本実施形態のスイッチングハブは、OSI(Open Systems Interconnection)参照モデルのレイヤ2及びレイヤ3等のデータ転送機能を備えており、一般的なスイッチングハブと同様にフレームの中継を行う。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Also, the switching hub of this embodiment has data transfer functions such as OSI (Open Systems Interconnection) reference model layer 2 and layer 3 and relays frames in the same way as a general switching hub.

〔第1実施形態〕
図1は、第1実施形態のスイッチングハブ1の機能的な構成を示すブロック図である。なお、図1中に示す実線の矢印はフレームの転送方向を表している。また点線の矢印は、各構成により送信される信号の送信方向を表している。
[First Embodiment]
FIG. 1 is a block diagram showing a functional configuration of the switching hub 1 of the first embodiment. A solid arrow in FIG. 1 represents the frame transfer direction. A dotted arrow indicates a transmission direction of a signal transmitted by each configuration.

スイッチングハブ1は、複数のポート2、受信制御部4、FDB(Forwarding DataBase)6、測定部8、内部優先度変更部10、及び送信制御部12を備えている。   The switching hub 1 includes a plurality of ports 2, a reception control unit 4, an FDB (Forwarding DataBase) 6, a measurement unit 8, an internal priority change unit 10, and a transmission control unit 12.

複数のポート2は、図示しない他のスイッチングハブやネットワーク機器に接続されており、各スイッチングハブやネットワーク機器から送信されたフレームを受信すると、これを受信制御部4へ転送する。また、送信制御部12から転送されたフレームを上記のスイッチングハブやネットワーク機器へ送信する。   The plurality of ports 2 are connected to other switching hubs and network devices (not shown). When a frame transmitted from each switching hub or network device is received, it is transferred to the reception control unit 4. In addition, the frame transferred from the transmission control unit 12 is transmitted to the switching hub and the network device.

受信制御部4は、内部優先度設定部14を備えている。受信制御部4は、一般的なスイッチングハブと同様に受信したフレームの転送処理を行なう。また、内部優先度設定部14は、ポート2から転送されたフレームに対して、フレームの転送順序に関する内部優先度の値を格納したタグを新たにフレームに付加する。   The reception control unit 4 includes an internal priority setting unit 14. The reception control unit 4 performs transfer processing of received frames in the same manner as a general switching hub. In addition, the internal priority setting unit 14 newly adds a tag storing an internal priority value related to the frame transfer order to the frame transferred from the port 2 to the frame.

また、内部優先度設定部14には、優先度テーブル14aが備えられており、この優先度テーブル14aには、例えば、IEEE(Institute of Electrical and Electronics Engineers)802.1PやIEEE802.1Q等の通信規格に準拠したQoS(Quality of Service)に規定されている優先制御や帯域制御を実行するための優先度を示す値と、これに対応する内部優先度を示す値とが相互に対応して登録されている。   The internal priority setting unit 14 includes a priority table 14a. The priority table 14a includes, for example, IEEE (Institut of Electrical and Electronics Engineers) 802.1P, IEEE802.1Q, and the like. A value indicating the priority for executing priority control and bandwidth control specified in QoS (Quality of Service) conforming to the standard, and a value indicating the internal priority corresponding thereto are registered in correspondence with each other. Has been.

内部優先度設定部14は、受信したフレームが、例えば、MAC(Media Access Control)フレームの場合、MACフレーム内のC−TAG(Customer−vlan TAG)及びS−TAG(Service−vlan TAG)の領域を参照し、これらに格納されている優先度の値を特定する。また、内部優先度設定部14は、受信したフレームが、MAC−in−MAC形式のフレームの場合、このフレーム内の、I−TAG(Service Instance−TAG)、又はB−TAG(Backbone−TAG)等の領域を参照し、これらに格納されている優先度の値を特定する。次に、内部優先度設定部14は、特定した優先度の値と一致する優先度テーブル14a内の優先度の値及びこれに対応して登録されている内部優先度の値を特定し、この内部優先度の値を格納したタグをフレームに付加する。   When the received frame is, for example, a MAC (Media Access Control) frame, the internal priority setting unit 14 is an area of C-TAG (Customer-vlan TAG) and S-TAG (Service-vlan TAG) in the MAC frame. The priority value stored in these is specified. Further, when the received frame is a MAC-in-MAC format frame, the internal priority setting unit 14 includes an I-TAG (Service Instance-TAG) or a B-TAG (Backbone-TAG) in the frame. The priority values stored in these areas are specified. Next, the internal priority setting unit 14 specifies the priority value in the priority table 14a that matches the specified priority value, and the internal priority value registered corresponding to the priority value. A tag storing the internal priority value is added to the frame.

また、受信制御部4は、ポート2からフレームを受信すると、FDB6で学習された情報を参照しつつこれを転送する。例えば、受信したフレームの宛先情報が、特定の端末機器やサーバ等に割り当てられたMACアドレスを示すユニキャストアドレスである場合、受信制御部4は、FDB6を参照して上記のユニキャストアドレスと一致するアドレスを特定する。そして受信制御部4は、FDB6に上記のユニキャストアドレスと一致するアドレスが登録されている場合、これを送信制御部12へ転送する。そして送信制御部12は、このフレームを単一のポート2から送信する。   Further, when receiving a frame from the port 2, the reception control unit 4 transfers the frame while referring to the information learned by the FDB 6. For example, when the destination information of the received frame is a unicast address indicating a MAC address assigned to a specific terminal device or server, the reception control unit 4 refers to the FDB 6 and matches the above unicast address. Specify the address to be used. Then, when an address that matches the unicast address is registered in the FDB 6, the reception control unit 4 transfers this to the transmission control unit 12. Then, the transmission control unit 12 transmits this frame from the single port 2.

一方、上記のユニキャストアドレスがFDB6に登録されていない場合、もしくは、宛先情報がブロードキャストアドレス又はマルチキャストアドレスを示す場合、すなわち、FDB6を参照して宛先情報が特定されたユニキャストフレーム以外のフレーム(以下、「フラッディングフレーム」と称する。)である場合、受信制御部4は、このフラッディングフレームを測定部8へ転送する。なお、受信制御部4で実行される処理については、図2,図3、及び図5を用いてさらに詳しく後述する。   On the other hand, when the unicast address is not registered in the FDB 6 or when the destination information indicates a broadcast address or a multicast address, that is, a frame other than the unicast frame whose destination information is specified with reference to the FDB 6 ( Hereinafter, in the case of “flooding frame”, the reception control unit 4 transfers the flooding frame to the measurement unit 8. Note that the processing executed by the reception control unit 4 will be described in more detail later with reference to FIGS. 2, 3, and 5.

測定部8は、受信制御部4から転送された上記のフラッディングフレームを内部優先度変更部10へ転送する。また測定部8は、フラッディングフレームを内部優先度変更部10へ転送する過程で、フラッディングフレームの転送量を測定する。   The measuring unit 8 transfers the flooding frame transferred from the reception control unit 4 to the internal priority changing unit 10. The measuring unit 8 measures the transfer amount of the flooding frame in the process of transferring the flooding frame to the internal priority changing unit 10.

また、本実施形態では、測定部8を基準値の設定手段としても機能させることができる。すなわち、測定部8には、スイッチングハブ1におけるフレームの最大転送量(通信帯域)に対する所定の割合を示す基準値が予め設定されている。例えば、「フレームの最大転送量に対する所定の割合」として、フラッディングフレームの転送量がフレームの最大転送量を占める割合を用いることができる。基準値は、例えば、スイッチングハブ1を管理する管理者や作業者等により設定される。また上記の作業者等は、複数の基準値を設定することができる。このとき、測定部8は、各基準値に応じて内部優先度変更部10又は送信制御部12に対してそれぞれで実行させる処理を指示する。なお、この測定部8で実行される処理については、図3、図5、及び図6を用いてさらに詳しく後述する。   In the present embodiment, the measurement unit 8 can also function as a reference value setting unit. That is, a reference value indicating a predetermined ratio with respect to the maximum frame transfer amount (communication band) in the switching hub 1 is preset in the measurement unit 8. For example, as the “predetermined ratio with respect to the maximum frame transfer amount”, the ratio of the flooded frame transfer amount to the maximum frame transfer amount can be used. The reference value is set by, for example, an administrator or an operator who manages the switching hub 1. In addition, the above-described worker or the like can set a plurality of reference values. At this time, the measuring unit 8 instructs the internal priority changing unit 10 or the transmission control unit 12 to execute the processing according to each reference value. The processing executed by the measuring unit 8 will be described in more detail later with reference to FIGS. 3, 5, and 6.

内部優先度変更手段としての内部優先度変更部10は、測定部8から転送されたフラッディングフレームを送信制御部12へ転送する。また、内部優先度変更部10は、測定部8からフレームのタグに格納された内部優先度の値を低下させる旨の信号を受信した場合、受信したフラッディングフレームを送信制御部12へ転送する過程で、これに付加された内部優先度の値を下げる。具体的には、内部優先度変更部10は、受信したフレームに付加されている内部優先度の値に対してこの値よりも低い値に書き換える。   The internal priority changing unit 10 as an internal priority changing unit transfers the flooding frame transferred from the measuring unit 8 to the transmission control unit 12. When the internal priority changing unit 10 receives a signal indicating that the internal priority value stored in the tag of the frame is reduced from the measuring unit 8, the internal priority changing unit 10 transfers the received flooding frame to the transmission control unit 12. Then, the value of the internal priority added to this is lowered. Specifically, the internal priority changing unit 10 rewrites the internal priority value added to the received frame to a value lower than this value.

送信制御部12は、複数の内部優先度のキューを備えており、受信制御部4及び内部優先度変更部10から転送されたフレームを各内部優先度のキューに一時的に待機(バッファ)させておく。また、各内部優先度キューは、内部優先度ごとにそれぞれの値が割り当てられており、受信制御部4及び内部優先度変更部10から転送されたフレームは、フレームに付加されたタグ(内部優先度の値)に基づいて各内部優先度キューへ振り分けられる。   The transmission control unit 12 includes a plurality of internal priority queues, and temporarily waits (buffers) the frames transferred from the reception control unit 4 and the internal priority change unit 10 in the internal priority queues. Keep it. Each internal priority queue is assigned a value for each internal priority, and the frames transferred from the reception control unit 4 and the internal priority change unit 10 are tagged with a tag (internal priority). Is assigned to each internal priority queue based on the degree value).

また、送信制御部12は、例えば上記のQoSに規定された優先制御及び帯域制御に基づく所定のスケジューリング方式により、各内部優先度のキューに待機させたフレームを内部優先度の値が高い順に、ポート2から送信する。このとき、送信制御部12は、内部優先度設定部14によりフレームに付加されたタグを外したうえで送信する。なお、送信制御部12で実行される処理については図4〜8を用いてさらに詳しく後述する。   In addition, the transmission control unit 12 uses, for example, a predetermined scheduling scheme based on the priority control and bandwidth control specified in the above-described QoS, and frames that have been queued in each internal priority queue in descending order of the internal priority value. Send from port 2. At this time, the transmission control unit 12 performs transmission after removing the tag added to the frame by the internal priority setting unit 14. Note that the processing executed by the transmission control unit 12 will be described in more detail later with reference to FIGS.

図2は、受信制御部4における優先度テーブル14aを概略的に示す表である。例えば、ネットワークを利用するユーザと、このネットワークを提供する通信事業者との間でQoSが規定される。このQoSの規定に基づいて、ユーザは所定の通信帯域内で送受信される各種のデータに対して予め優先度を決定する。これに対して、ネットワークを提供する通信事業者は、上記の優先度に対応する内部優先度を規定し、優先度と内部優先度とを相互に対応させて優先度テーブル14aに登録する。   FIG. 2 is a table schematically showing the priority table 14 a in the reception control unit 4. For example, QoS is defined between a user who uses a network and a telecommunications carrier that provides the network. Based on this QoS rule, the user determines priorities for various data transmitted and received within a predetermined communication band. In contrast, a telecommunications carrier that provides a network defines internal priorities corresponding to the above priorities, and registers the priorities and internal priorities in the priority table 14a in association with each other.

図2中、左右の列には、それぞれ「優先度」の欄、及び「内部優先度」の欄が設けられている。左側の列に配置された「優先度」の欄には、上記のC−TAGやS−TAG領域等に規定された優先度の値が示されている。「優先度」の欄に示す「0」から「7」の値は、その値が大きくなるにつれてフレームの転送に関する優先度が上がり、値が小さくなるにつれてフレームの転送に関する優先度が下がる。また、「優先度」の欄に示す斜線は、受信したフレームに優先度が規定されていない場合を示している。   In FIG. 2, the “priority” column and the “internal priority” column are provided in the left and right columns, respectively. In the “priority” column arranged in the left column, the priority values defined in the C-TAG, S-TAG area, and the like are shown. As for the value from “0” to “7” shown in the “priority” column, the priority for frame transfer increases as the value increases, and the priority for frame transfer decreases as the value decreases. Also, the diagonal lines in the “priority” column indicate the case where the priority is not defined for the received frame.

また、右側の列に配置された「内部優先度」の欄には、内部優先度の値が示されている。「内部優先度」の欄に示す「0」から「n」の値は、「優先度」の欄に示す「斜線」及び「0」から「7」の値にそれぞれ対応している。   In the column of “internal priority” arranged in the right column, the value of internal priority is shown. The values “0” to “n” shown in the “internal priority” column correspond to the “slashed lines” and “0” to “7” values shown in the “priority” column, respectively.

例えば、スイッチングハブ1において受信したフレームに格納された優先度の値が「6」や「7」である場合、内部優先度設定部14では、それらに対応する内部優先度「n」をタグに格納してこれをフレームに付加する。また、受信したフレームに優先度が規定されていない場合(「優先度」の欄に示す「斜線」)、内部優先度設定部14は、それに対応する内部優先度の値「1」又は「0」をタグに格納してこれをフレームに付加する。なお、図2中では内部優先度の最も高い値を「n」として便宜的に示しているが、任意の整数であってもよい。   For example, when the priority value stored in the frame received by the switching hub 1 is “6” or “7”, the internal priority setting unit 14 uses the internal priority “n” corresponding to the tag as a tag. Store and add this to the frame. When the priority is not defined for the received frame (“slashed line” in the “priority” column), the internal priority setting unit 14 sets the corresponding internal priority value “1” or “0”. "Is stored in the tag and added to the frame. In FIG. 2, the highest internal priority value is indicated as “n” for convenience, but it may be an arbitrary integer.

図3は、受信制御部4、測定部8、内部優先度変更部10におけるフレームの転送処理を概略的に示す図である。また、図4は、送信制御部12におけるフレームの転送処理を概略的に示す図である。なお、図3、4中に示す四角で囲った「UC」及び「FD」はそれぞれ、宛先が特定されたユニキャストフレーム、及びフラッディングフレームを表している。また、(n)、(n−1)、(1)、及び(0)の値は、「UC」及び「FD」にそれぞれ付加された内部優先度の値を便宜的に表している。また図3中に、実線で示す矢印は、フレームが転送される方向を表している。   FIG. 3 is a diagram schematically showing frame transfer processing in the reception control unit 4, the measurement unit 8, and the internal priority change unit 10. FIG. 4 is a diagram schematically showing frame transfer processing in the transmission control unit 12. Note that “UC” and “FD” surrounded by squares in FIGS. 3 and 4 respectively represent a unicast frame and a flooding frame whose destination is specified. Also, the values of (n), (n−1), (1), and (0) represent the internal priority values added to “UC” and “FD” for convenience. In FIG. 3, an arrow indicated by a solid line represents a direction in which the frame is transferred.

受信制御部4の内部優先度設定部14は、ポート2からフレームが転送されると、優先度テーブル14aを参照してフレームの優先度に対応する内部優先度の値を格納したタグをフレームに付加する。   When the frame is transferred from the port 2, the internal priority setting unit 14 of the reception control unit 4 refers to the priority table 14a and stores the tag storing the internal priority value corresponding to the frame priority. Append.

また、判別手段として機能する受信制御部4は、FDB6を参照して受信したフレームの宛先情報及び転送先のポート2を特定する。このとき、フレームの宛先情報がFDB6に登録されており、かつ、転送先のポート2が特定されたユニキャストフレーム(UC)を示す場合、受信制御部4は、フレームを送信制御部12へ転送する。一方、フレームの宛先情報が上記のユニキャストフレーム以外のフラッディングフレーム(FD)を示す場合、受信制御部4は、フレームを測定部8へ転送する。   Further, the reception control unit 4 functioning as a determination unit specifies the destination information of the received frame and the transfer destination port 2 with reference to the FDB 6. At this time, if the destination information of the frame is registered in the FDB 6 and the transfer destination port 2 indicates the specified unicast frame (UC), the reception control unit 4 transfers the frame to the transmission control unit 12. To do. On the other hand, when the destination information of the frame indicates a flooding frame (FD) other than the unicast frame, the reception control unit 4 transfers the frame to the measurement unit 8.

測定手段として機能する測定部8は、受信制御部4から転送されたフラッディングフレームを内部優先度変更部10へ転送する過程で、フラッディングフレームの転送量を測定する。測定部8は、測定しているフラッディングフレームの転送量が、予め設定された基準値を超えた場合、内部優先度変更部10に対して、フレームに付加された内部優先度の値を低下させる旨の信号を送る。   The measuring unit 8 functioning as a measuring unit measures the transfer amount of the flooding frame in the process of transferring the flooding frame transferred from the reception control unit 4 to the internal priority changing unit 10. When the transfer amount of the flooding frame being measured exceeds a preset reference value, the measurement unit 8 causes the internal priority changing unit 10 to decrease the internal priority value added to the frame. Send a signal to that effect.

内部優先度変更部10は、測定部8から転送されたフラッディングフレームを送信制御部12へ転送する。また、内部優先度変更部10は優先度変更手段としても機能し、測定部8から上記の信号を受信した場合、測定部8から転送されたフラッディングフレームに対して、これに付加された内部優先度の値(「n」や「n−1」)を、これよりも低い値(例えば「0」や「1」)に書き換えて、送信制御部12へ転送する。   The internal priority changing unit 10 transfers the flooding frame transferred from the measuring unit 8 to the transmission control unit 12. The internal priority changing unit 10 also functions as a priority changing unit. When the above signal is received from the measuring unit 8, the internal priority added to the flooded frame transferred from the measuring unit 8 is added. The degree value (“n” or “n−1”) is rewritten to a lower value (for example, “0” or “1”) and transferred to the transmission control unit 12.

図4中に示す送信制御部12は、受信制御部4及び内部優先度変更部10から転送されたユニキャストフレーム及びフラッディングフレームをこれらに付加された内部優先度の値に基づいて各内部優先度のキューへ振り分ける。各内部優先度のキューへ振り分けられたフレームは、ここで一時的に待機させられる。   The transmission control unit 12 shown in FIG. 4 uses the unicast frame and flooding frame transferred from the reception control unit 4 and the internal priority change unit 10 based on the internal priority value added to them. To the queue. The frames distributed to the queues having the internal priorities are temporarily held here.

また、送信制御部12は各内部優先度のキューで待機させているフレームを所定のスケジューリング方式によりポート2から送信する。例えば、送信制御部12は、図4中に示す「内部優先度nのキュー」で待機させているユニキャストフレーム及びフラッディングフレームを送信し、次に「内部優先度n−1」で待機させているユニキャストフレーム及びフラッディングフレームを送信する。   Further, the transmission control unit 12 transmits a frame waiting in each internal priority queue from the port 2 by a predetermined scheduling method. For example, the transmission control unit 12 transmits the unicast frame and the flooding frame that are waiting in the “queue with the internal priority n” illustrated in FIG. 4, and then waits at the “internal priority n−1”. Unicast frame and flooding frame are transmitted.

図5は、測定部8により測定したフラッディングフレームの転送量がフレームの最大転送量を占める割合を概略的に示すグラフである。第1実施形態のスイッチングハブ1は、測定部8に複数の基準値を設定することができる。また、測定部8は、基準値に応じて内部優先度変更部10又は送信制御部12に対してそれぞれで実行させる処理を指示する。   FIG. 5 is a graph schematically showing the ratio of the flooding frame transfer amount measured by the measurement unit 8 to the maximum frame transfer amount. The switching hub 1 of the first embodiment can set a plurality of reference values in the measurement unit 8. In addition, the measurement unit 8 instructs the internal priority changing unit 10 or the transmission control unit 12 to execute the process according to the reference value.

図5中に示すグラフにおいて、Y軸は、フラッディングフレームの転送量がフレームの最大転送量を占める割合を示している。また、X軸は時間を表している。実線で示すグラフは、フレームの最大転送量に対して所定の時間において測定部8で測定されたフラッディングフレームの転送量が占める割合を表している。   In the graph shown in FIG. 5, the Y axis indicates the ratio of the flooded frame transfer amount to the maximum frame transfer amount. The X axis represents time. A graph indicated by a solid line represents a ratio of the flooding frame transfer amount measured by the measurement unit 8 in a predetermined time to the maximum frame transfer amount.

Y軸に示す「基準値A」及び「基準値B」は、測定部8により測定したフラッディングフレームの転送量がフレームの最大転送量を占める割合を示している。「基準値A」及び「基準値B」は、予めスイッチングハブ1を管理する作業者や管理者などによって自由に設定することができる。ここでは、一例として「基準値A」を示す割合を60%とし、「基準値B」示す割合を80%として規定している。また、X軸方向に示す3本の点線は、それぞれ「基準値A」、「基準値B」、及び100%を示している。   The “reference value A” and “reference value B” shown on the Y axis indicate the ratio of the flooding frame transfer amount measured by the measuring unit 8 to the maximum frame transfer amount. “Reference value A” and “reference value B” can be freely set in advance by an operator or administrator who manages the switching hub 1 in advance. Here, as an example, the ratio indicating “reference value A” is defined as 60%, and the ratio indicating “reference value B” is defined as 80%. The three dotted lines shown in the X-axis direction indicate “reference value A”, “reference value B”, and 100%, respectively.

例えば、図5中に示す任意の時間Aにおいて、フレームの最大転送量に対して測定部8で測定されたフラッディングフレームの転送量が占める割合は、基準値Aよりも多く、基準値Bよりも少ない。このとき、測定部8は、内部優先度変更部10に対してフラッディングフレームに付加された内部優先度の値を低下させる旨の信号を送る。この信号を受信した内部優先度変更部10は、測定部8から転送されたフラッディングフレームに付加されているタグに格納された内部優先度の値を下げる。   For example, at an arbitrary time A shown in FIG. 5, the ratio of the flooding frame transfer amount measured by the measurement unit 8 to the maximum frame transfer amount is greater than the reference value A and higher than the reference value B. Few. At this time, the measuring unit 8 sends a signal to the internal priority changing unit 10 to reduce the value of the internal priority added to the flooding frame. The internal priority changing unit 10 that has received this signal lowers the value of the internal priority stored in the tag attached to the flooding frame transferred from the measuring unit 8.

また、任意の時間Bにおいて、フレームの最大転送量に対して測定部8で測定されたフラッディングフレームの転送量が占める割合は、基準値Bよりも多い。このとき測定部8は、送信制御部12に対して、基準値Bを超えた分のフラッディングフレームを破棄させる旨を示す信号を送信する。この信号を受信した送信制御部12は、例えば、各内部優先度のキューで待機させているフレームのうち、基準値を超えた分のフラッディングフレームを破棄する。   Further, at any time B, the ratio of the flooded frame transfer amount measured by the measuring unit 8 to the maximum frame transfer amount is larger than the reference value B. At this time, the measurement unit 8 transmits to the transmission control unit 12 a signal indicating that the flooding frames that exceed the reference value B are discarded. The transmission control unit 12 that has received this signal discards, for example, the flooding frames that exceed the reference value among the frames that are waiting in the queues of the internal priorities.

図6は、スイッチングハブ1によるフレームの転送処理を示すフローチャートである。以下、手順を追って説明する。   FIG. 6 is a flowchart showing frame transfer processing by the switching hub 1. The procedure will be described below.

ステップS100:受信制御部4の内部優先度設定部14は、受信したフレームに内部優先度の値を格納したタグを付加する。
ステップS102:次に、受信制御部4は、受信したフレームがフラッディングフレームであるか否かを判断する。具体的には、受信制御部4は、受信したフレームの宛先情報を確認し、この宛先情報がブロードキャストアドレスやマルチキャストアドレスである場合、もしくは、ユニキャストアドレスであってもFDB6にそのアドレスが登録されていない場合、受信したフレームをフラッディングフレームであると判断する(Yes)。この場合、受信制御部4は、フラッディングフレームを測定部8へ転送する(ステップS104)。
Step S100: The internal priority setting unit 14 of the reception control unit 4 adds a tag storing the internal priority value to the received frame.
Step S102: Next, the reception control unit 4 determines whether or not the received frame is a flooding frame. Specifically, the reception control unit 4 confirms the destination information of the received frame, and when the destination information is a broadcast address or a multicast address, or even if it is a unicast address, the address is registered in the FDB 6. If not, the received frame is determined to be a flooding frame (Yes). In this case, the reception control unit 4 transfers the flooding frame to the measurement unit 8 (step S104).

一方、受信制御部4は、受信したフレームの宛先情報がユニキャストアドレスであって、かつ、FDB6にそのアドレスが登録されている場合、受信したフレームがフラッディングフレームでないと判断する(No)。この場合、受信制御部4は、受信したフレームを送信制御部12へ送信する(ステップS106)。   On the other hand, if the destination information of the received frame is a unicast address and the address is registered in the FDB 6, the reception control unit 4 determines that the received frame is not a flooding frame (No). In this case, the reception control unit 4 transmits the received frame to the transmission control unit 12 (step S106).

ステップS108:測定部8は、受信制御部4から受信したフラッディングフレームを内部優先度変更部10へ転送する過程で、フラッディングフレームの転送量を測定する。このとき、測定したフラッディングフレームの転送量が、図5中に示す基準値B以上である場合(Yes)、送信制御部12に対して基準値Bを超えた分のフラッディングフレームを破棄させる旨の信号を送る(ステップS110)。この信号を受信した送信制御部12は、各内部優先度のキューで待機させているフレームのうち、基準値を超えた分のフラッディングフレームを破棄する。一方、測定したフラッディングフレームの転送量が、基準値B未満である場合(No)、次のステップS112へ進む。   Step S108: The measuring unit 8 measures the amount of flooding frames transferred in the process of transferring the flooding frames received from the reception control unit 4 to the internal priority changing unit 10. At this time, if the measured transfer amount of the flooding frame is equal to or larger than the reference value B shown in FIG. 5 (Yes), the transmission control unit 12 discards the flooding frame that exceeds the reference value B. A signal is sent (step S110). The transmission control unit 12 that has received this signal discards the flooding frames that exceed the reference value among the frames that are waiting in the queues of the internal priorities. On the other hand, if the measured flooding frame transfer amount is less than the reference value B (No), the process proceeds to the next step S112.

ステップS112:測定部8は、測定したフラッディングフレームの転送量が、図5中に示す基準値Aを超えているか否かを判断する。測定部8は、測定したフラッディングフレームの転送量が、上記の基準値A以上である場合(Yes)、内部優先度変更部10に対して、フレームに付加された内部優先度の値を低下させる旨の信号を送信する。(ステップS114)。なお、このとき内部優先度変更部10は、上記の信号を受信すると、測定部8から受信したフラッディングフレームを送信制御部12へ転送する過程で、これに付加されている内部優先度の値を下げる。一方、測定したフラッディングフレームの転送量が、予め設定された基準値A未満である場合(No)、次のステップS116へ進む。なお、基準値A未満である場合、フラッディングフレームは測定部8から内部優先度変更部10を介して送信制御部12へ転送される。   Step S112: The measurement unit 8 determines whether or not the measured flooding frame transfer amount exceeds the reference value A shown in FIG. When the measured flooding frame transfer amount is equal to or greater than the reference value A (Yes), the measuring unit 8 causes the internal priority changing unit 10 to decrease the internal priority value added to the frame. Send a signal to that effect. (Step S114). At this time, when the internal priority changing unit 10 receives the above signal, the internal priority changing unit 10 sets the value of the internal priority added thereto in the process of transferring the flooding frame received from the measuring unit 8 to the transmission control unit 12. Lower. On the other hand, when the measured amount of flooding frames transferred is less than the preset reference value A (No), the process proceeds to the next step S116. If it is less than the reference value A, the flooding frame is transferred from the measurement unit 8 to the transmission control unit 12 via the internal priority change unit 10.

ステップS116:送信制御部12は、内部優先度変更部10及び受信制御部4から受信したフラッディングフレーム及びユニキャストフレームを、これらに付加されたタグ(内部優先度の値)に基づいて各内部優先度のキューへ振り分ける。
ステップS118:次に送信制御部12は、所定のスケジューリング方式に基づいて各内部優先度のキューで待機させているフレームを送信してこの処理を終了する。
Step S116: The transmission control unit 12 sets the flooding frame and the unicast frame received from the internal priority changing unit 10 and the reception control unit 4 to each internal priority based on the tag (internal priority value) added thereto. Sort to the appropriate queue.
Step S118: Next, the transmission control unit 12 transmits a frame waiting in each internal priority queue based on a predetermined scheduling method, and ends this processing.

このように、スイッチングハブ1において、予め設定された基準値Aを超える量のフラッディングフレームが転送されている場合、スイッチングハブ1は、フラッディングフレームをすぐに破棄するのではなく、これに付加された内部優先度の値を下げる。これにより、宛先が特定されたユニキャストフレームを優先的に送信することができる。また、フレームの最大転送量に対するフラッディングフレームの転送量が低下した時に、内部優先度の値が低いキューで待機させているフラッディングフレームを送信することができる。   As described above, when an amount of flooding frames exceeding the preset reference value A is transferred in the switching hub 1, the switching hub 1 does not immediately discard the flooding frames but adds them. Decrease the internal priority value. As a result, the unicast frame whose destination is specified can be transmitted preferentially. Further, when the flooding frame transfer amount with respect to the maximum frame transfer amount decreases, the flooding frame waiting in the queue having a low internal priority value can be transmitted.

なお、第1実施形態では、所定のスケジューリング方式として、内部優先度の値が高い順にフレームを送信する方式を採用しているが、各内部優先度のキューから連続して送信可能なフレームの数を予め規定した重み付けラウンドロビン(Weighted Round Robin)方式であってもよい。   In the first embodiment, as a predetermined scheduling method, a method of transmitting frames in descending order of internal priority values is employed. However, the number of frames that can be transmitted continuously from each internal priority queue. May be a weighted round robin (Weighted Round Robin) method.

〔第2実施形態〕
次に、第2実施形態のスイッチングハブ1について説明する。図7は、第2実施形態におけるスイッチングハブ1の機能的な構成を概略的に示すブロック図である。第2実施形態では、受信制御部4に測定部8が含まれている点が第1実施形態と異なっている。その他の構成については第1実施形態と共通であり、ここでは共通の構成には図示とともに同じ符号を付し、重複した説明を省略するものとする。
[Second Embodiment]
Next, the switching hub 1 of 2nd Embodiment is demonstrated. FIG. 7 is a block diagram schematically showing a functional configuration of the switching hub 1 in the second embodiment. The second embodiment is different from the first embodiment in that the reception control unit 4 includes a measurement unit 8. The other configurations are the same as those in the first embodiment, and here, the same reference numerals are given to the common configurations together with the drawings, and redundant descriptions are omitted.

受信制御部4は、これに含まれている測定部8において、ポート2から転送された全てのフレームの受信量を測定する。また、測定部8に設定する基準値として、上記のフレームの受信量がフレームの最大転送量を占める割合を用いる。このとき、測定部8で測定したフレームの受信量が図5中に示す基準値A以上、かつ、基準値B未満の場合、受信制御部4は、内部優先度変更部10に対してフラッディングフレームに付加された内部優先度の値を低下させる旨の信号を送信する。また、測定部8で測定したフレームの受信量が図5中に示す基準値B以上の場合、受信制御部4は、送信制御部12に対して基準値Bを超えた分のフラッディングフレームを破棄させる旨の信号を送信する。   The reception control unit 4 measures the reception amount of all frames transferred from the port 2 in the measurement unit 8 included therein. Further, as the reference value set in the measurement unit 8, the ratio of the received frame amount to the maximum frame transfer amount is used. At this time, if the received amount of frames measured by the measurement unit 8 is equal to or greater than the reference value A shown in FIG. 5 and less than the reference value B, the reception control unit 4 sends a flooding frame to the internal priority change unit 10. A signal to reduce the value of the internal priority added to is transmitted. Further, when the reception amount of the frame measured by the measurement unit 8 is equal to or larger than the reference value B shown in FIG. 5, the reception control unit 4 discards the flooding frame exceeding the reference value B with respect to the transmission control unit 12. Send a signal to the effect.

このように、フレームの受信量に基づいて基準値を設定することで、測定部8は、フレームの最大転送量に対して実際に送受信されているフレームの転送量が占める割合を常に把握することができる。この場合、ネットワーク内で大量のユニキャストフレームが転送されていても、フラッディングフレームよりも優先的にユニキャストフレームが転送される。また、フレームの受信量が基準値B以上である場合、スイッチングハブ1は、基準値Bを超えた分のフラッディングフレームのみを破棄するため、その分、ユニキャストフレームや転送する必要があるフラッディングフレームを確実に転送することができる。   Thus, by setting the reference value based on the reception amount of the frame, the measurement unit 8 always grasps the ratio of the transfer amount of the actually transmitted / received frame to the maximum transfer amount of the frame. Can do. In this case, even if a large amount of unicast frames are transferred in the network, the unicast frames are transferred with priority over the flooding frames. When the received amount of frames is equal to or greater than the reference value B, the switching hub 1 discards only the flooding frames that exceed the reference value B, and accordingly, unicast frames or flooding frames that need to be transferred. Can be transferred reliably.

〔第3実施形態〕
次に、第3実施形態のスイッチングハブ1について説明する。図8は、第3実施形態におけるスイッチングハブ1の機能的な構成を概略的に示すブロック図である。第3実施形態では、測定部8が送信制御部12の各内部優先度のキューで待機しているフレームの量を測定している点が第1,2実施形態と異なっている。その他の構成については第1実施形態と共通であり、ここでは共通の構成には図示とともに同じ符号を付し、重複した説明を省略するものとする。
[Third Embodiment]
Next, the switching hub 1 of 3rd Embodiment is demonstrated. FIG. 8 is a block diagram schematically showing a functional configuration of the switching hub 1 in the third embodiment. The third embodiment is different from the first and second embodiments in that the measurement unit 8 measures the amount of frames waiting in each internal priority queue of the transmission control unit 12. The other configurations are the same as those in the first embodiment, and here, the same reference numerals are given to the common configurations together with the drawings, and redundant descriptions are omitted.

測定部8は、送信制御部12の各内部優先度のキューで待機しているフレームの量を測定している。また、測定部8は、特定の内部優先度のキューで待機しているフレームの量を個別に測定することができる。このとき、測定部8は、特定の内部優先度のキューで待機しているフレームの量が予め設定された基準値を超えた場合、内部優先度変更部10に対してフラッディングフレームに付加された内部優先度の値を低下させる旨の信号を送信したり、送信制御部12に対して基準値を超えた分のフラッディングフレームを破棄させる旨の信号を送信したりする。   The measuring unit 8 measures the amount of frames waiting in each internal priority queue of the transmission control unit 12. Further, the measurement unit 8 can individually measure the amount of frames waiting in a queue with a specific internal priority. At this time, when the amount of frames waiting in a queue with a specific internal priority exceeds a preset reference value, the measurement unit 8 is added to the flooding frame with respect to the internal priority change unit 10 A signal indicating that the internal priority value is to be decreased is transmitted, or a signal indicating that the flooding frame corresponding to the reference value is discarded is transmitted to the transmission control unit 12.

例えば、測定部8は、内部優先度が高い内部優先度nのキューで待機しているフレームの量と基準値とを比較し、フレームの量が図5中に示す基準値A又は基準値Bを超えている場合、内部優先度変更部10又は送信制御部12に対して上記の信号を送信する。これにより、送信制御部12は、優先制御及び帯域制御に規定された所定のスケジューリング方式に基づいてユニキャストフレームを送信するとともに、効率的にフラッディングフレームの転送量を抑制することができる。   For example, the measurement unit 8 compares the amount of frames waiting in the internal priority n queue with a high internal priority with the reference value, and the frame amount is the reference value A or the reference value B shown in FIG. Is exceeded, the above signal is transmitted to the internal priority changing unit 10 or the transmission control unit 12. Thereby, the transmission control unit 12 can transmit a unicast frame based on a predetermined scheduling method defined in the priority control and the band control, and can efficiently suppress the transfer amount of the flooding frame.

〔第4実施形態〕
次に、第4実施形態のスイッチングハブについて説明する。図9は、第4実施形態のスイッチングハブ1における送信制御部12の構成を概略的に示す図である。第4実施形態では、内部優先度とは別にフラッディングフレーム専用の内部優先度を規定している点が第1〜3実施形態における送信制御部12と異なっている。
[Fourth Embodiment]
Next, a switching hub according to a fourth embodiment will be described. FIG. 9 is a diagram schematically illustrating the configuration of the transmission control unit 12 in the switching hub 1 of the fourth embodiment. The fourth embodiment is different from the transmission control unit 12 in the first to third embodiments in that an internal priority dedicated to a flooding frame is defined separately from the internal priority.

第4実施形態において、送信制御部12は、内部優先度のキューの他にフラッディングフレーム専用のキューを設けている。フラッディングフレーム専用のキューには、内部優先度のキューに割り当てられた優先度の値とは別に、フラッディングフレーム専用の内部優先度の値が割り振られている。   In the fourth embodiment, the transmission control unit 12 provides a dedicated queue for flooding frames in addition to the internal priority queue. In addition to the priority value assigned to the internal priority queue, an internal priority value dedicated to flooding frames is allocated to the queue dedicated to flooding frames.

第1,第3実施形態において、測定部8は、測定したフラッディングフレームの転送量が図5中に示す基準値A以上で、かつ基準値B未満である場合、内部優先度変更部10に対してフラッディングフレームに付加されている内部優先度の値を下げる旨を示す信号を送信していた。   In the first and third embodiments, when the measured flooding frame transfer amount is not less than the reference value A and less than the reference value B shown in FIG. Thus, a signal indicating that the value of the internal priority added to the flooding frame is lowered is transmitted.

このとき、第4実施形態において、内部優先度変更部10は、測定部8から受信したフラッディングレームを送信制御部12へ転送する過程で、フラッディングフレームに付加された内部優先度の値を上記のフラッディングフレーム専用のキューに対応する内部優先度の値に変更する。そして、送信制御部12は、内部優先度変更部10から受信したフラッディングフレームに付加された内部優先度の値に基づいて、各フラッディングフレーム専用のキューへ振り分ける。   At this time, in the fourth embodiment, the internal priority changing unit 10 transfers the flooding frame received from the measuring unit 8 to the transmission control unit 12 and uses the internal priority value added to the flooding frame as described above. Change to the internal priority value corresponding to the queue dedicated to flooding frames. Then, based on the internal priority value added to the flooding frame received from the internal priority changing unit 10, the transmission control unit 12 distributes it to a queue dedicated to each flooding frame.

一方、第2実施形態において、測定部8は、測定したフラッディングフレームの転送量が図5中に示す基準値A以上で、かつ基準値B未満である場合、送信制御部12に対してフラッディングフレームに付加されている内部優先度の値を下げる旨を示す信号を送信していた。   On the other hand, in the second embodiment, when the measured flooding frame transfer amount is not less than the reference value A and less than the reference value B shown in FIG. A signal indicating that the value of the internal priority added to is lowered is transmitted.

このとき、第4実施形態において、送信制御部12は、測定部8から上記の信号を受信した場合、フラッディングフレーム専用のキューに割り振られた内部優先度の値を下げる。   At this time, in the fourth embodiment, when the transmission control unit 12 receives the signal from the measurement unit 8, the transmission control unit 12 decreases the value of the internal priority assigned to the queue dedicated to the flooding frame.

このように、第4実施形態のスイッチングハブ1は、第1〜第3実施形態のスイッチングハブ1と同様に基準値に応じてフラッディングフレームの送信を一旦中止し、ユニキャストフレームを優先的に送信することができる。また、フレームの最大転送量に対してフラッディングフレームの転送量が占める割合が低下した時に、フラッディングフレーム専用のキューで待機させているフラッディングフレームを送信することができる。これにより、スイッチングハブ1は、本来転送に必要なフラッディングフレームを破棄することなく効率的にフラッディングフレームの転送を制御することができる。   As described above, the switching hub 1 of the fourth embodiment temporarily stops the transmission of the flooding frame according to the reference value in the same manner as the switching hub 1 of the first to third embodiments, and preferentially transmits the unicast frame. can do. Further, when the ratio of the flooding frame transfer amount to the maximum frame transfer amount decreases, the flooding frame waiting in the queue dedicated to the flooding frame can be transmitted. As a result, the switching hub 1 can efficiently control the forwarding of the flooding frame without discarding the flooding frame that is originally necessary for the forwarding.

〔第5実施形態〕
次に、第5実施形態のスイッチングハブについて説明する。図10は、第5実施形態のスイッチングハブ1における送信制御部12の構成を概略的に示す図である。第5実施形態では、送信制御部12において、宛先が特定されたユニキャストフレーム専用のキュー(UC:内部優先度のキュー)及び、フラッディングフレーム専用のキュー(MC(マルチキャスト)・BC(ブロードキャスト)・DLF(宛先不明のユニキャストフレーム):内部優先度のキュー)をそれぞれ内部優先度の値ごとに設けている点が第1〜第4実施形態と異なっている。
[Fifth Embodiment]
Next, a switching hub according to a fifth embodiment will be described. FIG. 10 is a diagram schematically illustrating the configuration of the transmission control unit 12 in the switching hub 1 of the fifth embodiment. In the fifth embodiment, the transmission control unit 12 uses a unicast frame-dedicated queue (UC: internal priority queue) and a flood-frame-dedicated queue (MC (multicast), BC (broadcast), The difference from the first to fourth embodiments is that DLF (unicast frame with unknown destination): internal priority queue) is provided for each internal priority value.

第5実施形態において、受信制御部4の優先度テーブル14aには、上記の送信制御部12に配置された「UC:内部優先度のキュー」及び「MC・BC・DLF:内部優先度のキュー」に割り振られたそれぞれの内部優先度の値に対応する値が規定されており、これらの値が、優先度の値に対応して登録されている。   In the fifth embodiment, the priority table 14 a of the reception control unit 4 includes “UC: internal priority queue” and “MC / BC / DLF: internal priority queue” arranged in the transmission control unit 12. The values corresponding to the values of the internal priorities assigned to each other are defined, and these values are registered corresponding to the priority values.

また、受信制御部4の内部優先度設定部14は、ポート2から転送されたフレームがフラッディングフレームである場合、これに規定された優先度の値に対応して優先度テーブル14aに登録された内部優先度の値をフラッディングフレームに付加する。   In addition, when the frame transferred from the port 2 is a flooding frame, the internal priority setting unit 14 of the reception control unit 4 is registered in the priority table 14a in accordance with the priority value defined therein. Add the internal priority value to the flooding frame.

第5実施形態において、測定部8は、第1,第3実施形態と同様に、測定したフラッディングフレームの転送量が図5中に示す基準値A以上でかつ、基準値B未満である場合、内部優先度変更部10に対してフラッディングフレームに付加された内部優先度を下げる旨の信号を送信する。内部優先度変更部10は、その信号を受信すると、測定部8から受信したフラッディングフレームを送信制御部12へ転送する過程で、これに付加された内部優先度の値を下げる。   In the fifth embodiment, as in the first and third embodiments, the measurement unit 8 has a measured flooding frame transfer amount that is not less than the reference value A and less than the reference value B shown in FIG. A signal for lowering the internal priority added to the flooding frame is transmitted to the internal priority changing unit 10. When the internal priority changing unit 10 receives the signal, the internal priority changing unit 10 lowers the value of the internal priority added to the flooding frame received from the measuring unit 8 in the process of transferring the flooded frame to the transmission control unit 12.

また、送信制御部12は、内部優先度変更部10から受信したフラッディングフレームをこれに付加された内部優先度の値に基づいて、各「MC・BC・DLF:内部優先度のキュー」へ振り分ける。   Further, the transmission control unit 12 distributes the flooding frame received from the internal priority changing unit 10 to each of “MC, BC, DLF: internal priority queue” based on the internal priority value added thereto. .

なお、測定部8に対して複数の基準値を設定してもよい。このとき測定部8は、内部優先度変更部10に対して、各基準値に応じて内部優先度の値を変更させてもよい。   A plurality of reference values may be set for the measurement unit 8. At this time, the measurement unit 8 may cause the internal priority change unit 10 to change the value of the internal priority according to each reference value.

このように、第5実施形態では、各フラッディングフレーム専用のキューに対して専用の優先度が割り振られており、例えば、受信制御部4において、本来転送する必要のあるフラッディングフレームの内部優先度の値を高く設定しておけば、上記の基準値Bを超えた場合であってもこれが破棄されることを防止している。   As described above, in the fifth embodiment, a dedicated priority is assigned to a queue dedicated to each flooding frame. For example, the reception control unit 4 determines the internal priority of the flooding frame that should originally be transferred. If the value is set high, even if the reference value B is exceeded, this is prevented from being discarded.

このように、本発明のスイッチングハブは、一般的に用いられるQoSに規定された優先制御及び帯域制御の機能を用いて、フラッディングフレームの転送量を効率的に抑制することができるとともに、フラッディングフレームの破棄を防止している。   As described above, the switching hub of the present invention can efficiently suppress the amount of flooded frames transferred by using the priority control and bandwidth control functions defined in commonly used QoS, and the flooding frame. Is prevented from being destroyed.

また本発明は、上述した第1〜第5実施形態に限定されることなく種々の変形が可能である。例えば、第5実施形態において、測定部8が第2実施形態と同様に、送信制御部12に対してフラッディングフレームに付加された内部優先度を下げる旨の信号を送信した場合、送信制御部12は、受信したフラッディングフレームに対して、これに付加された内部優先度の値を下げてから各「MC・BC・DLF:内部優先度のキュー」へ振り分けてもよい。   The present invention is not limited to the first to fifth embodiments described above, and various modifications can be made. For example, in the fifth embodiment, when the measurement unit 8 transmits a signal for reducing the internal priority added to the flooding frame to the transmission control unit 12 as in the second embodiment, the transmission control unit 12 May reduce the value of the internal priority added to the received flooding frame, and then distribute it to each “MC, BC, DLF: internal priority queue”.

1 スイッチングハブ
4 受信制御部
8 測定部
10 内部優先度変更部
12 送信制御部
14 内部優先度設定部
14a 優先度テーブル
DESCRIPTION OF SYMBOLS 1 Switching hub 4 Reception control part 8 Measurement part 10 Internal priority change part 12 Transmission control part 14 Internal priority setting part 14a Priority table

Claims (7)

フレームを中継するスイッチングハブであって、
所定の基準値を設定する設定手段と、
前記フレームを受信した場合、これが宛先の特定されたユニキャストフレーム以外のフラッディングフレームであるか否かを判別する判別手段と、
受信した前記フレームを転送する過程で、前記フレームの転送量を測定する測定手段と、
前記測定手段により測定された前記フレームの転送量が前記基準値を超えた場合、前記判別手段により前記フラッディングフレームであると判別された前記フレームに対して、前記フレームの転送順序に関する優先度を下げる優先度変更手段と
を備えたスイッチングハブ。
A switching hub that relays frames,
Setting means for setting a predetermined reference value;
A discriminating means for discriminating whether or not this frame is a flooding frame other than the specified unicast frame;
Measuring means for measuring a transfer amount of the frame in a process of transferring the received frame;
When the transfer amount of the frame measured by the measurement unit exceeds the reference value, the priority regarding the frame transfer order is lowered with respect to the frame determined to be the flooding frame by the determination unit. A switching hub comprising priority changing means.
請求項1に記載のスイッチングハブにおいて、
前記設定手段は、
前記フレームの最大転送量に対して複数の前記基準値を設定することを特徴とするスイッチングハブ。
The switching hub according to claim 1,
The setting means includes
A switching hub, wherein a plurality of the reference values are set for the maximum transfer amount of the frame.
請求項1又は2に記載のスイッチングハブにおいて、
受信した前記フレームに対して、前記優先度を規定する受信制御部をさらに備え、
前記優先度変更手段は、
前記測定手段により測定された前記フレームの転送量が前記基準値を超えた場合、前記判別手段でフラッディングフレームであると判別された前記フレームに対して、これに規定された前記優先度を下げることを特徴とするスイッチングハブ。
The switching hub according to claim 1 or 2,
A reception control unit that defines the priority for the received frame;
The priority changing means includes
When the transfer amount of the frame measured by the measuring unit exceeds the reference value, the priority defined in the frame determined to be a flooded frame by the determining unit is lowered. Switching hub characterized by
請求項1から3のいずれかに記載のスイッチングハブにおいて、
前記設定手段は、
中継可能な前記フレームの最大転送量に対する前記フラッディングフレームの転送量の割合を示した前記基準値を設定し、
前記測定手段は、
前記判別手段により前記フラッディングフレームであると判別された前記フレームの転送量を測定することを特徴とするスイッチングハブ。
The switching hub according to any one of claims 1 to 3,
The setting means includes
Set the reference value indicating the ratio of the flooding frame transfer amount to the maximum transfer amount of the frame that can be relayed,
The measuring means includes
A switching hub characterized in that the transfer amount of the frame determined to be the flooding frame by the determining means is measured.
請求項1から4のいずれかに記載のスイッチングハブにおいて、
前記フレームに規定された前記優先度ごとに前記フレームを一時的に待機させるための複数のキューを配置し、前記各キューで待機する前記フレームを前記優先度に基づいて送信する送信制御部をさらに備え、
前記測定手段は、
前記各キューで待機している前記フレームの総量を測定し、
前記優先度変更手段は、
前記測定手段により測定された前記フレームの総量が前記基準値を超えた場合、前記フラッディングフレームに対して、これに規定された前記優先度を下げることを特徴とするスイッチングハブ。
The switching hub according to any one of claims 1 to 4,
A plurality of queues for temporarily waiting the frames for each priority defined in the frames, and a transmission control unit for transmitting the frames waiting in the queues based on the priorities Prepared,
The measuring means includes
Measure the total amount of frames waiting in each queue,
The priority changing means includes
When the total amount of the frames measured by the measuring means exceeds the reference value, the switching hub is configured to lower the priority defined for the flooding frames.
請求項5に記載のスイッチングハブにおいて、
前記送信制御部は、
前記複数のキューのうちいずれかのキューに対して、前記フラッディングフレームのみを一時的に待機させ、
前記測定手段は、
前記フラッディングフレームの転送量が前記基準値を超えた場合、前記送信制御部に対して、前記キューで待機する前記フラッディングフレームに規定された前記優先度を低下させることを特徴とするスイッチングハブ。
The switching hub according to claim 5,
The transmission control unit
For any one of the plurality of queues, temporarily wait only for the flooding frame,
The measuring means includes
The switching hub, wherein when the transfer amount of the flooding frame exceeds the reference value, the priority specified for the flooding frame waiting in the queue is lowered for the transmission control unit.
請求項5に記載のスイッチングハブにおいて、
前記受信制御部は、
前記ユニキャストフレーム及び前記フラッディングフレームに対して、それぞれに固有の前記優先度を規定し、
前記測定手段は、
前記フラッディングフレームの転送量を測定し、
前記優先度変更手段は、
前記測定手段により測定された前記フラッディングフレームの転送量が前記基準値を超えた場合、前記フラッディングフレームに規定された前記優先度を下げ、
前記送信制御部は、
前記フレームを前記ユニキャストフレーム及び前記フラッディングフレームに分けてそれぞれの前記優先度ごとに前記各キューへ振り分けることを特徴とするスイッチングハブ。
The switching hub according to claim 5,
The reception control unit
The priority specific to each of the unicast frame and the flooding frame is defined,
The measuring means includes
Measure the transfer amount of the flooding frame,
The priority changing means includes
If the transfer amount of the flooding frame measured by the measuring means exceeds the reference value, the priority defined in the flooding frame is lowered,
The transmission control unit
The switching hub according to claim 1, wherein the frame is divided into the unicast frame and the flooding frame and distributed to the respective queues for each of the priorities.
JP2010269079A 2010-12-02 2010-12-02 Switching hub Expired - Fee Related JP5556631B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010269079A JP5556631B2 (en) 2010-12-02 2010-12-02 Switching hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010269079A JP5556631B2 (en) 2010-12-02 2010-12-02 Switching hub

Publications (2)

Publication Number Publication Date
JP2012120015A true JP2012120015A (en) 2012-06-21
JP5556631B2 JP5556631B2 (en) 2014-07-23

Family

ID=46502349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010269079A Expired - Fee Related JP5556631B2 (en) 2010-12-02 2010-12-02 Switching hub

Country Status (1)

Country Link
JP (1) JP5556631B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08139736A (en) * 1994-11-14 1996-05-31 Nec Corp Atm node equipment
JP2000151714A (en) * 1998-10-05 2000-05-30 Paketto Engines Inc Switching device provided with multistage queuing system
JP2005150948A (en) * 2003-11-12 2005-06-09 Fujitsu Ltd Apparatus for switching packet
JP2007259069A (en) * 2006-03-23 2007-10-04 Fujitsu Ltd Switch apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08139736A (en) * 1994-11-14 1996-05-31 Nec Corp Atm node equipment
JP2000151714A (en) * 1998-10-05 2000-05-30 Paketto Engines Inc Switching device provided with multistage queuing system
JP2005150948A (en) * 2003-11-12 2005-06-09 Fujitsu Ltd Apparatus for switching packet
JP2007259069A (en) * 2006-03-23 2007-10-04 Fujitsu Ltd Switch apparatus

Also Published As

Publication number Publication date
JP5556631B2 (en) 2014-07-23

Similar Documents

Publication Publication Date Title
US11190449B2 (en) Packet control method and network apparatus
US10243865B2 (en) Combined hardware/software forwarding mechanism and method
US8611356B2 (en) Apparatus for ethernet traffic aggregation of radio links
US7697522B2 (en) Systems and methods for aggregation of packets for transmission through a communications network
US8605752B2 (en) Communication apparatus, communication method, and computer program
US20070223372A1 (en) Method and apparatus for preventing congestion in load-balancing networks
JP5372615B2 (en) Packet transfer system, network management device, and edge node
US20090073882A1 (en) Directional and priority based flow control mechanism between nodes
US8798061B2 (en) Communication apparatus, communication method, and computer program
WO2013105551A1 (en) Computer system, controller, switch, communication method, and recording medium in which network management program has been stored
WO2020063339A1 (en) Method, device and system for realizing data transmission
EP1868333B1 (en) Method for packet classification based on the protocol type and on priorities
US20140126415A1 (en) Communication apparatus, communication method, and communication system
WO2020063338A1 (en) Method for implementing data transmission, apparatus, and system
CN106936704B (en) Multi-path switching using hop-by-hop VLAN classification
US8027252B2 (en) System and method of defense against denial of service of attacks
JP5556631B2 (en) Switching hub
JP5458340B2 (en) Network relay device
CN106685788B (en) The chip implementing method of PVLAN under stacking mode
EP3324587B1 (en) Multicast method, multicast relay device and system
JP5429303B2 (en) RELAY DEVICE, RELAY METHOD, COMPUTER PROGRAM, AND COMMUNICATION SYSTEM
US20110064088A1 (en) Communication apparatus and communication controlling method in ring network
JP2005051691A (en) Switching hub
EP1506644A1 (en) Shared-communications channel utilization for applications having different class of service requirements

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130215

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20131031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131216

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140320

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140520

R150 Certificate of patent or registration of utility model

Ref document number: 5556631

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees