JP2000183883A - Device and method for multimedia traffic load generation and program recording medium therefor - Google Patents

Device and method for multimedia traffic load generation and program recording medium therefor

Info

Publication number
JP2000183883A
JP2000183883A JP10357024A JP35702498A JP2000183883A JP 2000183883 A JP2000183883 A JP 2000183883A JP 10357024 A JP10357024 A JP 10357024A JP 35702498 A JP35702498 A JP 35702498A JP 2000183883 A JP2000183883 A JP 2000183883A
Authority
JP
Japan
Prior art keywords
traffic
multimedia
generating
data
packet
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.)
Withdrawn
Application number
JP10357024A
Other languages
Japanese (ja)
Inventor
Hironori Mizuno
裕識 水野
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10357024A priority Critical patent/JP2000183883A/en
Publication of JP2000183883A publication Critical patent/JP2000183883A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a device which can easily generate traffic in consideration of various features of multimedia as a device which generates a traffic load on a network handling multimedia. SOLUTION: In a traffic data storage part 2, encoded traffic data of various multimedia are prepared. A transmission procedure and quality setting part 11 sets a transmission procedure and quality (IP address, transmission start time, etc.), for the generation of traffic according to a script and a traffic data storage part 2 and a traffic generation part 13 adds a header corresponding to a protocol to traffic data read in from the traffic data storage part 2 according to the information set by the part 11 to generate and send out a packet to the network.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は,マルチメディアを
扱うネットワークのトラフィック負荷を生成するマルチ
メディアトラフィック負荷生成装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a multimedia traffic load generating apparatus for generating a traffic load of a network handling multimedia.

【0002】今後のマルチメディアの普及に伴い,様々
なトラフィックがネットワークに流れてくることが予想
される。一方,ネットワークの高帯域化に伴って,ネッ
トワークの設備機器の能力確認や試験を行わなければな
らず,いろいろなネットワークの負荷計測を行う必要が
生じている。
[0002] With the spread of multimedia in the future, it is expected that various traffics will flow through networks. On the other hand, as the bandwidth of a network increases, it is necessary to check and test the capabilities of network equipment, and it is necessary to measure the load of various networks.

【0003】一般にマルチメディアトラフィックは,そ
れぞれのメディアの特徴や規格に基づいて生成されると
いう特徴を持つ。そこで,マルチメディアアプリケーシ
ョンの試験や開発のためのネットワークの負荷状態を作
り出すために,様々なメディアを反映するデータのトラ
フィックを生成することが望まれる。
Generally, multimedia traffic has a characteristic that it is generated based on characteristics and standards of each medium. Therefore, it is desired to generate data traffic reflecting various media in order to create a network load state for testing and developing multimedia applications.

【0004】[0004]

【従来の技術】従来,ネットワーク上を流れるデータを
監視するネットワークアナライザがあり,その一部の機
能としてネットワークに負荷をかける機能がある。しか
し,ネットワークアナライザは,基本的にはネットワー
ク上を流れるデータを監視する機能に限定され,ネット
ワークアナライザのトラフィック生成機能は,数バイト
規模のネットワークプロトコルの一部機能を送出して,
データが正しく生成され接続状態にあるかどうかを試験
する程度のものである。したがって,種々のパターンを
持つマルチメディアの特徴を考慮したデータトラフィッ
クを生成することはできず,また,帯域を指定したトラ
フィック生成という立場からネットワークに負荷をかけ
ることはできなかった。
2. Description of the Related Art Conventionally, there is a network analyzer for monitoring data flowing on a network, and there is a function of applying a load to the network as a part of the function. However, the network analyzer is basically limited to the function of monitoring data flowing on the network, and the traffic generation function of the network analyzer sends out some functions of the network protocol of several bytes scale,
It is just a test to see if the data is correctly generated and connected. Therefore, it was not possible to generate data traffic in consideration of the characteristics of multimedia having various patterns, and it was not possible to put a load on the network from the standpoint of traffic generation with a designated band.

【0005】[0005]

【発明が解決しようとする課題】ネットワークアナライ
ザのトラフィック生成機能のような,従来のネットワー
クトラフィック生成装置は,パケットの送出間隔,パケ
ット長を指定する方法がなく,またバイト内容を指定し
て送信することにより,特定のメディアを再現させる目
的でトラフィックを生成することはできない。
A conventional network traffic generation device such as a traffic generation function of a network analyzer has no method for specifying a packet transmission interval and a packet length, and transmits a packet by specifying byte contents. As a result, traffic cannot be generated for the purpose of reproducing a specific medium.

【0006】マルチメディアトラフィックを扱う場合に
は,上記のようにパケット単位で扱うだけではなく,様
々なマルチメディアの規格に準拠するパターンのトラフ
ィックを送出できるかどうかが課題になる。また,ネッ
トワークで起こり得るパケット欠損などの劣化を,トラ
フィックを送信する際に擬似的に行わせる機能の実現も
課題となる。
[0006] When handling multimedia traffic, it is important to handle not only packets as described above but also to transmit traffic of a pattern conforming to various multimedia standards. It is also an issue to realize a function of simulating degradation such as packet loss that can occur in a network when transmitting traffic.

【0007】本発明は上記課題の解決を図り,様々な規
格に基づいたマルチメディアトラフィックを簡単な仕組
みで生成し,また,ネットワークで起こり得る劣化を擬
似的に行わせることができるネットワークトラフィック
の生成を可能にすることを目的とする。
[0007] The present invention solves the above-mentioned problems, generates multimedia traffic based on various standards by a simple mechanism, and generates network traffic capable of simulating degradation that can occur in a network. The purpose is to enable.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するた
め,本発明のマルチメディアトラフィックを発生する装
置は,様々なトラフィックパターンを標準データテンプ
レートで持っていて,送出するトラフィックに応じてこ
れらを切り替えることで,マルチメディアトラフィック
を実現する。標準データテンプレートとは,エンコード
(符号化)されたトラフィックデータであり,送信時に
はリアルタイムにエンコードする装置を必要としない。
また,トラフィックの負荷試験を容易に行うことができ
るようにするために,トラフィックを送出する順序をス
クリプトで記述することができるものとする。
In order to solve the above-mentioned problems, the apparatus for generating multimedia traffic according to the present invention has various traffic patterns in a standard data template, and switches between them according to the traffic to be transmitted. Thus, multimedia traffic is realized. The standard data template is traffic data that has been encoded (encoded), and does not require a real-time encoding device at the time of transmission.
Also, in order to easily perform a traffic load test, the order in which traffic is transmitted can be described by a script.

【0009】図1は,本発明のブロック構成例を示す図
である。トラフィック負荷生成装置1は,スクリプト入
力装置3からトラフィック生成のためのスクリプトを入
力し,パケットの送信手順やトラフィックの品質を設定
する送信手順・品質設定部11と,イーサネット(登録
商標)等のネットワークにパケット送信するために,送
信手順・品質設定部11により設定された情報中のIP
アドレスからMACアドレスを獲得するMACアドレス
解決部12と,送信手順・品質設定部11による設定情
報に基づいてトラフィックデータにヘッダを添付してパ
ケットを送信し,またはパケット欠損を擬似的に生成す
るためにパケットを廃棄するトラフィック生成部13
と,送信履歴に関する送信情報を記録する送信ログ生成
部14を持つ。
FIG. 1 is a diagram showing an example of a block configuration according to the present invention. The traffic load generation device 1 inputs a script for generating traffic from the script input device 3, a transmission procedure / quality setting unit 11 for setting a packet transmission procedure and traffic quality, and a network such as Ethernet (registered trademark). In the information set by the transmission procedure / quality setting unit 11 to transmit a packet to the
To transmit a packet by attaching a header to traffic data based on setting information from a MAC address resolution unit 12 for acquiring a MAC address from an address and a transmission procedure / quality setting unit 11, or to generate a packet loss in a pseudo manner. Generation unit 13 for discarding packets
And a transmission log generation unit 14 for recording transmission information on the transmission history.

【0010】トラフィックデータ記憶部2は,あらかじ
めエンコードされたテキストデータ,画像データ,音声
データというようなマルチメディアの様々なトラフィッ
クデータを記憶する磁気ディスクその他の二次記憶装置
である。スクリプト入力装置3は,送信手順・トラフィ
ック品質を規定するスクリプトを入力する装置であり,
キーボード装置,GUI(Graphical User Interface)
を持つ装置などによって構成される。または,スクリプ
ト入力装置3は,あらかじめ作成されたスクリプトを記
憶する磁気ディスクなどの装置でもよい。トラフィック
品質として,メディアの種類や利用帯域などの送信パラ
メータを指定することができる。
The traffic data storage unit 2 is a magnetic disk or other secondary storage device that stores various multimedia traffic data such as text data, image data, and audio data that have been encoded in advance. The script input device 3 is a device for inputting a script defining a transmission procedure and traffic quality.
Keyboard device, GUI (Graphical User Interface)
It is composed of a device having Alternatively, the script input device 3 may be a device such as a magnetic disk that stores a script created in advance. As the traffic quality, transmission parameters such as the type of media and the band used can be specified.

【0011】本発明は以下のように作用する。トラフィ
ック負荷生成装置1は,スクリプト入力装置3から入力
されたスクリプトを解釈して送信手順を設定する。その
後,トラフィックデータ記憶部2に記憶されたトラフィ
ックデータをメモリ上にコピーして読み出して,MAC
アドレス解決部12により,送信手順・品質設定部11
で設定したIPアドレスからMACアドレスを取得す
る。トラフィック生成部13は,送信手順・品質設定部
11による設定情報に基づいて,トラフィックデータに
ヘッダを添付してIPパケット化し,このパケットデー
タを送信または廃棄することでトラフィック負荷を生成
する。このときの送信情報を,メモリに残しておく。送
信ログ生成部14は送信中にメモリに残された送信情報
から送信ログを作成して記録する。
The present invention operates as follows. The traffic load generation device 1 interprets the script input from the script input device 3 and sets a transmission procedure. After that, the traffic data stored in the traffic data storage unit 2 is copied and read out on the memory,
The transmission procedure / quality setting unit 11
The MAC address is obtained from the IP address set in the step. The traffic generation unit 13 generates a traffic load by attaching a header to the traffic data to form an IP packet based on the setting information by the transmission procedure / quality setting unit 11 and transmitting or discarding the packet data. The transmission information at this time is left in the memory. The transmission log generator 14 creates and records a transmission log from transmission information left in the memory during transmission.

【0012】本発明では,マルチメディアのトラフィッ
クパターンを予め用意しているので,これらのデータを
時間情報をもとにIPパケット化することで,ネットワ
ークトラフィックを生成することができる。すなわち,
標準的なテンプレートに沿った形式で格納されるマルチ
メディアデータと帯域等の送出パラメータ等を指定する
ことで,簡単にネットワーク負荷としてのマルチメディ
アトラフィックを得ることができる。
In the present invention, since a multimedia traffic pattern is prepared in advance, network traffic can be generated by converting these data into IP packets based on time information. That is,
By specifying multimedia data stored in a format conforming to a standard template and transmission parameters such as a band, multimedia traffic as a network load can be easily obtained.

【0013】[0013]

【発明の実施の形態】以下,本発明の実施の形態を説明
する。はじめに,本発明で用いるトラフィックデータに
ついて説明する。本装置は,様々なマルチメディアのト
ラフィックパターンのテンプレートを,トラフィックデ
ータとして磁気ディスク等の2次記憶装置によって構成
されるトラフィックデータ記憶部2に格納しておく。送
出するトラフィックに応じて,使用するトラフィックデ
ータを切り替えることで,マルチメディアトラフィック
を実現する。
Embodiments of the present invention will be described below. First, traffic data used in the present invention will be described. This apparatus stores templates of various multimedia traffic patterns as traffic data in a traffic data storage unit 2 constituted by a secondary storage device such as a magnetic disk. Multimedia traffic is realized by switching the traffic data to be used according to the traffic to be transmitted.

【0014】例えば,音声データとしては,「ITU−
T Gシリーズ」勧告の電話帯域符号化方式の符号化デ
ータを標準データテンプレートとして用意する。音声デ
ータでは,H323の符号化形式のなかでG.723.
1が利用されることが多い。これらの符号化形式のビッ
トレートはあらかじめ定数で決まっており,G.72
3.1の場合には,6.3kbps,5.3kbpsの
2種類である。出力データは,30msec(ミリ秒)
間隔に,192ビット(6.3kbps),160ビッ
ト(5.3kbps)である。数分から数十分の音声を
符号化した結果をトラフィックデータとしてトラフィッ
クデータ記憶部2に格納しておく。例えば,10分間程
度の音声であれば5Mバイト程度の少ないデータでよ
い。同様に動画データも,MPEG1,MPEG2のよ
うに符号化を行った結果をトラフィックデータとして格
納する。
For example, as audio data, "ITU-
The coded data of the telephone band coding method recommended in the "TG series" is prepared as a standard data template. For audio data, the G.323 format in the H323 encoding format is used. 723.
1 is often used. The bit rates of these encoding formats are determined in advance by constants. 72
In the case of 3.1, there are two types, 6.3 kbps and 5.3 kbps. Output data is 30msec (millisecond)
The intervals are 192 bits (6.3 kbps) and 160 bits (5.3 kbps). The result of encoding several minutes to several tens of minutes of speech is stored in the traffic data storage unit 2 as traffic data. For example, if the sound is about 10 minutes, a small amount of data of about 5 Mbytes may be used. Similarly, for moving image data, the result of encoding like MPEG1 and MPEG2 is stored as traffic data.

【0015】このようにして,マルチメディアごとのト
ラフィックデータを蓄積できるため,新規に導入される
符号化形式に対しても,その新しい符号化形式に応じて
エンコードしたものをトラフィックデータ記憶部2に追
加するだけで,容易に対応することができる。このトラ
フィックデータはエンコードされたテンプレートデータ
であり,リアルタイムにエンコードする必要がない。し
たがって,エンコードのための回路規模を削減すること
ができる。
In this way, since the traffic data for each multimedia can be stored, the traffic data stored in the traffic data storage unit 2 is encoded according to the new encoding format even for a newly introduced encoding format. It can be easily handled simply by adding it. This traffic data is encoded template data and does not need to be encoded in real time. Therefore, the circuit scale for encoding can be reduced.

【0016】図2は,図1に示す装置を実現するハード
ウェアの構成例を示す。トラフィック負荷生成装置1
は,CPU40とメモリ41に格納されたプログラムと
によって実現される。RTC42は,実時間を計測する
リアルタイムクロックである。磁気ディスク装置43
は,トラフィックデータ記憶部2を有し,マルチメディ
アの種類に応じた標準データテンプレートを記憶する。
スクリプト入力装置3は,ディスプレイ44,キーボー
ド45などによって実現される。NIC(ネットワーク
インタフェースカード)46は,ネットワークへのデー
タ送受信制御を行うネットワークインタフェースカード
である。
FIG. 2 shows an example of a hardware configuration for realizing the apparatus shown in FIG. Traffic load generator 1
Is realized by the CPU 40 and a program stored in the memory 41. The RTC 42 is a real-time clock that measures real time. Magnetic disk device 43
Has a traffic data storage unit 2 and stores a standard data template corresponding to the type of multimedia.
The script input device 3 is realized by a display 44, a keyboard 45, and the like. The NIC (network interface card) 46 is a network interface card that controls transmission and reception of data to and from a network.

【0017】トラフィックデータを外部ネットワークへ
送信する場合,CPU40は,磁気ディスク装置43の
トラフィックデータ記憶部2からメモリ41上にデータ
を読み出し,メモリ上のデータに対し,順にスクリプト
によって指定された送信パラメータに従ってパケットヘ
ッダを付け,そのパケットデータをメモリ41からNI
C46のバッファへ転送する。これによって,NIC4
6から所定のプロトコルに従ったパケットが送信され
る。
When transmitting traffic data to an external network, the CPU 40 reads data from the traffic data storage unit 2 of the magnetic disk device 43 onto the memory 41, and sequentially transmits the data on the memory to transmission parameters specified by a script. The packet data is transferred from the memory 41 to the NI
Transfer to the buffer of C46. By this, NIC4
6 transmits a packet according to a predetermined protocol.

【0018】図3は,図1に示す装置の処理フロー図で
ある。送信手順・品質設定部11は,スクリプト入力装
置3から入力したスクリプトをもとに,送信指示として
トラフィックとその品質等を指定する(ステップS
1)。
FIG. 3 is a processing flowchart of the apparatus shown in FIG. The transmission procedure / quality setting unit 11 specifies traffic and its quality as transmission instructions based on the script input from the script input device 3 (step S).
1).

【0019】スクリプトの内容は,送信手順を規定する
もので,以下のようなデータ構造を持つ。このデータ構
造に従ったスクリプトは,一度に多数指定することがで
きる。 〔スクリプトのデータ構造の例〕(トラフィックデー
タ,送信開始時刻[msec],送信時間[mse
c],送信レート[bps],IPアドレス(6バイ
ト),ネットマスク(6バイト),廃棄確率(ランダム
/コンスタント)) 基本的には,送信開始時刻と送信先IPアドレスを指定
するだけで該当トラフィックは送信開始が可能となる。
また,複数の端末に対する送信開始時刻は,最初の端末
への送信が開始されてからの相対時間に置き換えられ
る。
The contents of the script define the transmission procedure and have the following data structure. A number of scripts according to this data structure can be specified at one time. [Example of script data structure] (traffic data, transmission start time [msec], transmission time [msec
c], transmission rate [bps], IP address (6 bytes), netmask (6 bytes), drop probability (random / constant)) Basically, only by specifying the transmission start time and destination IP address Traffic can be started to be transmitted.
The transmission start time for a plurality of terminals is replaced with a relative time from the start of transmission to the first terminal.

【0020】トラフィックデータの指定は,トラフィッ
クデータ記憶部2に,すでにトラフィックデータがエン
コードされて格納されているため,送信手順・品質設定
部11により,一覧形式で確認または選択することがで
きる。また,送信手順・品質設定部11は,一覧で視覚
的に確認可能なインタフェースを持つ。本実施の形態で
は,スクリプト入力装置3から,スクリプトをテキスト
データの列で入力できるほか,GUIなどを利用したメ
ニュー選択などによりインタラクティブに入力すること
もできる。
Since the traffic data is already encoded and stored in the traffic data storage unit 2, the transmission procedure / quality setting unit 11 can confirm or select the traffic data in a list format. The transmission procedure / quality setting unit 11 has an interface that can be visually confirmed in a list. In the present embodiment, a script can be input as a string of text data from the script input device 3, and can also be input interactively by menu selection using a GUI or the like.

【0021】送信時間は,格納されたトラフィックデー
タ長が固定であることから,送信レートから自動的に定
まる。また,送信時間を延ばすことでデータ送信を繰り
返すことが可能となる。
The transmission time is automatically determined from the transmission rate since the stored traffic data length is fixed. Further, by extending the transmission time, data transmission can be repeated.

【0022】MACアドレス解決部12は,IPアドレ
スとMACアドレスのアドレス変換テーブルを作成する
(ステップS2)。ここで,複数端末へのトラフィック
を発生させる場合,スクリプトでIPアドレスを複数指
定するが,イーサネットに送信するためにはMACアド
レスも必要である。IPアドレス(4バイト)とMAC
アドレス(6バイト)の対応をARP(Address
Resolution Protocol)によって
獲得し,2つのアドレスをペアとしたアドレス変換テー
ブルを作成する。
The MAC address resolution section 12 creates an address conversion table for the IP address and the MAC address (step S2). Here, when generating traffic to a plurality of terminals, a plurality of IP addresses are designated by a script, but a MAC address is also required for transmission to Ethernet. IP address (4 bytes) and MAC
ARP (Address)
Resolution Protocol), and creates an address translation table in which two addresses are paired.

【0023】トラフィック生成部13は,トラフィック
データ(音声データ,画像データ等)をトラフィックデ
ータ記憶部2からメモリにロードし(ステップS3),
トラフィック品質から1回に送信するデータ量を決定し
(ステップS4),端末向けの転送を開始する(ステッ
プS5)。
The traffic generator 13 loads the traffic data (audio data, image data, etc.) from the traffic data storage 2 into the memory (step S3),
The amount of data to be transmitted at one time is determined from the traffic quality (step S4), and transfer to the terminal is started (step S5).

【0024】端末向けの転送の処理では,図3(B)に
示すように,リアルタイムクロック(RTC)をモニタ
し,送信時刻または送信時間間隔を越えたならば(ステ
ップS51),パケットの生成か欠損かを判定し(ステ
ップS52),パケット生成の場合には,パケットにヘ
ッダを付加して転送する(ステップS53)。パケット
欠損の場合には,パケットを生成せず廃棄する(ステッ
プS54)。後に送信ログを作成するために,このとき
の時刻情報(RTC情報),パケット長,パケット欠損
等の送信情報をメモリに残す(ステップS55)。その
後,送信予定のデータをすべて転送したかどうか,また
は指定された転送終了時間になったかどうかなどによ
り,転送終了かどうかを判定し,転送を続ける場合には
ステップS51へ戻り,RTCのモニタを続ける。
In the transfer process for the terminal, as shown in FIG. 3B, the real-time clock (RTC) is monitored, and if the transmission time or the transmission time interval is exceeded (step S51), the generation of the packet is performed. It is determined whether or not the packet is lost (step S52). If a packet is generated, the packet is transferred with a header added (step S53). If the packet is lost, the packet is discarded without being generated (step S54). In order to create a transmission log later, transmission information such as time information (RTC information), packet length, and packet loss at this time is left in the memory (step S55). Thereafter, it is determined whether or not the transfer is completed based on whether or not all the data to be transmitted has been transferred, or whether or not a designated transfer end time has been reached. to continue.

【0025】転送終了の場合には,送信ログ作成部14
により,メモリに残された送信情報から送信ログをファ
イルに作成する(ステップS6)。すなわち,送信中に
RTC情報,パケット長,欠損等の送信情報がメモリに
残されるので,送信が完了した後に,送信時から一連の
情報を集めて送信ログのファイルを作成する。この送信
ログから送信レートや送信遅延を求めることが可能にな
る。
When the transfer is completed, the transmission log creating unit 14
Thus, a transmission log is created in a file from the transmission information left in the memory (step S6). That is, since transmission information such as RTC information, packet length, loss, and the like is left in the memory during transmission, after transmission is completed, a series of information is collected from the time of transmission to create a transmission log file. The transmission rate and transmission delay can be obtained from the transmission log.

【0026】上記ステップS53におけるヘッダの付加
では,スクリプトの指定,送信するデータの規格によ
り,3種類のプロトコル(IP,UDP,RT)を区別
してヘッダを添付する。ヘッダのデータ構造は,IET
F(Internet Engineering Ta
sk Force)の各RFC(Request Fo
r Comments)で定義された形式を利用する。
すでにMACアドレス解決部12により対応づけている
アドレス変換テーブルを参照して,IPアドレスからM
ACアドレスを獲得し,最終的にネットワークに送出す
るイーサフレームデータに必要なMACアドレスを添付
する。パケットには,RTP,UDP,IP,Ethe
rframeの順番にヘッダを添付して,イーサフレー
ムデータにする。
In the addition of the header in step S53, the header is attached by distinguishing three types of protocols (IP, UDP, and RT) according to the specification of the script and the standard of the data to be transmitted. The data structure of the header is IET
F (Internet Engineering Ta)
SK Force) RFC (Request Fo)
r Comments).
Referring to the address conversion table already associated by the MAC address resolution unit 12, the
An AC address is acquired, and a necessary MAC address is attached to the Ethernet frame data finally transmitted to the network. RTP, UDP, IP, Ethe
A header is attached in the order of rframe to make Ethernet frame data.

【0027】パケットの欠損を擬似できるようにするた
めに,端末ごとに転送カウンタを用意しておき,1回の
イーサフレームデータが送出されるごとに転送カウンタ
を1つ増やす。スクリプトで指定された確率に基づいて
任意の定数を決め,転送カウンタがその定数倍になれば
パケットを廃棄する。例えば,99.5%で送信指定さ
れた場合には,1000回の間に5つのイーサフレーム
データを廃棄するが,コンスタントという指定がされて
いる場合には200回ごとに1つのイーサフレームを廃
棄する。また,ランダムという指定がなされている場合
には,一度に5つ連続して廃棄したり,また,先ず4つ
廃棄してから,後に別のタイミングで1つ廃棄するなど
の指定ができる。
In order to simulate a packet loss, a transfer counter is prepared for each terminal, and the transfer counter is increased by one each time one Ethernet frame data is transmitted. An arbitrary constant is determined based on the probability specified in the script, and the packet is discarded when the transfer counter is multiplied by the constant. For example, if transmission is specified at 99.5%, five Ethernet frame data are discarded during 1000 times, but if constant is specified, one Ethernet frame is discarded every 200 times. I do. If the designation of random is made, designation can be made such that five are discarded consecutively at a time, or four are discarded first, and then one is discarded at another timing.

【0028】送信については,ヘッダを添付されるとメ
モリ上には送信待ちの1つのイーサフレームデータがで
きるので,このイーサフレームデータをネットワークイ
ンタフェースカード(NIC)のメモリにコピーするこ
とで,ネットワークインタフェースからデータが送信さ
れる。ネットワークインタフェースカードが受け取った
今回のイーサフレームデータが送信されるかどうかは,
前回送信したRTC情報から今回送信するRTC情報の
差分が送信間隔を越えていれば,送信される。RTCは
マイクロ秒単位に相対時間を獲得することができる。
For transmission, one Ethernet frame data waiting to be transmitted is formed in the memory when the header is attached. By copying this Ethernet frame data to the memory of the network interface card (NIC), the network interface card is copied. Sends data. Whether or not this Ethernet frame data received by the network interface card is transmitted
If the difference between the previously transmitted RTC information and the currently transmitted RTC information exceeds the transmission interval, it is transmitted. RTC can obtain relative time in microseconds.

【0029】以上のように,トラフィック負荷生成装置
1は,パケット内容を指定でき,その結果パケット長が
定まり,その送信時間間隔を指定することによりトラフ
ィックの生成を制御する。
As described above, the traffic load generating device 1 can specify the packet contents, and as a result, the packet length is determined, and controls the generation of traffic by specifying the transmission time interval.

【0030】また,異なるメディアデータをそれぞれパ
ケット化して複数のトラフィックとして多重化でき,こ
の混合されたパケットを複数ある送信口の任意の送信口
から送出することができる。送信口としては,例えばG
igabitEthernetの光の送信口や10Ba
se−T,100Base−TXのEthernet
(登録商標)のモジュール送信口を複数装備する。これ
らの送信口に適切なケーブルを挿入し,その一方を相手
受信装置の口に挿入して利用する。これにより,音声デ
ータと画像データという複数の異なるメディアを同一の
ネットワークを介して同時に送信できる。例えば,G.
723.1符号化形式の音声データを1000本同時に
出力する場合には,6.3Mbpsとなるが,通常のイ
ーサネットでも十分転送可能である。
Also, different media data can be packetized and multiplexed as a plurality of traffics, and the mixed packets can be transmitted from any of a plurality of transmitting ports. For example, G
igabitEthernet light transmission port and 10Ba
se-T, 100Base-TX Ethernet
Equipped with multiple (registered trademark) module transmission ports. Appropriate cables are inserted into these transmission ports, and one of them is inserted into the port of the other receiver and used. As a result, a plurality of different media such as audio data and image data can be simultaneously transmitted via the same network. For example, G.
When 1,000 pieces of audio data in the 723.1 encoding format are simultaneously output, the data rate is 6.3 Mbps, but it can be sufficiently transferred even with ordinary Ethernet.

【0031】また,本発明では,どのような品質のトラ
フィックをどのような順番に,どの送信口から送信する
かをスクリプトにより指定し,そのスクリプトの順序通
りにトラフィックを送出でき,例えば,異なる複数の音
声データを時間指定して順番に送出することができる。
Further, according to the present invention, it is possible to specify the quality of traffic in what order and from which transmitting port by using a script, and to transmit the traffic in the order of the script. Can be transmitted in order by designating the time.

【0032】また,トラフィックデータをもとに送出す
るパケットを生成するが,ネットワークプロトコルとし
て,IPを前提にして,さらにその上位であるUDPや
RTPプロトコルによりパケットを生成することができ
る。ネットワークに最終的に送信する場合には,イーサ
ネットにフレーム化して送り出す。このようにして他の
インターネット設備機器との相互通信を可能にする。例
えば,音声データ(G.723.1)の場合には,30
ミリ秒ごとに192ビットデータをIPパケット化すれ
ばよく,UDP,RTPのヘッダを付けて順序付けす
る。
In addition, a packet to be transmitted is generated based on traffic data. The packet can be generated by using a UDP or RTP protocol, which is an upper layer of the network, based on IP as a network protocol. When finally transmitting to the network, it is framed and transmitted to Ethernet. In this way, mutual communication with other Internet equipment is enabled. For example, in the case of audio data (G.723.1), 30
What is necessary is just to convert the 192-bit data into an IP packet every millisecond, and attach the UDP and RTP headers and order them.

【0033】また,生成したパケットをそのまま送信す
るのではなく,一度バッファしておいて,その送信順序
を変更してから送出するようにもできる。現在のインタ
ーネットでは,パケットの到着順序を保証することがで
きないことから,任意に送信順序を変更できるようにす
ることにより,それに類似した状況を再現することが可
能になる。また,送信データを欠損させることで,完全
にデータを送信しないように設定することもできる。例
えば,時系列的に生成されたパケットを一度バッファし
て,その送信する順序をスクリプトにより変更すること
や,バッファされたパケットを確率的に廃棄して完全で
ないデータを送信することができる。
Instead of transmitting the generated packet as it is, the packet may be buffered once and then transmitted after changing the transmission order. In the current Internet, since the order of arrival of packets cannot be guaranteed, by making it possible to arbitrarily change the order of transmission, it is possible to reproduce a situation similar to that. Further, by setting the transmission data to be lost, it can be set so that the data is not completely transmitted. For example, it is possible to buffer the packets generated in time series once and change the transmission order by using a script, or to stochastically discard the buffered packets and transmit incomplete data.

【0034】また,生成した送信ログファイルを利用し
て,送信ログのデータフレームの順序等の出力結果を,
受信側のログと比較することにより不正なデータの検出
等を容易に行うことが可能となる。
Also, by using the generated transmission log file, the output result such as the order of the data frame of the transmission log is obtained.
By comparing the log with the log on the receiving side, it is possible to easily detect illegal data and the like.

【0035】本装置の特徴を列挙すると,以下のとおり
である。 (a) ネットワークにデータを送出するにあたって,トラ
フィックデータ量を調整しながら送出する機能を持つ。 (b) 画像や音声からなるマルチメディアトラフィックを
送出するために,画像や音声の規格に準じるパラメータ
によってトラフィックパターンを指定して送出する機能
を持つ。 (c) 画像や音声の規格に準じたマルチメディアトラフィ
ックを発生するために,マルチメディアのトラフィック
データをテンプレートとして蓄積する機能を持つ。 (d) 画像や音声の規格ごとに異なるマルチメディアトラ
フィックを複数同時に発生して,ネットワークに送出す
る機能を持つ。 (e) トラフィックの利用帯域の指定や時間軸上の送出順
序を指定できるような簡易スクリプトに従ってトラフィ
ックの発生を制御する機能を持つ。 (f) マルチメディアトラフィックに限定することなし
に,ネットワークに負荷をかけることを目的として,パ
ケットのデータ内容,パケットを送り出す間隔,パケッ
トの長さ,最大送信パケット数を指定する機能を持つ。 (g) 出力装置として,インターネットで一般的に利用さ
れるインターネットプロトコル(IP)を基準にその上
位層のUDP,RTPプロトコルの形式で送信する機能
を持つ。 (h) ネットワークアダプタと同様の手段でネットワーク
に接続し,Ethernet,GigabitEthe
rnetなどのネットワーク上に物理的な電気信号とし
て送出するようにすることも可能である。 (i) インターネットにおける送信パケットの振る舞いに
似せる目的から,パケットの送信順序を適当に変更した
り,擬似的にパケットを欠損させて送信する機能を持
つ。 (j) また,負荷試験や耐久試験の実施に対して,様々な
トラフィックを簡易スクリプトにより半自動に行わせ
て,その結果をログとして保存する機能を持つ。
The features of the present apparatus are as follows. (a) It has a function to send data to the network while adjusting the amount of traffic data. (b) In order to send out multimedia traffic consisting of images and sounds, it has a function to specify and send a traffic pattern using parameters that conform to the image and sound standards. (c) It has a function to store multimedia traffic data as a template in order to generate multimedia traffic conforming to the video and audio standards. (d) It has the function of simultaneously generating a plurality of different multimedia traffic for each image and audio standard and sending it to the network. (e) It has a function to control the generation of traffic according to a simple script that can specify the bandwidth used for traffic and the transmission order on the time axis. (f) A function to specify the packet data content, the packet sending interval, the packet length, and the maximum number of transmitted packets for the purpose of putting a load on the network without being limited to multimedia traffic. (g) The output device has a function of transmitting data in the upper layer UDP and RTP protocols based on the Internet Protocol (IP) generally used in the Internet. (h) Connect to the network by the same means as the network adapter, and use Ethernet, GigabitEthe
It is also possible to send it out as a physical electrical signal on a network such as rnet. (i) For the purpose of imitating the behavior of the transmission packet on the Internet, it has a function of appropriately changing the transmission order of the packet or transmitting the packet with a pseudo loss of the packet. (j) In addition, it has a function that semi-automatically performs various traffics for the execution of load tests and endurance tests using a simple script, and saves the results as a log.

【0036】[0036]

【発明の効果】以上説明したように,本発明によれば特
定のマルチメディアトラフィックを生成してネットワー
ク負荷を生成する装置を実現することができる。これに
より,マルチメディアトラフィック試験を簡単に行うこ
とができ,ネットワーク機器の耐久試験やネットワーク
負荷試験などを行うことができる。
As described above, according to the present invention, it is possible to realize an apparatus for generating a specific multimedia traffic and generating a network load. As a result, a multimedia traffic test can be easily performed, and a durability test and a network load test of a network device can be performed.

【0037】マルチメディアトラフィックの試験として
実際に多数のアプリケーションを用意することなしに,
擬似トラフィックを多数生成できる。また,トラフィッ
クデータを構成するパケット単位に欠損させたり,送出
するタイミングを変更できることから,実際の送信パケ
ットをインターネットを通過してきたように振る舞わせ
ることが可能になり,マルチメディアアプリケーション
の試験および開発に役立てることができる。
Without actually preparing a large number of applications for testing multimedia traffic,
Many pseudo traffic can be generated. In addition, since the transmission data can be lost or changed for each packet constituting the traffic data, it is possible to make the actual transmission packet behave as if it has passed through the Internet. Can help.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のブロック構成例を示す図である。FIG. 1 is a diagram illustrating an example of a block configuration according to the present invention.

【図2】図1に示す装置のハードウェア構成例を示す図
である。
FIG. 2 is a diagram illustrating an example of a hardware configuration of the device illustrated in FIG. 1;

【図3】図1に示す装置の処理フローを示す図である。FIG. 3 is a diagram showing a processing flow of the apparatus shown in FIG. 1;

【符号の説明】[Explanation of symbols]

1 トラフィック負荷生成装置 11 送信手順・品質設定部 12 MACアドレス解決部 13 トラフィック生成部 14 送信ログ生成部 2 トラフィックデータ記憶部 3 スクリプト入力装置 REFERENCE SIGNS LIST 1 traffic load generation device 11 transmission procedure / quality setting unit 12 MAC address resolution unit 13 traffic generation unit 14 transmission log generation unit 2 traffic data storage unit 3 script input device

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 マルチメディアを扱うネットワークのト
ラフィック負荷を生成する装置であって,種々の規格に
従って生成した複数のトラフィックデータをテンプレー
トとして保持するトラフィックデータ記憶手段と,トラ
フィック負荷を生成する際のトラフィックデータの送信
手順・トラフィック品質を設定する送信手順・品質設定
手段と,前記トラフィックデータ記憶手段から1または
複数のトラフィックデータを読み込み,前記設定された
送信手順・トラフィック品質に基づいて当該トラフィッ
クデータにヘッダを添付してパケット化し,そのパケッ
トをネットワークに送出するトラフィック生成手段とを
備えることを特徴とするマルチメディアトラフィック負
荷生成装置。
1. An apparatus for generating a traffic load of a network handling multimedia, comprising: a traffic data storage unit for storing a plurality of traffic data generated in accordance with various standards as a template; and a traffic for generating a traffic load. A transmission procedure / quality setting means for setting a data transmission procedure / traffic quality; and one or more pieces of traffic data read from the traffic data storage means, and a header included in the traffic data based on the set transmission procedure / traffic quality. And a traffic generating means for packetizing the packet and sending the packet to a network.
【請求項2】 請求項1に記載するマルチメディアトラ
フィック負荷生成装置において,前記トラフィックデー
タ記憶手段が保持するトラフィックデータは,メディア
ごとに所定の符号化形式であらかじめ符号化されたデー
タであることを特徴とするマルチメディアトラフィック
負荷生成装置。
2. The multimedia traffic load generating device according to claim 1, wherein said traffic data stored in said traffic data storage means is data encoded in advance in a predetermined encoding format for each medium. Multimedia traffic load generator characterized by the following.
【請求項3】 請求項1に記載するマルチメディアトラ
フィック負荷生成装置において,少なくともトラフィッ
クの利用帯域の指定,時間軸上の送信順序の指定が可能
なスクリプトを入力するスクリプト入力手段を備え,前
記送信手順・品質設定手段は,前記スクリプト入力手段
により入力したスクリプトに基づいて送信手順・トラフ
ィック品質を設定することを特徴とするマルチメディア
トラフィック負荷生成装置。
3. The multimedia traffic load generating apparatus according to claim 1, further comprising script input means for inputting a script capable of specifying at least a traffic use band and a transmission order on a time axis. A multimedia traffic load generating device, wherein the procedure / quality setting means sets a transmission procedure / traffic quality based on a script input by the script input means.
【請求項4】 請求項3に記載するマルチメディアトラ
フィック負荷生成装置において,前記スクリプトに,送
信するパケットを欠損させる指示が記述されていた場合
に,前記トラフィック生成手段は,前記送信手順・品質
設定手段の設定に基づき,擬似的にパケットを欠損させ
て送信することを特徴とするマルチメディアトラフィッ
ク負荷生成装置。
4. The multimedia traffic load generating device according to claim 3, wherein, when the script includes an instruction to delete a packet to be transmitted, the traffic generating unit performs the transmission procedure / quality setting. A multimedia traffic load generating apparatus, wherein a packet is artificially lost and transmitted based on a setting of a means.
【請求項5】 請求項1に記載するマルチメディアトラ
フィック負荷生成装置において,前記トラフィック生成
手段が送信した結果の情報をもとに,送信ログを生成し
記録する送信ログ生成手段を備えることを特徴とするマ
ルチメディアトラフィック負荷生成装置。
5. The multimedia traffic load generating device according to claim 1, further comprising a transmission log generating unit for generating and recording a transmission log based on information of a result transmitted by said traffic generating unit. Multimedia traffic load generator.
【請求項6】 マルチメディアを扱うネットワークのト
ラフィック負荷を生成する方法であって,種々の規格に
従ってあらかじめ生成した複数のメディアごとのトラフ
ィックデータをテンプレートとして保持し,送信手順を
規定するスクリプトによって指示された情報に基づき,
該当するメディアのトラフィックデータに,プロトコル
に応じたヘッダを添付してパケットを生成し,そのパケ
ットをネットワークに送出することを特徴とするマルチ
メディアトラフィック負荷生成方法。
6. A method for generating a traffic load of a network that handles multimedia, wherein traffic data for each of a plurality of media generated in advance according to various standards is held as a template, and is specified by a script defining a transmission procedure. Based on the information
A method for generating a multimedia traffic load, comprising generating a packet by attaching a header corresponding to a protocol to traffic data of a corresponding medium, and transmitting the packet to a network.
【請求項7】 マルチメディアを扱うネットワークのト
ラフィック負荷を生成するためのプログラムを記録した
記録媒体であって,トラフィック負荷を生成する際のト
ラフィックデータの送信手順・トラフィック品質を,指
示されたスクリプトに従って設定する処理と,種々の規
格に従って生成した複数のトラフィックデータをテンプ
レートとして保持する手段から1または複数のトラフィ
ックデータを読み込み,前記設定された送信手順・トラ
フィック品質に基づいて当該トラフィックデータにヘッ
ダを添付してパケット化し,そのパケットをネットワー
クに送出する処理とを,計算機に実行させるプログラム
を記録したことを特徴とするトラフィック負荷生成用の
プログラム記録媒体。
7. A recording medium on which a program for generating a traffic load of a network handling multimedia is recorded, wherein a transmission procedure and traffic quality of traffic data at the time of generating a traffic load are determined according to a designated script. Setting processing and reading one or a plurality of traffic data from a means for holding a plurality of traffic data generated in accordance with various standards as a template, and attaching a header to the traffic data based on the set transmission procedure / traffic quality A program recording medium for generating a traffic load, characterized by recording a program for causing a computer to execute a process of packetizing the packet and transmitting the packet to a network.
JP10357024A 1998-12-16 1998-12-16 Device and method for multimedia traffic load generation and program recording medium therefor Withdrawn JP2000183883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10357024A JP2000183883A (en) 1998-12-16 1998-12-16 Device and method for multimedia traffic load generation and program recording medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10357024A JP2000183883A (en) 1998-12-16 1998-12-16 Device and method for multimedia traffic load generation and program recording medium therefor

