JP2004096575A - Frame processing method and frame processor - Google Patents
Frame processing method and frame processor Download PDFInfo
- Publication number
- JP2004096575A JP2004096575A JP2002257141A JP2002257141A JP2004096575A JP 2004096575 A JP2004096575 A JP 2004096575A JP 2002257141 A JP2002257141 A JP 2002257141A JP 2002257141 A JP2002257141 A JP 2002257141A JP 2004096575 A JP2004096575 A JP 2004096575A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- congestion
- frame processing
- processing device
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、LAN(Local Area Network)等のネットワーク内、又はネットワーク間でのデータ中継において、輻輳を回避するためのフレーム処理方法、又はフレーム処理装置に属する。
【0002】
【従来の技術】
現在のLAN(Local Area Network)の多くは、複数の支線ネットワークがブリッジ又はスイッチ等のフレーム処理装置を介して幹線ネットワークに接続されている。図1は、LANの構成を示す。図1において、80はフレーム処理装置、90はルータ、91は支線ネットワーク、92は幹線ネットワーク、93は端末である。支線ネットワーク91と幹線ネットワーク92はフレーム処理装置80を介して接続されている。支線ネットワーク91に収容されている複数の端末93は、これらのネットワークによってルータ90と接続される。
【0003】
10B−T規格の適用された従来のフレーム処理装置80の構成を図2に示す。図2において、80はフレーム処理装置、81はレイヤ1受信インタフェース、82はレイヤ2受信インタフェース、83はバッファ、84はスイッチ回路、85は優先度読取回路、86はフレーム廃棄回路、87はレイヤ2送信インタフェース、88はレイヤ1送信インタフェースである。支線ネットワークに収容されている端末からのデータ入力があると、レイヤ1受信インタフェース81、レイヤ2受信インタフェース82ではそれぞれレイヤ1、レイヤ2での受信処理を行う。受信したデータはバッファ83で一時的に蓄積され、スイッチ回路84でフレーム毎に処理される。処理されたフレームはレイヤ2送信インタフェース回路87、レイヤ1送信インタフェース回路88を経て、幹線ネットワークに向けてデータ出力される。
【0004】
フレーム処理装置80の処理能力を超えるフレーム数又はビット数のデータがネットワークからフレーム処理装置80に流入すると、輻輳状態が生じる。フレーム処理装置80に入力するデータには遅延に敏感なものや、データの欠落に敏感なものなど様々である。そのため、従来のフレーム処理装置では、フレーム構造に書きこまれた情報から遅延に敏感でないデータを判断してそのようなフレームを積極的に廃棄する(例えば、非特許文献1参照。)。図3にフレーム構造を示す。図3において、DA(Destination Address)はフレームの宛て先、SA(Source Address)はフレームの送り元、VLAN(Virtual LAN)は仮想LANに必要な制御信号、PL(Pay Lord)は送信する情報、FCS(Frame Check Sequence)は誤り検出信号を表わす。10B−T規格では、VLANにフレームを優先的に処理する優先度が書きこまれている。フレーム処理装置はこの優先度を用いて遅延に敏感なデータを判断して、そのフレームを優先的に処理して輻輳状態に対処する。
【0005】
【非特許文献1】
IEEE標準802.1Q、”IEEE Standards for Local and Metropolitan Area Networks − Virtual Bridged Local Area Networks”の8.7章, [online]、 Approved 8 December 1998, IEEE、[平成14年9月2日検索]、インターネット<URL:http://standards.ieee.org/getieee802/download/802.1Q−1998.pdf>
【0006】
【発明が解決しようとする課題】
しかし、データの性質が異なっていたとしてもフレームに同じ優先度が付与される場合がある。10B−T規格では競合したフレームに対し特定のフレームを優先処理することができない。このような場合に、レイヤ3以上の情報を用いてフレームを選別する優先処理を行うこともできるが、レイヤ3以上の情報を用いた処理は負荷が重くなり、却って処理速度を遅くしかねない。
本発明は、このような問題を解決するために、レイヤ2において輻輳状態を監視し、範囲外のフレーム長を有するフレームを確率的に廃棄することによってフレームを処理することを目的とする。
【0007】
【課題を解決するための手段】
前述した目的を達成するために、本願発明では、ネットワークを接続するフレーム処理装置でのレイヤ2のフレーム処理方法であって、ネットワークの輻輳状態を監視し、輻輳限界の検知により、設定した廃棄確率に従ってフレーム長閾値を超えたフレームを廃棄することにより解決する。
【0008】
本願発明には前記フレーム長閾値を複数設定し、前記フレーム長閾値に応じて前記廃棄確率を設定すること、前記輻輳限界を複数設定し、前記輻輳限界に応じて前記フレーム長閾値を変動させることも含まれる。
【0009】
又、本願他の発明では、ネットワークを接続するフレーム処理装置でのレイヤ2のフレーム処理方法であって、ネットワークの輻輳状態を監視し、輻輳限界の検知により、設定した廃棄確率に従って設定の範囲のフレーム長を有するフレームを廃棄することにより解決する。
【0010】
本願発明では、これらの発明において、前記輻輳限界を複数設定し、前記輻輳限界に応じて前記廃棄確率を変動させること、前記輻輳限界を複数設定し、前記輻輳状態が悪化したときに前記廃棄確率を設定範囲内で最も高くし、その後、輻輳限界に応じた減衰率で、輻輳限界に対応する廃棄確率まで減少させること、検知した前記輻輳限界に応じてフレームを廃棄する期間の頻度を変動させることも含まれる。
【0011】
本願発明では、ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数若しくは時間当たりのビット数のいずれか又は双方から前記輻輳状態を監視すること、フレーム処理待ちのフレーム数若しくはビット数のいずれか又は双方から前記輻輳状態を監視すること、ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数とフレーム処理装置でフレーム処理する時間当たりのフレーム数との差分、若しくはネットワークからフレーム処理装置へ流入する時間当たりのビット数とフレーム処理装置でフレーム処理する時間当たりのビット数との差分のいずれか、又は双方から前記輻輳状態を監視することも含まれる。
なお、これらの各構成は、可能な限り組み合わせることができる。
【0012】
本願において、輻輳限界とは、フレームを廃棄する基準となるネットワークの輻輳状態をいい、場合により複数の輻輳限界を規定する。フレーム長閾値とは、フレームを廃棄する基準となるフレーム長をいい、場合により複数のフレーム長閾値を規定する。廃棄確率とは、フレームを廃棄する際の確率をいい、場合により複数の廃棄確率を規定する。フレーム処理待ちとは、フレーム処理をするためにフレーム処理装置に蓄えられた状態をいう。
【0013】
【発明の実施の形態】
(実施の形態1)
本願発明のフレーム処理装置の構成を図4に示す。図4において、10はフレーム処理装置、11はレイヤ1受信インタフェース、12はレイヤ2受信インタフェース、13はバッファ、14はスイッチ回路、15は輻輳監視回路、16はフレーム選別回路、17はレイヤ2送信インタフェース、18はレイヤ1送信インタフェースである。
【0014】
ネットワークからのデータ入力があると、レイヤ1受信インタフェース11は受信したフレームを物理層に関する受信処理をし、レイヤ2受信インタフェース12では受信したフレームをリンク層に関する受信処理をする。受信したフレームはバッファ13で一時的に蓄積され、スイッチ回路14でフレーム処理される。処理されたフレームはレイヤ2送信インタフェース回路17、レイヤ1送信インタフェース回路18を経て、他のネットワークに向けてデータ出力される。輻輳監視回路15はフレーム処理装置内で輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断して、その情報をフレーム選別回路16に送出する。フレーム選別回路16はフレーム長閾値を超えたフレームに対して、予め設定された廃棄確率に従って廃棄するフレームを選別する。スイッチ回路14は選別されたフレームを廃棄し、それ以外は通過させる。
【0015】
フレーム長閾値を超えたフレームを廃棄確率に従って廃棄する状況を図5(a)、図5(b)に示す。図5(a)は輻輳限界に達していないときのデータ入出力であり、図5(b)は輻輳限界に達しているときのデータ入出力である。図5(a)では、フレームA、フレームB、フレームC、フレームDが入力されるが、フレームは廃棄されずに総て出力される。図5(b)において、輻輳状態を監視している輻輳監視回路が輻輳限界と判断すると、フレーム長閾値を超えるフレームを廃棄確率に従って廃棄する。例えば、フレームA、フレームB、フレームC、フレームDのうち、フレームBとフレームDがフレーム長閾値を超えているとき、廃棄確率に従って、フレームBは廃棄するが、フレームDは廃棄しないで通過させる。
【0016】
以上説明したように、本実施の形態では、フレーム処理装置がネットワークの輻輳状態を監視し、輻輳限界の検知によりフレーム長閾値を超えたフレームを廃棄確率に従って廃棄するため、フレーム処理装置の処理速度を落とすことなく、ネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
【0017】
(実施の形態2)
本実施の形態では、廃棄するフレームのフレーム長閾値を複数設定し、そのフレーム長閾値に応じて、フレームを廃棄する廃棄確率を設定する。図6にフレーム長閾値に対する廃棄確率の例を示す。図6において、フレーム長閾値をL1からL3までの3段階設定する。但し、L1<L2<L3である。フレーム処理装置がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断して、フレームを廃棄確率に従って廃棄する。フレーム長がL1までは廃棄確率は零とし、フレーム長がL1を超えると廃棄確率はP1、フレーム長がL2を超えると廃棄確率はP2、フレーム長がL3を超えると廃棄確率はP3とする。但し、P1<P2<P3である。このようにフレーム長閾値を複数設定することにより、長いフレーム程、廃棄確率を高くすることができる。
【0018】
以上説明したように、本実施の形態では、フレーム長閾値を複数設定し、フレーム長閾値に応じて廃棄確率を設定したため、長いフレーム程、廃棄確率が高くなり、より効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、フレーム長閾値を3段階設けたが、フレーム長閾値を複数設ければ本発明の目的は達成できる。
【0019】
(実施の形態3)
フレーム処理装置の輻輳監視回路は輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断する。本実施の形態では、輻輳限界を複数段階設定した上で、ネットワークの輻輳が各段階の輻輳限界に達すると、廃棄するフレームのフレーム長閾値を変動させる。図7に輻輳限界に対するフレーム長閾値の例を示す。図7において、輻輳限界をC1からC3まで3段階設定する。但し、輻輳限界C1、C2、C3の順で輻輳状態が悪化している。フレーム処理装置の輻輳監視回路がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界C1からC3まで3段階を判断して、フレームを廃棄確率に従って廃棄する。輻輳限界がC1まではフレーム長閾値はL4とし、輻輳限界がC1を超えるとフレーム長閾値はL3、輻輳限界がC2を超えるとフレーム長閾値はL2、輻輳限界がC3を超えるとフレーム長閾値はL1と輻輳状態の悪化に応じてフレーム長閾値を短くする。但し、L1<L2<L3<L4である。このように輻輳限界を複数設定することにより、輻輳状態に応じて長いフレーム長から短いフレーム長へと廃棄するフレームのフレーム長を変動させることができる。
【0020】
以上説明したように、本実施の形態では、輻輳限界を複数設定し、輻輳限界に応じて廃棄するフレームのフレーム長閾値を変動させることとしたため、輻輳状態に合わせたフレーム長のフレームから廃棄することができ、より効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、輻輳限界を3段階設けたが、輻輳限界を複数設ければ本発明の目的は達成できる。
【0021】
(実施の形態4)
フレーム処理装置の輻輳監視回路は輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断する。本実施の形態では、輻輳限界を複数段階設定した上で、ネットワークの輻輳が各段階の輻輳限界に達すると、フレームを廃棄する廃棄確率を変動させる。図8に輻輳状態に対する廃棄確率の例を示す。図8において、輻輳限界をC1からC3まで3段階設定する。但し、輻輳限界C1、C2、C3の順で輻輳状態が悪化している。フレーム処理装置の輻輳がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界C1からC3まで3段階を判断して、フレームを廃棄確率に従って廃棄する。輻輳限界がC1までは廃棄確率は零とし、輻輳限界がC1を超えると廃棄確率はP1、輻輳限界がC2を超えると廃棄確率はP2、輻輳限界がC3を超えると廃棄確率はP3と輻輳状態の悪化に応じて高くする。但し、P1<P2<P3である。このように輻輳限界を複数設定することにより、輻輳状態の悪化に応じてフレームの廃棄確率を高くすることができる。
【0022】
以上説明したように、本実施の形態では、輻輳限界を複数設定し、輻輳限界に応じて廃棄するフレームの廃棄確率を変動させることとしたため、輻輳状態の悪化に合わせてフレームの廃棄確率を高くすることができ、より効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、輻輳限界を3段階設けたが、輻輳限界を複数設ければ本発明の目的は達成できる。
【0023】
(実施の形態5)
フレーム処理装置の輻輳監視回路は輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断する。本実施の形態では、輻輳状態の悪化に応じてフレームの廃棄確率を高くし、さらに、フレーム長閾値を複数設定して、フレーム長閾値毎に輻輳限界を設定する。図9にフレーム長閾値をパラメターにして輻輳状態に対する廃棄確率を示す。図9において、輻輳限界をC1からC3まで3段階設定する。但し、輻輳限界C1、C2、C3の順で輻輳状態が悪化している。フレーム処理装置の輻輳監視回路がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界C1からC3まで3段階を判断して、フレームを廃棄確率に従って廃棄する。フレーム長がL1より長くL2以下のフレームに対しては、輻輳限界がC2までは廃棄確率は零とし、輻輳限界がC2を超えると廃棄確率はP1、輻輳限界がC3を超えると廃棄確率はP2と輻輳状態の悪化に応じて高くする。フレーム長がL2より長いフレームに対しては、輻輳限界がC1までは廃棄確率は零とし、輻輳限界がC1を超えると廃棄確率はP1、輻輳限界がC2を超えると廃棄確率はP2と輻輳状態の悪化に応じて高くする。但し、L1<L2であり、P1<P2<P3である。このように輻輳限界を複数設定することにより、輻輳状態の悪化に応じてフレームの廃棄確率を高くすることができ、且つフレームの長さに応じて輻輳限界を設定することができる。
【0024】
以上説明したように、本実施の形態では、輻輳状態の悪化に応じてフレームの廃棄確率を高くし、さらに、フレーム長閾値に応じて輻輳限界を設定したため、より一層効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、輻輳限界を3段階設けたが、輻輳限界を複数設ければ本発明の目的は達成できる。
【0025】
(実施の形態6)
本実施の形態では、フレーム処理装置の輻輳監視回路が輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断して、設定の範囲のフレーム長を有するフレームを予め設定した廃棄確率に従って廃棄する。図10に設定の範囲のフレーム長を有するフレームに対する廃棄確率の例を示す。図10において、フレーム長をF1からF3まで規定する。但し、F1<F2<F3である。フレーム処理装置の輻輳監視回路がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断して、フレームを廃棄確率に従って廃棄する。フレーム長がF1までは廃棄確率は零とし、フレーム長がF1を超えてF2までの範囲は廃棄確率はP1、フレーム長がF2を超えてF3までの範囲は廃棄確率は零、フレーム長がF3を超えると廃棄確率はP2とする。但し、P1<P2<P3である。このように特定の範囲のフレーム長を有するフレームに対して廃棄確率を設定することによって、特定のフレーム長に対して一定の性質を持つフレームを狙って廃棄したり通過させたりすることができる。
【0026】
以上説明したように、本実施の形態では、フレーム処理装置がネットワークの輻輳状態を監視し、輻輳限界の検知により設定の範囲のフレーム長を有するフレームを予め設定した廃棄確率に従って廃棄するため、フレーム処理装置の処理速度を落とすことなく、一定の性質を持つフレームの廃棄確率を設定することによって、ネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、フレーム長の範囲を3段階にしたが、フレーム長の範囲を複数設ければ本発明の目的は達成できる。
【0027】
(実施の形態7)
フレーム処理装置の輻輳監視回路が輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断して、設定の範囲のフレーム長を有するフレームを予め設定した廃棄確率に従って廃棄する。さらに、輻輳限界に応じて廃棄確率を変動させる。図11に輻輳限界をパラメターにしてフレーム長に対する廃棄確率を示す。図11において、フレーム長をF1からF3まで3段階設定する。但し、F1<F2<F3である。フレーム処理装置がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界C1と判断して、フレームを廃棄確率に従って廃棄する。フレーム長がF1までは廃棄確率は零とし、フレーム長がF1を超えてF2までの範囲は廃棄確率はP1、フレーム長がF2を超えてF3までの範囲は廃棄確率は零、フレーム長がF3を超えると廃棄確率はP2とする。さらに、予め規定している輻輳状態が輻輳限界C2になると、フレーム長がF1までは廃棄確率は零とし、フレーム長がF1を超えてF2までの範囲は廃棄確率はP2、フレーム長がF2を超えてF3までの範囲は廃棄確率はP1、フレーム長がF3を超えると廃棄確率はP3に変動させる。但し、P1<P2<P3である。
【0028】
このように特定の範囲のフレーム長を有するフレームに対して廃棄確率を設定することによって、特定のフレーム長に対して一定の性質を持つフレームを狙って廃棄したり通過させたりすることができる。さらに、輻輳限界を複数設定することにより、輻輳状態の悪化に応じて、且つフレームの長さに応じてフレームの廃棄確率を変動することができる。
【0029】
以上説明したように、本実施の形態では、フレーム処理装置がネットワークの輻輳状態を監視し、輻輳限界の検知により設定の範囲のフレーム長を有するフレームを廃棄確率に従って、さらに、輻輳限界に応じて廃棄確率を変動させることとしたため、輻輳状態に合わせてフレームの廃棄確率を高くすることができ、より一層効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、フレーム長の範囲を3段階に、輻輳限界を2段階にしたが、フレーム長の範囲、輻輳限界をそれぞれ複数設ければ本発明の目的は達成できる。
【0030】
(実施の形態8)
フレーム処理装置の輻輳監視回路は輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断する。輻輳限界と判断すると、設定した廃棄確率に従ってフレーム長閾値を超えたフレームを廃棄する。本実施の形態では、輻輳限界と廃棄確率を複数設定し、輻輳状態が悪化したときに廃棄確率を設定範囲内で最も高くし、その後、輻輳限界に応じた減衰率で、輻輳限界に対応する廃棄確率まで減少させる。時間と共に変動する輻輳限界の例を図12(a)に、輻輳限界に応じて時間と共に変動させる廃棄確率の例を図12(b)に示す。図12(a)において、輻輳限界をC1からC3まで3段階設定する。但し、輻輳限界C1、C2、C3の順で輻輳状態が悪化している。フレーム処理装置の輻輳監視回路がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界C1からC3まで3段階を判断する。図12(a)のT1において輻輳限界C1を検知すると、図12(b)のT1では廃棄確率を設定範囲内で最も高いP3とし、その後、輻輳限界に応じた減衰率で、輻輳限界に対応する廃棄確率まで減少させる。ここでは、T1からT2までは輻輳限界C1のため、1グリッドで廃棄確率P1まで減少させている。図12(a)のT5において輻輳限界がC2からC1に改善したことを検知すると、図12(b)のT5からT6までは輻輳限界C1のため、1グリッドで廃棄確率P1まで減少させている。但し、C1<C2<C3であり、P1<P2<P3である。このように輻輳限界を複数設定し、輻輳状態の悪化に応じてフレームの廃棄確率を設定範囲内で最も高くすると、急激な輻輳に対応することができる。
【0031】
以上説明したように、本実施の形態では、輻輳限界を複数設定し、輻輳状態の悪化により廃棄するフレームの廃棄確率を設定範囲内で最も高くすることとしたため、急激な輻輳にも対応することができ、より効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、輻輳限界と廃棄確率を3段階設けたが、輻輳限界と廃棄確率を複数設ければ本発明の目的は達成できる。
【0032】
(実施の形態9)
フレーム処理装置の輻輳監視回路は輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界と判断する。輻輳限界と判断すると、設定した廃棄確率に従ってフレーム長閾値を超えたフレームを廃棄する。本実施の形態では、検知した前記輻輳限界に応じてフレームを廃棄する期間の頻度を変動させる。時間と共に変動する輻輳状態の例を図13(a)に、輻輳限界に対する廃棄確率の例を図13(b)に示す。図13(a)において、輻輳限界をC1からC3まで3段階設定する。但し、輻輳限界C1、C2、C3の順で輻輳状態が悪化している。フレーム処理装置の輻輳監視回路がネットワークの輻輳状態を監視し、予め規定している輻輳状態になったときに輻輳限界C1からC3まで3段階を判断する。図13(a)のT1において輻輳限界を検知すると、図13(b)のT1では廃棄確率をP1とし、一定期間後、廃棄確率を零に戻す。一定期間だけ廃棄確率をP1とする頻度を輻輳限界の段階に応じて変動させる。例えば、図13(a)のT1において輻輳限界がC1に変動したことを検知すると、図13(b)のT1からT2までの1グリッド期間内で1度だけ廃棄確率をP1に設定している。図13(a)のT3において輻輳限界がC2に変動したことを検知すると、図13(b)のT3からT4までの1グリッド期間内で2度廃棄確率をP1に設定している。このように輻輳限界を複数設定し、輻輳限界に応じてフレームの廃棄確率を急激に変動させると、簡単な制御で急激な輻輳に対応することができる。
【0033】
以上説明したように、本実施の形態では、輻輳限界を複数設定し、輻輳限界に応じてフレームの廃棄確率を急激に変動させるため、急激な輻輳にも対応することができ、簡単な制御でより効果的にネットワーク間を伝送するデータ伝送の伝搬遅延ジッタを抑圧することができた。
ここでは、輻輳限界を3段階設けたが、輻輳限界を1段階とすれば、固定的な頻度となり、複数段階設ければ可変頻度とすることができる。
【0034】
(実施の形態10)
本実施の形態では、ネットワークの輻輳状態を監視する方法について説明する。ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数若しくは時間当たりのビット数のいずれか又は双方から輻輳状態を監視する。
時間に対してネットワークからフレーム処理装置へ流入する時間当たりのフレーム数の例を図14(a)に示す。図14(a)において、例えば、時間T2でネットワークからフレーム処理装置へ流入する時間当たりのフレーム数がN1を超えると、輻輳限界はC1と判断し、時間T3で時間当たりのフレーム数がN2を超えると、輻輳限界はC2と判断する。このように、ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数が瞬間的な輻輳に結びつきやすく、当該フレーム数をカウントすることによって、フレーム処理装置の処理限界を超えて輻輳が発生することを監視することができる。
【0035】
以上説明したように、ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数からネットワークの輻輳状態を監視することにより、簡単な構成で輻輳限界を検知することができた。
【0036】
他の実施の形態では、フレーム処理待ちのフレーム数若しくはビット数のいずれか又は双方から前記輻輳状態を監視するものである。
時間に対してフレーム処理装置におけるフレーム処理待ちのフレーム数の例を図14(b)に示す。図14(b)において、例えば、時間T3でフレーム処理待ちのフレーム数がN1を超えると、輻輳限界はC1と判断し、時間T6でフレーム処理待ちのフレーム数がN2を超えると、輻輳限界はC2と判断する。このように、フレーム処理装置におけるフレーム処理待ちのフレーム数が長期的な輻輳に結びつきやすく、当該フレーム数をカウントすることによって、フレーム処理装置の処理限界を超えて輻輳が発生することを簡単に監視することができる。
【0037】
以上説明したように、フレーム処理装置におけるフレーム処理待ちのフレーム数からネットワークの輻輳状態を監視することにより、輻輳限界を検知することができた。
【0038】
他の実施の形態では、ネットワークからフレーム処理装置へ流入する時間当たりのフレームとフレーム処理装置でフレーム処理する時間当たりのフレーム数の差分から輻輳状態を監視するものである。
時間に対してネットワークからフレーム処理装置へ流入する時間当たりのフレーム数とフレーム処理装置でフレーム処理する時間当たりのフレーム数の例を図15(a)、図15(b)に示す。図15(a)は、ネットワークからフレーム処理装置に流入する時間当たりのフレームとフレーム処理装置でフレーム処理する時間当たりのフレーム数を示したものである。図15(b)はネットワークからフレーム処理装置に流入する時間当たりのフレームとフレーム処理装置でフレーム処理する時間当たりのフレーム数の差分を示したものである。図15(b)において、例えば、時間T3でフレーム数の差分がN1を超えると、輻輳限界はC1と判断し、時間T7でフレーム数の差分がN2を超えると、輻輳限界はC2と判断する。ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数とフレーム処理装置で処理する時間当たりのフレーム数の差分がネットワークの輻輳に結びつきやすく、当該差分を輻輳状態の目安として監視すれば、効率的なフレーム処理の制御ができる。ここで、フレーム処理装置で処理する時間当たりのフレーム数とは、フレーム処理装置の処理能力で決定される時間当たりのフレーム数とフレーム処理装置の幹線ネットワーク側の通信容量で決定される時間当たりのフレーム数とのいずれか低い方をいう。
【0039】
以上説明したように、ネットワークからフレーム処理装置へ流入する時間当たりのフレーム数とフレーム処理装置で処理する時間当たりのフレーム数の差分からネットワークの輻輳状態を監視することにより、輻輳限界を検知することができた。
【0040】
なお、ネットワークの輻輳がフレーム処理装置で処理するフレーム数に依存する場合は、フレーム数から輻輳状態を監視すれば効果的である。ネットワークの輻輳がフレーム数に依存せず、ビット数、即ち、フレーム長とフレーム数の積の合算に依存する場合は、ビット数から輻輳状態を監視すれば効果的である。ネットワークの輻輳がフレーム数のみならずフレーム長にも依存する場合は、例えば係数を掛けたフレーム数とビット数の加算から輻輳状態を監視すれば効果的である。
【0041】
【発明の効果】
以上説明したように、本発明によればネットワークを接続するフレーム処理装置においてレイヤ2で輻輳状態を監視し、範囲外のフレーム長を有するフレームを確率的に廃棄することによって簡単な構成でフレームを処理することが可能となる。
【図面の簡単な説明】
【図1】ネットワークの構成を説明する図である。
【図2】従来のフレーム処理装置の構成を説明する図である。
【図3】ネットワークで使用されるフレーム構造を説明する図である。
【図4】本発明のフレーム処理装置の構成を説明する図である。
【図5】フレーム長閾値を超えたフレームを廃棄確率に従って廃棄する状況を説明する図である。
【図6】本発明のフレーム長閾値に対する廃棄確率の例を説明する図である。
【図7】本発明の輻輳状態に対するフレーム長閾値の例を説明する図である。
【図8】本発明の輻輳状態に対する廃棄確率の例を説明する図である。
【図9】本発明のフレーム長閾値をパラメターにして輻輳状態に対する廃棄確率の例を説明する図である。
【図10】本発明の特定のフレーム長を有するフレームに対する廃棄確率の例を説明する図である。
【図11】本発明の輻輳限界をパラメターにしてフレーム長に対する廃棄確率の例を説明する図である。
【図12】(a)時間と共に変動する輻輳状態の例の例を説明する図である。
(b)本発明の輻輳限界に対する廃棄確率の例を説明する図である。
【図13】(a)時間と共に変動する輻輳状態の例を
(b)本発明の輻輳限界に対する廃棄確率の例を説明する図である。
【図14】(a)時間に対してネットワークからフレーム処理装置へ流入するフレーム数の例を説明する図である。
(b)時間に対してフレーム処理装置におけるフレーム処理待ちのフレーム数の例を説明する図である。
【図15】(a)時間に対してフレーム処理装置に流入するフレーム数とフレーム処理装置でフレーム処理するフレーム数の例を説明する図である。
(b)ネットワークからフレーム処理装置に流入するフレームとフレーム処理装置でフレーム処理するフレーム数の差分の例を説明する図である。
【符号の説明】
10:フレーム処理装置
11:レイヤ1受信インタフェース
12:レイヤ2受信インタフェース
13:バッファ
14:スイッチ回路
15:輻輳監視回路
16:フレーム選別回路
17:レイヤ2送信インタフェース
18:レイヤ1送信インタフェース
80:フレーム処理装置
81:レイヤ1受信インタフェース
82:レイヤ2受信インタフェース
83:バッファ
84:スイッチ回路
85:優先度読み取り装置
86:フレーム廃棄回路
87:レイヤ2送信インタフェース
88:レイヤ1送信インタフェース
90:ルータ
91:支線ネットワーク
92:幹線ネットワーク
93:端末[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention belongs to a frame processing method or a frame processing device for avoiding congestion in data relay in a network such as a LAN (Local Area Network) or between networks.
[0002]
[Prior art]
In many of current LANs (Local Area Networks), a plurality of branch networks are connected to a main network via a frame processing device such as a bridge or a switch. FIG. 1 shows a configuration of a LAN. In FIG. 1, reference numeral 80 denotes a frame processing device, 90 denotes a router, 91 denotes a branch line network, 92 denotes a trunk line network, and 93 denotes a terminal. The branch line network 91 and the trunk line network 92 are connected via a frame processing device 80. A plurality of terminals 93 accommodated in the branch line network 91 are connected to the router 90 by these networks.
[0003]
FIG. 2 shows a configuration of a conventional frame processing device 80 to which the 10B-T standard is applied. 2, reference numeral 80 denotes a frame processing apparatus, 81 denotes a layer 1 reception interface, 82 denotes a
[0004]
When data of the number of frames or the number of bits exceeding the processing capability of the frame processing device 80 flows into the frame processing device 80 from the network, a congestion state occurs. There are various types of data input to the frame processing device 80, such as data that is sensitive to delay and data that is sensitive to missing data. Therefore, in the conventional frame processing device, data that is not sensitive to delay is determined from the information written in the frame structure, and such a frame is actively discarded (for example, see Non-Patent Document 1). FIG. 3 shows a frame structure. In FIG. 3, DA (Destination Address) is the destination of the frame, SA (Source Address) is the source of the frame, VLAN (Virtual LAN) is a control signal required for the virtual LAN, PL (Pay Loader) is information to be transmitted, FCS (Frame Check Sequence) represents an error detection signal. In the 10B-T standard, a priority for processing a frame preferentially is written in a VLAN. The frame processing device uses this priority to determine delay-sensitive data, and processes the frame with priority to deal with a congestion state.
[0005]
[Non-patent document 1]
Chapter 8.7 of IEEE Standard 802.1Q, "IEEE Standards for Local and Metropolitan Area Networks-Virtual Bridged Local Area Networks, Date of Search, April 1998, August 9, 1998, April 14, 1999 Internet <URL: http: // standards. ieee. org / getieee802 / download / 802.1Q-1998. pdf>
[0006]
[Problems to be solved by the invention]
However, the same priority may be given to frames even if the properties of the data are different. According to the 10B-T standard, it is not possible to give priority to a specific frame with respect to a competing frame. In such a case, priority processing of selecting a frame using information of layer 3 or more can be performed, but processing using information of layer 3 or more increases the load, and may rather reduce the processing speed. .
SUMMARY OF THE INVENTION In order to solve such a problem, an object of the present invention is to monitor a congestion state in
[0007]
[Means for Solving the Problems]
In order to achieve the above-described object, the present invention provides a
[0008]
In the present invention, the plurality of frame length thresholds are set, the discard probability is set according to the frame length threshold, the plurality of congestion limits are set, and the frame length threshold is changed according to the congestion limit. Is also included.
[0009]
Also, another invention of the present application is a
[0010]
In the invention of the present application, in these inventions, the plurality of congestion limits are set, and the discard probability is varied according to the congestion limit.The plurality of congestion limits are set, and the discard probability is set when the congestion state deteriorates. The highest in the set range, then, at an attenuation rate according to the congestion limit, to reduce to the drop probability corresponding to the congestion limit, to vary the frequency of the period to discard the frame according to the detected congestion limit It is also included.
[0011]
In the present invention, monitoring the congestion state from either or both of the number of frames per time or the number of bits per time flowing into the frame processing device from the network, any one of the number of frames or the number of bits waiting for frame processing or Monitoring the congestion state from both sides, the difference between the number of frames per time flowing into the frame processing device from the network and the number of frames per frame processing time by the frame processing device, or the time flowing into the frame processing device from the network Monitoring the congestion state from one or both of the difference between the number of bits per unit and the number of bits per unit time of frame processing by the frame processing device is also included.
These components can be combined as much as possible.
[0012]
In the present application, the congestion limit refers to a congestion state of a network serving as a reference for discarding a frame, and in some cases, defines a plurality of congestion limits. The frame length threshold refers to a frame length serving as a reference for discarding a frame. In some cases, a plurality of frame length thresholds are defined. The discard probability refers to a probability of discarding a frame, and defines a plurality of discard probabilities in some cases. Waiting for frame processing means a state stored in the frame processing device for performing frame processing.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
(Embodiment 1)
FIG. 4 shows the configuration of the frame processing device of the present invention. 4, reference numeral 10 denotes a frame processing device, 11 denotes a layer 1 reception interface, 12 denotes a
[0014]
When data is input from the network, the layer 1 receiving interface 11 performs a receiving process on the received frame with respect to the physical layer, and the
[0015]
FIGS. 5A and 5B show a situation in which a frame exceeding the frame length threshold is discarded according to the discard probability. FIG. 5A shows data input / output when the congestion limit is not reached, and FIG. 5B shows data input / output when the congestion limit is reached. In FIG. 5A, a frame A, a frame B, a frame C, and a frame D are input, but all the frames are output without being discarded. In FIG. 5B, when the congestion monitoring circuit monitoring the congestion state determines that the congestion limit is reached, the frame exceeding the frame length threshold is discarded according to the discard probability. For example, when the frame B and the frame D out of the frame A, the frame B, the frame C, and the frame D exceed the frame length threshold, the frame B is discarded but the frame D is passed without discarding according to the discard probability. .
[0016]
As described above, in the present embodiment, the frame processing device monitors the network congestion state, and discards a frame exceeding the frame length threshold by detecting the congestion limit according to the discard probability. The transmission delay jitter of data transmission transmitted between networks could be suppressed without lowering the transmission delay.
[0017]
(Embodiment 2)
In the present embodiment, a plurality of frame length thresholds of frames to be discarded are set, and a discard probability of discarding frames is set according to the frame length thresholds. FIG. 6 shows an example of the discard probability with respect to the frame length threshold. In FIG. 6, the frame length threshold is L 1 To L 3 Set up to three levels. Where L 1 <L 2 <L 3 It is. The frame processing device monitors the congestion state of the network, determines that the congestion limit is reached when a predetermined congestion state is reached, and discards the frame according to the discard probability. Frame length is L 1 Until the drop probability is zero, the frame length is L 1 Exceeds, the drop probability is P 1 , The frame length is L 2 Exceeds, the drop probability is P 2 , The frame length is L 3 Exceeds, the drop probability is P 3 And Where P 1 <P 2 <P 3 It is. By setting a plurality of frame length thresholds in this way, the longer the frame, the higher the discard probability.
[0018]
As described above, in the present embodiment, a plurality of frame length thresholds are set, and the discard probability is set according to the frame length threshold. Therefore, the longer the frame, the higher the discard probability, and the more effective the transmission between networks. The transmission delay jitter of data transmission can be suppressed.
Here, the frame length threshold is provided in three stages, but the object of the present invention can be achieved by providing a plurality of frame length thresholds.
[0019]
(Embodiment 3)
The congestion monitoring circuit of the frame processing device monitors the congestion state, and determines that the congestion limit is reached when a predetermined congestion state occurs. In the present embodiment, after setting the congestion limit at a plurality of levels, when the network congestion reaches the congestion limit at each level, the frame length threshold of the frame to be discarded is changed. FIG. 7 shows an example of the frame length threshold with respect to the congestion limit. In FIG. 7, the congestion limit is C 1 To C 3 Up to three levels. However, the congestion limit C 1 , C 2 , C 3 The congestion state is getting worse in this order. The congestion monitoring circuit of the frame processing device monitors the network congestion state, and when a predetermined congestion state occurs, the congestion limit C 1 To C 3 Up to three steps are determined, and the frame is discarded according to the drop probability. Congestion limit is C 1 Up to the frame length threshold L 4 And the congestion limit is C 1 Exceeds the frame length threshold L 3 , The congestion limit is C 2 Exceeds the frame length threshold L 2 , The congestion limit is C 3 Exceeds the frame length threshold L 1 And the frame length threshold is shortened in accordance with the deterioration of the congestion state. Where L 1 <L 2 <L 3 <L 4 It is. By setting a plurality of congestion limits in this way, it is possible to change the frame length of a frame to be discarded from a long frame length to a short frame length according to the congestion state.
[0020]
As described above, in the present embodiment, a plurality of congestion limits are set, and the frame length threshold of a frame to be discarded is changed according to the congestion limit. As a result, the propagation delay jitter of data transmission for transmitting data between networks can be suppressed more effectively.
Here, the congestion limit is provided in three stages, but the object of the present invention can be achieved by providing a plurality of congestion limits.
[0021]
(Embodiment 4)
The congestion monitoring circuit of the frame processing device monitors the congestion state, and determines that the congestion limit is reached when a predetermined congestion state occurs. In the present embodiment, after setting the congestion limit in a plurality of stages, when the network congestion reaches the congestion limit in each stage, the discard probability of discarding the frame is changed. FIG. 8 shows an example of the drop probability for the congestion state. In FIG. 8, the congestion limit is C 1 To C 3 Up to three levels. However, the congestion limit C 1 , C 2 , C 3 The congestion state is getting worse in this order. The congestion of the frame processing device monitors the congestion state of the network, and when a predetermined congestion state is reached, the congestion limit C 1 To C 3 Up to three steps are determined, and the frame is discarded according to the drop probability. Congestion limit is C 1 Until the drop probability is zero, the congestion limit is C 1 Exceeds, the drop probability is P 1 , The congestion limit is C 2 Exceeds, the drop probability is P 2 , The congestion limit is C 3 Exceeds, the drop probability is P 3 And according to the deterioration of the congestion state. Where P 1 <P 2 <P 3 It is. By setting a plurality of congestion limits in this way, it is possible to increase the probability of discarding a frame according to the deterioration of the congestion state.
[0022]
As described above, in the present embodiment, a plurality of congestion limits are set, and the discard probability of a frame to be discarded is changed according to the congestion limit. Thus, the propagation delay jitter of data transmission transmitted between networks can be suppressed more effectively.
Here, the congestion limit is provided in three stages, but the object of the present invention can be achieved by providing a plurality of congestion limits.
[0023]
(Embodiment 5)
The congestion monitoring circuit of the frame processing device monitors the congestion state, and determines that the congestion limit is reached when a predetermined congestion state occurs. In this embodiment, the probability of discarding a frame is increased in accordance with the deterioration of the congestion state, a plurality of frame length thresholds are set, and a congestion limit is set for each frame length threshold. FIG. 9 shows a discard probability in a congestion state using the frame length threshold as a parameter. In FIG. 9, the congestion limit is C 1 To C 3 Up to three levels. However, the congestion limit C 1 , C 2 , C 3 The congestion state is getting worse in this order. The congestion monitoring circuit of the frame processing device monitors the network congestion state, and when a predetermined congestion state occurs, the congestion limit C 1 To C 3 Up to three steps are determined, and the frame is discarded according to the drop probability. Frame length is L 1 Longer L 2 For the following frames, the congestion limit is C 2 Until the drop probability is zero, the congestion limit is C 2 Exceeds, the drop probability is P 1 , The congestion limit is C 3 Exceeds, the drop probability is P 2 And according to the deterioration of the congestion state. Frame length is L 2 For longer frames, the congestion limit is C 1 Until the drop probability is zero, the congestion limit is C 1 Exceeds, the drop probability is P 1 , The congestion limit is C 2 Exceeds, the drop probability is P 2 And according to the deterioration of the congestion state. Where L 1 <L 2 And P 1 <P 2 <P 3 It is. By setting a plurality of congestion limits in this manner, the probability of discarding a frame can be increased in accordance with the deterioration of the congestion state, and the congestion limit can be set in accordance with the length of the frame.
[0024]
As described above, in the present embodiment, the probability of discarding a frame is increased in accordance with the deterioration of the congestion state, and furthermore, the congestion limit is set in accordance with the frame length threshold, so that transmission between networks is more effectively performed. The transmission delay jitter of data transmission can be suppressed.
Here, the congestion limit is provided in three stages, but the object of the present invention can be achieved by providing a plurality of congestion limits.
[0025]
(Embodiment 6)
In the present embodiment, the congestion monitoring circuit of the frame processing apparatus monitors the congestion state, determines that the congestion limit is reached when a predetermined congestion state is reached, and sets a frame having a frame length within a set range in advance. Discard according to the set discard probability. FIG. 10 shows an example of a discard probability for a frame having a frame length in a set range. In FIG. 10, the frame length is F 1 To F 3 Up to Where F 1 <F 2 <F 3 It is. The congestion monitoring circuit of the frame processing device monitors the congestion state of the network, determines that the congestion limit is reached when a predetermined congestion state is reached, and discards the frame according to the discard probability. Frame length is F 1 Until the discard probability is zero, and the frame length is F 1 Beyond F 2 Up to P 1 , Frame length is F 2 Beyond F 3 In the range up to, the drop probability is zero and the frame length is F 3 Exceeds, the drop probability is P 2 And Where P 1 <P 2 <P 3 It is. By setting the discard probability for a frame having a specific range of frame length in this manner, a frame having a certain property with respect to a specific frame length can be discarded or passed.
[0026]
As described above, in the present embodiment, the frame processing device monitors the congestion state of the network, and discards a frame having a frame length within a set range by detecting a congestion limit according to a preset discard probability. By setting the discard probability of a frame having a certain property without reducing the processing speed of the processing device, it was possible to suppress the propagation delay jitter of data transmission transmitted between networks.
Here, the range of the frame length is set to three levels, but the object of the present invention can be achieved by providing a plurality of ranges of the frame length.
[0027]
(Embodiment 7)
The congestion monitoring circuit of the frame processing device monitors the congestion state, judges the congestion limit when a predetermined congestion state is reached, and discards a frame having a frame length within a set range according to a predetermined discard probability. I do. Further, the drop probability is changed according to the congestion limit. FIG. 11 shows the drop probability with respect to the frame length using the congestion limit as a parameter. In FIG. 11, the frame length is F 1 To F 3 Up to three levels. Where F 1 <F 2 <F 3 It is. The frame processing apparatus monitors the network congestion state, and when a predetermined congestion state occurs, the congestion limit C 1 And discard the frame according to the drop probability. Frame length is F 1 Until the discard probability is zero, and the frame length is F 1 Beyond F 2 Up to P 1 , Frame length is F 2 Beyond F 3 In the range up to, the drop probability is zero and the frame length is F 3 Exceeds, the drop probability is P 2 And Further, the predetermined congestion state is the congestion limit C 2 Becomes, the frame length becomes F 1 Until the discard probability is zero, and the frame length is F 1 Beyond F 2 Up to P 2 , Frame length is F 2 Beyond F 3 Up to P 1 , Frame length is F 3 Exceeds, the drop probability is P 3 To fluctuate. Where P 1 <P 2 <P 3 It is.
[0028]
By setting the discard probability for a frame having a specific range of frame length in this manner, a frame having a certain property with respect to a specific frame length can be discarded or passed. Further, by setting a plurality of congestion limits, it is possible to change the frame drop probability according to the deterioration of the congestion state and according to the length of the frame.
[0029]
As described above, in the present embodiment, the frame processing device monitors the network congestion state, and detects a frame having a frame length within a set range by detecting the congestion limit, according to the drop probability, and further according to the congestion limit. Since the drop probability is varied, the drop probability of the frame can be increased in accordance with the congestion state, and the propagation delay jitter of data transmission transmitted between networks can be suppressed more effectively.
Here, the frame length range is set to three levels and the congestion limit is set to two levels. However, the object of the present invention can be achieved by providing a plurality of frame length ranges and multiple congestion limits.
[0030]
(Embodiment 8)
The congestion monitoring circuit of the frame processing device monitors the congestion state, and determines that the congestion limit is reached when a predetermined congestion state occurs. If it is determined that the congestion limit is reached, the frame exceeding the frame length threshold is discarded according to the set discard probability. In the present embodiment, a plurality of congestion limits and discard probabilities are set, and when the congestion state deteriorates, the discard probability is set to the highest value within the set range. Reduce to probability of discard. FIG. 12A shows an example of the congestion limit that varies with time, and FIG. 12B shows an example of the discard probability that varies with time according to the congestion limit. In FIG. 12A, the congestion limit is C 1 To C 3 Up to three levels. However, the congestion limit C 1 , C 2 , C 3 The congestion state is getting worse in this order. The congestion monitoring circuit of the frame processing device monitors the network congestion state, and when a predetermined congestion state occurs, the congestion limit C 1 To C 3 Judge up to three steps. T in FIG. 1 Congestion limit C 1 Is detected, T in FIG. 1 Then, set the drop probability to the highest P in the set range. 3 After that, at the attenuation rate according to the congestion limit, it is reduced to the discard probability corresponding to the congestion limit. Here, T 1 To T 2 Until the congestion limit C 1 Therefore, the discard probability P in one grid 1 Has been reduced. T in FIG. 5 Congestion limit is C 2 To C 1 When it is detected that the temperature has been improved, T in FIG. 5 To T 6 Until the congestion limit C 1 Therefore, the discard probability P in one grid 1 Has been reduced. Where C 1 <C 2 <C 3 And P 1 <P 2 <P 3 It is. By setting a plurality of congestion limits in this way and setting the frame discard probability to be the highest within the set range according to the deterioration of the congestion state, it is possible to cope with rapid congestion.
[0031]
As described above, in the present embodiment, a plurality of congestion limits are set, and the probability of discarding a frame to be discarded due to deterioration of the congestion state is set to be the highest within the set range. Thus, the propagation delay jitter of data transmission for transmitting data between networks can be suppressed more effectively.
Here, the congestion limit and the discard probability are provided in three stages, but the object of the present invention can be achieved by providing a plurality of congestion limits and discard probabilities.
[0032]
(Embodiment 9)
The congestion monitoring circuit of the frame processing device monitors the congestion state, and determines that the congestion limit is reached when a predetermined congestion state occurs. If it is determined that the congestion limit is reached, the frame exceeding the frame length threshold is discarded according to the set discard probability. In the present embodiment, the frequency of the frame discarding period is changed according to the detected congestion limit. FIG. 13A shows an example of a congestion state that fluctuates with time, and FIG. 13B shows an example of a drop probability with respect to a congestion limit. In FIG. 13A, the congestion limit is C 1 To C 3 Up to three levels. However, the congestion limit C 1 , C 2 , C 3 The congestion state is getting worse in this order. The congestion monitoring circuit of the frame processing device monitors the network congestion state, and when a predetermined congestion state occurs, the congestion limit C 1 To C 3 Judge up to three steps. T in FIG. 13 (a) 1 When the congestion limit is detected at T, 1 Then, the discard probability is P 1 After a certain period, the discard probability is returned to zero. P for a certain period 1 Is changed according to the stage of the congestion limit. For example, T in FIG. 1 Congestion limit is C 1 When it is detected that the time has changed, T in FIG. 1 To T 2 P is determined only once within one grid period up to 1 Is set to T in FIG. 13 (a) 3 Congestion limit is C 2 When it is detected that the time has changed, T in FIG. 3 To T 4 The probability of discarding twice within one grid period up to P 1 Is set to By setting a plurality of congestion limits in this way and rapidly changing the frame discarding probability in accordance with the congestion limit, it is possible to cope with sudden congestion with simple control.
[0033]
As described above, in the present embodiment, a plurality of congestion limits are set, and the drop probability of a frame is rapidly changed in accordance with the congestion limit. Propagation delay jitter of data transmission transmitted between networks could be suppressed more effectively.
Here, the congestion limit is provided in three stages, but if the congestion limit is one stage, the frequency becomes fixed, and if it is provided in a plurality of stages, the frequency becomes variable.
[0034]
(Embodiment 10)
In the present embodiment, a method for monitoring a network congestion state will be described. The congestion state is monitored from either or both of the number of frames per time and the number of bits per time flowing into the frame processing device from the network.
FIG. 14A shows an example of the number of frames per time flowing into the frame processing device from the network with respect to time. In FIG. 14A, for example, the time T 2 And the number of frames per time flowing from the network to the frame processing device is N 1 , The congestion limit is C 1 Time T 3 And the number of frames per hour is N 2 , The congestion limit is C 2 Judge. As described above, the number of frames per time flowing into the frame processing device from the network is easily linked to instantaneous congestion, and by counting the number of frames, it is possible to exceed the processing limit of the frame processing device and cause congestion to occur. Can be monitored.
[0035]
As described above, by monitoring the congestion state of the network from the number of frames per time flowing into the frame processing device from the network, the congestion limit can be detected with a simple configuration.
[0036]
In another embodiment, the congestion state is monitored from either or both of the number of frames waiting for frame processing and the number of bits.
FIG. 14B shows an example of the number of frames waiting for frame processing in the frame processing device with respect to time. In FIG. 14B, for example, the time T 3 And the number of frames waiting for frame processing is N 1 , The congestion limit is C 1 Time T 6 And the number of frames waiting for frame processing is N 2 , The congestion limit is C 2 Judge. As described above, the number of frames waiting for frame processing in the frame processing device easily leads to long-term congestion, and by counting the number of frames, it is possible to easily monitor occurrence of congestion beyond the processing limit of the frame processing device. can do.
[0037]
As described above, the congestion limit can be detected by monitoring the network congestion state from the number of frames waiting for frame processing in the frame processing device.
[0038]
In another embodiment, the congestion state is monitored from the difference between the number of frames per time flowing into the frame processing device from the network and the number of frames per time processed by the frame processing device.
FIGS. 15A and 15B show examples of the number of frames per time flowing into the frame processing device from the network with respect to time and the number of frames per time processed by the frame processing device. FIG. 15A shows the frames per time flowing into the frame processing device from the network and the number of frames per time when the frame processing device performs frame processing. FIG. 15B shows the difference between the number of frames per time flowing into the frame processing device from the network and the number of frames per time frame processed by the frame processing device. In FIG. 15B, for example, the time T 3 And the difference in the number of frames is N 1 , The congestion limit is C 1 Time T 7 And the difference in the number of frames is N 2 , The congestion limit is C 2 Judge. The difference between the number of frames per time flowing into the frame processing device from the network and the number of frames per time processed by the frame processing device easily leads to network congestion. Can control frame processing. Here, the number of frames per time processed by the frame processing device is defined as the number of frames per time determined by the processing capacity of the frame processing device and the number of frames per time determined by the communication capacity of the frame processing device on the trunk network side. The lower of the number of frames.
[0039]
As described above, detecting the congestion limit by monitoring the network congestion state from the difference between the number of frames per time flowing into the frame processing device from the network and the number of frames per time processed by the frame processing device. Was completed.
[0040]
When network congestion depends on the number of frames processed by the frame processing device, it is effective to monitor the congestion state based on the number of frames. When the network congestion does not depend on the number of frames but depends on the number of bits, that is, the sum of the product of the frame length and the number of frames, it is effective to monitor the congestion state from the number of bits. When network congestion depends not only on the number of frames but also on the frame length, it is effective to monitor the congestion state by, for example, adding the number of frames multiplied by a coefficient and the number of bits.
[0041]
【The invention's effect】
As described above, according to the present invention, a frame processing apparatus for connecting a network monitors a congestion state at
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration of a network.
FIG. 2 is a diagram illustrating a configuration of a conventional frame processing device.
FIG. 3 is a diagram illustrating a frame structure used in a network.
FIG. 4 is a diagram illustrating a configuration of a frame processing device according to the present invention.
FIG. 5 is a diagram illustrating a situation in which frames exceeding a frame length threshold are discarded according to a discard probability.
FIG. 6 is a diagram illustrating an example of a drop probability with respect to a frame length threshold according to the present invention.
FIG. 7 is a diagram illustrating an example of a frame length threshold for a congestion state according to the present invention.
FIG. 8 is a diagram illustrating an example of a drop probability for a congestion state according to the present invention.
FIG. 9 is a diagram illustrating an example of a drop probability in a congestion state using a frame length threshold value as a parameter according to the present invention.
FIG. 10 is a diagram illustrating an example of a drop probability for a frame having a specific frame length according to the present invention.
FIG. 11 is a diagram illustrating an example of a drop probability with respect to a frame length using a congestion limit as a parameter according to the present invention.
FIG. 12A is a diagram illustrating an example of a congestion state that fluctuates with time.
(B) is a diagram illustrating an example of a drop probability with respect to a congestion limit according to the present invention.
FIG. 13A illustrates an example of a congestion state that fluctuates with time.
(B) is a diagram illustrating an example of a drop probability with respect to a congestion limit according to the present invention.
FIG. 14A is a diagram illustrating an example of the number of frames flowing from a network to a frame processing device with respect to time.
FIG. 5B is a diagram illustrating an example of the number of frames waiting for frame processing in the frame processing device with respect to time.
FIG. 15A is a diagram illustrating an example of the number of frames flowing into the frame processing device with respect to time and the number of frames subjected to frame processing by the frame processing device.
FIG. 4B is a diagram illustrating an example of a difference between a frame flowing into a frame processing device from a network and the number of frames subjected to frame processing by the frame processing device.
[Explanation of symbols]
10: Frame processing device
11: Layer 1 reception interface
12:
13: Buffer
14: Switch circuit
15: Congestion monitoring circuit
16: Frame sorting circuit
17:
18: Layer 1 transmission interface
80: Frame processing device
81: Layer 1 reception interface
82:
83: Buffer
84: switch circuit
85: priority reading device
86: Frame discard circuit
87:
88: Layer 1 transmission interface
90: Router
91: Branch line network
92: Trunk network
93: Terminal
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002257141A JP3896056B2 (en) | 2002-09-02 | 2002-09-02 | Frame processing method and frame processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002257141A JP3896056B2 (en) | 2002-09-02 | 2002-09-02 | Frame processing method and frame processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004096575A true JP2004096575A (en) | 2004-03-25 |
JP3896056B2 JP3896056B2 (en) | 2007-03-22 |
Family
ID=32062148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002257141A Expired - Lifetime JP3896056B2 (en) | 2002-09-02 | 2002-09-02 | Frame processing method and frame processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3896056B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009194504A (en) * | 2008-02-13 | 2009-08-27 | Iwatsu Electric Co Ltd | Computer device and packet reception control method |
JP2023500881A (en) * | 2019-11-04 | 2023-01-11 | ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツング | Method for transmitting messages in a communication network for communication between a traffic participant and at least one other traffic participant |
-
2002
- 2002-09-02 JP JP2002257141A patent/JP3896056B2/en not_active Expired - Lifetime
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009194504A (en) * | 2008-02-13 | 2009-08-27 | Iwatsu Electric Co Ltd | Computer device and packet reception control method |
JP2023500881A (en) * | 2019-11-04 | 2023-01-11 | ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツング | Method for transmitting messages in a communication network for communication between a traffic participant and at least one other traffic participant |
JP7326607B2 (en) | 2019-11-04 | 2023-08-15 | ロベルト・ボッシュ・ゲゼルシャフト・ミト・ベシュレンクテル・ハフツング | Method for transmitting messages in a communication network for communication between a traffic participant and at least one other traffic participant |
Also Published As
Publication number | Publication date |
---|---|
JP3896056B2 (en) | 2007-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230052361A1 (en) | Resource usage in a multipath network | |
US20070183332A1 (en) | System and method for backward congestion notification in network | |
US20050249115A1 (en) | Packet shaping device, router, band control device and control method | |
JPH03174848A (en) | Delay base rush evading method in computer network and device | |
US20030218977A1 (en) | Systems and methods for controlling network-bound traffic | |
JP2011151601A (en) | Packet relay device and packet relay method | |
KR20090130394A (en) | System and method for selecting network access technology | |
JP2006060674A (en) | Communication equipment, data communication method and program | |
US8565246B2 (en) | Packet relay apparatus | |
CN106803812B (en) | Method and device for realizing load sharing | |
US8081637B2 (en) | Network apparatus and method for forwarding packet | |
US20160094462A1 (en) | Method and apparatus for dynamically adjusting retransmission timing in a transport layer | |
WO2017009715A1 (en) | Method and apparatus for managing network congestion | |
US20120063339A1 (en) | Method and apparatus for transmitting packet in wireless network | |
CN114095448A (en) | Method and equipment for processing congestion flow | |
JP2004096575A (en) | Frame processing method and frame processor | |
JP4849270B2 (en) | Computer equipment | |
KR101348620B1 (en) | Transmiting method for aggregate medium access control protocol data unit in wireless local area network | |
JP6104970B2 (en) | Flow control between devices | |
CN111327505B (en) | Tunnel-based communication method and communication device | |
JP5887324B2 (en) | Relay device and relay method | |
EP2262171A1 (en) | Method of routing a packet | |
CN108337181B (en) | Method and device for managing congestion of switching network | |
JP2008236733A (en) | Bandwidth control apparatus, system, and method | |
JP3606197B2 (en) | Voice gateway and network congestion control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040623 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051111 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060117 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060320 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060731 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060905 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061102 |
|
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: 20061212 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061215 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 3896056 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101222 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101222 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111222 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111222 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121222 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121222 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131222 Year of fee payment: 7 |
|
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 |
|
EXPY | Cancellation because of completion of term |