JP3646871B2 - Data relay apparatus and data relay method - Google Patents
Data relay apparatus and data relay method Download PDFInfo
- Publication number
- JP3646871B2 JP3646871B2 JP2001013919A JP2001013919A JP3646871B2 JP 3646871 B2 JP3646871 B2 JP 3646871B2 JP 2001013919 A JP2001013919 A JP 2001013919A JP 2001013919 A JP2001013919 A JP 2001013919A JP 3646871 B2 JP3646871 B2 JP 3646871B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- discard
- transmission data
- accumulated
- threshold value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、例えば、ATMセルを一時的に蓄積するバッファを有し、そのバッファに過剰にセルが流入し、バッファが溢れてセルを廃棄する場合の、セル廃棄制御技術に関するものである。
【0002】
【従来の技術】
従来、セルをバッファに溜めて、バッファに過剰にセルが流入する可能性のある装置としてATMスイッチがある。例えば出力バッファ型スイッチは、出線毎にバッファがあるスイッチである。
【0003】
図11に入線4回線、出線4回線の出力バッファ型ATMスイッチを示す。図11において200は出力バッファ型ATMスイッチ、100はセルを保存するバッファ、300は振り分け回路である。
入線より入力されたセルは、スイッチ200の前半部分の振り分け回路300で宛先出線へ振り分けられ、出線対応のバッファ100に書き込まれる。出線側はバッファ100から1セル時間につき1セル読み出す(セルが溜まっていない場合はアイドルセルを出力する)。
【0004】
図12は出力バッファ型スイッチ200の動作を説明する図である。出力バッファ型スイッチ200は、異なる入線からの入力が同一出線に集中した場合に、一般的に入線の若番から、バッファに書き込んでいく。図12の場合、入線#1、#2、#3、#4の順にセルがキューイングされ、入線#1対応のセルから順番に出力される。4入線の場合、最大4セル同時に入力される。
【0005】
出線からの読み出しは1セル時間に1セルであるため、ある特定出線に対して、複数入線からのセルが長時間集中すると、バッファが溢れる。このとき入線若番からキューイングする制御では下記のような問題が生じる。
【0006】
図13は図12で示した出線#1のバッファ部分だけを取り出したものである。図13に示すように、バッファフル状態において、入線#1〜#4から常に出線#1に対してセルが入力される場合を考えると、毎セル時間、バッファからは1セル読み出され、4セル入力されることになる。
1セル読まれた時点で1セル分空きができるので、若番から書き込む方式とすると、入線#1のセルが書き込まれるが、入線#2〜#4のセルは#1を書き込んだ時点でバッファフルになるので、書き込めず廃棄される。次のセル時間でも同様にバッファから1セル読み出され、入線#1のセルのみ書き込まれる。この状態が続くと、#1のセルしかバッファに書き込まれないことになる。これは入線間での不公平が生じることを示している。
【0007】
従来、入線間での不公平性を防止するための方法として、入線ローテーションと呼ばれている方法がある。これはバッファへの書き込み順番を常に若番の入線から行うのではなく、書き込みの優先順番を1セル時間単位にローテーションさせる方法である。
例えば、入線数が4個の場合、4セル時間毎に下記の優先順位で書き込む。
セル時間1:#1→#2→#3→#4
(入線#1からのセルがあればそれを書き込み、なければ#2のセルを書き込み、それもなければ#3のセル、それもなければ#4のセルを書き込む。)
セル時間2:#2→#3→#4→#1
セル時間3:#3→#4→#1→#2
セル時間4:#4→#1→#2→#3
以下セル時間1からセル時間4に示した方法を繰り返す。
【0008】
図14を用いて入線ローテーションの動作を説明する。
バッファフル状態から1セル読み出され1セル空きが出来たとき、入線ローテーションの第1優先が入線#1であったとすると、入線#1のセルが書き込まれバッファフルとなり、入線#2〜#4のセルが廃棄される。次のセル時間では、入線ローテーションの第1優先が入線#2となるため、入線#2のセルが書き込まれる。以下同様に1セル時間経過後に、入線#3、入線#4のセルが書き込まれることになる。すなわち、入線#1〜#4のセルが公平にバッファに書き込まれる。
【0009】
しかしながら、入線ローテーションを実現するためには、ローテーション情報(第1優先入線番号)を記憶する必要があり、かつ、毎セル時間変動する第1優先入線から順番にセルをバッファに書き込むという複雑な制御が必要になる。
【0010】
一方、シェーピング装置においても、上記ATMスイッチの場合と同様に、出力帯域より入力帯域が大きいときには、コネクション間でセル廃棄に関して不公平性が生じる。
【0011】
図15を用いて従来のシェーピング装置に関して説明する。図15において、400はシェーピング装置、100はシェーピング用のバッファである。図15のシェーピング装置400は、複数コネクションのセルを1つのバッファ100にいったん保存し、一定速度(シェーピング速度)でセルを読み出す装置である。
【0012】
図15において、VP/VC=A、B、Cのセルが50Mb/sずつの速度、すなわち合計150Mb/sで規則的に入力され、バッファ100から50Mb/sの速度で読み出される場合を想定する。この場合、すぐにバッファフル状態となる。バッファフル状態においても、50Mb/sの速度で読み出され、150Mb/sの速度で入力されることから、1セル読み出される間に3セル入力されることになる。
【0013】
例えば、バッファフル状態から1セル読み出された後にVP/VC=Aのセルが入力されると、Aのセルは書き込まれてバッファフルとなり、B、Cのセルが入力された時点ではバッファフルであるため廃棄される。その次にバッファから1セル読み出された後に、Aのセルが入力されるため、Aのセルが書き込まれる。以後これを繰り返すため、特定のVP/VCしかバッファに書き込まれないことになる。すなわちシェーピング装置に過剰なトラヒックが流れる場合、コネクション間で不公平性が生じることを示している。
【0014】
セル廃棄制御方法の他の従来技術として、特開平11−55278で示された優先制御回路がある。図16はその優先制御回路の構成を示す図である。
図16において500は要求品質の異なるトラヒックAおよびBのセルに対してトラヒックAのセルを優先する優先制御を行う優先制御回路、100は複数のしきい値を設定できる単一バッファ、600はバッファ100からのセル読み出しを制御する読出制御回路、700はしきい値毎に異なる制御を行う制御回路である。
【0015】
バッファ100は、トラヒックAに対してレート制御を開始するしきい値(1)、トラヒックBに対してセル廃棄を開始するしきい値(2)、トラヒックAに対してレート制御を解除するしきい値(3)、トラヒックBに対してセル廃棄を解除するしきい値(4)がある。このように本従来技術はセル廃棄に関して、しきい値制御を行っているが、しきい値は異なるサービスクラス毎に持ち、サービスクラス間での優先制御を行うことを目的としている。同一クラスあるいはサービスクラスを意識しないセル廃棄制御を目指したものではなく、しきい値はサービスクラス毎に持たなければならない。
【0016】
【発明が解決しようとする課題】
従来のセル廃棄制御方法は、上記のようにバッファあふれ時に、あふれたセルを廃棄するという単純な制御を行っていた。従って、セル廃棄に関して、ATMスイッチの場合には入線間での不公平性、シェーピング装置ではコネクション間での不公平性が生じるという問題があった。
またセル廃棄制御として、しきい値を使用したものも提案されているが、これは異なるサービスクラスのセルを同一バッファに入力する場合のセル廃棄制御方法であり、同一サービスクラスあるいはサービスクラスを意識しないセル廃棄制御方法ではなかった。また、同一サービスクラス内のコネクション間でのセル廃棄の不公平性を防止するものでもなかった。
なお、上記不公平性の問題は、バッファにセルが過剰に入力されるときに生じるものであって、常時低負荷でセルが入力されるとき(セル廃棄が生じないとき)は当然ながら問題は生じない。
【0017】
本発明は、このような問題点を解決するために行われたもので、サービスクラスを意識しないで単一のバッファに異なるコネクションのセルを入力する場合のセル廃棄制御に関するものであり、コネクション間あるいは入線間のセル廃棄の不公平性を防止するものである。
【0018】
【課題を解決するための手段】
本発明に係るデータ中継装置は、
データ送信装置より送信された送信データを受信し、受信した送信データを一時的に蓄積するとともに、蓄積した送信データの蓄積量が一定量を超えた場合に、受信した送信データを廃棄するデータ中継装置であって、
前記データ送信装置より送信された送信データを受信するデータ受信部と、
前記データ受信部により受信された送信データを一時的に蓄積するバッファ部と、
前記バッファ部に蓄積された蓄積送信データの蓄積量を測定する蓄積量測定部と、
前記蓄積量測定部の測定結果に基づき、前記データ受信部により受信される送信データを廃棄する送信データ廃棄部と、
前記送信データ廃棄部が前記データ受信部により受信される送信データの廃棄を開始する蓄積送信データの蓄積量である廃棄開始しきい値を設定する廃棄開始しきい値設定部と、
前記送信データ廃棄部が前記データ受信部により受信される送信データの廃棄を停止する、前記廃棄開始しきい値以下の蓄積送信データの蓄積量である廃棄停止しきい値を設定する廃棄停止しきい値設定部とを有し、
前記送信データ廃棄部は、
前記蓄積量測定部により測定された蓄積送信データの蓄積量が前記廃棄開始しきい値設定部により設定された前記廃棄開始しきい値に達した場合に、前記蓄積送信データの蓄積量が前記廃棄開始しきい値に達した後に前記データ受信部により受信される送信データの廃棄を開始し、前記蓄積量測定部により測定された蓄積送信データの蓄積量が前記廃棄停止しきい値設定部により設定された前記廃棄停止しきい値にまで減少した場合に、前記データ受信部により受信される送信データの廃棄を停止することを特徴とする。
【0019】
前記廃棄開始しきい値設定部は、前記バッファ部の蓄積許容量のうち所定のレベルに基づいて、前記廃棄開始しきい値を設定することを特徴とする。
【0020】
前記データ受信部は、少なくとも一つ以上の通信路を介して少なくとも一つ以上のデータ送信装置より送信データを受信し、
前記廃棄停止しきい値設定部は、前記通信路の本数に基づいて、前記廃棄停止しきい値を設定することを特徴とする。
【0021】
前記データ受信部は、少なくとも一つ以上のデータ送信装置のそれぞれより、同一のデータ量の送信データを受信し、
前記廃棄開始しきい値設定部は、前記バッファ部の最大蓄積許容量を前記廃棄開始しきい値に設定し、
前記廃棄停止しきい値設定部は、前記バッファ部の最大蓄積許容量から、前記送信データのデータ量に前記通信路の本数を乗じて得られる値を減じて得られる値を前記廃棄停止しきい値に設定することを特徴とする。
【0022】
前記データ中継装置は、出力バッファ型のATM(Asynchronoustransfer mode)スイッチ装置であること特徴とする。
【0023】
前記データ中継装置は、ATM(Asynchronous transfer mode)セルを受信するシェーピング装置であることを特徴とする。
【0024】
本発明に係るデータ中継方法は、
データ送信装置より送信された送信データを受信し、受信した送信データを一時的に蓄積するとともに、蓄積した送信データの蓄積量が一定量を超えた場合に、受信した送信データを廃棄するデータ中継方法であって、
前記データ送信装置より送信された送信データを受信するデータ受信ステップと、
前記データ受信ステップにより受信された送信データを一時的に蓄積する蓄積ステップと、
前記蓄積ステップにより蓄積された蓄積送信データの蓄積量を測定する蓄積量測定ステップと、
前記蓄積量測定ステップの測定結果に基づき、前記データ受信ステップにより受信される送信データを廃棄する送信データ廃棄ステップと、
前記送信データ廃棄ステップが前記データ受信ステップにより受信される送信データの廃棄を開始する蓄積送信データの蓄積量である廃棄開始しきい値を設定する廃棄開始しきい値設定ステップと、
前記送信データ廃棄ステップが前記データ受信ステップにより受信される送信データの廃棄を停止する、前記廃棄開始しきい値以下の蓄積送信データの蓄積量である廃棄停止しきい値を設定する廃棄停止しきい値設定ステップとを有し、
前記送信データ廃棄ステップは、
前記蓄積量測定ステップにより測定された蓄積送信データの蓄積量が前記廃棄開始しきい値設定ステップにより設定された前記廃棄開始しきい値に達した場合に、前記蓄積送信データの蓄積量が前記廃棄開始しきい値に達した後に前記データ受信ステップにより受信される送信データの廃棄を開始し、前記蓄積量測定ステップにより測定された蓄積送信データの蓄積量が前記廃棄停止しきい値設定ステップにより設定された前記廃棄停止しきい値にまで減少した場合に、前記データ受信ステップにより受信される送信データの廃棄を停止することを特徴とする。
【0025】
前記廃棄開始しきい値設定ステップは、前記蓄積ステップの蓄積許容量のうち所定のレベルに基づいて、前記廃棄開始しきい値を設定することを特徴とする。
【0026】
前記データ受信ステップは、少なくとも一つ以上の通信路を介して少なくとも一つ以上のデータ送信装置より送信データを受信し、
前記廃棄停止しきい値設定ステップは、前記通信路の本数に基づいて、前記廃棄停止しきい値を設定することを特徴とする。
【0027】
前記データ受信ステップは、少なくとも一つ以上のデータ送信装置のそれぞれより、同一のデータ量の送信データを受信し、
前記廃棄開始しきい値設定ステップは、前記蓄積ステップの最大蓄積許容量を前記廃棄開始しきい値に設定し、
前記廃棄停止しきい値設定ステップは、前記蓄積ステップの最大蓄積許容量から、前記送信データのデータ量に前記通信路の本数を乗じて得られる値を減じて得られる値を前記廃棄停止しきい値に設定することを特徴とする。
【0028】
【発明の実施の形態】
実施の形態1.
図1は本発明に関わるデータ中継装置の一実施の形態を示す構成図である。
図1において10は4入線、4出線の出力バッファ型ATMスイッチ(データ中継装置)、2は入線よりセルを受信するセル受信部(データ受信部)、3は振り分け回路、1はセルを保存するバッファである。
また、4は、セル受信部で受信されるセルを廃棄するセル廃棄部(送信データ廃棄部)である。
5は、セル廃棄部4がセルの廃棄を開始するためのしきい値(廃棄開始しきい値)を設定する廃棄開始しきい値設定部であり、廃棄開始しきい値設定部5はバッファ1に蓄積された蓄積セルの蓄積量のうち所定の蓄積量を廃棄開始しきい値として設定する。
6は、セルの廃棄を開始したセル廃棄部4がセルの廃棄を停止するためのしきい値(廃棄解除しきい値)を設定する廃棄解除しきい値設定部であり、廃棄解除しきい値設定部6はバッファ1に蓄積された蓄積セルの蓄積量のうち所定の蓄積量を廃棄解除しきい値として設定する。
7は、バッファ1に蓄積された蓄積セルの蓄積量を測定し、測定結果をに基づきセルの廃棄を行うか否かを判断する蓄積量測定部である。
また、セルの受信開始前に、バッファ1内のセル蓄積量に対して廃棄開始しきい値設定部5及び廃棄解除しきい値設定部6により廃棄開始しきい値と廃棄解除しきい値が設定される。
【0029】
図2に図1のATMスイッチ10のセル廃棄制御処理のフローチャートを示す。
まずステップS1で、初期値として、蓄積量測定部7のセル廃棄状態のビットを「0」に設定する。
次に、ステップS2でセル受信部2がセルを受信すると、ステップS3で蓄積量測定部7はセル廃棄状態のビットの値を見て、「1」のときは、ステップS8に遷移し、バッファ内セル蓄積量が廃棄解除しきい値以下かどうか判断する。
バッファ内セル蓄積量が廃棄解除しきい値以下の場合は、振り分け回路3が所定のバッファにセルを書き込み(ステップS9)、蓄積量測定部7はセル廃棄状態のビットを「0」にする(ステップS10)。
バッファ内セル蓄積量が廃棄解除しきい値より大きい場合は、セル廃棄部4がセルを廃棄する(ステップS11)。
【0030】
ステップS3で蓄積量測定部7がセル廃棄状態のビットの値を見て、「0」のときは、ステップS4に遷移し、バッファ内セル蓄積量が廃棄開始しきい値以上かどうか判断する。
バッファ内セル蓄積量が廃棄開始しきい値以上の場合は、セル廃棄部4がセルを廃棄し(ステップS5)、蓄積量測定部7がセル廃棄状態のビットを「1」にする(ステップS6)。バッファ内セル蓄積量が廃棄開始しきい値より小さい場合は、振り分け回路3がセルを所定のバッファに書き込む(ステップS7)。バッファ1からは毎セル時間セルが読み出されるため、セル廃棄状態のビットが「1」になった(ステップS6)後、受信セルが到着しても、ステップS8の条件で受信セルを廃棄していれば(ステップS11)、ある時間経過後必ず、廃棄解除しきい値までバッファ内のセルは減る。
【0031】
上記説明からわかるように、本セル廃棄制御を行うための2つのしきい値には、廃棄開始しきい値>廃棄解除しきい値の関係が必要である。また、廃棄開始しきい値を超えてセルは溜まらないため、廃棄開始しきい値はバッファサイズと一致させておくことが、バッファの有効利用の観点からは良く、廃棄開始しきい値を記憶しておく必要もなくなる。逆に、廃棄開始しきい値をバッファサイズより小さくすることで、実際のバッファよりバッファサイズを小さく見せかけることも可能である。
【0032】
図1において、全入線のセルがすべて出線#1宛に集中するという過負荷トラヒックが流れた場合のセル廃棄制御処理について、詳細な動作を説明する。
ここで、廃棄開始しきい値設定部5は廃棄開始しきい値をバッファサイズと同じ値(最大蓄積許容量)に、廃棄解除しきい値設定部6は廃棄解除しきい値をバッファサイズから入線数の4減じた値(バッファサイズ−入線数(4)×セルのデータ量)に設定する。
図3から図5は、図1において出線#1のバッファ部分だけ取り出したものであり、図3に示すように、毎セル時間4セルの入力があり、1セル読み出される状況であり、図3のA1、B1、C1、D1のセルが到着する前に、ちょうどバッファフルになったとする。
A1、B1、C1、D1のセルが入力された時点では、蓄積量測定部7はバッファ内セル蓄積量が廃棄開始しきい値と等しいと判断するため、図4に示すように、A1、B1、C1、D1のセルは全てセル廃棄部4により廃棄され、セル廃棄状態になる。またバッファ1より1セル読み出されて1セルの空きが生じる。
【0033】
図4において、A2、B2、C2、D2のセルが入力される時点では、セル廃棄状態で、バッファ内セル蓄積量が廃棄解除しきい値を超えているため、A2〜D2のすべてのセルは廃棄される。
また、バッファ1より1セル読み出されて合計2セルの空きが生じる。同様に、A3、B3、C3、D3のセルも廃棄され、1セル読み出されて合計3セルの空きが生じ、A4、B4、C4、D4のセルも廃棄され、1セル読み出されて合計4セルの空きが生じて図5の状態となる。
【0034】
図5において、バッファ内セル蓄積量は廃棄解除しきい値と同じ値であるため、セル廃棄状態は解除され、図6に示すように、A5、B5、C5、D5のセルはバッファ1に書き込まれる。従って、この時間では全入線のセルが公平に書き込まれる。これは廃棄解除しきい値の値を、廃棄開始しきい値より入線数と同じ4減じた値に設定したことにより実現できる。
【0035】
以上説明したように、本実施の形態に係るATMスイッチにより、入線間におけるセル廃棄の公平性が保証される。すなわち入線ローテーションを行わなくても、入線間の不公平性を防ぐことができるという効果がある。
入線ローテーションはローテーションによる優先順番を記憶しておき、毎セル時間変わる優先順番に応じてバッファに書き込むという制御が必要であり、回路が複雑になるが、本ATMスイッチだと2個のしきい値を持って制御するだけであり、簡単な回路で実現できるという効果がある。
【0036】
また、廃棄開始しきい値をバッファサイズと一致させることで、バッファを最大限有効に利用できる。
【0037】
実施の形態2.
図7は本発明に関わるデータ中継装置の一実施の形態を示す構成図である。
図7において、20はシェーピング装置であり、また1、2及び4〜7は図1と同様であり、1はバッファ、2はセル受信部、4はセル廃棄部、5は廃棄開始しきい値設定部、6は廃棄解除しきい値設定部、7は蓄積量測定部である。
実施の形態1と同様に、廃棄開始しきい値設定部5及び廃棄解除しきい値設定部6により、バッファ1内のセル蓄積量に対して廃棄開始しきい値と廃棄解除しきい値が設定される。両者のしきい値の関係は、廃棄開始しきい値>廃棄解除しきい値である。また、図7では廃棄開始しきい値=バッファサイズとしている。
バッファ1には様々なコネクションのセルが合計速度Bで入力され、ある一定速度Aでセルが読み出される。一般的に速度Bは一定速度とは限らず、時間によって変動するものである。
【0038】
バッファ1からの読み出し速度Aと入力速度Bが、B≦Aであればバッファ1にはセルが溜まらず、セル廃棄する必要はない。B>Aであると、バッファ1にセルが溜まり始め、B>Aである時間がある程度続くとバッファあふれが生じるようになり、セル廃棄する必要が生じる。
本発明は、このような状況下のセル廃棄制御に関するものである。
【0039】
バッファ1への入力速度Bとバッファ1からの出力速度Aの関係により、バッファ1内のセルが廃棄開始しきい値まで溜まり、その状態でさらに新たなセルが到着したとする。このときそのセルを廃棄し、以後入力されたセルは、バッファ内のセルが廃棄解除しきい値に減るまで廃棄するという制御を行う。
バッファ1からは一定速度Aで読み出されているため、廃棄開始しきい値までセルが溜まった後、入力セルを廃棄し続けていれば、ある時間経過後必ず、廃棄解除しきい値までバッファ内のセルは減る。廃棄解除しきい値まで減った状態で新たなセルが到着した場合は、そのセルをバッファ1に書き込み、以後バッファ1内のセルが廃棄開始しきい値に増えるまではセルを書き込む。以後、前述と同様のセル廃棄制御を行う。
【0040】
セル廃棄制御の動作を具体例を用いて、詳細に説明する。
以下ではVP/VC=A、B、Cのセルが順にバッファ1に入力され、その入力速度Vは読み出し速度Wより大きい場合を想定する。また、廃棄開始しきい値はバッファサイズと一致させ、廃棄解除しきい値はバッファサイズより3セル小さい値とする。3セルの値は、入力されるVP/VCが3個であることより設定している。
【0041】
図7において、速度Vは速度Wの3倍であるとし、A1のセルが到着したときに、バッファフル状態であるとする。
A1のセルが到着した時点で、蓄積量測定部7はバッファ内セル蓄積量が廃棄開始しきい値と一致していると判断するため、A1のセルはセル廃棄部4により廃棄され、セル廃棄状態となる。
速度VとWの関係より、3セル入力される毎に1セル読み出されるため、図8に示すように、A1、B1、C1の3セルが廃棄された後、1セル読み出され、バッファに空きが1セル生じて図8の状態となる。
【0042】
A2、B2、C2のセルが到着した時点では、バッファ1に空きが1セルしかなく、バッファ内セル蓄積量が廃棄解除しきい値より大きいため、これらのセルは廃棄される。この後、バッファ1からセルが読み出され、バッファ1の空きが2セルとなる。同様にA3、B3、C3のセルが到着した時点では、バッファ1に空きが2セルしかなく、バッファ内セル蓄積量が廃棄解除しきい値より大きいため、これらのセルは廃棄される。この後、バッファ1からセルが読み出され、バッファ1の空きが3セルとなり、図9の状態となる。
【0043】
図9の状態でA4のセルが到着すると、蓄積量測定部7はバッファ内セル蓄積量が廃棄解除しきい値以下であると判断するため、A4のセルがバッファ1に書き込まれるとともに、セル廃棄状態が解除される。
B4のセルが到着したときには2セルの空きがあり、セル廃棄状態が解除されているため、バッファに書き込まれる。同様にC4のセルもバッファに書き込まれ、図10のようになる。
【0044】
このように、一旦バッファフルになった後、3セル分の空きができるまではバッファにセルを書き込まないため、速度Wで3セル読み出すのに要する時間経過後、必ず、VP/VC=A、B、Cの3セルを書き込むことが出来る。上記例ではVをWの3倍として説明したが、VとWの関係に関わらず、セル廃棄状態では、入力セルは廃棄し、読み出しは行うため、必ず廃棄解除しきい値までバッファ内セルは減る。
従って、廃棄解除しきい値を廃棄開始しきい値より、コネクション数分少ない値としておけば、コネクション数分のセルを書き込むことができ、コネクション間での廃棄の不公平性がなくなる。これは従来の、バッファに空きが出来たら直ちにセルを書き込む方法では実現できなかったことである。また本シェーピング装置はしきい値を2個設定して廃棄制御を行うだけであり、とても簡単な回路で実現可能である。
【0045】
また、廃棄開始しきい値をバッファサイズと一致させることで、バッファを最大限有効に利用できる。
【0046】
なお、以上の実施の形態1及び実施の形態2では、本発明に係るデータ中継装置について説明してきたが、同様の処理手順により本発明に係るデータ中継方法を実現することもできる。
【0047】
ここで、以上にて説明してきた本発明の特徴についてまとめると、以下のようになる。
本発明のセル廃棄制御方式は、出力バッファ型のATMスイッチにおいて、出力バッファ毎に廃棄開始しきい値と廃棄解除しきい値を設けておき、バッファ内セル蓄積量が廃棄開始しきい値のときに新たに入力されるセルを廃棄し、以後の入力セルは、バッファ内セル蓄積量が廃棄解除しきい値以下に減るまで廃棄することを特徴とする。
【0048】
また、本発明のセル廃棄制御方式は、廃棄開始しきい値はバッファサイズに設定し、廃棄解除しきい値はバッファサイズから入線数減じた値に設定することを特徴とする。
【0049】
また、本発明のセル廃棄制御方式は、ATMセルをバッファに保存し、ある一定速度で読み出すシェーピング装置において、バッファに廃棄開始しきい値と廃棄解除しきい値を設けておき、バッファ内セル蓄積量が廃棄開始しきい値のときに新たに入力されるセルを廃棄し、以後の入力セルは、バッファ内セル蓄積量が廃棄解除しきい値以下に減るまで廃棄することを特徴とする。
【0050】
また、本発明のセル廃棄制御方式は、廃棄開始しきい値はバッファサイズに設定し、廃棄解除しきい値はバッファサイズから入力コネクション数分減じた値に設定することを特徴とする。
【0051】
【発明の効果】
以上説明したように、本発明によれば、入線間におけるセル廃棄の公平性が保証される。すなわち入線ローテーションを行わなくても、入線間の不公平性を防ぐことができるという効果がある。
入線ローテーションはローテーションによる優先順番を記憶しておき、毎セル時間変わる優先順番に応じてバッファに書き込むという制御が必要であり、回路が複雑になるが、本発明によれば2個のしきい値を持って制御するだけであり、簡単な回路で実現できるという効果がある。
【0052】
また、廃棄開始しきい値をバッファサイズと一致させることで、バッファを最大限有効に利用できる。
【0053】
また、本発明によれば、一旦バッファフルになった後、所定数のセル分の空きができるまではバッファにセルを書き込まないため、必ず廃棄解除しきい値までバッファ内セルは減る。
従って、廃棄解除しきい値を廃棄開始しきい値より、コネクション数分少ない値としておけば、コネクション数分のセルを書き込むことができ、コネクション間での廃棄の不公平性がなくなる。これは従来の、バッファに空きが出来たら直ちにセルを書き込む方法では実現できなかったことである。また本発明ではしきい値を2個設定して廃棄制御を行うだけであり、とても簡単な回路で実現可能である。
【0054】
また、廃棄開始しきい値をバッファサイズと一致させることで、バッファを最大限有効に利用できる。
【図面の簡単な説明】
【図1】 この発明の実施の形態1によるATMスイッチの構成を示す図である。
【図2】 この発明の実施の形態1によるセル廃棄制御処理を示すフローチャートである。
【図3】 この発明の実施の形態1による動作を示す図である。
【図4】 この発明の実施の形態1による動作を示す図である。
【図5】 この発明の実施の形態1による動作を示す図である。
【図6】 この発明の実施の形態1による動作を示す図である。
【図7】 この発明の実施の形態2によるシェーピング装置の構成を示す図である。
【図8】 この発明の実施の形態2による動作を示す図である。
【図9】 この発明の実施の形態2による動作を示す図である。
【図10】 この発明の実施の形態2による動作を示す図である。
【図11】 従来のATMスイッチの構成を示す図である。
【図12】 従来のATMスイッチのセル廃棄制御の動作を示す図である。
【図13】 従来のATMスイッチのセル廃棄制御の動作を示す図である。
【図14】 従来のATMスイッチのセル廃棄制御の動作を示す図である。
【図15】 従来のシェーピング装置のセル廃棄制御の動作を示す図である。
【図16】 従来の優先制御回路でのセル廃棄制御の動作を示す図である。
【符号の説明】
1 バッファ、2 セル受信部、3 振り分け回路、4 セル廃棄部、5 廃棄開始しきい値設定部、6 廃棄解除しきい値設定部、7 蓄積量測定部、10ATMスイッチ、20 シェーピング装置。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a cell discard control technique in the case where, for example, a buffer for temporarily storing ATM cells is included, cells excessively flow into the buffer, and the buffer overflows to discard cells.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an ATM switch is a device that accumulates cells in a buffer and may cause excessive flow of cells into the buffer. For example, an output buffer type switch is a switch having a buffer for each outgoing line.
[0003]
FIG. 11 shows an output buffer type ATM switch having four incoming lines and four outgoing lines. In FIG. 11, 200 is an output buffer type ATM switch, 100 is a buffer for storing cells, and 300 is a distribution circuit.
The cell input from the incoming line is distributed to the destination outgoing line by the
[0004]
FIG. 12 is a diagram for explaining the operation of the output
[0005]
Since reading from the outgoing line is one cell per one cell time, if cells from a plurality of incoming lines are concentrated for a long time with respect to a specific outgoing line, the buffer overflows. At this time, the following problems occur in the control of queuing from the incoming line number.
[0006]
FIG. 13 shows only the buffer portion of the
Since one cell is vacant when one cell is read, the cell of
[0007]
Conventionally, there is a method called incoming line rotation as a method for preventing unfairness between incoming lines. This is a method of rotating the priority order of writing in units of one cell time, instead of always performing the writing order to the buffer from the young incoming line.
For example, when the number of incoming lines is 4, writing is performed with the following priority every 4 cell times.
Cell time 1: # 1 → # 2 → # 3 → # 4
(If there is a cell from
Cell time 2: # 2 → # 3 → # 4 → # 1
Cell time 3: # 3 → # 4 → # 1 → # 2
Cell time 4: # 4 → # 1 → # 2 → # 3
Thereafter, the method shown in the
[0008]
The operation of incoming line rotation will be described with reference to FIG.
When one cell is read from the buffer full state and one cell is available, if the first priority of the incoming line rotation is
[0009]
However, in order to realize the incoming line rotation, it is necessary to store the rotation information (first priority incoming line number), and the complicated control of sequentially writing the cells to the buffer from the first priority incoming line that changes every cell time. Is required.
[0010]
On the other hand, also in the shaping device, as in the case of the ATM switch, when the input bandwidth is larger than the output bandwidth, unfairness occurs regarding cell discard between connections.
[0011]
A conventional shaping apparatus will be described with reference to FIG. In FIG. 15,
[0012]
In FIG. 15, it is assumed that cells of VP / VC = A, B, and C are regularly input at a rate of 50 Mb / s, that is, a total of 150 Mb / s and read from the
[0013]
For example, when a cell of VP / VC = A is input after one cell is read from the buffer full state, the A cell is written and becomes buffer full, and when the B and C cells are input, the buffer is full. Is discarded. Then, after one cell is read from the buffer, the A cell is input, so the A cell is written. Since this is repeated thereafter, only a specific VP / VC is written in the buffer. That is, when excessive traffic flows through the shaping device, unfairness occurs between connections.
[0014]
As another prior art of the cell discard control method, there is a priority control circuit disclosed in JP-A-11-55278. FIG. 16 is a diagram showing the configuration of the priority control circuit.
In FIG. 16,
[0015]
The
[0016]
[Problems to be solved by the invention]
The conventional cell discard control method performs simple control of discarding an overflow cell when the buffer overflows as described above. Therefore, regarding the cell discard, there is a problem that unfairness occurs between incoming lines in the case of an ATM switch, and unfairness between connections occurs in a shaping device.
In addition, cell discard control using a threshold value has been proposed, but this is a cell discard control method when cells of different service classes are input to the same buffer, and is conscious of the same service class or service class. It was not a cell discard control method. Also, it did not prevent the unfairness of cell discard between connections in the same service class.
The above-mentioned unfairness problem occurs when cells are excessively input to the buffer. Of course, when cells are always input at a low load (when cell discard does not occur), the problem does not occur. Does not occur.
[0017]
The present invention has been made to solve such a problem, and relates to cell discard control when cells of different connections are input to a single buffer without being conscious of the service class. Or it prevents the unfairness of cell discard between incoming lines.
[0018]
[Means for Solving the Problems]
The data relay device according to the present invention is:
Data relay that receives transmission data transmitted from the data transmission device, temporarily accumulates the received transmission data, and discards the received transmission data when the accumulated amount of transmission data exceeds a certain amount A device,
A data receiving unit for receiving transmission data transmitted from the data transmitting device;
A buffer unit for temporarily storing transmission data received by the data receiving unit;
An accumulated amount measuring unit for measuring an accumulated amount of accumulated transmission data accumulated in the buffer unit;
A transmission data discarding unit for discarding transmission data received by the data receiving unit based on the measurement result of the accumulated amount measuring unit;
A discard start threshold value setting unit that sets a discard start threshold value that is an accumulated amount of accumulated transmission data from which the transmission data discard unit starts discarding transmission data received by the data receiving unit;
A discard stop threshold for setting a discard stop threshold, which is an accumulated amount of stored transmission data equal to or less than the discard start threshold, in which the transmission data discarding unit stops discarding transmission data received by the data receiving unit. A value setting unit,
The transmission data discard unit
When the accumulated amount of accumulated transmission data measured by the accumulated amount measuring unit reaches the discard start threshold set by the discard start threshold setting unit, the accumulated amount of the accumulated transmission data becomes the discard After the start threshold value is reached, the transmission data received by the data receiving unit starts to be discarded, and the accumulated amount of accumulated transmission data measured by the accumulated amount measuring unit is set by the discard stop threshold value setting unit The transmission data received by the data receiving unit is stopped when it is reduced to the discarded threshold value.
[0019]
The discard start threshold value setting unit sets the discard start threshold value based on a predetermined level of the allowable storage amount of the buffer unit.
[0020]
The data receiving unit receives transmission data from at least one data transmission device via at least one communication path,
The discard stop threshold setting unit sets the discard stop threshold based on the number of communication channels.
[0021]
The data receiving unit receives transmission data of the same amount of data from each of at least one or more data transmission devices,
The discard start threshold value setting unit sets the maximum accumulation allowable amount of the buffer unit to the discard start threshold value,
The discard stop threshold value setting unit subtracts a value obtained by subtracting a value obtained by multiplying the data amount of the transmission data from the number of communication paths from the maximum accumulation allowable amount of the buffer unit from the discard stop threshold. It is characterized by being set to a value.
[0022]
The data relay device is an output buffer type ATM (Asynchronous Transfer Mode) switch device.
[0023]
The data relay device is a shaping device that receives an ATM (Asynchronous Transfer Mode) cell.
[0024]
The data relay method according to the present invention includes:
Data relay that receives transmission data transmitted from the data transmission device, temporarily accumulates the received transmission data, and discards the received transmission data when the accumulated amount of transmission data exceeds a certain amount A method,
A data reception step of receiving transmission data transmitted from the data transmission device;
An accumulation step for temporarily accumulating transmission data received in the data reception step;
An accumulation amount measuring step for measuring an accumulation amount of the accumulated transmission data accumulated by the accumulation step;
A transmission data discarding step for discarding the transmission data received by the data receiving step based on the measurement result of the accumulated amount measuring step;
A discard start threshold setting step for setting a discard start threshold that is an accumulation amount of accumulated transmission data in which the transmission data discarding step starts discarding the transmission data received by the data receiving step;
A discard stop threshold for setting a discard stop threshold value, which is an accumulated amount of stored transmission data equal to or less than the discard start threshold value, wherein the transmission data discarding step stops discarding the transmission data received by the data receiving step. A value setting step,
The transmission data discarding step includes:
When the accumulated amount of accumulated transmission data measured by the accumulated amount measuring step reaches the discard start threshold set by the discard start threshold setting step, the accumulated amount of the accumulated transmission data becomes the discard After reaching the start threshold, discard of the transmission data received by the data reception step is started, and the accumulated amount of accumulated transmission data measured by the accumulated amount measuring step is set by the discard stop threshold setting step The transmission data received by the data receiving step is stopped when the data is reduced to the discarded threshold value.
[0025]
The discard start threshold value setting step is characterized in that the discard start threshold value is set based on a predetermined level in the accumulation allowable amount of the accumulation step.
[0026]
The data receiving step receives transmission data from at least one data transmission device via at least one communication path,
In the discard stop threshold setting step, the discard stop threshold is set based on the number of the communication paths.
[0027]
The data reception step receives transmission data of the same amount of data from each of at least one data transmission device,
The discard start threshold setting step sets a maximum accumulation allowable amount of the accumulation step to the discard start threshold,
In the discard stop threshold setting step, a value obtained by subtracting a value obtained by multiplying the data amount of the transmission data by the number of communication channels from the maximum storage allowable amount in the storage step is the discard stop threshold. It is characterized by being set to a value.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing an embodiment of a data relay apparatus according to the present invention.
In FIG. 1, 10 is a 4-input / 4-output buffered ATM switch (data relay device), 2 is a cell receiving unit (data receiving unit) that receives a cell from the incoming line, 3 is a distribution circuit, and 1 is a cell storage It is a buffer to do.
Before starting cell reception, the discard start threshold
[0029]
FIG. 2 shows a flowchart of the cell discard control process of the
First, in step S1, the bit of the cell discard state of the accumulation
Next, when the
If the cell accumulation amount in the buffer is equal to or less than the discard cancellation threshold, the
If the cell accumulation amount in the buffer is larger than the discard cancellation threshold, the cell discard
[0030]
In step S3, the accumulated
When the cell accumulation amount in the buffer is equal to or greater than the discard start threshold, the cell discard
[0031]
As can be seen from the above description, the relationship between the discard start threshold value and the discard release threshold value is necessary for the two threshold values for performing this cell discard control. In addition, since the cells do not accumulate beyond the discard start threshold, it is good from the viewpoint of effective use of the buffer to keep the discard start threshold equal to the buffer size. There is no need to keep it. Conversely, by making the discard start threshold value smaller than the buffer size, it is possible to make the buffer size appear smaller than the actual buffer.
[0032]
In FIG. 1, the detailed operation of the cell discard control process when the overload traffic in which all the incoming cells are concentrated to the
Here, the discard start
3 to 5 show only the buffer portion of the
When the cells A1, B1, C1, and D1 are input, the accumulation
[0033]
In FIG. 4, at the time when cells A2, B2, C2, and D2 are input, in the cell discard state, the amount of accumulated cells in the buffer exceeds the discard release threshold, so all cells A2 to D2 Discarded.
In addition, one cell is read from the
[0034]
In FIG. 5, since the cell accumulation amount in the buffer is the same value as the discard cancellation threshold value, the cell discard state is canceled, and the cells A5, B5, C5, and D5 are written in the
[0035]
As described above, the ATM switch according to the present embodiment ensures the fairness of cell discard between incoming lines. That is, there is an effect that unfairness between incoming lines can be prevented without performing incoming line rotation.
In-line rotation needs to be stored in a priority order by rotation and written to the buffer according to the priority order that changes every cell time, and the circuit becomes complicated, but this ATM switch has two threshold values. It has the effect that it can be realized with a simple circuit.
[0036]
In addition, by making the discard start threshold value coincide with the buffer size, the buffer can be used as effectively as possible.
[0037]
FIG. 7 is a block diagram showing an embodiment of a data relay apparatus according to the present invention.
7, 20 is a shaping device, and 1, 2, and 4 to 7 are the same as in FIG. 1, 1 is a buffer, 2 is a cell receiving unit, 4 is a cell discarding unit, and 5 is a discard start threshold. A setting unit, 6 is a discard cancellation threshold value setting unit, and 7 is an accumulation amount measuring unit.
As in the first embodiment, the discard start threshold
The cells of various connections are input to the
[0038]
If the reading speed A and the input speed B from the
The present invention relates to cell discard control under such circumstances.
[0039]
It is assumed that the cells in the
Since data is read from the
[0040]
The operation of cell discard control will be described in detail using a specific example.
In the following, it is assumed that cells of VP / VC = A, B, C are sequentially input to the
[0041]
In FIG. 7, it is assumed that the speed V is three times the speed W, and the buffer full state is reached when the cell A1 arrives.
When the A1 cell arrives, the accumulation
Since one cell is read every time three cells are input due to the relationship between the speeds V and W, as shown in FIG. 8, after three cells A1, B1, and C1 are discarded, one cell is read and stored in the buffer. One cell is generated and the state shown in FIG. 8 is obtained.
[0042]
When the cells A2, B2, and C2 arrive, there is only one cell in the
[0043]
When the A4 cell arrives in the state shown in FIG. 9, the accumulation
When the B4 cell arrives, there is a vacancy of 2 cells, and the cell discard state is cancelled, so the data is written into the buffer. Similarly, the C4 cell is also written in the buffer, as shown in FIG.
[0044]
In this manner, after the buffer is once full, cells are not written into the buffer until there is a space for 3 cells. Therefore, after the time required to read 3 cells at the speed W has elapsed, VP / VC = A, Three cells B and C can be written. In the above example, V is assumed to be three times W. However, regardless of the relationship between V and W, in the cell discard state, the input cell is discarded and reading is performed. decrease.
Therefore, if the discard release threshold is set to a value smaller by the number of connections than the discard start threshold, cells corresponding to the number of connections can be written, and the unfairness of discard between connections is eliminated. This is not possible with the conventional method of writing a cell as soon as a buffer is available. In addition, the shaping apparatus can be realized with a very simple circuit by simply setting two threshold values and performing discard control.
[0045]
In addition, by making the discard start threshold value coincide with the buffer size, the buffer can be used as effectively as possible.
[0046]
In the first and second embodiments, the data relay apparatus according to the present invention has been described. However, the data relay method according to the present invention can be realized by a similar processing procedure.
[0047]
Here, the characteristics of the present invention described above are summarized as follows.
According to the cell discard control method of the present invention, in an output buffer type ATM switch, a discard start threshold value and a discard release threshold value are provided for each output buffer, and the cell accumulation amount in the buffer is the discard start threshold value. Newly input cells are discarded, and subsequent input cells are discarded until the amount of stored cells in the buffer decreases below the discard release threshold.
[0048]
The cell discard control method of the present invention is characterized in that the discard start threshold is set to a buffer size, and the discard release threshold is set to a value obtained by subtracting the number of incoming lines from the buffer size.
[0049]
Further, the cell discard control method of the present invention is a shaping device that stores ATM cells in a buffer and reads them at a certain speed, and provides a buffer with a discard start threshold value and a discard release threshold value to store cells in the buffer. A newly input cell is discarded when the amount is the discard start threshold value, and the subsequent input cells are discarded until the accumulated amount of cells in the buffer decreases below the discard release threshold value.
[0050]
The cell discard control method of the present invention is characterized in that the discard start threshold value is set to a buffer size, and the discard release threshold value is set to a value obtained by subtracting the number of input connections from the buffer size.
[0051]
【The invention's effect】
As described above, according to the present invention, fairness of cell discard between incoming lines is guaranteed. That is, there is an effect that unfairness between incoming lines can be prevented without performing incoming line rotation.
In the line rotation, it is necessary to store the priority order by rotation and to write to the buffer in accordance with the priority order that changes every cell time, and the circuit becomes complicated. According to the present invention, two threshold values are used. It has the effect that it can be realized with a simple circuit.
[0052]
In addition, by making the discard start threshold value coincide with the buffer size, the buffer can be used as effectively as possible.
[0053]
Further, according to the present invention, after the buffer becomes full, cells are not written to the buffer until a predetermined number of cells are available, so the number of cells in the buffer is always reduced to the discard release threshold.
Therefore, if the discard release threshold is set to a value smaller by the number of connections than the discard start threshold, cells corresponding to the number of connections can be written, and the unfairness of discard between connections is eliminated. This is not possible with the conventional method of writing a cell as soon as a buffer is available. In the present invention, only two threshold values are set and discard control is performed, which can be realized with a very simple circuit.
[0054]
In addition, by making the discard start threshold value coincide with the buffer size, the buffer can be used as effectively as possible.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of an ATM switch according to a first embodiment of the present invention.
FIG. 2 is a flowchart showing cell discard control processing according to
FIG. 3 is a diagram showing an operation according to the first embodiment of the present invention.
FIG. 4 is a diagram showing an operation according to the first embodiment of the present invention.
FIG. 5 is a diagram showing an operation according to the first embodiment of the present invention.
FIG. 6 is a diagram showing an operation according to the first embodiment of the present invention.
FIG. 7 is a diagram showing a configuration of a shaping apparatus according to
FIG. 8 shows an operation according to the second embodiment of the present invention.
FIG. 9 shows an operation according to the second embodiment of the present invention.
FIG. 10 shows an operation according to the second embodiment of the present invention.
FIG. 11 is a diagram showing a configuration of a conventional ATM switch.
FIG. 12 is a diagram showing a cell discard control operation of a conventional ATM switch.
FIG. 13 is a diagram showing a cell discard control operation of a conventional ATM switch.
FIG. 14 is a diagram showing a cell discard control operation of a conventional ATM switch.
FIG. 15 is a diagram illustrating an operation of cell discard control of a conventional shaping device.
FIG. 16 is a diagram illustrating an operation of cell discard control in a conventional priority control circuit.
[Explanation of symbols]
DESCRIPTION OF
Claims (10)
前記データ送信装置より送信された送信データを受信するデータ受信部と、
前記データ受信部により受信された送信データを一時的に蓄積するバッファ部と、
前記バッファ部に蓄積された蓄積送信データの蓄積量を測定する蓄積量測定部と、
前記蓄積量測定部の測定結果に基づき、前記データ受信部により受信される送信データを廃棄する送信データ廃棄部と、
前記送信データ廃棄部が前記データ受信部により受信される送信データの廃棄を開始する蓄積送信データの蓄積量である廃棄開始しきい値を設定する廃棄開始しきい値設定部と、
前記送信データ廃棄部が前記データ受信部により受信される送信データの廃棄を停止する、前記廃棄開始しきい値以下の蓄積送信データの蓄積量である廃棄停止しきい値を設定する廃棄停止しきい値設定部とを有し、
前記送信データ廃棄部は、
前記蓄積量測定部により測定された蓄積送信データの蓄積量が前記廃棄開始しきい値設定部により設定された前記廃棄開始しきい値に達した場合に、前記蓄積送信データの蓄積量が前記廃棄開始しきい値に達した後に前記データ受信部により受信される送信データの廃棄を開始し、前記蓄積量測定部により測定された蓄積送信データの蓄積量が前記廃棄停止しきい値設定部により設定された前記廃棄停止しきい値にまで減少した場合に、前記データ受信部により受信される送信データの廃棄を停止することを特徴とするデータ中継装置。Data relay that receives transmission data transmitted from the data transmission device, temporarily accumulates the received transmission data, and discards the received transmission data when the accumulated amount of transmission data exceeds a certain amount A device,
A data receiving unit for receiving transmission data transmitted from the data transmitting device;
A buffer unit for temporarily storing transmission data received by the data receiving unit;
An accumulated amount measuring unit for measuring an accumulated amount of accumulated transmission data accumulated in the buffer unit;
A transmission data discarding unit for discarding transmission data received by the data receiving unit based on the measurement result of the accumulated amount measuring unit;
A discard start threshold value setting unit that sets a discard start threshold value that is an accumulated amount of accumulated transmission data from which the transmission data discard unit starts discarding transmission data received by the data receiving unit;
A discard stop threshold for setting a discard stop threshold, which is an accumulated amount of stored transmission data equal to or less than the discard start threshold, in which the transmission data discarding unit stops discarding transmission data received by the data receiving unit. A value setting unit,
The transmission data discard unit
When the accumulated amount of accumulated transmission data measured by the accumulated amount measuring unit reaches the discard start threshold set by the discard start threshold setting unit, the accumulated amount of the accumulated transmission data becomes the discard After the start threshold value is reached, the transmission data received by the data receiving unit starts to be discarded, and the accumulated amount of accumulated transmission data measured by the accumulated amount measuring unit is set by the discard stop threshold value setting unit A data relay device that stops discarding transmission data received by the data receiving unit when the threshold value is reduced to the discarded threshold value.
前記廃棄停止しきい値設定部は、前記通信路の本数に基づいて、前記廃棄停止しきい値を設定することを特徴とする請求項1に記載のデータ中継装置。The data receiving unit receives transmission data from at least one data transmission device via at least one communication path,
The data relay device according to claim 1, wherein the discard stop threshold value setting unit sets the discard stop threshold value based on the number of the communication paths.
前記廃棄開始しきい値設定部は、前記バッファ部の最大蓄積許容量を前記廃棄開始しきい値に設定し、
前記廃棄停止しきい値設定部は、前記バッファ部の最大蓄積許容量から、前記送信データのデータ量に前記通信路の本数を乗じて得られる値を減じて得られる値を前記廃棄停止しきい値に設定することを特徴とする請求項3に記載のデータ中継装置。The data receiving unit receives transmission data of the same amount of data from each of at least one or more data transmission devices,
The discard start threshold value setting unit sets the maximum accumulation allowable amount of the buffer unit to the discard start threshold value,
The discard stop threshold value setting unit subtracts a value obtained by subtracting a value obtained by multiplying the data amount of the transmission data from the number of communication paths from the maximum accumulation allowable amount of the buffer unit from the discard stop threshold. 4. The data relay device according to claim 3, wherein the data relay device is set to a value.
前記データ送信装置より送信された送信データを受信するデータ受信ステップと、
前記データ受信ステップにより受信された送信データを一時的に蓄積する蓄積ステップと、
前記蓄積ステップにより蓄積された蓄積送信データの蓄積量を測定する蓄積量測定ステップと、
前記蓄積量測定ステップの測定結果に基づき、前記データ受信ステップにより受信される送信データを廃棄する送信データ廃棄ステップと、
前記送信データ廃棄ステップが前記データ受信ステップにより受信される送信データの廃棄を開始する蓄積送信データの蓄積量である廃棄開始しきい値を設定する廃棄開始しきい値設定ステップと、
前記送信データ廃棄ステップが前記データ受信ステップにより受信される送信データの廃棄を停止する、前記廃棄開始しきい値以下の蓄積送信データの蓄積量である廃棄停止しきい値を設定する廃棄停止しきい値設定ステップとを有し、
前記送信データ廃棄ステップは、
前記蓄積量測定ステップにより測定された蓄積送信データの蓄積量が前記廃棄開始しきい値設定ステップにより設定された前記廃棄開始しきい値に達した場合に、前記蓄積送信データの蓄積量が前記廃棄開始しきい値に達した後に前記データ受信ステップにより受信される送信データの廃棄を開始し、前記蓄積量測定ステップにより測定された蓄積送信データの蓄積量が前記廃棄停止しきい値設定ステップにより設定された前記廃棄停止しきい値にまで減少した場合に、前記データ受信ステップにより受信される送信データの廃棄を停止することを特徴とするデータ中継方法。Data relay that receives transmission data transmitted from the data transmission device, temporarily accumulates the received transmission data, and discards the received transmission data when the accumulated amount of transmission data exceeds a certain amount A method,
A data reception step of receiving transmission data transmitted from the data transmission device;
An accumulation step for temporarily accumulating transmission data received in the data reception step;
An accumulation amount measuring step for measuring an accumulation amount of the accumulated transmission data accumulated by the accumulation step;
A transmission data discarding step for discarding the transmission data received by the data receiving step based on the measurement result of the accumulated amount measuring step;
A discard start threshold setting step for setting a discard start threshold that is an accumulation amount of accumulated transmission data in which the transmission data discarding step starts discarding the transmission data received by the data receiving step;
A discard stop threshold for setting a discard stop threshold value, which is an accumulated amount of stored transmission data equal to or less than the discard start threshold value, wherein the transmission data discarding step stops discarding the transmission data received by the data receiving step. A value setting step,
The transmission data discarding step includes:
When the accumulated amount of accumulated transmission data measured by the accumulated amount measuring step reaches the discard start threshold set by the discard start threshold setting step, the accumulated amount of the accumulated transmission data becomes the discard After reaching the start threshold, discard of the transmission data received by the data reception step is started, and the accumulated amount of accumulated transmission data measured by the accumulated amount measuring step is set by the discard stop threshold setting step A data relay method characterized by stopping discarding of transmission data received in the data reception step when the threshold value is reduced to the discarded threshold value.
前記廃棄停止しきい値設定ステップは、前記通信路の本数に基づいて、前記廃棄停止しきい値を設定することを特徴とする請求項7に記載のデータ中継方法。The data receiving step receives transmission data from at least one data transmission device via at least one communication path,
8. The data relay method according to claim 7, wherein the discard stop threshold value setting step sets the discard stop threshold value based on the number of the communication paths.
前記廃棄開始しきい値設定ステップは、前記蓄積ステップの最大蓄積許容量を前記廃棄開始しきい値に設定し、
前記廃棄停止しきい値設定ステップは、前記蓄積ステップの最大蓄積許容量から、前記送信データのデータ量に前記通信路の本数を乗じて得られる値を減じて得られる値を前記廃棄停止しきい値に設定することを特徴とする請求項9に記載のデータ中継方法。The data reception step receives transmission data of the same amount of data from each of at least one data transmission device,
The discard start threshold setting step sets a maximum accumulation allowable amount of the accumulation step to the discard start threshold,
In the discard stop threshold setting step, a value obtained by subtracting a value obtained by multiplying the data amount of the transmission data by the number of communication channels from the maximum storage allowable amount in the storage step is the discard stop threshold. The data relay method according to claim 9, wherein the data relay method is set to a value.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001013919A JP3646871B2 (en) | 2001-01-23 | 2001-01-23 | Data relay apparatus and data relay method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001013919A JP3646871B2 (en) | 2001-01-23 | 2001-01-23 | Data relay apparatus and data relay method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2002217969A JP2002217969A (en) | 2002-08-02 |
| JP3646871B2 true JP3646871B2 (en) | 2005-05-11 |
Family
ID=18880681
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001013919A Expired - Fee Related JP3646871B2 (en) | 2001-01-23 | 2001-01-23 | Data relay apparatus and data relay method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3646871B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004059914A1 (en) * | 2002-12-26 | 2004-07-15 | Matsushita Electric Industrial Co., Ltd. | Network terminal apparatus, communication overload avoiding method and program |
| JP2007214900A (en) * | 2006-02-09 | 2007-08-23 | Toshiba Corp | Demultiplexer |
| BRPI0706826A2 (en) * | 2006-03-14 | 2011-04-05 | Nec Corp | Buffer control method, relay apparatus and communication system |
| WO2023281745A1 (en) * | 2021-07-09 | 2023-01-12 | 日本電信電話株式会社 | Communication device, scheduling method, and program |
-
2001
- 2001-01-23 JP JP2001013919A patent/JP3646871B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2002217969A (en) | 2002-08-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3733784B2 (en) | Packet relay device | |
| KR100229558B1 (en) | Low Latency or Low Loss Switches for Asynchronous Transmission | |
| CA2297650C (en) | Networking systems | |
| JP2856104B2 (en) | ATM switch | |
| US6847646B1 (en) | Network coupling device with small cell memory | |
| JP4069818B2 (en) | Bandwidth monitoring method and packet transfer apparatus having bandwidth monitoring function | |
| EP0706298A2 (en) | Dynamic queue length thresholds in a shared memory ATM switch | |
| US20140348177A1 (en) | Managing flow control buffer | |
| JPWO1995003657A1 (en) | ATM switch | |
| JPH0744542B2 (en) | Bandwidth allocation method of virtual path in asynchronous transfer mode | |
| US20020141423A1 (en) | Queue control method and relay apparatus using the method | |
| JP2009290297A (en) | Communication device and control method for communication device | |
| JPH10243000A (en) | Switching flow control | |
| US6944182B1 (en) | ATM cell conversion circuit and ATM cell conversion method | |
| EP0818098B1 (en) | Method for rejecting cells at an overloaded node buffer | |
| JP3646871B2 (en) | Data relay apparatus and data relay method | |
| KR100293911B1 (en) | A buffer management method for mon-real time traffic in atm switching systems | |
| JP2008124967A (en) | Ether OAM switch device | |
| JPH1188343A (en) | Band shared circuit | |
| JP3039840B2 (en) | Virtual channel multiplexer | |
| JPH04369139A (en) | Atm traffic control system | |
| JP4135007B2 (en) | ATM cell transfer device | |
| JP3152296B2 (en) | Selective ATM cell discarding method and apparatus | |
| KR100198442B1 (en) | a. tea. Priority Control Method for Controlling Cell Service Rate by Cell Occupancy Status in M Switching System | |
| JP3352037B2 (en) | PDU discarding ATM switching equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20040517 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20041019 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050125 |
|
| 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: 20050202 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050202 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080218 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090218 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100218 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100218 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110218 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |