JP3709461B2 - Packet communication network quality simulation apparatus and method, program, and recording medium - Google Patents
Packet communication network quality simulation apparatus and method, program, and recording medium Download PDFInfo
- Publication number
- JP3709461B2 JP3709461B2 JP2001192901A JP2001192901A JP3709461B2 JP 3709461 B2 JP3709461 B2 JP 3709461B2 JP 2001192901 A JP2001192901 A JP 2001192901A JP 2001192901 A JP2001192901 A JP 2001192901A JP 3709461 B2 JP3709461 B2 JP 3709461B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- communication network
- distribution function
- unit
- packets
- 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)
Description
【0001】
【発明の属する技術分野】
本発明は、パケット通信網を実際に使うことなく、パケット通信網の品質劣化を模擬する技術に係わり、特に、パケット通信網におけるパケット遅延やパケット損失ならびに帯域等のパケット通信網の品質劣化の模擬を高精度および効率的に行うのに好適なパケット通信網の品質模擬装置と方法およびプログラムと記録媒体に関するものである。
【0002】
【従来の技術】
従来のパケット通信網における品質劣化を模擬する技術を、図9〜図11を用いて説明する。
【0003】
図9は、従来のパケット通信網における品質劣化のうちのパケット遅延を模擬する装置の構成例を示すブロック図であり、図10は、従来のパケット通信網における品質劣化のうちのパケット損失を模擬する装置の構成例を示すブロック図、図11は、従来のパケット通信網における品質劣化のうちの帯域を模擬する装置の構成例を示すブロック図である。
【0004】
図9に示す網品質模擬装置900においては、動作前に、遅延時間を規定する遅延分布関数910を遅延時間計算部908に設定しておく。そして、パケットの受信を契機として、受信部901において、受信したパケットをメモリ903に保存し、遅延時間計算部908において、遅延分布関数910に基づき、遅延時間を計算する。
【0005】
ここで、遅延分布関数910に従う遅延時間xは、この遅延分布関数910を「F(x)」(ただし、x≧0、0≦F(x)≦1)とすれば、広くプログラミング言語に実装されている「0≦y<1」の一様乱数により「y」を見出し、これをF(x)の逆関数「x=F−1(y)」に代入して、遅延時間xを計算することにより得ることができる。
【0006】
このように、遅延時間計算部908で計算した遅延時間を、遅延設定部912により、タイマ911に設定し、さらに、遅延設定部912は、このタイマ911からの遅延時間分の時間経過の通知を待つ。
【0007】
タイマ911から、その遅延時間分の時間経過の通知を受けると、遅延設定部912は送出部902に通知し、この通知を受けた送出部902は、メモリ903からパケットを取り出して送出する。そして、網品質模擬装置900は、次のパケット受信を待つ。
【0008】
次の受信パケットに対する処理を含め、この従来技術では、パケットの遅延時間の系列は、同一の遅延分布関数910から独立に生成される。
【0009】
図10に示す網品質模擬装置1000においては、動作前に、パケットの損失確率を規定する損失率1010を損失有無計算部1008に設定しておく。そして、パケットの受信を契機として、受信部1001において、受信したパケットをメモリ1003に保存し、損失有無計算部1008において、損失率1010に基づき、そのパケットの損失の有無を計算する。
【0010】
ここで、損失率1008に従う損失有無の決定計算は、この損失率をxとすれば、広くプログラミング言語に実装されている「0≦y<1」の一様乱数により「y」を見出し、「y<x」ならば損失有り、「y≧x」ならば損失無しとして行うことができる。
【0011】
このように、損失有無計算部1008で計算した損失有無決定に基づき、損失設定部1012では、メモリ1003に格納したパケットに対する送出部1002の処理動作を制御する。すなわち、損失有無計算部1008での計算結果が損失有りであれば、損失設定部1012は、メモリ1003からパケットを廃棄し、また、損失無しであれば、送出部1002により、メモリ1003からパケットを取り出し送出させる。そして、網品質模擬装置1000は、次のパケット受信を待つ。
【0012】
この従来技術においても、次の受信パケットに対する処理を含め、各パケットの損失有無の情報は、同一の損失率1010から独立に生成される。
【0013】
図11に示す網品質模擬装置1100においては、動作前に、単位時間あたりの送出パケット量の最大値を規定する帯域値1110をパケット間隔計算部1108に設定しておく。また、パケット間隔設定部1108で利用するタイマ1111の値を「0」に、さらに、前パケット長1113における直前に処理したパケットの長さを「0」に設定しておく。尚、タイマ1111の値は時間経過に伴い自動的に経過時間分だけ増加する。
【0014】
そして、パケットの受信を契機として、受信部1101により、受信したパケットをメモリ1103に保存し、また、パケット間隔計算部1108により、帯域値1110の値(「B」)と、前パケット長1113の値(「M」)に基づき、そのパケットの前パケットとの間隔tを「t=M/B」により計算する。尚、この受信部1101で受信しメモリ1103に保存したパケットのパケット長を前パケット長1113として設定する。
【0015】
パケット間隔設定部1112では、このように、パケット間隔計算部1108で計算したパケット間隔tとタイマ1111の値Tを比較し、「T≧t」になるのを待って、メモリ1003に格納したパケットに対する送出部1002の処理動作を制御する。すなわち、「T≧t」になれば、タイマ1111の値(T)を「0」に設定すると共に、送出部1102により、メモリ1103からパケットを取り出させ送出させる。そして、網品質模擬装置1100は、次のパケット受信を待つ。
【0016】
次の受信パケットに対する処理を含め、この従来技術では、パケットの帯域値の系列は、同一の帯域値1110から独立に生成される。
【0017】
以上のようにして、パケット通信網の品質劣化を模擬することで、パケット通信網を実際に使うことなく、事前にユーザの利用品質を把握することができる。そして、この技術を用いて、例えば、アプリケーション開発者やサービス提供者が、想定されるパケット通信網の品質劣化を模擬することにより、ユーザがそのアプリケーションを使ってパケット通信網を利用する際の品質を事前に把握することができ、アプリケーションの仕様変更やサーバ配置等のサービス提供形態を検討することができる。
【0018】
近年のアプリケーションは、パケット通信網における定常的な品質劣化に対してパケット送出レートを調整することで、品質劣化を回避するような動作を実装しているが、品質劣化が時間的に急激に変動する場合に適応できるかどうかが問題となっている。すなわち、このようなアプリケーションに対しては、パケット通信網における定常的な品質劣化だけでなく、急激に変動する品質劣化も模擬できることが要求される。
【0019】
しかし、上述の従来技術は、品質劣化を規定する遅延分布関数や損失率、あるいは帯域値は一度設定すると変更せず、同じ品質劣化を模擬するものであった。これは、パケット通信網を長時間模擬する目的に対して、模擬装置のメモリの制約から、例えば、パケットの遅延時間の系列として任意の系列を保持しておくことが困難なため、同一の遅延分布関数から独立に生成することによる。また、損失や帯域も、任意の系列を保持することはせず、単一のパラメータから系列を生成している。その結果、従来の技術では、急激に変動する品質劣化は模擬できない。
【0020】
【発明が解決しようとする課題】
解決しようとする問題点は、従来の技術では、模擬できるのは、パケット通信網の定常的な品質劣化だけであり、急激に変動する品質劣化は模擬できない点である。
【0021】
本発明の目的は、これら従来技術の課題を解決し、パケット遅延やパケット損失ならびに帯域等のパケット通信網における品質劣化の模擬を高精度および効率的に行うことを可能とするパケット通信網の品質模擬装置と方法およびプログラムと記録媒体を提供することである。
【0022】
【課題を解決するための手段】
上記目的を達成するため、本発明のパケット通信網の品質模擬装置と方法では、パケット通信網の品質劣化を規定する遅延分布関数や損失率あるいは帯域値を複数持たせ、遅延分布関数や損失率あるいは帯域値を時間的に変化させる。例えば、同じ状態の継続するパケット数を確率的に変化させ、このパケット数の変化に合わせて、複数の遅延分布関数や損失率あるいは帯域値から1つを選択して用いる。このことにより、異なる複数の品質劣化の状態を変化させ、品質劣化の変動を模擬することができる。つまり、遅延時間においては、従来のように同一の遅延分布関数から独立に生成するのとは異なり、確率的に生成したパケット数の値によって、遅延平均や分散の小さい状態から大きい状態に急激に変化することが模擬でき、また、パケット損失においては、従来のように一定のパケット損失確率で劣化を模擬するのではなく、パケット損失確率の少ない状態から大きい状態に急激に変化することが模擬できる。
【0023】
【発明の実施の形態】
以下、本発明の実施の形態を、図面により詳細に説明する。
図1は本発明に係わる網品質模擬装置の第1の構成例を示すブロック図、図2は本発明に係わる網品質模擬装置の第2の構成例を示すブロック図、図3は本発明に係わる網品質模擬装置の第3の構成例を示すブロック図、図4は図1から図3のそれぞれにおける網品質模擬装置の利用例を示す説明図であり、図5は図1から図3のそれぞれにおける網品質模擬装置のハードウェア構成例を示すブロック図である。
【0024】
図5において、510はCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等からなる表示装置、520はキーボードやマウス等からなる入力装置、530はHDD(Hard Disk Drive)等からなる外部記憶装置、540はCPU(Central Processing Unit)540aや主メモリ540bおよび入出力インタフェース540c等を具備してコンピュータ処理を行なう情報処理装置、550は本発明に係わるプログラムやデータを記録したCD−ROM(Compact Disc-Read Only Memory)もしくはDVD(Digital Video Disc/Digital Versatile Disc)等からなる光ディスク、560は光ディスク550に記録されたプログラムおよびデータを読み出すための駆動装置、570はLAN(Local Area Network)カードやモデム等からなる通信装置である。
【0025】
光ディスク550に格納されたプログラムおよびデータを情報処理装置540により駆動装置560を介して外部記憶装置530内にインストールした後、外部記憶装置530から主メモリ540bに読み込みCPU540aで処理することにより、情報処理装置540内に図1〜図3のそれぞれに示す網品質模擬装置100,200,300の各機能が構成される。
【0026】
これらの図1〜図3のそれぞれに示す網品質模擬装置100,200,300は、例えば、図4に示すようにして利用される。すなわち、実際には、図4(a)に示すように、ユーザ端末410から入力されたパケットを、そのヘッダ情報に基づきルーティング処理してユーザ端末430に向けて出力するパケット通信網420の品質劣化を、図4(b)で示すようにして、各網品質模擬装置100,200,300で模擬することで、事前にユーザの利用品質を把握するという利用形態が考えられる。
【0027】
このように、網品質模擬装置100,200,300を用いて、アプリケーション開発者やサービス提供者が、想定されるパケット通信網の品質劣化を模擬することにより、ユーザがそのアプリケーションを使って通信網を利用する際の品質を事前に把握でき、アプリケーションの仕様変更やサーバ配置等のサービス提供形態を検討することができる。
【0028】
図1に示す網品質模擬装置100には、受信部101と、送出部102、メモリ103が設けられ、受信部101により、例えば、図4に示すユーザ端末410から送られてきたパケットを受信し、この受信部101で受信したパケットをメモリ103に蓄積し、そして、送出部102により、メモリ103からパケットを取り出して、例えば、図4におけるユーザ端末430に送信する。
【0029】
そして、本例の網品質模擬装置100は、この送出部102によるパケットの送信を意図的に遅延させて、ユーザ端末410とユーザ端末430間を接続するパケット通信網の品質劣化のうちの遅延を模擬するために、カウンタ104と、パケット数カウント部105、継続パケット数計算部106、継続パケット数分布関数記憶部(図中「継続パケット数分布関数」と記載)107、遅延時間計算部108、遅延分布関数選択部109、遅延分布関数記憶部(図中「遅延分布関数1,2,・・・」と記載)110、タイマ111、遅延設定部112を具備している。
【0030】
ここで、遅延時間計算部108とタイマ111および遅延設定部112は、図9で説明した従来の模擬装置における遅延時間計算部908とタイマ911および遅延設定部912のそれぞれと同じ機能を有するものであるが、本例の網品質模擬装置100では、遅延分布関数記憶部110において、遅延分布関数を複数(遅延分布関数1,2,・・・)具備しており、これらの遅延分布関数(遅延分布関数1,2,・・・)から、遅延時間計算部108での遅延時間の計算に用いるものを、時間の経過に応じて確率的に変更して選択する。
【0031】
例えば、遅延平均や分散の小さい遅延分布関数と遅延平均や分散の大きい遅延分布関数とを切り替えて、遅延時間計算部108による送信遅延時間の計算を行う。このことにより、パケット通信網における、遅延平均や分散の小さい状態から大きい状態に急激に変化する際の模擬を行うことができる。
【0032】
本例の網品質模擬装置100では、遅延時間計算部108での遅延時間の計算に用いる遅延分布関数(遅延分布関数1,2,・・・)を選択する機能として、遅延分布関数選択部109を設けており、この遅延分布関数選択部109では、遅延分布関数記憶部110からの遅延分布関数の選択を、乱数を用いて無作為(ランダム)に、あるいは、予め設定登録された順序で行うこともできる。
【0033】
また、本例の網品質模擬装置100では、この遅延分布関数選択部109による遅延分布関数の選択を行うタイミングを、受信したパケット数に基づき、かつランダムに変化させるために、カウンタ104、パケット数カウント部105、継続パケット数計算部106、継続パケット数分布関数記憶部107を用いている。
【0034】
すなわち、継続パケット数計算部106により、継続パケット数分布関数記憶部107に予め用意された分布関数(継続パケット数分布関数)に従ってパケット数の閾値を計算し、計算したパケット数閾値を、パケット数カウント部105により、カウンタ104にセットする。
【0035】
そして、このパケット数カウント部105においては、受信部101で受信したパケットの数をカウントして、このカウント数がカウンタ104にセットしたパケット数閾値以上になる度に、遅延分布関数選択部109による選択動作を起動させる。
【0036】
尚、この遅延分布関数選択部109の選択動作の再起動と共に、パケット数カウント部105は、継続パケット数計算部106による、分布関数(継続パケット数分布関数)に従ってのパケット数閾値の計算動作も再起動させる。これにより、前回とは異なったパケット数閾値がカウンタ104にセットされ、その結果、遅延分布関数選択部109の選択動作の開始時間(タイミング)が変化することになる。
【0037】
また、このパケット数カウント部105における動作として、例えば、受信部101でパケットを受信する毎に、カウンタ104にセットしたパケット数閾値を1減算し、カウンタ104にセットしたパケット数閾値が「0」になった時点で、遅延分布関数選択部109による選択動作および継続パケット数計算部106によるパケット数閾値の計算動作を再起動させることでも良い。
【0038】
このような、本例の網品質模擬装置100の動作を、図6を用いて説明する。
【0039】
図6は、図1における網品質模擬装置の本発明に係わる処理動作例を示すフローチャートである。
【0040】
予め、パケットの遅延時間を規定する複数の異なる遅延分布関数を遅延分布関数記憶部110において記憶しておくと共に(ステップ601)、それらの遅延分布関数のうちの1つに連続して従うパケット数の分布関数(継続パケット数分布関数)を継続パケット数分布関数記憶部107において予め記憶しておく(ステップ602)。
【0041】
そして、遅延分布関数選択部109において、最初に使う遅延分布関数を遅延分布関数記憶部110から選択し、遅延時間計算部108に設定しておく(ステップ603)。
【0042】
また、継続パケット数計算部106において、最初の分布関数に継続して従うパケット数(閾値)を、継続パケット数分布関数記憶部107に記憶された継続パケット数分布関数に従って計算し(ステップ604)、計算したパケット数をカウンタ値(閾値)として、パケット数カウント部105により、カウンタ104に設定する(ステップ605)。
【0043】
そして、パケットの受信を契機として(ステップ606)、受信部101において、パケットをメモリ103に保存し(ステップ607)、パケット数カウント部105において、カウンタ104におけるパケット数を1減算し(ステップ608)、遅延時間計算部108において、先に設定された遅延分布関数に基づき、遅延時間を計算する(ステップ609)。
【0044】
ここで、遅延分布関数に従う遅延時間xは、この遅延分布関数をF(x)(ただし、x≧0,0≦F(x)≦1)とすれば、広くプログラミング言語に実装されている「0≦y<1」の一様乱数により「y」を見出し、これを遅延分布関数F(x)の逆関数「x=F−1(y)」に代入して、遅延時間xを計算することにより得ることができる。
【0045】
このようにして、遅延時間計算部108で計算した遅延時間を、遅延設定部112により、タイマ111に設定し(ステップ610)、このタイマ111において、遅延時間分の時間経過を計る(ステップ611)。
【0046】
タイマ111において、設定した遅延時間分の時間が経過すると(ステップ612)、遅延時間設定部112は送出部102に通知し(ステップ613)、通知を受けた送出部102は、メモリ103からパケットを取り出して送出する(ステップ614)。
【0047】
さらに処理が継続であれば(ステップ615)、ステップ608で1減算されたカウンタ104の値を評価し(ステップ616)、そのカウンタ104の値が「0」でなければ、ステップ606の処理に戻り、次のパケットの受信を待ち、また、カウンタ104の値が「0」であれば、ステップ603の処理に戻り、このステップ603における遅延分布関数選択部109による次の遅延分布関数の選択および設定と、ステップ604,605における継続パケット数計算部106による次の継続パケット数の算出および設定とを行い、ステップ606で次のパケットの受信を待つ。
【0048】
このように、本例の網品質模擬方法では、パケット通信網の品質劣化のパラメータである遅延分布関数(平均や分散)を、継続パケット数分布関数に基づき確率的に生成したパケット数によって、時間的に変化させるので、パケット通信網を、異なる複数の品質劣化の状態に変化させることができ、従来技術のように品質劣化を規定する遅延分布関数を一度設定すると変更しない従来技術とは異なり、例えば、遅延平均や分散の小さい状態から大きい状態に急激に変化する品質劣化を模擬できる。
【0049】
次に、図2に示す網品質模擬装置200について説明する。
【0050】
図2に示す網品質模擬装置200には、図1に示す網品質模擬装置100と同様に、受信部201と、送出部202、メモリ203が設けられ、受信部201により、例えば、図4に示すユーザ端末410から送られてきたパケットを受信し、この受信部201で受信したパケットをメモリ203に蓄積し、そして、送出部202により、メモリ203からパケットを取り出して、例えば、図4におけるユーザ端末430に送信する。
【0051】
そして、本例の網品質模擬装置200は、この送出部202の送信対象のパケットの破棄を意図的に行い、ユーザ端末410とユーザ端末430間を接続するパケット通信網の品質劣化のうちの損失を模擬するために、カウンタ204と、パケット数カウント部205、継続パケット数計算部206、継続パケット数分布関数記憶部(図中「継続パケット数分布関数」と記載)207、損失有無計算部208、損失率選択部209、損失率記憶部(図中「損失率1,2,・・・」と記載)210、損失設定部212を具備している。
【0052】
ここで、損失有無計算部208と損失設定部212は、図10で説明した従来の模擬装置における損失有無計算部1008と損失設定部1012のそれぞれと同じ機能を有するものであるが、本例の網品質模擬装置200では、損失率記憶部210において、損失率を複数(損失率1,2,・・・)具備しており、これらの損失率(損失率1,2,・・・)から、損失有無計算部208でのパケット破棄・パケット送信の決定に用いるものを、時間の経過に応じて確率的に変更して選択する。
【0053】
例えば、パケット損失確率の小さい損失率とパケット損失確率の大きい損失率とを切り替えて、損失有無計算部208によるパケット破棄・パケット送信の決定を行う。このことにより、パケット通信網における、パケット損失率の少ない状態から大きい状態に急激に変化する際の模擬を行うことができる。
【0054】
本例の網品質模擬装置200では、損失率有無計算部208でのパケット破棄・パケット送信の決定処理に用いる損失率(損失率1,2,・・・)を選択する機能として、損失率選択部209を設けており、この損失率選択部209では、損失率記憶部210からの損失率の選択を、乱数を用いて無作為(ランダム)に、あるいは、予め設定登録された順序で行うことができる。
【0055】
また、本例の網品質模擬装置200では、この損失率選択部209による損失率の選択を行うタイミングを、受信したパケット数に基づき、かつランダムに変化させるために、カウンタ204、パケット数カウント部205、継続パケット数計算部206、継続パケット数分布関数記憶部207を用いている。
【0056】
すなわち、継続パケット数計算部206により、継続パケット数分布関数記憶部207に予め用意された分布関数(継続パケット数分布関数)に従ってパケット数閾値を計算し、計算したパケット数閾値を、パケット数カウント部205により、カウンタ204にセットする。
【0057】
そして、このパケット数カウント部205において、受信部201で受信したパケットの数をカウントし、このカウント数がカウンタ204にセットしたパケット数閾値以上になる度に、損失率選択部209による選択動作を起動させる。
【0058】
尚、この損失率選択部209の選択動作の再起動と共に、パケット数カウント部205は、継続パケット数計算部206による、分布関数(継続パケット数分布関数)に従ってのパケット数閾値の計算動作も再起動させる。これにより、前回とは異なったパケット数閾値がカウンタ204にセットされ、その結果、損失率選択部209の選択動作のタイミングが時間的に変化することになる。
【0059】
また、このパケット数カウント部205における動作として、例えば、受信部201でパケットを受信する毎に、カウンタ204にセットしたパケット数閾値を1減算し、カウンタ204にセットしたパケット数閾値が「0」になった時点で、損失率選択部209による選択動作および継続パケット数計算部206によるパケット数閾値の計算動作を起動させることでも良い。
【0060】
このような、本例の網品質模擬装置200の動作を、図7を用いて説明する。
【0061】
図7は、図2における網品質模擬装置の本発明に係わる処理動作例を示すフローチャートである。
【0062】
予め、パケットの損失を規定する複数の異なる損失率を損失率記憶部210において記憶しておくと共に(ステップ701)、それらの損失率のうちの1つに連続して従うパケット数の分布関数(継続パケット数分布関数)を継続パケット数分布関数記憶部207において予め記憶しておく(ステップ702)。
【0063】
そして、損失率選択部209において、最初に使う損失率を損失率記憶部210から選択し、損失有無計算部208に設定しておく(ステップ703)。
【0064】
また、継続パケット数計算部206において、最初の分布関数に継続して従うパケット数(閾値)を、継続パケット数分布関数記憶部207に記憶された継続パケット数分布関数に従って計算し(ステップ704)、計算したパケット数をカウンタ値(閾値)として、パケット数カウント部205により、カウンタ204に設定する(ステップ705)。
【0065】
そして、パケットの受信を契機として(ステップ706)、受信部201において、パケットをメモリ203に保存し(ステップ707)、パケット数カウント部205において、カウンタ204におけるパケット数を1減算し(ステップ708)、損失有無計算部208において、先に設定された損失率に基づき、パケット損失有無(パケット破棄するかパケット送信するか)を判定する(ステップ709)。
【0066】
ここで、損失率に従う損失有無の判定は、この損失率をxとすれば、広くプログラミング言語に実装されている「0≦y<1」の一様乱数により「y」を見出し、「y<x」であれば損失有り、「y≧x」であれば損失無しとすることにより行う。
【0067】
この損失有無計算部208での計算結果が損失有であれば(ステップ710)、損失設定部212により、メモリ203からパケットを破棄し(ステップ711)、また、損失有無計算部208での計算結果が損失無しであれば、送出部202により、メモリ203からパケットを取り出して送出する(ステップ712)。
【0068】
さらに処理が継続であれば(ステップ713)、ステップ708で1減算されたカウンタ204の値を評価し(ステップ714)、そのカウンタ204の値が「0」でなければ、ステップ706の処理に戻り、次のパケットの受信を待ち、また、カウンタ204の値が「0」であれば、ステップ703の処理に戻り、このステップ703における損失率選択部209による次の損失率の選択および設定と、ステップ704,705における継続パケット数計算部206による次の継続パケット数の算出および設定とを行い、ステップ706で次のパケットの受信を待つ。
【0069】
このように、本例の網品質模擬方法では、パケット通信網の品質の劣化のパラメータである損失率を、継続パケット数分布関数に基づき確率的に生成したパケット数によって、時間的に変化させるので、パケット通信網を、異なる複数の品質劣化の状態に変化させることができ、従来技術のように品質劣化を規定する損失率を一度設定すると変更しない従来技術とは異なり、例えば、パケット損失確率の小さい状態から大きい状態に急激に変化する品質劣化を模擬できる。
【0070】
次に、図3に示す網品質模擬装置300について説明する。
【0071】
図3に示す網品質模擬装置300には、図1,2に示す網品質模擬装置100,200と同様に、受信部301と、送出部302、メモリ303が設けられ、受信部301により、例えば、図4に示すユーザ端末410から送られてきたパケットを受信し、この受信部301で受信したパケットをメモリ303に蓄積し、そして、送出部302により、メモリ303からパケットを取り出して、例えば、図4におけるユーザ端末430に送信する。
【0072】
そして、本例の網品質模擬装置300は、この送出部302からのパケット送信間隔を意図的に変更し、ユーザ端末410とユーザ端末430間を接続するパケット通信網の品質劣化のうちの帯域を模擬するために、カウンタ304と、パケット数カウント部305、継続パケット数計算部306、継続パケット数分布関数記憶部(図中「継続パケット数分布関数」と記載)307、パケット間隔計算部308、帯域値選択部309、帯域値記憶部(図中「帯域値1,2,・・・」と記載)310、タイマ311、パケット間隔設定部312、および、前パケット長記憶部(図中、「前パケット値」と記載)313を具備している。
【0073】
ここで、パケット間隔計算部308とタイマ311、パケット間隔定部212および前パケット長記憶部313は、図11で説明した従来の模擬装置におけるパケット間隔計算部1108とタイマ1111、パケット間隔定部1112および前パケット長記憶部1113のそれぞれと同じ機能を有するものであるが、本例の網品質模擬装置300では、帯域値記憶部310において、単位時間当たりの送出パケット量の最大値を規定する帯域値を複数(帯域値1,2,・・・)具備しており、これらの帯域値(帯域値1,2,・・・)から、パケット間隔計算部308でのパケット送出間隔の計算に用いるものを、時間の経過に応じて確率的に変更して選択する。
【0074】
すなわち、本例の網品質模擬装置300では、パケット間隔計算部308でのパケット送信間隔の計算に用いる帯域値(帯域値1,2,・・・)を選択する機能として、帯域値選択部309を設けており、この損失率選択部309では、帯域値記憶部310からの帯域値の選択を、乱数を用いて無作為(ランダム)に、あるいは、予め設定登録された順序で行う。
【0075】
また、本例の網品質模擬装置300では、この帯域値選択部309による帯域値の選択を行うタイミングを、受信したパケット数に基づき、かつランダムに変化させるために、制御するために、カウンタ304、パケット数カウント部305、継続パケット数計算部306、継続パケット数分布関数記憶部307を用いている。
【0076】
すなわち、継続パケット数計算部306により、継続パケット数分布関数記憶部307に予め用意された分布関数(継続パケット数分布関数)に従ってパケット数閾値を計算し、計算したパケット数閾値を、パケット数カウント部305により、カウンタ304にセットする。
【0077】
そして、このパケット数カウント部305において、受信部301で受信したパケットの数をカウントして、このカウント数がカウンタ304にセットしたパケット数閾値以上になる度に、帯域値選択部309による選択動作を再起動させる。
【0078】
尚、この帯域値選択部309の選択動作の再起動と共に、パケット数カウント部305は、継続パケット数計算部306による、分布関数(継続パケット数分布関数)に従ってのパケット数閾値の計算動作も再起動させる。これにより、前回とは異なったパケット数閾値がカウンタ304にセットされ、その結果、帯域値選択部309の選択動作のタイミングが時間的に変化することになる。
【0079】
また、このパケット数カウント部305における動作として、例えば、受信部301でパケットを受信する毎に、カウンタ304にセットしたパケット数閾値を1減算し、カウンタ304にセットしたパケット数閾値が「0」になった時点で、帯域値選択部309による選択動作および継続パケット数計算部306によるパケット数閾値の計算動作を再起動させることでも良い。
【0080】
このような、本例の網品質模擬装置300の動作を、図8を用いて説明する。
【0081】
図8は、図3における網品質模擬装置の本発明に係わる処理動作例を示すフローチャートである。
【0082】
予め、単位時間当たりの送出パケット量の最大値を規定する複数の異なる帯域値を帯域値記憶部310において記憶しておくと共に(ステップ801)、それらの帯域値のうちの1つに連続して従うパケット数の分布関数(継続パケット数分布関数)を継続パケット数分布関数記憶部307において予め記憶しておく(ステップ802)。
【0083】
そして、帯域値選択部309において、最初に使う帯域値を帯域値記憶部310から選択し、パケット間隔計算部308に設定しておく(ステップ803)。また、このパケット間隔計算部308で用いる前パケット長記憶部313における前パケット長と、パケット間隔設定部312で利用するタイマ311の値のそれぞれを「0」に設定しておく(ステップ804)。尚、このタイマ311の値は、時間経過に伴い自動的に経過時間分だけ増加する。
【0084】
さらに、継続パケット数計算部306において、最初の分布関数に継続して従うパケット数(閾値)を、継続パケット数分布関数記憶部307に記憶された継続パケット数分布関数に従って計算し(ステップ805)、計算したパケット数をカウンタ値(閾値)として、パケット数カウント部305により、カウンタ304に設定する(ステップ806)。
【0085】
そして、パケットの受信を契機として(ステップ807)、受信部301において、パケットをメモリ303に保存し(ステップ808)、パケット数カウント部305において、カウンタ304におけるパケット数を1減算し(ステップ809)、パケット間隔計算部308において、先に設定された帯域値(「B」)と前パケット長(「M」)に基づき、そのパケットの前パケットとの間隔(パケット間隔t)を、「t=M/B」により計算する(ステップ810)。尚、メモリ303に保存したパケットのパケット長を、後述するように、先のステップ804を継続して繰り返す際に、処理前パケット長として、前パケット長記憶部313に、初期値の「0」に替えて設定する。
【0086】
そして、パケット間隔設定部312において、このようにしてパケット間隔計算部308で計算したパケット間隔(t)と、タイマ311の値(T)とを比較し、「T≧t」になるのを待ち(ステップ811)、「T≧t」になれば、タイマ311の値を「0」に設定し(ステップ812)、送出部302に通知する(ステップ813)。
【0087】
このパケット間隔設定部312からの通知を受けた送出部302は、メモリ303からパケットを取り出して送出する(ステップ814)。
【0088】
さらに処理が継続であれば(ステップ815)、ステップ809で1減算されたカウンタ304の値を評価し(ステップ816)、そのカウンタ304の値が「0」でなければ、ステップ807の処理に戻り、次のパケットの受信を待ち、また、カウンタ304の値が「0」であれば、ステップ803の処理に戻り、このステップ803における帯域値選択部309による次の帯域値の選択・設定と、次のステップ804における前パケット長記憶部313への設定(ここでは、メモリ303に保存したパケットのパケット長を設定する)およびタイマ311の「0」再設定、ならびに、ステップ805,806における設定継続パケット数計算部306による次の継続パケット数の算出および設定とを行い、ステップ807で次のパケットの受信を待つ。
【0089】
このように、本例の網品質模擬方法では、パケット通信網の品質の劣化のパラメータである帯域値を、継続パケット数分布関数に基づき確率的に生成したパケット数によって、時間的に変化させるので、パケット通信網を、異なる複数の品質劣化の状態に変化させての模擬を行うことができる。
【0090】
以上、図1〜図8を用いて説明したように、本例の網品質模擬装置(パケット通信網の品質模擬装置)と方法では、パケット通信網の品質劣化の変動を模擬できるように、品質劣化を規定する遅延分布関数や損失率、帯域値のそれぞれを複数もたせ、1つを選択して模擬に用いる。そして、選択したパラメータでの模擬の継続期間を、パケットの受信数に基づき制限する。さらに、この制限に用いるパケット受信数も、分布関数に基づき確率的に変化させる。
【0091】
すなわち、パケット通信網におけるパケットの品質劣化のうちの遅延を模擬する際には、パケットの遅延時間を規定する複数の異なる分布関数と、それらの遅延分布関数のうちの1つに連続して従うパケット数を規定する分布関数(継続パケット数分布関数)とを持ち、通過するパケットに対して、継続パケット数分布関数に従うパケット数毎に、採用する遅延分布関数を変えながら、採用された遅延時間分布に従う遅延時間をそのパケットに付加する。
【0092】
また、パケット通信網におけるパケットの品質劣化のうちの損失を模擬する際には、パケットの損失を規定する複数の異なる損失率と、それらの損失率のうちの1つに連続して従うパケット数を規定する分布関数(継続パケット数分布関数)とを持ち、通過するパケットに対して、継続パケット数分布関数に従うパケット数毎に、採用する損失率を変えながら、採用された損失率に従う確率でそのパケット廃棄する。
【0093】
また、パケット通信網におけるパケットの品質劣化のうちの帯域を模擬する際には、単位時間あたりの送出パケット量の最大値を規定する複数の異なる帯域値と、それらの帯域値のうちの1つに連続して従うパケット数を規定する分布関数(継続パケット数分布関数)とを持ち、通過するパケットに対して、継続パケット数分布関数に従うパケット数毎に、採用する帯域値を変えながら、採用された帯域値に従いパケット間隔を広げる。
【0094】
これにより、従来技術のように品質劣化を規定する遅延分布関数や損失率および帯域値を一度設定すると変更しない場合とは異なり、時間的に変動する品質劣化を模擬することができる。つまり、遅延分布関数、損失率、帯域などの劣化のパラメータを時間的に(確率的に生成したパケット数によって)変化させることにより、異なる複数の品質劣化の状態に変化できる。
【0095】
その結果、例えば、遅延時間においては、従来の同一の遅延分布関数から独立に生成するのとは異なり、確率的に生成したパケット数の値によって、遅延平均や分散の小さい状態から大きい状態に急激に変化するパケット通信網の模擬を行うことができ、また、パケット損失においては、従来のように一定のパケット損失確率で劣化を模擬するのではなく、パケット損失確率の少ない状態から大きい状態に急激に変化するパケット通信網の模擬を行うことができる。
【0096】
尚、本発明は、図1〜図8を用いて説明した例に限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能である。例えば、本例では、図1の遅延分布関数選択部109、図2の損失率選択部209、図3の帯域値選択部309の選択動作を規制するための選択条件として、カウンタ104,204,304とパケット数カウント部105,205,305、継続パケット数計算部106,206,306,継続パケット数分布関数記憶部107,207,307による受信パケット数のカウント結果を用いているが、単に、乱数を用いてランダムなタイマ値を設定し、あるいは、所定の順序で登録されたタイマ値を順次に設定し、このタイマ値が「0」になる度に、各選択部を起動すると共に、タイマ値を再設定することでも良い。
【0097】
また、本例では、網品質模擬装置のハードウェア構成として図5のコンピュータ構成例を示したが、キーボードや光ディスクの駆動装置の無いコンピュータ構成としても良い。また、本例では、光ディスクを記録媒体として用いているが、FD(Flexible Disk)等を記録媒体として用いることでも良い。また、プログラムのインストールに関しても、通信装置を介してネットワーク経由でプログラムをダウンロードしてインストールすることでも良い。
【0098】
【発明の効果】
本発明によれば、パケット遅延やパケット損失ならびに帯域等のパケット通信網における品質劣化の模擬を行う際、定常的な品質劣化だけでなく、急激に変動する品質劣化も模擬でき、パケット通信網における品質劣化の模擬を高精度および効率的に行うことが可能となり、アプリケーション開発者やサービス提供者は、提供するアプリケーションでパケット通信網を利用する際の品質の事前チェックを詳細にでき、アプリケーションの仕様変更やサーバ配置等のサービス提供形態の検討を高信頼に行うことが可能である。
【図面の簡単な説明】
【図1】本発明に係わる網品質模擬装置の第1の構成例を示すブロック図である。
【図2】本発明に係わる網品質模擬装置の第2の構成例を示すブロック図である。
【図3】本発明に係わる網品質模擬装置の第3の構成例を示すブロック図である。
【図4】図1から図3のそれぞれにおける網品質模擬装置の利用例を示す説明図である。
【図5】図1から図3のそれぞれにおける網品質模擬装置のハードウェア構成例を示すブロック図である。
【図6】図1における網品質模擬装置の本発明に係わる処理動作例を示すフローチャートである。
【図7】図2における網品質模擬装置の本発明に係わる処理動作例を示すフローチャートである。
【図8】図3における網品質模擬装置の本発明に係わる処理動作例を示すフローチャートである。
【図9】従来のパケット通信網における品質劣化のうちのパケット遅延を模擬する装置の構成例を示すブロック図である。
【図10】従来のパケット通信網における品質劣化のうちのパケット損失を模擬する装置の構成例を示すブロック図である。
【図11】従来のパケット通信網における品質劣化のうちの帯域を模擬する装置の構成例を示すブロック図である。
【符号の説明】
100,200,300:網品質模擬装置、101,201,301:受信部、102,202,302:送出部、103,203,303:メモリ、104,204,304:カウンタ、105,205,305:パケット数カウント部、106,206,306:継続パケット数計算部、107,207,307:継続パケット数分布関数記憶部(「継続パケット数分布関数」)、108:遅延時間計算部、109:遅延分布関数選択部、110:遅延分布関数記憶部(「遅延分布関数1,2,・・・」)、111,311:タイマ、112:遅延設定部、208:損失有無計算部、209:損失率選択部、210:損失率記憶部(「損率率1,2,・・・」)、212:損失設定部、308:パケット間隔計算部、309:帯域値選択部、310:帯域値記憶部(「帯域値1,2,・・・」)、312:パケット間隔設定部、313:前パケット長記憶部、410,430:ユーザ端末、420:パケット通信網、510:表示装置、520:入力装置、530:外部記憶装置、540:情報処理装置、540a:CPU、540b:主メモリ、540c:入出力インタフェース、550:光ディスク、560:駆動装置、570:通信装置、900,1000,1100:網品質模擬装置、901,1001,1101:受信部、902,1002,1102:送出部、903,1003,1103:メモリ、908:遅延時間計算部、910:遅延分布関数、911:タイマ、912:遅延設定部、1008:損失有無計算部、1010:損失率、1012:損失設定部、1108:パケット間隔計算部、1110:帯域値、1111:タイマ、1112:パケット間隔設定部。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for simulating quality deterioration of a packet communication network without actually using the packet communication network, and in particular, simulation of quality deterioration of the packet communication network such as packet delay, packet loss and bandwidth in the packet communication network. The present invention relates to a packet communication network quality simulation apparatus and method, a program, and a recording medium, which are suitable for carrying out the process with high accuracy and efficiency.
[0002]
[Prior art]
A technique for simulating quality degradation in a conventional packet communication network will be described with reference to FIGS.
[0003]
FIG. 9 is a block diagram illustrating a configuration example of a device that simulates packet delays in quality degradation in a conventional packet communication network, and FIG. 10 simulates packet loss in quality degradation in a conventional packet communication network. FIG. 11 is a block diagram illustrating a configuration example of a device that simulates a band of quality degradation in a conventional packet communication network.
[0004]
In the network quality simulation apparatus 900 shown in FIG. 9, a delay distribution function 910 that defines a delay time is set in the delay time calculation unit 908 before the operation. Then, triggered by the reception of the packet, the reception unit 901 stores the received packet in the memory 903, and the delay time calculation unit 908 calculates the delay time based on the delay distribution function 910.
[0005]
Here, the delay time x according to the delay distribution function 910 is widely implemented in programming languages if the delay distribution function 910 is “F (x)” (where x ≧ 0, 0 ≦ F (x) ≦ 1). “Y” is found by the uniform random number of “0 ≦ y <1”, and the inverse function “x = F” of F (x) is found. -1 Substituting into (y) ", the delay time x can be calculated.
[0006]
In this way, the delay time calculated by the delay time calculation unit 908 is set in the timer 911 by the delay setting unit 912, and the delay setting unit 912 notifies the time lapse notification from the timer 911. wait.
[0007]
When the notification of the elapsed time corresponding to the delay time is received from the timer 911, the delay setting unit 912 notifies the sending unit 902, and the sending unit 902 that has received this notification extracts the packet from the memory 903 and sends it out. Then, the network quality simulation device 900 waits for reception of the next packet.
[0008]
In this prior art, including processing for the next received packet, the sequence of packet delay times is generated independently from the same delay distribution function 910.
[0009]
In network
[0010]
Here, in the calculation for determining the presence or absence of loss according to the
[0011]
Thus, based on the loss presence / absence determination calculated by the loss presence /
[0012]
Also in this conventional technique, information on the presence / absence of loss of each packet including processing for the next received packet is generated independently from the
[0013]
In the network
[0014]
Then, triggered by the reception of the packet, the
[0015]
In this way, the packet
[0016]
In this prior art, including processing for the next received packet, the sequence of packet bandwidth values is generated independently from the
[0017]
As described above, by simulating the deterioration of the quality of the packet communication network, it is possible to grasp the user's quality of use in advance without actually using the packet communication network. Using this technology, for example, an application developer or service provider simulates the assumed quality degradation of the packet communication network, so that the quality when the user uses the packet communication network using the application Can be grasped in advance, and service provision forms such as application specification changes and server arrangements can be considered.
[0018]
Recent applications have implemented an operation to avoid quality degradation by adjusting the packet transmission rate for steady quality degradation in packet communication networks, but the quality degradation fluctuates rapidly over time. Whether it can be adapted to the problem is a problem. That is, for such an application, it is required that not only steady quality degradation in a packet communication network but also quality degradation that fluctuates rapidly can be simulated.
[0019]
However, the above-described conventional technology simulates the same quality degradation without changing the delay distribution function, loss rate, or band value that defines quality degradation once set. This is because, for the purpose of simulating a packet communication network for a long time, it is difficult to maintain an arbitrary sequence as a sequence of packet delay times due to memory limitations of the simulator, for example. By generating independently from the distribution function. In addition, the loss and the band are not held as an arbitrary sequence, but are generated from a single parameter. As a result, the conventional technology cannot simulate the rapidly changing quality degradation.
[0020]
[Problems to be solved by the invention]
The problem to be solved is that the conventional technology can only simulate the steady quality degradation of the packet communication network, and cannot simulate the rapidly varying quality degradation.
[0021]
The object of the present invention is to solve the problems of the prior art, and to improve the quality of the packet communication network that can simulate the quality degradation in the packet communication network such as packet delay, packet loss and bandwidth with high accuracy and efficiency. It is to provide a simulation apparatus and method, a program, and a recording medium.
[0022]
[Means for Solving the Problems]
In order to achieve the above object, the packet communication network quality simulation apparatus and method of the present invention have a plurality of delay distribution functions, loss rates, or bandwidth values that specify packet communication network quality degradation, and delay distribution functions and loss rates. Alternatively, the band value is changed with time. For example, the number of continuing packets in the same state is changed stochastically, and one of a plurality of delay distribution functions, loss rates, or band values is selected and used in accordance with the change in the number of packets. As a result, a plurality of different quality deterioration states can be changed to simulate quality deterioration fluctuations. In other words, in the delay time, unlike the conventional case where the delay distribution function is generated independently from the same delay distribution function, the delay average and the variance are rapidly increased from a small state to a large state depending on the value of the number of packets generated stochastically. It is possible to simulate the change, and in packet loss, it is possible to simulate a rapid change from a low packet loss probability to a large state, instead of simulating deterioration with a constant packet loss probability as in the past. .
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
1 is a block diagram showing a first configuration example of a network quality simulation apparatus according to the present invention, FIG. 2 is a block diagram showing a second configuration example of a network quality simulation apparatus according to the present invention, and FIG. 4 is a block diagram showing a third configuration example of the network quality simulation apparatus, FIG. 4 is an explanatory diagram showing an example of use of the network quality simulation apparatus in each of FIGS. 1 to 3, and FIG. 5 is a diagram of FIGS. It is a block diagram which shows the hardware structural example of the network quality simulation apparatus in each.
[0024]
In FIG. 5, 510 is a display device such as a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display), 520 is an input device such as a keyboard or mouse, and 530 is an external storage device such as an HDD (Hard Disk Drive). An
[0025]
After the program and data stored in the
[0026]
The
[0027]
In this way, application developers and service providers use the
[0028]
The network
[0029]
Then, the network
[0030]
Here, the delay
[0031]
For example, the delay
[0032]
In the network
[0033]
Further, in the network
[0034]
That is, the continuation packet
[0035]
Then, in the packet
[0036]
As the selection operation of the delay distribution
[0037]
Further, as an operation in the packet
[0038]
The operation of the network
[0039]
FIG. 6 is a flowchart showing an example of the processing operation according to the present invention of the network quality simulation apparatus in FIG.
[0040]
A plurality of different delay distribution functions that define packet delay times are stored in advance in the delay distribution function storage unit 110 (step 601), and the number of packets that successively follow one of these delay distribution functions Is stored in advance in the continuous packet number distribution function storage unit 107 (step 602).
[0041]
Then, the delay distribution
[0042]
Further, the continuation packet
[0043]
Then, when the packet is received (step 606), the
[0044]
Here, the delay time x according to the delay distribution function is widely implemented in programming languages if this delay distribution function is F (x) (where x ≧ 0, 0 ≦ F (x) ≦ 1). “Y” is found by a uniform random number of 0 ≦ y <1, and this is obtained as an inverse function “x = F of the delay distribution function F (x). -1 Substituting into (y) ", the delay time x can be calculated.
[0045]
In this way, the delay time calculated by the delay
[0046]
When a time corresponding to the set delay time elapses in the timer 111 (step 612), the delay
[0047]
If the process continues (step 615), the value of the
[0048]
As described above, in the network quality simulation method of this example, the delay distribution function (average or variance), which is a parameter of quality degradation of the packet communication network, is calculated by the number of packets generated stochastically based on the continuous packet number distribution function. Unlike the conventional technology that can change the packet communication network to a plurality of different quality degradation states, unlike the conventional technology that does not change once the delay distribution function that defines quality degradation is set once, as in the conventional technology, For example, it is possible to simulate quality deterioration that suddenly changes from a state with a small average delay or variance to a large state.
[0049]
Next, the network
[0050]
Similar to the network
[0051]
Then, the network
[0052]
Here, the loss presence /
[0053]
For example, by switching between a loss rate with a low packet loss probability and a loss rate with a high packet loss probability, the loss presence /
[0054]
In the network
[0055]
Further, in the network
[0056]
That is, the continuation packet
[0057]
Then, in the packet
[0058]
As the loss
[0059]
Further, as an operation in the packet
[0060]
The operation of the network
[0061]
FIG. 7 is a flowchart showing a processing operation example according to the present invention of the network quality simulation apparatus in FIG.
[0062]
In advance, a plurality of different loss rates that define packet loss are stored in the loss rate storage unit 210 (step 701), and the distribution function of the number of packets that successively follow one of these loss rates ( (Continuation packet number distribution function) is stored in advance in the continuous packet number distribution function storage unit 207 (step 702).
[0063]
Then, the loss
[0064]
Further, the continuation packet
[0065]
Then, when the packet is received (step 706), the receiving
[0066]
Here, the determination of the presence or absence of loss according to the loss rate is made by finding “y” by a uniform random number of “0 ≦ y <1” widely implemented in programming languages, where x is the loss rate, and “y < If “x”, there is a loss. If “y ≧ x”, there is no loss.
[0067]
If the calculation result in the loss presence /
[0068]
If the process continues (step 713), the value of the counter 204 subtracted by 1 in
[0069]
As described above, in the network quality simulation method of this example, the loss rate, which is a parameter of quality degradation of the packet communication network, is changed with time according to the number of packets generated stochastically based on the continuous packet number distribution function. The packet communication network can be changed to a plurality of different quality degradation states, and unlike the conventional technology that does not change once the loss rate that defines the quality degradation is set as in the conventional technology, for example, the packet loss probability It is possible to simulate quality deterioration that rapidly changes from a small state to a large state.
[0070]
Next, the network
[0071]
Similar to the network
[0072]
Then, the network
[0073]
Here, the packet
[0074]
That is, in the network
[0075]
Further, in the network
[0076]
That is, the continuation packet
[0077]
The packet
[0078]
As the selection operation of the bandwidth
[0079]
As an operation in the packet
[0080]
The operation of the network
[0081]
FIG. 8 is a flowchart showing a processing operation example according to the present invention of the network quality simulation apparatus in FIG.
[0082]
A plurality of different band values that prescribe the maximum value of the amount of packets to be transmitted per unit time are stored in the band
[0083]
Then, the band
[0084]
Further, the continuation packet
[0085]
Then, when the packet is received (step 807), the receiving
[0086]
Then, the packet
[0087]
Upon receiving the notification from the packet
[0088]
If the process continues (step 815), the value of the counter 304 subtracted by 1 in
[0089]
As described above, in the network quality simulation method of this example, the bandwidth value, which is a parameter of quality degradation of the packet communication network, is changed with time according to the number of packets generated stochastically based on the continuous packet number distribution function. The simulation can be performed by changing the packet communication network to a plurality of different quality degradation states.
[0090]
As described above with reference to FIGS. 1 to 8, the network quality simulation apparatus (packet communication network quality simulation apparatus) and method according to the present example are configured so that the quality deterioration of the packet communication network can be simulated. A plurality of delay distribution functions, loss rates, and band values that define deterioration are provided, and one is selected and used for simulation. Then, the simulation duration with the selected parameter is limited based on the number of received packets. Further, the number of received packets used for this restriction is also changed stochastically based on the distribution function.
[0091]
That is, when simulating a delay of packet quality degradation in a packet communication network, a plurality of different distribution functions that define the packet delay time and one of those delay distribution functions are continuously followed. A delay function that has a distribution function that defines the number of packets (continuous packet number distribution function), and changes the delay distribution function to be used for each packet number that follows the continuous packet number distribution function. A delay time according to the distribution is added to the packet.
[0092]
Also, when simulating the loss of packet quality deterioration in a packet communication network, a plurality of different loss rates that define packet loss and the number of packets that successively follow one of those loss rates The distribution function (continuous packet number distribution function) that regulates the probability of obeying the adopted loss rate while changing the adopted loss rate for each packet number that follows the continuous packet number distribution function for passing packets Discard the packet.
[0093]
Further, when simulating a band of packet quality degradation in a packet communication network, a plurality of different band values defining the maximum value of the amount of packets to be transmitted per unit time and one of those band values The distribution function (continuous packet number distribution function) that prescribes the number of packets that follow continuously, and adopts while changing the bandwidth value to be adopted for each packet number that follows the continuous packet number distribution function for passing packets Increase the packet interval according to the specified bandwidth value.
[0094]
This makes it possible to simulate temporally varying quality degradation, unlike the case where the delay distribution function, loss rate, and band value that define quality degradation are not set once as in the prior art. That is, by changing deterioration parameters such as the delay distribution function, loss rate, and bandwidth temporally (depending on the number of packets generated stochastically), it is possible to change to a plurality of different quality deterioration states.
[0095]
As a result, for example, in the delay time, unlike the case of generating independently from the same delay distribution function in the past, the value of the number of packets generated stochastically increases from a state with a small delay average or variance to a large state. In addition, packet loss is not simulated with a constant packet loss probability as in the past, but packet loss is rapidly changed from a low packet loss probability to a large state. It is possible to simulate a packet communication network that changes.
[0096]
In addition, this invention is not limited to the example demonstrated using FIGS. 1-8, In the range which does not deviate from the summary, various changes are possible. For example, in this example, the
[0097]
Further, in this example, the computer configuration example of FIG. 5 is shown as the hardware configuration of the network quality simulation device, but a computer configuration without a keyboard or optical disk drive device may be used. In this example, an optical disk is used as a recording medium, but an FD (Flexible Disk) or the like may be used as a recording medium. As for the program installation, the program may be downloaded and installed via a network via a communication device.
[0098]
【The invention's effect】
According to the present invention, when simulating quality degradation in a packet communication network such as packet delay, packet loss and bandwidth, not only steady quality degradation but also suddenly varying quality degradation can be simulated. It is possible to simulate quality degradation with high accuracy and efficiency, and application developers and service providers can perform detailed quality pre-checks when using a packet communication network in the provided application. It is possible to study the service provision form such as change and server arrangement with high reliability.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first configuration example of a network quality simulation apparatus according to the present invention.
FIG. 2 is a block diagram showing a second configuration example of the network quality simulation apparatus according to the present invention.
FIG. 3 is a block diagram showing a third configuration example of the network quality simulation apparatus according to the present invention.
4 is an explanatory diagram showing an example of use of the network quality simulation device in each of FIGS. 1 to 3. FIG.
5 is a block diagram showing a hardware configuration example of a network quality simulation apparatus in each of FIGS. 1 to 3. FIG.
6 is a flowchart showing a processing operation example according to the present invention of the network quality simulation apparatus in FIG. 1; FIG.
FIG. 7 is a flowchart showing an example of processing operation according to the present invention of the network quality simulation apparatus in FIG. 2;
8 is a flowchart showing a processing operation example according to the present invention of the network quality simulation apparatus in FIG. 3;
FIG. 9 is a block diagram illustrating a configuration example of an apparatus that simulates packet delay among quality degradations in a conventional packet communication network.
FIG. 10 is a block diagram illustrating a configuration example of an apparatus that simulates packet loss among quality degradations in a conventional packet communication network.
FIG. 11 is a block diagram illustrating a configuration example of an apparatus that simulates a band of quality degradation in a conventional packet communication network.
[Explanation of symbols]
100, 200, 300: Network quality simulator, 101, 201, 301: Receiving unit, 102, 202, 302: Sending unit, 103, 203, 303: Memory, 104, 204, 304: Counter, 105, 205, 305 : Packet number counting unit, 106, 206, 306: continuing packet number calculating unit, 107, 207, 307: continuing packet number distribution function storage unit (“continuing packet number distribution function”), 108: delay time calculating unit, 109: Delay distribution function selection unit, 110: delay distribution function storage unit (“delay distribution function 1, 2,...”), 111, 311: timer, 112: delay setting unit, 208: loss presence / absence calculation unit, 209: loss Rate selection unit, 210: loss rate storage unit (“loss rate rate 1, 2,...”), 212: loss setting unit, 308: packet interval calculation unit, 309: band value selection 310: Band value storage unit (“Band value 1, 2,...”), 312: Packet interval setting unit, 313: Previous packet length storage unit, 410, 430: User terminal, 420: Packet communication network, 510 : Display device, 520: input device, 530: external storage device, 540: information processing device, 540a: CPU, 540b: main memory, 540c: input / output interface, 550: optical disk, 560: drive device, 570: communication device, 900, 1000, 1100: network quality simulator, 901, 1001, 1101: receiving unit, 902, 1002, 1102: transmitting unit, 903, 1003, 1103: memory, 908: delay time calculating unit, 910: delay distribution function, 911: Timer, 912: Delay setting unit, 1008: Loss presence / absence calculation unit, 1010: Loss rate, 1012: Loss setting unit 1108: the packet interval calculating unit, 1110: band value, 1111: timer, 1112: packet interval setting unit.
Claims (4)
上記パケット通信網からパケットを受信する受信手段と、
該受信手段で受信したパケットの送信遅延時間の計算に用いる複数の異なる遅延分布関数を記憶する記憶手段と、
該記憶手段から1つの遅延分布関数を予め定められた選択条件に従って選択する選択手段と、
該選択手段で選択した遅延分布関数に基づき上記パケットの送信遅延時間を計算する計算手段と、
該計算手段で計算した送信遅延時間に対応して上記受信したパケットを遅らせて上記パケット通信網に送信する送出制御手段と、
上記受信手段で受信したパケットの数をカウントするカウンタ手段と、
予め定められたパケット数分布関数に従ってパケット数の閾値を計算するパケット数計算手段と、
上記カウンタ手段でカウントしたパケットの数が上記パケット数計算手段で計算した閾値以上になる度に、上記カウンタ手段と上記パケット数計算手段および上記選択手段と上記計算手段を再起動する手段と
を有することを特徴とするパケット通信網の品質模擬装置。An apparatus for simulating packet delay quality in a packet communication network,
Receiving means for receiving packets from the packet communication network ;
Storage means for storing a plurality of different delay distribution functions used for calculating the transmission delay time of the packet received by the receiving means;
Selection means for selecting according to a predetermined selection condition one delay distribution function number from the storage means,
A calculating means for calculating a transmission delay time of the packets based on the delay distribution function selected by said selection means,
Transmission control means for delaying the received packet and transmitting it to the packet communication network corresponding to the transmission delay time calculated by the calculation means;
Counter means for counting the number of packets received by the receiving means;
A packet number calculation means for calculating a threshold value of the number of packets according to a predetermined packet number distribution function;
Means for restarting the counter means, the packet number calculating means, the selecting means, and the calculating means each time the number of packets counted by the counter means is equal to or greater than a threshold value calculated by the packet number calculating means; A packet communication network quality simulation apparatus characterized by comprising:
上記パケット通信網からパケットを受信する第1のステップと、
該第1のステップで受信したパケットの送信遅延時間の計算に用いる複数の異なる遅延分布関数を記憶する第2のステップと、
上記遅延分布関数の1つを予め定められた選択条件に従って選択する第3のステップと、
該第3のステップで選択した遅延分布関数に基づき上記パケットの送信遅延時間を計算する第4のステップと、
該第4のステップで計算した送信遅延時間に対応して上記受信したパケットを遅らせて上記パケット通信網に送信する第5のステップと、
予め定められ分布関数に従ってパケット数の閾値を計算する第6のステップと、
上記第1のステップで受信したパケットの数をカウントする第7のステップと、
該第7のステップでカウントしたパケット数と上記第6のステップで計算したパケット数の閾値とを比較する第8のステップと、
該第8のステップでの比較の結果、上記第7のステップでカウントしたパケット数が上記第6のステップで計算したパケット数の閾値以上になる度に、上記第6のステップでのパケットの閾値の計算と上記第7のステップでのパケットの数のカウントおよび上記第3のステップでの遅延分布関数の選択と上記第4のステップでの送信遅延時間の計算を再起動させる第9のステップと
を有することを特徴とするパケット通信網の品質模擬方法。A method for simulating a packet communication network quality simulation device for simulating packet delay quality in a packet communication network ,
A first step of receiving a packet from the packet communication network ;
A second step of storing a plurality of different delay distribution functions for use in calculating a transmission delay time of the packet received in the first step;
A third step of selecting one of the delay distribution functions according to a predetermined selection condition;
A fourth step of calculating a transmission delay time of the packet based on the delay distribution function selected in the third step;
A fifth step of delaying the received packet and transmitting it to the packet communication network in correspondence with the transmission delay time calculated in the fourth step ;
A sixth step of calculating a packet number threshold according to a predetermined distribution function;
A seventh step of counting the number of packets received in the first step;
An eighth step of comparing the number of packets counted in the seventh step with a threshold of the number of packets calculated in the sixth step;
As a result of the comparison in the eighth step, whenever the number of packets counted in the seventh step becomes equal to or greater than the threshold of the number of packets calculated in the sixth step, the packet threshold in the sixth step A ninth step of restarting the calculation of the number of packets in the seventh step, the selection of the delay distribution function in the third step, and the calculation of the transmission delay time in the fourth step; A quality simulation method for a packet communication network, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001192901A JP3709461B2 (en) | 2001-06-26 | 2001-06-26 | Packet communication network quality simulation apparatus and method, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001192901A JP3709461B2 (en) | 2001-06-26 | 2001-06-26 | Packet communication network quality simulation apparatus and method, program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003008649A JP2003008649A (en) | 2003-01-10 |
JP3709461B2 true JP3709461B2 (en) | 2005-10-26 |
Family
ID=19031285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001192901A Expired - Fee Related JP3709461B2 (en) | 2001-06-26 | 2001-06-26 | Packet communication network quality simulation apparatus and method, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3709461B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100763523B1 (en) | 2005-12-08 | 2007-10-04 | 한국전자통신연구원 | Apparatus and method of simulating for control protocol development |
-
2001
- 2001-06-26 JP JP2001192901A patent/JP3709461B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003008649A (en) | 2003-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jin et al. | A spectrum of TCP-friendly window-based congestion control algorithms | |
CN110049357B (en) | Bandwidth estimation method, device, equipment and storage medium | |
Crovella et al. | The network effects of prefetching | |
EP1277331B1 (en) | Quality of service monitor for multimedia communications system | |
US9521178B1 (en) | Dynamic bandwidth thresholds | |
Bohacek et al. | A hybrid systems modeling framework for fast and accurate simulation of data communication networks | |
Arun et al. | Starvation in end-to-end congestion control | |
WO2008104221A1 (en) | Method and apparatus for use in multiplayer server-based gaming | |
US7339899B2 (en) | Method and system for network emulation using packet reorder emulation techniques | |
US9712580B2 (en) | Pipelining for parallel network connections to transmit a digital content stream | |
Palazzi et al. | On maintaining interactivity in event delivery synchronization for mirrored game architectures | |
Kua et al. | Adaptive Chunklets and AQM for higher-performance content streaming | |
Chen et al. | One rein to rule them all: A framework for datacenter-to-user congestion control | |
US7411908B2 (en) | Method and system for network emulation using bandwidth emulation techniques | |
JP3709461B2 (en) | Packet communication network quality simulation apparatus and method, program, and recording medium | |
Hong et al. | Modeling and simulation of SIP tandem server with finite buffer | |
CN110381036A (en) | A kind of TCP jamming control method for DASH Streaming Media | |
Anggono et al. | A flow-level extension to OMNeT++ for long simulations of large networks | |
CN109327398B (en) | Method and device for preventing packet loss | |
Ben Ameur et al. | Performance evaluation of TcpHas: TCP for HTTP adaptive streaming | |
Bao et al. | Performance-driven adaptive admission control for multimedia applications | |
Cho et al. | Atfrc: Adaptive tcp friendly rate control protocol | |
Baccelli et al. | A stochastic model for the throughput of non-persistent TCP flows | |
Mah et al. | Ipb: An internet protocol benchmark using simulated traffic | |
WO2001067264A1 (en) | Apparatus and method for predictable and differentiated delivery of multimedia streaming on the internet |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050418 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050422 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050621 |
|
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: 20050708 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050721 |
|
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: 20080819 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090819 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090819 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100819 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100819 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110819 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |