JP3565629B2 - Cell output band regulation device - Google Patents
Cell output band regulation device Download PDFInfo
- Publication number
- JP3565629B2 JP3565629B2 JP23248095A JP23248095A JP3565629B2 JP 3565629 B2 JP3565629 B2 JP 3565629B2 JP 23248095 A JP23248095 A JP 23248095A JP 23248095 A JP23248095 A JP 23248095A JP 3565629 B2 JP3565629 B2 JP 3565629B2
- Authority
- JP
- Japan
- Prior art keywords
- cell
- transmission time
- time
- scheduled transmission
- cells
- 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
- 230000005540 biological transmission Effects 0.000 claims description 347
- 238000000034 method Methods 0.000 claims description 28
- 230000001105 regulatory effect Effects 0.000 claims description 17
- 238000012937 correction Methods 0.000 claims description 12
- 238000009825 accumulation Methods 0.000 claims description 9
- 238000007726 management method Methods 0.000 claims description 6
- 210000004027 cell Anatomy 0.000 description 571
- 230000015654 memory Effects 0.000 description 51
- 238000012545 processing Methods 0.000 description 50
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 13
- 230000000694 effects Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 230000003111 delayed effect Effects 0.000 description 9
- 239000012530 fluid Substances 0.000 description 5
- 238000012546 transfer Methods 0.000 description 4
- 230000001276 controlling effect Effects 0.000 description 3
- 238000012552 review Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000001771 impaired effect Effects 0.000 description 2
- 210000000352 storage cell Anatomy 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 230000023402 cell communication Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、非同期転送モード型の通信網において、各交換/伝送装置からのセル送出速度が申告値通りになるよう制御するセル出力帯域規制装置に関するものである。
【0002】
【従来の技術】
近年、情報通信の分野においては、通信ニーズの多様化、情報交換/伝送技術の高度化、デバイス技術の発展等に伴い、ユーザ情報を高速、広帯域で交換、伝送可能な高速広帯域サービス統合デジタル網(以下、B−ISDN)の実用化が急速に進められている。
【0003】
このB−ISDNにおいては、情報転送方式として非同期転送モード(以下、ATMと呼ぶ)が採用されている。このATM通信においては、情報はセルと呼ばれる固定長のパケットで転送、交換される。この場合、セルの転送先は各セル毎に付与される相手先アドレス情報に基づいて識別される。従って、従来の時分割方式の回線交換とは異なり、各端末は空いている時間軸上のスロットの任意位置にセルを送出することができ、網内でも伝送路上の任意位置へのセル多重が可能となる。
【0004】
このため、ATM通信では、予め使用するセル通信帯域(例えば、ピークセルレートや平均セルレート)を各端末に通信開始前に申告させ、網側では、その申告情報に基づいて帯域管理が行なわれる。この網内帯域管理機能の1つにセル出力帯域規制機能(以下、シェイパーと呼ぶ)がある。シェイパー機能は、網内での多重、交換処理の際、同時刻に同一方路へと向かう複数のセルが到着した場合に、出力待ち合わせによって発生するセル遅延ゆらぎ(以下、CDVと略する)を吸収し、ユーザ申告値に従ってセルを出力回線へと送出させる機能である。
【0005】
従来、シェイパー機能の実現方式としていくつか提案されている。そのうちの1つとして、スペーシングポリサー(Spacing Policer )方式がある。この方式は、到着セル毎に申告値を満足する送出予定時刻を算出し、その送出予定時刻毎にキューイングされたセルを順次1セルずつ読み出して送出していくことにより、網内で発生するCDVの軽減やユーザ申告値を満足するセル送出の実現を図っている。
【0006】
図2は、このようなシェイパー機能を実現するシェイパー装置の基本構成を示すブロック図である。
【0007】
図2において、シェイパー装置201は、到着セル毎に送出予定時刻τを算出する送出予定時刻算出部202と、到着セルを一旦格納し送出予定時刻τに従ってセル送出のスケジューリングを行なうセルスケジューラ部203と、送出予定時刻算出部202及びセルスケジューラ部203へ現在時刻情報CTを与える時計204とから構成されている。ここで、送出予定時刻算出部202は、通信中の全コネクションについてユーザ申告値情報や後述する各種パラメータを保持している。また、時計204は1セル時間に1ずつ現在時刻CTをインクリメントするものである。
【0008】
セル205がシェイパー装置201に到着すると、送出予定時刻算出部202は、そのセルが属するコネクションの情報から、当該セルをセルスケジューラ部203内でどれほど遅延されれば申告値を満足するかを規定する所要遅延時間を求め、それを元に送出予定時刻τを算出し、セルスケジューラ部203へ提供する。セルスケジューラ部203では、受け取った送出予定時刻τに基づき、セルを送出予定時刻毎にキューイングされたセルバッファ部の最後尾に格納し、時計204からの現在時刻情報CTの経過に従って、その現在時刻CTに対応したセル206を送出していく。
【0009】
図3は、従来の送出予定時刻算出部202による処理を示すフローチャートである。なお、図3における「:=」は、その左側のパラメータの値や状態値を、右側の値や状態値に設定することを意味しており、後述する他のフローチャートでも同様である。
【0010】
図3に示す処理方法は、到着セルが出力されるまでの時間を、漏れ孔を有するバケツに今回流入した液体(単位)が漏れ孔から流出するまでの時間と対応させている手法であるので、一般にリーキーバケットと呼ばれており、同一コネクション内の連続するセルの最小送出間隔を満足するように送出予定時刻τを決定することで、セル流のピークレートを規制するものである。
【0011】
このリーキーバケット手法に使用されるパラメータ及び変数としては、リーキーバケット容量C、リーキーバケット内蓄積量カウンタ値S、リークレートL、1セル分に対応したカウンタ増加幅F、セル所要遅延時間D、及び、前セル到着時刻LATである。これらのパラメータは通信中の各コネクション毎に送出予定時刻算出部202に格納されており、セル到着時に、そのセルに係るコネクションのパラメータが読み出されて使用、更新、再格納される。また、上記パラメータにより、ピークセルレートはL/Fに制限されることになる。なお、各ステップでの処理の意味合いは、後述する実施形態での説明を参照されたい。
【0012】
当該シェイパー装置201が起動されると、セル到着の有無が監視され(ステップ301)、到着が確認されると以降の処理が行なわれる。まず、現在時刻CTと前セル到着時刻LATとの時刻差Δtが算出された後(ステップ303)、前セル到着時刻LATを現在時刻CTに更新する(ステップ304)。続いて、蓄積量カウンタ値Sと、Δt時間分のカウンタ減算量Δt・Lとが比較される(ステップ305)。
【0013】
S≦Δt・Lの場合には、所要遅延時間D及び蓄積量カウンタ値Sは共に0にセットされる(ステップ306及び307)。一方、S>Δt・Lの場合は、カウンタ値Sは、Δt時間分のカウンタ減算量Δt・Lだけ減少され(ステップ308)、続いて、蓄積量カウンタ値Sは、バケット容量Cとカウンタ増加幅Fとの差分C−Fと比較される(ステップ309)。
【0014】
S>C−Fの場合(S+F>Cの場合)には、、到着セルは廃棄処理され、送出予定時刻算出部202からセルスケジューラ部203へ与えられる送出予定時刻τを無効情報にする(ステップ310)。これに対して、S≦C−Fの場合には、所要遅延時間Dは商S/Lの整数値として算出され(バケツ内の最も上の流体部分が漏れ孔から出るまでに要するの時間として算出され)、カウンタ値Sは増加幅Fだけインクリメントされる(ステップ311、312)。最後に、廃棄処分以外のセルについて、送出予定時刻τを、現在時刻CT及び所要遅延時間Dの和(CT+D)に対する時計周期Tmaxでのモジュロ値として算出し、セルスケジューラ部203へ引き渡す(ステップ313)。
【0015】
図4は、このようにして算出された今回の到着セルについての送出予定時刻τが与えられる、従来のセルスケジューラ部203(図4においては401を付与している)の構成を示すブロック図である。
【0016】
セルスケジューラ部401は、到着セルを格納するセルメモリ(CM)402と、セルメモリ402のアドレス情報を司るポインタ群407〜409とで構成される。セルメモリ402は、1セル単位のエレメント406の一群で構成されている。
【0017】
図5はエレメントの1つを拡大したものであり、1セル分の情報を格納するセル格納フィールド(CBF)502と、同一送出予定時刻に係る他のエレメントを指し示すアドレスポインタ(APtr)501からなる。このAPtrポインタを用いることで、エレメントは他のエレメントと数珠つなぎに連結できる。
【0018】
セルメモリ402はまた、未使用エレメントを管理するフリーリスト(FL)403と、待ち合わせ中のセルが送出予定時刻毎に連結されて格納されているカレンダーキュー(CQ)404と、出力待ち状態にあるセルを管理するアウトプットリスト(OL)405とに論理的に分割されている。
【0019】
フリーリスト403は、セルメモリ402内の全ての未使用エレメントを連結しており、その先頭エレメント及び最終エレメントのアドレスは、フリーリスト用ポインタ407のフリーリストヘッダポインタ(以下、FLHポインタと呼ぶ)とフリーリストテイルポインタ(以下、FLTポインタと呼ぶ)によりそれぞれ格納されている。
【0020】
カレンダーキュー404は、時計周期Tmax分の送出予定時刻毎に到着セルを連結させて格納しており、それぞれの連結セル群はフリーリスト403と同様に、カレンダーキュー用ポインタ群408のカレンダーキューヘッダ(以下、CQHポインタと呼ぶ)とカレンダーキューテイル(以下、CQTポインタと呼ぶ)により、先頭エレメントと最終エレメントが示されている。送出予定時刻に1つもセルが連結されていなければ、そのCQHポインタ及びCQTポインタは何も示さず無効情報となっている。
【0021】
アウトプットリスト405には、現在時刻CTが送出予定時刻と一致したセル群が移動してきて格納されており、アウトプットリスト用ポインタ409のアウトプットリストヘッダ(以下、OLHポインタと呼ぶ)とアウトプットリストテイル(以下、OLTポインタと呼ぶ)とにより先頭エレメント及び最終エレメントが指し示されている。アウトプットリスト405に蓄積されたセルは、先頭セルから順次1セル時間に1セルずつ出力回線412に送出されていく。セルが送出された後の空きエレメントは再びフリーリスト403の最後尾に連結されて、以降の到着セルの格納に使用されていく。
【0022】
ここで、セルメモリ402は、論理的にフリーリスト403、カレンダーキュー404及びアウトプットリスト405に分割されてはいるが、物理的には1つの共有型のメモリで実現されており、フリーリスト403からカレンダーキュー404へ、さらにアウトプットリスト405へのセルの移動は全てポインタ処理によって行なわれ、各エレメント内のセル情報自体が移動するものではない。
【0023】
【発明が解決しようとする課題】
上述したように、従来は、到着セル毎にユーザ申告値を満足するような送出予定時刻を前セル到着時刻に基づいて算出し、その送出予定時刻単位に到着セルをセルスケジューラ部203(401)内に一旦格納し、時計204が送出予定時刻になった時点で、その時刻列に格納されているセル群を送出待ちキュー(アウトプットリスト)に移動し、先頭セルから順次送出することで、セル出力帯域規制を実現していた。
【0024】
しかしながら、このような従来の構成では、ATM通信においてはユーザ申告値、すなわち最小セル間隔の異なる複数のコネクションを規制対象とする必要があるため、送出予定時刻が同一となる可能性がある。このような場合、セルスケジューラ部内の送出予定時刻単位のカレンダーキューに複数のセルが連結され、結果として、CDVを生じてユーザ申告値を満足しないことも生じる。
【0025】
図6を用いて、この問題について具体的に説明する。図6は従来のシェイパー装置における、セル到着例601、送出予定時刻算出部内リーキーバケット蓄積量カウンタ値Sの遷移602、カレンダーキュー内のセル待ち合わせ状況603、シェイパー装置からのセル送出過程604、及び送出セル間隔605の一例を示すタイムチャートである。図中、Ai(i=1〜8)、Bj(j=1〜6)、Ck(k=1〜7)はセルを表わしており、3種類のコネクションA〜Cが1つの回線上に多重されてシェイパー装置で各々帯域規制される様子を示している。ここで、コネクションAのユーザ申告値はC=15、F=7、L=2と仮定され、同様にコネクションBはC=15、F=5、L=1、コネクションCはC=15、F=4、L=1とする。また、時計の周期Tmaxは9を仮定している。
【0026】
タイムチャート601に示すように、各コネクションのセルはシェイパー装置に到着する前にCDVを受けており、最小セル間隔の規定が満足されていない。タイムチャート602に示すリーキーバケット蓄積量カウンタ値Sに従って、各到着セルは送出予定時刻が算出され、タイムチャート603のようにカレンダーキュー内に送出予定時刻毎に蓄積されていく。異なるコネクションに属するセルB4、A5及びC5は、前セル到着時刻より算出した送出予定時刻が一致しているために、カレンダーキュー内で同時刻列に連結されてキューイングされる。同様に、セルA4とC4、セルB6とA8についても送出予定時刻が重なっている。この結果、シェイパー装置からの実際の出力過程はタイムチャート604が示すように、セルC4、A5、C5及びA8が予定送出時刻より遅れて送出されることになる。
【0027】
しかし、同一コネクションの次の到着セルに対する送出予定時刻の算出には、このような予定より遅れた実際のセル送出時刻は考慮されない。タイムチャート605は、コネクションA〜Cの実際のセル送出間隔を示している。上述した複数コネクション間でのセル送出予定時刻の重なりのために(予定より遅れたセル送出のために)、各コネクションの最小セル間隔の規定(ユーザ申告値)は達成できていない。例えば、コネクションA(最小セル間隔3.5セル)のセルA5とA6の間、コネクションC(最小セル間隔4セル)のセルC5とC6の間等である。
【0028】
従って、ユーザ申告値をより一段と満足させることができるセル出力帯域規制装置が求められている。
【0029】
【課題を解決するための手段】
かかる課題を解決するため、第1の本発明においては、セルの出力帯域を、セル送出間隔の規定を用いて規制するセル出力帯域規制装置において、以下の手段を具備することを特徴とする。
【0030】
すなわち、(1)セル到着毎に当該セルの送出予定時刻を、セル出力帯域を規定するパラメータに基づいて算出する送出予定時刻手段と、(2)算出された送出予定時刻単位に全コネクションのセルをキューイングし、セル送出予定時刻に達した時点で、当該時刻にキューイングされているセルを1セルずつ送出していくセル送出手段と、(3)送出予定時刻単位のセルのキューイング過程において、キューイングされているセル数の計数を送出予定時刻毎に行ない、送出予定時刻算出手段へ計数した送出予定時刻単位のセル数を与える送出予定時刻セル数計数手段と、(4)送出予定時刻毎のセル数を用いて、到着セルの送出予定時刻の算出に用いるリーキーバケット蓄積量カウンタ値を、送信予定時刻から遅れて送出されるセル数を反映するように補正する変数補正手段とを具備したことを特徴とする。
【0031】
この第1の本発明においては、異なるコネクションのセルの送出予定時刻が重なって、送出予定時刻通りにセル送出が実行されないコネクションがあっても、実際のセル時刻と送出予定時刻との差をそれ以降の送出予定時刻の算出に反映させるように、送出予定時刻単位のセル数を用いて、到着セルの送出予定時刻算出に用いる変数を補正することとしたので、セル送出間隔の規定を満たすと共に、CDVを押さえることができるようになる。
【0032】
また、上記課題を解決するため、第2の本発明においては、セルの出力帯域を、セル送出間隔の規定を用いて規制するセル出力帯域規制装置において、以下の手段を具備することを特徴とする。
【0033】
すなわち、(1)セル到着毎に当該セルの送出予定時刻を、セル出力帯域を規定するパラメータに基づいて算出する送出予定時刻手段と、(2)算出された送出予定時刻単位に全コネクションのセルをキューイングし、セル送出予定時刻に達した時点で、当該時刻にキューイングされているセルを1セルずつ送出していくセル送出手段と、(3)規制対象の全コネクションについて、キューイング中のセルをコネクション単位に計数すると共に、そのコネクションの最新のセル送出時刻を記録、保持するコネクション情報管理手段と、(4)セル送出時に、送出セルが属するコネクション番号を検出し、そのコネクションについてのキューイング中のセル計数値と最新セル送出時刻の更新処理を行なうコネクション情報更新手段と、(5)コネクション毎のキューイング中の計数値と最新セル送出時刻とに基づく所定ピークレートを満たす直近の送出予定時刻と、到着セルの送出予定時刻とを比較し、到着セルの送出予定時刻が直近の送出予定時刻以上である場合、到着セルの送出予定時刻を直近の送出予定時刻に補正し、次回到着セルの送出予定時刻の算出に用いるリーキーバケット蓄積量カウンタ値を、到着セルの送出予定時刻からの遅延時間を反映させるように補正する補正手段とを具備したことを特徴とする。
【0034】
この第2の本発明においては、異なるコネクションのセルの送出予定時刻が重なって、送出予定時刻通りにセル送出が実行されないコネクションがあっても、実際のセル時刻と送出予定時刻との差を、それ以降の送出予定時刻の算出等に反映させるように、コネクション毎のキューイング中のセル計数値と最新セル送出時刻情報とを用いて、到着セルの送出予定時刻とその算出に用いる変数の補正の必要性を判定して、補正が必要なときに補正することとしたので、セル送出間隔の規定をほぼ満たすと共に、CDVを押さえることができるようになる。
【0035】
【発明の実施の形態】
(A)第1の実施形態
以下、本発明によるセル出力帯域規制装置の第1の実施形態を図面を参照しながら詳述する。
【0036】
(A−1)第1の実施形態の構成
図1は、第1の実施形態のセル出力帯域規制装置の構成を示すブロック図である。
【0037】
このセル出力帯域規制装置も、大きくは、送出予定時刻算出部101、セルスケジューラ部102、及び、時計103によって構成されている。
【0038】
この実施形態の送出予定時刻算出部101も、通信中で出力帯域規制の対象である全コネクションについて、各種帯域規制パラメータや変数を保有しており、到着セル毎に送出予定時刻τを算出してセルスケジューラ部102へ提供するものである。
【0039】
しかし、これらのパラメータ及び変数、並びに、時計103からの現在時刻情報CTだけでなく、セルスケジューラ部102から与えられる送出予定時刻毎の待ち合わせセル数N(τ)も、到着セル毎の送出予定時刻τの算出に用いる点が従来とは異なっている。
【0040】
この実施形態のセルスケジューラ部102は、到着セルを一旦格納し、送出予定時刻算出部101からの送出予定時刻τを元にセル送出のスケジューリングを行なう点は従来と同様であるが、送出予定時刻τ毎に送出の待ち合わせ中のセルを計数し、その計数値N(τ)を送出予定時刻算出部101へフィードバックする点が従来とは異なっている。
【0041】
すなわち、この実施形態のセルスケジューラ部102は、到着セルを格納するセルメモリ(CM)104、及び、このセルメモリ104のアドレス情報を司るポインタ群109〜111を備えるだけでなく、待ち合わせ中のセルを計数するセル計数カウンタ112を備えている。
【0042】
なお、セルメモリ104が、1セル単位の既述した図5に示すエレメント108の一群で構成されていると共に、未使用エレメントを管理するフリーリスト(FL)105と、待ち合わせ中のセルが送出予定時刻毎に連結されて格納されているカレンダーキュー(CQ)106と、出力待ち状態にあるセルを管理するアウトプットリスト(OL)107に論理的に分割されている点は、従来と同様である。また、フリーリスト105の先頭エレメント及び最終エレメントのアドレスを規定するFLHポインタ及びFLTポインタ109、カレンダーキュー106の各送出時刻の先頭エレメント及び最終エレメントのアドレスを規定するCQHポインタ及びCQTポインタ110、並びに、アウトプットリスト107の先頭エレメント及び最終エレメントのアドレスを規定するOLHポインタ及びOLTポインタ111が、セルスケジューラ部102に格納されている点も、従来と同様である。
【0043】
この第1の実施形態で新たに設けられたセル計数カウンタ112は、カレンダーキュー106内で待ち合わせ中のセル数N(τ)を送出予定時刻単位に計数するものであり、待ち合わせ中のセル数N(τ)を、送出予定時刻算出部101に与えるものである。
【0044】
時計103は、例えば従来と同様に、1セル時間毎にインクリメントされるアップカウンタであり、そのカウンタ出力が現在時刻情報CTとして、送出予定時刻算出部101及びセルスケジューラ部102へ提供される。時計103の最大値はTmax−1であり、最大値Tmax−1までカウントアップされた後は0に戻り、再び1ずつインクリメントされていくものである。従って、時計103の周期はTmaxである。
【0045】
図7は、概念的には図1に示す構成を有するセルスケジューラ部102(701)について、より具体的なレベルで構成を示したブロック図である。
【0046】
図7において、セルスケジューラ部701は、セルメモリ(CM)702、送出時刻パラメータメモリ(MEM)703、2個のレジスタ(REG)704及び705、2個の選択回路(SEL)706及び707、加算回路(ADD)732、並びに、制御回路708から構成されている。また、このセルスケジューラ部701は、外部とのインタフェース(信号線等)部として、セル入力部709、セル出力部710、送出予定時刻算出部101からの送出予定時刻(τ)入力部711、送出予定時刻算出部101への待ち合わせセル数情報(N(τ))出力部733、及び、時計103からの現在時刻情報(CT)入力部712を有している。
【0047】
セルメモリ702は、図5にも示したように、連結先アドレスを示すアドレスポインタ(APtr)及び到着セルを格納するセル格納フィールド(CBF)を1エレメントとするメモリであり、図1におけるフリーリスト105、カレンダーキュー106、及び、アウトプットリスト107を実現するものである。このセルメモリ702の読み出し、書き込みは、制御線730を介して制御回路708により制御される。
【0048】
メモリ703は、カレンダーキュー内に送出予定時刻単位に連結して蓄積されているセルエレメントについて、先頭エレメントアドレスを示すCQHポインタ、最終エレメントを示すCQTポインタ、及び、送出予定時刻毎の蓄積セル数N(τ)を、時計周期分(0〜Tmax−1)格納しているものである。メモリ703の読み出し、書き込みも、制御線731を介して制御回路708により制御される。
【0049】
レジスタ704は、フリーリストに連結されているセルメモリ702内の未使用エレメントの先頭エレメントアドレスを示すFLHポインタと、最終エレメントアドレスを示すFLTポインタを保持している。レジスタ705は、アウトプットリストに連結されているセルメモリ702内の出力待ちセルエレメントの先頭エレメントアドレスを示すOLHポインタと、最終エレメントアドレスを示すOLTポインタを保持しているものである。これらレジスタ704及び705への書き込みは、制御線735を介して制御回路708により制御される。また、少なくともレジスタ704は、新旧(最新及びその直前)のポインタを保持し得るようになされている。
【0050】
選択回路706及び707はそれぞれ、対応するセルメモリ702、メモリ703の読み出し、書き込みを行なう際のアドレス情報717、719の選択を行なうものであり、両者の選択動作は制御線718、720を介して制御回路708により制御される。セルメモリ702へのアドレス情報としては、レジスタ704、705やメモリ03から出力されたFLHポインタあるいはFLTポインタ(713)、CQHポインタあるいはCQTポインタ(714)、又は、OLHポインタあるいはOLTポインタ(715)のいずれかが選択される。メモリ703へのアドレス情報としては、送出予定時刻算出部101からの送出予定時刻τ(711)、あるいは時計103からの現在時刻情報CT(712)のいずれかが選択される。
【0051】
加算回路732は、メモリ703内に保持されている送出予定時刻毎の待ち合わせ中セル数N(τ)の更新処理を行なうものである。加算回路732は、到着セルの送出予定時刻τを送出予定時刻算出部101から受信すると、当該時刻のセル数N(τ)を送出予定時刻算出部101へフィードバック(信号線733)した後、1インクリメントする。加算回路732の動作もまた、制御線736を介して制御回路708によって制御される。
【0052】
制御回路708は、セルスケジューラ部701全体の制御を司っており、セルメモリ702及びメモリ703の書き込み、読み出し、レジスタ704及び705のラッチタイミング、選択回路706及び707の選択処理動作、加算回路732の加算処理動作等を制御する。
【0053】
(A−2)第1の実施形態の動作
以下、この第1実施形態のシェイパー装置の動作を、送出予定時刻算出部101及びセルスケジューラ部102の動作の順に詳細に説明する。
【0054】
ここで、時計103は、帯域規制対象のセル到着の有無にかかわらず、常に1セル時間に1ずつ時刻をインクリメントし、送出予定時刻算出部101及びセルスケジューラ部102に現在時刻情報CTを供給しているとする。また、送出予定時刻算出部101内には、監視対象の全コネクションについてのパラメータや変数が一括して格納され、監視対象セルの到着毎に、該当するコネクションのパラメータ及び変数を内部の記憶部から取出して送出予定時刻の算出処理を行ない、かつ処理終了後には更新された変数を再び格納場所へ格納するものとする。
【0055】
(A−2−1)送出予定時刻算出部101の動作
図8は、この第1の実施形態の送出予定時刻算出部101の処理を示すフローチャートであり、上述した従来装置に係る図3との同一処理ステップには同一符号を付して示している。この実施形態の送出予定時刻算出部101の処理も、一般にリーキーバケットと呼ばれる手法を踏襲したものであり、同一コネクション内の連続するセルの最小送出間隔を満足するように送出予定時刻τを決定することで、ピークセルレートを規制するものである。
【0056】
なお、この第1の実施形態の送出予定時刻算出部101は、パラメータ及び変数としては、従来と同様な、リーキーバケット容量C、リーキーバケット内蓄積量カウンタ値S、リークレートL、カウンタ増加幅F、セル所要遅延時間D、前セル到着時刻LAT及び時計周期Tmaxを用いるだけでなく、送出予定時刻τにおける待ち合わせ中セル数N(τ)をも利用して、監視対象コネクションをピークセルレートL/Fに制限するような処理を行なう。
【0057】
この実施形態の送出予定時刻算出部101も、当該シェイパー装置が起動されるとセル到着の有無を監視し、セルの到着が確認されると、現在時刻CTと前セル到着時刻LATとの時刻差Δt、すなわちそのコネクションの今回の到着間隔を算出すると共に、前セル到着時刻LATを次回の到着のために現在時刻CTに更新し、その後、リーキーバケットの更新前のカウンタ値Sと、Δt時間分のカウンタ減算量Δt・Lの比較を行なう(ステップ302〜305)。
【0058】
S≦Δt・Lの場合は、前回の到着時にリーキーバケットに残存していた流体(セル)が今回のセル到着前に既になくなっていることに相当し、そこで、今回の到着セルを直ちに送出可能とすべく所要遅延時間Dを0にセットすると共に、蓄積量カウンタ値Sも0にセットする(ステップ306、307)。
【0059】
一方、S>Δt・Lの場合は、前回の到着時にリーキーバケットに残存していた流体(セル)SがリークレートLずつ到着間隔Δtの間漏れても今回のセル到着時にリーキーバケットに流体(セル)が残存していることに相当し、そこで、今回のセル到着時点でのリーキーバケットの残存量に、すなわち、S−Δt・Lに蓄積量カウンタ値Sを更新する(ステップ308)。
【0060】
その後、更新されたカウンタ値Sと、バケット容量Cとカウンタ増加幅Fとの差分C−Fとを比較する(ステップ309)。この比較は、今回のセル到着時点でのリーキーバケットの残存量(S)に、今回のセル到着による流体量(F)を加えた場合に、その量(S+F)がバケット容量Cを越えて、リーキーバケットの上縁からオーバーフローするか否かの判定を行なっていることに相当する。
【0061】
S>C−Fの場合(S+F>Cの場合)は、今回のセル到着を有効としたときにリーキーバケットの上縁からオーバーフローするので、到着セルを廃棄させるために、無効な送出予定時刻τをセルスケジューラ部102に出力して今回の到着セルに対する処理を終了する(ステップ310)。
【0062】
これに対して、S≦C−Fの場合(S+F≦Cの場合)には、所要遅延時間Dを商S/Lの整数値int[S/L]として算出する(ステップ311)。このステップ処理は、今回の到着セルが送出されるのは、今回のセル到着時点で残存していた全てのセル対応の蓄積量(S)が漏れ出た後であり、リークレートがLであるので、残存していた全てのセル(S)が送出されるのに要する時間、すなわち今回の到着セルが送出されるまでの時間はS/Lであり、この例の場合、時刻は1を単位として変化するので、その整数部分が今回の到着セルが送出されるまでの遅延時間になるという考え方に従っている。
【0063】
今回のセル到着時点でのリーキーバケットの残存量(S)がない場合であろうと、到着セルの廃棄がなされない程度に存在する場合であろうと、その残存量に対応した蓄積量カウンタ値S及び所要遅延時間Dが求められた場合には、今回の到着セルの送出予定時刻τを算出し、セルスケジューラ部102に出力する(ステップ812、図3のステップ313と同様)。現在時刻CTと所要遅延時間Dとから、単純には、これらの和CT+Dとして送出予定時刻τが求められるが、時計103として周期がTmaxのものを適用しているので、和CT+Dが時計周期Tmaxより大きくなることを考慮し、上述した和CT+Dを時計周期Tmaxで除算した際のモジュロ値として送出予定時刻τを求めている。
【0064】
最後に、セルスケジューラ部102から受信した、ステップ812で求めた送出予定時刻τの列に蓄積されている待ち合わせ中のセル数N(τ)(今回の到着セル分を計数していない値)をも考慮して、リーキーバケットの蓄積量カウンタ値Sを更新して、今回の到着セルに対する一連の処理を終了する(ステップ813)。
【0065】
処理終了時点の蓄積量カウンタ値Sは、他のコネクションを考慮しなければ、今回のセル到着時の蓄積量カウンタ値S(ステップ307又は308による算出値)に、今回のセル到着による増加分Fを加算して求めれば良い(従来に係るステップ312参照)。しかし、他のコネクションを考慮しない従来は、上述したような課題を生じている。そのため、この第1の実施形態は、他のコネクションの状況をも反映させるべく、送出予定時刻τの列に蓄積されている待ち合わせ中のセル数N(τ)も処理終了時点の蓄積量カウンタ値Sの算出に利用し、処理終了時点の蓄積量カウンタ値Sを、今回のセル到着時の蓄積量カウンタ値Sに、F+L・N(τ)を加えた値とすることとした。
【0066】
この算出式S:=S+F+L・N(τ)における右辺のS+Fは、従来同様に、到着セルのコネクションだけを考慮し、今回のセル到着時の蓄積量カウンタ値S(ステップ307又は308による算出値)に、今回のセル到着による増加分Fを加算した成分である。右辺のL・N(τ)は、以下の考え方に従って、加算することとしたものである。
【0067】
ステップ812で求めた送出予定時刻τを予定時刻とする既に到着している他のコネクションのセルが存在する場合には、今回の到着セルは、同一の送出予定時刻τの他の全て(個数はN(τ))のセルが出力された後でなければ送出されず、送出は予定時刻τより遅れる。実際上、このように遅れた時刻で送出される今回の到着セルから、ユーザ申告値で定まる最小のセル間隔を守って次回の到着セルの送出予定時刻を決定する場合、今回の到着セルが送出予定時刻から遅れる分を考慮しなければならず、次回の到着セルに対して決定される送出予定時刻に、今回の到着セルが送出予定時刻から遅れる時間を反映させるために、今回のセル到着時の蓄積量カウンタ値S(ステップ307又は308による算出値)と、今回のセル到着による増加分Fとの和S+FにさらにL・N(τ)を加算することとした。
【0068】
これにより次回のステップ311の処理では、L・N(τ)の成分はN(τ)となり、次回のセル到着時の送出予定時刻が、同一コネクションだけを考慮した場合よりN(τ)だけ遅くなり、今回の到着セルに対する実際の送出時刻が予定送出時刻τより遅れても、その分、次回の到着セルの送出予定時刻も遅れて、相前後するセルの出力間隔が他のコネクションの影響を受けずに、CDVを吸収でき、ユーザ申告値を満足するようになる。
【0069】
(A−2−2)セルスケジューラ部102の動作
次に、第1の実施形態のセルスケジューラ部102の動作を、到着セル処理とセル送出処理との順に、図7の構成ブロック図を参照しながら説明する。
【0070】
[セルスケジューラ部102の到着セル処理]
帯域規制対象のセルが到着すると、その到着セルはまず、レジスタ704のFLHポインタで示されるセルメモリ702内の先頭位置の未使用エレメントのセル格納フィールドCBFに一旦格納される。この際、選択回路706は、レジスタ704のFLHポインタの格納部から読み出されたFLHポインタ(713)を選択出力し、セルメモリ702のアドレス入力としている。
【0071】
ここで、送出予定時刻算出部101から受信する当該セルの送出予定時刻τが、無効情報でない限り以降の処理が行なわれる。なお、無効情報である場合は当該セルは廃棄扱いとなり、以降の処理は何も行なわれない。また、フリーリスト内に未使用エレメントがない場合にも、到着セルは同様に廃棄扱いとなる。
【0072】
送出予定時刻τが有効である場合、これまで、レジスタ704のFLHポインタで示されていた未使用エレメントが到着セルへと割り当てられて使用エレメントに変化するので、FLHポインタの更新が必要となる。すなわち、これまでFLHポインタで示されていた当該到着セルを格納したエレメントのAPtrポインタで示される連結先の未使用エレメントが、次の先頭未使用エレメントとなるので、制御回路708は、前記APtrポインタ値を、信号線722を介して、レジスタ704のFLHポインタの格納エリアに与えて新FLHポインタとして格納させる。
【0073】
このとき、残りの未使用エレメントが1つになる場合には、最終エレメントを規定するFLTポインタもまた先頭エレメントを規定するFLHポインタと同じ未使用エレメントを指し示すことになるため、信号線722はFLTポインタ704へも接続されている。さらに、当該到着セルが最後の未使用エレメントに格納された場合には、残りの未使用エレメントはなくなり、FLH及びFLTポインタは、制御回路708により無効とされる。
【0074】
次に、到着セルを格納した当該エレメントは、送出予定時刻算出部101からの送出予定時刻τに基づいた以下のようなポインタ処理によりフリーリストからカレンダーキュー内のその時刻τに対応する待ち合わせセル列に移動される。
【0075】
この到着セルに対する処理においては、選択回路707は送出予定時刻τを選択するように制御されており、この選択回路707で選択された送出予定時刻τをアドレスとするメモリ703内のCQTポインタを読み出して、選択回路706を介してセルメモリ702にアドレスとして与えて、到着セルが格納されたセルメモリ702のエレメントのAPtrポインタに旧FLHポインタを書き込むと共に(信号線723)、メモリ703のその送出予定時刻τのCQTポインタにも旧FLHポインタを書き込む(信号線727)。なお、送出予定時刻τに相当する連結エレメント列(セル)が何も存在していなかった場合には、旧FLHポインタがそのままCQH及びCQTポインタとしてメモリ703に書き込まれる(信号線727)。
【0076】
また、このような到着セルに係るエレメントのカレンダーキュー内への移動処理のときに、当該送出予定時刻τの待ち合わせセル数N(τ)がメモリ703から読み出されて送出予定時刻算出部101へと受け渡される(信号線733)と共に、インクリメント処理が加算回路732によって行なわれ、メモリ703内へ再格納される(信号線734)。
【0077】
以上のようにして、セルが到着すると、そのときのFLHポインタが示すフリーリストの先頭エレメントにその到着セルが格納され、その先頭エレメントの連結ポインタが示すエレメントがフリーリストの先頭エレメントに変更されると共に、有効な到着予定時刻τが与えられると、カレンダーキュー内のその時刻τのエレメント列の最後尾に今回の到着セルに係る未使用エレメントから使用エレメントに変化したエレメントが連結され、また、その送出予定時刻τにかかる今回の到着セルを含めないセル数N(τ)を送出予定時刻算出部101に出力された後、そのセル数N(τ)が1インクリメントされる。
【0078】
[セルスケジューラ部102のセル送出処理]
次に、セルスケジューラ部102におけるセル送出処理、すなわち、送出予定時刻というスケジュールに従って、バッファリングしているセルを送出する処理を説明する。
【0079】
時計103からの現在時刻情報CTを信号線712より受信したセルスケジューラ部701は、まず、この現在時刻CTに相当するカレンダーキュー内の連結エレメント(セル)群をアウトプットリストに移動させる以下のような処理を行なう。
【0080】
最初に、選択回路707で選択されるアドレス情報719が、時計103からの現在時刻CTに設定される。
【0081】
この現在時刻CTをアドレスとして、その時刻CTの連結エレメント列の先頭及び最終エレメントを規定するCQHポインタ及びCQTポインタをそれぞれメモリ703から読み出し、アウトプットリストが空の場合には、それぞれをレジスタ705にOLHポインタ及びOLTポインタとして格納する(信号線728及び729)。この際、アウトプットリストに移動するエレメント(セル)が1つだけの場合には、読み出されたCQHポインタ値をOLHポインタ及びOLTポインタとして格納される。
【0082】
また、アウトプットリスト内に既にエレメント(セル)がある場合には、メモリ703から読出したCQHポインタとCQTポインタの示すエレメント群をその最後尾に連結させる。すなわち、レジスタ705のアウトプットリスト内の最終エレメントを規定するOLTポインタに、メモリ703から読み出されたCQTポインタ値を格納し(信号線729)、旧OLTポインタをアドレスとするセルメモリ702内のエレメントのAPtrポインタ(連結先ポインタ)の格納エリアに、メモリ703から読み出されたCQHポインタを格納する。ここで、移動するエレメントが1つだけの場合には、更新されるAPtrポインタ及びOLTポインタは共に、メモリ703から読み出されたCQHポインタ値になる。
【0083】
次に、制御回路708は、アウトプットリストに移動された現在時刻CTを送出予定時刻としているエレメント(セル)列に相当するセル計数値N(τ)を0クリアする。
【0084】
以上のようにして、現在時刻CTを送出予定時刻としているカレンダーキュー内のエレメント(セル)列がアウトプットリストの後半に連結される。
【0085】
アウトプットリストに移動されたセル群は、以下のようにして、1セル時間に1セルずつ順次出力線710から送出されていく。
【0086】
制御回路708は、現在時刻CTが更新されて上述したアウトプットリストへの移動処理が終了すると、レジスタ705のOLHポインタを選択回路706を介してセルメモリ702にアドレスとして与え、そのアドレスを有するエレメント、すなわち、アウトプットリスト内の先頭エレメントのセル格納フィールドCBFにあるセル情報を、出力線710から送出させる。
【0087】
これにより、このエレメントのAPtrポインタの指し示すエレメントが、次の時刻でのアウトプットリスト内の先頭エレメントになるので、このAPtrポインタ値をセルメモリ702から読み出してレジスタ705のOLHポインタのエリアに格納させる(信号線724)。なお、今回のセル送出により、アウトプットリスト内の残存セル(エレメント)が1セルとなった場合には、セルメモリ702から読出したAPtrポインタ値を、レジスタ705のOLHポインタのエリアだけでなく、OLTポインタのエリアにも格納させる。また、セル送出によりアウトプットリスト内の残存セルがなくなった場合には、レジスタ705のOLHポインタ及びOLTポインタのエリアを無効とする。
【0088】
セルが送出されたアウトプットリスト内の旧先頭エレメントは、未使用状態となるので、以下のようにして再びフリーリストに移動される。
【0089】
レジスタ704からFLTポインタを読み出して、選択回路706を介してセルメモリ702にアドレスとして与え、そのアドレスのエレメント、すなわち、フリーリスト内の最後尾エレメントのAPtrポインタに、レジスタ705に格納されている旧OLHポインタ値を格納させると共に、この旧OLHポインタ値をレジスタ704のFLTポインタに書き込む。なお、フリーリスト内に未使用エレメントが1つもなかった場合には、レジスタ704のFLHポインタにも合わせて旧OLHポインタ値が格納される。
【0090】
以上のようにして、現在時刻が変更される毎に、アウトプットリスト内の先頭エレメントに格納されているセルが出力されると共に、そのエレメントがフレーリストの最後尾に移動される。
【0091】
次に、上述した構成を有して上述した動作を行なう第1の実施形態のシェイパー装置の具体的な動作例を図9を用いて説明する。
【0092】
なお、図9は、従来の課題の説明で用いた図6と同様なセルの到着状況及びユーザ申告条件での動作例を示すタイムチャートである。すなわち、ユーザ申告値がC=15、F=7、L=2であるコネクションA、ユーザ申告値がC=15、F=5、L=1であるコネクションB、ユーザ申告値がC=15、F=4、L=1であるコネクションCのセルが、タイムチャート901のように当該シェイパー装置の到着以前においてCDVを受けて最小セル間隔の規定が必ずしも満足されていない状態で到着した際の、送出予定時刻算出部101内のリーキーバケット蓄積量カウンタ値Sの遷移902、カレンダーキュー内のセル待ち合わせ状況903、当該シェイパー装置からのセル送出過程904、及び、送出セル間隔905を示している。
【0093】
この第1の実施形態においても、タイムチャート902に示すリーキーバケット蓄積量カウンタ値Sが算出され、このカウンタ値Sに従って、各到着セルは送出予定時刻τが算出され、タイムチャート903のようにカレンダーキュー内に送出予定時刻毎に蓄積されていく。この第1の実施形態でも、異なるコネクションに属するセルについては、同一の送出予定時刻が算出されることがある。セルA4とC4、B4とA5、B5とC6、及び、B6とC6はそれぞれ、前セル到着時刻より算出した送出予定時刻が一致しているために、カレンダーキュー内で同時刻列に連結キューイングされたものである。
【0094】
しかし、この第1の実施形態においては、到着セル分を含めた蓄積量カウンタ値Sは、その送出予定時刻でのセル数N(τ)も反映されているので、蓄積量カウンタ値Sは従来より高い値をとることも生じ、送出予定時刻τが従来より遅くなるセルが多くなる。タイムチャート603及び903の比較から明らかなように、セルC5、A6、C6、A7、C7及びA8の送出予定時刻は従来より遅く決定されている。すなわち、同一の送出予定時刻に後で決定されたセルC4、A5、C6及びC7は、送出予定時刻より遅れて実際には出力され、他のコネクションのセルの存在によってこのようにセル送出が遅れた分については待ち合わせセル数N(τ)を用いて蓄積量カウンタ値Sを補正処理して次回の送出予定時刻の決定に反映させているため、その後の同一コネクションの到着セルに送出予定時刻は前回に決定された同一コネクションについての送出予定時刻よりはむしろだ実際の送出時刻を基準として決定しているということができ、図6と比べても明らかなようにCDVを押さえることができる。
【0095】
具体的には、セルA5とA6との間のセル間隔は従来では2セル時間であったものがこの第1の実施形態では3セル時間になり、また、セルC5とC6との間のセル間隔は従来ではが2セル時間であったものがこの第1の実施形態では4セル時間になっている。すなわち、最小セル間隔の規定を、従来とは異なって、満足させるようにできている。
【0096】
(A−3)第1の実施形態の効果
上述した第1の実施形態のシェイパー装置によれば、以下のような効果を得ることができる。
【0097】
(1) 異なるコネクション間で同一時刻にセル送出予定が重なって予定時刻より出力が遅れるセルが発生した場合においても、その出力が待ち合わせされるコネクションについては、待ち合わせ分だけセル送出予定時刻算出処理の変数を補正するようにしたので、そのコネクションの後続するセルとの間でCDV発生を防ぐことができ、所要の最小セル送出間隔を満足させることができる。
【0098】
この最小セル間隔の保証は、ATMネットワークの帯域管理においては最も重要なファクターであり、上記効果の意義は大きい。
【0099】
(2) 上記セル送出予定時刻算出処理の変数の補正処理を、送出予定時刻単位の待ち合わせセル数の計数という簡易な機能追加で対処しているので、回路規模の増大を招くことがない。
【0100】
因に、従来装置であっても、実際上、送出予定時刻毎の待ち合わせセルの計数機能を具備することが一般的であり、この第1の実施形態はその機能とパラメータを拡張利用し、送出予定時刻算出部へとフィードバックしているだけであるので、送出予定時刻算出部での積和演算機能部を1つ付加のみであり、回路規模の増加はほとんどない。
【0101】
このように従来装置に比較すると、送出予定時刻算出部での積和演算機能の追加が必要となるが、この演算部は既に送出予定時刻算出部に含まれており、同じ演算部を切り替えて利用することで、回路規模の増加をさらに抑えることができる。
【0102】
(3) この第1の実施形態が使用しているスペーシングポリサー(Spacing Policer )方式の最大の特徴は、膨大な数のコネクションを同時に帯域規制可能な点にあるが、各種処理をセル到着時とセル送出時にのみ実行しているので、この第1の実施形態の実現上でも、その特徴は何ら損なわれず、装置が許容するコネクション数が制限されることはない。
【0103】
(B)第2の実施形態
次に、本発明によるセル出力帯域規制装置の第2の実施形態を図面を参照しながら詳述する。
【0104】
(B−1)第2の実施形態の構成
図10は、第2の実施形態のセル出力帯域規制装置の構成を示すブロック図であり、第1の実施形態に係る図1との同一、対応部分には同一符号を付して示している。
【0105】
このセル出力帯域規制装置も、大きくは、送出予定時刻算出部101、セルスケジューラ部102、及び、時計103によって構成されている。時計103は、第1の実施形態のものと同様である。
【0106】
この第2の実施形態の送出予定時刻算出部101は、セルスケジューラ部102から送出されたセルのコネクション番号mをも利用して、到着セル毎に送出予定時刻τを算出してセルスケジューラ部102へ提供するものであり、コネクション番号mをも利用する点が第1の実施形態とは異なっている。
【0107】
この第2の実施形態のセルスケジューラ部102は、各送出予定時刻毎の待ち合わせセル数N(τ)の格納部を備えていない点(備えていても良いが第2の実施形態の特徴とは無関係である)、及び、送出予定時刻算出部101に当該セルスケジューラ部102から送出されたセルのコネクション番号mをフィードバックする点が、第1の実施形態とは異なっている。
【0108】
図11は、概念的には図10に示す構成を有する第2の実施形態のセルスケジューラ部102(701)について、より具体的なレベルで内部構成を示したブロック図であり、上述した図7との同一、対応部分には同一符号を付して示している。
【0109】
このようなレベルでセルスケジューラ部701の構成を見た場合、以下の点が、第1の実施形態の構成と異なっており、これ以外の構成は第1の実施形態と同様である。
【0110】
(1) 送出予定時刻τのセル数N(τ)を1インクリメントするための加算回路(図7の符号732参照)が設けられていない点、(2) 送出時刻毎のパラメータメモリ(MEM)703にセル数N(τ)のエリアが設けられておらず、セル数N(τ)の送出予定時刻算出部101へのフィードバック線がない点、(3) 制御回路708が出力セルのコネクション番号mを取り込んで送出予定時刻算出部101へフィードバックするようになされている点が、第1の実施形態の構成と異なっている。
【0111】
(B−2)第2の実施形態の動作
以下、この第2の実施形態のシェイパー装置の動作を、送出予定時刻算出部101及びセルスケジューラ部102の動作の順に詳細に説明する。ここで、時計103は、帯域規制対象のセル到着の有無にかかわらず、常に1セル時間に1ずつ時刻をインクリメントし、送出予定時刻算出部101及びセルスケジューラ部102に現在時刻情報CTを供給しているとする。また、送出予定時刻算出部101内には、監視対象の全コネクションについてのパラメータや変数が一括して格納され、監視対象セルの到着毎に、また、セルを外部に出力する毎に、該当するコネクションのパラメータ及び変数を内部の記憶部から取出して送出予定時刻の算出処理等を行ない、かつ処理終了後には更新された変数を再び格納場所へ格納するものとする。
【0112】
(B−2−1)送出予定時刻算出部101の動作
この第2の実施形態の送出予定時刻算出部101の処理も、一般にリーキーバケットと呼ばれる手法を踏襲したものであり、同一コネクション内の連続するセルの最小送出間隔を満足するように送出予定時刻τを決定することで、ピークセルレートを規制するものである。しかし、この第2の実施形態の場合、送出予定時刻算出部101の動作は、当該シェイパー装置にセルが到着した際に実行される動作と、当該シェイパー装置からセルを送出した際に実行される動作とに分けられる。
【0113】
なお、この第2の実施形態の送出予定時刻算出部101は、従来と同様なリーキーバケット容量C、リーキーバケット内蓄積量カウンタ値S、リークレートL、カウンタ増加幅F、セル所要遅延時間D、前セル到着時刻LAT及び時計周期Tmaxだけでなく、到着セルのコネクション(コネクション番号をkとする)のセルスケジューラ部102内の蓄積セル数(未送出の到着セル数)N(k)、及び、そのコネクションの最新(直前)のセル送出時刻RDT(k)をも利用して、監視対象コネクションをピークセルレートL/Fに制限する。
【0114】
まず、図12のフローチャートを参照しながら、送出予定時刻算出部101のセル到着時の動作を説明する。なお、図12において、従来装置に係る図3及び第1の実施形態に係る図8との同一、対応ステップには同一符号を付して示している。また、図12においては、従来と同様な変数、パラメータについては、到着セルのコネクション番号kを規定する(k)を省略しているが、正しくは、S(k)、L(k)、F(k)、D(k)及びLAT(k)と記載すべきものである。
【0115】
当該シェイパー装置が起動されて処理を開始し、ステップ313の処理を実行するまでは、従来装置と同様な処理を行なうので、その説明は省略する。なお、これらのステップ処理において、利用する蓄積量カウンタ値Sは後述するステップ1218で算出されたものとなっていることもあり、この点では、従来装置と同様でないということもできる。
【0116】
到着セルが有効であって、ステップ312において、到着時の蓄積量カウンタ値Sを今回の到着セルに相当する量(F)だけ増加すると共に、ステップ313において、現在時刻CTと、到着時の蓄積量カウンタ値Sに基づいて得た今回の到着セルを出力するまでの遅延時間Dとから送出予定時刻τを算出すると、更新した蓄積量カウンタ値S及び算出した送出予定時刻τが、妥当なものか否かを以下のようにして見直す。すなわち、セルスケジューラ部102におけるそのコネクションkの待機しているセル数N(k)や、このコネクションkの前回の実際の送出時刻RDT(k)からみて妥当なものであるか否かを見直す。
【0117】
この一連の見直し処理では、まず、到着セルのコネクションkの未送出セル数N(k)を今回の到着セルを含むように1インクリメントし(ステップ1214)、その後、ピークセルレートF/Lを満たす当該到着セルの直近の送出予定時刻τ0を算出する(ステップ1215)。ピークセルレートF/Lを満たす直近の送出予定時刻τ0は、単純には、前回の実際の送出時刻RDT(k)に、ピークセルレートF/Lで未送出のN(k)個のセルを送出するのに要する時間int[N(k)・F/L]を加算することで求まるが(整数化intは時刻の更新が1ずつなされるために行なわれている)、時計103がTmaxを一巡周期としているため、その加算値を、この時計周期Tmaxて割ったモジュロ値として算出する。
【0118】
このようにして、ピークセルレートF/Lを満たす当該到着セルの直近の送出予定時刻τ0を得ると、到着時の蓄積量カウンタ値Sを基準として求めた今回の到着セルの送出予定時刻τを、ピークセルレートを考慮した直近の送出予定時刻τ0と比較する(ステップ1216)。
【0119】
τ≧τ0の場合には、送出予定時刻τがピークセルレートF/Lを満たすとみなして良いので、ステップ312で得られた到着セル分を含めた蓄積量カウンタ値S、及び、ステップ313で求めた送出予定時刻τを変更することなく、セル到着時の一連の処理を終了する。
【0120】
一方、τ<τ0の場合には、送出予定時刻τがピークセルレートF/Lを満たさないので、ステップ312及び313で得られた蓄積量カウンタ値S及び送出予定時刻τを、以下の値に変更させてセル到着時の一連の処理を終了する(ステップ1217、1218)。すなわち、今回の到着セルの送出予定時刻τを、そのコネクションのピークセルレートF/Lを満たすと考えられる最も早い時刻τ0まで遅延させてセットし直す(ステップ1218)。このように到着時の蓄積量カウンタ値Sから求めた送出予定時刻τを時間τ0−τ分だけ遅らせるように更新するので、このコネクションの次回の到着セルの送出予定時刻の算出にも、かかる遅延時間を反映させるように、ステップ312で求めた蓄積量カウンタ値Sも、その遅延時間の相当分L・(τ0−τ)だけ増加させる(ステップ1217)。
【0121】
以上のような一旦求めた送出予定時刻に対するピークセルレートを考慮した確認、補正処理によって、当該到着セルだけでなくこの到着セル以降の到着セルについて、より最小セル送出間隔の規定値を満足するシェイパー動作を実現することができるようになる。
【0122】
次に、図13のフローチャートを参照しながら、当該シェイパー装置からのセル送出時における送出予定時刻算出部101の動作を説明する。
【0123】
送出予定時刻算出部101は、セルスケジューラ部102からセル送出がなされたか否かを確認しており(ステップ1302)、セル送出が成されると、当該セルのコネクション番号mをセルスケジューラ部102から受信する(ステップ1303)。そして、送出予定時刻算出部101は、当該コネクションmについての内部管理している蓄積セル数N(m)を1デクリメントすると共に、当該コネクションmの最新セル送出時刻RDT(m)を、時計103からの現在時刻CTにセットして、一連のセル送出時の処理を終了する(ステップ1304、1305)する。
【0124】
このようなセル送出時の処理によって適宜更新される蓄積セル数N(m)及び最新セル送出時刻RDT(m)を、上述したセル到着時に活用することにより、到着時の蓄積量カウンタ値Sに基づいて求めた到着セル分だけ更新された蓄積量カウンタ値S及び送出予定時刻τに対し、ピークセルレートを反映させた見直すを実行することができるようになる。
【0125】
(B−2−2)セルスケジューラ部102の動作
次に、第2の実施形態のセルスケジューラ部102の動作を、到着セル処理とセル送出処理との順に、図11の構成ブロック図を参照しながら説明する。
【0126】
[セルスケジューラ部102の到着セル処理]
この第2の実施形態におけるセル到着時のセルスケジューラ部102の動作は、第1の実施形態とほぼ同様である。
【0127】
すなわち、到着セルを最終の未使用エレメントのセル格納フィールドに格納すると共に、最終の未使用エレメントを規定するFLHポインタを更新する動作は、第1の実施形態と同様である。また、到着セルを格納した当該エレメントを、送出予定時刻算出部101からの送出予定時刻τに基づいたポインタ処理により、フリーリストからカレンダーキュー内のその時刻τに対応する待ち合わせセル列に移動する動作も、第1の実施形態と同様である。従って、これらの動作の詳述は省略する。
【0128】
しかし、この第2の実施形態の場合、到着セルを格納したエレメントをフリーリストからカレンダーキュー内の送出予定時刻τに対応する待ち合わせセル列に移動しても、その時刻τ対応の蓄積セル数N(τ)を更新する動作を実行しない点が、第1の実施形態と異なっている。
【0129】
[セルスケジューラ部102のセル送出処理]
次に、セルスケジューラ部102におけるセル送出処理、すなわち、送出予定時刻というスケジュールに従って、バッファリングしているセルを送出する処理を説明する。
【0130】
時計103からの現在時刻情報CTに基づいて、この現在時刻CTに相当するカレンダーキュー内の連結エレメント(セル)群をアウトプットリストに移動させる動作は、第1の実施形態とほぼ同様であるので、その詳細説明は省略する。なお、この第2の実施形態の場合、このような移動時において、アウトプットリストに移動された現在時刻CTを送出予定時刻としているエレメント(セル)列に相当するセル計数値N(τ)を0クリアする動作は実行されず、この点は、第1の実施形態と異なっている。
【0131】
この移動処理後に実行される、アウトプットリストに移動されたセル群を、1セル時間に1セルずつ順次出力線710から送出すると共に、その送出によって未使用エレメントに変化したエレメントをフリーリストに移動する動作も、第1の実施形態とほぼ同様であるので、その詳細説明は省略する。
【0132】
なお、この第2の実施形態の場合は、アウトプットリストから出力線710に出力されたセルのコネクション番号mを制御回路708が取り込み、送出予定時刻算出部101に出力するようにしている点は、第1の実施形態と異なっている。このコネクション番号mが、送出予定時刻算出部101による上述した図13に示す動作に用いられる。
【0133】
次に、上述した構成を有して上述した動作を行なう第2の実施形態のシェイパー装置の具体的な動作例を図14を用いて説明する。
【0134】
なお、図14は、従来の課題の説明で用いた図6と同様なセルの到着状況及びユーザ申告条件での動作例を示すタイムチャートである。すなわち、ユーザ申告値がC=15、F=7、L=2であるコネクションA、ユーザ申告値がC=15、F=5、L=1であるコネクションB、ユーザ申告値がC=15、F=4、L=1であるコネクションCのセルが、タイムチャート1401のように当該シェイパー装置の到着以前においてCDVを受けて最小セル間隔の規定が必ずしも満足されていない状態で到着した際の、送出予定時刻算出部101内のリーキーバケット蓄積量カウンタ値Sの遷移1402、カレンダーキュー内のセル待ち合わせ状況1403、当該シェイパー装置からのセル送出過程1404、及び、送出セル間隔1405を示している。
【0135】
この第2の実施形態においても、タイムチャート1402に示すリーキーバケット蓄積量カウンタ値Sが算出され、このカウンタ値Sに従って、各到着セルは送出予定時刻τが算出され、タイムチャート1403のようにカレンダーキュー内に送出予定時刻毎に蓄積されていく。この第1の実施形態でも、異なるコネクションに属するセルについては、同一の送出予定時刻が算出されることがある。セルA4とC4、B4とA5とC5、B5とC6、及び、C7とA8はそれぞれ、前セル到着時刻より算出した送出予定時刻が一致しているために、カレンダーキュー内で同時刻列に連結キューイングされたものである。
【0136】
しかし、この第2の実施形態においては、到着セル分を含めた蓄積量カウンタ値Sは、そのコネクションでのセル数N(k)や最新送出時刻RDT(k)も反映されているので、蓄積量カウンタ値Sは従来より高い値をとることも生じ、送出予定時刻τが従来より遅くなるセルが多くなる。また、コネクションでのセル数N(k)や最新送出時刻RDT(k)を考慮して送出予定時刻τを見直しているので、送出予定時刻τが従来より遅くなるセルが多くなる。タイムチャート603及び1403の比較から明らかなように、セルC6、A7、C7及びA8の送出予定時刻は従来より遅く決定されている。
【0137】
すなわち、異なるコネクションに属するセルA4とC4、B4とA5とC5、B5とC6、及び、C7とA8は、それぞれ前セル到着時刻より算出した送出予定時刻が一致しているために、カレンダーキュー内で同時刻列に連結キューイングされ、前記セルC4、A5、C5、C6及びA8は、送出予定時刻より遅れて実際には出力され、このセル送出の遅れた分については、上述したように、コネクション単位のカレンダーキュー内待ち合わせセル数mを用いて補正処理をしているために、その後の同一コネクションの到着セルに送出予定時刻は前回に決定された同一コネクションについての送出予定時刻よりはむしろだ実際の送出時刻を基準として決定しているということができ、図6と比べても明らかなようにCDVを押さえることができる。
【0138】
具体的には、セルA5とA6との間のセル間隔は従来装置と同じ2セルのままであるが、その後に続くセルA6とA7との間が4セルから5セルへと広がり、最小セル間隔を満足していないセルA5、A6間の影響を、後続セルを遅らせることで緩和している。またセルC5とC6との間は2セルから4セルへと、従来装置と比べて広がっており、最小セル間隔の規定を満足している。
【0139】
(B−3)第2の実施形態の効果
上述した第2の実施形態のシェイパー装置によれば、以下のような効果を得ることができる。
【0140】
(1) 異なるコネクション間で同一時刻にセル送出予定が重なって、待ち合わせを受けるセルが発生した場合においても、待ち合わせを受けるコネクションについて、待ち合わせ分だけセル送出予定時刻算出処理の変数を補正することにより、後続するセルとの間でのCDV発生を抑制し、所要最小セル送出間隔を満足できないことの影響を緩和することができる。
【0141】
上述したように、この最小セル間隔の保証は、ATMネットワークの帯域管理においては最も重要なファクターであり、上記効果の意義は大きい。
【0142】
(2) 上記セル送出予定時刻算出処理の変数の補正処理を、コネクション単位での待ち合わせセル数の計数という簡易な機能追加で対処しているので、回路規模の増大を招くことがない。
【0143】
また、送出予定時刻算出部では第2実施形態の実現のために、積和演算や除算演算、モジュロ演算等機能の追加が必要となるが、これらの演算部は既に送出予定時刻算出部に含まれており、同じ演算部を切り替えて利用することで、回路規模の増加はさらに抑えられる。
【0144】
(3) この第2の実施形態が使用しているスペーシングポリサー(Spacing Policer )方式の最大の特徴は、膨大な数のコネクションを同時に帯域規制可能な点にあるが、各種処理をセル到着時とセル送出時にのみ実行しているので、この第2の実施形態の実現上でも、その特徴は何ら損なわれず、装置が許容するコネクション数が制限されることはない。
【0145】
(C)他の実施形態
以上、本発明を、2つの実施形態につき詳細に説明したが、本発明は上述した実施形態に限定されるものではない。
【0146】
(1) 両実施形態におけるセル送出予定時刻算出部101は、上述したフローチャートに示す処理を実行できるものであれば、ハードウェア的に構成されていても良く、また、DSP等を利用してソフトウェア的に構成されているものであっても良い。
【0147】
(2) 第1実施形態において、送出予定時刻毎の蓄積セル数N(τ)の計数処理及び保持を、セルスケジューラ部側で行なう例を示したが、送出予定時刻算出部側で保持、管理しても良い。
【0148】
(3) 第2実施形態におけるコネクション毎の蓄積セル数N(k)や最新送出時刻RDT(k)の更新処理や保持を、セルスケジューラ部側で実行し、送出予定時刻算出部へとその都度受け渡しても良い。
【0149】
(4) 到着セルをバッファリングするセルメモリは、物理的に1つのメモリでなくても良く、フリーリスト、カレンダーキュー、アウトプットリストのそれぞれを個別のメモリで実現しても良い。
【0150】
(5) 両実施形態では、到着セル毎の送出予定時刻算出にリーキーバケット型の手法を用いているが、本発明はリーキーバケット型に限らず、その他の手法、例えばある一定の時間幅内を通過するセル数によって規定するウィンドウ型と呼ばれる手法等を適用しても、その実現性には全く問題は生じない。要は、送出予定時刻を決定するための変数やパラメータを、実際のセル送出時刻の情報を反映させる形で補正できる形式の手法であれば良い。
【0151】
【発明の効果】
以上のように、第1の本発明によれば、送出予定時刻単位のセルのキューイング過程において、キューイングされているセル数の計数を送出予定時刻毎に行ない、送出予定時刻算出手段へ計数した送出予定時刻単位のセル数を与える送出予定時刻セル数計数手段と、送出予定時刻毎のセル数を用いて、到着セルの送出予定時刻の算出に用いるリーキーバケット蓄積量カウンタ値を、送信予定時刻から遅れて送出されるセル数を反映するように補正する変数補正手段とを具備したので、異なるコネクションのセルの送出予定時刻が同一になった前後においても、セル送出間隔の規定を満たすことができ、かつCDVを押さえることができる。
【0152】
また、第2の本発明によれば、規制対象の全コネクションについて、キューイング中のセルをコネクション単位に計数すると共に、そのコネクションの最新のセル送出時刻を記録、保持するコネクション情報管理手段と、セル送出時に、送出セルが属するコネクション番号を検出し、そのコネクションについてのキューイング中のセル計数値と最新セル送出時刻の更新処理を行なうコネクション情報更新手段と、コネクション毎のキューイング中の計数値と最新セル送出時刻とに基づく所定ピークレートを満たす直近の送出予定時刻と、到着セルの送出予定時刻とを比較し、到着セルの送出予定時刻が直近の送出予定時刻以上である場合、到着セルの送出予定時刻を直近の送出予定時刻に補正し、次回到着セルの送出予定時刻の算出に用いるリーキーバケット蓄積量カウンタ値を、到着セルの送出予定時刻からの遅延時間を反映させるように補正する補正手段とを具備したので、異なるコネクションのセルの送出予定時刻が同一になった前後においても、セル送出間隔の規定を満たすことができ、かつCDVを押さえることができる。
【図面の簡単な説明】
【図1】第1の実施形態の概略構成を示すブロック図である。
【図2】シェイパー装置の一般的構成を示すブロック図である。
【図3】従来の送出予定時刻算出部の処理フローチャートである。
【図4】従来のセルスケジューラ部の概念的構成を示す機能ブロック図である。
【図5】エレメントの構成を示す説明図である。
【図6】従来の課題説明用のタイムチャートである。
【図7】第1の実施形態のセルスケジューラ部の構成例を示すブロック図である。
【図8】第1の実施形態の送出予定時刻算出部の処理フローチャートである。
【図9】第1の実施形態の効果説明用のタイムチャートである。
【図10】第2の実施形態の概略構成を示すブロック図である。
【図11】第2の実施形態のセルスケジューラ部の構成例を示すブロック図である。
【図12】第1の実施形態の送出予定時刻算出部のセル到着時の処理フローチャートである。
【図13】第1の実施形態の送出予定時刻算出部のセル送出時の処理フローチャートである。
【図14】第2の実施形態の効果説明用のタイムチャートである。
【符号の説明】
101…送出予定時刻算出部、102…セルスケジューラ部、103…時計、N(τ)…送出予定時刻単位の送出待ち合わせセル数、k…到着セルのコネクション番号、N(k)…コネクションkの送出待ち合わせセル数、RDT(k)…コネクションkの最新送出時刻。[0001]
TECHNICAL FIELD OF THE INVENTION
BACKGROUND OF THE
[0002]
[Prior art]
In recent years, in the field of information communication, with the diversification of communication needs, advancement of information exchange / transmission technology, development of device technology, etc., a high-speed broadband service integrated digital network capable of exchanging and transmitting user information at high speed and wide band. (Hereinafter, B-ISDN) is being rapidly commercialized.
[0003]
In the B-ISDN, an asynchronous transfer mode (hereinafter, referred to as ATM) is employed as an information transfer method. In this ATM communication, information is transferred and exchanged in fixed-length packets called cells. In this case, the transfer destination of the cell is identified based on the destination address information assigned to each cell. Therefore, unlike the conventional time-division circuit switching, each terminal can transmit a cell to an arbitrary position of a slot on a vacant time axis, and cell multiplexing to an arbitrary position on a transmission line in a network is also possible. It becomes possible.
[0004]
For this reason, in the ATM communication, each terminal declares a cell communication band (for example, a peak cell rate or an average cell rate) to be used in advance before starting communication, and the network manages the band based on the declaration information. One of the intra-network band management functions is a cell output band regulation function (hereinafter, referred to as a shaper). The shaper function is designed to reduce cell delay fluctuation (hereinafter abbreviated as CDV) caused by output queuing when a plurality of cells heading for the same route arrive at the same time during multiplexing and switching processing in a network. This is a function of absorbing and transmitting a cell to an output line according to a user declared value.
[0005]
Heretofore, several methods have been proposed for implementing the shaper function. As one of them, there is a spacing policer method. This method occurs in a network by calculating a scheduled transmission time that satisfies a declared value for each arriving cell, and sequentially reading and transmitting cells queued for each scheduled transmission time one cell at a time. The aim is to reduce CDV and realize cell transmission that satisfies the user declared value.
[0006]
FIG. 2 is a block diagram showing a basic configuration of a shaper device that realizes such a shaper function.
[0007]
In FIG. 2, a
[0008]
When the
[0009]
FIG. 3 is a flowchart showing processing by the conventional scheduled transmission
[0010]
The processing method shown in FIG. 3 is a method in which the time until the arrival cell is output corresponds to the time until the liquid (unit) that has flowed into the bucket having the leak hole this time flows out of the leak hole. , Which is generally called a leaky bucket, regulates the peak rate of the cell flow by determining the scheduled transmission time τ so as to satisfy the minimum transmission interval of consecutive cells in the same connection.
[0011]
The parameters and variables used in the leaky bucket method include a leaky bucket capacity C, an accumulated amount counter value S in a leaky bucket, a leak rate L, a counter increment F corresponding to one cell, a cell required delay time D, and , The previous cell arrival time LAT. These parameters are stored in the scheduled transmission
[0012]
When the
[0013]
If S ≦ Δt · L, the required delay time D and the accumulated amount counter value S are both set to 0 (
[0014]
In the case of S> CF (in the case of S + F> C), the arrival cell is discarded, and the scheduled transmission time τ given from the scheduled transmission
[0015]
FIG. 4 is a block diagram showing the configuration of a conventional cell scheduler 203 (to which 401 is added in FIG. 4) to which the scheduled transmission time τ for the current arrival cell calculated in this way is given. is there.
[0016]
The cell scheduler unit 401 includes a cell memory (CM) 402 for storing an arrival cell, and a group of
[0017]
FIG. 5 is an enlarged view of one of the elements, and includes a cell storage field (CBF) 502 for storing information for one cell, and an address pointer (APtr) 501 pointing to another element related to the same scheduled transmission time. . By using the APtr pointer, an element can be linked to another element in a daisy chain.
[0018]
The
[0019]
The
[0020]
The calendar queue 404 stores arriving cells linked at each scheduled transmission time for the clock cycle Tmax, and each linked cell group has a calendar queue header (a calendar queue pointer 408) of the calendar
[0021]
In the output list 405, a cell group whose current time CT coincides with the scheduled transmission time is moved and stored, and the output list header (hereinafter referred to as an OLH pointer) of the
[0022]
Here, the
[0023]
[Problems to be solved by the invention]
As described above, conventionally, the scheduled transmission time that satisfies the user declared value for each arrival cell is calculated based on the previous cell arrival time, and the cell scheduler unit 203 (401) calculates the arrival cell for each scheduled transmission time. When the
[0024]
However, in such a conventional configuration, in the ATM communication, a user report value, that is, a plurality of connections having different minimum cell intervals need to be restricted, so that the scheduled transmission times may be the same. In such a case, a plurality of cells are connected to a calendar queue in the unit of a scheduled transmission time in the cell scheduler unit, and as a result, a CDV is generated and the user report value may not be satisfied.
[0025]
This problem will be specifically described with reference to FIG. FIG. 6 shows an example of
[0026]
As shown in the
[0027]
However, the calculation of the scheduled transmission time for the next arriving cell of the same connection does not consider the actual cell transmission time that is behind such a schedule. The
[0028]
Therefore, there is a need for a cell output band regulating device that can further satisfy the user report value.
[0029]
[Means for Solving the Problems]
In order to solve such a problem, a first aspect of the present invention is characterized in that a cell output band regulating device for regulating a cell output band by using a rule of a cell transmission interval includes the following means.
[0030]
That is, (1) scheduled transmission time means for calculating the scheduled transmission time of the cell every time a cell arrives, based on a parameter defining the cell output band; and (2) cells of all connections in the calculated scheduled transmission time unit. Cell transmission means for transmitting the cells queued at that time one cell at a time when the scheduled cell transmission time is reached; and (3) a cell queuing process in units of transmission scheduled time. A scheduled transmission time cell number counting means for counting the number of queued cells at each scheduled transmission time and providing the counted scheduled transmission time unit cell count to the scheduled transmission time calculation means; Number of cells per time Using Used to calculate the scheduled transmission time of the arrival cell Leaky bucket accumulated amount counter value To To reflect the number of cells transmitted after the scheduled transmission time And a variable correcting means for correcting.
[0031]
In the first aspect of the present invention, even if the scheduled transmission times of cells of different connections overlap, and even if there is a connection in which cell transmission is not executed at the scheduled transmission time, the difference between the actual cell time and the scheduled transmission time is calculated. The variable used for calculating the scheduled transmission time of the arriving cell is corrected by using the number of cells in the scheduled transmission time unit so as to be reflected in the calculation of the scheduled transmission time thereafter. , And CDV.
[0032]
According to a second aspect of the present invention, there is provided a cell output band regulating apparatus for regulating a cell output band using a regulation of a cell transmission interval, comprising the following means. I do.
[0033]
That is, (1) scheduled transmission time means for calculating the scheduled transmission time of the cell every time a cell arrives, based on a parameter defining the cell output band; and (2) cells of all connections in the calculated scheduled transmission time unit. Cell transmission means for transmitting cells queued at that time one cell at a time when the scheduled cell transmission time is reached; and (3) queuing for all regulated connections. And the connection information management means for recording and holding the latest cell transmission time of the connection, and (4) detecting the connection number to which the transmission cell belongs when transmitting the cell, and Connection information updating means for updating the cell count value during queuing and the latest cell transmission time; and (5) a queue for each connection. Count in the ring and at the latest cell transmission Time Based on The latest scheduled transmission time satisfying the predetermined peak rate is compared with the scheduled transmission time of the arrival cell, and when the scheduled transmission time of the arrival cell is equal to or longer than the latest scheduled transmission time, Scheduled transmission time of arrival cell Is corrected to the latest scheduled transmission time, and the next arrival cell Used to calculate scheduled transmission time The leaky bucket accumulation amount counter value is now reflected to the delay time from the scheduled transmission time of the arriving cell. And a correction means for performing correction.
[0034]
According to the second aspect of the present invention, even if the scheduled transmission times of cells of different connections overlap and there is a connection in which cell transmission is not executed at the scheduled transmission time, the difference between the actual cell time and the scheduled transmission time is determined. Using the cell count value during queuing for each connection and the latest cell transmission time information, the expected transmission time of the arriving cell and the correction of the variables used for its calculation are reflected in the calculation of the subsequent transmission time. Is determined and the correction is performed when the correction is necessary. Therefore, the regulation of the cell transmission interval is almost satisfied, and the CDV can be suppressed.
[0035]
BEST MODE FOR CARRYING OUT THE INVENTION
(A) First embodiment
Hereinafter, a first embodiment of a cell output band regulation device according to the present invention will be described in detail with reference to the drawings.
[0036]
(A-1) Configuration of First Embodiment
FIG. 1 is a block diagram illustrating a configuration of the cell output band regulation device according to the first embodiment.
[0037]
This cell output band regulating device also includes a scheduled transmission
[0038]
The scheduled transmission
[0039]
However, not only these parameters and variables, and the current time information CT from the
[0040]
Although the
[0041]
That is, the
[0042]
The cell memory 104 is composed of a group of the above-described
[0043]
The
[0044]
The
[0045]
FIG. 7 is a block diagram conceptually showing the configuration at a more specific level of cell scheduler section 102 (701) having the configuration shown in FIG.
[0046]
7, a
[0047]
As shown in FIG. 5, the
[0048]
The
[0049]
The
[0050]
The
[0051]
The
[0052]
The
[0053]
(A-2) Operation of the first embodiment
Hereinafter, the operation of the shaper device of the first embodiment will be described in detail in the order of operations of the scheduled transmission
[0054]
Here, the
[0055]
(A-2-1) Operation of scheduled transmission
Figure 8 5 is a flowchart showing the processing of the scheduled transmission
[0056]
It should be noted that the scheduled transmission
[0057]
The scheduled transmission
[0058]
In the case of S ≦ Δt · L, it means that the fluid (cell) remaining in the leaky bucket at the time of the previous arrival has already disappeared before the arrival of the current cell, so that the current arrival cell can be immediately transmitted. Then, the required delay time D is set to 0, and the accumulated amount counter value S is also set to 0 (
[0059]
On the other hand, in the case of S> Δt · L, even if the fluid (cell) S remaining in the leaky bucket at the previous arrival leaks by the leak rate L for the arrival interval Δt, the fluid (cell) remains in the leaky bucket at the current arrival at the cell. This corresponds to the remaining cell, and the accumulated amount counter value S is updated to the remaining amount of the leaky bucket at the time of arrival of the current cell, that is, S−Δt · L (step 308).
[0060]
Thereafter, the updated counter value S is compared with the difference CF between the bucket capacity C and the counter increment F (step 309). This comparison is based on the assumption that when the amount of fluid (F) due to the current cell arrival is added to the remaining amount (S) of the leaky bucket at the time of the current cell arrival, the amount (S + F) exceeds the bucket capacity C, This corresponds to determining whether overflow occurs from the upper edge of the leaky bucket.
[0061]
In the case of S> C−F (in the case of S + F> C), when the current cell arrival is valid, overflow occurs from the upper edge of the leaky bucket. Is output to the
[0062]
On the other hand, if S ≦ CF (if S + F ≦ C), the required delay time D is calculated as an integer value int [S / L] of the quotient S / L (step 311). In this step processing, the current arrival cell is transmitted after the storage amount (S) corresponding to all cells remaining at the time of arrival of the current cell leaks out, and the leak rate is L. Therefore, the time required for transmitting all the remaining cells (S), that is, the time required for transmitting the currently arriving cell, is S / L. In this example, the time is united by 1. Therefore, the idea is that the integer part becomes a delay time until the current arrival cell is transmitted.
[0063]
Regardless of whether there is no remaining amount (S) of the leaky bucket at the time of arrival of the current cell or whether it is present to such an extent that the arriving cell is not discarded, the accumulated amount counter value S and When the required delay time D is obtained, the scheduled transmission time τ of the current arrival cell is calculated and output to the cell scheduler unit 102 (
[0064]
Finally, the number of waiting cells N (τ) (a value not counting the number of cells arriving this time) stored in the column of the scheduled transmission time τ obtained in
[0065]
Unless other connections are taken into account, the storage amount counter value S at the end of the processing is calculated by adding the increase amount F due to the current cell arrival to the storage amount counter value S at the current cell arrival (the value calculated in
[0066]
In the calculation formula S: = S + F + L · N (τ), S + F on the right side is the storage amount counter value S at the time of cell arrival this time (the value calculated by
[0067]
If there is a cell of another connection that has already arrived and has the scheduled transmission time τ calculated in
[0068]
As a result, in the next process of
[0069]
(A-2-2) Operation of
Next, the operation of the
[0070]
[Arrival cell processing of cell scheduler section 102]
When the cell whose band is to be regulated arrives, the cell that has arrived is temporarily stored in the cell storage field CBF of the unused element at the head position in the
[0071]
Here, the subsequent processing is performed unless the scheduled transmission time τ of the cell received from the scheduled transmission
[0072]
If the scheduled transmission time τ is valid, the unused element indicated by the FLH pointer in the
[0073]
At this time, if the number of remaining unused elements becomes one, the FLT pointer that defines the last element also points to the same unused element as the FLH pointer that defines the first element, so the
[0074]
Next, the element storing the arrival cell is stored in the calendar queue corresponding to the time τ in the calendar queue from the free list by the following pointer processing based on the scheduled transmission time τ from the scheduled transmission
[0075]
In the processing for the arriving cell, the
[0076]
In addition, during the process of moving the element relating to the arriving cell into the calendar queue, the number N (τ) of waiting cells at the scheduled transmission time τ is read from the
[0077]
As described above, when a cell arrives, the arriving cell is stored in the head element of the free list indicated by the FLH pointer at that time, and the element indicated by the concatenation pointer of the head element is changed to the head element of the free list. When an effective estimated arrival time τ is given, an element that has changed from an unused element related to the current arrival cell to a used element is connected to the end of the element sequence at that time τ in the calendar queue. After outputting the cell number N (τ) not including the current arrival cell at the scheduled transmission time τ to the scheduled transmission
[0078]
[Cell transmission process of cell scheduler section 102]
Next, a description will be given of cell transmission processing in the
[0079]
Upon receiving the current time information CT from the
[0080]
First, the
[0081]
Using the current time CT as an address, a CQH pointer and a CQT pointer that define the first and last elements of the concatenated element string at that time CT are read from the
[0082]
If an element (cell) already exists in the output list, the element group indicated by the CQH pointer and the CQT pointer read from the
[0083]
Next, the
[0084]
As described above, the element (cell) row in the calendar queue whose current time CT is the scheduled transmission time is linked to the latter half of the output list.
[0085]
The cell group moved to the output list is sequentially transmitted from the
[0086]
When the current time CT is updated and the above-described movement processing to the output list is completed, the
[0087]
As a result, the element pointed to by the APtr pointer of this element becomes the first element in the output list at the next time, so that the APtr pointer value is read from the
[0088]
The old head element in the output list from which the cell has been transmitted is in an unused state, and is moved to the free list again as follows.
[0089]
The FLT pointer is read from the
[0090]
As described above, every time the current time is changed, the cell stored in the head element in the output list is output, and the element is moved to the tail of the frame list.
[0091]
Next, a specific operation example of the shaper device of the first embodiment having the above-described configuration and performing the above-described operation will be described with reference to FIG.
[0092]
FIG. 9 is a time chart showing an example of an operation under a cell arrival state and a user report condition similar to FIG. 6 used in the description of the conventional problem. That is, connection A with a user declared value of C = 15, F = 7, L = 2, connection B with a user declared value of C = 15, F = 5, L = 1, user declared value of C = 15, When the cell of the connection C in which F = 4 and L = 1 arrives in a state in which the minimum cell interval is not always satisfied by receiving the CDV before the arrival of the shaper device as shown in the
[0093]
Also in the first embodiment, the leaky bucket accumulation amount counter value S shown in the
[0094]
However, in the first embodiment, the accumulated amount counter value S including the arrival cell also reflects the number of cells N (τ) at the scheduled transmission time. A higher value may occur, and the number of cells whose scheduled transmission time τ is later than that of the conventional cell increases. As is clear from the comparison of the time charts 603 and 903, the scheduled transmission times of the cells C5, A6, C6, A7, C7 and A8 are determined later than in the past. That is, the cells C4, A5, C6 and C7 determined later at the same scheduled transmission time are actually output later than the scheduled transmission time, and the cell transmission is delayed due to the existence of the cell of another connection. Since the accumulated amount counter value S is corrected using the number of waiting cells N (τ) and reflected in the determination of the next scheduled transmission time, the scheduled transmission time is set to the next arrival cell of the same connection. It can be said that the transmission time is determined based on the actual transmission time rather than the scheduled transmission time for the same connection determined last time, and the CDV can be suppressed as apparent from comparison with FIG.
[0095]
Specifically, the cell interval between the cells A5 and A6 is 2 cell times in the related art, but is 3 cell times in the first embodiment, and the cell interval between the cells C5 and C6 is The interval is 2 cell hours in the related art, but is changed to 4 cell hours in the first embodiment. That is, the definition of the minimum cell interval can be satisfied differently from the related art.
[0096]
(A-3) Effects of the first embodiment
According to the shaper device of the first embodiment described above, the following effects can be obtained.
[0097]
(1) Even when a cell transmission schedule overlaps between different connections at the same time and a cell whose output is delayed from the scheduled time occurs, for a connection whose output is to be waited for, the cell transmission scheduled time calculation processing is performed by the amount of the wait. Since the variable is corrected, it is possible to prevent the occurrence of CDV with the subsequent cell of the connection, and to satisfy the required minimum cell transmission interval.
[0098]
The guarantee of the minimum cell interval is the most important factor in the bandwidth management of the ATM network, and the above effect is significant.
[0099]
(2) The correction of the variable in the cell transmission scheduled time calculation processing is handled by adding a simple function of counting the number of waiting cells in the transmission scheduled time unit, so that the circuit scale does not increase.
[0100]
In general, even the conventional apparatus generally has a function of counting the number of waiting cells for each scheduled transmission time, and the first embodiment expands and uses the function and parameters to transmit the cells. Since only the feedback to the scheduled time calculation unit is provided, only one product-sum operation function unit in the scheduled transmission time calculation unit is added, and there is almost no increase in the circuit scale.
[0101]
As described above, in comparison with the conventional device, it is necessary to add a product-sum operation function in the scheduled transmission time calculation unit. However, this calculation unit is already included in the scheduled transmission time calculation unit, and the same calculation unit is switched. Utilization can further suppress an increase in circuit scale.
[0102]
(3) The most significant feature of the spacing policer system used in the first embodiment is that a huge number of connections can be bandwidth-controlled at the same time. Since the process is executed only at the time of cell transmission, the features of the first embodiment are not impaired at all, and the number of connections allowed by the device is not limited.
[0103]
(B) Second embodiment
Next, a second embodiment of the cell output band regulating device according to the present invention will be described in detail with reference to the drawings.
[0104]
(B-1) Configuration of Second Embodiment
FIG. 10 is a block diagram showing the configuration of the cell output band regulating device according to the second embodiment, in which the same and corresponding parts as those in FIG. 1 according to the first embodiment are denoted by the same reference numerals. .
[0105]
This cell output band regulating device also includes a scheduled transmission
[0106]
The scheduled transmission
[0107]
The point that the
[0108]
FIG. 11 is a block diagram conceptually showing, at a more specific level, the internal configuration of the cell scheduler unit 102 (701) of the second embodiment having the configuration shown in FIG. The same reference numerals are given to the same and corresponding parts.
[0109]
When the configuration of the
[0110]
(1) An addition circuit (see
[0111]
(B-2) Operation of the second embodiment
Hereinafter, the operation of the shaper device according to the second embodiment will be described in detail in the order of operations of the scheduled transmission
[0112]
(B-2-1) Operation of scheduled transmission
The processing of the scheduled transmission
[0113]
Note that the scheduled transmission
[0114]
First, the operation of the scheduled transmission
[0115]
Until the shaper apparatus is activated and starts processing, and the processing of
[0116]
The arriving cell is valid, and in
[0117]
In this series of review processing, first, the number N (k) of untransmitted cells of the connection k of the arriving cell is incremented by one so as to include the current arriving cell (step 1214), and then the peak cell rate F / L is satisfied. The latest scheduled transmission time τ0 of the arrival cell is calculated (step 1215). The latest scheduled transmission time τ0 that satisfies the peak cell rate F / L is simply the N (k) number of untransmitted cells at the peak cell rate F / L at the previous actual transmission time RDT (k). It is obtained by adding the time int [N (k) · F / L] required for transmission (integerization int is performed because the time is updated one by one). Since the cycle is one cycle, the sum is calculated as a modulo value divided by the clock cycle Tmax.
[0118]
In this manner, when the latest scheduled transmission time τ0 of the arrival cell satisfying the peak cell rate F / L is obtained, the current scheduled transmission time τ of the arrival cell obtained based on the accumulated amount counter value S at the time of arrival is calculated. Is compared with the latest scheduled transmission time τ0 in consideration of the peak cell rate (step 1216).
[0119]
If τ ≧ τ0, the scheduled transmission time τ may be considered to satisfy the peak cell rate F / L. Therefore, the accumulated amount counter value S including the arriving cell amount obtained in
[0120]
On the other hand, if τ <τ0, the scheduled transmission time τ does not satisfy the peak cell rate F / L, so the accumulated amount counter value S and the scheduled transmission time τ obtained in
[0121]
The shaper that satisfies the specified value of the minimum cell transmission interval not only for the arriving cell but also for the arriving cells after this arriving cell by checking and correcting the peak cell rate with respect to the once-determined transmission scheduled time as described above. The operation can be realized.
[0122]
Next, the operation of the scheduled transmission
[0123]
The scheduled transmission
[0124]
By utilizing the number of stored cells N (m) and the latest cell transmission time RDT (m) which are appropriately updated by such a process at the time of cell transmission at the time of cell arrival, the stored amount counter value S at the time of arrival is obtained. A review reflecting the peak cell rate can be executed on the accumulated amount counter value S and the scheduled transmission time τ updated by the arrival cell obtained based on the calculated cell count.
[0125]
(B-2-2) Operation of
Next, the operation of the
[0126]
[Arrival cell processing of cell scheduler section 102]
The operation of the
[0127]
That is, the operation of storing the arrival cell in the cell storage field of the last unused element and updating the FLH pointer defining the last unused element is the same as in the first embodiment. Also, the operation of moving the element storing the arrival cell from the free list to the waiting cell column corresponding to the time τ in the calendar queue by pointer processing based on the scheduled transmission time τ from the scheduled transmission
[0128]
However, in the case of the second embodiment, even if the element storing the arriving cell is moved from the free list to the waiting cell row corresponding to the scheduled transmission time τ in the calendar queue, the accumulated cell number N corresponding to the time τ The difference from the first embodiment is that the operation for updating (τ) is not executed.
[0129]
[Cell transmission process of cell scheduler section 102]
Next, a description will be given of cell transmission processing in the
[0130]
The operation of moving the connected element (cell) group in the calendar queue corresponding to the current time CT to the output list based on the current time information CT from the
[0131]
The cell group moved to the output list, which is executed after the movement processing, is sequentially transmitted from the
[0132]
In the second embodiment, the
[0133]
Next, a specific operation example of the shaper device according to the second embodiment having the above-described configuration and performing the above-described operation will be described with reference to FIG.
[0134]
FIG. 14 is a time chart showing an example of operation under the same cell arrival status and user declaration condition as in FIG. 6 used in the description of the conventional problem. That is, connection A with a user declared value of C = 15, F = 7, L = 2, connection B with a user declared value of C = 15, F = 5, L = 1, user declared value of C = 15, When a cell of connection C with F = 4 and L = 1 receives CDV and arrives in a state in which the minimum cell interval rule is not always satisfied before the arrival of the shaper device as shown in the
[0135]
Also in the second embodiment, the leaky bucket accumulation amount counter value S shown in the
[0136]
However, in the second embodiment, the accumulated amount counter value S including the arriving cell reflects the cell number N (k) and the latest transmission time RDT (k) in the connection. The amount counter value S may take a higher value than before, and the number of cells whose scheduled transmission time τ is later than before increases. In addition, since the scheduled transmission time τ is reviewed in consideration of the number of cells N (k) in the connection and the latest transmission time RDT (k), the number of cells whose scheduled transmission time τ is later than in the past increases. As is clear from the comparison between the time charts 603 and 1403, the scheduled transmission times of the cells C6, A7, C7 and A8 are determined later than in the past.
[0137]
That is, cells A4 and C4, B4 and A5 and C5, B5 and C6, and C7 and A8 belonging to different connections have the same scheduled transmission time calculated from the previous cell arrival time. And the cells C4, A5, C5, C6, and A8 are actually output later than the scheduled transmission time. As described above, for the delayed cell transmission, Since the correction process is performed using the number of waiting cells m in the calendar queue in connection units, the scheduled transmission time for subsequent arrival cells of the same connection is rather than the previously determined scheduled transmission time for the same connection. It can be said that it is determined based on the actual transmission time, and it is clear that the CDV can be suppressed as compared with FIG. Kill.
[0138]
Specifically, the cell interval between the cells A5 and A6 remains the same as the conventional device, ie, two cells, but the space between the subsequent cells A6 and A7 expands from four cells to five cells, and the minimum cell The effect between the cells A5 and A6 that do not satisfy the interval is mitigated by delaying the subsequent cells. Further, the space between cells C5 and C6 is expanded from 2 cells to 4 cells as compared with the conventional device, and satisfies the minimum cell interval.
[0139]
(B-3) Effects of the second embodiment
According to the shaper device of the second embodiment described above, the following effects can be obtained.
[0140]
(1) Even when a cell to be waited for overlaps at the same time between different connections and a cell to be waited for occurs, by correcting the variable of the cell transmission scheduled time calculation processing by the amount of waiting for the connection to be waited for. , The occurrence of CDV with the succeeding cell can be suppressed, and the effect that the required minimum cell transmission interval cannot be satisfied can be reduced.
[0141]
As described above, the guarantee of the minimum cell interval is the most important factor in the bandwidth management of the ATM network, and the above effect is significant.
[0142]
(2) Since the correction of the variable in the cell transmission scheduled time calculation processing is performed by adding a simple function of counting the number of waiting cells in connection units, the circuit scale does not increase.
[0143]
In addition, in order to realize the second embodiment, it is necessary to add functions such as a product-sum operation, a division operation, and a modulo operation in the scheduled transmission time calculation unit. These calculation units are already included in the scheduled transmission time calculation unit. Therefore, by switching and using the same operation unit, an increase in the circuit scale can be further suppressed.
[0144]
(3) The biggest feature of the spacing policer system used in the second embodiment is that an enormous number of connections can be bandwidth-controlled at the same time. Since the second embodiment is executed only at the time of cell transmission, the features of the second embodiment are not impaired at all, and the number of connections allowed by the apparatus is not limited.
[0145]
(C) Other embodiments
As described above, the present invention has been described in detail with reference to the two embodiments, but the present invention is not limited to the above-described embodiments.
[0146]
(1) The scheduled cell transmission
[0147]
(2) In the first embodiment, an example in which the counting process and the holding of the number N (τ) of accumulated cells for each scheduled transmission time are performed by the cell scheduler unit is described. You may.
[0148]
(3) In the second embodiment, the cell scheduler unit executes the update processing and holding of the number N (k) of stored cells for each connection and the latest transmission time RDT (k), and sends the updated data to the scheduled transmission time calculation unit each time. You may hand it over.
[0149]
(4) The cell memory for buffering the arriving cells may not be physically one memory, and each of the free list, the calendar queue, and the output list may be realized by a separate memory.
[0150]
(5) In both embodiments, the leaky bucket type method is used to calculate the scheduled transmission time for each arrival cell. However, the present invention is not limited to the leaky bucket type, but may be other methods, for example, within a certain fixed time width. Even if a method called a window type defined by the number of passing cells is applied, there is no problem in its feasibility. In short, any method may be used as long as it can correct the variables and parameters for determining the scheduled transmission time so as to reflect the information on the actual cell transmission time.
[0151]
【The invention's effect】
As described above, according to the first aspect of the present invention, in the process of queuing cells in units of scheduled transmission time, the number of queued cells is counted for each scheduled transmission time, and the counting is performed by the scheduled transmission time calculation means. Means for counting the number of cells for each scheduled transmission time, and the number of cells for each scheduled transmission time Using Used to calculate the scheduled transmission time of the arrival cell Leaky bucket accumulated amount counter value To To reflect the number of cells transmitted after the scheduled transmission time Since the variable correction means for correcting is provided, the regulation of the cell transmission interval can be satisfied and the CDV can be suppressed before and after the scheduled transmission times of the cells of different connections become the same.
[0152]
According to the second aspect of the present invention, a connection information management unit counts queuing cells for each connection for each connection, and records and holds the latest cell transmission time of the connection. Connection information updating means for detecting a connection number to which a transmission cell belongs at the time of cell transmission and updating a queued cell count value and the latest cell transmission time for the connection; and a queued count value for each connection. And when sending the latest cell Time Based on The latest scheduled transmission time satisfying the predetermined peak rate is compared with the scheduled transmission time of the arrival cell, and when the scheduled transmission time of the arrival cell is equal to or longer than the latest scheduled transmission time, Scheduled transmission time of arrival cell Is corrected to the latest scheduled transmission time, and the next arrival cell Used to calculate scheduled transmission time The leaky bucket accumulation amount counter value is now reflected to the delay time from the scheduled transmission time of the arriving cell. Since the correction means is provided for correcting, the cell transmission interval can be satisfied and the CDV can be suppressed even before and after the scheduled transmission times of cells of different connections become the same.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a first embodiment.
FIG. 2 is a block diagram showing a general configuration of a shaper device.
FIG. 3 is a processing flowchart of a conventional scheduled transmission time calculation unit.
FIG. 4 is a functional block diagram showing a conceptual configuration of a conventional cell scheduler unit.
FIG. 5 is an explanatory diagram showing a configuration of an element.
FIG. 6 is a time chart for explaining a conventional problem.
FIG. 7 is a block diagram illustrating a configuration example of a cell scheduler unit according to the first embodiment.
FIG. 8 is a processing flowchart of a scheduled transmission time calculation unit according to the first embodiment.
FIG. 9 is a time chart for explaining effects of the first embodiment.
FIG. 10 is a block diagram illustrating a schematic configuration of a second embodiment.
FIG. 11 is a block diagram illustrating a configuration example of a cell scheduler unit according to the second embodiment.
FIG. 12 is a processing flowchart at the time of arrival of a cell by a scheduled transmission time calculation unit according to the first embodiment.
FIG. 13 is a flowchart illustrating a process performed by the scheduled transmission time calculation unit according to the first embodiment when transmitting a cell.
FIG. 14 is a time chart for explaining effects of the second embodiment.
[Explanation of symbols]
101: scheduled transmission time calculation unit, 102: cell scheduler unit, 103: clock, N (τ): number of cells waiting for transmission in units of scheduled transmission time, k: connection number of arrival cell, N (k): transmission of connection k Number of waiting cells, RDT (k): latest transmission time of connection k.
Claims (2)
セル到着毎に当該セルの送出予定時刻を、セル出力帯域を規定するパラメータに基づいて算出する送出予定時刻手段と、
算出された送出予定時刻単位に全コネクションのセルをキューイングし、セル送出予定時刻に達した時点で、当該時刻にキューイングされているセルを1セルずつ送出していくセル送出手段と、
送出予定時刻単位のセルのキューイング過程において、キューイングされているセル数の計数を送出予定時刻毎に行ない、送出予定時刻算出手段へ計数した送出予定時刻単位のセル数を与える送出予定時刻セル数計数手段と、
送出予定時刻毎のセル数を用いて、到着セルの送出予定時刻の算出に用いるリーキーバケット蓄積量カウンタ値を、送信予定時刻から遅れて送出されるセル数を反映するように補正する変数補正手段と
を具備したことを特徴とするセル出力帯域規制装置。In the cell output band regulating device that regulates the output band of the cell using the regulation of the cell transmission interval,
A scheduled transmission time means for calculating a scheduled transmission time of the cell each time the cell arrives, based on a parameter defining a cell output band;
Cell sending means for queuing cells of all connections in the calculated scheduled transmission time unit, and transmitting the cells queued at the time at a time when the scheduled cell transmission time is reached;
In the queuing process of the cells in the scheduled transmission time unit, the number of queued cells is counted for each scheduled transmission time, and the scheduled transmission time cell for giving the counted number of cells in the scheduled transmission time unit to the scheduled transmission time calculation means. Number counting means,
Variable correction means for correcting the leaky bucket accumulated amount counter value used for calculating the scheduled transmission time of an arrival cell using the number of cells at each scheduled transmission time so as to reflect the number of cells transmitted later than the scheduled transmission time. A cell output band regulating device, comprising:
セル到着毎に当該セルの送出予定時刻を、セル出力帯域を規定するパラメータに基づいて算出する送出予定時刻手段と、
算出された送出予定時刻単位に全コネクションのセルをキューイングし、セル送出予定時刻に達した時点で、当該時刻にキューイングされているセルを1セルずつ送出していくセル送出手段と、
規制対象の全コネクションについて、キューイング中のセルをコネクション単位に計数すると共に、そのコネクションの最新のセル送出時刻を記録、保持するコネクション情報管理手段と、
セル送出時に、送出セルが属するコネクション番号を検出し、そのコネクションについてのキューイング中のセル計数値と最新セル送出時刻の更新処理を行なうコネクション情報更新手段と、
コネクション毎のキューイング中の計数値と最新セル送出時刻とに基づく所定ピークレートを満たす直近の送出予定時刻と、到着セルの送出予定時刻とを比較し、到着セルの送出予定時刻が直近の送出予定時刻以上である場合、到着セルの送出予定時刻を直近の送出予定時刻に補正し、次回到着セルの送出予定時刻の算出に用いるリーキーバケット蓄積量カウンタ値を、到着セルの送出予定時刻からの遅延時間を反映させるように補正する補正手段と
を具備したことを特徴とするセル出力帯域規制装置。In the cell output band regulating device that regulates the output band of the cell using the regulation of the cell transmission interval,
A scheduled transmission time means for calculating a scheduled transmission time of the cell each time the cell arrives, based on a parameter defining a cell output band;
Cell sending means for queuing cells of all connections in the calculated scheduled transmission time unit, and transmitting the cells queued at the time at a time when the scheduled cell transmission time is reached;
Connection information management means for counting the number of queued cells for each connection for each connection subject to regulation, and recording and holding the latest cell transmission time of the connection;
Connection information updating means for detecting a connection number to which a transmission cell belongs at the time of cell transmission, and updating a queued cell count value and a latest cell transmission time for the connection;
Compared with the last delivery scheduled time to meet the count value and the latest cell transmission during the time and a predetermined peak rate rather than based on the in queuing of each connection, and sending the estimated time of arrival cell, is sending the estimated time of arrival cell If it is longer than the latest scheduled transmission time, the scheduled transmission time of the arriving cell is corrected to the latest scheduled transmission time, and the leaky bucket accumulation amount counter value used for calculating the scheduled transmission time of the next arriving cell is changed to the scheduled transmission time of the arriving cell. A cell output band regulating device, comprising: a correction unit that corrects the delay so as to reflect a delay time from time .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23248095A JP3565629B2 (en) | 1995-09-11 | 1995-09-11 | Cell output band regulation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23248095A JP3565629B2 (en) | 1995-09-11 | 1995-09-11 | Cell output band regulation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0983525A JPH0983525A (en) | 1997-03-28 |
| JP3565629B2 true JP3565629B2 (en) | 2004-09-15 |
Family
ID=16939974
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP23248095A Expired - Fee Related JP3565629B2 (en) | 1995-09-11 | 1995-09-11 | Cell output band regulation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3565629B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3063726B2 (en) | 1998-03-06 | 2000-07-12 | 日本電気株式会社 | Traffic shaper |
| JP3790429B2 (en) | 2001-01-23 | 2006-06-28 | 富士通株式会社 | Packet scheduler |
| JP4465394B2 (en) | 2008-04-08 | 2010-05-19 | 富士通株式会社 | Packet relay device, packet relay method, and packet relay program |
-
1995
- 1995-09-11 JP JP23248095A patent/JP3565629B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0983525A (en) | 1997-03-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0944208B1 (en) | Time based scheduler architecture and method for ATM networks | |
| US5859835A (en) | Traffic scheduling system and method for packet-switched networks | |
| US6175570B1 (en) | Method and an apparatus for shaping the output traffic in a fixed length cell switching network node | |
| US5818815A (en) | Method and an apparatus for shaping the output traffic in a fixed length cell switching network node | |
| EP0924954B1 (en) | ATM cell transmissions | |
| US6414963B1 (en) | Apparatus and method for proving multiple and simultaneous quality of service connects in a tunnel mode | |
| US6205151B1 (en) | ATM cell scheduler which uses a heap memory and associates timestamps with each channel | |
| US6483839B1 (en) | Apparatus and method for scheduling multiple and simultaneous traffic in guaranteed frame rate in ATM communication system | |
| US6947996B2 (en) | Method and system for traffic control | |
| JP3859864B2 (en) | Queue management system | |
| EP0702473A1 (en) | A method and an apparatus for shaping the output traffic in a fixed length cell switching network node | |
| US6262989B1 (en) | Apparatus and method for providing different quality of service connections in a tunnel mode | |
| JPH0879264A (en) | Bandwidth regulation device and packet communication device | |
| JP3765914B2 (en) | Short cell multiplexer | |
| EP0838924A1 (en) | Method to determine a scheduled rate value to be used in a policing algorithm, and related policing device | |
| US20050010676A1 (en) | Time-based transmission queue for traffic management of asynchronous transfer mode virtual circuits on a multi-threaded, multi-processor system | |
| JP3565629B2 (en) | Cell output band regulation device | |
| AU756724B2 (en) | Queue management in packet switched networks | |
| JP3157113B2 (en) | Traffic shaper device | |
| EP1684475B1 (en) | Weighted Fair Queuing (WFQ) method and system for jitter control | |
| JP2002368785A (en) | Scheduling device and cell communication device | |
| US5905710A (en) | Method for controlling a re-emission interval in an asynchronous transfer mode interval controller | |
| JP2899609B2 (en) | Cell sending device | |
| KR0151911B1 (en) | Cell spacing control device and method for output band control in ATM network | |
| Mukherjee et al. | A preemptive protocol for voice-data integration in ring-based LAN: performance analysis and comparison |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040120 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040330 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040514 |
|
| 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: 20040608 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040608 |
|
| 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: 20090618 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090618 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100618 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100618 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110618 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110618 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120618 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130618 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |