JP4139955B2 - Switch device - Google Patents
Switch device Download PDFInfo
- Publication number
- JP4139955B2 JP4139955B2 JP2002268436A JP2002268436A JP4139955B2 JP 4139955 B2 JP4139955 B2 JP 4139955B2 JP 2002268436 A JP2002268436 A JP 2002268436A JP 2002268436 A JP2002268436 A JP 2002268436A JP 4139955 B2 JP4139955 B2 JP 4139955B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- circuit
- request
- information
- switch device
- 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
Description
【0001】
【発明の属する技術分野】
本発明は、入力されたフレームデータを設定されたパスを介して他のスイッチ装置に転送するスイッチ装置に関する。
【0002】
【従来の技術】
2つのスイッチ装置間でフレームデータの送受信を行う場合、パケットロスを低減するとともに2つのスイッチ装置を接続している回線の帯域リソースを効率的に使用するためには、要求される通信速度に応じてパスの本数を動的に変化させる必要がある。
【0003】
レイヤ2スイッチを用いてパスを設定する技術については従来から様々な方法が開示されている(例えば、特許文献1、2、3参照。)。しかし、これらいずれの従来技術もパスの本数を動的に変化させるものではない。
【0004】
一般的に、パスの本数を動的に変化させる方法としては、レイヤ3(ネットワーク層)のPPP(point-to-point protocol)のマルチリンクプロトコルにによる方法が用いられていた。しかし、この方法ではリンクを張る手順が発生するとともに、ルータ等のレイヤ3スイッチはスイッチングハブ等のレイヤ2(データリンク層)スイッチと比較して高価であるという問題がある。
【0005】
【特許文献1】
特開2001−77824号公報
【特許文献2】
特開2001−274825号公報
【特許文献3】
特開2001−186140号公報
【0006】
【発明が解決しようとする課題】
上述した従来のスイッチ装置では、要求される通信速度に応じてパスの本数を動的に変化させるためにはレイヤ2スイッチと比較して高価なレイヤ3スイッチが必要となるという問題点があった。
【0007】
本発明の目的は、スイッチ装置間においてある通信速度のインタフェースを複数接続する際に、レイヤ3スイッチを用いることなく、レイヤ2スイッチのみを用いて、要求される通信速度に応じてパスの本数を動的に変化することができるスイッチ装置を提供することである。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明のスイッチ装置は、入力されたフレームデータを設定されたパスを介して他のスイッチ装置に転送するスイッチ装置であって、
通信相手側のスイッチ装置に送信しようとするフレームに対して、現在の接続パス情報に基づいて、接続IDと接続ID毎のフレーム順序を示すためのシーケンス番号の情報とを追加することによりフレームの再構成を行うフレーム再構成回路と、
前記フレーム再構成回路によって再構成された後にフレームの接続ID毎の速度情報を検出する速度検出回路と、
前記速度検出回路によって検出された速度情報に基づいてパスの割当本数を算出することにより現在設定されているパスの割当本数の増減を決定し、該決定結果を増加要求情報または減少要求情報として出力し、通信相手側のスイッチ装置からの応答フレームを受信して増加要求または減少要求を受け入れる旨の応答が得られた場合、パス割当を増加する処理または減少させる処理を行い、通信相手側のスイッチ装置からのパス割当の増加要求または減少要求の要求フレームを受信すると、この要求フレームに対する可否情報を生成して出力する判定回路と、前記判定回路からのパス割当の増加要求情報を受信すると増加要求の要求フレームを生成し、パス割当の減少要求情報を受信すると減少要求の要求フレームを生成し、パス割当の増加要求を認める旨の可否情報を受信すると増加要求を認める旨の応答フレームを生成し、パス割当の減少要求を認める旨の可否情報を受信すると減少要求を認める旨の応答フレームを生成する制御フレーム生成回路と、
前記フレーム生成回路により生成された要求フレームおよび応答フレームと前記フレーム再構成回路により再構成された後のデータフレームとを前記判定回路によって指定されたパスを介して通信相手側のスイッチ装置に転送しているパス選択回路と、
受信した通信相手側のスイッチ装置からのフレームに対してバッファリングを行って、各接続IDのシーケンス番号の順序通り並べ替えてから出力するバッファ回路と、
前記バッファ回路から転送されてきたフレームから応答フレームまたは要求フレームを制御フレームとして抽出して前記判定回路に出力するフレーム抽出回路とから構成されている。
【0009】
本発明によれば、速度検出回路により2つのスイッチ装置間のインタフェースにおける通信速度を検出し、この速度情報に基づいてパスの本数を判断し、相手方スイッチ装置との間でパスの割当本数に対する交渉を実施して、パス本数を動的に変更する。従って、スイッチ装置をレイヤ2スイッチにより構成していても、パスの本数をスイッチ装置間の通信速度に応じて動的に変化させることが可能となり、パケットロスの低減および2つのスイッチ装置を接続している回線の帯域リソースの効率的使用を図ることができる。
【0010】
また、本発明のスイッチ装置は、前記パス選択回路は、前記フレーム再構成回路により再構成された後のフレームを前記判定回路からのフレーム分配制御信号に基づいて分配して出力するフレーム分配回路と、
前記フレーム分配回路からのフレームのみが入力されている場合には入力された該フレームをそのまま出力し、前記制御フレーム生成回路により生成された制御フレームが入力されると、入力された該制御フレームを優先して出力する複数のフレーム選択回路と、
前記判定回路からのゲート制御信号がそれぞれ入力されていて、入力されているゲート制御信号がイネーブルとなると前記複数のフレーム選択回路のうちの対応するフレーム選択回路から出力されたフレームをそれぞれ出力する複数のゲート回路と、から構成されている。
【0011】
また、前記判定回路は、前記速度検出回路により検出されたある接続IDに対する通信速度X1と、1つのポートあたりの帯域Bに現在設定されているポート数nを乗算した結果n×Bとの差の絶対値│X1−n×B│が、前記1つのポート当たりの帯域B以上の場合に、パスの割当本数の増減を行うことを決定し、前記速度情報X1が(n+1)×Bの値以上の場合にパスの割当本数の増加要求を行い、前記速度情報X1が(n+1)×Bの値より小さい場合にパスの割当本数の減少要求を行うようにしてもよい。
【0012】
さらに、前記判定回路は、通信相手側のスイッチ装置からの増加要求の要求フレームを受信した場合、割当可能ポートの有無の確認の後に可否情報を出力し、減少要求の要求フレームを受信した場合、1つのポートあたりの帯域Bにその接続IDに対して現在設定されているポート数nから1減じた数(n−1)を乗算した値(n−1)×Bが、前記速度検出回路により検出されたその接続IDに対する通信速度X1と以上の場合には、減少要求を認める旨の可否情報を生成し、前記値(n−1)×Bが、前記通信速度X1より小さい場合には、減少要求を認めない旨の可否情報を生成する。
【0013】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して詳細に説明する。
【0014】
図1に本発明の一実施形態の2台のスイッチ装置1、2を接続したシステムの構成図を示す。図1に示すように、スイッチ装置1は、通常のスイッチポートT11〜T1jと、パスの割当が動的に行われるポートであるポートP1〜Piを有する。また、スイッチ装置2は、通常のスイッチポートT21〜T2kと、パスの割当が動的に行われるポートであるポートP1〜Piを有する。そして、スイッチ装置1とスイッチ装置2間はi本のポートP1〜Piにより接続されていて、スイッチ装置1、2によりこのポートP1〜Piを用いた動的なパスの割当が行われる。尚、スイッチ装置1において、スイッチポートT11から他のスイッチポートT12、T13、・・・、T1j及び他のスイッチポートT12〜T1jからのスイッチングに関しては通常のレイヤ2のスイッチ装置と同様な処理が行われる。
【0015】
本実施形態のスイッチ装置1の構成を図2のブロック図に示す。本実施形態のスイッチ装置1は、図2に示されるように、PHY(物理層)回路101〜10iと、スイッチ回路11と、速度検出回路12と、フレーム再構成回路13と、判定回路14と、制御フレーム生成回路15と、パス選択回路16と、フレーム抽出回路17と、バッファ回路18と、PHY回路191〜19iとから構成されている。
【0016】
このスイッチ装置1には、図2に示すように、レイヤ2スイッチとしての物理層インタフェースのPHY回路101〜10iおよびPHY回路191〜19iが、ポートT11〜T1j、P1〜Piにそれぞれ備えられている。
【0017】
スイッチ回路11は、PHY回路101〜10jからのフレームをフレーム再構成回路13に出力するとともに、フレーム抽出回路17からの通常のデータフレームをPHY回路101〜10jにスイッチングする処理を行っている。尚、スイッチ回路11は、当業者にとってよく知られている一般的な回路であり、また本発明とは直接関係しないので、その詳細な構成は省略する。
【0018】
フレーム再構成回路13は、スイッチ回路11から出力されたフレームに対して、現在の接続パス情報に基づいて、接続IDと、接続ID毎のフレーム順序を示すためのシーケンス番号の情報を追加することによりフレームの再構成を行う。
【0019】
速度検出回路12は、フレーム再構成回路13によって再構成された後にフレームに基づいて、接続ID毎の速度情報を検出する。
【0020】
判定回路14は、速度検出回路12によって検出された速度情報に基づいてパスの割当本数を算出することにより現在設定されているパスの割当本数の増減を決定する。そして、判定回路14は、決定したパスの割当本数の増減結果を、増加要求情報または減少要求情報として制御フレーム生成回路15に送信し、通信相手側のスイッチ装置2からの応答フレームを受信して増加要求または減少要求を受け入れる旨の応答が得られた場合、パス選択回路16に出力するゲート制御信号およびフレーム分配制御信号によりパス割当を増加する処理または減少させる処理を行う。
【0021】
また、判定回路14は、フレーム抽出回路17から転送されてきた通信相手側のスイッチ装置2からのパス割当の増加要求または減少要求をの要求フレームを受信すると、この要求フレームに対する可否情報を生成して制御フレーム15に出力する。
【0022】
制御フレーム生成回路15は、判定回路14からのパス割当の増加要求情報を受信すると増加要求の要求フレームを生成してパス選択回路16に出力し、パス割当の減少要求情報を受信すると減少要求の要求フレームを生成してパス選択回路16に出力する。また、制御フレーム生成回路15は、判定回路14からのパス割当の増加要求を認める旨の可否情報を受信すると増加要求を認める旨の応答フレームを生成してパス選択回路16に出力し、パス割当の減少要求を認める旨の可否情報を受信すると減少要求を認める旨の応答フレームを生成してパス選択回路16に出力する。
【0023】
パス選択回路16は、判定回路14からのフレーム分配制御信号およびゲート制御信号により制御されていて、フレーム生成回路15により生成された要求フレームおよび応答フレームとフレーム再構成回路13により再構成された後のデータフレームとを判定回路14によって指定されたパスを介して通信相手側のスイッチ装置2に転送している。
【0024】
バッファ回路18は、PHY回路191〜19iを介して受信したスイッチ装置2からのフレームに対してバッファリングを行って、各接続IDのシーケンス番号の順序通り並べ替えてからフレーム抽出回路17に転送する。
【0025】
フレーム抽出回路17は、バッファ回路18から転送されてきたフレームから制御フレームを抽出し、抽出した制御フレームは判定回路14に出力し、制御フレーム以外の通常のデータフレームはスイッチ回路11に出力する。
【0026】
また、パス選択回路16は、図3に示されるように、フレーム分配回路21と、フレーム選択回路221〜22iと、ゲート回路231〜23iとから構成されている。
【0027】
フレーム分配回路21は、フレーム再構成回路13により再構成された後のフレームを判定回路14からのフレーム分配制御信号に基づいて分配して、フレーム選択回路221〜22iのいずれかに出力する。フレーム選択回路221〜22iは、フレーム分配回路21からのフレームのみが入力されている場合には入力されたフレームを、そのままゲート回路231〜23iのうちの対応するゲート回路に出力し、制御フレーム生成回路15により生成された制御フレームが入力されると、入力されたこの制御フレームを、優先してゲート回路231〜23iのうちの対応するゲート回路に出力する。ゲート回路231〜23iは、判定回路14からのゲート制御信号がそれぞれ入力されていて、入力されているゲート制御信号がイネーブルとなると対応するフレーム選択回路221〜22iからのフレームを対応するPHY回路191〜19iにそれぞれ出力する。
【0028】
次に、図3を参照してこのパス選択回路16の動作について説明する。
【0029】
制御フレーム生成回路15により生成された要求フレームおよび応答フレームからなる制御フレームは、再構成されたデータフレームとともに複数のパスの中でスイッチ装置2側へと転送される必要がある。そのため、ある接続IDに対して現在設定されているポートのうちの最小のポート番号のポートに対応するフレーム選択回路221〜22iへとフレームデータを転送する。この場合、フレーム選択回路221が最小ポート番号のフレーム選択回路であったとすると、フレーム選択回路221に転送された制御フレームがその瞬間に到達していた再構成後のフレームデータより先にゲート回路231に転送される。なお、このときにフレーム選択回路221に転送されていたフレームが消失しないように、フレーム選択回路221にはバッファ機能を有している。利用ポート情報を元にゲート回路が利用可能にしてあるため、この制御フレームはPHY回路191〜19iを通じて、対抗しているスイッチ装置2に対して転送されることになる。
【0030】
次に、本実施形態のスイッチ装置1、2の動作を図面を参照して詳細に説明する。以下の説明では、図1のスイッチ装置1からスイッチ装置2に対するスイッチングに関してパスの動的割当が行われる場合を用いて、本実施形態の動作について説明する。
【0031】
図2のスイッチ回路11から出力されたスイッチ装置2へのフレームは、フレーム再構成回路13によって現時点でのスイッチ装置2との接続パス情報を元に接続IDとシーケンス番号のフレームを追加したフレームに再構成される。フレーム再構成回路13により変更される前のフレームと変更された後のフレームの例を図4に示す。フレーム再構成回路13では、元のフレームの情報を元に接続IDを発行することが出来る。この図4の例では、接続IDを分けるような動作を行わず、常に固定のIDをとることとする。シーケンス番号としては接続IDに属するフレームを順にカウントアップするような番号を付加する。このシーケンス番号はカウンタとして有限の値を持ち、カウンタがフルになると0に戻るような振る舞いをする。
【0032】
判定回路14では、速度検出回路12によって検出された通信速度に基づいてパスの割当本数を算出し、この算出された割当本数に基づいてパスの増減を行うか否かの決定を行う。パスの割当本数の決定の際には、現在利用しているパスの本数から決定される帯域とスイッチ回路11側からスイッチされてくるフレームの帯域情報を比較し、割り当てられたパス帯域の総和がスイッチされてくるフレームの帯域に対してパス1本の帯域よりも差がある場合、判定回路14は、パス割当増加または減少の必要があるものと判定する。
【0033】
尚、判定回路14によって行われるパスの割当本数を決定する方法と、通信相手側装置からの増加要求または減少要求の要求フレームに対してOKまたはNGのいずれの応答を行うかを判定する方法の詳細については以下で詳しく説明する。
【0034】
フレーム再構成回路13によって動的パス割当のための情報を付加されたフレームに変換されたデータフレームは、パス選択回路16に転送される。パス選択回路16において、動的にパスが変更されない状態においては、現在決定されている使用ポート情報を元にフレーム分配制御が行われる。制御フレーム生成回路15からの制御フレームが存在しない場合を想定した場合、分配された後のフレームはフレーム選択回路221〜22iを通過し、ゲート回路231〜23iのうちの対応しているゲート回路を通過してスイッチ装置2へと転送されることになる。このときのゲート制御信号に関しても、判定回路14により使用ポート情報を元にイネーブル/ディセーブル(enable/disable)の制御が行われる。
【0035】
このようにスイッチ装置1から送信されたフレームデータはスイッチ装置2において受信されるが、スイッチ装置2の構成もスイッチ装置1と同様な構成となっているため、スイッチ装置2におけるフレームデータ受信の動作を図2に示すスイッチ装置1を参照して以下に説明する。
【0036】
動的割当のポートP1〜Piからのフレームを受信すると、そのフレームはバッファ回路18に転送される。フレームの転送状態などによって、シーケンス番号をつけた順に到着しない可能性があるため、このバッファ回路18においてバッファリングを行い、次段のフレーム抽出回路17へと転送する。フレーム抽出回路17によって、要求フレームおよび応答フレームからなる制御フレームについては判定回路14へと転送され、制御フレーム以外のデータフレームについては付加されている接続IDとシーケンス番号を元にフレームの再構成が行われ、スイッチ回路11へと転送され、スイッチ回路11からT11〜T1jの各ポートへスイッチングされる。
【0037】
フレーム抽出回路17により抽出された制御フレームがパス割当の増減要求の要求フレームの場合、判定回路14は、このパス割当の増減要求を受け入れるか否かを判定してその判定結果を可否情報として制御フレーム生成回路15に転送する。具体的には、判定回路14は、スイッチ装置2からの要求がパス割当を増加する旨の要求の場合には割当可能パスのチェックを実行し、その可否情報を制御フレーム生成回路15に転送する。制御フレーム生成回路15では、この可否情報に基づいて応答フレームを生成する。スイッチ装置2からの要求がパス割当を減少する旨の要求の場合、判定回路14は、減少要求にあるパスの総割当帯域とスイッチ装置1からスイッチ装置2へ転送しようとしているフレームの検出速度を比較して、減少要求としてのスイッチ装置1〜2へのパスの総割当帯域の方が大きい場合には、スイッチ装置2に対して減少可能の状態を返送するために、制御フレーム生成回路15にその旨の可否情報を転送する。制御フレーム生成回路15では、この可否情報に基づいてスイッチ装置2への応答フレームを生成してパス選択回路16へ送信する。
【0038】
前述までが基本的なデータフレームの転送経路についての説明であったため、パスの動的割当のシーケンスに関する説明を以下に行う。
【0039】
パスの割当を変更するトリガーになるのはT11〜T1j側からのスイッチされた接続IDごとのフレーム速度が現在のパス割当容量に対してパス1本分よりも差があるときと、T21〜T2k側から到達した制御フレームによってパスの割当を変更しようとする場合である。
【0040】
判定回路14において行われるパス割当のシーケンスについて図5のフローチャートを元に説明する。以下の説明では、フレーム速度検出回路12において検出された、ある接続ID(この例では固定している)に対する速度情報をX1とする。また、この接続IDに対して現在設定しているポート数がnであるものとし、各ポートごとの帯域は同一であり、その帯域をBとして表す。
【0041】
判定回路14は、先ず、速度検出回路12により検出された通信速度Xと1つのポートあたりの帯域Bに現在設定されているポート数nを乗算した結果n×B
(ステップ101)。
【0042】
Bより小さいと判定された場合、判定回路14は、パスの割当変更を行う必要が
ト当たりの帯域B以上であると判定された場合、判定回路14は、現在設定されているポート数を変更して割当帯域を変更する必要があると判断する。そして、速度検出回路12により検出された速度情報X1が(n+1)×B以上であるかどうかを判定する(ステップ102)。
【0043】
速度情報X1が(n+1)×B以上の場合には、判定回路14は、スイッチ装置1の全ポート数iと既に割当がなされているポート数とを比較し、割当可能ポートがあるかどうかを判断する(ステップ103)。判定回路14は、ステップ103において割当可能ポートがないと判定された場合には割当を変更せずにシーケンスを終了する。ステップ103において割当可能ポートがあると判定された場合には、判定回路14は、パス割当を増加する旨の増加要求情報を制御フレーム生成回路15に転送する。
【0044】
ただし、このシーケンスによって、増加情報を制御フレームに転送する必要があった場合、前回の増加要求に対する応答を接続IDごとに判定回路14に前回結果が記録されていて、この結果がNGだった場合には増加要求の要求フレームを転送しない。ただし、この前回結果のテーブルについてはエージング機能を有しており、設定によりエージングタイムを0とすることも可能であるため、常に増加要求があった場合には転送するようにすることも可能である。
【0045】
また、ステップ102において、速度情報X1が(n+1)×Bよりも小さいと判定された場合には、判定回路14は、パス割当を減少させる旨の減少要求情報を制御フレーム生成回路15に転送する(ステップ107)。
【0046】
制御フレーム生成回路15では、判定回路14からの増加要求情報または減少要求情報を元に図6のような要求フレームを生成する。図6中の要求フレームにおいて、“CFID”は制御フレームであることを他のフレームと識別させるための識別子であり、その後の“Req”は要求であることをあらわずビット列である。その後の“C”には、増加、減少を表す情報がビット定義されている。データには接続IDの情報などを収容できるようになっている。
【0047】
制御フレーム生成回路15により増加要求または減少要求の要求フレームが生成されると、その要求フレームはパス選択回路16に転送される。この要求フレームは再構成されたデータフレームとともにPHY回路191〜19iを介してスイッチ装置2へ送信される。
【0048】
そして、判定回路14は、PHY回路191〜19i、バッファ回路18、フレーム抽出回路17を経由して、スイッチ装置2から図6に示すような応答フレームを受信すると、この応答フレームの応答内容を判定し(ステップ105、108)、応答フレームがOKの場合には、割当ポートの増加または減少を行う(ステップ106、109)。ここで、図6中の応答フレームにおいて、“CFID”は制御フレームであることを示す識別子であり“Res”は応答フレームであることを示すビット列である、“C”は要求に対する結果でありOKとNGを示すビット列となる。データについてはこの場合、接続IDおよび要求フレームでの要求内容(増加、減少)が収納されている。
【0049】
判定回路14では、この応答フレームの情報がOKであった場合には、元の制御フレームによって要求されていた内容に応じてパスの動的割当変更の動作に移る。元の制御フレームが増加であった場合には、判定回路14から割当可能パス選択回路16にある追加の割当パスとして利用可能なゲート回路のうちで最小のポート番号を有するもののゲート回路をイネーブルにする。また、フレーム分配回路21にも新規の割当パス情報を転送し、フレーム分配回路21の分配先に新規に割り当てられたポートに対するフレーム分配をシーケンス番号に従って行うように変更する。
【0050】
応答フレームの情報がOKで、元の制御フレームにより要求されていたものが減少であった場合には、現時点で割り当てられているポートのうち最大のポート番号を有するポートへのフレーム分配を停止するように、フレーム分配回路21に対して新規の割当パス情報を転送する。その後、その最大ポート番号を有するゲート回路に対してゲートをディセーブルにするように制御する。
【0051】
ステップ105、108において、スイッチ装置2からの応答フレームがNGを示している場合、判定回路14は、割当ポートの変更を行わずに処理を終了する。
【0052】
スイッチ装置2からの要求フレームを受信した判定回路14が、この要求に対する可否情報を生成する動作を図7のフローチャートを参照して説明する。
【0053】
判定回路14は、フレーム抽出回路17により抽出された要求フレームが増加要求の要求フレームであることを検出した場合、割当可能なポートの有無を判定する。そして、判定回路14は、割当可能なポートが有ると判定した場合、増加要求に対してOKの旨の可否情報を制御フレーム生成回路15に転送する。割当可能なポートが無いと判定した場合、減少要求に対してNGの旨の可否情報を制御フレーム生成回路15に転送する。
【0054】
判定回路14は、フレーム抽出回路17により抽出された要求フレームが減少要求の要求フレームであることを検出すると、前述の速度情報X1と各ポートごとの帯域Bおよび当該接続IDに対して現在設定されているポート数nによって、X1と(n−1)×Bについて比較を行う(ステップ201)。X1≦(n−1)×Bの場合には、割当するパスの本数を少なくとも1本は減らせる状態にあるため、判定回路14は、制御フレーム生成回路15に対してOKの旨の可否情報を転送する。制御フレーム生成回路15は、この判定回路14からの可否情報を受けて減少要求に対してOKである旨の応答フレームを生成する(ステップ202)。逆に、ステップ201に示した式X1≦(n−1)×Bが成立しない場合には、判定回路14は、制御フレーム生成回路15に対してNGの旨の可否情報を転送する。制御フレーム生成回路15は、この可否情報を受けて減少要求に対してNGである旨の応答フレームを生成する(ステップ203)。
【0055】
上記で説明したように本実施形態のスイッチ装置1、2によれば、図2に示した速度検出回路12によりスイッチ装置1、2間のインタフェースにおける通信速度を検出し、この速度情報に基づいてパスの本数を判断し、相手方装置との間でパスの割当本数に対する交渉を実施して、パス本数を動的に変更する。従って、スイッチ装置1、2をレイヤ2スイッチにより構成していても、パスの本数をスイッチ装置1、2間の通信速度に応じて動的に変化させることが可能となり、パケットロスの低減および2つのスイッチ装置を接続している回線の帯域リソースの効率的使用を図ることができる。
【0056】
本発明の他の実施形態として、スイッチ装置1、2間の通信に対してスイッチ装置1からスイッチ装置2へのパス割当時の速度とスイッチ装置2からスイッチ装置1へのパス割当時の速度が非対称である場合であっても適用することが可能である。また、スイッチ装置1、2間がパラレル的にP1〜Piと割り当てられるような、スイッチ構成の場合を用いて説明したが、P1〜Piの途中で別装置が入る場合でも、この装置間のフレームを転送するような動作を行う限りは、実施することが可能である。
【0057】
また、本実施形態では、1つの接続IDをもってシーケンス番号を管理するような場合を用いて説明していたが、本発明はこのような場合に限定されるものではなく、T11〜T1jからのスイッチされてくるフレームに対して、例えばVLANベースで接続IDを発行することにより、動的なパス割当をリソースの中で同時に実行することも可能である。
【0058】
【発明の効果】
以上説明したように、本発明によれば、レイヤ3の装置でPPP(point to point protocol)のマルチリンクプロトコル接続などを行わずに、レイヤ2スイッチにて帯域の増減に対して動的にパスの本数を増減することが可能になるという効果を得ることができる。
【図面の簡単な説明】
【図1】データの送受信を行う2つのスイッチ装置1、2を示すシステム図である。
【図2】本発明の一実施形態のスイッチ装置の構成を示すブロック図である。
【図3】図2中のパス選択回路16の構成を示すブロック図である。
【図4】フレーム再構成回路13により再構成された後のフレームを説明するための図である。
【図5】本発明の一実施形態のスイッチ装置におけるパス割り当て動作を示すフローチャートである。
【図6】要求フレームと応答フレームの構造を示す図である。
【図7】応答フレームを生成する処理を示すフローチャートである。
【符号の説明】
1、2 スイッチ装置
101〜10i PHY回路
11 スイッチ回路
12 速度検出回路
13 フレーム再構成回路
14 判定回路
15 制御フレーム生成回路
16 パス選択回路
17 フレーム抽出回路
18 バッファ回路
191〜19i PHY回路
21 フレーム分配回路
221〜22i フレーム選択回路
231〜23i ゲート回路
101〜109 ステップ
201〜203 ステップ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a switch device that transfers input frame data to another switch device via a set path.
[0002]
[Prior art]
When transmitting and receiving frame data between two switch devices, in order to reduce packet loss and to efficiently use the bandwidth resources of the line connecting the two switch devices, it depends on the required communication speed. It is necessary to dynamically change the number of paths.
[0003]
Various techniques for setting a path using a
[0004]
In general, as a method of dynamically changing the number of paths, a method based on a multilink protocol of PPP (point-to-point protocol) of layer 3 (network layer) has been used. However, in this method, a procedure for establishing a link occurs, and a layer 3 switch such as a router is expensive compared to a layer 2 (data link layer) switch such as a switching hub.
[0005]
[Patent Document 1]
JP 2001-77824 A
[Patent Document 2]
JP 2001-274825 A
[Patent Document 3]
JP 2001-186140 A
[0006]
[Problems to be solved by the invention]
The conventional switch device described above has a problem that an expensive layer 3 switch is required as compared with a
[0007]
The object of the present invention is to connect only a plurality of interfaces having a certain communication speed between switch devices without using a layer 3 switch and using only a
[0008]
[Means for Solving the Problems]
In order to achieve the above object, a switching device of the present invention is a switching device that transfers input frame data to another switching device via a set path,
Based on the current connection path information, the connection ID and the sequence number information for indicating the frame order for each connection ID are added to the frame to be transmitted to the communication partner side switch device. A frame reconstruction circuit for performing reconstruction;
A speed detection circuit for detecting speed information for each connection ID of the frame after being reconstructed by the frame reconstruction circuit;
By calculating the number of paths allocated based on the speed information detected by the speed detection circuit, the increase / decrease in the number of paths currently set is determined, and the determination result is output as increase request information or decrease request information When a response frame is received from the switch device on the communication partner side and a response to accept the increase request or the decrease request is obtained, a process to increase or decrease the path allocation is performed, and the communication partner switch When a request frame for path allocation increase request or decrease request from the device is received, a determination circuit that generates and outputs permission information for the request frame, and an increase request when the path allocation increase request information from the determination circuit is received Request frame is generated, and when the path allocation reduction request information is received, a request frame for reduction request is generated and the path allocation is increased. Control frame generation that generates a response frame that acknowledges an increase request when receiving information indicating whether or not a request for approval is accepted, and that generates a response frame that acknowledges a decrease request when information that indicates whether or not a request for reduction of path allocation is accepted Circuit,
The request frame and response frame generated by the frame generation circuit and the data frame reconstructed by the frame reconstruction circuit are transferred to the switch device on the communication partner side via the path specified by the determination circuit. A path selection circuit,
A buffer circuit that performs buffering on the received frame from the communication partner side switch device and outputs the frames after rearranging them in the order of the sequence numbers of the connection IDs;
The frame extraction circuit extracts a response frame or a request frame as a control frame from the frame transferred from the buffer circuit and outputs the control frame to the determination circuit.
[0009]
According to the present invention, the speed detection circuit detects the communication speed at the interface between the two switch devices, determines the number of paths based on this speed information, and negotiates the number of paths allocated with the other switch device. To dynamically change the number of paths. Therefore, even if the switch device is configured with a
[0010]
In the switching device of the present invention, the path selection circuit includes a frame distribution circuit that distributes and outputs the frame reconstructed by the frame reconstruction circuit based on a frame distribution control signal from the determination circuit. ,
When only the frame from the frame distribution circuit is input, the input frame is output as it is, and when the control frame generated by the control frame generation circuit is input, the input control frame is A plurality of frame selection circuits for outputting with priority;
A gate control signal from each of the determination circuits is input, and when the input gate control signal is enabled, a plurality of frames respectively output from the corresponding frame selection circuit among the plurality of frame selection circuits are output. And a gate circuit.
[0011]
Further, the determination circuit is configured to transmit a communication speed X for a certain connection ID detected by the speed detection circuit. 1 And the absolute value of the difference between n × B as a result of multiplying the band B per port by the number of ports n currently set | X 1 When −n × B | is equal to or greater than the bandwidth B per port, it is determined to increase or decrease the number of allocated paths, and the speed information X 1 Is greater than (n + 1) × B, a request to increase the number of allocated paths is made, and the speed information X 1 May be requested to reduce the number of allocated paths when the value is smaller than (n + 1) × B.
[0012]
Further, when the determination circuit receives a request frame for an increase request from the switch device on the communication counterpart side, outputs permission information after confirming the presence / absence of an assignable port, and receives a request frame for a decrease request, A value (n−1) × B obtained by multiplying the bandwidth B per port by the number (n−1) obtained by subtracting 1 from the number n of ports currently set for the connection ID is obtained by the speed detection circuit. Communication speed X for the detected connection ID 1 In the above case, information indicating whether or not the reduction request is accepted is generated, and the value (n−1) × B is the communication speed X 1 If it is smaller, the permission information indicating that the reduction request is not accepted is generated.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings.
[0014]
FIG. 1 shows a configuration diagram of a system in which two
[0015]
The configuration of the switch device 1 of the present embodiment is shown in the block diagram of FIG. As illustrated in FIG. 2, the switch device 1 according to the present embodiment includes a PHY (physical layer) circuit 10. 1 -10 i
[0016]
As shown in FIG. 2, the switch device 1 includes a physical layer interface PHY circuit 10 as a
[0017]
The
[0018]
The
[0019]
The
[0020]
The
[0021]
When the
[0022]
When receiving the path allocation increase request information from the
[0023]
The
[0024]
The
[0025]
The
[0026]
Further, as shown in FIG. 3, the
[0027]
The
[0028]
Next, the operation of the
[0029]
The control frame including the request frame and the response frame generated by the control
[0030]
Next, the operation of the
[0031]
The frame to the
[0032]
The
[0033]
Note that there are a method for determining the number of paths allocated by the
[0034]
The data frame converted into a frame to which information for dynamic path allocation is added by the
[0035]
As described above, the frame data transmitted from the switch device 1 is received by the
[0036]
Port P for dynamic allocation 1 ~ P i Is received, the frame is transferred to the
[0037]
When the control frame extracted by the
[0038]
Since the basic data frame transfer path has been described above, a description will be given below of a dynamic path allocation sequence.
[0039]
T1 is the trigger to change the path assignment 1 ~ T1 j When the frame rate for each switched connection ID from the side is different from the current path allocation capacity by more than one path, T2 1 ~ T2 k This is a case where the path allocation is to be changed by the control frame arrived from the side.
[0040]
A path allocation sequence performed in the
[0041]
First, the
(Step 101).
[0042]
When it is determined that the value is smaller than B, the
When it is determined that the bandwidth is equal to or higher than the bandwidth B per channel, the
[0043]
Speed information X 1 Is equal to or greater than (n + 1) × B, the
[0044]
However, if it is necessary to transfer the increase information to the control frame by this sequence, the response to the previous increase request is recorded in the
[0045]
In
[0046]
The control
[0047]
When the request frame for the increase request or the decrease request is generated by the control
[0048]
Then, the
[0049]
If the response frame information is OK, the
[0050]
If the response frame information is OK and the number requested by the original control frame is a decrease, frame distribution to the port having the largest port number among the currently assigned ports is stopped. As described above, new allocation path information is transferred to the
[0051]
In
[0052]
An operation in which the
[0053]
When the
[0054]
When the
[0055]
As described above, according to the
[0056]
As another embodiment of the present invention, the speed at the time of path allocation from the switch apparatus 1 to the
[0057]
In the present embodiment, the sequence number is managed with one connection ID, but the present invention is not limited to such a case. 1 ~ T1 j It is also possible to simultaneously execute dynamic path allocation in resources by issuing a connection ID on a VLAN basis, for example, for frames that are switched from.
[0058]
【The invention's effect】
As described above, according to the present invention, a layer 3 switch can dynamically pass a bandwidth increase / decrease in a
[Brief description of the drawings]
FIG. 1 is a system diagram showing two
FIG. 2 is a block diagram showing a configuration of a switch device according to an embodiment of the present invention.
3 is a block diagram showing a configuration of a
FIG. 4 is a diagram for explaining a frame after being reconstructed by a
FIG. 5 is a flowchart showing a path allocation operation in the switch device according to the embodiment of the present invention.
FIG. 6 is a diagram illustrating a structure of a request frame and a response frame.
FIG. 7 is a flowchart showing a process for generating a response frame.
[Explanation of symbols]
1, 2, switch device
10 1 -10 i PHY circuit
11 Switch circuit
12 Speed detection circuit
13 Frame reconstruction circuit
14 Judgment circuit
15 Control frame generation circuit
16 path selection circuit
17 Frame extraction circuit
18 Buffer circuit
19 1 ~ 19 i PHY circuit
21 Frame distribution circuit
22 1 ~ 22 i Frame selection circuit
23 1 ~ 23 i Gate circuit
101-109 steps
201-203 steps
Claims (4)
通信相手側のスイッチ装置に送信しようとするフレームに対して、現在の接続パス情報に基づいて、接続IDと接続ID毎のフレーム順序を示すためのシーケンス番号の情報とを追加することによりフレームの再構成を行うフレーム再構成回路と、
前記フレーム再構成回路によって再構成された後にフレームの接続ID毎の速度情報を検出する速度検出回路と、
前記速度検出回路によって検出された速度情報に基づいてパスの割当本数を算出することにより現在設定されているパスの割当本数の増減を決定し、該決定結果を増加要求情報または減少要求情報として出力し、通信相手側のスイッチ装置からの応答フレームを受信して増加要求または減少要求を受け入れる旨の応答が得られた場合、パス割当を増加する処理または減少させる処理を行い、通信相手側のスイッチ装置からのパス割当の増加要求または減少要求の要求フレームを受信すると、この要求フレームに対する可否情報を生成して出力する判定回路と、前記判定回路からのパス割当の増加要求情報を受信すると増加要求の要求フレームを生成し、パス割当の減少要求情報を受信すると減少要求の要求フレームを生成し、パス割当の増加要求を認める旨の可否情報を受信すると増加要求を認める旨の応答フレームを生成し、パス割当の減少要求を認める旨の可否情報を受信すると減少要求を認める旨の応答フレームを生成する制御フレーム生成回路と、前記フレーム生成回路により生成された要求フレームおよび応答フレームと前記フレーム再構成回路により再構成された後のデータフレームとを前記判定回路によって指定されたパスを介して通信相手側のスイッチ装置に転送しているパス選択回路と、
受信した通信相手側のスイッチ装置からのフレームに対してバッファリングを行って、各接続IDのシーケンス番号の順序通り並べ替えてから出力するバッファ回路と、
前記バッファ回路から転送されてきたフレームから応答フレームまたは要求フレームを制御フレームとして抽出して前記判定回路に出力するフレーム抽出回路と、から構成されているスイッチ装置。A switch device that transfers input frame data to another switch device via a set path,
Based on the current connection path information, the connection ID and the sequence number information for indicating the frame order for each connection ID are added to the frame to be transmitted to the communication partner side switch device. A frame reconstruction circuit for performing reconstruction;
A speed detection circuit for detecting speed information for each connection ID of the frame after being reconstructed by the frame reconstruction circuit;
By calculating the number of paths allocated based on the speed information detected by the speed detection circuit, the increase / decrease in the number of paths currently set is determined, and the determination result is output as increase request information or decrease request information When a response frame is received from the switch device on the communication partner side and a response to accept the increase request or the decrease request is obtained, a process to increase or decrease the path allocation is performed, and the communication partner switch When a request frame for path allocation increase request or decrease request from the device is received, a determination circuit that generates and outputs permission information for the request frame, and an increase request when the path allocation increase request information from the determination circuit is received Request frame is generated, and when the path allocation reduction request information is received, a request frame for reduction request is generated and the path allocation is increased. Control frame generation that generates a response frame that acknowledges an increase request when receiving information indicating whether or not a request for approval is accepted, and that generates a response frame that acknowledges a decrease request when information that indicates whether or not a request for reduction of path allocation is accepted Circuit, a request frame and a response frame generated by the frame generation circuit, and a data frame reconstructed by the frame reconstruction circuit via a path designated by the determination circuit A path selection circuit transferring to
A buffer circuit that performs buffering on the received frame from the communication partner side switch device and outputs the frames after rearranging them in the order of the sequence numbers of the connection IDs;
A switch device comprising: a frame extraction circuit that extracts a response frame or a request frame as a control frame from a frame transferred from the buffer circuit and outputs the control frame to the determination circuit.
前記フレーム再構成回路により再構成された後のフレームを前記判定回路からのフレーム分配制御信号に基づいて分配して出力するフレーム分配回路と、
前記フレーム分配回路からのフレームのみが入力されている場合には入力された該フレームをそのまま出力し、前記制御フレーム生成回路により生成された制御フレームが入力されると、入力された該制御フレームを優先して出力する複数のフレーム選択回路と、
前記判定回路からのゲート制御信号がそれぞれ入力されていて、入力されているゲート制御信号がイネーブルとなると前記複数のフレーム選択回路のうちの対応するフレーム選択回路から出力されたフレームをそれぞれ出力する複数のゲート回路と、から構成されている請求項1記載のスイッチ装置。The path selection circuit includes:
A frame distribution circuit that distributes and outputs a frame reconstructed by the frame reconstruction circuit based on a frame distribution control signal from the determination circuit;
When only the frame from the frame distribution circuit is input, the input frame is output as it is, and when the control frame generated by the control frame generation circuit is input, the input control frame is A plurality of frame selection circuits for outputting with priority;
A gate control signal from each of the determination circuits is input, and when the input gate control signal is enabled, a plurality of frames respectively output from the corresponding frame selection circuit among the plurality of frame selection circuits are output. The switch device according to claim 1, comprising:
1つのポート当たりの帯域B以上の場合に、パスの割当本数の増減を行うことを決定し、前記速度情報X1が(n+1)×Bの値以上の場合にパスの割当本数の増加要求を行い、前記速度情報X1が(n+1)×Bの値より小さい場合にパスの割当本数の減少要求を行う請求項1または2記載のスイッチ装置。The decision circuit, wherein a speed detection circuit communication speed X 1 for a connection ID which is detected by the current is set to band B per one port
In the case of more than band B per one port, decides to perform increase or decrease of the assigned number of paths, the speed information X 1 is a (n + 1) request for increased allocation number of paths in the case of a value more × B performed, the speed information X 1 is (n + 1) × switch device when smaller to claim 1 or 2, wherein performing the reduction request allocation number of paths values of B.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002268436A JP4139955B2 (en) | 2002-09-13 | 2002-09-13 | Switch device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002268436A JP4139955B2 (en) | 2002-09-13 | 2002-09-13 | Switch device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004112060A JP2004112060A (en) | 2004-04-08 |
JP4139955B2 true JP4139955B2 (en) | 2008-08-27 |
Family
ID=32266646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002268436A Expired - Fee Related JP4139955B2 (en) | 2002-09-13 | 2002-09-13 | Switch device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4139955B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006121414A (en) * | 2004-10-21 | 2006-05-11 | Nippon Telegr & Teleph Corp <Ntt> | Load distribution/convergence number variable communication equipment and load distribution/convergence number varying method |
JP4884921B2 (en) * | 2006-10-30 | 2012-02-29 | 京セラ株式会社 | COMMUNICATION CONTROL DEVICE, RADIO COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND RADIO COMMUNICATION METHOD |
JP5138641B2 (en) * | 2009-07-15 | 2013-02-06 | 日本電信電話株式会社 | Power saving data transmission apparatus, method and program |
JP5842491B2 (en) * | 2011-09-15 | 2016-01-13 | 株式会社リコー | Relay device and communication system |
-
2002
- 2002-09-13 JP JP2002268436A patent/JP4139955B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004112060A (en) | 2004-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6956824B2 (en) | Extension of link aggregation protocols over the network | |
US10334059B2 (en) | Network for transporting ethernet and time sensitive data | |
US6094439A (en) | Arrangement for transmitting high speed packet data from a media access controller across multiple physical links | |
KR101536141B1 (en) | Apparatus and method for converting signal between ethernet and can in a vehicle | |
US7630309B1 (en) | Systems and methods for limiting the rates of data to/from a buffer | |
JP3512832B2 (en) | Inter-LAN communication method and LAN / WAN connection device | |
US7260120B2 (en) | Ethernet switching apparatus and method using frame multiplexing and demultiplexing | |
WO2018120917A1 (en) | Flexible ethernet-based service flow transmission method and apparatus, and communication system | |
EP4024776A1 (en) | Transparent transport of fibre channel traffic over packet-switched networks | |
CN101277196B (en) | Communication system, communication method and cable fastener plate based on PCIE switching network | |
JPS60136442A (en) | Transmission system of packet switching data | |
US6330248B1 (en) | Arrangement for transmitting data packets from a media access controller across multiple physical links | |
EP3700150B1 (en) | Method and relevant device for processing data of flexible ethernet | |
US6195334B1 (en) | Apparatus and method for terminating a data transfer in a network switch in response to a detected collision | |
JP4139955B2 (en) | Switch device | |
US6690670B1 (en) | System and method for transmission between ATM layer devices and PHY layer devices over a serial bus | |
US6925058B2 (en) | Credit management for data flow between two networks | |
CA2459027C (en) | Extension of link aggregation protocols over the network and a switching node therefor | |
US8077739B2 (en) | Methods, communication networks, and computer program products for communicating time division multiplexing traffic using a traffic encapsulation standard configured to support statistical multiplexing (STATMUX) traffic | |
KR100742505B1 (en) | A communication equipment of bidirectional using by unidirectional optical transmission router combined with unidirectional optical cross connector and router, and thereof method | |
JP2003531537A (en) | Data transmission | |
KR20050104666A (en) | Ethernet mac adaptation apparatus for real time service and its data transmitting method | |
JP5294152B2 (en) | Network communication device, communication network system, communication network system bandwidth allocation method, bandwidth allocation program | |
JP3999708B2 (en) | QoS control network system and node | |
KR101119362B1 (en) | Admission Method of Time Sensitive Stream In Residential Ethernet System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20041210 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20041210 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050822 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060127 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070405 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070425 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070919 |
|
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: 20080514 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080527 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110620 Year of fee payment: 3 |
|
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: 20110620 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120620 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120620 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130620 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |