JP2003324479A - Ip simulator - Google Patents
Ip simulatorInfo
- Publication number
- JP2003324479A JP2003324479A JP2002131459A JP2002131459A JP2003324479A JP 2003324479 A JP2003324479 A JP 2003324479A JP 2002131459 A JP2002131459 A JP 2002131459A JP 2002131459 A JP2002131459 A JP 2002131459A JP 2003324479 A JP2003324479 A JP 2003324479A
- Authority
- JP
- Japan
- Prior art keywords
- simulator
- packet
- error
- packet loss
- server
- 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.)
- Pending
Links
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、IP(Internet Pr
otocol)シミュレータに関する。詳細には、試験対象と
なるサーバと、被試験対象となるクライアントとの間に
接続されたIPシミュレータであって、多数のクライア
ントによるアクセスを想定したサーバに対する負荷性能
評価試験を行うものに関する。TECHNICAL FIELD The present invention relates to an IP (Internet Pr
otocol) simulator. More specifically, the present invention relates to an IP simulator connected between a server to be tested and a client to be tested, which performs a load performance evaluation test on a server assuming access by many clients.
【0002】[0002]
【従来の技術】図1は、Webサーバ1と端末2とから
なるシステム構成図である。図1のような環境におい
て、Webサーバ1の負荷性能評価試験をシミュレーシ
ョンしたい場合を考える。特に、無線LANなどの環境
においては、以下のようなエラーが生じやすいので、こ
のような環境を作り出すことが必要とされる。2. Description of the Related Art FIG. 1 is a system configuration diagram comprising a Web server 1 and a terminal 2. Consider a case where a load performance evaluation test of the Web server 1 is desired to be simulated in the environment as shown in FIG. In particular, in an environment such as a wireless LAN, the following errors are likely to occur, so it is necessary to create such an environment.
【0003】(1)遅延量又はパケット損失量が、コネ
クション毎に異なる。
(2)遅延により、パケットの到着順序に逆転が生じ
る。
(3)遅延に基づく再送信により、複数の同一パケット
が到着する。
(4)トラヒック量に応じて遅延及びパケット損失が指
数関数的に増加する。(1) The amount of delay or the amount of packet loss differs for each connection. (2) Due to the delay, the packet arrival order is reversed. (3) Due to delay-based retransmission, multiple identical packets arrive. (4) Delay and packet loss exponentially increase according to the traffic volume.
【0004】図2は、図1のシステムをシミュレーショ
ンする従来のシミュレーションシステム構成図である。
図2によれば、Webサーバ1と、複数の端末2を収容
するハブ4との間に、IPシミュレータ3が備えられて
いる。IPシミュレータ3は、2つのネットワークイン
タフェース(例えばイーサネット(登録商標))を有
し、その間で送受信されるパケットに対して、遅延及び
パケット損失等のエラーを付与することができる。この
ようにパケット毎にエラーを付与することにより、実際
のインターネットに近い環境を作り出すことができ、W
ebサーバ1に対する負荷性能評価試験を行うことが可
能となる。FIG. 2 is a block diagram of a conventional simulation system for simulating the system of FIG.
According to FIG. 2, the IP simulator 3 is provided between the Web server 1 and the hub 4 that accommodates the plurality of terminals 2. The IP simulator 3 has two network interfaces (for example, Ethernet (registered trademark)), and can add errors such as delay and packet loss to packets transmitted and received between them. By adding an error to each packet in this way, an environment close to the actual Internet can be created.
It is possible to perform a load performance evaluation test on the eb server 1.
【0005】[0005]
【発明が解決しようとする課題】従来の技術によれば、
IPシミュレータ3によって付与されるエラーは、IP
レベルの送信元アドレス及び宛先アドレス毎に付与され
るものであった。なぜななら、実際のインターネットの
環境においては、遅延及びパケット損失等のエラーは伝
送路毎に生じるものであり、IPレベルでエラーを付与
するだけで十分だからである。しかしながら、シミュレ
ーションにおいては、IPレベルでエラーを付与するに
は、そのIPの数に応じた数の端末2を用意する必要が
ある。従って、Webサーバ3の負荷性能評価試験を十
分に行うためには、多大な数の端末2を用意しなければ
ならなかった。According to the prior art,
The error given by the IP simulator 3 is IP
It was assigned for each source address and destination address of the level. This is because in the actual Internet environment, errors such as delay and packet loss occur for each transmission path, and it is sufficient to add an error at the IP level. However, in the simulation, in order to give an error at the IP level, it is necessary to prepare as many terminals 2 as the number of IPs. Therefore, in order to sufficiently perform the load performance evaluation test of the Web server 3, a large number of terminals 2 had to be prepared.
【0006】そこで、本発明は、多大な数の端末を用意
することなく、パケットがエラーを生じる実際の環境を
作り出すことにより、サーバの負荷性能評価試験を行う
ことが可能となるIPシミュレータを提供することを目
的とする。Therefore, the present invention provides an IP simulator capable of carrying out a load performance evaluation test of a server by creating an actual environment in which a packet causes an error without preparing a large number of terminals. The purpose is to do.
【0007】[0007]
【課題を解決するための手段】本発明のIPシミュレー
タは、送受信されるパケットに対して、IPの送信元ア
ドレス及び宛先アドレスと、TCP(Transport Control
Protocol)又はUDP(User Datagram Protocol)の送信
元ポート番号及び宛先ポート番号との組からなるコネク
ション毎に、エラーを付与する手段を有することを特徴
とする。The IP simulator of the present invention, for a packet to be transmitted and received, has a source address and a destination address of the IP and a TCP (Transport Control).
Protocol) or UDP (User Datagram Protocol) and a means for giving an error to each connection made up of a combination of a source port number and a destination port number.
【0008】本発明の他の実施形態によれば、エラー
は、固定された遅延量又は変動する遅延量と、一定周期
毎のパケット損失又はランダム周期毎のパケット損失
と、パケット損失時におけるバースト的な複数パケット
の損失と、受信した1つパケットに対する同一且つ複数
のパケットの送信との個別又は組み合わせのものであっ
てもよい。According to another embodiment of the present invention, the error is a fixed delay amount or a variable delay amount, a packet loss at a fixed period or a packet loss at a random period, and a burst-like error at the time of packet loss. The loss of a plurality of packets and the transmission of the same and a plurality of packets for one received packet may be performed individually or in combination.
【0009】本発明の他の実施形態によれば、コネクシ
ョン毎に付与すべきエラーを設定したパターンファイル
を有することも好ましい。According to another embodiment of the present invention, it is also preferable to have a pattern file in which an error to be added for each connection is set.
【0010】[0010]
【発明の実施の形態】以下では、図面を用いて、本発明
の実施形態を詳細に説明する。DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.
【0011】図3は、本発明のシミュレーションシステ
ム構成図である。図3によれば、図1と比較して、端末
2が少なくとも1台用意されていればよく、ハブ4も必
要ない。本発明によれば、極めてシンプルなシステム構
成となる。FIG. 3 is a block diagram of the simulation system of the present invention. According to FIG. 3, as compared with FIG. 1, it is sufficient that at least one terminal 2 is prepared, and the hub 4 is not necessary. According to the present invention, the system configuration is extremely simple.
【0012】図4は、TCP又はUDP/IPのフレー
ム構成図である。従来のIPシミュレータは、IPヘッ
ダフィールドの送信元アドレス及び宛先アドレスに基づ
いて、エラーを付与するものであった。これに対し、本
発明のIPシミュレータは、更にTCPヘッダフィール
ドの送信ポート番号及び宛先ポート番号に基づいて、エ
ラーを付与することができる。また、UDPヘッダフィ
ールドの送信元ポート番号及び宛先ポート番号に基づい
て、エラーを付与することもできる。FIG. 4 is a frame structure diagram of TCP or UDP / IP. The conventional IP simulator adds an error based on the source address and the destination address of the IP header field. On the other hand, the IP simulator of the present invention can add an error based on the transmission port number and the destination port number of the TCP header field. Further, an error can be added based on the source port number and the destination port number in the UDP header field.
【0013】以下の表1は、遅延付与方法の比較表であ
る。従来は、シミュレータを通過する全てのパケットに
対して、遅延量として1つの遅延d[ms]しか付与するこ
とができなかった。これに対し、本発明によれば、TC
P又はUDPのコネクション毎に、遅延量としてd1〜
dn[ms]を付与することが可能となる。Table 1 below is a comparison table of the delay applying methods. Conventionally, only one delay d [ms] can be added as a delay amount to all packets passing through the simulator. On the other hand, according to the present invention, TC
For each P or UDP connection, the delay amount is d1 ~
It becomes possible to add dn [ms].
【0014】[0014]
【表1】 [Table 1]
【0015】図5は、本発明によるプロトコル概念図で
ある。図5によれば、Webサーバ1と端末2との間の
IPアドレスの対は、1つのみである。しかしながら、
TCP又はUDPによって、複数のコネクションが確立
されている。このコネクション毎に遅延及びパケット損
失等のエラーを付与することができる。これにより、端
末2は、1台であるものの、いかにも複数の端末と通信
しているかのような環境を作り出すことができる。FIG. 5 is a conceptual diagram of a protocol according to the present invention. According to FIG. 5, there is only one IP address pair between the Web server 1 and the terminal 2. However,
A plurality of connections are established by TCP or UDP. Errors such as delay and packet loss can be added to each connection. As a result, although there is only one terminal 2, it is possible to create an environment in which it is possible to communicate with a plurality of terminals.
【0016】以下の表2は、コネクション単位の遅延付
与のパターンファイルである。表2によれば、以下のよ
うなエラーを、パターンファイルに基づいて、個別に又
は組み合わせてパケットに付与する。
(1)固定された遅延量、又は、変動する遅延量(最大
遅延量を指定)
(2)一定周期毎のパケット損失、又は、ランダム周期
毎のパケット損失
(3)前記(2)のパケット損失時にバースト的な複数
パケットを損失
(4)受信した1つパケットに対して同一且つ複数のパ
ケットの送信Table 2 below is a pattern file of delay addition for each connection. According to Table 2, the following errors are added to the packet individually or in combination based on the pattern file. (1) Fixed delay amount or fluctuating delay amount (specify the maximum delay amount) (2) Packet loss for each fixed period or packet loss for each random period (3) Packet loss in (2) above Sometimes burst multiple packets are lost (4) Same and multiple packets are sent for one received packet
【0017】[0017]
【表2】 [Table 2]
【0018】表2において、例えば、端末の送信ポート
番号a及びWebサーバの送信ポート番号bの伝送路の
場合、固定的に10msの遅延が挿入され、60s〜1
20sでランダム周期でパケット損失が発生し、バース
ト的な損失はなく、同じパケットを送信することはな
い。また、例えば、端末の送信ポート番号c及びWeb
サーバの送信ポート番号dの伝送路の場合、10ms〜
20msの変動する遅延が挿入され、20sの固定周期
でパケット損失が発生し、損失が生じた際に10パケッ
トが一時に損失するバースト的な損失を生じ、受信した
1のパケットに対して3つのパケットを送信する。In Table 2, for example, in the case of the transmission line of the transmission port number a of the terminal and the transmission port number b of the Web server, a delay of 10 ms is fixedly inserted, and 60s to 1
Packet loss occurs at random intervals in 20 s, there is no burst-like loss, and the same packet is never transmitted. Also, for example, the transmission port number c of the terminal and the Web
In the case of the transmission path of the transmission port number d of the server, 10ms ~
A variable delay of 20 ms is inserted, a packet loss occurs at a fixed period of 20 s, and 10 packets are temporarily lost when the loss occurs. Send a packet.
【0019】図6は、本発明によるIPシミュレータ3
のプロトコル階層構成図である。図6によれば、物理層
及びデータリンク層からなるネットワークインタフェー
ス層31と、IP又はIPv6を制御するインターネッ
ト層32と、TCP又はUDPを制御するトランスポー
ト層33と、パターンファイル341を有し且つエラー
を付与するエラー付与部34とを有する。FIG. 6 shows an IP simulator 3 according to the present invention.
2 is a protocol hierarchy configuration diagram of FIG. 6, a network interface layer 31 including a physical layer and a data link layer, an internet layer 32 for controlling IP or IPv6, a transport layer 33 for controlling TCP or UDP, and a pattern file 341 are provided. And an error giving unit 34 that gives an error.
【0020】ネットワークインタフェース層31で受信
されたパケットは、インターネット層32において、送
信元アドレス及び宛先アドレスが検出される。次に、そ
のパケットは、トランスポート層33において、送信元
ポート番号及び宛先ポート番号が検出される。これによ
り、コネクション毎にパケットが検出される。次に、エ
ラー付与部34によって、パターンファイル341に基
づいてコネクション毎に遅延又はパケット損失のエラー
が付与される。遅延されたパケットは、トランスポート
層33、インターネット層32及びネットワークインタ
フェース層31を介して、サーバ1へ送信される。一
方、パケット損失とされたパケットは、そのまま廃棄さ
れる。The source address and the destination address of the packet received by the network interface layer 31 are detected by the Internet layer 32. Next, in the transport layer 33, the source port number and the destination port number of the packet are detected. As a result, a packet is detected for each connection. Next, the error adding unit 34 adds a delay or packet loss error for each connection based on the pattern file 341. The delayed packet is transmitted to the server 1 via the transport layer 33, the internet layer 32, and the network interface layer 31. On the other hand, the packet considered as packet loss is discarded as it is.
【0021】前述した本発明によるIPシミュレータの
実施形態において、本発明の技術思想及び見地の範囲の
種々の変更、修正及び省略が、当業者によれば容易に行
うことができる。前述の説明はあくまで例であって、何
ら制約しようとするものではない。本発明は、特許請求
の範囲及びその均等物として限定するものにのみ制約さ
れる。In the embodiment of the IP simulator according to the present invention described above, those skilled in the art can easily make various changes, modifications and omissions of the technical idea and scope of the present invention. The above description is merely an example and is not intended to be limiting. The invention is limited only by the claims and equivalents thereof.
【0022】[0022]
【発明の効果】以上、詳細に説明したように、本発明の
IPシミュレータを用いることにより、多大な数の端末
を用意することなく、パケットがエラーを生じる実際の
環境を作り出すことにより、サーバの負荷性能評価試験
を行うことが可能となる。As described above in detail, by using the IP simulator of the present invention, it is possible to create an actual environment in which a packet causes an error without preparing a large number of terminals, and It becomes possible to perform a load performance evaluation test.
【図1】サーバと端末とからなるシステム構成図であ
る。FIG. 1 is a system configuration diagram including a server and a terminal.
【図2】従来のシミュレーションシステム構成図であ
る。FIG. 2 is a configuration diagram of a conventional simulation system.
【図3】本発明のシミュレーションシステム構成図であ
る。FIG. 3 is a configuration diagram of a simulation system of the present invention.
【図4】TCP又はUDP/IPのフレーム構成図であ
る。FIG. 4 is a frame configuration diagram of TCP or UDP / IP.
【図5】本発明によるプロトコル概念図である。FIG. 5 is a conceptual diagram of a protocol according to the present invention.
【図6】本発明によるIPシミュレータのプロトコル階
層構成図である。FIG. 6 is a protocol hierarchy diagram of an IP simulator according to the present invention.
1 Webサーバ 2 端末 3 IPシミュレータ 31 ネットワークインタフェース層 32 インターネット層 33 トランスポート層 34 エラー付与部 341 パターンファイル 4 ハブ 1 Web server 2 terminals 3 IP simulator 31 Network Interface Layer 32 Internet layer 33 Transport layer 34 Error giving section 341 pattern file 4 hubs
───────────────────────────────────────────────────── フロントページの続き (72)発明者 篠永 英之 埼玉県上福岡市大原二丁目1番15号 株式 会社ケイディーディーアイ研究所内 Fターム(参考) 5B089 GA11 GA21 GB02 HA10 JB19 5K030 GA12 HB12 HB17 JA10 KX30 LD20 MC03 5K033 AA05 CB06 CB08 DB20 ─────────────────────────────────────────────────── ─── Continued front page (72) Inventor Hideyuki Shinonaga 2-15-1 Ohara, Kamifukuoka City, Saitama Stock Company CAD Research Institute F term (reference) 5B089 GA11 GA21 GB02 HA10 JB19 5K030 GA12 HB12 HB17 JA10 KX30 LD20 MC03 5K033 AA05 CB06 CB08 DB20
Claims (3)
なるクライアントとの間に接続されたIPシミュレータ
において、 送受信されるパケットに対して、IPの送信元アドレス
及び宛先アドレスと、TCP又はUDPの送信元ポート
番号及び宛先ポート番号との組からなるコネクション毎
に、エラーを付与する手段を有することを特徴とするI
Pシミュレータ。1. An IP simulator connected between a server to be tested and a client to be tested, for a packet to be transmitted / received, an IP source address and a destination address, and TCP or UDP. I has a means for giving an error to each connection consisting of a combination of a source port number and a destination port number of
P simulator.
ト損失と、 パケット損失時におけるバースト的な複数パケットの損
失と、 受信した1つパケットに対する同一且つ複数のパケット
の送信との個別又は組み合わせのものであることを特徴
とする請求項1に記載のIPシミュレータ。2. The error includes a fixed delay amount or a variable delay amount, a packet loss for every fixed period or a packet loss for every random period, a burst-like loss of a plurality of packets at the time of packet loss, and reception. 2. The IP simulator according to claim 1, wherein the IP simulator is a single packet or a combination of transmission of the same and a plurality of packets.
ラーを設定したパターンファイルを有することを特徴と
する請求項1又は2に記載のIPシミュレータ。3. The IP simulator according to claim 1, further comprising a pattern file in which the error to be added for each connection is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002131459A JP2003324479A (en) | 2002-05-07 | 2002-05-07 | Ip simulator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002131459A JP2003324479A (en) | 2002-05-07 | 2002-05-07 | Ip simulator |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2003324479A true JP2003324479A (en) | 2003-11-14 |
Family
ID=29544083
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002131459A Pending JP2003324479A (en) | 2002-05-07 | 2002-05-07 | Ip simulator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2003324479A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006075390A1 (en) * | 2005-01-14 | 2006-07-20 | Fujitsu Limited | Repeating method, repeater, communication system, and computer program |
JP2006319978A (en) * | 2005-05-12 | 2006-11-24 | Agilent Technol Inc | In-line network simulator |
KR100921762B1 (en) * | 2007-08-13 | 2009-10-15 | 후지쯔 가부시끼가이샤 | Repeating method, repeater, communication system, and recording medium having computer program recorded |
JP2010097274A (en) * | 2008-10-14 | 2010-04-30 | Sony Computer Entertainment Inc | Communication processor and communication processing method |
JP2010157875A (en) * | 2008-12-26 | 2010-07-15 | Fujitsu Ltd | Communication terminal, network interface card, and method therefor |
US8566903B2 (en) | 2010-06-29 | 2013-10-22 | International Business Machines Corporation | Enterprise evidence repository providing access control to collected artifacts |
-
2002
- 2002-05-07 JP JP2002131459A patent/JP2003324479A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006075390A1 (en) * | 2005-01-14 | 2006-07-20 | Fujitsu Limited | Repeating method, repeater, communication system, and computer program |
US7948892B2 (en) | 2005-01-14 | 2011-05-24 | Fujitsu Limited | Relay method, relay device, communication system, and computer program |
JP2006319978A (en) * | 2005-05-12 | 2006-11-24 | Agilent Technol Inc | In-line network simulator |
KR100921762B1 (en) * | 2007-08-13 | 2009-10-15 | 후지쯔 가부시끼가이샤 | Repeating method, repeater, communication system, and recording medium having computer program recorded |
JP2010097274A (en) * | 2008-10-14 | 2010-04-30 | Sony Computer Entertainment Inc | Communication processor and communication processing method |
JP2010157875A (en) * | 2008-12-26 | 2010-07-15 | Fujitsu Ltd | Communication terminal, network interface card, and method therefor |
US8566903B2 (en) | 2010-06-29 | 2013-10-22 | International Business Machines Corporation | Enterprise evidence repository providing access control to collected artifacts |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | The design and implementation of the NCTUns 1.0 network simulator | |
Riley | Large-scale network simulations with GTNetS | |
Baumgart et al. | OverSim: A flexible overlay network simulation framework | |
CN101656677B (en) | Message diversion processing method and device | |
US7804785B2 (en) | Network system having an instructional sequence for performing packet processing and optimizing the packet processing | |
CN103001846B (en) | Embedded end-to-end delay information for data network | |
US20090154464A1 (en) | Method and system for simulating network address translation | |
EP3499797A1 (en) | Pptp vpn-based accelerated access method, apparatus and device | |
CN105634977A (en) | Method and device for discovering a path maximum transmission unit (PMTU) | |
JP2003324479A (en) | Ip simulator | |
US7526420B2 (en) | Method and system for virtual injection of network application codes into network simulation | |
CN103701626B (en) | The preparation method of bandwidth information and the equipment for obtaining bandwidth information | |
Kokkonen et al. | Analysis of approaches to internet traffic generation for cyber security research and exercise | |
Dukkipati et al. | Building a RCP (rate control protocol) test network | |
Bateman et al. | TCP testing: How well does ns2 match reality? | |
WO2008083579A1 (en) | Method, recording media and system for testing routing message protocol performance of network apparatus | |
WO1999063439A1 (en) | Apparatus and method for testing network applications | |
CN107231316A (en) | The transmission method and device of message | |
Salmon et al. | Simulation based experiments using ednas: The event-driven network architecture simulator | |
JP2004312725A5 (en) | ||
CN100396019C (en) | Method for simulating terminal data and method for simulating data source of mobile terminal | |
JP2001308924A (en) | Traffic generator | |
Song et al. | The throughput critical condition study for reliable multipath transport | |
JP3941925B2 (en) | Network pseudo device | |
Li | Node-oriented modeling and simulation of ip networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040916 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060517 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060530 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20061024 |