JP3693594B2 - Router device - Google Patents
Router device Download PDFInfo
- Publication number
- JP3693594B2 JP3693594B2 JP2001168618A JP2001168618A JP3693594B2 JP 3693594 B2 JP3693594 B2 JP 3693594B2 JP 2001168618 A JP2001168618 A JP 2001168618A JP 2001168618 A JP2001168618 A JP 2001168618A JP 3693594 B2 JP3693594 B2 JP 3693594B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- connection
- router device
- information
- reservation
- 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 - Lifetime
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、ネットワーク間の通信を中継するルータ装置に関するものである。
【0002】
【従来の技術】
ルータ装置は、複数のネットワークを接続し、接続したネットワーク間にまたがって送られるパケットの中継を行う。また、通信する端末間のコネクションの通信品質を保証するため、ルータ装置は、特定のパケットを優先的に処理するトラフィック制御を実施する。
【0003】
このトラフィック制御が、ネットワークの管理者によりルータ装置に登録された管理情報に従って行われるシステムがある。このシステムでは、例えば、リアルタイム性を要求する通信を行う端末については、その端末が通信するパケットの優先的な処理を指示する管理情報が予めルータ装置に登録される。ただし、管理者は、あるコネクションについて登録を行う場合、そのコネクションのパケットが通過する全てのルータ装置に対して、同じ内容の管理情報を登録しなければならない。
【0004】
一方で、トラヒック制御(通信帯域の割り当て)を、ネットワークの利用者の端末からルータ装置へ指定できるようにするプロトコル(資源予約プロトコル)の標準化が進められている。このプロトコルが適用されるシステムでは、当該プロトコルの通信を可能とするプログラムをシステム内の全ての端末に備える。通信の開始時、送信元の端末は、通信相手の端末およびその通信を中継するルータ装置に対して、資源予約プロトコルの通信で通信帯域幅などを指定する。ルータ装置は、指定された通信帯域幅などを満たすようにトラフィック制御を行う。なお、上記プロトコルの詳細については、日経コミュニケーションNo.209(1995.11.6)に記載されている。
【0005】
【発明が解決しようとする課題】
トラフィック制御の内容を示す管理情報を管理者がルータ装置に登録するシステムでは、コネクション毎に、パケットが通過する全てのルータ装置に対して同じ内容の登録を行う必要がある。中継を行うルータ装置の数が多い場合、この登録は管理者にとって大きな負担となる。
【0006】
トラヒック制御の内容を資源予約プロトコルにより利用者が指定できるシステムでは、資源予約プロトコルの通信を可能とするプログラムを全ての端末にインストールする必要があるため、システム構築時の管理者の負担は大きい。また、このシステムでは、全ての利用者が個々に自コネクションの通信帯域幅などを指定できるため、あるコネクションに通信帯域や、ルータ装置の処理能力を占有され、他のコネクションの開設や通信品質の保証ができなくなる可能性がある。
【0007】
そこで、本発明は、管理者のコネクションの管理を容易とし、各コネクションの通信品質を保証するルータ装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記の目的を達成するため、本発明のルータ装置は、各々一つ以上の通信端末もしくは他のルータ装置が接続された複数のネットワークの各々を相互に接続し、複数の前記ネットワークを介して通信する通信端末間の接続をコネクションとして管理するルータ装置であって、前記複数のネットワークよりパケットを受信する受信手段と、前記受信手段が受信したパケットの内容から、当該パケットを通信するコネクションを認識するコネクション認識手段と、前記コネクション認識手段が認識したコネクションに対応する前記ネットワークに、前記受信したパケットを転送する送信手段と、他のルータ装置を介さずに自ルータ装置に接続された前記通信端末のコネクション毎に、当該コネクションに対して行うトラヒック制御の内容を示す情報が登録された管理テーブルと、前記受信手段が受信したパケットが未開設のコネクションのパケットである場合に、当該コネクションを示す情報と、当該コネクションに対応して前記管理テーブルに登録されているトラヒック制御の内容を示す情報とを含む管理用のパケットを生成し、生成した管理用のパケットを前記コネクションに含まれる他の全てのルータ装置へ前記送信手段から送信するコネクション管理手段と、前記管理用のパケットの生成に用いたコネクションを示す情報とトラヒック制御の内容を示す情報、もしくは、前記受信手段が他のルータ装置より受信した前記管理用のパケットに含まれる情報に基づいて、前記コネクションを開設するとともに、当該コネクションについて前記送信手段が転送するパケットにトラフィック制御を施す通信制御手段と、所定の管理用の命令に応じて前記管理テーブルの登録内容を更新する登録手段とを備えることを特徴とする。
【0009】
このルータ装置は、各コネクションについて行うトラヒック制御の内容を、例えばネットワークの管理者が管理用の命令を用いて登録した管理テーブルの登録内容に従って制限するため、各コネクションにルータ装置の処理能力を適切に配分し、各コネクションの通信品質を保証することが可能である。また、このルータ装置は、他のルータ装置を介さずに直接接続された通信端末のコネクションについてのみ管理テーブルの登録が必要であるため、管理者の各コネクションの管理を容易とする。
【0010】
【発明の実施の形態】
以下で、本発明の実施形態を、図面を用いて説明する。
【0011】
(第一の実施形態)
図1に、本発明の第一の実施形態に係るルータ装置のブロック図を示す。
【0012】
図1のルータ装置1の処理は、パケットを品質クラス別に受信し必要に応じてその廃棄を行うパケット受信処理と、転送するパケットを品質クラスに応じて選択するパケット中継処理と、転送対象に選択されたパケットを品質クラスに応じて送信するパケット送信処理に大別される。また、ルータ装置1は、品質クラスに応じたパケットの送受信と廃棄(トラヒック制御)をコネクション毎に管理・制限することで、各コネクションの通信品質を保証する。
【0013】
図1で、ルータ装置1は、パケット受信処理に係る構成として、パケットを受信しバッファに格納するパケット受信部2と、受信されたパケットの品質クラスを判定するパケット判別部3Rxと、品質クラスの判定に用いられるコネクション管理テーブル4Rxと、上記のバッファを管理するバッファ管理部5と、受信されたパケットが品質クラス別に格納される品質クラス別キュー6Rxとを有する。また、パケット判別部3Tx、コネクション管理テーブル4Tx、品質クラス別キュー6Tx、およびパケット送信部11を、パケット送信処理に係る構成として有する。さらに、ルータ装置1は、パケット送信処理およびパケット受信処理を管理する通信品質管理部7と、その管理に利用される許可リスト8およびマッピングテーブル9と、パケット中継処理を行うパケット中継部10とを有する。
【0014】
ネットワークでルータ装置1へ伝送されたパケットは、パケット受信部2で受信されバッファの空き領域に格納される。パケット判別部3Rxは、上記パケットのコネクションがコネクション管理テーブル4Rxに登録されているかどうかを調べ、登録されていればマッピングテーブル9の情報を元に上記パケットの品質クラスを決定し、品質クラスに応じた品質クラス別キュー6Rxに格納する。上記コネクションがコネクション管理テーブル4Rxに未登録の場合、通信品質管理部7は、そのコネクションのトラヒック制御が許可されているかどうかを許可リスト8の情報から判定する。そして、許可されている場合は、マッピングテーブル9で、トラヒック制御の内容を示す通信品質パラメータを検索し、検索した通信品質パラメータを設定した制御パケットを送信する。パケット中継部10は、品質クラス別キュー6Rxの品質クラスの高いキューから優先的にパケットを取り出し、取り出したパケットの宛先アドレスを元にパケットの中継可/不可を判断し、中継可であるパケットはパケット判別部3Txに渡す。パケット判別部3Txは、渡されたパケットの品質クラスをコネクション管理テーブル4Txを調べて決定し、対応する品質クラス別キュー6Txに格納する。パケット送信部11は、品質クラス別キュー6Txから品質クラスの高いパケットを優先的に取り出して、ネットワークへ送出する。
【0015】
図2に、ルータ装置1のハードウェア構成を示す。
【0016】
図2で、ルータ装置1は、CPU20と、メインメモリ21と、バッファメモリ22と、ネットワークコントローラ23と、それら各部20〜23を接続する内部バス24とにより構成される。ネットワークコントローラ23は、ルータ装置1に接続する各ネットワーク毎に1つ設けられている。図1のパケット受信部2およびパケット送信部11は、ネットワークコントローラ23およびCPU20が連係して行う処理により実現される。図1のパケット判別部3Rx,3Tx、バッファ管理部5、通信品質管理部7、およびパケット中継部10は、CPU20により実現される。図1の品質クラス別キュー6Rx,6Tx、コネクション管理テーブル4Rx,4Tx、許可リスト8、およびマッピングテーブル9は、バッファメモリ22により実現され、メインメモリ21に格納されるポインタにより記憶位置を管理される。
【0017】
図3に、ルータ装置1が送受信するパケットのフォーマットを示す。
【0018】
図3で、パケット30は、ヘッダ部31とデータ部32により構成される。ヘッダ部31には、送信元の端末が要求する優先度を示す優先度情報33と、プロトコルの種別を示すプロトコル情報34と、送信元の端末を示す送信元アドレス情報35と、着信先の端末を示す宛先アドレス情報36と、通信に係る端末のアプリケーションを示すポート番号情報37とが設定される。データ部32には、端末のアプリケーションにより生成された通信データなどが設定される。
【0019】
このパケット30は、通信資源の予約時には制御パケット、データ通信時にはデータパケットとしてそれぞれ用いられる。制御パケットは、資源予約プロトコルの処理で生成されるもので、送信元の端末またはルータ装置1から送られる予約情報パケットと、その着信側の端末またはルータ装置1から返送される予約要求パケットの2つがある。予約情報パケットでは、前述のプロトコル情報34、宛先アドレス情報36、およびポート番号情報37に設定が行われる。予約要求パケットでは、受信した予約情報パケットのプロトコル情報34、宛先アドレス情報36、ポート番号情報37が設定される他、データ部32には通信品質パラメータが設定される。
【0020】
この他、ルータ装置1は、ネットワークの管理者が操作する管理端末から送られる管理パケットも受信する。管理者は、管理パケットの送信により任意のルータ装置1の許可リスト8とマッピングテーブル9の登録内容の更新を行うことができる。
【0021】
なお、以上の4種類のパケットには、パケットの種類を識別するための情報も含まれている。また、ポート番号情報37により、受信したパケット30を生成したアプリケーションが特定されるため、受信側の端末は、異なる複数のアプリケーションのパケット30をアプリケーション別に並行して受信・識別することができる。ここでは、コネクションの特定に用いられるプロトコル情報34、宛先アドレス情報36、およびポート番号情報37をまとめてコネクション情報と呼ぶ。
【0022】
図4に、コネクション管理テーブル4の設定情報の一例を示す。図4に示すように、コネクション管理テーブル4には、コネクション情報(宛先アドレス情報、プロトコル情報、ポート番号情報)と、マッピングテーブル9へのポインタ情報とが組で登録される。コネクション管理テーブル4に登録されたコネクションは、開設のなされたコネクションであり、対応するポインタ情報により特定されるマッピングテーブル9の内容に従って品質クラス別キュー6に格納される。
【0023】
図5に、許可リスト8とマッピングテーブル9の設定情報の一例を示す。
【0024】
図5に示すように、許可リスト8には、送信元アドレス情報と、宛先アドレス情報と、許可フラグと、マッピングテーブル9へのポインタ情報とが組で設定される。トラヒック制御が許可されているコネクションの許可フラグには「ON」が設定され、許可されていないコネクションの許可フラグには「OFF」が設定される。許可リスト8は、ルータ装置1の各ネットワークコントローラ23毎(受信インターフェース毎)に1つ設けられ、他のルータ装置を介さずにネットワークコントローラ23と直接接続される端末についての上記情報が設定される。ポインタ情報には、マッピングテーブル9の識別子(後述)が複数個設定できる。
【0025】
マッピングテーブル9には、識別子と、プロトコルの種別と、ポート番号と、通信品質パラメータとが組で設定される。通信品質パラメータは、パケット30の優先度情報の値に対応して複数設定され、処理の優先クラスを4レベル(0が最低で、3は最高)で示し、廃棄レベルを2レベル(「D」が廃棄可能で、「N」は廃棄不可)で示す。マッピングテーブル9は、ルータ装置1内に一つ設定され、複数ある許可リスト8のポインタ情報により共通に指し示される。ここでは、品質クラスを4レベルとし、処理の優先クラスをそのまま品質クラスとして用いる。すなわち、処理の優先レベルが3のパケットは、品質クラスも3となり、パケットの中継処理および送信処理で最優先に処理される。
【0026】
図5の例で、<プロトコルA,ポート番号w>のパケットは全て廃棄可能で、その処理優先クラスは、優先度情報が0から3では0、優先度情報が4以上でも1と低い。すなわち、このパケットは、パケットの廃棄による再送や、伝送遅延が許されるバッチ型のアプリケーションの通信に向いている。<B,x>のパケットは、優先度情報によらず常に最優先で処理され、廃棄不可である。このパケットは、オンライン処理を行う基幹業務のアプリケーションの通信に向いている。<C,y>および<C,z>のパケットは共に、優先度情報が2以上の場合に最優先で処理される。廃棄レベルは、<C,z>が全て不可であるのに対し、<C,y>は優先度情報が3以下の場合には廃棄可能である。すなわち、<C,y>のパケットは、リアルタイムの転送が要求され、かつ、ある程度の伝送品質の低下を許容できるデータ(例えば、音声情報)の転送に向いている。<C,z>のパケットは、リアルタイムの転送が要求され、伝送品質の低下がより許容されるデータ(例えば、動画情報)の転送に向いている。
【0027】
図6に、品質クラス別キュー6Rx,6Txの構成例を示す。
【0028】
品質クラス別キュー6Rx,6Txの各々は、受信したパケットのキューを品質クラス毎およびコネクション毎に格納する。図6には、ある品質クラスnにおいて3つのコネクションのキュー列が格納された状態を示している。各品質クラスはコネクション毎に、コネクションポインタ部82と、キュー格納バッファ84の列(コネクションキュー)とを有する。コネクションポインタ部82は、次に中継対象となるコネクションポインタ82を指し示すポインタ82aと、次に廃棄対象となるコネクションポインタ82を指し示すポインタ82bと、自コネクションについての先頭および最後のキュー格納バッファ84を指し示すポインタ82cとからなる。ポインタ82aにより処理コネクションリスト85が形成され、ポインタ82bにより廃棄コネクションリスト86が形成される。キュー格納バッファ84には、パケットと、その前後のキュー格納バッファ84を指し示すポインタとが格納される。ここで、先頭のキュー格納バッファ84には未処理で受信時刻の最も古いパケットが格納され、以降、最後のキュー格納バッファ84にかけて受信時刻が現時刻に近いパケットが格納されている。また、中継対象と廃棄対象のコネクションポインタ部82は、処理コネクションポインタ80と、廃棄コネクションポインタ81によりそれぞれ指し示される。
【0029】
トラヒック制御の対象となるコネクションが新たに登録されると、コネクションポインタ82が追加され、そのコネクションに属するパケットは、追加されたコネクションポインタ82のコネクションキューに格納される。各品質クラスにおける処理では、各コネクション毎に一つずつパケットが処理される。これは、同一の品質クラスに多数のコネクションが存在する場合に、その内のあるコネクションのパケットだけが処理されることを防ぎ、すべてのコネクションに対して公平に処理を行うことを可能とする。なお、処理の終了したパケットはコネクションキューから削除される。
【0030】
以下で、ルータ装置1の処理を、処理フローを用いて説明する。
【0031】
図7に、パケット受信処理の処理フローを示す。
【0032】
ルータ装置1のパケット受信部2は、パケットを受信すると、バッファ管理部5により指定されたバッファメモリ22の空き領域にそのパケットを格納する(100)。バッファ管理部11は、バッファメモリ22の空き領域の容量を常時監視し、その容量が一定値以上であるかどうかを判定する(101)。一定値未満の場合はパケット廃棄処理を行う(103)。バッファメモリ22の空き領域の容量が一定値以上である場合と、ステップ102の処理の後には、パケット判別処理(103)を行い処理を終了する。
【0033】
図8に、パケット廃棄処理102の処理フローを示す。通信品質管理部7は、バッファメモリ22の空き領域の容量を元に輻輳の度合いを判断し、2つの廃棄制御のいずれかを実施する。バッファメモリ22の空き領域の容量が所定の最小値以上であれば(200)、第一の廃棄制御を行い(201)、所定の最小値未満の場合には第二の廃棄制御を行う(202)。すなわち、輻輳の度合が低い(つまり、受信バッファの空き領域の容量に余裕がある)場合に第一の廃棄制御を実施し、輻輳の度合いが高い場合には第二の廃棄制御を実施する。
【0034】
図9に、第一の廃棄処理の処理フローを示す。第一の廃棄処理で通信品質管理部7は、品質クラス別キュー6Rxの内の、蓄積するパケットの総バイト数が最も多い品質クラスを廃棄制御の対象として選択する(210)。そして、選択した品質クラスにおいて廃棄可能なコネクションキューを選択する(211)。図6で示したように、品質クラス別キュー6Rxには廃棄対象のコネクションを示す廃棄コネクションポインタ81が格納されている。このポインタが指すコネクションキューにパケットが存在するかを調べ(212)、存在すればパケットを廃棄する。なお、パケットの再送処理を行う端末(または、アプリケーション)のパケットを廃棄する場合に、コネクションキューの先頭に格納されている受信した時間の古いパケットを廃棄すると、廃棄したパケット以降の全てのパケットが再送されて、輻輳が助長されることがある。しかし、リアルタイム性を要求するパケットの通信では、一定時間を経過した古いパケットが不要となるため、できるだけ古いパケットを廃棄することが望ましい。このため、本処理では、パケットを廃棄する際に、そのパケットが上記の再送のなされるものであるかどうかを判断し(213)、再送されるものであればコネクションキューの最後のパケットを廃棄し(214)、再送されないものであればコネクションキューの先頭のパケットを廃棄する(215)。なお、パケットが再送さるものどうかは使用するプロトコルによって判断できるため、パケット判別処理あるいは品質管理処理で、キューポインタ部82に再送の有無を示すフラグを付加することにより、ステップ213の判断が可能となる。パケットの廃棄では、選択された品質クラスの各コネクション毎にパケットが一つずつ廃棄される。廃棄コネクションポインタ81が示すコネクションのパケットを廃棄したら、廃棄コネクションリスト85によって示される次のコネクションキューで未処理のコネクションの有無を調べ(216)、存在する場合にはそのコネクションを廃棄コネクションポインタに登録して、ステップ212に戻る。選択した品質クラスの全ての廃棄コネクションキューについて廃棄処理が終了したら、バッファメモリ22の空き容量を調べ(217)、一定値以上であれば処理を終了する。一定値未満であれば廃棄可のパケットの有無を調べ(219)、存在する場合にはステップ210に戻り、登録されているパケットの総バイト数が最も多い品質クラスを選んで、前述の廃棄処理を繰り返す。ステップ218で、廃棄可のパケットがなければ処理を終了する。
【0035】
図10に、第二の廃棄処理の処理フローを示す。この処理で通信品質管理部7は、第一の廃棄制御と同様に、蓄積するパケットの総バイト数が最も多い品質クラスを廃棄制御の対象として選択し(230)、廃棄コネクションポインタ81で示されるコネクションキューを廃棄対象として選択する(231)。そして、選択したコネクションキューに登録されている全パケットを廃棄する(232)。その品質クラスに未廃棄のパケットが存在する場合は(233)、廃棄コネクションリスト86によって示されるコネクションキューを廃棄対象に選択して(234)、ステップ232に戻る。上記品質クラスのパケットをすべて廃棄したら(233)、バッファメモリ22の空き領域の容量が一定値以上であるか調べ(234)、一定値以上であれば第二の廃棄制御を終了する(235)。一定値未満の場合には、他のコネクションに廃棄可パケットが存在するかを調べる(236)。存在する場合には、ステップ230に戻り、総バイト数が最も多い品質クラスを廃棄対象として廃棄処理を繰り返す。
【0036】
図11に、パケット判別処理(103)の処理フローを示す。
【0037】
この処理で、パケット判別部3Rxは、受信したパケットがデータパケットであるかどうかを判定し(110)、データパケットでない場合は、制御パケットと管理パケットのいずれであるかを判定する(118)。制御パケットの場合、資源予約処理(後述111)を行って処理を終了する。自ルータ装置1宛の管理パケットの場合には、その設定情報に応じて許可リスト8およびマッピングテーブル9の登録内容の更新を行って処理を終了する。ステップ110で、データパケットと判定された場合は、そのパケットからコネクション情報(宛先アドレス情報、プロトコル情報、ポート番号情報)を抽出し(112)、その情報がコネクション管理テーブル4Rxに登録されているかどうかを調べる(113)。登録されている場合は、そのパケットから優先度情報を抽出し(115)、コネクション管理テーブル4Rxに組で登録されているポインタ情報が指し示すマッピングテーブル9において、抽出した優先度情報に対応する上記パケットの品質クラスを決定する(116)。そして、決定した品質クラスの品質クラス別キュー6Rxに上記パケットを格納し、その格納位置を示すポインタの登録を行って(117)、処理を終了する。ステップ113において、コネクション管理テーブル4Rxに登録されていない場合は、通信品質管理処理(後述114)を行って処理を終了する。
【0038】
図12に、品質制御管理処理(114)の処理フローを示す。この処理は、コネクション管理テーブル4Rxに登録されていないデータパケットに対して行われる。この処理で、通信品質管理部7は、受信したデータパケットが通信品質保証制御を許可されているかどうかを、そのパケットに設定された送信元および宛先アドレス情報35,36を元に許可リスト8で調べる(130)。対応する許可フラグが「ON」に設定されている場合は、そのパケットのプロトコル情報34とポート番号情報37を抽出し(131)、同じ情報が対応するマッピングテーブル9に設定されている場合には(132)、そのパケットのコネクション情報を含む予約情報パケットを着信側に送信する(133)。ステップ130で、許可フラグが「OFF」の場合には処理を終了する。
【0039】
図13に、資源予約処理(111)の処理フローを示す。この処理は、受信された制御パケットに対して行われる。まず、受信した制御パケットの送信元および宛先アドレス情報のチェックが必要であるかどうかを判定する(150)。アドレスのチェックが不要の場合、制御パケットが予約情報パケットと予約要求パケットのいずれであるかを判定する(151)。予約情報パケットならば、資源予約プロトコル処理を行い(152)、その予約情報パケットに含まれるコネクション情報を抽出し(153)、抽出した情報が許可リスト8に登録されているかを調べる(154)。登録されている場合は、対応するマッピングテーブル9で通信品質パラメータを決定する(155)。そして、決定した通信品質パラメータを用いて予約要求パケットを生成し、予約情報パケットを送信したルータ装置1(または端末)へ、生成した予約要求パケットを送信する(156)。そして、予約情報パケットで指定されたコネクションの通信で、以後、通信品質パラメータに基づくトラヒック制御が行なわれるように、予約情報パケットの情報をコネクション管理テーブル4に登録し(157)、処理を終了する。
【0040】
ステップ154において、コネクション情報が許可リスト8に登録されていない場合は、予約情報パケットを転送し(160)、処理を終了する。ステップ151において、受信した制御パケットが予約要求パケットである場合は、その予約要求パケットに設定されたコネクション情報と同じ内容の予約情報パケットを送信したかどうかを調べる(161)。その予約情報パケットを送信していた場合は、予約要求パケットに対するプロトコル処理を行い(162)、その予約要求パケットの設定情報を元にコネクション管理テーブル4に登録を行って(157)、処理を終了する。ステップ150において、受信した制御パケットのアドレスチェックの必要がある場合は、制御パケットの送信元および宛先アドレス情報35,36を抽出し、許可リスト8に登録されているかどうかを調べる(158)。登録されている場合は、資源予約プロトコル処理を行い(159)、受信した制御パケットを着信側のルータ装置1(または端末)へ転送して(160)、処理を終了する。許可リスト8に登録されていない場合は、通信品質保証制御の許可されていないコネションについて制御パケットであると判断し、何も処理せずに終了する。
【0041】
次に、ルータ装置1のパケット中継処理とパケット送信処理を説明する。
【0042】
図14に、パケット中継処理の処理フローを示す。この処理で、パケット中継部10は、後述の品質制御処理によって中継すべきパケットを選択する(170)。選択したパケットの宛先アドレス情報から送信に利用するネットワークコントローラ23と中継の可/不可を決定し(171)、中継可のパケットについて前述したパケット判別処理(図8)を行う(103)。ただし、この処理では、予約情報パケットおよび予約要求パケットの生成および送信は行わない。
【0043】
図15に、パケット送信処理の処理フローを示す。この処理で、パケット送信部11は、後述の品質制御処理により送信すべきパケットを選択し(170)、選択したパケットを送信する(175)。
【0044】
図16に、品質制御処理(170)の処理フローを示す。
【0045】
この処理では、品質クラス別キュー6の各品質クラスについて、連続して処理できるバイト数を制限することで、品質クラスの高いパケットを連続的に多数受信した場合に品質クラスの低いパケットが処理されなくなるのを防いでいる。また、ある品質クラスのパケットを連続的に処理する場合にも、各コネクション毎に一つずつパケットを選択することで、あるコネクションのパケットだけが処理されることを防いでいる。
【0046】
最初に、品質クラス毎の処理バイト数の最大値Mi(i=0,1,2,3)を設定する(191)。処理されたバイト数の累計Biを各品質クラス毎に求めるカウンタに0を設定する(180)。処理対象となる品質クラスを示す変数nに、最も高い品質クラスを示す3を設定する(181)。n番目の品質クラスのキューにパケットがあるかどうかを調べる(182)。存在すれば、n番目の品質クラスの処理バイト数Bnがその品質クラスの最大値Mnを越えていないかどうかを調べる(183)。越えていなければ、n番目の品質クラスで最も過去に登録されたコネクションキューを決定する(184)。決定したコネクションキューからパケットを一つ取り出し(185)、取り出したパケットのバイト数をカウンタが処理バイト数Bnに加算する(186)。コネクションリストを調べ、次に処理すべきコネクションキューを格納する。ステップ183において処理バイト数Bnが最大値Mnを越えている場合は、それより低い品質クラスのパケットを処理する。すなわち、nが0でなければ(188)、nをデクリメントして(189)、ステップ182に戻る。nが0であれば各品質クラスの処理バイト数を0にしてステップ181に戻る。
【0047】
なお、ルータ装置1は、パケット中継処理およびパケット送信処理の両方で品質制御処理(170)を行なうが、パケット送信処理のみで通信品質保証制御を行う場合にも通信品質の保証が可能である。また、ネットワークコントローラ23の増設により、3つ以上のネットワークを接続し、通信を行うことができる。
【0048】
次に、ルータ装置1を用いたネットワークシステムについて説明する。
【0049】
図17に、ネットワークシステムの構成例を示す。図17のネットワークシステムは、4つのネットワーク15A,15B,15C,15Zを含み、ネットワーク15A,15B,15Cを、それぞれルータ装置1(1A,1B,1C)を介してネットワーク15Zに接続している。ネットワーク15A,15B,15Cには、各一つ以上の端末16A,16B,16Cが接続され、ネットワーク15Zには、ネットワークシステムの回線障害管理、ルータの障害管理、構成定義情報の設定、管理情報の収集を行うネットワーク管理端末17が接続されている。ネットワーク管理端末17は、ネットワーク管理用のプロトコル(あるいはリモートアクセス)の処理で生成した管理パケットにより、ルータ装置1の許可リスト8およびマッピングテーブル9に設定を行うことができる。この機能により、ルータ装置1Aおよび1Bの許可リスト8には、ネットワーク15Aの端末16Aを示す送信元アドレス情報と、ネットワーク15Bの端末16Bを示す宛先アドレス情報とを含むコネクション情報が設定され、対応する許可フラグが「ON」に設定されている。また、ルータ装置1AZおよび1BZの許可リスト8には、上記コネクション情報の設定はなされていない。
【0050】
コネクションが登録されていない状態で、端末16Aから端末16Bへデータパケットが送信されると、そのパケットのアドレス情報に対応する許可リスト8の許可フラグが「ON」であるため、ルータ装置1Aは、そのパケットのコネクション情報から予約情報パケットを生成して、端末16Bへ送信する。このパケットを受信したルータ装置1Bは、受信した予約情報パケットのアドレス情報が自ルータ装置1Bの許可リスト8に登録されているので、予約情報パケットの設定情報を元に品質パラメータを決定し、コネクション管理テーブル4にコネクションを登録する。そして、決定した品質パラメータとコネクション情報を含む予約要求パケットを端末16Aへ送信する。ルータ装置1Aでは、受信した予約要求パケットで示されるコネクション情報が自ルータ装置1Aが以前に送信した予約情報パケットのコネクション情報と一致するので、コネクション管理テーブル4にコネクションを登録する。これらの制御パケットを中継する他のルータ装置1AZおよび1BZは、許可リスト8に上記コネクションの設定がなされていないので、受信した制御パケットを全て正常に処理して転送する。これにより、以後、端末16Aと端末16B間の通信に対して、上記の品質パラメータに応じたトラヒック制御が行われる。
【0051】
一方、端末16Aおよび16Bが資源予約プロトコルの処理機能を備える場合には、端末16Aおよび16Bの制御パケットの送受信によっても上記コネクションの登録およびトラヒック制御が行われる。この場合、通信品質パラメータの決定は端末16Aまたは16Bで行われ、ルータ装置1Aおよび1Bは、その通信品質パラメータに応じたトラヒック制御を行う。
【0052】
ネットワーク15Aおよび15Cにまたがるコネクションについてのルータ装置1Aおよび1Cの許可リスト8の許可フラグを「OFF」に設定することで、ネットワーク15Aとネットワーク15Cの間の通信のトラヒック制御は行われなくなる。この場合、端末16Aまたは16Bに向けて端末16Cから送信される制御パケットは、ルータ装置1Cで廃棄される。
【0053】
以上で説明したように、ルータ装置1は、管理者が登録した許可リスト8およびマッピングテーブル9の内容を元に、各コネクションの開設や各コネクションの通信に施すトラヒック制御の内容を制限することで、各コネクションの通信品質を保証することができる。
【0054】
また、ルータ装置1は、開設されていないコネクションのパケットが送信された場合、マッピングテーブル9の内容から、そのパケットの通信で要求されるトラヒック制御の内容を決定し、それを上記コネクションに含まれる全てのルータ装置に通知するため、資源予約プロトコルの機能を持たない端末に対してもコネクションの開設と適切なトラヒック制御を行うことができる。
【0055】
さらに、ルータ装置1は、他のルータ装置を介さずに直接接続された端末のコネクションについてのみ許可リスト8およびマッピングテーブル9の登録が必要であるため、コネクションに含まれる全てのルータ装置へ登録を必要とする従来の技術に比べ、管理者のコネクションの管理を容易とすることができる。
【0056】
(第二の実施形態)
図18に、本発明の第二の実施例に係るルータ装置2のハードウェア構成を示す。ルータ装置2は、ルータ装置2の各部の管理を専門に行うCPU60と、CPU60のプログラムや管理データを保持するメモリ61と、複数のメモリカード62と、それら各部60〜62を接続する内部バス66とを有する。メモリカード62は、ルータ装置2に接続される各ネットワーク毎に1つ存在し、CPU63、メモリ64、およびネットワークコントローラ65を内蔵している。
【0057】
ルータ装置2は、第一の実施形態のルータ装置1と同様の機能(図1参照)を有する。すなわち、ルータ装置2において、図1のパケット受信部2は、パケットを受信したインタフェースカード62に内蔵されるネットワークコントローラ65およびCPU63により実現される。パケット判別部3Rxおよびパケット中継部10は、パケットを受信したインタフェースカード62に内蔵されるCPU63によって実現される。パケット判別部3Txは、パケットを送信するインタフェースカード62に内蔵されるCPU63によって、パケット送信部11は、パケットを送信するインタフェースカード62に内蔵されるCPU63およびネットワークコントローラ65によって実現される。品質クラス別キュー6Rxは、パケットを受信したインタフェースカード61に内蔵されるメモリ64によって、品質クラス別キュー6Txは、パケットを送信するインタフェースカード61に内蔵されるメモリ64によってそれぞれ実現される。コネクション管理テーブル4Rxおよび4Txは、パケットを送受信するそれぞれのインタフェースカード62に内蔵されるメモリによって実現される。通信品質管理部7はCPU60で実現され、許可リスト8、マッピングテーブル9はメモリ61によって実現される。マッピングテーブル9は各インタフェースカード62のメモリ64で実現してもよい。
【0058】
次に、ルータ装置2の処理について説明する。パケット判別処理と品質制御管理処理は、それぞれ図11、図12と同じである。資源予約処理では、図13の処理において、トラヒック制御を行うパケットのコネクション情報を、そのパケットを受信するインタフェースカード62のコネクション管理情報テーブル4に登録する。パケット中継処理では、図14の処理において、送信に利用するインタフェースカード62を決定し、そこにパケットを転送する。パケットの送受信処理でも、各インタフェースカード62において図7、図15と同様な処理が行われる。
【0059】
本実施形態によれば、第一の実施形態と同様の効果が得られる。また、パケットの送受信処理および中継処理における処理負荷が、複数のCPU63,60や複数のネットワークコントローラ65に分散されるため、第一の実施形態よりも処理能力を高めることができる。
【0060】
【発明の効果】
本発明によれば、管理者のコネクションの管理を容易とし、各コネクションの通信品質を保証するルータ装置を提供することができる。
【図面の簡単な説明】
【図1】 第一の実施形態に係るルータ装置のブロック構成図である。
【図2】 ルータ装置のハードウェア構成図である。
【図3】 ルータ装置が扱うパケットのフォーマット例である。
【図4】 コネクション管理テーブルである。
【図5】 ルータ装置に設定する許可リスト、マッピングテーブルである。
【図6】 品質クラス別キューの構造図である。
【図7】 パケット受信処理の処理フローである。
【図8】 パケット廃棄処理の処理フローである。
【図9】 第一の廃棄処理の処理フローである。
【図10】 第二の廃棄処理の処理フローである。
【図11】 パケット判別処理の処理フローである。
【図12】 品質制御管理処理の処理フローである。
【図13】 資源予約処理の処理フローである。
【図14】 パケット中継処理の処理フローである。
【図15】 パケット送信処理の処理フローである。
【図16】 品質制御処理の処理フローである。
【図17】 ネットワークシステムの構成図である。
【図18】 第二の実施形態に係るルータ装置のハードウェア構成図である。
【符号の説明】
1… ルータ装置、2… パケット受信部、3… パケット判別部、4… コネクション管理テーブル、5… バッファ管理部、6… 品質クラス別キュー、7… 通信品質管理部、8… 許可リスト、9… マッピングテーブル、10… パケット中継部、11… パケット送信部、20… CPU、22… バッファメモリ、23… ネットワークコントローラ、30… パケット、33… 優先度情報、34… プロトコル情報、35… 送信元アドレス情報、36… 宛先アドレス情報、37… ポート番号情報。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a router device that relays communication between networks.
[0002]
[Prior art]
The router device connects a plurality of networks and relays packets transmitted between the connected networks. Further, in order to guarantee the communication quality of the connection between the communicating terminals, the router device performs traffic control that preferentially processes a specific packet.
[0003]
There is a system in which this traffic control is performed according to management information registered in a router device by a network administrator. In this system, for example, for a terminal that performs communication requesting real-time performance, management information that instructs preferential processing of packets communicated by the terminal is registered in the router device in advance. However, when registering a certain connection, the administrator must register the management information having the same contents for all router devices through which the packet of the connection passes.
[0004]
On the other hand, standardization of a protocol (resource reservation protocol) that allows traffic control (communication band allocation) to be specified from a network user's terminal to a router device is in progress. In a system to which this protocol is applied, a program that enables communication of the protocol is provided in all terminals in the system. At the start of communication, the transmission source terminal designates a communication bandwidth and the like in communication using the resource reservation protocol to the communication partner terminal and the router device that relays the communication. The router device performs traffic control so as to satisfy a designated communication bandwidth. Details of the above protocol are described in Nikkei Communication No. 209 (Nov. 6, 1995).
[0005]
[Problems to be solved by the invention]
In a system in which an administrator registers management information indicating the content of traffic control in a router device, it is necessary to register the same content for all router devices through which a packet passes for each connection. If the number of router devices that perform relay is large, this registration is a heavy burden on the administrator.
[0006]
In a system in which a user can specify the contents of traffic control using a resource reservation protocol, it is necessary to install a program that enables communication using the resource reservation protocol on all terminals, which places a heavy burden on the administrator during system construction. In addition, in this system, all users can individually specify the communication bandwidth of their own connection, etc., so that one connection occupies the communication bandwidth and the processing capacity of the router device, and the establishment of other connections and communication quality There is a possibility that it can not be guaranteed.
[0007]
Therefore, an object of the present invention is to provide a router device that facilitates management of connections by an administrator and guarantees the communication quality of each connection.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the router device of the present invention connects each of a plurality of networks to which one or more communication terminals or other router devices are connected, and communicates via the plurality of networks. A router device that manages connections between communication terminals as connections, and recognizes a connection that communicates the packet from a receiving unit that receives packets from the plurality of networks and a content of the packet received by the receiving unit A connection recognizing unit, a transmitting unit for transferring the received packet to the network corresponding to the connection recognized by the connection recognizing unit, and the communication terminal connected to the own router without passing through another router. For each connection, information indicating the content of the traffic control performed for that connection. And when the packet received by the receiving means is a packet of an unestablished connection, information indicating the connection and traffic control registered in the management table corresponding to the connection A management packet including information indicating the contents of the connection, a connection management unit for transmitting the generated management packet from the transmission unit to all other router devices included in the connection, and the management packet The connection is established based on information indicating the connection used to generate the packet and information indicating the content of the traffic control, or information included in the management packet received by the receiving unit from another router device. At the same time, traffic is transmitted to the packet transferred by the transmission means for the connection. A communication control means for performing click control, characterized in that it comprises a registration means for updating the stored contents of the management table in accordance with the instructions for a given management.
[0009]
This router device limits the content of traffic control performed for each connection according to the registered content of the management table registered by the network administrator using a management command, for example. It is possible to guarantee the communication quality of each connection. In addition, since this router device needs to register the management table only for the connection of the communication terminal directly connected without passing through another router device, the management of each connection of the administrator is facilitated.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0011]
(First embodiment)
FIG. 1 shows a block diagram of a router device according to the first embodiment of the present invention.
[0012]
The processing of the
[0013]
In FIG. 1, the
[0014]
A packet transmitted to the
[0015]
FIG. 2 shows a hardware configuration of the
[0016]
In FIG. 2, the
[0017]
FIG. 3 shows a format of a packet transmitted and received by the
[0018]
In FIG. 3, the
[0019]
The
[0020]
In addition, the
[0021]
The above four types of packets also include information for identifying the type of packet. Further, since the application that generated the received
[0022]
FIG. 4 shows an example of setting information in the connection management table 4. As shown in FIG. 4, connection information (destination address information, protocol information, port number information) and pointer information to the mapping table 9 are registered in pairs in the connection management table 4. The connection registered in the connection management table 4 is an established connection, and is stored in the
[0023]
FIG. 5 shows an example of setting information of the
[0024]
As shown in FIG. 5, in the
[0025]
In the mapping table 9, an identifier, a protocol type, a port number, and a communication quality parameter are set as a set. A plurality of communication quality parameters are set corresponding to the priority information value of the
[0026]
In the example of FIG. 5, all packets of <protocol A, port number w> can be discarded, and the processing priority class is as low as 0 when the priority information is 0 to 3, and as low as 1 when the priority information is 4 or more. That is, this packet is suitable for re-transmission by discarding the packet and for communication of a batch type application in which transmission delay is allowed. The packet of <B, x> is always processed with the highest priority regardless of the priority information, and cannot be discarded. This packet is suitable for communication of a core business application that performs online processing. Both <C, y> and <C, z> packets are processed with the highest priority when the priority information is 2 or more. As for the discard level, <C, z> cannot be used, whereas <C, y> can be discarded when the priority information is 3 or less. That is, the <C, y> packet is suitable for transferring data (for example, voice information) that requires real-time transfer and can tolerate a certain decrease in transmission quality. The packet of <C, z> is suitable for transferring data (for example, moving picture information) that requires real-time transfer and is allowed to have a lower transmission quality.
[0027]
FIG. 6 shows a configuration example of the quality class-specific queues 6Rx and 6Tx.
[0028]
Each of the quality class-specific queues 6Rx and 6Tx stores a queue of received packets for each quality class and each connection. FIG. 6 shows a state in which queue queues of three connections are stored in a certain quality class n. Each quality class has a connection pointer section 82 and a queue storage buffer 84 column (connection queue) for each connection. The connection pointer unit 82 indicates a pointer 82a indicating the connection pointer 82 to be relayed next, a pointer 82b indicating the connection pointer 82 to be discarded next, and the first and last queue storage buffers 84 for the own connection. It consists of a pointer 82c. A
[0029]
When a connection subject to traffic control is newly registered, a connection pointer 82 is added, and packets belonging to the connection are stored in the connection queue of the added connection pointer 82. In processing in each quality class, one packet is processed for each connection. This prevents a packet of a certain connection from being processed when there are a large number of connections in the same quality class, and makes it possible to perform processing fairly for all connections. Note that the processed packet is deleted from the connection queue.
[0030]
Below, the process of the
[0031]
FIG. 7 shows a processing flow of packet reception processing.
[0032]
When receiving the packet, the
[0033]
FIG. 8 shows a processing flow of the packet discard
[0034]
FIG. 9 shows a processing flow of the first discarding process. In the first discard process, the communication
[0035]
FIG. 10 shows a processing flow of the second discarding process. In this process, the communication
[0036]
FIG. 11 shows a process flow of the packet discrimination process (103).
[0037]
In this process, the packet determination unit 3Rx determines whether the received packet is a data packet (110), and if it is not a data packet, determines whether it is a control packet or a management packet (118). In the case of a control packet, a resource reservation process (111 described later) is performed and the process ends. In the case of a management packet addressed to the
[0038]
FIG. 12 shows a process flow of the quality control management process (114). This process is performed for data packets that are not registered in the connection management table 4Rx. In this process, the communication
[0039]
FIG. 13 shows a processing flow of the resource reservation process (111). This process is performed on the received control packet. First, it is determined whether or not it is necessary to check the source and destination address information of the received control packet (150). If the address check is unnecessary, it is determined whether the control packet is a reservation information packet or a reservation request packet (151). If it is a reservation information packet, resource reservation protocol processing is performed (152), connection information included in the reservation information packet is extracted (153), and it is checked whether the extracted information is registered in the permission list 8 (154). If registered, the communication quality parameter is determined by the corresponding mapping table 9 (155). Then, a reservation request packet is generated using the determined communication quality parameter, and the generated reservation request packet is transmitted to the router device 1 (or terminal) that transmitted the reservation information packet (156). Then, the information of the reservation information packet is registered in the connection management table 4 so that the traffic control based on the communication quality parameter is performed in the communication of the connection designated by the reservation information packet (157), and the process ends. .
[0040]
In
[0041]
Next, packet relay processing and packet transmission processing of the
[0042]
FIG. 14 shows a processing flow of packet relay processing. In this process, the
[0043]
FIG. 15 shows a processing flow of packet transmission processing. In this process, the packet transmission unit 11 selects a packet to be transmitted by a quality control process described later (170), and transmits the selected packet (175).
[0044]
FIG. 16 shows a process flow of the quality control process (170).
[0045]
In this process, for each quality class in the
[0046]
First, the maximum value Mi (i = 0, 1, 2, 3) of the number of processing bytes for each quality class is set (191). A counter for obtaining the accumulated Bi of the number of processed bytes for each quality class is set to 0 (180). The variable n indicating the quality class to be processed is set to 3 indicating the highest quality class (181). It is checked whether there is a packet in the queue of the nth quality class (182). If it exists, it is checked whether the number Bn of processing bytes of the nth quality class exceeds the maximum value Mn of the quality class (183). If not exceeded, the connection queue registered most recently in the nth quality class is determined (184). One packet is extracted from the determined connection queue (185), and the counter adds the number of bytes of the extracted packet to the processing byte number Bn (186). Check the connection list and store the connection queue to be processed next. If the number of processed bytes Bn exceeds the maximum value Mn in step 183, a lower quality class packet is processed. That is, if n is not 0 (188), n is decremented (189), and the process returns to step 182. If n is 0, the number of processing bytes of each quality class is set to 0, and the process returns to step 181.
[0047]
The
[0048]
Next, a network system using the
[0049]
FIG. 17 shows a configuration example of the network system. The network system of FIG. 17 includes four
[0050]
When a data packet is transmitted from the terminal 16A to the terminal 16B in a state where the connection is not registered, the permission flag of the
[0051]
On the other hand, when the
[0052]
By setting the permission flag of the
[0053]
As described above, the
[0054]
Further, when a packet of a connection that has not been established is transmitted, the
[0055]
Furthermore, since the
[0056]
(Second embodiment)
FIG. 18 shows a hardware configuration of the
[0057]
The
[0058]
Next, processing of the
[0059]
According to this embodiment, the same effect as the first embodiment can be obtained. In addition, since the processing load in packet transmission / reception processing and relay processing is distributed to the plurality of
[0060]
【The invention's effect】
ADVANTAGE OF THE INVENTION According to this invention, the management of a manager's connection can be made easy and the router apparatus which guarantees the communication quality of each connection can be provided.
[Brief description of the drawings]
FIG. 1 is a block configuration diagram of a router device according to a first embodiment.
FIG. 2 is a hardware configuration diagram of the router device.
FIG. 3 is a format example of a packet handled by a router device.
FIG. 4 is a connection management table.
FIG. 5 is a permission list and mapping table set in the router device.
FIG. 6 is a structure diagram of a quality class queue.
FIG. 7 is a processing flow of packet reception processing.
FIG. 8 is a processing flow of packet discard processing.
FIG. 9 is a processing flow of first disposal processing.
FIG. 10 is a processing flow of second disposal processing.
FIG. 11 is a processing flow of packet discrimination processing.
FIG. 12 is a processing flow of quality control management processing.
FIG. 13 is a processing flow of resource reservation processing.
FIG. 14 is a processing flow of packet relay processing.
FIG. 15 is a processing flow of packet transmission processing;
FIG. 16 is a processing flow of quality control processing.
FIG. 17 is a configuration diagram of a network system.
FIG. 18 is a hardware configuration diagram of a router device according to a second embodiment.
[Explanation of symbols]
DESCRIPTION OF
Claims (10)
前記第一のルータ装置において、コネクションを開設するために当該開設するコネクションの特定に用いられるコネクション情報を用いて予約情報パケットを生成する予約情報パケット生成ステップと、
前記第一のルータ装置から前記予約情報パケットを所定の送信先に向かって送出する予約情報パケット送出ステップと、
前記第二のルータ装置において、前記予約情報パケットを受信する予約情報パケット受信ステップと、
前記第二のルータ装置において、前記予約情報パケット内の前記コネクション情報を抽出し、当該抽出したコネクション情報によって特定されるコネクションがトラヒック制御を施すことが許可されているか否かをチェックするチェックステップと、
前記チェックステップにおけるチェック結果が、許可されていることを示すものである場合、前記第二のルータ装置において、予め保持する前記特定されるコネクションに対して行うトラヒック制御の内容を示す通信品質パラメータを決定し、当該決定した通信品質パラメータと前記予約情報パケットのコネクション情報とを用いて予約要求パケットを生成する予約要求パケット生成ステップと、
前記第二のルータ装置から前記予約要求パケットを返送する予約要求パケット返送ステップと、
前記第二のルータ装置において、前記予約情報パケットから抽出したコネクション情報で特定されるコネクションのパケットに、前記通信品質パラメータで示される内容のトラヒック制御を施すよう当該コネクション情報および当該通信品質パラメータを保持する予約情報パケット処理ステップと、
前記第一のルータ装置において、前記第二のルータ装置からの前記予約要求パケットを受信する予約要求パケット受信ステップと、
前記第一のルータ装置において、前記予約要求パケットから抽出したコネクション情報で特定されるコネクションのパケットに、当該予約要求パケットに含まれる前記通信品質パラメータで示される内容のトラヒック制御を施すよう当該コネクション情報および当該通信品質パラメータを保持する予約要求パケット処理ステップと、を備えること
を特徴とするコネクション開設方法。A connection establishment method for establishing a connection for data packet transmission between a first router device and a second router device connected via a network,
In the first router device, a reservation information packet generation step of generating a reservation information packet using connection information used for specifying the connection to be opened in order to open a connection ;
A reservation information packet sending step for sending the reservation information packet from the first router device toward a predetermined destination;
In the second router device, a reservation information packet receiving step for receiving the reservation information packet;
In the second router device, a check step of extracting the connection information in the reservation information packet and checking whether or not the connection specified by the extracted connection information is permitted to perform traffic control ; ,
If the check result in the check step indicates that it is permitted , the second router device sets a communication quality parameter indicating the content of traffic control to be performed for the specified connection held in advance. A reservation request packet generating step for determining and generating a reservation request packet using the determined communication quality parameter and connection information of the reservation information packet ;
A reservation request packet returning step of returning the reservation request packet from the second router device;
In the second router device, the connection information and the communication quality parameter are held so that the traffic of the content indicated by the communication quality parameter is applied to the packet of the connection specified by the connection information extracted from the reservation information packet. A reservation information packet processing step,
In the first router device, a reservation request packet receiving step for receiving the reservation request packet from the second router device;
In the first router device, the connection information is subjected to traffic control of the content indicated by the communication quality parameter included in the reservation request packet on the connection packet specified by the connection information extracted from the reservation request packet. And a reservation request packet processing step for holding the communication quality parameter .
予約要求パケット処理ステップは、
前記予約要求パケットが当該第一のルータ装置から送信された前記予約情報パケットに対するものであることをチェックするステップを備えることを特徴とするコネクション開設方法。The connection establishment method according to claim 1,
The reservation request packet processing step includes:
A connection establishment method comprising: checking that the reservation request packet is for the reservation information packet transmitted from the first router device.
前記予約要求パケット処理ステップは、
前記予約要求パケット内の前記通信品質パラメータを前記第一のルータ装置の、開設されたコネクションを登録するコネクション管理テーブルに登録するステップを備え、
前記予約情報パケット処理ステップは、
前記予約要求パケット生成ステップにおいて決定した通信品質パラメータを前記第二のルータ装置の、開設されたコネクションを登録するコネクション管理テーブルに登録するステップを備えること
を特徴とするコネクション開設方法。The connection establishment method according to claim 1 ,
The reservation request packet processing step includes:
Registering the communication quality parameter in the reservation request packet in a connection management table for registering an established connection of the first router device;
The reservation information packet processing step includes:
A connection establishment method comprising: registering the communication quality parameter determined in the reservation request packet generation step in a connection management table for registering an established connection of the second router device .
前記チェックステップは、
前記予約要求パケットを、返送する、または、第三のルータ装置に送信するのいずれかを決定するステップをさらに備えること
を特徴とするコネクション開設方法。The connection establishment method according to claim 1 ,
The checking step includes
A connection establishment method, further comprising a step of determining whether to send back the reservation request packet or to send the reservation request packet to a third router device.
前記第一のルータ装置は、各コネクションに対しトラヒック制御が許可されているか否かおよび許可されている場合、当該許可されているトラヒック制御の内容を示す通信品質パラメータを保持する通信管理情報を保持し、
前記第一のルータ装置において、当該通信管理情報を参照することにより、前記予約情報パケットの宛先を設定するステップをさらに備えること
を特徴とするコネクション開設方法。The connection establishment method according to claim 1,
The first router device holds communication management information for holding whether or not traffic control is permitted for each connection and, if permitted, a communication quality parameter indicating the content of the permitted traffic control. And
The connection establishment method, further comprising: a step of setting a destination of the reservation information packet by referring to the communication management information in the first router device .
前記第二のルータ装置は、各コネクションに対しトラヒック制御が許可されているか否かおよび許可されている場合、当該許可されているトラヒック制御の内容を示す通信品質パラメータを保持する通信管理情報を保持し、
前記予約要求パケット生成ステップは、
前記通信管理情報を参照することにより前記通信品質パラメータを決定すること
を特徴とするコネクション開設方法。The connection establishment method according to claim 1 ,
The second router device holds communication management information for holding whether or not traffic control is permitted for each connection and, if permitted, a communication quality parameter indicating the content of the permitted traffic control. And
The reservation request packet generation step includes:
Connection opening and wherein the determining the communication quality parameter by referring to the communication management information.
前記第一のルータ装置において、当該第一のルータ装置に接続された管理端末から当該第一のルータ装置に送信された管理パケットを参照することにより前記通信管理情報を設定するステップをさらに備えること
を特徴とするコネクション開設方法。The connection establishment method according to claim 5 ,
The first router device further comprises a step of setting the communication management information by referring to a management packet transmitted to the first router device from a management terminal connected to the first router device. The connection establishment method characterized by this.
前記第二のルータ装置において、当該第二のルータ装置に接続された管理端末から当該第二のルータ装置に送信された管理パケットを参照することにより前記通信管理情報を設定するステップをさらに備えることを特徴とするコネクション開設方法。A connection establishment method according to claim 6 ,
The second router device further comprises a step of setting the communication management information by referring to a management packet transmitted to the second router device from a management terminal connected to the second router device. The connection establishment method characterized by this.
前記チェックステップにおけるチェック結果が、許可されていることを示すものでない場合、前記予約情報パケットを前記第二のルータ装置に接続された第三のルータ装置に送信するステップをさらに備えることを特徴とするコネクション開設方法。The connection establishment method according to claim 1,
When the check result in the check step does not indicate that it is permitted , the method further comprises a step of transmitting the reservation information packet to a third router device connected to the second router device. How to open a connection.
前記トラヒック制御は、転送するパケットの一部のパケットを廃棄する制御と、転送するパケットの転送順番を変える制御とからなり、 The traffic control includes a control for discarding a part of the packets to be transferred and a control for changing the transfer order of the packets to be transferred.
前記トラフィック制御の内容を示す通信品質パラメータは、当該コネクションのパケットの廃棄の可否と、当該パケットの転送順番の優先度を示すものであること The communication quality parameter indicating the content of the traffic control indicates whether or not the packet of the connection can be discarded and the priority of the transfer order of the packet.
を特徴とするコネクション開設方法。The connection establishment method characterized by this.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001168618A JP3693594B2 (en) | 2001-06-04 | 2001-06-04 | Router device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001168618A JP3693594B2 (en) | 2001-06-04 | 2001-06-04 | Router device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP14901696A Division JP3419627B2 (en) | 1996-06-11 | 1996-06-11 | Router device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002016643A JP2002016643A (en) | 2002-01-18 |
JP3693594B2 true JP3693594B2 (en) | 2005-09-07 |
Family
ID=19010826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001168618A Expired - Lifetime JP3693594B2 (en) | 2001-06-04 | 2001-06-04 | Router device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3693594B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4502713B2 (en) * | 2004-06-04 | 2010-07-14 | 三菱電機株式会社 | Train operation management system |
JP4597102B2 (en) * | 2006-08-25 | 2010-12-15 | アラクサラネットワークス株式会社 | Packet switching equipment |
US9264369B2 (en) | 2010-12-06 | 2016-02-16 | Qualcomm Incorporated | Technique for managing traffic at a router |
-
2001
- 2001-06-04 JP JP2001168618A patent/JP3693594B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2002016643A (en) | 2002-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3419627B2 (en) | Router device | |
JP3151103B2 (en) | Communication system and communication method | |
JP5621778B2 (en) | Content-based switch system and content-based switch method | |
JP2791236B2 (en) | Protocol parallel processing unit | |
CA2236285C (en) | Network and switching node in which resource can be reserved | |
US7000055B1 (en) | Multi-interface symmetric multiprocessor | |
US7321591B2 (en) | Methods and systems for providing differentiated quality of service in a communications system | |
US6987768B1 (en) | Packet transferring apparatus | |
JP2004534311A (en) | Configuration to create multiple virtual queue pairs from compressed queue pairs based on shared attributes | |
US7298745B2 (en) | Method and apparatus to manage packet fragmentation with address translation | |
US8838782B2 (en) | Network protocol processing system and network protocol processing method | |
JP2000269997A (en) | Lan repeating exchange device | |
US7209489B1 (en) | Arrangement in a channel adapter for servicing work notifications based on link layer virtual lane processing | |
US6101542A (en) | Service management method and connection oriented network system using such management method | |
JP3693594B2 (en) | Router device | |
US6507563B1 (en) | Methods and apparatus for controlling congestion within diverse protocol stacks | |
JP2001036581A (en) | Communication band setting system and its method | |
JP2008113327A (en) | Network interface device | |
US8094558B2 (en) | Packet transfer apparatus for storage system | |
JP4413121B2 (en) | Data communication apparatus and data communication method using TCP / IP socket | |
JPH11112503A (en) | Network system and network equipment | |
JP3865175B2 (en) | IP address translation device | |
US7039057B1 (en) | Arrangement for converting ATM cells to infiniband packets | |
JPH07307762A (en) | Frame relay exchange and router | |
JPH10257068A (en) | Atm controller and atm communication controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050121 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050308 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050427 |
|
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: 20050614 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050621 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090701 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100701 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110701 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110701 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120701 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130701 Year of fee payment: 8 |
|
EXPY | Cancellation because of completion of term |