Publications (1)

Publication Number Publication Date
JP2000183883A true JP2000183883A (en) 2000-06-30

Family

ID=18451994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10357024A Withdrawn JP2000183883A (en) 1998-12-16 1998-12-16 Device and method for multimedia traffic load generation and program recording medium therefor

Country Status (1)

Country Link
JP (1) JP2000183883A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004173284A (en) * 2002-11-20 2004-06-17 Cegetel Tracking method and tracking device for multimedia message through remote communication network
JP2005080288A (en) * 2003-08-29 2005-03-24 Ixia Automated characterization of network traffic
JP2007173883A (en) * 2005-12-19 2007-07-05 Nippon Telegr & Teleph Corp <Ntt> Video communication system, action information creation method, device, and program, video deterioration state handling method, device, and program, and computer-readable recording medium storing action information creation program and video deterioration state handling program
JP2008048096A (en) * 2006-08-14 2008-02-28 Nippon Telegr & Teleph Corp <Ntt> Traffic generation system, traffic generating method, traffic generating program, and traffic control apparatus
JP2008086034A (en) * 2003-05-21 2008-04-10 Ixia Automatic description of network traffic characteristics
JP2011010079A (en) * 2009-06-26 2011-01-13 Kyowa Exeo Corp Testing apparatus for home network and method of the same
JP2011030051A (en) * 2009-07-28 2011-02-10 Nippon Telegr & Teleph Corp <Ntt> Network quality measuring system and method, and program
US11483227B2 (en) 2020-10-13 2022-10-25 Keysight Technologies, Inc. Methods, systems and computer readable media for active queue management

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004173284A (en) * 2002-11-20 2004-06-17 Cegetel Tracking method and tracking device for multimedia message through remote communication network
JP2008086034A (en) * 2003-05-21 2008-04-10 Ixia Automatic description of network traffic characteristics
JP4620103B2 (en) * 2003-05-21 2011-01-26 イクシア Automatic characterization of network traffic
JP2005080288A (en) * 2003-08-29 2005-03-24 Ixia Automated characterization of network traffic
JP4531486B2 (en) * 2003-08-29 2010-08-25 イクシア Automatic characterization of network traffic
JP2007173883A (en) * 2005-12-19 2007-07-05 Nippon Telegr & Teleph Corp <Ntt> Video communication system, action information creation method, device, and program, video deterioration state handling method, device, and program, and computer-readable recording medium storing action information creation program and video deterioration state handling program
JP4684878B2 (en) * 2005-12-19 2011-05-18 日本電信電話株式会社 Action information creation method, video degradation state handling method, action information creation device, video degradation state handling device, action information creation program, video degradation state handling program, and computer-readable recording medium recording these programs
JP2008048096A (en) * 2006-08-14 2008-02-28 Nippon Telegr & Teleph Corp <Ntt> Traffic generation system, traffic generating method, traffic generating program, and traffic control apparatus
JP2011010079A (en) * 2009-06-26 2011-01-13 Kyowa Exeo Corp Testing apparatus for home network and method of the same
JP2011030051A (en) * 2009-07-28 2011-02-10 Nippon Telegr & Teleph Corp <Ntt> Network quality measuring system and method, and program
US11483227B2 (en) 2020-10-13 2022-10-25 Keysight Technologies, Inc. Methods, systems and computer readable media for active queue management

Similar Documents

Publication Publication Date Title
US20020015387A1 (en) Voice traffic packet capture and analysis tool for a data network
US20020016937A1 (en) Method and apparatus for utilizing a network processor as part of a test system
US7002993B1 (en) Method and apparatus providing media aggregation in a packet-switched network
US7376132B2 (en) Passive system and method for measuring and monitoring the quality of service in a communications network
EP1793528B1 (en) Method of monitoring the quality of a realtime communication
KR100916288B1 (en) Method and apparatus for determination of network topology
US20080304420A1 (en) Apparatus and method for performing a loopback test in a communication system
WO2007033542A1 (en) A method for testing the network capability and the device thereof
CN101517948A (en) Communication device, communication method, and recording medium
JP5694717B2 (en) Traffic distribution control process and apparatus
US20210037080A1 (en) Methods and apparatus for the encoding of audio and/or video data
JP2000183883A (en) Device and method for multimedia traffic load generation and program recording medium therefor
US20020016708A1 (en) Method and apparatus for utilizing a network processor as part of a test system
CN114401253B (en) Video transmission method in analog network based on WebRTC
KR100725853B1 (en) Device and method for testing multiple protocols
JP4511271B2 (en) Method and apparatus for providing QoS statistics
CN114024598B (en) Forwarding interface test method and device
JP4050270B2 (en) Pseudo base station apparatus and videophone terminal test method using the apparatus
JP2002077240A (en) Probe control system and transmitting terminal for executing the same
JP2002290436A (en) Voice communication device, its method and recording medium with its program recorded
EP1201072B1 (en) Test method for computer telephony links
WO2007040482A1 (en) Apparatus and method for performing a loopback test in a communication system
CN116708258B (en) Background flow network topology convergence method and device
CN116232442B (en) Communication method, device and storage medium based on TCP/IP protocol and CCSDS protocol
JP2001024662A (en) Communication control system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307