JP2012156853A - Communication network test data generation device and communication network test data generation method - Google Patents
Communication network test data generation device and communication network test data generation method Download PDFInfo
- Publication number
- JP2012156853A JP2012156853A JP2011015140A JP2011015140A JP2012156853A JP 2012156853 A JP2012156853 A JP 2012156853A JP 2011015140 A JP2011015140 A JP 2011015140A JP 2011015140 A JP2011015140 A JP 2011015140A JP 2012156853 A JP2012156853 A JP 2012156853A
- Authority
- JP
- Japan
- Prior art keywords
- communication network
- packet
- test data
- address
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、TCP/IPの通信ネットワークに接続されたIP機器を診断する際に用いる試験データを生成する技術に関する。 The present invention relates to a technique for generating test data used when diagnosing an IP device connected to a TCP / IP communication network.
一般に、ルータ等のIP機器(ネットワーク機器)の動作が正常であるか異常であるか、設定に誤りがあるか等について診断する場合、診断対象のIP機器を通信ネットワークに接続し、他のIP機器から特定のIPパケットを送信して、診断対象のIP機器からの応答IPパケットをモニタすることにより、そのIP機器が正常であるか否かを診断することができる。 In general, when diagnosing whether the operation of an IP device (network device) such as a router is normal or abnormal, whether there is an error in setting, etc., the IP device to be diagnosed is connected to a communication network and another IP It is possible to diagnose whether or not the IP device is normal by transmitting a specific IP packet from the device and monitoring the response IP packet from the IP device to be diagnosed.
また、SNMP(Simple Network Management Protocol)等のIP機器用監視プロトコルを用いて、IP機器が正常に動作しているかを遠隔から監視することもできる。 It is also possible to remotely monitor whether an IP device is operating normally by using an IP device monitoring protocol such as SNMP (Simple Network Management Protocol).
更には、診断対象であるIP機器よりも遠隔にあるサーバやPC等のIP機器に対して、ICMP(Internet Control Message Protocol)等のプロトコルを用いて通信ネットワークの疎通を確認することにより、途中にあるIP機器の動作が正常であるかを間接的に確認することもできる。 Furthermore, by confirming communication of the communication network using a protocol such as ICMP (Internet Control Message Protocol) to an IP device such as a server or PC remote from the IP device to be diagnosed, It is also possible to indirectly confirm whether the operation of a certain IP device is normal.
一方、IP機器を診断する別の手段として、トラヒック発生装置を用いる方法もある。例えば、複数のパケット送受信装置とトラヒック制御装置から構成されるトラヒック発生システムを、診断対象であるIP機器を間に挟んだ通信ネットワークの両側に接続し、予め定められたパケットをあるパケット送受信装置から他のパケット送受信装置に送信する。そのパケットを受信したパケット送受信装置は、受信したパケットから通信ネットワークの通信速度を確認する(特許文献1参照)。その結果、診断対象のIP機器の動作が正常であるかを確認することができる。 On the other hand, there is a method using a traffic generator as another means for diagnosing an IP device. For example, a traffic generation system including a plurality of packet transmission / reception devices and a traffic control device is connected to both sides of a communication network sandwiching an IP device to be diagnosed, and a predetermined packet is transmitted from a packet transmission / reception device. Transmit to another packet transmitting / receiving device. The packet transmitting / receiving apparatus that has received the packet confirms the communication speed of the communication network from the received packet (see Patent Document 1). As a result, it is possible to check whether the operation of the IP device to be diagnosed is normal.
診断対象のIP機器がSNMP等のネットワーク監視プロトコルに対応している場合には、それらのプロトコルを用いて監視を実施すればよい。しかしながら、家庭用ルータ等の安価なIP機器の場合、SNMPに対応していないなど、ネットワーク監視プロトコルを用いた診断ができない場合がある。 If the IP device to be diagnosed is compatible with a network monitoring protocol such as SNMP, monitoring may be performed using those protocols. However, in the case of an inexpensive IP device such as a home router, diagnosis using a network monitoring protocol may not be possible because it does not support SNMP.
また、診断対象のIP機器が、LAN(Local Area Netwok)等の小規模な通信ネットワークに接続されている場合には、IP機器の両側にトラヒック発生装置を接続して診断を行うことができる。しかしながら、インターネット等の大規模な通信ネットワークの場合は、トラヒック発生装置を接続することが困難であり、現実的でない場合がある。 In addition, when the IP device to be diagnosed is connected to a small communication network such as a LAN (Local Area Network), diagnosis can be performed by connecting a traffic generator to both sides of the IP device. However, in the case of a large-scale communication network such as the Internet, it is difficult to connect a traffic generation device, which may not be realistic.
更に、遠隔のサーバやPC等にICMP等のプロトコルを用いて通信ネットワークの疎通を確認する方法の場合、IP機器が電源断やハングアップで動作していないことは確認できる。しかしながら、IP機器がDNS(Domain Name Sysmte)リレーなど、通信ネットワークに接続するための様々な機能が正しく設定され、動作しているか否かを確認するには、DNSプロトコルの試験も必要となるなど、必要な各種プロトコルについてそれぞれ試験が必要となるため、プロトコルの送信手法が煩雑となる。 Furthermore, in the case of a method of confirming communication of a communication network using a protocol such as ICMP for a remote server or PC, it can be confirmed that the IP device is not operating due to power interruption or hang-up. However, in order to check whether various functions for connecting an IP device to a communication network such as a DNS (Domain Name Sysmte) relay are correctly set and operating, a DNS protocol test is also required. Since various necessary protocols need to be tested, the protocol transmission method becomes complicated.
このような問題を解決するには、各種プロトコルを含む一連のIPパケット群を試験用に生成し、そのIPパケット群をネットワーク装置に送信する方法も考えられる。例えば、ICMP、DNS、HTTPプロトコルをHTTPサーバへ順次送信することにより、ルータが正常にHTTPアクセスを処理できているかを確認することができる。 In order to solve such a problem, a method of generating a series of IP packet groups including various protocols for a test and transmitting the IP packet groups to a network device is also conceivable. For example, by sequentially transmitting ICMP, DNS, and HTTP protocols to the HTTP server, it is possible to confirm whether the router can normally process the HTTP access.
しかしながら、PC等のIP機器を利用してこのようなプロトコルを生成して送信するには、通信ネットワーク及びPCに関する様々な知識が必要であり、作業に熟達したユーザでないと実施が困難である。また、操作に時間を要するという問題もある。 However, in order to generate and transmit such a protocol using an IP device such as a PC, various knowledge about the communication network and the PC is required, and it is difficult to implement unless the user is skilled in the work. There is also a problem that the operation takes time.
例えば、Webブラウザを利用して特定のWebサーバにアクセスすることにより、HTTPに関する試験を実施することができる。しかしながら、当該Webサーバに前回アクセスした際のキャッシュがWebブラウザ内に残っている場合には、HTTPプロトコルが発生しない。そのため、Webブラウザのキャッシュを明示的にクリヤした後にWebサーバにアクセスする必要があるが、キャッシュクリアのための操作に時間を要し、また、そのような作業が必要であるという知識を事前に習得しておく必要がある。 For example, an HTTP test can be performed by accessing a specific Web server using a Web browser. However, when the cache when the Web server is accessed last time remains in the Web browser, the HTTP protocol does not occur. For this reason, it is necessary to access the Web server after explicitly clearing the cache of the Web browser, but it takes time to perform an operation for clearing the cache and knowledge that such work is necessary in advance. It is necessary to learn.
本発明は、上記を鑑みてなされたものであり、その課題とするところは、通信ネットワークに接続されたIP機器の診断(通信ネットワーク試験)を容易にして作業効率を向上することにある。 The present invention has been made in view of the above, and an object of the present invention is to facilitate diagnosis (communication network test) of an IP device connected to a communication network and improve work efficiency.
請求項1記載の通信ネットワーク試験データ生成装置は、診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、前記診断対象のIP機器から応答として返信されたIPパケットとをモニタするモニタ手段と、モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出する抽出手段と、抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングするマーキング手段と、抽出されたIPパケットとマーキングされた変更可能なデータ領域とを用いて、前記通信ネットワーク試験時に使用される試験データを生成する生成手段と、生成された試験データを記憶手段に出力して記憶させる出力手段と、を有することを特徴とする。 The communication network test data generation device according to claim 1, wherein an IP packet transmitted for diagnosis from another IP device to an IP device to be diagnosed, and an IP packet returned as a response from the IP device to be diagnosed Monitoring means for extracting the data, extraction means for extracting an IP packet targeted by the communication network test from a plurality of monitored IP packets, and extracting a data area that varies depending on the communication network environment from the extracted IP packet And generating means for generating test data to be used at the time of testing the communication network, using the extracted IP packet and the marked changeable data area, and storing the generated test data Output means for outputting to the means for storage.
本発明によれば、診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、その診断対象のIP機器から応答として返信されたIPパケットとをモニタし、モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出し、抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングし、抽出されたIPパケットとマーキングされた変更可能なデータ領域とを用いて、通信ネットワーク試験時に使用される試験データを生成して、生成された試験データを記憶手段に出力して記憶させるため、複雑な知識を用いることなく短時間で試験データの生成が容易となり、通信ネットワーク試験に要する作業効率を向上することができる。 According to the present invention, an IP packet transmitted from another IP device for diagnosis to an IP device to be diagnosed and an IP packet returned as a response from the IP device to be diagnosed are monitored and monitored. IP packets targeted for communication network testing were extracted from a plurality of IP packets, and a data area that varies depending on the communication network environment was extracted and marked from the extracted IP packets, and was marked as an extracted IP packet The test data used at the time of the communication network test is generated using the data area that can be changed, and the generated test data is output and stored in the storage means, so that complicated knowledge is not used in a short time. Test data can be easily generated and work efficiency required for a communication network test can be improved.
また、本発明によれば、抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングし、そのマーキングされた変更可能なデータ領域を用いて、通信ネットワーク試験時に使用される試験データを生成するため、通信ネットワーク試験時において試験データに含まれる全てのデータ領域を手動で編集する場合と比較して、マーキングされたデータ領域のみを変更可能であることから、操作ミスによるエラーを削減することができる。 In addition, according to the present invention, a data area that varies depending on the communication network environment is extracted from the extracted IP packet and marked, and a test that is used during a communication network test using the marked changeable data area. Compared to manual editing of all data areas included in test data during communication network testing to generate data, only the marked data area can be changed. Can be reduced.
請求項2記載の通信ネットワーク試験データ生成装置は、請求項1記載の通信ネットワーク試験データ生成装置において、生成された複数の試験データをそれぞれ前記通信ネットワーク試験時の診断ルールとして選択候補表示する表示手段と、表示された複数の診断ルールから任意の診断ルールを選択する選択手段と、を更に有することを特徴とする。
The communication network test data generation device according to
請求項3記載の通信ネットワーク試験データ生成装置は、請求項1又は2記載の通信ネットワーク試験データ生成装置において、前記抽出手段は、モニタされた複数のIPパケットにそれぞれ含まれるプロトコル情報を選択候補表示する表示手段と、表示された複数のプロトコル情報から前記通信ネットワーク試験で対象とされるプロトコル情報を選択する選択手段と、を有し、選択されたプロトコル情報を有するIPパケットを抽出することを特徴とする。
The communication network test data generation device according to
請求項4記載の通信ネットワーク試験データ生成装置は、請求項3記載の通信ネットワーク試験データ生成装置において、前記変更可能なデータ領域は、任意に設定可能な送信元IPアドレスと送信先IPアドレスであって、前記生成手段は、送信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む送信用の試験データと、返信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む受信用の試験データと有する前記試験データを生成することを特徴とする。
The communication network test data generation device according to
請求項5記載の通信ネットワーク試験データ生成方法は、コンピュータにより行う通信ネットワーク試験データ生成方法において、診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、前記診断対象のIP機器から応答として返信されたIPパケットとをモニタするモニタステップと、モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出する抽出ステップと、抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングするマーキングステップと、抽出されたIPパケットとマーキングされた変更可能なデータ領域とを用いて、前記通信ネットワーク試験時に使用される試験データを生成する生成ステップと、生成された試験データを記憶手段に出力して記憶させる出力ステップと、を有することを特徴とする。
The communication network test data generation method according to
本発明によれば、診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、その診断対象のIP機器から応答として返信されたIPパケットとをモニタし、モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出し、抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングし、抽出されたIPパケットとマーキングされた変更可能なデータ領域とを用いて、通信ネットワーク試験時に使用される試験データを生成して、生成された試験データを記憶手段に出力して記憶させるため、複雑な知識を用いることなく短時間で試験データの生成が容易となり、通信ネットワーク試験に要する作業効率を向上することができる。 According to the present invention, an IP packet transmitted from another IP device for diagnosis to an IP device to be diagnosed and an IP packet returned as a response from the IP device to be diagnosed are monitored and monitored. IP packets targeted for communication network testing were extracted from a plurality of IP packets, and a data area that varies depending on the communication network environment was extracted and marked from the extracted IP packets, and was marked as an extracted IP packet The test data used at the time of the communication network test is generated using the data area that can be changed, and the generated test data is output and stored in the storage means, so that complicated knowledge is not used in a short time. Test data can be easily generated and work efficiency required for a communication network test can be improved.
また、本発明によれば、抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングし、そのマーキングされた変更可能なデータ領域を用いて、通信ネットワーク試験時に使用される試験データを生成するため、通信ネットワーク試験時において試験データに含まれる全てのデータ領域を手動で編集する場合と比較して、マーキングされたデータ領域のみを変更可能であることから、操作ミスによるエラーを削減することができる。 In addition, according to the present invention, a data area that varies depending on the communication network environment is extracted from the extracted IP packet and marked, and a test that is used during a communication network test using the marked changeable data area. Compared to manual editing of all data areas included in test data during communication network testing to generate data, only the marked data area can be changed. Can be reduced.
請求項6記載の通信ネットワーク試験データ生成方法は、請求項5記載の通信ネットワーク試験データ生成方法において、生成された複数の試験データをそれぞれ前記通信ネットワーク試験時の診断ルールとして選択候補表示する表示ステップと、表示された複数の診断ルールから任意の診断ルールを選択する選択ステップと、を更に有することを特徴とする。
The communication network test data generation method according to claim 6 is the communication network test data generation method according to
請求項7記載の通信ネットワーク試験データ生成方法は、請求項5又は6記載の通信ネットワーク試験データ生成方法において、前記抽出ステップは、モニタされた複数のIPパケットにそれぞれ含まれるプロトコル情報を選択候補表示する表示ステップと、表示された複数のプロトコル情報から前記通信ネットワーク試験で対象とされるプロトコル情報を選択する選択ステップと、を有し、選択されたプロトコル情報を有するIPパケットを抽出することを特徴とする。 7. The communication network test data generation method according to claim 7, wherein the extraction step selects the protocol information included in each of a plurality of monitored IP packets as a selection candidate display. And a selection step of selecting protocol information targeted in the communication network test from the displayed plurality of protocol information, and extracting an IP packet having the selected protocol information And
請求項8記載の通信ネットワーク試験データ生成方法は、請求項7記載の通信ネットワーク試験データ生成方法において、前記変更可能なデータ領域は、任意に設定可能な送信元IPアドレスと送信先IPアドレスであって、前記生成ステップは、送信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む送信用の試験データと、返信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む受信用の試験データと有する前記試験データを生成することを特徴とする。 The communication network test data generation method according to claim 8 is the communication network test data generation method according to claim 7, wherein the changeable data areas are a source IP address and a destination IP address that can be arbitrarily set. In the generation step, the test data for transmission including at least the protocol data included in the IP packet at the time of transmission, the type of the protocol, the source IP address and the destination IP address, and the reply at the time The test data having the protocol data included in the IP packet, the type of the protocol, the test data for reception including at least the source IP address and the destination IP address are generated.
本発明によれば、通信ネットワーク試験を容易にして作業効率を向上することができる。 According to the present invention, it is possible to facilitate a communication network test and improve work efficiency.
以下、本発明を実施する一実施の形態について図面を用いて説明する。但し、本発明は多くの異なる様態で実施することが可能であり、本実施の形態の記載内容に限定して解釈すべきではない。 Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. However, the present invention can be implemented in many different modes and should not be construed as being limited to the description of the present embodiment.
本発明は、上記課題の解決を図るため、通信ネットワーク上で送受信されている様々な診断用のIPパケットを捕捉し、その捕捉したIPパケットを利用して試験時に用いる一連のIPパケット群を予め生成するという技術的思想を導入している。 In order to solve the above-described problems, the present invention captures various diagnostic IP packets transmitted and received on a communication network, and uses the captured IP packets to obtain a series of IP packet groups to be used in a test in advance. The technical idea of generating is introduced.
試験時において、捕捉したIPパケットを利用して生成したIPパケット群をPCや専用IP端末等から通信ネットワークに送信し、その結果受信したIPパケットからIP機器の診断を実施することが可能となる。 At the time of testing, an IP packet group generated using captured IP packets can be transmitted from a PC, a dedicated IP terminal, or the like to a communication network, and as a result, the IP device can be diagnosed from the received IP packets. .
但し、IPパケットには送信先及び送信元のIPアドレス等、通信ネットワーク環境に応じて変更が必要な各種データが含まれるため、それらのデータをネットワーク環境に応じて変更する必要があるという点にも着目している。 However, since the IP packet includes various data that needs to be changed according to the communication network environment, such as the destination and the source IP address, it is necessary to change the data according to the network environment. Also pay attention.
最初に、通信ネットワーク試験データ生成装置の機能について説明する。 First, the function of the communication network test data generation device will be described.
図1は、本実施の形態に係る通信ネットワーク試験データ生成装置の機能ブロック構成を示す図である。この通信ネットワーク試験データ生成装置1は、複数のIP機器(診断対象のIP機器を含む)が通信している通信ネットワーク2に接続され、IPパケットモニタ部10と、IPパケット抽出部20と、診断ルール生成部30とで構成されている。
FIG. 1 is a diagram showing a functional block configuration of a communication network test data generation apparatus according to the present embodiment. The communication network test data generation device 1 is connected to a
IPパケットモニタ部10は、通信ネットワーク2を介して診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、その診断対象のIP機器から応答として当該他のIP機器に返信されたIPパケットとをモニタする機能を有している。具体的には、IPパケット受信部101と、IPアドレス抽出部102と、プロトコル識別部103と、IPアドレス情報保存部104と、プロトコル情報保存部105とで構成されている。
The IP
IPパケット抽出部20は、ユーザの指定に基づいて、IPパケットモニタ部10でモニタされた複数のIPパケットから、後程実施される通信ネットワーク試験で対象とされるIPパケットを抽出する機能を有している。具体的には、試験用IPパケット判定部201と、プロトコル選択部202と、プロトコル一覧表示部203とで構成されている。
The IP packet extraction unit 20 has a function of extracting, from a plurality of IP packets monitored by the IP
診断ルール生成部30は、IPパケット抽出部20で抽出されたIPパケットを用いて、通信ネットワーク試験時に使用される診断ルールを生成する機能を有している。具体的には、変動要因マーキング部301と、試験データ生成部302と、試験データ出力部303と、診断ルール表示部304と、診断ルール選択部305とで構成されている。
The diagnostic rule generation unit 30 has a function of generating a diagnostic rule used at the time of a communication network test using the IP packet extracted by the IP packet extraction unit 20. Specifically, it includes a variation
なお、この通信ネットワーク試験データ生成装置1には、モニター等に代表される表示装置3、マウスやキーボードやタッチペン等に代表される入力装置4、フラッシュメモリやハードディスク等に代表される記憶装置5が接続されている。特に記憶装置5の配置については、通信ネットワーク試験データ生成装置1の内外を問わず、LAN等の通信ネットワーク経由でアクセス可能な記憶媒体でもよい。
The communication network test data generating device 1 includes a
また、通信ネットワーク試験データ生成装置1を構成する上記各機能部はCPU等の処理手段により実現され、それら各機能部の処理動作はプログラムにより実行される。 Moreover, each said function part which comprises the communication network test data generation apparatus 1 is implement | achieved by processing means, such as CPU, and the processing operation of these each function part is performed by a program.
次に、通信ネットワーク試験データ生成装置の処理動作について説明する。 Next, the processing operation of the communication network test data generation device will be described.
最初に、IPパケット受信部101が、通信ネットワーク2を伝送している全てのIPパケットを受信する(S101)。 First, the IP packet receiving unit 101 receives all IP packets transmitted through the communication network 2 (S101).
次に、IPアドレス抽出部102が、受信したIPパケットに含まれるIPアドレスを取得してIPアドレス情報保存部104に保存し、そのIPパケット自体もIPアドレス情報保存部104に保存する(S102)。
Next, the IP
次に、プロトコル識別部103が、IPアドレス抽出部102からIPパケットを取得し、どのプロトコルのIPパケットであるかを判定して、ICMP、HTTP、DNS等の予め定められたプロトコルの場合には、そのプロトコル情報をプロトコル情報保存部105に保存し、それ以外のプロトコルの場合には破棄する(S103)。
Next, the
例えば、ARP(Address Resolution Protocol)は頻繁に発生するプロトコルであるが、IP機器の診断には関係ないため破棄する。これにより、後段のIPパケット抽出部20での選択候補となるプロトコル情報の種類を抑制できる。 For example, ARP (Address Resolution Protocol) is a frequently occurring protocol, but is discarded because it is not related to the diagnosis of the IP device. Thereby, the kind of protocol information used as a selection candidate in the IP packet extraction part 20 of a back | latter stage can be suppressed.
ここで、IPアドレス情報保存部104及びプロトコル情報保存部105に保存されるデータの一例を図2に示す。IPアドレス情報保存部104には、IPアドレステーブル104a及びIPパケットテーブル104bが保存されている。IPアドレステーブル104aには、受信IPパケットから取得したIPアドレスの一覧が含まれる。IPパケットテーブル104bには、元のバイト列で表現されるパケットデータに加え、送信元IPアドレス、送信先IPアドレス、プロトコル種別、プロトコル内容が含まれる。
An example of data stored in the IP address
なお、IPアドレステーブル104aの各IPアドレスから、IPパケットテーブル104bの各IPパケットにポインタが貼られている。これにより、IPアドレステーブル104aのIPアドレスから、当該IPアドレスを有するIPパケットをIPパケットテーブル104bから検索できる。 A pointer is pasted from each IP address in the IP address table 104a to each IP packet in the IP packet table 104b. Thereby, an IP packet having the IP address can be searched from the IP packet table 104b from the IP address of the IP address table 104a.
一方、プロトコル情報保存部105には、受信IPパケットから取得したプロトコル情報の一覧が含まれる。各プロトコル情報から、IPパケットテーブル104bの各IPパケットにポインタが貼られている。これにより、プロトコル情報保存部105のプロトコル情報から、当該プロトコル情報を有するIPパケットをIPパケットテーブル104bから検索できる。
On the other hand, the protocol
すなわち、IPアドレス情報保存部104に保存されたIPアドレスと、プロトコル情報保存部105に保存されたプロトコル情報とは、特定のIPアドレスからそのIPアドレスを含むIPパケット、特定のプロトコル情報からそのプロトコル情報に一致するIPパケットをそれぞれ特定することができる。
That is, the IP address stored in the IP address
次に、IPパケットの受信開始から一定時間が経過した場合、又はユーザが入力装置4を利用してIPパケットの捕捉完了を明示的に指示した場合に、IPパケット抽出部20が、IPパケットモニタ部10に対して、IPパケットの受信を終了する指示、IPアドレス情報及びプロトコル情報の保存を終了する指示を行う(S104)。
Next, when a certain time has elapsed from the start of IP packet reception, or when the user explicitly instructs the completion of capturing of the IP packet using the
次に、試験用IPパケット判定部201が、IPアドレス情報保存部104に保存されたIPアドレス情報と、プロトコル情報保存部105に保存されたプロトコル情報とを用いて、選択候補となる診断用プロトコル一覧を送信元IPアドレス別に集約して生成し、プロトコル一覧表示部203が、その診断用プロトコル一覧を表示装置3に選択候補表示する(S105)。
Next, the test IP
次に、ユーザによって入力装置4が操作されることにより、診断ルールを生成したいプロトコル(通信ネットワーク試験で対象とされるプロトコル情報)が診断用プロトコル一覧から指定された場合に、プロトコル選択部202が、指定されたプロトコル情報を診断用プロトコル一覧の中から選択する(S106)。IPパケット抽出部20から見れば、ここで選択されたプロトコル情報を有するIPパケットを抽出することになる。
Next, when the
このとき、選択するプロトコルは1つではなく、複数でも良い。例えば、DNSとHTTPを選択することにより、一般的なWebブラウザによるWebサーバアクセスの状況を試験することができる。 At this time, the number of protocols to be selected is not limited to one but may be plural. For example, by selecting DNS and HTTP, it is possible to test the status of Web server access by a general Web browser.
ここで、表示装置3に表示される診断用プロトコル一覧の一例を図3に示す。表示装置3には、送受信IPアドレス別に、それぞれのIPアドレスでモニタされたプロトコル情報が表示される。
An example of a diagnostic protocol list displayed on the
例えば、IPアドレスが192.168.1.10のIP機器と192.168.1.1のIP機器との間で送受信された診断用プロトコル一覧には、DNS及びHTTPが表示される。また、192.168.1.11のIP機器と255.255.255.0のIP機器との間で送受信された診断用プロトコル一覧には、SSDP(Simple Service Discovery Protocol)が表示される。 For example, DNS and HTTP are displayed in a list of diagnostic protocols transmitted / received between an IP device having an IP address of 192.168.1.10 and an IP device having an IP address of 192.168.1.1. Also, SSDP (Simple Service Discovery Protocol) is displayed in the diagnostic protocol list transmitted and received between the IP device of 192.168.1.11 and the IP device of 255.255.255.0.
次に、変動要因マーキング部301が、選択されたプロトコル情報を含むIPパケット(抽出されたIPパケット)の中から、通信ネットワーク環境によって変更の必要がある箇所(変化するデータ領域)を抽出し、マーキングする(S107)。
Next, the variation
例えば、送信元IPアドレス及び受信先IPアドレスは変動するので、それぞれ、異なるラベルでマーキングする。このとき、同一のIPアドレスには同一のラベルを付与する。プロトコルによっては、プロトコル内にIPアドレス情報を含む場合もあるので、そのような箇所にもマーキングを行う。 For example, since the source IP address and the destination IP address vary, marking is performed with different labels. At this time, the same label is assigned to the same IP address. Depending on the protocol, the IP address information may be included in the protocol, so marking is also performed on such a location.
次に、試験データ生成部302が、抽出されたIPパケットとマーキングのラベルが付与された箇所(マーキングされた変更可能なデータ領域)とを用いて、通信ネットワーク試験時に使用される試験データを当該試験時に解釈可能なフォーマットで生成する(S108)。
Next, the test
次に、試験データ出力部303が、生成された試験データを記憶装置5に出力して記憶させる(S109)。
Next, the test
このとき、記憶装置5に記憶される試験データは1つではなく、複数でも良い。例えば、あるタイミングで選択されたDNSとHTTPを有するIPパケットを用いて生成されたWebサーバアクセス試験用の試験データや、次のタイミングで選択されたDNSのみを有するIPパケットを用いて生成されたDNS試験用の試験データ等である。
At this time, the test data stored in the
次に、診断ルール表示部304が、記憶装置5から試験データを読み出して、試験データ生成部302によって生成された複数の試験データを、通信ネットワーク試験時の診断ルールとして表示装置3に選択候補表示する(S110)。
Next, the diagnostic
最後に、ユーザによって入力装置4が操作されることにより、所望の診断ルールが指定された場合に、診断ルール選択部305が、指定された診断ルール(任意の診断ルール)を表示中の複数の診断ルールから選択する(S111)。
Finally, when the user operates the
ここで、診断ルール生成部30で生成される診断ルール(試験データに相当)の一例を図4に示す。 Here, an example of a diagnostic rule (corresponding to test data) generated by the diagnostic rule generator 30 is shown in FIG.
診断ルールは、選択されたプロトコル情報の種別毎に、そのプロトコル送信時に当該プロトコルを有するIPパケットに含まれていたプロトコル内容(プロトコルデータ)と、そのIPパケットに含まれていた実際のパケットデータと、試験環境によって任意に設定可能な送信元IPアドレス及び送信先IPアドレスと、送信フラグとを有する送信診断用IPパケットと、そのプロトコル受信時に当該プロトコルを有するIPパケットに含まれていたプロトコル内容と、そのIPパケットに含まれていた実際のパケットデータと、試験環境によって任意に設定可能な送信元IPアドレス及び送信先IPアドレスと、受信フラグとを有する受信診断用IPパケットと、から構成される。それら送信診断用IPパケット及び受信診断用IPパケットには通し番号が付与される。 For each type of protocol information selected, the diagnostic rule includes the protocol contents (protocol data) included in the IP packet having the protocol at the time of protocol transmission, and the actual packet data included in the IP packet. A transmission diagnosis IP packet having a transmission source IP address and a transmission destination IP address that can be arbitrarily set according to the test environment, a transmission flag, and a protocol content included in the IP packet having the protocol when the protocol is received; The reception packet is composed of actual packet data included in the IP packet, a source IP address and a destination IP address that can be arbitrarily set according to the test environment, and a reception flag. . Serial numbers are assigned to these transmission diagnostic IP packets and reception diagnostic IP packets.
以上、通信ネットワーク試験データ生成装置の機能及び処理動作について説明した。 The function and processing operation of the communication network test data generation device have been described above.
最後に、生成された診断ルールを用いて行う通信ネットワーク試験方法について説明する。なお、以下説明する試験方法は、診断ルール生成後に通信ネットワーク試験データ生成装置自体が実行してもよく、その診断ルールを受け取った他のIP機器が実行してもよい。 Finally, a communication network test method performed using the generated diagnostic rule will be described. Note that the test method described below may be executed by the communication network test data generation device itself after generating the diagnostic rule, or may be executed by another IP device that has received the diagnostic rule.
最初に、診断ルールとして生成された試験データ内の各IPパケットの送信元IPアドレス及び送信先IPアドレスを、診断対象のIP機器のアドレスに変更する(S201)。 First, the source IP address and the destination IP address of each IP packet in the test data generated as a diagnostic rule are changed to the address of the IP device to be diagnosed (S201).
具体的には、Addr1、Addr2、Addr3のそれぞれを、実際のIPアドレスで置き換える。このとき、Addr1はIPパケットを送信するIP機器のIPアドレス、Addr2はDNSサーバ、Addr3はHTTPサーバのIPアドレスを指定する。例えば、一般の家庭用ネットワークでは、ルータがDNSサーバをなっていることから、Addr2にはルータのIPアドレスを指定する。 Specifically, each of Addr1, Addr2, and Addr3 is replaced with an actual IP address. At this time, Addr1 designates the IP address of the IP device that transmits the IP packet, Addr2 designates the DNS server, and Addr3 designates the IP address of the HTTP server. For example, in a general home network, since the router is a DNS server, the IP address of the router is designated in Addr2.
このとき、パケットデータの特定位置に送信元IPアドレスおよび送信先IPアドレスが所在する場合には、Addr1、Addr2、Addr3のそれぞれについて指定したIPアドレスで置き換える。 At this time, if the transmission source IP address and the transmission destination IP address are located at specific positions of the packet data, the IP addresses designated for Addr1, Addr2, and Addr3 are replaced.
次に、診断ルール内の送受信フラグを上から順次確認し、sendであれば、そのIPパケットを送信し、receiveであれば、当該IPパケットが受信されるか否かを確認する(S202)。 Next, the transmission / reception flag in the diagnostic rule is sequentially checked from the top. If it is send, the IP packet is transmitted, and if it is receive, it is confirmed whether or not the IP packet is received (S202).
最後に、当該IPパケットが受信できない場合、プロトコル内容にエラーが含まれている場合、生成していたIPパケットと受信したIPパケットとのプロトコル内容が不一致である場合には、そのIP機器に問題が発生している可能性があると判定する(S203)。 Finally, if the IP packet cannot be received, if the protocol content contains an error, or if the generated IP packet and the received IP packet do not match the protocol content, there is a problem with the IP device. Is determined to have occurred (S203).
以上の処理を繰り返し、最後のIPパケットまで問題が発生しなければ、そのIP機器は正常に動作していると判定する(S204)。 The above processing is repeated, and if no problem occurs until the last IP packet, it is determined that the IP device is operating normally (S204).
なお、IP機器の設定誤りを診断する場合は、予め意図して誤設定したIP機器で診断ルールを生成しておき、その診断ルールを用いて試験することにより、IP機器における特定の設定誤りを検出することも可能である。 When diagnosing a setting error of an IP device, a diagnostic rule is generated with an IP device that has been intentionally set in advance, and a specific setting error in the IP device is determined by testing using the diagnostic rule. It is also possible to detect.
以上より、本実施の形態によれば、診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、その診断対象のIP機器から応答として返信されたIPパケットとをモニタし、モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出し、抽出されたIPパケットから通信ネットワーク環境によって変更の必要がある箇所を抽出してマーキングし、抽出されたIPパケットとマーキングのラベルが付与された箇所とを用いて、通信ネットワーク試験時に使用される試験データを生成して、生成された試験データを記憶装置5に出力して記憶させるので、複雑な知識を用いることなく短時間で試験データの生成が容易となり、通信ネットワーク試験に要する作業効率を向上することができる。
As described above, according to the present embodiment, an IP packet transmitted from another IP device for diagnosis to an IP device to be diagnosed and an IP packet returned as a response from the IP device to be diagnosed Monitor, extract IP packets targeted for communication network test from multiple monitored IP packets, extract and mark the points that need to be changed according to the communication network environment from the extracted IP packets Since the test data used at the time of the communication network test is generated using the IP packet and the part to which the marking label is attached, and the generated test data is output to the
また、本実施の形態によれば、抽出されたIPパケットから通信ネットワーク環境によって変更の必要がある箇所を抽出してマーキングし、そのマーキングのラベルが付与された箇所を用いて、通信ネットワーク試験時に使用される試験データを生成するため、通信ネットワーク試験時において試験データに含まれる全てのデータ領域を手動で編集する場合と比較して、マーキングされた箇所のみを変更可能であることから、操作ミスによるエラーを削減することができる。 In addition, according to the present embodiment, a portion that needs to be changed depending on the communication network environment is extracted from the extracted IP packet and marked, and the portion to which the marking label is attached is used during a communication network test. In order to generate the test data to be used, it is possible to change only the marked part compared to manually editing all the data areas included in the test data during the communication network test. Can reduce errors.
すなわち、IPパケットは多数のデータ列から構成されており、一般に生成・修正を加えるには、専用のソフトウェア等が必要となる等、高度な作業が要求されるが、IPアドレス等の通信ネットワーク環境によって変更の必要な情報について、後から変更可能であることを示すためにマーキングしておくことにより、診断実施時に適切なIPアドレス等を入力するなど、その変更が容易に可能となる。 In other words, an IP packet is composed of a large number of data strings, and in general, in order to create / modify it, a high level of work is required, for example, dedicated software is required. By marking the information that needs to be changed to indicate that it can be changed later, it is possible to easily change the information, such as inputting an appropriate IP address or the like at the time of diagnosis.
1…通信ネットワーク試験データ生成装置
10…IPパケットモニタ部
101…IPパケット受信部
102…IPアドレス抽出部
103…プロトコル識別部
104…IPアドレス情報保存部
105…プロトコル情報保存部
20…IPパケット抽出部
201…試験用IPパケット判定部
202…プロトコル選択部
203…プロトコル一覧表示部
30…診断ルール生成部
301…変動要因マーキング部
302…試験データ生成部
303…試験データ出力部
304…診断ルール表示部
305…診断ルール選択部
2…通信ネットワーク
3…表示装置
4…入力装置
5…記憶装置
S101〜S111、S201〜S204…処理ステップ
DESCRIPTION OF SYMBOLS 1 ... Communication network test
Claims (8)
モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出する抽出手段と、
抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングするマーキング手段と、
抽出されたIPパケットとマーキングされた変更可能なデータ領域とを用いて、前記通信ネットワーク試験時に使用される試験データを生成する生成手段と、
生成された試験データを記憶手段に出力して記憶させる出力手段と、
を有することを特徴とする通信ネットワーク試験データ生成装置。 Monitor means for monitoring IP packets transmitted for diagnosis from other IP devices to the diagnosis target IP device and IP packets returned as a response from the diagnosis target IP device;
Extracting means for extracting an IP packet targeted in a communication network test from a plurality of monitored IP packets;
Marking means for extracting and marking a data area that varies depending on the communication network environment from the extracted IP packet;
Generating means for generating test data to be used during the communication network test using the extracted IP packet and the marked changeable data area;
Output means for outputting and storing the generated test data in the storage means;
A communication network test data generation device comprising:
表示された複数の診断ルールから任意の診断ルールを選択する選択手段と、
を更に有することを特徴とする請求項1記載の通信ネットワーク試験データ生成装置。 Display means for displaying a plurality of generated test data as selection candidates as diagnostic rules at the time of the communication network test,
A selection means for selecting an arbitrary diagnosis rule from a plurality of displayed diagnosis rules;
The communication network test data generation device according to claim 1, further comprising:
モニタされた複数のIPパケットにそれぞれ含まれるプロトコル情報を選択候補表示する表示手段と、
表示された複数のプロトコル情報から前記通信ネットワーク試験で対象とされるプロトコル情報を選択する選択手段と、を有し、
選択されたプロトコル情報を有するIPパケットを抽出することを特徴とする請求項1又は2記載の通信ネットワーク試験データ生成装置。 The extraction means includes
Display means for displaying candidate selections of protocol information included in each of a plurality of monitored IP packets;
Selecting means for selecting protocol information targeted in the communication network test from a plurality of displayed protocol information,
3. The communication network test data generation apparatus according to claim 1, wherein an IP packet having the selected protocol information is extracted.
前記生成手段は、
送信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む送信用の試験データと、返信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む受信用の試験データと有する前記試験データを生成することを特徴とする請求項3記載の通信ネットワーク試験データ生成装置。 The changeable data area is a source IP address and a destination IP address that can be arbitrarily set,
The generating means includes
The protocol data included in the IP packet at the time of transmission, the type of the protocol, the transmission test data including at least the source IP address and the destination IP address, and included in the IP packet at the time of reply 4. The communication network test data according to claim 3, wherein the test data includes test data for reception including at least protocol data, a type of the protocol, the source IP address, and the destination IP address. Generator.
診断対象のIP機器に対して他のIP機器から診断用に送信されたIPパケットと、前記診断対象のIP機器から応答として返信されたIPパケットとをモニタするモニタステップと、
モニタされた複数のIPパケットから通信ネットワーク試験で対象とされるIPパケットを抽出する抽出ステップと、
抽出されたIPパケットから通信ネットワーク環境によって変化するデータ領域を抽出してマーキングするマーキングステップと、
抽出されたIPパケットとマーキングされた変更可能なデータ領域とを用いて、前記通信ネットワーク試験時に使用される試験データを生成する生成ステップと、
生成された試験データを記憶手段に出力して記憶させる出力ステップと、
を有することを特徴とする通信ネットワーク試験データ生成方法。 In a communication network test data generation method performed by a computer,
A monitoring step of monitoring an IP packet transmitted for diagnosis from another IP device to an IP device to be diagnosed, and an IP packet returned as a response from the IP device to be diagnosed;
An extraction step of extracting an IP packet targeted in a communication network test from a plurality of monitored IP packets;
A marking step of extracting and marking a data region that varies depending on a communication network environment from the extracted IP packet;
Generating the test data to be used during the communication network test using the extracted IP packet and the marked changeable data area;
An output step of outputting and storing the generated test data in a storage means;
A communication network test data generation method characterized by comprising:
表示された複数の診断ルールから任意の診断ルールを選択する選択ステップと、
を更に有することを特徴とする請求項5記載の通信ネットワーク試験データ生成方法。 A display step of displaying a selection candidate as a diagnostic rule at the time of the communication network test, respectively, a plurality of generated test data;
A selection step for selecting an arbitrary diagnosis rule from the plurality of displayed diagnosis rules;
The communication network test data generation method according to claim 5, further comprising:
モニタされた複数のIPパケットにそれぞれ含まれるプロトコル情報を選択候補表示する表示ステップと、
表示された複数のプロトコル情報から前記通信ネットワーク試験で対象とされるプロトコル情報を選択する選択ステップと、を有し、
選択されたプロトコル情報を有するIPパケットを抽出することを特徴とする請求項5又は6記載の通信ネットワーク試験データ生成方法。 The extraction step includes
A display step for displaying selection candidates of protocol information included in each of a plurality of monitored IP packets;
A selection step of selecting protocol information targeted in the communication network test from a plurality of displayed protocol information,
7. The communication network test data generation method according to claim 5, wherein an IP packet having the selected protocol information is extracted.
前記生成ステップは、
送信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む送信用の試験データと、返信時に前記IPパケットに含まれていたプロトコルデータと当該プロトコルの種別と前記送信元IPアドレスと前記送信先IPアドレスとを少なくとも含む受信用の試験データと有する前記試験データを生成することを特徴とする請求項7記載の通信ネットワーク試験データ生成方法。 The changeable data area is a source IP address and a destination IP address that can be arbitrarily set,
The generating step includes
The protocol data included in the IP packet at the time of transmission, the type of the protocol, the transmission test data including at least the source IP address and the destination IP address, and included in the IP packet at the time of reply 8. The communication network test data according to claim 7, wherein the test data having protocol data, a type of the protocol, test data for reception including at least the source IP address and the destination IP address is generated. Generation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011015140A JP2012156853A (en) | 2011-01-27 | 2011-01-27 | Communication network test data generation device and communication network test data generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011015140A JP2012156853A (en) | 2011-01-27 | 2011-01-27 | Communication network test data generation device and communication network test data generation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012156853A true JP2012156853A (en) | 2012-08-16 |
Family
ID=46838112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011015140A Pending JP2012156853A (en) | 2011-01-27 | 2011-01-27 | Communication network test data generation device and communication network test data generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012156853A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015002362A (en) * | 2013-06-13 | 2015-01-05 | 株式会社リコー | Verification program and verification device |
JP2016062136A (en) * | 2014-09-16 | 2016-04-25 | 三菱電機株式会社 | Testing apparatus and testing program |
US10911983B2 (en) | 2017-12-08 | 2021-02-02 | Fujitsu Limited | Packet load generation device and packet load generation method |
US11949581B2 (en) | 2020-12-09 | 2024-04-02 | Kabushiki Kaisha Toshiba | Information processing apparatus, information processing method, and non-transitory storage medium |
-
2011
- 2011-01-27 JP JP2011015140A patent/JP2012156853A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015002362A (en) * | 2013-06-13 | 2015-01-05 | 株式会社リコー | Verification program and verification device |
JP2016062136A (en) * | 2014-09-16 | 2016-04-25 | 三菱電機株式会社 | Testing apparatus and testing program |
US10911983B2 (en) | 2017-12-08 | 2021-02-02 | Fujitsu Limited | Packet load generation device and packet load generation method |
US11949581B2 (en) | 2020-12-09 | 2024-04-02 | Kabushiki Kaisha Toshiba | Information processing apparatus, information processing method, and non-transitory storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5807364B2 (en) | Management device, management method, program, and recording medium | |
JP5782791B2 (en) | Management device, management method, program, and recording medium | |
JP4681472B2 (en) | Topology information collection program, topology information collection device, and topology information collection method | |
JP4988674B2 (en) | Network monitoring device, network monitoring method, and network monitoring program | |
JP2012156853A (en) | Communication network test data generation device and communication network test data generation method | |
CN115277510A (en) | Method for automatically identifying equipment, equipment interface and equipment path in network session | |
JP5091217B2 (en) | Home device information collecting apparatus and home device information collecting method | |
US20110087991A1 (en) | Methods and Apparatus for Reliable Entry and Enhanced Presentation of IPv6 Addresses | |
JP4593418B2 (en) | Gateway selection system and gateway selection device | |
JP2012034353A (en) | Network communication apparatus, communication method, and integrated circuit | |
JP4912435B2 (en) | IP network failure location visualization apparatus, IP network failure location visualization method, IP network failure location visualization program | |
JP5228081B2 (en) | Home device management system and home device management method | |
JP2007257266A (en) | Information processor, device display processing method, storage medium and program | |
JP5690690B2 (en) | Abnormality detection device, abnormality detection method, and abnormality detection program | |
JP4714245B2 (en) | Network visualization apparatus and method, program, and storage medium | |
JP2015186164A (en) | monitoring server, network monitoring system, network monitoring method and network monitoring program | |
JP2015119275A (en) | Communication device, packet monitoring method, and computer program | |
JP2012221184A (en) | Management method | |
WO2013088739A1 (en) | Communication monitoring system and program | |
JP6244778B2 (en) | Node management device, node management program, node, node control program, and network system | |
JP5088971B2 (en) | Network test apparatus, network test method, and program | |
JP2011095895A (en) | Device information obtaining method and device | |
CN114124742A (en) | Asset running state monitoring system suitable for industrial network | |
JP2015119274A (en) | Communication device, packet monitoring method, communication method, and computer program | |
JP2010224652A (en) | Network management method and system, and program for network management system |