JP3941925B2 - Network pseudo device - Google Patents
Network pseudo device Download PDFInfo
- Publication number
- JP3941925B2 JP3941925B2 JP2002054640A JP2002054640A JP3941925B2 JP 3941925 B2 JP3941925 B2 JP 3941925B2 JP 2002054640 A JP2002054640 A JP 2002054640A JP 2002054640 A JP2002054640 A JP 2002054640A JP 3941925 B2 JP3941925 B2 JP 3941925B2
- Authority
- JP
- Japan
- Prior art keywords
- packet
- network
- header
- pseudo
- protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
【0001】
【発明の属する技術分野】
本発明はネットワーク擬似装置に関し、特に外部から受信したパケットが入出力される擬似ネットワークを含む擬似ネットワークを含むネットワーク擬似装置に関する。
【0002】
【従来の技術】
一般に、技術携帯電話網のような大規模なネットワークにおいては、新しい通信方式を開発し、新しい通信方式を利用するネットワークを構築する際に、新しい通信方式の妥当性を判断する必要がある。この妥当性の判断は、既存通信方式のネットワークで動作しているアプリケーションを、新しい通信方式のネットワークで実際に動作させ、伝送特性を測定することにより行うことが多い。
【0003】
しかしながら、新しい通信方式のネットワークでアプリケーションを実際に動作させるためには、大規模なネットワークを構築する必要があり、現実的ではない。そのため、新しい通信方式のネットワークの伝送特性を擬似するネットワーク擬似装置を用いてアプリケーションの伝送特性を測定することになる。
【0004】
【発明が解決しようとする課題】
しかしながら、ネットワーク擬似装置の一般的な構成では、擬似ネットワーク部に転送されるパケットサイズを本来ネットワークに転送されるパケットのサイズと同じにするために、パケット送信/受信に、特殊なプロトコルを採用する必要がある。そのため、アプリケーションが動作する端末に特殊なプロトコルを実装することになる。
【0005】
もしくは、パケット送受信に汎用的なプロトコルを用いて、パケット送受信に用いるプロトコルのヘッダが付いたまま、装置内の擬似ネットワーク部にパケットを転送することになる。そのため擬似ネットワーク部に転送されるパケットのサイズは、本来ネットワークに転送されるパケットのサイズと異なるものになる。
【0006】
本発明は上述した従来技術の欠点を解決するためになされたものであり、その目的は特殊なプロトコルを導入せず、リンクプロトコルには汎用的なプロトコルを用いたまま、擬似ネットワークを通過するフレームのトータルサイズを本来のネットワークと同等にすることができるネットワーク擬似装置を提供することである。
【0007】
【課題を解決するための手段】
本発明の請求項1によるネットワーク擬似装置は、外部から受信したパケットが入出力される擬似ネットワークを含むネットワーク擬似装置であって、前記受信したパケットが、特定のプロトコルによるパケットか否かを判定する判定手段と、この判定手段により前記特定のプロトコルによるパケットであると判定されたとき、該パケットを前記擬似ネットワーク用のパケットに変換する変換手段とを含み、前記変換手段による変換後のパケットを前記擬似ネットワークに入力し、前記判定手段により前記特定のプロトコルによるパケットでないと判定されたが、他のプロトコルによるパケットである場合、該パケットを外部に出力することを特徴とする。
【0008】
本発明の請求項2によるネットワーク擬似装置は、請求項1において、前記パケットは、ヘッダを含み、前記判定手段は前記ヘッダの内容に基づいてプロトコルを判定し、前記変換手段は前記ヘッダを削除することを特徴とする。
本発明の請求項3によるネットワーク擬似装置は、請求項2において、前記変換手段は前記擬似ネットワークから出力されるパケットに前記ヘッダを付加し、この付加されたパケットを外部に出力することを特徴とする。
【0009】
本発明の請求項4によるネットワーク擬似装置は、請求項1において、前記判定手段により前記特定のプロトコルによるパケットでないと判定されたとき、該パケットを廃棄することを特徴とする。
【0010】
要するに、本装置では、受信するパケットを監視し、予め設定したパタンに基づき送受信パケットのヘッダ部を変更し、擬似ネットワークへのパケット転送制御を行う。つまり、送受信パケットのヘッダ部を変更し、パケット転送制御を行うことにより、パケット送受信に汎用的なプロトコルを用いたまま、転送するパケットサイズに対応する伝送特性を正確に擬似することができる。
【0011】
【発明の実施の形態】
次に、図面を参照して本発明の実施の形態について説明する。なお、以下の説明において参照する各図においては、他の図と同等部分に同一符号が付されている。
図1は本発明によるネットワーク擬似装置の実施の一形態を示すブロック図である。同図に示されているように、本実施形態によるネットワーク擬似装置1は、ネットワークの伝送特性を有する擬似ネットワーク部10と、インターフェイス12及び22と、ヘッダが予め定められた特定のプロトコルによるパケットのヘッダと合致するか、その一致又は不一致を判断するパタンマッチング部13及び23並びにヘッダパタンマッチング部16及び26と、パケットのヘッダを削除する処理を行うヘッダ削除部14及び24と、パケットにヘッダを付加する処理を行うヘッダ付加部15及び25とを含んで構成されている。
【0012】
このような構成からなるネットワーク擬似装置1は、インターフェイス12を介して装置外部の端末11に接続されている。また、ネットワーク擬似装置1は、インターフェイス22を介して装置外部の端末21に接続されている。そして、端末11と端末21とはネットワーク擬似装置1を介して通信できるようになっている。なお、本例において、端末11とネットワーク擬似装置1との間のリンクプロトコル、及び、端末12とネットワーク擬似装置1との間のリンクプロトコルは、イーサネット(登録商標)(以下、Rと略す)である。
【0013】
擬似ネットワーク部10は、ネットワークの伝送特性を擬似する機能を有する。擬似ネットワーク部10の擬似対象ネットワークはリンクプロトコルにイーサネット(R)を用いないネットワークとする。
インターフェイス12において、端末11から受信したイーサネット(R)のフレームは、パタンマッチング部13に転送され、パタンマッチング部13は、フレーム中のヘッダが設定された条件式(後述)に合致するかを検証する。条件式に合致する場合、フレームはヘッダ削除部14に転送されて、フレーム中のイーサネット(R)のヘッダが削除され、擬似ネットワーク部10にパケットが転送される。つまり、ヘッダの内容に基づいてプロトコルを判定し、ヘッダを削除することによってパケットを擬似ネットワーク部10用のパケットに変換する。
【0014】
一方、条件式に合致しなかった場合、フレームは、ヘッダパタンマッチング部16に転送される。ヘッダパタンマッチング部16はフレーム中のヘッダが設定された条件式に合致するかを検証する。条件式に合致する場合、上記プロトコルとは異なる他のプロトコルによるパケットであるため、インターフェイス22に転送する。合致しない場合はフレームを廃棄する。
【0015】
同様に、インターフェイス22において、端末21から受信したイーサネット(R)フレームは、パタンマッチング部23に転送され、パタンマッチング部23は、フレーム中のヘッダが、設定された条件式(後述)に合致するかを検証する。条件式に合致する場合、フレームはヘッダ削除部24に転送されて、フレーム中のイーサネット(R)のヘッダが削除される。このヘッダ削除後のパケットが、擬似ネットワーク部10に転送される。つまり、ヘッダの内容に基づいてプロトコルを判定し、ヘッダを削除することによってパケットを擬似ネットワーク部10用のパケットに変換する。
【0016】
一方、条件式に合致しなかった場合、フレームは、ヘッダパタンマッチング部26に転送される。ヘッダパタンマッチング部26はフレーム中のヘッダが設定された条件式に合致するかを検証する。条件式に合致する場合、上記プロトコルとは異なる他のプロトコルによるパケットであるため、インターフェイス12に転送する。条件式に合致しない場合はフレームを廃棄する。
【0017】
擬似ネットワーク部10は、擬似するネットワークの伝送特性に従って、ヘッダ削除部14から受け取るフレームに遅延付加してヘッダ付加部25に受け渡すか、廃棄する。同様に、ヘッダ削除部24から受け取るパケットに遅延付加してヘッダ付加部15に受け渡すか、廃棄する。
ヘッダ付加部15は擬似ネットワーク部10から受信したフレームに、ヘッダ削除部24で削除したヘッダを付加して、イーサネット(R)のフレームを再構成する。この再構成したフレームをインターフェイス12に転送する。同様に、ヘッダ付加部25は擬似ネットワーク部10から受信したフレームに、ヘッダ削除部14で削除したヘッダを付加して、イーサネット(R)のフレームを再構成し、インターフェイス22に転送する。
【0018】
ここで、各パタンマッチング部13、23、16、26における条件式の設定例が図2に示されている。同図に示されているように、パタンマッチング部13及び23においては、MAC(Media Access Control)アドレスをマッチングの対象とする。まず、パタンマッチング部13においては、宛先MACアドレス=端末21のMACアドレスであり、かつ、送り元MACアドレス=端末11のMACアドレスであることを条件式とする。また、パタンマッチング部23においては、宛先MACアドレス=端末11のMACアドレスであり、かつ、送り元MACアドレス=端末21のMACアドレスであることを条件式とする。そして、ヘッダパタンマッチング部16においてはイーサネット(R)タイプ=ARP(Address Resolution Protocol)であることを条件式とし、ヘッダパタンマッチング部26においてはイーサネット(R)タイプ=ARPであることを条件式とする。
【0019】
同図に示されている条件式を用いることにより、端末11、端末12の間でやり取りされるイーサネット(R)のフレームのみについて、イーサネット(R)のヘッダを取り除かれ、このヘッドが取り除かれたフレームが、擬似ネットワーク部10を通過する。一方、アドレス解決のためのARPプロトコルのフレームは、擬似ネットワーク部10を通過せずに、端末11と端末21との間で直接やりとりされる。
【0020】
上述したように、擬似ネットワーク部10の擬似対象ネットワークはリンクプロトコルにイーサネット(R)を用いないネットワークである。このため、本来のネットワークでは、ARPプロトコルのパケットは発生しない。擬似ネットワーク部10を通過するフレームのトータルサイズが、本来のネットワークと同等となる。
【0021】
以上のように本装置では、予め定められた条件と一致するヘッダ部を削除し、擬似ネットワークに転送することで、パケット送受信に汎用的なプロトコルを用いたまま、転送すべきパケットサイズに対応する伝送特性を正確に擬似することができる。
なお、以上はイーサネット(R)の場合について説明したが、これに限定されず他のプロトコルの場合についても本発明が適用できることは明白である。
【0022】
【発明の効果】
以上説明したように本発明は、ネットワーク擬似装置において、受信フレームのパタンマッチング、フレームの転送制御、フレームヘッダ削除及びフレームヘッダ付加を行うことにより、特殊なプロトコルを導入せず、リンクプロトコルには汎用的なプロトコルを用いたまま、擬似ネットワークを通過するフレームのトータルサイズを本来のネットワークと同等にすることができるという効果がある。
【図面の簡単な説明】
【図1】本発明によるネットワーク擬似装置の実施の一形態を示すブロック図である。
【図2】図1のネットワーク擬似装置におけるパタンマッチング部の条件式設定例を示す図である。
【符号の説明】
1 ネットワーク擬似装置
10 擬似ネットワーク部
11、21 端末
12、22 インターフェイス
13、16 パタンマッチング部
14、24 ヘッダ削除部
15、25 ヘッダ付加部
16、26 ヘッダパタンマッチング部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a network simulation apparatus, and more particularly to a network simulation apparatus including a pseudo network including a pseudo network in which a packet received from outside is input / output.
[0002]
[Prior art]
In general, in a large-scale network such as a technical mobile phone network, it is necessary to develop a new communication method and determine the validity of the new communication method when constructing a network that uses the new communication method. This validity determination is often made by actually running an application operating on a network of an existing communication system on a network of a new communication system and measuring transmission characteristics.
[0003]
However, in order to actually run an application on a new communication system network, it is necessary to construct a large-scale network, which is not realistic. Therefore, the transmission characteristics of an application are measured using a network simulation device that simulates the transmission characteristics of a network of a new communication method.
[0004]
[Problems to be solved by the invention]
However, in the general configuration of the network pseudo device, a special protocol is adopted for packet transmission / reception in order to make the packet size transferred to the pseudo network unit the same as the packet size originally transferred to the network. There is a need. Therefore, a special protocol is mounted on the terminal where the application operates.
[0005]
Alternatively, a general-purpose protocol is used for packet transmission / reception, and the packet is transferred to the pseudo network unit in the apparatus with the protocol header used for packet transmission / reception attached. Therefore, the size of the packet transferred to the pseudo network unit is different from the size of the packet originally transferred to the network.
[0006]
The present invention has been made to solve the above-described drawbacks of the prior art, and the object thereof is to introduce a frame that passes through a pseudo network without introducing a special protocol and using a general-purpose protocol as a link protocol. Is to provide a network simulation apparatus that can make the total size of the network equivalent to that of the original network.
[0007]
[Means for Solving the Problems]
The network pseudo device according to claim 1 of the present invention is a network pseudo device including a pseudo network in which a packet received from outside is inputted and outputted, and determines whether or not the received packet is a packet according to a specific protocol. A determination unit; and a conversion unit that converts the packet into a packet for the pseudo network when the determination unit determines that the packet is based on the specific protocol, and converts the packet converted by the conversion unit into the packet The packet is input to the pseudo network, and the determination unit determines that the packet is not based on the specific protocol. If the packet is based on another protocol, the packet is output to the outside .
[0008]
The network simulation apparatus according to claim 2 of the present invention is the network simulation apparatus according to claim 1, wherein the packet includes a header, the determination unit determines a protocol based on the content of the header, and the conversion unit deletes the header. It is characterized by that.
The network pseudo apparatus according to claim 3 of the present invention is characterized in that, in claim 2, the conversion means adds the header to a packet output from the pseudo network, and outputs the added packet to the outside. To do.
[0009]
A network simulation apparatus according to claim 4 of the present invention is characterized in that, in claim 1, when the determination means determines that the packet is not based on the specific protocol, the packet is discarded .
[0010]
In short, this apparatus monitors received packets, changes the header part of transmission / reception packets based on a preset pattern, and performs packet transfer control to the pseudo network. That is, by changing the header part of the transmission / reception packet and performing packet transfer control, it is possible to accurately simulate the transmission characteristics corresponding to the packet size to be transferred while using a general-purpose protocol for packet transmission / reception.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings. In each drawing referred to in the following description, the same reference numerals are given to the same parts as in the other drawings.
FIG. 1 is a block diagram showing an embodiment of a network simulation apparatus according to the present invention. As shown in the figure, the network simulation apparatus 1 according to the present embodiment includes a
[0012]
The network simulation apparatus 1 having such a configuration is connected to a terminal 11 outside the apparatus via an
[0013]
The
In the
[0014]
On the other hand, when the conditional expression is not met, the frame is transferred to the header
[0015]
Similarly, in the interface 22, the Ethernet (R) frame received from the
[0016]
On the other hand, when the conditional expression is not met, the frame is transferred to the header
[0017]
The
The
[0018]
Here, an example of setting the conditional expressions in each of the
[0019]
By using the conditional expression shown in the figure, the header of the Ethernet (R) is removed from only the Ethernet (R) frame exchanged between the terminal 11 and the terminal 12, and this head is removed. The frame passes through the
[0020]
As described above, the simulated target network of the
[0021]
As described above, in the present apparatus, the header portion that matches a predetermined condition is deleted and transferred to the pseudo network, so that the packet size to be transferred can be handled while using a general protocol for packet transmission / reception. Transmission characteristics can be accurately simulated.
Although the case of Ethernet (R) has been described above, it is obvious that the present invention can be applied to the case of other protocols without being limited to this.
[0022]
【The invention's effect】
As described above, the present invention does not introduce a special protocol by performing pattern matching of received frames, frame transfer control, frame header deletion, and frame header addition in a network pseudo device, and is a general-purpose link protocol. There is an effect that the total size of the frames passing through the pseudo network can be made equal to that of the original network while using a conventional protocol.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a network simulation apparatus according to the present invention.
FIG. 2 is a diagram illustrating an example of setting a conditional expression of a pattern matching unit in the network simulation apparatus of FIG. 1;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002054640A JP3941925B2 (en) | 2002-02-28 | 2002-02-28 | Network pseudo device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002054640A JP3941925B2 (en) | 2002-02-28 | 2002-02-28 | Network pseudo device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003258847A JP2003258847A (en) | 2003-09-12 |
JP3941925B2 true JP3941925B2 (en) | 2007-07-11 |
Family
ID=28665740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002054640A Expired - Fee Related JP3941925B2 (en) | 2002-02-28 | 2002-02-28 | Network pseudo device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3941925B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005134560A (en) * | 2003-10-29 | 2005-05-26 | Fujitsu Display Technologies Corp | Display correction circuit and display device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7573879B2 (en) * | 2004-09-03 | 2009-08-11 | Intel Corporation | Method and apparatus for generating a header in a communication network |
JP2019132001A (en) * | 2018-01-30 | 2019-08-08 | Toto株式会社 | Toilet bowl device |
-
2002
- 2002-02-28 JP JP2002054640A patent/JP3941925B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005134560A (en) * | 2003-10-29 | 2005-05-26 | Fujitsu Display Technologies Corp | Display correction circuit and display device |
JP4617076B2 (en) * | 2003-10-29 | 2011-01-19 | シャープ株式会社 | Display correction circuit and display device |
Also Published As
Publication number | Publication date |
---|---|
JP2003258847A (en) | 2003-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Fall | Network emulation in the Vint/NS simulator | |
US8072992B2 (en) | Interfacing real and virtual networks in hardware-in-the-loop (HITL) simulations | |
KR100446508B1 (en) | Apparatus for processing packet data in a packet data communication system | |
JP4640128B2 (en) | Response communication device and ARP response communication device | |
CN1937541B (en) | Network performance test method | |
CN103200190B (en) | A kind of cut-in method in kind towards QualNet network hardware-in-the-loop simulation | |
CN104901832B (en) | A kind of aeronautical Ad hoc networks half-practicality network simulation system | |
CN110138617B (en) | Data transmission quality testing method, system, electronic device and storage medium | |
CN105681101B (en) | A kind of data package processing method and device | |
CN101378573B (en) | System and method for testing access gateway performance | |
CN101136812B (en) | Independent WIMAX base station network performance testing method and system | |
WO2018049725A1 (en) | Pptp vpn-based accelerated access method, apparatus and device | |
WO2012062108A1 (en) | Test system and test method | |
KR100882814B1 (en) | Dual processing system for ensuring realtime of protocol test | |
US7327687B2 (en) | Wireless network virtual station address translation with external data source | |
US20080080536A1 (en) | Media access control layer bridging of a real communication device to a simulated network | |
CN114489840A (en) | TCP/IP hardware unloading system based on FPGA and implementation method thereof | |
JP3941925B2 (en) | Network pseudo device | |
JP2003018189A (en) | Programmable protocol processing engine for network packet device | |
WO2006012787A1 (en) | A terminal data simulation method and mobile terminal data source simulation method | |
CN111131267A (en) | Ethernet self-adaption method, device and system based on FPGA | |
CN112134750B (en) | Network time protocol pressure test method and device | |
CN113938443B (en) | Wireless internet of things protocol switch | |
CN108809795A (en) | Transparent shunt method and device in a kind of LAN environment | |
CN112887277B (en) | Conversion method and device of field bus and Ethernet and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040928 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060413 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060418 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060607 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061017 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061214 |
|
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: 20070313 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070328 |
|
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: 20110413 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120413 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130413 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |