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 PDF

Info

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
Application number
JP2001192901A
Other languages
Japanese (ja)
Other versions
JP2003008649A (en
Inventor
卓巳 木村
聡 亀井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2001192901A priority Critical patent/JP3709461B2/en
Publication of JP2003008649A publication Critical patent/JP2003008649A/en
Application granted granted Critical
Publication of JP3709461B2 publication Critical patent/JP3709461B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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 quality simulation apparatus 1000 shown in FIG. 10, loss rate 1010 that defines the packet loss probability is set in loss presence / absence calculation unit 1008 before operation. Then, with the reception of the packet as a trigger, the receiving unit 1001 stores the received packet in the memory 1003, and the loss presence / absence calculation unit 1008 calculates the presence / absence of loss of the packet based on the loss rate 1010.
[0010]
Here, in the calculation for determining the presence or absence of loss according to the loss rate 1008, if this loss rate is x, “y” is found by a uniform random number “0 ≦ y <1” widely implemented in programming languages. If y <x ”, there is a loss, and if“ y ≧ x ”, it can be assumed that there is no loss.
[0011]
Thus, based on the loss presence / absence determination calculated by the loss presence / absence calculation unit 1008, the loss setting unit 1012 controls the processing operation of the transmission unit 1002 for the packet stored in the memory 1003. That is, if the loss calculation result in the loss presence / absence calculation unit 1008 is lossy, the loss setting unit 1012 discards the packet from the memory 1003, and if there is no loss, the transmission unit 1002 sends the packet from the memory 1003 to the lossy. Take out and send. Then, the network quality simulation apparatus 1000 waits for reception of the next packet.
[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 same loss rate 1010.
[0013]
In the network quality simulation apparatus 1100 shown in FIG. 11, a band value 1110 that defines the maximum value of the amount of transmitted packets per unit time is set in the packet interval calculation unit 1108 before operation. Further, the value of the timer 1111 used in the packet interval setting unit 1108 is set to “0”, and the length of the packet processed immediately before the previous packet length 1113 is set to “0”. Note that the value of the timer 1111 automatically increases by the elapsed time as time passes.
[0014]
Then, triggered by the reception of the packet, the reception unit 1101 stores the received packet in the memory 1103, and the packet interval calculation unit 1108 stores the value of the bandwidth value 1110 (“B”) and the previous packet length 1113. Based on the value (“M”), the interval t between the previous packet and the packet is calculated by “t = M / B”. The packet length of the packet received by the receiving unit 1101 and stored in the memory 1103 is set as the previous packet length 1113.
[0015]
In this way, the packet interval setting unit 1112 compares the packet interval t calculated by the packet interval calculation unit 1108 with the value T of the timer 1111, waits for “T ≧ t”, and stores the packet stored in the memory 1003. The processing operation of the sending unit 1002 is controlled. That is, if “T ≧ t”, the value (T) of the timer 1111 is set to “0”, and the transmission unit 1102 extracts the packet from the memory 1103 and transmits it. Then, the network quality simulation apparatus 1100 waits for reception of the next packet.
[0016]
In this prior art, including processing for the next received packet, the sequence of packet bandwidth values is generated independently from the same bandwidth value 1110.
[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 information processing apparatus 540 includes a CPU (Central Processing Unit) 540a, a main memory 540b, an input / output interface 540c, and the like, and performs computer processing. 550 is a CD-ROM (Compact Disc) in which programs and data according to the present invention are recorded. -An optical disc composed of a read only memory (DVD) or a DVD (Digital Video Disc / Digital Versatile Disc), 560 is a drive device for reading a program and data recorded on the optical disc 550, 570 is a LAN (Local Area Network) card or modem And the like.
[0025]
After the program and data stored in the optical disc 550 are installed in the external storage device 530 by the information processing device 540 via the drive device 560, they are read from the external storage device 530 into the main memory 540b and processed by the CPU 540a. In the apparatus 540, the functions of the network quality simulation apparatuses 100, 200, and 300 shown in FIGS.
[0026]
The network quality simulators 100, 200, and 300 shown in FIGS. 1 to 3 are used, for example, as shown in FIG. That is, as shown in FIG. 4 (a), the quality degradation of the packet communication network 420 in which packets input from the user terminal 410 are routed based on the header information and output to the user terminal 430. As shown in FIG. 4B, a usage form in which the user's usage quality is grasped in advance by simulating the network quality simulation devices 100, 200, and 300 is conceivable.
[0027]
In this way, application developers and service providers use the network quality simulators 100, 200, and 300 to simulate possible quality degradation of the packet communication network, so that the user can use the application to communicate with the communication network. It is possible to grasp in advance the quality when using the service, and to consider service provision forms such as application specification changes and server placement.
[0028]
The network quality simulation apparatus 100 shown in FIG. 1 includes a receiving unit 101, a sending unit 102, and a memory 103. The receiving unit 101 receives, for example, a packet sent from the user terminal 410 shown in FIG. The packet received by the receiving unit 101 is stored in the memory 103, and the sending unit 102 extracts the packet from the memory 103 and transmits it to the user terminal 430 in FIG. 4, for example.
[0029]
Then, the network quality simulation device 100 of this example intentionally delays the transmission of the packet by the transmission unit 102, and delays the quality deterioration of the packet communication network connecting the user terminal 410 and the user terminal 430. In order to simulate, a counter 104, a packet number counting unit 105, a continuous packet number calculating unit 106, a continuous packet number distribution function storage unit (described as “continuous packet number distribution function” in the figure) 107, a delay time calculating unit 108, A delay distribution function selection unit 109, a delay distribution function storage unit (described as “delay distribution functions 1, 2,...” In the figure) 110, a timer 111, and a delay setting unit 112 are provided.
[0030]
Here, the delay time calculation unit 108, the timer 111, and the delay setting unit 112 have the same functions as the delay time calculation unit 908, the timer 911, and the delay setting unit 912 in the conventional simulation apparatus described in FIG. In the network quality simulation apparatus 100 of this example, the delay distribution function storage unit 110 includes a plurality of delay distribution functions (delay distribution functions 1, 2,...). From the distribution functions 1, 2,..., A function to be used for calculating the delay time in the delay time calculation unit 108 is selected by changing probabilistically according to the passage of time.
[0031]
For example, the delay time calculation unit 108 calculates a transmission delay time by switching between a delay distribution function having a small delay average and dispersion and a delay distribution function having a large delay average and dispersion. This makes it possible to simulate when the packet communication network suddenly changes from a state with a small delay average or variance to a large state.
[0032]
In the network quality simulation apparatus 100 of this example, a delay distribution function selection unit 109 is used as a function for selecting a delay distribution function (delay distribution function 1, 2,...) Used for delay time calculation in the delay time calculation unit 108. The delay distribution function selection unit 109 selects a delay distribution function from the delay distribution function storage unit 110 randomly (randomly) using a random number or in a preset and registered order. You can also.
[0033]
Further, in the network quality simulation apparatus 100 of this example, the counter 104, the number of packets is selected in order to change the timing of selecting the delay distribution function by the delay distribution function selection unit 109 based on the number of received packets and at random. A count unit 105, a continuous packet number calculation unit 106, and a continuous packet number distribution function storage unit 107 are used.
[0034]
That is, the continuation packet number calculation unit 106 calculates a threshold for the number of packets according to a distribution function (continuation packet number distribution function) prepared in advance in the continuation packet number distribution function storage unit 107, and the calculated packet number threshold is set to the number of packets. The counter 105 sets the counter 104.
[0035]
Then, in the packet number counting unit 105, the number of packets received by the receiving unit 101 is counted, and every time the counted number becomes equal to or larger than the packet number threshold set in the counter 104, the delay distribution function selecting unit 109 Activate the selection action.
[0036]
As the selection operation of the delay distribution function selection unit 109 is restarted, the packet number counting unit 105 also calculates the packet number threshold value according to the distribution function (continuous packet number distribution function) by the continuous packet number calculation unit 106. Reboot. As a result, a packet number threshold different from the previous one is set in the counter 104, and as a result, the start time (timing) of the selection operation of the delay distribution function selection unit 109 changes.
[0037]
Further, as an operation in the packet number counting unit 105, for example, every time the receiving unit 101 receives a packet, the packet number threshold set in the counter 104 is decremented by 1, and the packet number threshold set in the counter 104 is “0”. At this point, the selection operation by the delay distribution function selection unit 109 and the packet number threshold calculation operation by the continued packet number calculation unit 106 may be restarted.
[0038]
The operation of the network quality simulation apparatus 100 of this example will be described with reference to FIG.
[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 function selection unit 109 selects the delay distribution function to be used first from the delay distribution function storage unit 110 and sets it in the delay time calculation unit 108 (step 603).
[0042]
Further, the continuation packet number calculation unit 106 calculates the number of packets (threshold value) continuously following the first distribution function according to the continuation packet number distribution function stored in the continuation packet number distribution function storage unit 107 (step 604). The calculated packet number is set as a counter value (threshold value) in the counter 104 by the packet number counting unit 105 (step 605).
[0043]
Then, when the packet is received (step 606), the reception unit 101 stores the packet in the memory 103 (step 607), and the packet number counting unit 105 subtracts 1 from the number of packets in the counter 104 (step 608). The delay time calculation unit 108 calculates the delay time based on the delay distribution function set in advance (step 609).
[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 time calculation unit 108 is set in the timer 111 by the delay setting unit 112 (step 610), and the timer 111 measures the elapsed time for the delay time (step 611). .
[0046]
When a time corresponding to the set delay time elapses in the timer 111 (step 612), the delay time setting unit 112 notifies the sending unit 102 (step 613), and the sending unit 102 that receives the notification sends a packet from the memory 103. It is taken out and sent (step 614).
[0047]
If the process continues (step 615), the value of the counter 104 decremented by 1 in step 608 is evaluated (step 616). If the value of the counter 104 is not “0”, the process returns to step 606. Waiting for the reception of the next packet, and if the value of the counter 104 is “0”, the processing returns to step 603 and the delay distribution function selection unit 109 selects and sets the next delay distribution function in step 603. In Steps 604 and 605, the number of continuing packets is calculated and set by the continuing packet number calculation unit 106, and in Step 606, reception of the next packet is awaited.
[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 quality simulation apparatus 200 shown in FIG. 2 will be described.
[0050]
Similar to the network quality simulation apparatus 100 shown in FIG. 1, the network quality simulation apparatus 200 shown in FIG. 2 includes a reception unit 201, a transmission unit 202, and a memory 203. 4 is received, the packet received by the receiving unit 201 is accumulated in the memory 203, and the packet is extracted from the memory 203 by the sending unit 202. For example, the user in FIG. Transmit to terminal 430.
[0051]
Then, the network quality simulation device 200 of this example intentionally discards the packet to be transmitted by the transmission unit 202, and the loss of quality deterioration of the packet communication network connecting the user terminal 410 and the user terminal 430 is lost. Counter 204, packet number counting unit 205, continuing packet number calculating unit 206, continuing packet number distribution function storage unit (described as “continuing packet number distribution function” in the figure) 207, loss presence / absence calculating unit 208 , A loss rate selection unit 209, a loss rate storage unit (described as “loss rate 1, 2,...” In the figure) 210, and a loss setting unit 212.
[0052]
Here, the loss presence / absence calculation unit 208 and the loss setting unit 212 have the same functions as the loss presence / absence calculation unit 1008 and the loss setting unit 1012 in the conventional simulation apparatus described with reference to FIG. In the network quality simulation apparatus 200, the loss rate storage unit 210 includes a plurality of loss rates (loss rates 1, 2,...). From these loss rates (loss rates 1, 2,...) Then, the one used for the determination of packet discard / packet transmission in the loss presence / absence calculation unit 208 is selected by changing probabilistically as time passes.
[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 / absence calculation unit 208 determines packet discard / packet transmission. This makes it possible to simulate when the packet communication network suddenly changes from a low packet loss rate state to a large state.
[0054]
In the network quality simulation apparatus 200 of this example, the loss rate selection function is used as a function of selecting the loss rate (loss rate 1, 2,...) Used for the packet discard / packet transmission determination process in the loss rate presence / absence calculation unit 208. The loss rate selection unit 209 performs selection of the loss rate from the loss rate storage unit 210 randomly (randomly) using a random number or in a preset and registered order. Can do.
[0055]
Further, in the network quality simulation apparatus 200 of the present example, a counter 204, a packet number counting unit, and a timing for selecting the loss rate by the loss rate selecting unit 209 are randomly changed based on the number of received packets. 205, a continuation packet number calculation unit 206, and a continuation packet number distribution function storage unit 207 are used.
[0056]
That is, the continuation packet number calculation unit 206 calculates a packet number threshold according to a distribution function (continuation packet number distribution function) prepared in advance in the continuation packet number distribution function storage unit 207, and calculates the calculated packet number threshold to the packet number count. The unit 205 sets the counter 204.
[0057]
Then, in the packet number counting unit 205, the number of packets received by the receiving unit 201 is counted, and each time the counted number becomes equal to or larger than the packet number threshold set in the counter 204, the selection operation by the loss rate selecting unit 209 is performed. Start.
[0058]
As the loss rate selection unit 209 restarts the selection operation, the packet number counting unit 205 also restarts the packet number threshold calculation operation according to the distribution function (continuous packet number distribution function) by the continuous packet number calculation unit 206. Start. As a result, a packet number threshold different from the previous one is set in the counter 204, and as a result, the timing of the selection operation of the loss rate selection unit 209 changes with time.
[0059]
Further, as an operation in the packet number counting unit 205, for example, every time the receiving unit 201 receives a packet, the packet number threshold set in the counter 204 is decremented by 1, and the packet number threshold set in the counter 204 is “0”. At this point, the selection operation by the loss rate selection unit 209 and the calculation operation of the packet number threshold by the continuous packet number calculation unit 206 may be activated.
[0060]
The operation of the network quality simulation apparatus 200 of this example will be described with reference to FIG.
[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 rate selection unit 209 selects the loss rate to be used first from the loss rate storage unit 210 and sets it in the loss presence / absence calculation unit 208 (step 703).
[0064]
Further, the continuation packet number calculation unit 206 calculates the packet number (threshold value) that continuously follows the first distribution function according to the continuation packet number distribution function stored in the continuation packet number distribution function storage unit 207 (step 704). Then, the calculated packet number is set as a counter value (threshold value) in the counter 204 by the packet number counting unit 205 (step 705).
[0065]
Then, when the packet is received (step 706), the receiving unit 201 stores the packet in the memory 203 (step 707), and the packet number counting unit 205 subtracts 1 from the number of packets in the counter 204 (step 708). The loss presence / absence calculation unit 208 determines the presence / absence of packet loss (whether to discard the packet or transmit the packet) based on the previously set loss rate (step 709).
[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 / absence calculation unit 208 has a loss (step 710), the loss setting unit 212 discards the packet from the memory 203 (step 711), and the calculation result in the loss presence / absence calculation unit 208 If there is no loss, the sending unit 202 takes out the packet from the memory 203 and sends it out (step 712).
[0068]
If the process continues (step 713), the value of the counter 204 subtracted by 1 in step 708 is evaluated (step 714). If the value of the counter 204 is not “0”, the process returns to step 706. , Waiting for reception of the next packet, and if the value of the counter 204 is “0”, the process returns to step 703, and selection and setting of the next loss rate by the loss rate selection unit 209 in step 703, In Steps 704 and 705, the number of continuing packets is calculated and set by the continuing packet number calculation unit 206. In Step 706, reception of the next packet is awaited.
[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 quality simulation apparatus 300 shown in FIG. 3 will be described.
[0071]
Similar to the network quality simulation apparatuses 100 and 200 shown in FIGS. 1 and 2, the network quality simulation apparatus 300 shown in FIG. 3 includes a reception unit 301, a transmission unit 302, and a memory 303. 4, the packet sent from the user terminal 410 shown in FIG. 4 is received, the packet received by the receiving unit 301 is stored in the memory 303, and the packet is taken out from the memory 303 by the sending unit 302, for example, It transmits to the user terminal 430 in FIG.
[0072]
Then, the network quality simulation device 300 of this example intentionally changes the packet transmission interval from the transmission unit 302, and sets the bandwidth of the quality deterioration of the packet communication network connecting the user terminal 410 and the user terminal 430. In order to simulate, a counter 304, a packet number counting unit 305, a continuing packet number calculating unit 306, a continuing packet number distribution function storage unit (described as “continuing packet number distribution function” in the figure) 307, a packet interval calculating unit 308, Band value selection unit 309, band value storage unit (described as “band value 1, 2,...” In the figure) 310, timer 311, packet interval setting unit 312, and previous packet length storage unit (in the figure, “ 313)).
[0073]
Here, the packet interval calculation unit 308, the timer 311, the packet interval determination unit 212, and the previous packet length storage unit 313 are the packet interval calculation unit 1108, the timer 1111, and the packet interval determination unit 1112 in the conventional simulation apparatus described with reference to FIG. The network quality simulator 300 of this example has the same function as each of the previous packet length storage unit 1113. In the network quality simulation apparatus 300 of this example, the bandwidth value storage unit 310 defines the maximum amount of packets to be transmitted per unit time. A plurality of values (band values 1, 2,...) Are used, and these packet values (band values 1, 2,...) Are used to calculate a packet transmission interval in the packet interval calculation unit 308. A thing is selected by changing probabilistically over time.
[0074]
That is, in the network quality simulation apparatus 300 of this example, the band value selection unit 309 has a function of selecting the band values (band values 1, 2,...) Used for the packet transmission interval calculation in the packet interval calculation unit 308. The loss rate selection unit 309 selects a band value from the band value storage unit 310 randomly (randomly) using a random number or in a preset and registered order.
[0075]
Further, in the network quality simulation apparatus 300 of this example, the counter 304 is used to control the band value selection timing by the band value selection unit 309 in order to change it randomly based on the number of received packets. A packet number counting unit 305, a continuation packet number calculation unit 306, and a continuation packet number distribution function storage unit 307 are used.
[0076]
That is, the continuation packet number calculation unit 306 calculates a packet number threshold according to a distribution function (continuation packet number distribution function) prepared in advance in the continuation packet number distribution function storage unit 307, and the calculated packet number threshold is calculated as a packet number count. The counter 305 sets the counter 304.
[0077]
The packet number counting unit 305 counts the number of packets received by the receiving unit 301, and the band value selecting unit 309 performs the selection operation every time the counted number becomes equal to or larger than the packet number threshold set in the counter 304. Restart.
[0078]
As the selection operation of the bandwidth value selection unit 309 is restarted, the packet number counting unit 305 also restarts the packet number threshold calculation operation according to the distribution function (continuous packet number distribution function) by the continuous packet number calculation unit 306. Start. As a result, a packet number threshold different from the previous one is set in the counter 304, and as a result, the timing of the selection operation of the band value selection unit 309 changes with time.
[0079]
As an operation in the packet number counting unit 305, for example, every time the receiving unit 301 receives a packet, the packet number threshold set in the counter 304 is decremented by 1, and the packet number threshold set in the counter 304 is “0”. At this point, the selection operation by the bandwidth value selection unit 309 and the packet number threshold calculation operation by the continued packet number calculation unit 306 may be restarted.
[0080]
The operation of the network quality simulation apparatus 300 of this example will be described with reference to FIG.
[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 value storage unit 310 in advance (step 801), and continuously to one of these band values. The following packet number distribution function (continuous packet number distribution function) is stored in advance in the continuous packet number distribution function storage unit 307 (step 802).
[0083]
Then, the band value selection unit 309 selects the band value to be used first from the band value storage unit 310 and sets it in the packet interval calculation unit 308 (step 803). Further, the previous packet length in the previous packet length storage unit 313 used in the packet interval calculation unit 308 and the value of the timer 311 used in the packet interval setting unit 312 are set to “0” (step 804). Note that the value of the timer 311 automatically increases by the elapsed time as time passes.
[0084]
Further, the continuation packet number calculation unit 306 calculates the number of packets (threshold value) continuously following the first distribution function according to the continuation packet number distribution function stored in the continuation packet number distribution function storage unit 307 (step 805). The calculated packet number is set as a counter value (threshold value) in the counter 304 by the packet number counting unit 305 (step 806).
[0085]
Then, when the packet is received (step 807), the receiving unit 301 stores the packet in the memory 303 (step 808), and the packet number counting unit 305 subtracts 1 from the number of packets in the counter 304 (step 809). Based on the previously set bandwidth value (“B”) and the previous packet length (“M”), the packet interval calculation unit 308 sets the interval (packet interval t) of the packet to “t = M / B "(step 810). As will be described later, when the previous step 804 is continuously repeated, the packet length stored in the memory 303 is stored in the previous packet length storage unit 313 as an initial value “0” as the packet length before processing. Set instead of.
[0086]
Then, the packet interval setting unit 312 compares the packet interval (t) calculated by the packet interval calculation unit 308 with the value (T) of the timer 311 and waits for “T ≧ t”. (Step 811) If “T ≧ t”, the value of the timer 311 is set to “0” (Step 812), and the sending unit 302 is notified (Step 813).
[0087]
Upon receiving the notification from the packet interval setting unit 312, the transmission unit 302 extracts the packet from the memory 303 and transmits it (step 814).
[0088]
If the process continues (step 815), the value of the counter 304 subtracted by 1 in step 809 is evaluated (step 816). If the value of the counter 304 is not “0”, the process returns to step 807. The reception of the next packet is awaited, and if the value of the counter 304 is “0”, the process returns to step 803 to select / set the next band value by the band value selection unit 309 in step 803, In the next step 804, the setting in the previous packet length storage unit 313 (here, the packet length of the packet stored in the memory 303 is set), the timer 311 is reset to “0”, and the setting in steps 805 and 806 is continued. The next packet number is calculated and set by the packet number calculation unit 306, and in step 807, the next packet is calculated. It waits for the reception.
[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 counters 104, 204, and 104 are selected as selection conditions for restricting the selection operation of the delay distribution function selection unit 109 in FIG. 1, the loss rate selection unit 209 in FIG. 2, and the band value selection unit 309 in FIG. 304, the packet number counting units 105, 205, and 305, the continuous packet number calculating units 106, 206, and 306, and the continuous packet number distribution function storage units 107, 207, and 307 are used. A random timer value is set using a random number, or a timer value registered in a predetermined order is set sequentially, and each time the timer value becomes “0”, each selection unit is activated, and the timer It is also possible to reset the value.
[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に記載のパケット通信網の品質模擬装置における各手段として機能させるためのプログラム。The program for functioning a computer as each means in the quality simulation apparatus of the packet communication network of Claim 1 . コンピュータを、請求項1に記載のパケット通信網の品質模擬装置における各手段として機能させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。A computer-readable recording medium storing a program for causing a computer to function as each means in the quality simulation device for a packet communication network according to claim 1 . パケット通信網におけるパケットの遅延品質を模擬するパケット通信網品質模擬装置の模擬方法であって、
上記パケット通信網からパケットを受信する第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:
JP2001192901A 2001-06-26 2001-06-26 Packet communication network quality simulation apparatus and method, program, and recording medium Expired - Fee Related JP3709461B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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