JP3997771B2 - Data transfer method - Google Patents
Data transfer method Download PDFInfo
- Publication number
- JP3997771B2 JP3997771B2 JP2001369294A JP2001369294A JP3997771B2 JP 3997771 B2 JP3997771 B2 JP 3997771B2 JP 2001369294 A JP2001369294 A JP 2001369294A JP 2001369294 A JP2001369294 A JP 2001369294A JP 3997771 B2 JP3997771 B2 JP 3997771B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- station
- buffer
- packets
- router
- 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】
【発明の属する技術分野】
本発明は、パケット損失を防止できるデータ転送方式に関する。
【0002】
【従来の技術】
ルータ局は、通信ネットワーク内におけるパケットの通過経路を定める。そして、その通過経路に従って、パケットを次のルータ局に転送する。パケットは各ルータ局を経由して、目的とする通信ネットワーク内の端末に転送される。以下、パケットの授受が行われている場合、パケットを送り出している方を「下位」と記す。また、パケットを受け取っている方を「上位」と記す。
【0003】
下位ルータ局(下位側のルータ局)と上位ルータ局(上位側のルータ局)との間には、複数の子局が配置される。子局は、情報の送信、受信、中継等を行う機器である。下位ルータ局から上位ルータ局までの子局の通過経路は一つに限定されるわけではない。通過経路が複数ある場合、下位ルータ局は、その中から定めた通過経路に従ってパケットを転送させる。
【0004】
各子局は、下位ルータ局が上位ルータ局に転送するパケットを中継する。また、各子局は、下位ルータ局からのパケットの中継だけでなく、自局のパケット(子局自身が送信元となるパケット)も上位ルータ局に送信する。各子局から上位ルータ局へのパケットの送信は、ポーリングによって行う。上位ルータ局は、各子局からパケットを受信すると、今度は下位ルータ局として、さらに上位に向けてパケットを転送する。
【0005】
各ルータ局は、データ保存用バッファを備え、収集したパケットをデータ保存用バッファに蓄積する。そして、データ保存用バッファ内のパケットを上位に転送する。
【0006】
【発明が解決しようとする課題】
しかし、子局がルータ局に送信するパケットの量が多いと、ルータ局では、蓄積すべきパケットの量がデータ保存用バッファの容量を超えてしまう場合が生ずる。この場合、データ保存用バッファに蓄積されなかったパケットは、失われてしまう。このように蓄積すべきパケットの量がデータ保存用バッファの容量を超えてしまうことをオーバフローという。
【0007】
本発明は、ルータ局に送られてくるパケットが増加しても、オーバフローによるパケット損失を防止することができるデータ転送方式を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明によるデータ転送方式は、ポーリングによってパケットを送受信するルータ局と、二つの機器に接続され一方の機器から受信したパケットを他方の機器に送信する機器であってルータ局間でパケットを中継する機器である子局とをノードとするデータ転送方式であって、各ノードは、受信したパケットであって隣のノードに送信されるパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルを予め保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、バッファの空き容量が所定時間以内になくなるか否かを判断するバッファ監視手段と、バッファの空き容量が所定時間以内になくなると判断される場合に、パケットを受信すべき隣のノードに、パケット送信を停止させるパケット送信停止命令を送信する指示手段と、パケットを送信すべき隣のノードからパケット送信停止命令を受信したときに隣のノードへのパケット送信を停止する送信制御手段とを備えたことを特徴とする。
【0009】
各ノードのバッファ監視手段は、バッファの空き容量を監視し、各ノードの指示手段は、バッファの空き容量が増加して所定量以上になった場合に、パケットを受信すべき隣のノードに、パケット送信を再開させるパケット送信再開命令を送信し、各ノードの送信制御手段は、パケットを送信すべき隣のノードからパケット送信再開命令を受信したときに隣のノードへのパケット送信を再開する。そのような構成によれば、バッファに蓄積されるパケットが減少したときに、パケットの中継を再開できる。
【0010】
各ノードは、パケットを送信すべき隣のノードからパケット送信停止命令を受信したときに、隣のノードに送信すべきパケットをバッファに蓄積する。
【0011】
また、本発明によるデータ転送方式は、パケットを受信する上位ルータ局と、上位ルータ局にパケットを送信する下位ルータ局とを備え、二つの機器に接続され一方の機器から受信したパケットを他方の機器に送信する機器であって上位ルータ局と下位ルータ局との間でパケットを中継する機器である子局を複数備えたデータ転送方式であって、上位ルータ局および下位ルータ局は、ポーリングによってパケットを送受信するルータ局であり、上位ルータ局は、受信したパケットであって隣のノードに送信されるパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルとを保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、受信したパケットを蓄積すべき空き領域が所定時間以内になくなると判断される場合に、パケットを受信すべき隣の各子局にパケットの送信停止を指示し、その各子局は、上位ルータ局の指示に応じて上位ルータ局へのパケット送信を停止し、その各子局のうち、下位ルータ局から上位ルータ局までのパケット通過経路上に位置する通過経路上隣接子局は、受信したパケットであって隣のノードに送信されるパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルとを保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、受信したパケットを蓄積すべき空き領域が所定時間以内になくなると判断される場合に、下位ルータ局に、パケット通過経路の変更を指示し、下位ルータ局は、その指示に応じて上位ルータ局までのパケット通過経路を変更し、変更後のパケット通過経路を各子局に通知し、各子局は、通知されたパケット通過経路に従ってパケットを中継することを特徴とする。
【0012】
上位ルータ局からパケットの送信停止を指示された各子局は、上位ルータ局に送信すべきパケットを蓄積する。
【0013】
下位ルータ局は、変更前のパケット通過経路上に位置する子局のうち通過経路上隣接子局以外の子局に蓄積されたパケットが、下位ルータ局を経由して上位ルータ局に中継されるようにパケット通過経路を変更する。
【0014】
また、上位ルータ局は、空き容量が増加して所定量以上になった場合に、パケットを受信すべき隣の各子局にパケットの送信再開を指示し、その各子局は、上位ルータ局の指示に応じて上位ルータ局へのパケット送信を再開し、通過経路上隣接子局は、下位ルータ局に、パケット通過経路を元に戻すように指示し、下位ルータ局は、その指示に応じて上位ルータ局までのパケット通過経路を元に戻し、元に戻したパケット通過経路を各子局に通知し、各子局は、通知されたパケット通過経路に従ってパケットを中継する。そのような構成によれば、蓄積されるパケットが減少したときに、パケットの中継を再開できる。
【0015】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
図1は、本発明が適用される通信ネットワークの例を示す説明図である。ルータ局1a,1bの間には、複数の子局10a〜10dが配置される。以下、ルータ局1bがルータ局1aの下位であり、ルータ局1bからルータ局1aにパケットを送信する場合を例に説明する。ルータ局1a,1b、子局10a〜10d、上位局(上位ルータ局1aよりも上位の子局)20は、それぞれ通信ネットワーク上のノードとなる。
【0016】
各ルータ局1a,1bは、ルーティングテーブルを保持する。ルーティングテーブルとは、収集したパケットを転送するときの通過経路を表す情報である。ルーティングテーブルにおいて、パケットの通過経路はパケットの宛先アドレスに応じて定められる。下位ルータ局1bのルーティングテーブルでは、上位ルータ局1aより上位を宛先とするパケットに対して、下位ルータ局1bから上位ルータ局1aまでの通過経路を定めている。
【0017】
図1に示す例では、下位ルータ局1bから上位ルータ局1aまでの通過経路として、子局10bおよび子局10aを経由する経路と、子局10dおよび子局10cを経由する経路がある。下位ルータ局1bのルーティングテーブルでは、上位ルータ局1aまでの通過経路として子局10bおよび子局10aを経由する経路を定めているものとする。
【0018】
上位局20を宛先とするパケットがある場合、下位ルータ局1bは、子局10bおよび子局10aを経由して上位ルータ局1aに送信すると定める。そして、下位ルータ局1bは、このパケットを子局10bに送信する。パケット授受はポーリングによって行う。ポーリングとは、情報送信局が情報受信局から情報の有無の問い合わせを受け、問い合わせを受けたときに情報が存在するならば情報受信局に情報を送信する通信方式である。すなわち、下位ルータ局1bは、子局10bからパケットの有無の問い合わせを受け、子局10bに送信すべきパケットがあるならば、そのパケットを子局10bに送信する。
【0019】
同様に、子局10bは、下位ルータ局1bから受信したパケットを、ポーリングによって子局10aに送信する。子局10bは、下位ルータ局10bから受信したパケットだけでなく、子局10b自身が送信元となるパケットも子局10aに送信する。子局10aは、子局10bから受信したパケットをポーリングによって上位ルータ局1aに送信する。子局10aは、子局10bから受信したパケットだけでなく、子局10a自身が送信元となるパケットも上位ルータ局1aに送信する。
【0020】
子局10dは、子局10d自身が送信元となるパケットをポーリングによって子局10cに送信する。子局10cは、子局10dから受信したパケットや、子局10c自身が送信元となるパケットをポーリングによって上位ルータ局1aに送信する。
【0021】
上位ルータ局1aは、隣接する各子局10a,10cのアドレス情報を有する。上位ルータ局1aは、隣接する子局10a、10cに順次パケットの有無を問い合わせ、子局10a,10cから情報を収集する。このようにして、上位ルータ局1aは、下位ルータ局1bから転送されるパケットや、各子局10a〜10dが送信元となるパケットを収集する。そして、上位ルータ局1aは、収集したパケットを、ポーリングによって上位局20に送信する。
【0022】
ここでは、上位ルータ局1aが下位ルータ局1bや子局10a〜10dからパケットを収集して上位局20に送信するときの流れを説明した。上位ルータ局1aがさらに上位のルータ局にパケットを送信するときには、上位ルータ局1aは、上述の下位ルータ局1bと同様の動作を行う。また、図1に示す下位ルータ局1bが、さらに下位のルータ局から情報を収集する場合、上述の上位ルータ局1aと同様の動作を行う。この結果、パケットはルータ局間を中継され、宛先となるノードに送信される。
【0023】
各ルータ局1a,1bおよび各子局10a〜10dは、データ保存用バッファを備える。データ保存用バッファは、下位のノードから収集したパケットを蓄積する記憶領域である。上位ルータ局1aは、下位の子局10a,10cから収集するパケットをデータ保存用バッファに蓄積し、そのパケットをポーリングによって上位局20に送信する。上位ルータ局1aが上位局20に送信するパケットよりも、上位ルータ局1aが収集するパケットの方が多いと、データ保存用バッファの空き容量は減少していく。上位ルータ局1aは、所定時間内にデータ保存用バッファの空き容量がなくなると判断すると、上位ルータ局1aがパケットを受信すべき隣の各子局10a,10cに、パケット送信停止命令を送信する。各子局10a,10cは、パケット送信停止命令を受信した後は、パケットの有無の問い合わせがあった場合であってもパケットを送信しないようにする。
【0024】
各子局10a,10cが上位ルータ局1aへのパケット送信を停止すると、各子局10a,10cのデータ保存用バッファにはパケットが蓄積されていく。子局10a,10cは、所定時間以内にデータ保存用バッファの空き容量がなくなると判断すると、それぞれ子局10b,10dにパケット送信停止命令を送信する。パケット送信停止命令を受けた子局10b,10dは、子局10a,10cと同様に動作する。
【0025】
一方、上位ルータ局1aでは上位局20にパケットを送信するので、データ保存用バッファに蓄積されたパケットが減少する。データ保存用バッファの空き容量が所定量以上になると、上位ルータ局1aは、隣接する子局10a,10cにパケット送信再開命令を送信する。各子局10a,10cは、パケット送信再開命令を受信すると、上位ルータ局1aへのパケット送信を再開する。子局10a,10cもデータ保存用バッファの空き容量が所定量以上になると、それぞれ子局10b,10dにパケット送信再開命令を送信する。パケット送信再開命令を受けた子局10b,10dは、子局10a,10cと同様に動作する。
【0026】
なお、各子局では、上位との回線速度と、下位との回線速度とが等しければ、上位からパケット送信停止命令を受信するまでは、オーバフローに近づくことはない。例えば、子局10bと下位ルータ局1bの回線速度と、子局10bと子局10aの回線速度とが等しければ、子局10bでは、子局10aからパケット送信停止命令を受信するまで、オーバフローに近づくことはない。
【0027】
次に、ポーリングによって通信を行う各ルータ局や各子局の構成について説明する。図2は、各ルータ局や各子局の構成の例を示すブロック図である。送受信部31は、配下対応部32や上位対応部33に従って、接続される他のノード(子局またはルータ局)との間のパケット送受信処理を行う。インタフェース部35a,35bは、それぞれ上位のノード、下位のノードとの通信インタフェースである。
【0028】
送受信部31は、上位のノードからインタフェース部35aを介して、パケットの有無の問い合わせを受けたり、パケット送信停止命令やパケット送信再開命令を受信する。また、上位のノードにパケットを送信する。
【0029】
さらに、送受信部31は、インタフェース部35bを介して下位のノードに、パケットの有無を問い合わせたり、パケット送信停止命令やパケット送信再開命令を送信する。また、下位のノードからパケットを受信する。
【0030】
データ保存用バッファ34は、送受信部31が収集したパケットを蓄積する記憶領域である。送受信部31は、収集したパケットをデータ保存用バッファ34に蓄積し、蓄積したパケットを上位に送信する。
【0031】
配下対応部32は、ポーリングによってパケットを収集するときに、パケットの有無を問い合わせるべき下位のノードのアドレスを保持する。そして、送受信部31に、下位のノードからパケットを収集させる。
【0032】
また、配下対応部32は、データ保存用バッファ34の空き容量および単位時間あたりに到達する平均パケット量を監視する。そして、空き容量および単位時間当たりに到達する平均パケット量に基づいて、所定時間以内に、データ保存用バッファ34の空き容量がなくなるか否かを判断する。
【0033】
データ保存用バッファ34に蓄積されるパケットの単位時間当たりの平均増加量は、単位時間当たりに到達する平均パケット量に応じて変化する。配下対応部32は、この両者の対応関係を示すテーブルを予め保持し、単位時間あたりに到達する平均パケット量に応じたデータ保存用バッファ34内のパケットの平均増加量を求める。配下対応部32は、この平均増加量と空き容量から、空き容量がなくなるまでの時間を求め、その時間によって、所定時間以内に空き容量がなくなるか否かを判断する。配下対応部32は、所定時間内に空き容量がなくなると判断したならば、送受信部31に、パケット送信停止命令を下位のノードに送信させる。
【0034】
その後、蓄積されたパケットが減少し、データ保存用バッファ34の空き容量が所定量以上になったならば、送受信部31に、パケット送信再開命令を下位のノードに送信させる。
【0035】
上位対応部33は、送受信部31が上位のノードからパケットの有無の問い合わせを受けたならば、送受信部31に、データ保存用バッファ34に蓄積されたパケットを送信させる。ただし、パケットが蓄積されていなければパケットを送信させない。
【0036】
また、送受信部31は、パケットを送信すべき上位のノードからパケット送信停止命令やパケット送信再開命令を受信したときに、その命令を上位対応部33に通知する。上位対応部33は、パケット送信停止命令を受信した後は、送受信部31にパケットを送信させない。その後、パケット送信再開命令を受信したならば、送受信部31にパケットの送信を再開させる。
【0037】
上記の例において、バッファ監視手段は、配下対応部32によって実現される。指示手段は、配下対応部32および送受信部31によって実現される。送信制御手段は、上位対応部33および送受信部31によって実現される。
【0038】
次に、パケットを送受信するときの送受信部31の処理経過の例を説明する。ここでは、上位ルータ局1aの送受信部31を例に説明する。
【0039】
上位ルータ局1aの送受信部31は、上位局20からパケットの有無の問い合わせを受けると、その旨を上位対応部33に通知する。上位対応部33は、上位局20に送信すべきパケットがデータ保存用バッファ34に蓄積されているか否かを確認する。そして、蓄積されているなら、そのパケットを上位局20に送信するように送受信部31に指示する。送受信部13は、この指示に従い、パケットを上位局20に送信する。
【0040】
上位ルータ局1aの送受信部31は、配下対応部32に従って、順次、子局10a,10cにパケットの有無を問い合わせる。問い合わせに必要な子局10a,10cのアドレスは、配下対応部32から与えられる。
【0041】
各子局10a,10cは、この問い合わせに応じ、パケットが蓄積されているならば、そのパケットを送信する。このときの子局の送受信部31の動作は、上位ルータ局1aの送受信部31が上位局20にパケットを送信するときの動作と同様である。上位ルータ局1aの送受信部31は子局10a,10cからパケットを受信し、そのパケットをデータ保存用バッファ34に蓄積する。
【0042】
上位ルータ局1aにおいて、上位局20に送信するパケットより、子局10a,10cから収集するパケットの方が多いと、データ保存用バッファ34の空き容量は減少していく。配下対応部32は、データ保存用バッファ34の空き容量および単位時間あたりに到達する平均パケット量を監視し、空き容量および到達する平均パケット量に基づいて、空き容量がなくなるまでの時間を計算する。この時間が所定時間以内であれば、配下対応部32は、送受信部31にパケット送信停止命令を送信させる。送受信部31は、配下対応部32に従い、配下の子局10a,10cにパケット送信停止命令を送信する。
【0043】
子局10a,10cの送受信部31は、上位ルータ局1aからパケット送信停止命令を受信すると、パケット送信停止命令を上位対応部33に通知する。子局10a,10cの上位対応部33は、以後、パケットが蓄積されていても、送受信部31にパケットを送信させない。従って、送受信部31は、上位ルータ局1aへのパケット送信を停止する。すると、子局10a,10cのデータ保存用バッファ32内のパケットが増加し、空き容量が減少していく。子局10a,10cの配下対応部32は、上位ルータ局1aの配下対応部32と同様に、空き容量がなくなるまでの時間を計算し、この時間が所定時間以内であれば、さらに下位(子局10b,10d)にパケット送信停止命令を送信させる。
【0044】
上位ルータ局1aでは、子局10a,10cからのパケット送信が停止されるので、上位局20にパケットを送信するにつれて、データ保存用バッファ34の空き容量が増加する。配下対応部34は、データ保存用バッファの空き容量を監視し、空き容量が所定量以上になったら、送受信部31にパケット送信再開命令を送信させる。送受信部31は、配下対応部32に従い、配下の子局10a,10cにパケット送信再開命令を送信する。
【0045】
子局10a,10cの送受信部31は、上位ルータ局1aからパケット送信再開命令を受信すると、パケット送信再開命令を上位対応部33に通知する。子局10a,10cの上位対応部33は、送受信部31にパケット送信を再開させる。すなわち、パケットの有無の問い合わせを受けたときに、パケットが蓄積されているならば、そのパケットを送受信部31に送信させる。この結果、子局10a,10cのデータ保存用バッファ34の空き容量が増加する。配下対応部34は、データ保存用バッファの空き容量を監視し、空き容量が所定量以上になったら、送受信部31に送信再開命令を送信させる。子局10a,10cの送受信部31は、配下対応部32に従い、それぞれ子局10b,10dにパケット送信再開命令を送信する。パケット送信再開命令を受信した子局10b,10dの動作は、子局10a,10dと同様である。
【0046】
このように本発明では、上位ルータ局1aのデータ保存用バッファ34の空き容量が所定時間以内になくなると判断される場合、上位ルータ局1aは子局10a,10cにパケット送信停止命令を出し、オーバフローを防ぐ。各子局10a〜10dも、データ保存用バッファ34の空き容量が所定時間以内になくなると判断される場合、さらに下位にパケット送信停止命令を出してオーバフローを防ぐ。従って、パケット損失が生じることはない。
【0047】
次に、本発明の他の実施の形態について説明する。
本例におけるルータ局の構成および動作は、上述の場合と同様である。ただし、各子局は、下位にパケット送信停止命令を送信せず、その代わりに、下位ルータ局から上位ルータ局までのパケットの通過経路を変更させる。
【0048】
図1に示す通信ネットワークに本例が適用されているものとする。また、下位ルータ局1bは、上位ルータ局1aまでの通過経路として子局10bおよび子局10aを経由する経路を定めているものとする。
【0049】
各子局10a〜10dの構成は、図2に示す構成と同様である。ただし、配下対応部32は、送受信部31に、パケット送信停止命令およびパケット送信再開命令を送信させない。
【0050】
上位ルータ局1aは、所定時間以内にデータ保存用バッファ34の空き容量がなくなると判断すると、配下の子局10a,10cにパケット送信停止命令を送信する。
【0051】
子局10aは、下位ルータ局1bから上位ルータ局1aまでのパケットの通過経路になっているので、子局10cよりも先にデータ保存用バッファ34の空き容量がなくなりやすい。子局10aは、所定時間以内にデータ保存用バッファ34の空き容量がなくなると判断すると、下位ルータ局1bに経路変更命令を送信する。このように、上位ルータ局1aがパケットを受信すべき隣の子局10a,10cのうち、下位ルータ局1bから上位ルータ局1aまでの通過経路上にある子局(通過経路上隣接子局)10aが、経路変更命令を送信する。なお、子局10aは、子局10bを経由して下位ルータ局1bに経路変更命令を送信する
【0052】
経路変更命令を受信した下位ルータ局1bは、上位ルータ局1aまでの通過経路を、子局10dおよび子局10cを経由する経路に変更する。また、下位ルータ局1bは、子局10b(変更前のパケット通過経路上に位置する子局のうち通過経路上隣接子局以外の子局)に蓄積されているパケットについては、子局10bから下位ルータ局1b、子局10d、子局10cを経由する通過経路で上位ルータ局1aに送信するように、経路を変更する。
【0053】
下位ルータ局1bは、各子局10a〜10dに変更後の通過経路を通知する。そして、各子局10b,10c,10dおよび下位ルータ局1bは、変更後の通過経路に従って、パケットを送信する。すなわち、子局10bは、ポーリングによってルータ局1bにパケットを送信する。下位ルータ局1bは、子局10bから収集したパケットおよび、下位の子局(図示せず。)から収集したパケットを、ポーリングによって子局10dに送信する。子局10dは、下位ルータ局1bから収集したパケットをポーリングによって子局10cに送信する。
【0054】
通過経路が変更された結果、子局10bに蓄積されていたパケットは、再び下位ルータ局1bに戻り、子局10dを介して子局10cに転送される。
【0055】
この間、上位ルータ局1aは、子局10a,10cからパケットを収集しないので、データ保存用バッファ34の空き容量が増加する。すると、上位ルータ局1aは、配下の子局10a,10cにパケット送信再開命令を送信する。パケット送信再開命令を受信した子局10aは、蓄積していたパケットを上位ルータ局1aに送信する。また、子局10cは、子局10bや下位ルータ局1bから転送されたパケットを子局10aに送信する。
【0056】
また、子局10aは、パケット送信再開命令を受信した後、通過経路を戻す旨の命令を下位ルータ局1bに送信する。子局10aは、子局10bを経由してこの命令を下位ルータ局1bに送信する。この命令に応じて、下位ルータ局1bは、各子局10a〜10dに変更前の通過経路を通知する。そして、子局10a,10bは、元の経路でパケットを中継する。
【0057】
本例の子局10a(上位ルータ局1aに隣接する子局のうち、下位ルータ局1bから上位ルータ局1aまでの経路上にある子局)において、配下対応部32は、所定時間以内にデータ保存用バッファ34の空き容量がなくなると判断すると、送受信部31に経路変更命令を送信させる。送受信部31は、配下対応部32に従って、下位ルータ局1bに向けて経路変更命令を送信する。
【0058】
また、子局10aの配下対応部32は、子局10aが上位ルータ局1aからパケット送信再開命令を受信したときに、送受信部31に、通過経路を戻す旨の命令を送信させる。送受信部31は、配下対応部32に従って、下位ルータ局1bに向けて通過経路を戻す旨の命令を送信する。
【0059】
本例の子局10bにおいて、送受信部31は、下位ルータ局1bから変更後の通過経路を通知されると、その通過経路の情報を上位対応部33に通知する。上位対応部33は、変更後の通過経路に従って、送受信部31にパケットを送信させる。すなわち、下位ルータ局1bからパケット有無の問い合わせがあったときに、下位ルータ局1bにパケットを送信させる。
【0060】
下位ルータ局1bの配下対応部32も、通過経路変更後は、変更した通過経路に従って、送受信部31にパケットを収集させる。すなわち、送受信部31に、子局10bからもパケットを収集させる。
【0061】
本例では、上位ルータ局1aのデータ保存用バッファ34の空き容量が所定時間以内になくなると判断される場合、上位ルータ局1aは子局10a,10cにパケット送信停止命令を出し、オーバフローを防ぐ。また、子局10aは、データ保存用バッファ34の空き容量が所定時間以内になくなると判断される場合、上位ルータ局1aまでの通過経路を変更させ、子局10bのパケットを下位ルータ局1bに戻させる。そしてこの間に、上位ルータ局1aのデータ保存バッファ34の空き容量が増加する。したがって、オーバフローによるパケット損失が少なくて済む。
【0062】
本発明が適用される通信ネットワークは、図1に示すものに限定されない。例えば、図1では、下位ルータ局1bから上位ルータ局1aまでの通過経路として二種類の通過経路がある通信ネットワークを示したが、三種類以上の通過経路がある通信ネットワークであってもよい。また、子局10a〜10dの代わりに、他のルータ局を配置し、そのルータ局の下位に他の子局が接続されていてもよい。
【0063】
【発明の効果】
本発明によれば、各ノードは、受信したパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルを予め保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、バッファの空き容量が所定時間以内になくなるか否かを判断するバッファ監視手段と、バッファの空き容量が所定時間以内になくなると判断される場合に、パケットを受信すべき隣のノードに、パケット送信を停止させるパケット送信停止命令を送信する指示手段と、パケットを送信すべき隣のノードからパケット送信停止命令を受信したときに隣のノードへのパケット送信を停止する送信制御手段とを備えているので、オーバフローによるパケット損失を防止することができる。
【0064】
また、本発明によれば、上位ルータ局は、受信したパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルとを保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、受信したパケットを蓄積すべき空き領域が所定時間以内になくなると判断される場合に、パケットを受信すべき隣の各子局にパケットの送信停止を指示し、その各子局は、上位ルータ局の指示に応じて上位ルータ局へのパケット送信を停止し、その各子局のうち、下位ルータ局から上位ルータ局までのパケット通過経路上に位置する通過経路上隣接子局は、受信したパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルとを保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、受信したパケットを蓄積すべき空き領域が所定時間以内になくなると判断される場合に、下位ルータ局に、パケット通過経路の変更を指示し、下位ルータ局は、その指示に応じて上位ルータ局までのパケット通過経路を変更し、変更後のパケット通過経路を各子局に通知し、各子局は、通知されたパケット通過経路に従ってパケットを中継するので、オーバフローによるパケット損失が少なくて済む。
【図面の簡単な説明】
【図1】 本発明が適用される通信ネットワークの例を示す説明図である。
【図2】 ルータ局および子局の構成の例を示すブロック図である。
【符号の説明】
1a,1b ルータ局
10a〜10d 子局
31 送受信部
32 配下対応部
33 上位対応部
34 データ保存用バッファ
35a,35b インタフェース部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data transfer method that can prevent packet loss.
[0002]
[Prior art]
The router station defines a packet passage route in the communication network. Then, the packet is transferred to the next router station according to the passage route. The packet is transferred to the terminal in the target communication network via each router station. Hereinafter, when a packet is exchanged, the one sending out the packet is referred to as “subordinate”. The person who receives the packet is referred to as “upper”.
[0003]
A plurality of slave stations are arranged between the lower router station (lower router station) and the upper router station (upper router station). A slave station is a device that transmits, receives, and relays information. The passage path of the slave station from the lower router station to the upper router station is not limited to one. When there are a plurality of passage routes, the lower router station transfers the packet according to the passage route determined from among the passage routes.
[0004]
Each slave station relays a packet transferred from the lower router station to the upper router station. Each slave station transmits not only the relay of the packet from the lower router station but also the packet of the own station (the packet from which the slave station itself is the transmission source) to the upper router station. Packet transmission from each slave station to the upper router station is performed by polling. When the upper router station receives a packet from each of the slave stations, the upper router station, as a lower router station, transfers the packet further upward.
[0005]
Each router station includes a data storage buffer, and accumulates collected packets in the data storage buffer. Then, the packet in the data storage buffer is transferred to the upper level.
[0006]
[Problems to be solved by the invention]
However, if the amount of packets transmitted from the slave station to the router station is large, the amount of packets to be stored in the router station may exceed the capacity of the data storage buffer. In this case, packets that have not been stored in the data storage buffer are lost. When the amount of packets to be stored in this way exceeds the capacity of the data storage buffer, this is called overflow.
[0007]
An object of the present invention is to provide a data transfer method that can prevent packet loss due to overflow even if the number of packets sent to a router station increases.
[0008]
[Means for Solving the Problems]
The data transfer method according to the present invention is a router station that transmits and receives packets by polling, and a device that is connected to two devices and transmits a packet received from one device to the other device, and relays packets between the router stations. A data transfer method in which a slave station that is a device is a node, and each node receives a received packet Packets sent to the next node Is stored in advance, and a table indicating the correspondence between the average increase amount per unit time of packets stored in the buffer and the average packet amount reached per unit time is held in advance, and the average packet reaching per unit time The average increase amount of packets in the buffer according to the amount is obtained, the time from the average increase amount and the buffer free space until the buffer free space is exhausted is obtained, and whether or not the buffer free space is consumed within the predetermined time. And a buffer monitoring means for determining whether or not an instruction means for transmitting a packet transmission stop command for stopping packet transmission to an adjacent node to receive a packet when it is determined that the free capacity of the buffer will be exhausted within a predetermined time. When a packet transmission stop command is received from the adjacent node that should transmit the packet, the packet transmission to the adjacent node is performed. Characterized by comprising a transmission control means for stopping.
[0009]
The buffer monitoring means of each node monitors the free capacity of the buffer, and the instruction means of each node, when the free capacity of the buffer increases to a predetermined amount or more, to the adjacent node that should receive the packet, A packet transmission resumption command for resuming packet transmission is transmitted, and the transmission control means of each node resumes packet transmission to the adjacent node when receiving a packet transmission resumption command from the adjacent node that should transmit the packet. According to such a configuration, when the number of packets accumulated in the buffer decreases, packet relay can be resumed.
[0010]
When each node receives a packet transmission stop command from an adjacent node that should transmit a packet, each node accumulates the packet to be transmitted to the adjacent node in a buffer.
[0011]
The data transfer method according to the present invention includes an upper router station that receives a packet and a lower router station that transmits the packet to the upper router station, and is connected to two devices and receives a packet received from one device on the other. This is a data transfer method that includes multiple slave stations that are devices that transmit packets to the device and relay packets between the upper router station and the lower router station. A router station that transmits and receives packets. Packets sent to the next node And a table indicating the correspondence between the average amount of increase of packets stored in the buffer per unit time and the average amount of packets reached per unit time, and the average packet reaching per unit time The average increase amount of packets in the buffer according to the amount is obtained, the time from the average increase amount and the buffer free space until the buffer free space is exhausted is obtained, and the free space in which the received packet is to be stored is a predetermined time. If it is determined that the packet will not be received within, send an instruction to stop the packet transmission to the neighboring slave stations that should receive the packet, and each slave station will send a packet to the higher router station in accordance with the instruction from the higher router station. Among the slave stations, the adjacent slave station on the passing path located on the packet passing path from the lower router station to the upper router station receives the received packet. Packets sent to the next node And a table indicating the correspondence between the average amount of increase of packets stored in the buffer per unit time and the average amount of packets reached per unit time, and the average packet reaching per unit time The average increase amount of packets in the buffer according to the amount is obtained, the time from the average increase amount and the buffer free space until the buffer free space is exhausted is obtained, and the free space in which the received packet is to be stored is a predetermined time. If it is determined that the packet passing route will be lost, the lower router station is instructed to change the packet passage route. The lower router station changes the packet passage route to the upper router station according to the instruction, and the changed packet Each child station is notified of the passage route, and each child station relays the packet according to the notified packet passage route.
[0012]
Each slave station instructed to stop packet transmission from the upper router station accumulates packets to be transmitted to the upper router station.
[0013]
The lower router station relays the packets stored in the child stations other than the adjacent child station on the passing path among the slave stations located on the packet passing path before the change to the upper router station via the lower router station. The packet passage route is changed as follows.
[0014]
In addition, when the free space increases and exceeds a predetermined amount, the upper router station instructs each of the adjacent slave stations that should receive the packet to resume transmission of the packet. The packet transmission to the upper router station is resumed in response to the instruction, and the adjacent slave station on the passage route instructs the lower router station to restore the packet passage route, and the lower router station responds to the instruction. Then, the packet passage route to the upper router station is returned to the original state, the restored packet passage route is notified to each slave station, and each slave station relays the packet according to the notified packet passage route. According to such a configuration, when the number of accumulated packets decreases, packet relay can be resumed.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an explanatory diagram showing an example of a communication network to which the present invention is applied. A plurality of slave stations 10a to 10d are arranged between the router stations 1a and 1b. Hereinafter, a case where the router station 1b is a subordinate of the router station 1a and a packet is transmitted from the router station 1b to the router station 1a will be described as an example. The router stations 1a and 1b, the slave stations 10a to 10d, and the upper station (the upper station than the upper router station 1a) 20 are nodes on the communication network.
[0016]
Each router station 1a, 1b holds a routing table. The routing table is information representing a passage route when transferring collected packets. In the routing table, the packet passage route is determined according to the destination address of the packet. In the routing table of the lower router station 1b, a passage route from the lower router station 1b to the upper router station 1a is determined for a packet whose destination is higher than the upper router station 1a.
[0017]
In the example shown in FIG. 1, there are a route passing through the slave station 10 b and the slave station 10 a and a route passing through the slave station 10 d and the slave station 10 c as a passing route from the lower router station 1 b to the higher router station 1 a. In the routing table of the lower router station 1b, it is assumed that a route passing through the slave station 10b and the slave station 10a is defined as a passing route to the higher router station 1a.
[0018]
When there is a packet destined for the upper station 20, the lower router station 1b determines to transmit to the upper router station 1a via the slave station 10b and the slave station 10a. Then, the lower router station 1b transmits this packet to the child station 10b. Packet exchange is performed by polling. Polling is a communication method in which an information transmitting station receives an inquiry about the presence or absence of information from an information receiving station, and transmits information to the information receiving station if information is present when the inquiry is received. That is, the lower router station 1b receives an inquiry about the presence or absence of a packet from the slave station 10b, and if there is a packet to be transmitted to the slave station 10b, transmits the packet to the slave station 10b.
[0019]
Similarly, the slave station 10b transmits the packet received from the lower router station 1b to the slave station 10a by polling. The slave station 10b transmits not only the packet received from the lower router station 10b but also the packet that is transmitted from the slave station 10b itself to the slave station 10a. The slave station 10a transmits the packet received from the slave station 10b to the upper router station 1a by polling. The slave station 10a transmits not only the packet received from the slave station 10b but also the packet that is transmitted from the slave station 10a itself to the upper router station 1a.
[0020]
The slave station 10d transmits a packet, which is transmitted from the slave station 10d itself, to the slave station 10c by polling. The slave station 10c transmits the packet received from the slave station 10d and the packet that is the transmission source of the slave station 10c itself to the upper router station 1a by polling.
[0021]
The upper router station 1a has address information of the adjacent slave stations 10a and 10c. The upper router station 1a sequentially inquires the adjacent slave stations 10a and 10c about the presence or absence of a packet, and collects information from the slave stations 10a and 10c. In this way, the upper router station 1a collects packets transferred from the lower router station 1b and packets that are transmitted from each of the slave stations 10a to 10d. Then, the upper router station 1a transmits the collected packets to the upper station 20 by polling.
[0022]
Here, the flow when the upper router station 1a collects packets from the lower router station 1b and the slave stations 10a to 10d and transmits them to the upper station 20 has been described. When the upper router station 1a transmits a packet to an upper router station, the upper router station 1a performs the same operation as the above-described lower router station 1b. When the lower router station 1b shown in FIG. 1 collects information from a lower router station, the same operation as that of the upper router station 1a is performed. As a result, the packet is relayed between the router stations and transmitted to the destination node.
[0023]
Each of the router stations 1a and 1b and each of the slave stations 10a to 10d includes a data storage buffer. The data storage buffer is a storage area for storing packets collected from lower nodes. The upper router station 1a accumulates the packets collected from the lower child stations 10a and 10c in the data storage buffer, and transmits the packets to the upper station 20 by polling. If there are more packets collected by the upper router station 1a than packets transmitted by the upper router station 1a to the upper station 20, the free capacity of the data storage buffer decreases. When the upper router station 1a determines that there is no more free space in the data storage buffer within a predetermined time, the upper router station 1a transmits a packet transmission stop command to each of the adjacent slave stations 10a and 10c that should receive the packet. . After receiving the packet transmission stop command, each of the slave stations 10a and 10c does not transmit a packet even when there is an inquiry about the presence or absence of a packet.
[0024]
When each slave station 10a, 10c stops packet transmission to the upper router station 1a, packets are accumulated in the data storage buffer of each slave station 10a, 10c. If the slave stations 10a and 10c determine that there is no free space in the data storage buffer within a predetermined time, the slave stations 10a and 10c transmit a packet transmission stop command to the slave stations 10b and 10d, respectively. The slave stations 10b and 10d that have received the packet transmission stop command operate in the same manner as the slave stations 10a and 10c.
[0025]
On the other hand, since the upper router station 1a transmits packets to the upper station 20, the number of packets stored in the data storage buffer decreases. When the free capacity of the data storage buffer exceeds a predetermined amount, the upper router station 1a transmits a packet transmission restart command to the adjacent slave stations 10a and 10c. When each of the slave stations 10a and 10c receives the packet transmission restart command, it restarts packet transmission to the upper router station 1a. The slave stations 10a and 10c also transmit a packet transmission restart command to the slave stations 10b and 10d, respectively, when the free capacity of the data storage buffer exceeds a predetermined amount. The slave stations 10b and 10d that have received the packet transmission restart command operate in the same manner as the slave stations 10a and 10c.
[0026]
In each slave station, if the upper line speed and the lower line speed are equal, overflow will not approach until a packet transmission stop command is received from the upper station. For example, if the line speeds of the slave station 10b and the lower router station 1b are equal to the line speeds of the slave station 10b and the slave station 10a, the slave station 10b overflows until a packet transmission stop command is received from the slave station 10a. Never approach.
[0027]
Next, the configuration of each router station and each slave station that performs communication by polling will be described. FIG. 2 is a block diagram showing an example of the configuration of each router station and each slave station. The transmission /
[0028]
The transmission /
[0029]
Further, the transmission /
[0030]
The
[0031]
When the
[0032]
Further, the
[0033]
The average increase amount of packets accumulated in the
[0034]
Thereafter, when the accumulated packets decrease and the free capacity of the
[0035]
When the transmission /
[0036]
In addition, when the transmission /
[0037]
In the above example, the buffer monitoring means is realized by the
[0038]
Next, an example of processing progress of the transmission /
[0039]
When the transmission /
[0040]
The transmission /
[0041]
In response to this inquiry, each of the slave stations 10a and 10c transmits the packet if it has been accumulated. The operation of the transmitting / receiving
[0042]
In the upper router station 1a, if there are more packets collected from the slave stations 10a and 10c than packets transmitted to the upper station 20, the free capacity of the
[0043]
When receiving the packet transmission stop command from the upper router station 1a, the transmission /
[0044]
Since the upper router station 1a stops packet transmission from the slave stations 10a and 10c, the free capacity of the
[0045]
When receiving the packet transmission restart command from the upper router station 1a, the transmission /
[0046]
As described above, in the present invention, when it is determined that the free capacity of the
[0047]
Next, another embodiment of the present invention will be described.
The configuration and operation of the router station in this example are the same as those described above. However, each slave station does not transmit a packet transmission stop instruction to the lower level, but instead changes the packet path from the lower level router station to the higher level router station.
[0048]
It is assumed that this example is applied to the communication network shown in FIG. Further, it is assumed that the lower router station 1b defines a route passing through the slave station 10b and the slave station 10a as a passing route to the higher router station 1a.
[0049]
Each of the slave stations 10a to 10d has the same configuration as that shown in FIG. However, the
[0050]
If the upper router station 1a determines that there is no more free space in the
[0051]
Since the slave station 10a is a packet passage path from the lower router station 1b to the higher router station 1a, the free space of the
[0052]
The lower router station 1b that has received the route change command changes the passage route to the upper router station 1a to a route that passes through the slave station 10d and the slave station 10c. Also, the lower router station 1b receives from the slave station 10b the packets stored in the slave station 10b (the slave stations other than the adjacent slave stations on the pass path among the slave stations located on the packet pass path before the change). The route is changed so that the lower router station 1b, the slave station 10d, and the slave station 10c are transmitted to the upper router station 1a through a passing route.
[0053]
The lower router station 1b notifies each of the slave stations 10a to 10d of the changed passage route. Each of the slave stations 10b, 10c, 10d and the lower router station 1b transmits a packet according to the changed passage route. That is, the slave station 10b transmits a packet to the router station 1b by polling. The lower router station 1b transmits the packets collected from the child station 10b and the packets collected from the lower child station (not shown) to the child station 10d by polling. The slave station 10d transmits the packets collected from the lower router station 1b to the slave station 10c by polling.
[0054]
As a result of the change of the passage route, the packet accumulated in the slave station 10b returns to the lower router station 1b again and is transferred to the slave station 10c via the slave station 10d.
[0055]
During this time, since the upper router station 1a does not collect packets from the slave stations 10a and 10c, the free capacity of the
[0056]
Further, after receiving the packet transmission restart command, the slave station 10a transmits a command for returning the passage route to the lower router station 1b. The slave station 10a transmits this command to the lower router station 1b via the slave station 10b. In response to this command, the lower router station 1b notifies each child station 10a to 10d of the passage route before the change. Then, the slave stations 10a and 10b relay the packet through the original route.
[0057]
In the slave station 10a of this example (among the slave stations adjacent to the upper router station 1a, the slave station on the path from the lower router station 1b to the upper router station 1a), the
[0058]
Further, the
[0059]
In the slave station 10b of this example, when the transmission /
[0060]
The
[0061]
In this example, when it is determined that the free capacity of the
[0062]
The communication network to which the present invention is applied is not limited to that shown in FIG. For example, FIG. 1 shows a communication network having two types of passage paths as a passage route from the lower router station 1b to the upper router station 1a. However, a communication network having three or more types of passage paths may be used. Further, instead of the slave stations 10a to 10d, other router stations may be arranged, and other slave stations may be connected to the lower level of the router station.
[0063]
【The invention's effect】
According to the present invention, each node has a buffer for storing received packets; A table showing the correspondence between the average amount of packets accumulated in the buffer per unit time and the average packet amount that arrives per unit time is stored in advance, and the buffer is stored according to the average packet amount that reaches per unit time The average increase amount of the packet is calculated, and the time until the buffer free space runs out from the average increase amount and the buffer free space is determined, Packet monitoring means for determining whether or not the buffer free space will be consumed within a predetermined time, and when it is determined that the buffer free space will be exhausted within the predetermined time, packet transmission to the adjacent node that should receive the packet And a transmission control means for stopping packet transmission to an adjacent node when a packet transmission stop command is received from an adjacent node to which the packet is to be transmitted. Therefore, packet loss due to overflow can be prevented.
[0064]
Further, according to the present invention, the upper router station Holds a buffer that stores received packets, and a table that shows the correspondence between the average amount of packets accumulated in the buffer per unit time and the average amount of packets that arrive per unit time. Obtain the average increase amount of packets in the buffer according to the average packet amount to be obtained, obtain the time until the buffer free space runs out from the average increase amount and the buffer free space, When it is determined that there is no more free space in which to store the received packet within a predetermined time, the next slave station that should receive the packet is instructed to stop packet transmission. In response to the instruction, the packet transmission to the upper router station is stopped, and among the slave stations, the neighboring slave station on the passage route located on the packet passage route from the lower router station to the upper router station is Holds a buffer that stores received packets, and a table that shows the correspondence between the average amount of packets accumulated in the buffer per unit time and the average amount of packets that arrive per unit time. Obtain the average increase amount of packets in the buffer according to the average packet amount to be obtained, obtain the time until the buffer free space runs out from the average increase amount and the buffer free space, When it is determined that there is no more free space to store received packets within a predetermined time, the lower router station is instructed to change the packet passage route, and the lower router station responds to the upper router station according to the instruction. The packet passing route is changed, the changed packet passing route is notified to each slave station, and each slave station relays the packet according to the notified packet passing route, so that packet loss due to overflow can be reduced.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing an example of a communication network to which the present invention is applied.
FIG. 2 is a block diagram illustrating an example of the configuration of a router station and a slave station.
[Explanation of symbols]
1a, 1b Router station
10a to 10d Slave station
31 Transceiver
32 Subordinate department
33 High-order correspondence part
34 Data storage buffer
35a, 35b interface section
Claims (7)
各ノードは、受信したパケットであって隣のノードに送信されるパケットを蓄積するバッファと、
バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルを予め保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、バッファの空き容量が所定時間以内になくなるか否かを判断するバッファ監視手段と、
バッファの空き容量が所定時間以内になくなると判断される場合に、パケットを受信すべき隣のノードに、パケット送信を停止させるパケット送信停止命令を送信する指示手段と、
パケットを送信すべき隣のノードからパケット送信停止命令を受信したときに前記隣のノードへのパケット送信を停止する送信制御手段とを備えた
ことを特徴とするデータ転送方式。A router station that transmits and receives packets by polling and a slave station that is connected to two devices and that transmits packets received from one device to the other device and relays packets between router stations The data transfer method
Each node has a buffer that accumulates received packets that are sent to neighboring nodes ;
A table showing the correspondence between the average amount of packets accumulated in the buffer per unit time and the average packet amount that arrives per unit time is stored in advance, and the buffer is stored according to the average packet amount that reaches per unit time Buffer monitoring for determining the average increase amount of packets, determining the time from the average increase amount and the buffer free capacity until the buffer free capacity is exhausted, and determining whether the buffer free capacity is exhausted within a predetermined time Means,
Instructing means for transmitting a packet transmission stop command for stopping packet transmission to an adjacent node to receive a packet when it is determined that the free space of the buffer will disappear within a predetermined time;
A data transfer system comprising: a transmission control unit that stops packet transmission to the adjacent node when a packet transmission stop command is received from the adjacent node to which the packet is to be transmitted.
各ノードの指示手段は、バッファの空き容量が増加して所定量以上になった場合に、パケットを受信すべき隣のノードに、パケット送信を再開させるパケット送信再開命令を送信し、
各ノードの送信制御手段は、パケットを送信すべき隣のノードからパケット送信再開命令を受信したときに前記隣のノードへのパケット送信を再開する
請求項1に記載のデータ転送方式。The buffer monitoring means of each node monitors the free capacity of the buffer,
The instruction means of each node transmits a packet transmission restart command for resuming packet transmission to an adjacent node that should receive a packet when the free space of the buffer increases to a predetermined amount or more,
The data transfer method according to claim 1, wherein the transmission control means of each node restarts packet transmission to the adjacent node when receiving a packet transmission restart command from the adjacent node to which the packet is to be transmitted.
上位ルータ局および下位ルータ局は、ポーリングによってパケットを送受信するルータ局であり、
上位ルータ局は、受信したパケットであって隣のノードに送信されるパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルとを保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、受信したパケットを蓄積すべき空き領域が所定時間以内になくなると判断される場合に、パケットを受信すべき隣の各子局にパケットの送信停止を指示し、
前記各子局は、上位ルータ局の指示に応じて上位ルータ局へのパケット送信を停止し、
前記各子局のうち、下位ルータ局から上位ルータ局までのパケット通過経路上に位置する通過経路上隣接子局は、受信したパケットであって隣のノードに送信されるパケットを蓄積するバッファと、バッファに蓄積されるパケットの単位時間当たりの平均増加量と単位時間当たりに到達する平均パケット量との対応関係を示すテーブルとを保持し、単位時間あたりに到達する平均パケット量に応じたバッファ内のパケットの前記平均増加量を求め、当該平均増加量とバッファの空き容量からバッファの空き容量がなくなるまでの時間を求め、受信したパケットを蓄積すべき空き領域が所定時間以内になくなると判断される場合に、下位ルータ局に、前記パケット通過経路の変更を指示し、
下位ルータ局は、前記指示に応じて上位ルータ局までのパケット通過経路を変更し、変更後のパケット通過経路を各子局に通知し、
各子局は、通知されたパケット通過経路に従ってパケットを中継する
ことを特徴とするデータ転送方式。A higher-level router that has a higher-level router station that receives packets and a lower-level router station that transmits packets to the higher-level router station, and that is connected to two devices and transmits packets received from one device to the other device. A data transfer method comprising a plurality of slave stations that are devices that relay packets between a station and a lower router station,
The upper router station and the lower router station are router stations that transmit and receive packets by polling.
The upper router station includes a buffer that stores received packets that are transmitted to the adjacent node, an average increase amount per unit time of packets stored in the buffer, and an average packet amount that arrives per unit time. And a table indicating the correspondence relationship between the buffer, the average increase amount of packets in the buffer corresponding to the average packet amount that arrives per unit time is obtained, and the buffer free capacity is determined from the average increase amount and the buffer free capacity. Find the time until it runs out, and when it is determined that there is no free space in which to store the received packet within a predetermined time, instruct each neighboring slave station to receive the packet to stop sending the packet,
Each of the slave stations stops packet transmission to the upper router station according to the instruction of the upper router station,
Among the slave stations, the neighboring slave station on the passage route located on the packet passage route from the lower router station to the upper router station includes a buffer that stores received packets that are transmitted to the adjacent nodes. Holds a table indicating the correspondence between the average increase amount of packets accumulated in the buffer per unit time and the average packet amount reached per unit time, and a buffer corresponding to the average packet amount reaching per unit time The average increase amount of packets in the packet is obtained, the time until the buffer free space is exhausted from the average increase amount and the buffer free space is obtained, and it is determined that there is no free space to store the received packet within the predetermined time. The lower router station is instructed to change the packet passing path,
The lower router station changes the packet passage route to the upper router station according to the instruction, and notifies each child station of the changed packet passage route,
A data transfer method in which each slave station relays a packet according to a notified packet passage route.
前記各子局は、上位ルータ局の指示に応じて上位ルータ局へのパケット送信を再開し、
通過経路上隣接子局は、下位ルータ局に、パケット通過経路を元に戻すように指示し、
下位ルータ局は、前記指示に応じて上位ルータ局までのパケット通過経路を元に戻し、元に戻したパケット通過経路を各子局に通知し、
各子局は、通知されたパケット通過経路に従ってパケットを中継する
請求項4から請求項6のうちのいずれか1項に記載のデータ転送方式。When the free space increases and exceeds a predetermined amount, the upper router station instructs each adjacent slave station that should receive the packet to resume packet transmission,
Each of the slave stations resumes packet transmission to the upper router station according to the instruction of the upper router station,
The adjacent slave station on the passing route instructs the lower router station to restore the packet passing route,
The lower router station returns the packet passage route to the upper router station according to the instruction, notifies the child passage of the restored packet passage route,
The data transfer method according to any one of claims 4 to 6, wherein each slave station relays a packet according to the notified packet passage route.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001369294A JP3997771B2 (en) | 2001-12-03 | 2001-12-03 | Data transfer method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001369294A JP3997771B2 (en) | 2001-12-03 | 2001-12-03 | Data transfer method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003169080A JP2003169080A (en) | 2003-06-13 |
| JP3997771B2 true JP3997771B2 (en) | 2007-10-24 |
Family
ID=19178707
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001369294A Expired - Fee Related JP3997771B2 (en) | 2001-12-03 | 2001-12-03 | Data transfer method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3997771B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007124225A (en) * | 2005-10-27 | 2007-05-17 | Oki Electric Ind Co Ltd | Network switch device and method therefor, radio access device, and radio network |
| DE602007013786D1 (en) * | 2007-12-06 | 2011-05-19 | Alcatel Lucent Usa Inc | Accumulation control in a packet-switched data network |
-
2001
- 2001-12-03 JP JP2001369294A patent/JP3997771B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003169080A (en) | 2003-06-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4748086B2 (en) | COMMUNICATION RELAY DEVICE, RESOURCE RELEASE METHOD, AND COMMUNICATION RELAY DEVICE PROGRAM | |
| JP3286584B2 (en) | Multiplexed router device | |
| JP4034782B2 (en) | Ring connection device and data transfer control method | |
| US20020054593A1 (en) | Access network system | |
| JP6350839B2 (en) | Network relay device, gateway redundancy system, program, and redundancy method | |
| JP5071165B2 (en) | Route multiplexing communication system, communication node, and communication method | |
| JP4717909B2 (en) | Frame switching apparatus, communication system, computer program, and address learning method | |
| JP2001211204A (en) | Load balancing method and apparatus | |
| JP4895972B2 (en) | Ring protocol fast switching method and apparatus | |
| EP1418716B1 (en) | Communication control system, communication control method, routing controller and router suitably used for the same | |
| JP4815284B2 (en) | Packet transfer device | |
| JP3997771B2 (en) | Data transfer method | |
| US5793769A (en) | Multiplexed network connecting apparatus | |
| WO2000011841A1 (en) | Method and system for prioritised congestion control in a switching hub | |
| JP3654176B2 (en) | Routing table update method and method | |
| US8004965B2 (en) | Redundant packet switching system and system switching method of redundant packet switching system | |
| JPH02209044A (en) | Exchange | |
| US20170063725A1 (en) | Control method, control device, and storage medium | |
| JP3846710B2 (en) | Flow control device | |
| JP2008148027A (en) | Wireless communication system and device | |
| JP3159167B2 (en) | Packet communication network construction method and packet communication system | |
| JP3841099B2 (en) | Mobile communication method and mobile communication system | |
| JP3593549B2 (en) | IP packet transfer control system and method and recording medium on which processing program is recorded | |
| JP2002164913A (en) | Network relay control method and apparatus | |
| JP2005176268A (en) | Ip network rerouting system using life-and-death supervision |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041014 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20051116 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20051116 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060810 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060816 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061011 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070116 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070314 |
|
| 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: 20070717 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070730 |
|
| 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: 20100817 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |