JP2002344448A - Device and method for testing network equipment, and program for making computer execute the same method - Google Patents

Device and method for testing network equipment, and program for making computer execute the same method

Info

Publication number
JP2002344448A
JP2002344448A JP2001146633A JP2001146633A JP2002344448A JP 2002344448 A JP2002344448 A JP 2002344448A JP 2001146633 A JP2001146633 A JP 2001146633A JP 2001146633 A JP2001146633 A JP 2001146633A JP 2002344448 A JP2002344448 A JP 2002344448A
Authority
JP
Japan
Prior art keywords
data
transmission
reception
test
network device
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
Application number
JP2001146633A
Other languages
Japanese (ja)
Inventor
Yuko Sakamoto
優子 坂本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2001146633A priority Critical patent/JP2002344448A/en
Publication of JP2002344448A publication Critical patent/JP2002344448A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically execute highly precise verification, while conducting high-speed transmission and reception of mass data. SOLUTION: This network equipment testing device, having a transmission and reception interface connectable to equipment under test for testing the operation of the equipment under test, is provided with a test rule inputting means 1 for inputting a test rule, in which the matching elements of transmission data and reception data are preliminarily defined; a transmission data generating means 2 for generating transmission data according to a preliminarily defined transmission rule; a transmission means 3 for transmitting the transmission data to the equipment under test; a receiving means 4 for receiving and recording the reception data from the equipment to be asynchronously tested with the transmission of the transmission data; a verifying means 5 for verifying the reception data, by comparing the matching elements of the transmission data and the reception data in a prescribed retrieval range, and making the transmission data and the reception data correspond to each other; and a tested result outputting means 6 for outputting the verified result of the verifying means 5.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ネットワークに
接続され、通信を中継することを機能とするネットワー
ク機器を検査するためのネットワーク機器試験装置、ネ
ットワーク機器試験方法およびその方法をコンピュータ
に実行させるプログラムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network device testing apparatus, a network device testing method for testing network devices connected to a network and having a function of relaying communication, and a program for causing a computer to execute the method. It is about.

【0002】[0002]

【従来の技術】ルータなどのネットワーク中継機器の基
本的な動作は、PDU(Protocol Data Unit)を受信
し、受信したPDUの内容によって出力経路の振り分け
やPDUの書き換え等の所定の処理を行った後、再びそ
のPDUを送信するものである。また、ネットワーク中
継機器は、場合によって、受信したPDUを廃棄した
り、PDUを廃棄したことを通知するために新たなPD
Uを作成して送信元に返信することもある。ここで、P
DUとは、各通信プロトコルによって定められた形式の
データの固まりをいう。
2. Description of the Related Art The basic operation of a network relay device such as a router is such that a PDU (Protocol Data Unit) is received and a predetermined process such as distribution of an output path or rewriting of a PDU is performed according to the content of the received PDU. Thereafter, the PDU is transmitted again. In some cases, the network relay device may discard the received PDU or create a new PD to notify that the PDU has been discarded.
U may be created and returned to the sender. Where P
The DU is a group of data in a format defined by each communication protocol.

【0003】ネットワーク中継機器に対する代表的な試
験方法としては、プロトコルアナライザ等を用いて被試
験機器にPDUを送信し、被試験機器の反応を調べるも
のが従来から一般的に知られている。このようなPDU
送信によるネットワーク機器試験方法には、次の二つの
方法がある。
As a typical test method for a network relay device, a method of transmitting a PDU to a device under test using a protocol analyzer or the like and examining a response of the device under test has been generally known. Such a PDU
There are the following two methods for network device testing by transmission.

【0004】第1の試験方法は、PDU送信と受信を同
期させる方法で、1または数個のPDUを被試験機器に
対する送信後、被試験機器からのPDUの受信またはタ
イムアウトが生じるのを待機し、結果に対する検証を行
なってから次のPDUを送信するものである。この方法
では、送信とそれに対する結果の対応が明らかであるこ
とから、受信したPDUに対する検証を自動的に、かつ
きめ細かく行なうことができるという利点がある。例え
ば、特開平6−188952号公報には、PDUの送受
信を含む試験の流れを試験シナリオとして記述する手段
を提供し、このような試験に画一的な手段を与えること
が開示されている。
A first test method is a method of synchronizing the transmission and reception of PDUs. After transmitting one or several PDUs to a device under test, it waits for reception of a PDU from the device under test or a timeout to occur. After verifying the result, the next PDU is transmitted. This method has an advantage that the verification of the received PDU can be performed automatically and finely because the correspondence between the transmission and the result is clear. For example, Japanese Patent Application Laid-Open No. Hei 6-188952 discloses that a means for describing a test flow including transmission and reception of PDUs as a test scenario is provided, and a uniform means is provided for such a test.

【0005】第2の試験方法は、PDUの送信と受信と
を同期させないものであり、連続的にPDUを送信し、
受信処理としては、単に受信ログを記録するだけという
もので、全ての送信完了後にログを検証するものであ
る。この方法では、PDUの送受信を同期させないため
送信速度を指定できるという利点がある。
[0005] A second test method does not synchronize transmission and reception of PDUs, and continuously transmits PDUs.
The reception process simply records a reception log, and verifies the log after all transmissions are completed. This method has the advantage that the transmission rate can be specified because the transmission and reception of PDUs are not synchronized.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のネットワーク機器試験方法にはつぎのような
問題点がある。第1の試験方法は検証を自動的にかつき
め細かく行えるという点で優れているが、PDUの送受
信を同期させる方法であるため、検証可能な単位で送信
毎に受信を待機しなければならず、送信速度が制限され
てしまう。このため第1の試験方法では、速度的な負荷
を与える試験が実施できないという問題点がある。
However, such a conventional method for testing network equipment has the following problems. The first test method is excellent in that verification can be performed automatically and finely, but since it is a method of synchronizing transmission and reception of PDUs, it must wait for reception for each transmission in a verifiable unit. Transmission speed is limited. For this reason, the first test method has a problem that a test for applying a speed load cannot be performed.

【0007】一方、第2の試験方法ではPDUの送受信
を同期させないため、送信速度の制限を受けない点で優
れているが、被試験機器が送信したPDUを廃棄した
り、異なる形態のPDUを返信したりすることがあるた
め、送信したPDUとログの対応が取りにくい。受信し
たPDUのデータ量が小さければ試験実施者が目視でロ
グを検証すれば良いが、データ量が大きい場合、目視に
よる検証の負担を軽減するため、送受信データの対応が
不要なPDUのフォーマット検査にとどめざるを得ない
という問題がある。
On the other hand, the second test method is excellent in that transmission and reception of PDUs are not synchronized, so that the transmission speed is not restricted. However, the PDU transmitted by the device under test is discarded or a PDU of a different form is transmitted. Since a reply may be made, it is difficult to make correspondence between the transmitted PDU and the log. If the data amount of the received PDU is small, the tester may verify the log visually, but if the data amount is large, the format inspection of the PDU that does not need to deal with the transmitted / received data in order to reduce the burden of visual verification There is a problem that must be stopped.

【0008】ネットワーク中継機器の試験の種類によっ
ては、高速に大量のPDUを送信し、かつ、受信内容を
送信データと対応付けてきめ細かに検証したい場合があ
る。しかしながら、第1の試験方法および第2の試験方
法によっても、送信速度の制限を受けずに大量のPDU
送受信を行いつつ、自動的なかつきめ細やかな検証を実
現することができないという問題がある。
[0008] Depending on the type of test of the network relay device, there is a case where it is desired to transmit a large amount of PDUs at high speed and to correlate the received contents with the transmission data and to perform detailed verification. However, even with the first test method and the second test method, a large number of PDUs can be transmitted without being limited by the transmission rate.
There is a problem that automatic and detailed verification cannot be realized while transmitting and receiving.

【0009】この発明は上記に鑑みてなされたもので、
大量のデータの高速な送受信を行いつつも、高精度な検
証を自動的に行えるネットワーク機器試験装置を得るこ
とを目的とする。
[0009] The present invention has been made in view of the above,
An object of the present invention is to provide a network device test apparatus that can automatically perform high-accuracy verification while transmitting and receiving a large amount of data at high speed.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、この発明にかかるネットワーク機器試験装置は、被
試験機器と接続可能な送受信インタフェースを有し、被
試験機器の動作試験を行うネットワーク機器試験装置に
おいて、送信データと受信データの一致要素をあらかじ
め定義した試験規則を入力する試験規則入力手段と、あ
らかじめ定義された送信規則に従って送信データを生成
する送信データ生成手段と、前記送信データを被試験機
器に送信する送信手段と、被試験機器からの受信データ
を、前記送信データの送信と非同期で受信して記録する
受信手段と、所定の検索範囲内の送信データと受信デー
タの前記一致要素を比較して送信データと受信データと
を対応付け、受信データの検証を行なう受信データ検証
手段と、前記受信データ検証手段による検証結果を出力
する試験結果出力手段と、を備えたことを特徴とする。
In order to achieve the above object, a network device test apparatus according to the present invention has a transmission / reception interface connectable to a device under test and performs an operation test of the device under test. In the apparatus, a test rule input means for inputting a test rule in which a matching element between the transmission data and the reception data is defined in advance, transmission data generation means for generating transmission data in accordance with a predefined transmission rule, Transmitting means for transmitting to the device, receiving data from the device under test, receiving means for receiving and recording the data asynchronously with the transmission of the transmission data, and transmitting the transmission data within a predetermined search range and the matching element of the reception data. Receiving data verifying means for comparing the transmitted data with the received data by comparison and verifying the received data; A test result output means for outputting a verification result by the data verification unit, characterized by comprising a.

【0011】この発明によれば、送信データと受信デー
タの一致要素を試験規則にあらかじめ定義しておく。こ
こで、一致要素とは、送信データおよび受信データとの
中で検索キーとなりうる要素であり、被試験機器で変更
されない要素をいう。この発明によれば、送信データの
送信と非同期で被試験機器から受信データを受信して、
送信データと受信データとを一致要素を比較することに
より対応づけているので、データの送受信が非同期であ
る場合にも被試験機器の高精度な検証を自動的に行え
る。また、受信データと対応づける送信データは、所定
の検索範囲内でのみ検索されて受信データとの対応付け
がなされるので、送受信するデータ量が大量である場合
にも、送信データの送信順と受信データの受信順とが類
似していることを利用して検索範囲を定めることによ
り、自動的な検証が可能となる。このように、この発明
によれば、被試験機器に対して大量のデータの送受信を
行った場合でも、被試験機器の高精度な検証を自動的に
行うことができる。
According to the present invention, the matching element between the transmission data and the reception data is defined in the test rule in advance. Here, the matching element is an element that can be a search key in the transmission data and the reception data, and is an element that is not changed by the device under test. According to the present invention, receiving reception data from a device under test asynchronously with transmission of transmission data,
Since the transmission data and the reception data are associated by comparing the matching elements, even when the data transmission and reception are asynchronous, highly accurate verification of the device under test can be automatically performed. Further, the transmission data to be associated with the reception data is searched only within a predetermined search range and is associated with the reception data. Therefore, even when the amount of data to be transmitted and received is large, the transmission order of the transmission data is not changed. By determining that the search range is based on the fact that the reception order of the received data is similar, automatic verification becomes possible. As described above, according to the present invention, even when a large amount of data is transmitted / received to / from the device under test, highly accurate verification of the device under test can be automatically performed.

【0012】つぎの発明にかかるネットワーク機器試験
装置は、上記の発明において、前記受信データ検証手段
は、受信データの順序が不定である場合に、すでに受信
データに対応付けされた送信データより先に送信された
送信データを検索範囲として、送信データと受信データ
とを対応付けるものであることを特徴とする。
[0012] In the network equipment test apparatus according to the next invention, in the above-mentioned invention, the received data verifying means, if the order of the received data is indeterminate, precedes the transmission data already associated with the received data. The transmitted data is set as a search range, and the transmitted data is associated with the received data.

【0013】この発明によれば、すでに受信データに対
応付けされた送信データより先に送信された送信データ
を検索範囲として、送信データと受信データとを対応付
けるので、送信データに対する被試験機器からの受信デ
ータの順序が不定である場合にも、送信データと受信デ
ータとの対応付けが可能となり、大量の送受信データを
利用して被試験機器の高精度かつ自動的な検証を行うこ
とができる。
According to the present invention, the transmission data transmitted before the transmission data already associated with the reception data is set as a search range, and the transmission data and the reception data are associated with each other. Even when the order of the received data is indefinite, the transmission data and the received data can be associated with each other, and a high-precision and automatic verification of the device under test can be performed using a large amount of transmitted / received data.

【0014】つぎの発明にかかるネットワーク機器試験
装置は、上記の発明において、前記送信手段は、所定の
送信速度で送信データを送信するものであり、前記受信
データ検証手段は、送信データの送信を並行して、受信
データの検証を行うものであることを特徴とする。
[0014] In a network device test apparatus according to the next invention, in the above invention, the transmission means transmits the transmission data at a predetermined transmission speed, and the reception data verification means transmits the transmission data. In parallel, the received data is verified.

【0015】この発明によれば、受信データ検証手段が
送信データの送信を並行して受信データの検証を行うの
で、ネットワーク機器試験装置の処理性能を効率良く使
用して、試験時間を短縮することができる。
According to the present invention, the received data verification means verifies the received data in parallel with the transmission of the transmission data, so that the processing performance of the network device test apparatus can be used efficiently and the test time can be reduced. Can be.

【0016】つぎの発明にかかるネットワーク機器試験
方法は、送受信インタフェースにより接続可能な被試験
機器の動作試験を行うネットワーク機器試験方法におい
て、送信データと受信データの一致要素をあらかじめ定
義した試験規則を入力する試験規則入力ステップと、前
記送信データを被試験機器に送信する送信ステップと、
被試験機器からの受信データを、前記送信ステップと非
同期で受信して記録する受信ステップと、所定の検索範
囲内の送信データと受信データの前記一致要素を比較し
て送信データと受信データとを対応付け、受信データの
検証を行なう受信データ検証ステップと、前記受信デー
タ検証ステップによる検証結果を出力する試験結果出力
ステップと、を含むことを特徴とする。
A network device test method according to the present invention is a network device test method for performing an operation test of a device under test connectable by a transmission / reception interface, wherein a test rule in which a matching element between transmission data and reception data is defined in advance is input. A test rule inputting step, and a transmitting step of transmitting the transmission data to the device under test,
A receiving step of receiving and recording the data received from the device under test asynchronously with the transmitting step, and comparing the matching elements of the transmitted data and the received data within a predetermined search range to determine the transmitted data and the received data. The method is characterized by including a reception data verification step of performing association and verification of reception data, and a test result output step of outputting a verification result by the reception data verification step.

【0017】この発明によれば、送信データの送信と非
同期で被試験機器から受信データを受信して、送信デー
タと受信データとを一致要素を比較することにより対応
づけているので、データの送受信が非同期である場合に
も被試験機器の高精度な検証を自動的に行える。また、
受信データと対応づける送信データは、所定の検索範囲
内でのみ検索されて受信データとの対応付けがなされる
ので、送受信するデータ量が大量である場合にも、送信
データの送信順と受信データの受信順とが類似している
ことを利用して検索範囲を定めることにより、自動的な
検証が可能となる。従って、この発明によれば、被試験
機器に対して大量のデータの送受信を行った場合でも、
被試験機器の高精度な検証を自動的に行うことができ
る。
According to the present invention, the received data is received from the device under test asynchronously with the transmission of the transmitted data, and the transmitted data and the received data are correlated by comparing matching elements. , The device under test can be automatically verified with high accuracy. Also,
The transmission data to be associated with the reception data is searched only within a predetermined search range and is associated with the reception data. Therefore, even if the amount of data to be transmitted and received is large, the transmission order of the transmission data and the reception data By determining that the search range is based on the fact that the order of reception is similar, automatic verification becomes possible. Therefore, according to the present invention, even when a large amount of data is transmitted / received to / from the device under test,
Highly accurate verification of the device under test can be performed automatically.

【0018】つぎの発明にかかるネットワーク機器試験
方法は、上記の発明において、前記受信データ検証ステ
ップは、受信データの順序が不定である場合に、すでに
受信データに対応付けされた送信データより先に送信さ
れた送信データを検索範囲として、送信データと受信デ
ータとを対応付けるものであることを特徴とする。
In the network device testing method according to the next invention, in the above-mentioned invention, the received data verifying step is performed before the transmitted data already associated with the received data when the order of the received data is not fixed. The transmitted data is set as a search range, and the transmitted data is associated with the received data.

【0019】この発明によれば、すでに受信データに対
応付けされた送信データより先に送信された送信データ
を検索範囲として、送信データと受信データとを対応付
けるので、送信データに対する被試験機器からの受信デ
ータの順序が不定である場合にも、送信データと受信デ
ータとの対応付けが可能となり、大量の送受信データを
利用して被試験機器の高精度かつ自動的な検証を行うこ
とができる。
According to the present invention, the transmission data transmitted before the transmission data already associated with the reception data is set as a search range, and the transmission data and the reception data are associated with each other. Even when the order of the received data is indefinite, the transmission data and the received data can be associated with each other, and a high-precision and automatic verification of the device under test can be performed using a large amount of transmitted / received data.

【0020】つぎの発明にかかるネットワーク機器試験
方法は、上記の発明において、前記送信ステップは、所
定の送信速度で送信データを送信するものであり、前記
受信データ検証ステップは、前記送信ステップと並行し
て、受信データの検証を行うものであることを特徴とす
る。
[0020] In a network device test method according to the next invention, in the above invention, the transmission step transmits transmission data at a predetermined transmission speed, and the reception data verification step is performed in parallel with the transmission step. Then, the received data is verified.

【0021】この発明によれば、受信データ検証ステッ
プが送信ステップと並行して行われるので、ネットワー
ク機器試験装置の処理性能を効率良く使用して、試験時
間を短縮することができる。
According to the present invention, since the received data verification step is performed in parallel with the transmission step, the processing time of the network device test apparatus can be efficiently used, and the test time can be reduced.

【0022】つぎの発明にかかるプログラムは、上述し
た発明のいずれか一つに記載されたネットワーク機器試
験方法をコンピュータに実行させるプログラムであり、
そのプログラムが機械読み取り可能となり、これによっ
て、上記の発明のいずれか一つの動作をコンピュータに
よって実行することができる。
A program according to the next invention is a program for causing a computer to execute the network device test method according to any one of the above-described inventions,
The program becomes machine-readable, so that any one of the operations of the invention described above can be executed by a computer.

【0023】[0023]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかるネットワーク機器試験装置、ネットワーク
機器試験方法およびその方法をコンピュータに実行させ
るプログラムの好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a network device test apparatus, a network device test method, and a program for causing a computer to execute the method according to the present invention will be described below in detail with reference to the accompanying drawings.

【0024】実施の形態1.実施の形態1であるネット
ワーク機器試験装置は、被試験機器が送信データに対す
る受信データの順序を狂わせず、送受信データのフォー
マットを変化させない場合の試験を行うものである。図
1は、この発明の実施の形態1であるネットワーク機器
試験装置の構成を示すブロック図である。図1に示すよ
うに、実施の形態1のネットワーク機器試験装置は、試
験規則入力手段1と、送信データ生成手段2と、送信手
段3と、受信手段4と、検証手段5と、試験結果出力手
段6とを備えている。
Embodiment 1 The network device test apparatus according to the first embodiment performs a test when the device under test does not change the order of received data with respect to transmitted data and does not change the format of transmitted / received data. FIG. 1 is a block diagram illustrating a configuration of a network device test apparatus according to Embodiment 1 of the present invention. As shown in FIG. 1, the network device test apparatus according to the first embodiment includes a test rule input unit 1, a transmission data generation unit 2, a transmission unit 3, a reception unit 4, a verification unit 5, and a test result output unit. Means 6.

【0025】試験規則入力手段1は、試験実施者が、送
信規則、送信データ(PDU)と受信データ(PDU)
の対応付け規則、検証規則を入力するものであり、キー
ボード、マウス等の入力装置が含まれる。送信規則、前
記対応付け規則及び検証規則は、試験規則としてネット
ワーク機器試験装置内のハードディスク等の記録媒体に
格納される。
The test rule input means 1 allows the test executor to specify a transmission rule, transmission data (PDU) and reception data (PDU).
, And input devices such as a keyboard and a mouse. The transmission rule, the association rule, and the verification rule are stored as test rules in a recording medium such as a hard disk in the network device test apparatus.

【0026】送信データ生成手段2は、予め定められた
送信規則に従って、被試験機器に送信する送信データ
(PDU)を生成するものである。被試験機器の処理内
容が経路振り分けを主とするような場合には、試験装置
から被試験機器への送信経路が複数存在するが、この場
合には、送信データ生成手段2は、送信データとして送
信経路の情報も生成する。
The transmission data generating means 2 generates transmission data (PDU) to be transmitted to the device under test according to a predetermined transmission rule. When the processing content of the device under test is mainly route distribution, there are a plurality of transmission routes from the test apparatus to the device under test. In this case, the transmission data generating means 2 transmits the transmission data as transmission data. The transmission path information is also generated.

【0027】送信手段3は、被試験機器に対し、送信デ
ータ生成手段2により生成された送信データを送信する
ものである。受信手段4は、被試験装置が送信した送信
データ(PDU)を受信し、その内容を受信ログとして
ハードディスク等の記録媒体に記録するものである。被
試験機器からネットワーク機器試験装置への受信経路が
複数存在する場合には、受信経路情報も受信データの中
に含めて記録する。このような送信手段3と受信手段4
には、LANボード、モデムなどの通信装置等が含まれ
る。
The transmitting means 3 transmits the transmission data generated by the transmission data generating means 2 to the device under test. The receiving means 4 receives the transmission data (PDU) transmitted by the device under test and records the contents as a reception log on a recording medium such as a hard disk. When there are a plurality of reception paths from the device under test to the network device test apparatus, the reception path information is also included in the received data and recorded. Such transmitting means 3 and receiving means 4
Includes communication devices such as a LAN board and a modem.

【0028】検証手段(受信データ検証手段)5は、送
信データと受信データとを、試験規則の中の対応付け規
則に従って対応付け、検証規則に従って検証し、結果を
ハードディスク等の記録媒体に記録するものである。
The verification means (received data verification means) 5 associates the transmitted data with the received data according to the association rule in the test rules, verifies the data according to the verification rule, and records the result on a recording medium such as a hard disk. Things.

【0029】試験結果出力手段6は、検証手段5によっ
て記録された検証結果を、ディスプレイに表示したり紙
に印刷したりするものである。
The test result output means 6 is for displaying the verification result recorded by the verification means 5 on a display or printing it on paper.

【0030】つぎに、以上のように構成されたネットワ
ーク機器試験装置によるネットワーク機器試験方法につ
いて説明する。この実施の形態1のネットワーク機器試
験装置では、被試験機器としてIPネットワーク上のN
AT装置(ネットワークアドレス変換装置)の試験を行
っている。尚、被試験機器としては、NAT装置に限ら
れるものではなく、他のネットワーク中継装置、あるい
は他のネットワーク機器を被試験機器としても良い。
Next, a network device test method using the network device test apparatus configured as described above will be described. In the network device testing apparatus according to the first embodiment, the NUT on the IP network is used as the device under test.
We are testing AT equipment (network address translation equipment). It should be noted that the device under test is not limited to the NAT device, and another network relay device or another network device may be used as the device under test.

【0031】IP上のPDUはパケットと呼ばれる。図
2は、IP上のトランスポート層プロトコルであるUD
Pのパケットのデータ構造図である。UDPパケット
は、図2に示すとおり、先頭にIPヘッダ、その後ろに
UDPヘッダが付加され、一番後ろにデータが格納され
た形式となっている。NAT装置は、異なるネットワー
クアドレス体系を持つ2つのネットワークの間に位置
し、片方のネットワークからもう一方のネットワークへ
向けて送信されたパケットのIPアドレスやポートを、
送り側のネットワークに合わせて書き換える役割を持
つ。ここで、実施の形態1では、NAT装置に対し、発
信元アドレスが0x0A010000から0x0A0A
FFFFまでの655360個のUDPパケットを送信
すると、発信元アドレスがそれぞれ0x8201000
0から0x820AFFFFに変換されることが期待さ
れているとする。
A PDU over IP is called a packet. FIG. 2 shows UD, a transport layer protocol over IP.
It is a data structure figure of the packet of P. As shown in FIG. 2, the UDP packet has a format in which an IP header is added at the beginning, a UDP header is added after the IP header, and data is stored at the end. The NAT device is located between two networks having different network address systems, and assigns an IP address and a port of a packet transmitted from one network to the other network.
It has the role of rewriting according to the sending network. Here, in the first embodiment, for the NAT device, the source address is 0x0A010000 to 0x0A0A.
When 655360 UDP packets are transmitted up to FFFF, the source addresses are respectively 0x8201000.
Suppose that it is expected to be converted from 0 to 0x820AFFFF.

【0032】試験実施者は、次の基本的手順で試験を実
施する。以下、この手順の流れに沿って、ネットワーク
機器試験処理の手順について説明する。
The tester performs the test according to the following basic procedure. Hereinafter, the procedure of the network device test processing will be described along the flow of this procedure.

【0033】 手順1:試験規則の入力 手順2:送信データ生成 手順3:送受信実行 手順4:受信ログ検証 手順5:検証結果出力Step 1: Input test rules Step 2: Generate transmission data Step 3: Execute transmission / reception Step 4: Verify reception log Step 5: Output verification result

【0034】手順1:試験規則の入力 図3は、実施の形態1のネットワーク機器試験装置にお
いて、試験実施者が入力する試験規則の一例を示す説明
図である。図3に示す通り、実施の形態1のネットワー
ク機器試験装置に入力される試験規則は、送信規則
(1)と、送受信データ対応付け規則(2)と、受信デ
ータ検証規則(3)とから構成される。
Procedure 1: Input of Test Rule FIG. 3 is an explanatory diagram showing an example of a test rule input by a tester in the network device test apparatus according to the first embodiment. As shown in FIG. 3, the test rule input to the network device test apparatus of the first embodiment includes a transmission rule (1), a transmission / reception data association rule (2), and a reception data verification rule (3). Is done.

【0035】送信規則(1)の「送信シーケンス」は、
指定された名称のシーケンスを送信することを示す。図
3の例ではSeq1という単一のシーケンスを指定して
いるが、複数のシーケンスを指定することも可能であ
る。送信規則(1)の「シーケンス定義」は、「シーケ
ンス名」と「送信数」とからなり、シーケンス名の内容
と送信数を定義している。図3の例では、Seq1とい
う「シーケンス名」の内容を定義し、「送信数」は、S
eq1として送信するパケットの合計数が655360
個であることを示している。
The “transmission sequence” of the transmission rule (1) is as follows.
Indicates that the sequence with the specified name is transmitted. In the example of FIG. 3, a single sequence Seq1 is specified, but a plurality of sequences can be specified. The “sequence definition” of the transmission rule (1) includes a “sequence name” and a “number of transmissions”, and defines the contents of the sequence name and the number of transmissions. In the example of FIG. 3, the contents of the “sequence name” of Seq1 are defined, and the “number of transmissions” is S
The total number of packets transmitted as eq1 is 655360
It shows that it is an individual.

【0036】送信規則(1)の「IP・プロトコル」
は、パケット送信のプロトコルを指定したものである。
図3の例では最小値、最大値とも17(UDP)で加算
値が0なので、送信する全てのパケットのプロトコルが
17であることを意味する。
"IP / protocol" in transmission rule (1)
Specifies a packet transmission protocol.
In the example of FIG. 3, since the minimum value and the maximum value are both 17 (UDP) and the added value is 0, it means that the protocol of all the packets to be transmitted is 17.

【0037】送信規則(1)の「IP・発信元アドレ
ス」はパケットの発信元のアドレスの範囲を示し、パケ
ットの発信元アドレスは最小値から順に加算値で指定さ
れた値だけ増加して最大値までの範囲をとる。図3の例
では、最小値が0x0A010000、最大値が0x0
A0AFFFF、加算値が+1であるので、最初のパケ
ットの発信元アドレスは0x0A0A0000、次のパ
ケットは0x0A0A0001と1ずつ加算し、最大値
の0x0A0AFFFFまで加算されたら、0x0A0
10000に戻ることを意味する。この場合は、0x0
A010000から0x0A0AFFFFまで送信数と
同じ655,360個のアドレスが定義されているの
で、最後のパケットが0x0A0AFFFFとなる。
「IP・宛先アドレス」はパケットの宛先アドレスを示
し、「発信元アドレス」と同様にパケットの宛先アドレ
スは、最小値から最大値までの範囲を加算値ごとに加算
される。図3の例では、0x28010000から0x
280AFFFFまでの加算が定義されている。宛先ア
ドレスに対するこの加算は、宛先アドレスを後述する対
応付け規則に用いることを目的としている。「IP・発
信元アドレス」も、全PDU間で異なっているが、発信
元アドレスは被試験機器によって変換されることが予測
されているので、変換対象とならない「IP・宛先アド
レス」を検索キーとして選択し、本発明における一致要
素としている。
The "IP / source address" of the transmission rule (1) indicates the range of the address of the source of the packet. The source address of the packet increases in order from the minimum value by the value specified by the added value and increases by the maximum value. Range up to the value. In the example of FIG. 3, the minimum value is 0x0A010000 and the maximum value is 0x0
A0AFFFF, the added value is +1. Therefore, the source address of the first packet is 0x0A0A0000, and the next packet is added to 0x0A0A0001 by one.
It means returning to 10,000. In this case, 0x0
Since 655,360 addresses equal to the number of transmissions are defined from A010000 to 0x0A0AFFFF, the last packet is 0x0A0AFFFF.
The “IP / destination address” indicates the destination address of the packet. Like the “source address”, the destination address of the packet is added in the range from the minimum value to the maximum value for each additional value. In the example of FIG. 3, 0x28010000 to 0x
Additions up to 280AFFFF are defined. This addition to the destination address is intended to use the destination address in an association rule described below. The “IP / source address” also differs among all PDUs, but since the source address is expected to be converted by the device under test, the “IP / destination address” that is not to be converted is searched using the search key. As the matching element in the present invention.

【0038】このように、この発明による試験装置を用
いた場合、検索キーとなりうる一致要素が必ず1つ以上
存在しなければならない。従って、検索キーを設けるた
めに、送信する送信データ(PDU)の中から被試験機
器によって変更されない要素を選択し、その要素の値を
全ての送信データで異なる値となるように決定する必要
がある。しかし多くの試験では、送信するデータの全て
の要素を自由に定義できる必要はなく、実際上は問題に
ならない。規則の定義されていないその他の要素にはデ
フォルト値が固定で用いられるものとする。
As described above, when the test apparatus according to the present invention is used, there must be at least one matching element which can be a search key. Therefore, in order to provide a search key, it is necessary to select an element that is not changed by the device under test from the transmission data (PDU) to be transmitted, and determine the value of the element to be different for all transmission data. is there. However, in many tests, it is not necessary to be able to freely define all elements of the data to be transmitted, and this is not a problem in practice. Default values are fixed for other elements for which rules are not defined.

【0039】送信規則(1)の「送信速度」は、単位時
間あたりの送信量であり、図3の例では1秒間に送信す
るパケット数を指定している。この他、トラヒックの特
性などを送信規則として指定しても良い。
The "transmission speed" of the transmission rule (1) is a transmission amount per unit time, and in the example of FIG. 3, specifies the number of packets to be transmitted per second. In addition, traffic characteristics and the like may be specified as transmission rules.

【0040】送受信データ対応付け規則(2)の「対応
付け条件」は、対応する送信データと受信データの間に
成立すべき条件を、パケット要素を用いて表わしたもの
である。図3の例では、パケット要素を「・」でつない
で表わしているが、次のような意味である。「送信」、
「受信」はそれぞれ「送信パケット」(送信データ)、
「受信パケット」(受信データ)を表わす。IPなどの
プロトコル名はそのプロトコルのヘッダを表わす。ヘッ
ダの後ろで、最後に書かれているのが「要素名」であ
る。例えば、「受信・IP・宛先アドレス」は「受信パ
ケットのIPヘッダの宛先アドレス」を表わす。従っ
て、図3の例では、一致要素を宛先アドレスとして、受
信パケットのIPヘッダの宛先アドレスと送信パケット
のIPヘッダの宛先アドレスが一致している場合に送信
データと受信データとが対応付けられることになる。
The "association condition" of the transmission / reception data association rule (2) expresses a condition to be satisfied between the corresponding transmission data and reception data using a packet element. In the example of FIG. 3, the packet elements are represented by connecting them with “•”, which has the following meaning. "Send",
"Receive" means "transmit packet" (transmit data),
Represents "received packet" (received data). A protocol name such as IP indicates a header of the protocol. The last element after the header is the "element name". For example, “reception / IP / destination address” indicates “destination address of IP header of received packet”. Therefore, in the example of FIG. 3, when the destination address of the IP header of the received packet and the destination address of the IP header of the transmitted packet match with the matching element as the destination address, the transmission data and the reception data are associated with each other. become.

【0041】受信データ検証規則(3)の「検証結果を
OKとする条件」は、正しい受信データが満たすべき条
件を、パケット要素を用いて表わしたものである。図3
の例では、経路情報が予測された経路であること、受信
パケットの発信元アドレスが送信パケットの発信元アド
レスに0x78000000を加算したものとなるこ
と、及びIPヘッダのチェックサムが正常に再計算され
ていることを条件として指定している。
The "condition for making the verification result OK" in the received data verification rule (3) expresses a condition that must be satisfied by correct received data using a packet element. FIG.
In the example, the route information is a predicted route, the source address of the received packet is the source address of the transmitted packet plus 0x78000000, and the checksum of the IP header is recalculated normally. Is specified as a condition.

【0042】手順2:送信データ生成 試験規則の入力が完了したら、送信データ生成を実行す
る。送信データ生成手段2は、送信規則に従って、パケ
ットデータを生成し、試験装置内のハードディスク等の
記録媒体に格納する。
Step 2: Generation of transmission data When the input of the test rule is completed, transmission data generation is executed. The transmission data generation means 2 generates packet data according to the transmission rules and stores the packet data in a recording medium such as a hard disk in the test apparatus.

【0043】手順3:送受信の実行 手順2で生成された送信データの送信及び、送信に対し
て被試験機器であるNAT装置から送り返されてくるト
ラヒックの受信を行なう。送信手段3は、生成された送
信データを、送信規則として指定されたトラヒック特
性、速度に従って送信する。受信は、基本的には送信と
同時に開始する。受信を開始すると、受信手段4は、パ
ケットの受信を待機し、受信したパケットを受信順に受
信ログに記録していく。
Step 3: Execution of transmission / reception Transmission of the transmission data generated in step 2 and reception of traffic returned from the NAT device, which is the device under test, for transmission. The transmitting means 3 transmits the generated transmission data according to the traffic characteristics and speed specified as the transmission rule. Reception basically starts at the same time as transmission. When the reception is started, the receiving unit 4 waits for the reception of the packet, and records the received packets in the reception log in the order of reception.

【0044】手順4:受信ログの検証 パケットの受信が終了したら、受信ログの検証を行な
う。図4は、実施の形態1のネットワーク機器試験装置
による受信ログ検証処理の手順を示すフローチャートで
ある。
Step 4: Verification of reception log When reception of the packet is completed, verification of the reception log is performed. FIG. 4 is a flowchart illustrating a procedure of a reception log verification process performed by the network device test apparatus according to the first embodiment.

【0045】受信ログ検証処理は、全受信パケットに対
するループとして実行される(ステップ401)。rx
は受信パケットの受信順位である。rxのループは実施
の形態1では受信順となっているが、受信順の逆順であ
っても良い。但し逆順の場合、後述する対応付けで、送
信データも逆順に検索する必要がある。
The reception log verification processing is executed as a loop for all received packets (step 401). rx
Is the reception order of the received packet. The rx loop is in the order of reception in the first embodiment, but may be in the reverse order of the order of reception. However, in the case of the reverse order, it is necessary to search the transmission data in the reverse order by the association described later.

【0046】各受信パケットに対する処理では、送信パ
ケットとの対応付けを行なうために、まず、その受信パ
ケットに対し検索すべき送信パケットの検索範囲を決定
する(ステップ402)。図5は、送信パケットと受信
パケットの対応の一例を示す説明図である。この実施形
態では送信データに対する受信データの順序が狂わない
ことを前提としているので、送受信パケットの関係は、
送信順と受信順がきわめて類似した関係となり、例えば
図5の「実際の対応」に示すようになる。図5に示す受
信パケットと送信パケットを結ぶ線は、それらが対応関
係にあることを示す。t4,t7,t12は、NAT装
置で廃棄されたため対応する受信パケットが存在しな
い。このデータにおいて、今、r5に対応する送信パケ
ットを検索しているとする。最後に検索が完了したr4
の、対応受信パケットの位置がlastであるとする
と、受信順序が狂わないことから、r5に対してはla
st+1、即ち6番目のパケットから検索開始すれば良
い。また、対応する受信パケットと送信パケット間での
受信順と送信順のずれは最大でも送信数と受信数の差で
あるので、r5に対しては(受信順)5に(送信数と受
信数の差)3を加算した8番目のパケットt8までを検
索すれば良い。このように検索対象の送信パケット範囲
決定処理(ステップ402)は、次の基準で検索範囲を
決定する。
In the process for each received packet, a search range of the transmitted packet to be searched for the received packet is first determined in order to associate the received packet with the transmitted packet (step 402). FIG. 5 is an explanatory diagram illustrating an example of the correspondence between a transmission packet and a reception packet. In this embodiment, it is assumed that the order of the received data with respect to the transmitted data is not out of order.
The transmission order and the reception order have a very similar relationship, for example, as shown in “Actual correspondence” in FIG. The line connecting the received packet and the transmitted packet shown in FIG. 5 indicates that they are in a corresponding relationship. At t4, t7, and t12, there is no corresponding received packet because they were discarded by the NAT device. In this data, it is assumed that a transmission packet corresponding to r5 is being searched. Last search r4
If the position of the corresponding received packet is last, the reception order does not change.
The search may be started from st + 1, that is, from the sixth packet. In addition, since the difference between the reception order and the transmission order between the corresponding reception packet and the transmission packet is the difference between the transmission number and the reception number at the maximum, r5 is set to (reception order) 5 (transmission number and reception number). (Difference of 3) up to the eighth packet t8. As described above, the search target transmission packet range determination process (step 402) determines the search range based on the following criteria.

【0047】検索範囲最小値:last+1 検索範囲最大値:現在処理中の受信パケット順序+(送
信数−受信数)
Search range minimum value: last + 1 Search range maximum value: Received packet order currently being processed + (transmission number−reception number)

【0048】仮に全受信データ(PDU)に対して、全
送信データ(PDU)を検索対象としたとすると、デー
タの送信数の二乗に比例して検索数が増えるため、対応
付け処理にかかる時間が膨大となるが、このように検索
範囲を区切ることにより、ほぼ送信数の一乗に比例した
検索数に抑えることができる。この方法で検索数が膨大
となるのは、廃棄パケット数が送信数の2分の1に近
く、対応付けの失敗する確率が高い場合である。このよ
うな場合は対応付け規則が適切でないと考えられるの
で、考慮の対象外とする。
Assuming that all transmission data (PDUs) are to be searched for all reception data (PDUs), the number of searches increases in proportion to the square of the number of data transmissions. However, by dividing the search range in this way, it is possible to suppress the number of searches substantially in proportion to the first power of the number of transmissions. The number of searches becomes enormous by this method when the number of discarded packets is close to one half of the number of transmissions and the probability of association failure is high. In such a case, it is considered that the association rule is not appropriate, so that it is not considered.

【0049】そして、上述のように決定された検索範囲
が有効か否かを判断する。具体的には、送信パケットの
検索開始位置が送信パケット数以下である場合には検索
範囲が有効であるとする。ついで、検索範囲内の送信パ
ケットに対し検索範囲最小値のポケットから順に以下の
対応付け比較処理を行う(ステップ404)。
Then, it is determined whether or not the search range determined as described above is valid. Specifically, it is assumed that the search range is valid when the search start position of the transmission packet is equal to or less than the number of transmission packets. Next, the following association comparison processing is performed on transmission packets within the search range in order from the pocket having the minimum search range (step 404).

【0050】送受信パケット対応付け比較処理では、上
記検索範囲t6からt8の各送信パケットに対し、図3
に示す送受信データ対応付け規則(2)に従って、一致
要素である宛先アドレスが受信パケットr5の宛先アド
レスと一致するかどうかを調べる(ステップ405、4
06)。その結果、r5に対して送信パケットt6が一
致条件を満す場合には、対応付け結果記録処理で送信パ
ケットに対する受信パケットの番号(受信順)を検証結
果として記録する。また、次の受信パケットに対する処
理に備え、最後に一致した送信パケットを示すlast
を更新する(ステップ407)。
In the transmission / reception packet association comparison process, each transmission packet in the search range t6 to t8 is
In accordance with the transmission / reception data association rule (2) shown in (1), it is checked whether or not the destination address which is the matching element matches the destination address of the received packet r5 (steps 405 and 4).
06). As a result, when the transmission packet t6 satisfies the matching condition with respect to r5, the number of the reception packet (reception order) for the transmission packet is recorded as the verification result in the association result recording process. Also, in preparation for processing for the next received packet, last indicating the last transmitted packet matched
Is updated (step 407).

【0051】検索範囲の送信パケットの中に対応条件を
満たすものがなかった場合、未対応受信パケットとして
受信パケット番号を記録する(ステップ413)。
If none of the transmitted packets in the search range satisfy the corresponding condition, the received packet number is recorded as an unsupported received packet (step 413).

【0052】検証処理では、t6に対し、r5が期待し
た通りの受信パケットであるかどうかを検証する(ステ
ップ408、409)。図6は送信パケットt6と受信
パケットr5の内容を示すデータ構造図である。受信デ
ータ検証規則(3)が図3に示すとおり定義されている
とき、1つ目の条件は、r5の発信元アドレスとt6の
発信元アドレスが一致することであるので、下記計算に
よりこの条件は満たしていると判定される。
In the verification process, it is verified whether or not r5 is a received packet as expected with respect to t6 (steps 408 and 409). FIG. 6 is a data structure diagram showing the contents of the transmission packet t6 and the reception packet r5. When the received data verification rule (3) is defined as shown in FIG. 3, the first condition is that the source address of r5 and the source address of t6 match. Is determined to be satisfied.

【0053】r5の発信元アドレス0x8201000
0 t6の発信元アドレス0x0A010000+0x78
000000=0x82010000
Source address of r5 0x8201000
0 Source address of t6 0x0A010000 + 0x78
000000 = 0x8200000

【0054】受信データ検証規則(3)の2つ目の条件
は受信パケットのIPヘッダチェックサムが正しいこと
である。r5の内容からチェックサムを再計算しr5の
チェックサムに一致していれば正しいと判定する。検証
処理が終了したら、全ての条件の検証結果がOKであれ
ば検証結果OKとして記録する(ステップ410)。逆
に、1つでもNGがあれば検証結果NGとして記録す
る。また、検証結果NGの場合エラー情報などを保存す
る(ステップ411)。
The second condition of the received data verification rule (3) is that the IP header checksum of the received packet is correct. The checksum is recalculated from the contents of r5, and if it matches the checksum of r5, it is determined to be correct. When the verification processing is completed, if the verification results of all the conditions are OK, it is recorded as the verification result OK (step 410). Conversely, if there is even one NG, it is recorded as a verification result NG. If the verification result is NG, error information and the like are stored (step 411).

【0055】以上の処理を全受信パケットに対して行な
った結果、r1からr7に関しては正常に送信パケット
との対応が付き検証結果もOKであり、r8に関しては
検証結果がNGであり、r9に関しては送信パケットの
対応付けができなかったとする。この場合に残される検
証結果の例を図7に示す。検証結果は、送信した全デー
タに対して、対応のあるなしに関わらず記録される。ま
た、送信データと対応のつかなかった受信データは、そ
の受信順序が記録される。
As a result of performing the above processing on all the received packets, r1 to r7 are normally associated with the transmitted packet, the verification result is OK, the verification result is r8, the verification result is NG, and the r9 is r9. Assume that the transmission packet could not be correlated. FIG. 7 shows an example of the verification result left in this case. The verification result is recorded for all the transmitted data regardless of the correspondence. In addition, the reception order of the received data that does not correspond to the transmission data is recorded.

【0056】手順5:検証結果出力 手順4における結果と、送信データ、受信ログを組み合
わせ、目的やデータ量に応じて検証結果情報を試験結果
出力手段6に出力する。
Step 5: Verification Result Output The result in step 4, the transmission data and the reception log are combined, and the verification result information is output to the test result output means 6 according to the purpose and the data amount.

【0057】この実施の形態1のネットワーク機器試験
装置による検証結果を用いることにより、試験実施者
は、送受信データの対応付けに関しては、未対応受信パ
ケットに記録された数だけの対応付けを行なえば良く、
試験結果の判定に関しては、検証結果のNGの部分だけ
を判定すれば良いことになる。特に耐久性の試験では、
送信データ量が多く、また基本的に検証NGが起こらな
いケースが多いため、検証結果NGだけを抽出して結果
出力を行なえば、この出力がないことを確認するだけで
試験を実施することができ、大幅に効率が向上する。
By using the verification result by the network device testing apparatus of the first embodiment, the tester can perform the correspondence between the transmitted and received data by the number recorded in the unsupported received packet. well,
As for the determination of the test result, only the NG portion of the verification result needs to be determined. Especially in the durability test,
Since the amount of transmitted data is large and verification NG does not occur in many cases, if only the verification result NG is extracted and the result is output, the test can be performed only by confirming that there is no output. Can greatly improve efficiency.

【0058】実施の形態2.実施の形態1のネットワー
ク機器試験装置は、被試験機器が送信データに対する受
信データの順序を狂わせず、送受信データのフォーマッ
トを変化させない場合の試験を行うものであったが、こ
の実施の形態2のネットワーク機器試験装置では、送信
データに対する受信データの順序が不定である場合の試
験を行うものである。実施の形態2のネットワーク機器
試験装置の構成、試験処理の基本的手順および検証処理
の手順については実施の形態1の装置と同様であるので
詳細な説明を省略する。
Embodiment 2 The network device test apparatus according to the first embodiment performs a test when the device under test does not change the order of the received data with respect to the transmitted data and does not change the format of the transmitted / received data. The network device test apparatus performs a test when the order of received data with respect to transmitted data is not fixed. The configuration of the network device test apparatus, the basic procedure of the test processing, and the procedure of the verification processing according to the second embodiment are the same as those of the apparatus according to the first embodiment, and thus detailed description is omitted.

【0059】図8は、実施の形態2のネットワーク機器
試験装置で送受信される送信パケットと受信パケットの
対応の一例を示す説明図である。本実施の形態では、送
信データに対する受信データの順序が不定であるので、
送受信パケットの関係は図8の「実際の対応」に示すよ
うに、必ずしも受信パケットの受信順と送信パケットの
送信順とが対応してはいない。
FIG. 8 is an explanatory diagram showing an example of correspondence between a transmission packet and a reception packet transmitted and received by the network device test apparatus according to the second embodiment. In the present embodiment, since the order of the received data with respect to the transmitted data is undefined,
As shown in the “actual correspondence” of FIG. 8, the relationship between the transmitted and received packets does not always correspond to the order of reception of the received packets and the order of transmission of the transmitted packets.

【0060】このデータにおいて、今、r5に対応する
送信パケットを検索しているとする。また、最後に検索
が完了したr4の対応受信パケットの位置がlastで
あるとする。実施の形態1では、検索範囲の最小値はl
ast+1であったが、この実施の形態2では、r5の
対応送信パケットを求めるにはlast−1が検索範囲
に入っている必要がある。このような受信パケットの遅
れの範囲は被試験機器の特性によって異なるので、本実
施の形態のネットワーク機器試験装置では、試験規則に
おける対応付け規則として「受信パケット最大遅延数」
を定義している。受信パケット最大遅延数は、送信パケ
ットの送信順序に対し、対応するパケットの受信が遅
れ、何パケットに抜かれる可能性があるかを指定すれば
良く、指定した最大遅延数までの遅延を前提に対応付け
時の検索が行なわれる。図9は、実施の形態2のネット
ワーク機器試験装置に入力される試験規則の一例を示す
説明図である。図9の送受信データ対応付け規則(2)
に示すように、受信パケット最大遅延数をnと指定した
場合、対応付けにおける検索範囲は次のようになる。
In this data, it is assumed that a transmission packet corresponding to r5 is being searched. It is also assumed that the position of the corresponding received packet of r4 for which the search was completed last is last. In the first embodiment, the minimum value of the search range is l
In the second embodiment, last-1 needs to be within the search range in order to obtain the corresponding transmission packet of r5. Since the range of the delay of the received packet differs depending on the characteristics of the device under test, the network device test apparatus according to the present embodiment uses “the maximum number of received packet delays” as the association rule in the test rule.
Is defined. The maximum number of received packet delays may be specified by the number of packets that may be skipped in the transmission order of the transmitted packets and the corresponding packet is delayed. A search at the time of association is performed. FIG. 9 is an explanatory diagram illustrating an example of a test rule input to the network device test apparatus according to the second embodiment. Transmission / reception data association rule (2) in FIG.
As shown in (1), when the maximum number of received packets is designated as n, the search range in the association is as follows.

【0061】検索範囲最小値:last−n 検索範囲最大値:現在処理中の受信パケット順序+(送
信数−受信数)+n 但し、受信パケット最大遅延数≧1の場合で、受信パケ
ット最大遅延数=0とした場合、対応付けの検索範囲は
実施の形態1と同様であるとする。
The minimum value of the search range: last-n The maximum value of the search range: the order of the received packets currently being processed + (the number of transmissions−the number of receptions) + n However, when the maximum delay number of the reception packet ≧ 1, the maximum delay number of the reception packets When = 0, the search range of the association is assumed to be the same as in the first embodiment.

【0062】図10は、図8に示す送受信パケットを検
証した場合の検証結果を示す説明図である。図10
(2)は図8の送受信パケットを実施の形態2の試験方
法における検索範囲で対応付けを行った場合の検証結果
であり、図10(1)は、対比例として、図8の送受信
パケットを実施の形態1の検索範囲で対応付けを行った
場合の検証結果である。図10(1)からわかるよう
に、実施の形態1における検索範囲で対応付けを行った
場合には、r2,r5が対応不明な受信パケットとなっ
てしまう。これに対し、実施の形態2のネットワーク機
器試験装置において、受信パケット最大遅延数を1と指
定すれば、r2,r5の対応付けができ、図10(2)
のように、より精度の高い検証結果が得られることがわ
かる。
FIG. 10 is an explanatory diagram showing a verification result when the transmission / reception packet shown in FIG. 8 is verified. FIG.
(2) is a verification result when the transmission / reception packet of FIG. 8 is associated with the search range in the test method of the second embodiment, and FIG. 10 (1) shows the transmission / reception packet of FIG. 9 is a verification result when association is performed within the search range according to the first embodiment. As can be seen from FIG. 10A, in the case where the association is performed within the search range in the first embodiment, r2 and r5 are received packets whose association is unknown. On the other hand, in the network device test apparatus according to the second embodiment, if the maximum delay number of the received packet is designated as 1, r2 and r5 can be associated with each other.
It can be seen that a more accurate verification result can be obtained as shown in FIG.

【0063】実施の形態3.実施の形態1および実施の
形態2のネットワーク機器試験装置は、送信データと受
信データのフォーマットを変化させない被試験機器に対
する試験を行うものであったが、この実施の形態3のネ
ットワーク機器試験装置では、送信データのフォーマッ
トを変更する可能性のある被試験機器に対して試験を行
うものである。実施の形態3のネットワーク機器試験装
置の構成、試験処理の基本的手順および検証処理の手順
については実施の形態1の装置と同様であるので詳細な
説明を省略する。
Embodiment 3 The network device test apparatus according to the first and second embodiments performs a test on a device under test that does not change the format of transmission data and reception data. The test is performed on a device under test that may change the format of the transmission data. The configuration of the network device test apparatus according to the third embodiment, the basic procedure of the test processing, and the procedure of the verification processing are the same as those of the apparatus according to the first embodiment, and thus detailed description will be omitted.

【0064】実施の形態3のネットワーク機器試験装置
は、被試験機器としてルータ(IPルーティングを行な
う装置)を試験するものである。図11は、ネットワー
ク機器試験装置からルータに対して送信する送信パケッ
ト(図6の送信パケットと同一)と、ルータから受信し
た受信パケットのデータ構造図である。ルータは送信パ
ケットのルーティングに失敗したときには、送信パケッ
トの発信元であるネットワーク機器試験装置に対し、パ
ケットのルーティングに失敗した旨を通知するためIC
MPパケット(図11の受信パケット)を返信する可能
性がある。ICMPパケットはICMPヘッダの後ろに
ルーティング失敗の原因となった送信パケットが付加さ
れるようになっている。
The network device test apparatus according to the third embodiment tests a router (a device that performs IP routing) as a device under test. FIG. 11 is a data structure diagram of a transmission packet (same as the transmission packet of FIG. 6) transmitted from the network device test apparatus to the router and a reception packet received from the router. When the routing of the transmission packet fails, the router notifies the network equipment test apparatus, which is the transmission source of the transmission packet, of the fact that the packet routing has failed.
There is a possibility that an MP packet (the received packet in FIG. 11) is returned. The ICMP packet is configured such that a transmission packet causing a routing failure is added after the ICMP header.

【0065】図12は、実施の形態3のネットワーク機
器試験装置に入力される試験規則の説明図である。上述
した通り、実施の形態3ではルータに送信した送信デー
タが、別の要素として付加されたICMPパケットを受
信データをして受信する可能性がある。このため、実施
の形態3のネットワーク機器試験装置に入力する試験規
則では、送信パケットと受信パケットの同一項目を一致
要素とするのではなく、送信パケットの要素とは異なる
要素を一致要素として関連付けている。すなわち、図1
2の送受信データ対応付け規則(2)に示す通り、受信
パケットの宛先アドレスとICPMパケットの65〜7
2バイト目のデータとを関連づけて一致要素とし、宛先
アドレスとICPMパケットの65〜72バイト目のデ
ータが一致したときに、送信データと受信データとを対
応付けることとしている。
FIG. 12 is an explanatory diagram of a test rule input to the network device test apparatus according to the third embodiment. As described above, in the third embodiment, there is a possibility that the transmission data transmitted to the router receives the ICMP packet added as another element as reception data. Therefore, according to the test rule input to the network device test apparatus of the third embodiment, the same item of the transmission packet and the reception packet is not set as the matching element, but an element different from the element of the transmission packet is associated as the matching element. I have. That is, FIG.
2, the destination address of the received packet and the 65-7
The transmission data and the reception data are associated when the destination address and the data in the 65th to 72nd bytes of the ICPM packet match with each other by associating the data of the second byte with the corresponding element.

【0066】また、同じルータに対する試験で、送信し
たパケットがルーティングに成功して別の経路に送信さ
れるか、又は失敗してICMPパケットが返信されるか
のどちらかである場合には、受信データ検証規則(3)
において、検証結果をOKとする条件を複数設け、各条
件をOR条件で記述すれば良い。この場合の試験規則の
一例を図13に示す。
In a test for the same router, if the transmitted packet is either successfully routed and transmitted to another route, or if it fails and an ICMP packet is returned, Data validation rules (3)
In the above, a plurality of conditions for making the verification result OK may be provided, and each condition may be described by an OR condition. FIG. 13 shows an example of a test rule in this case.

【0067】このように、実施の形態3のネットワーク
機器試験装置では、試験規則として、送信データの要素
と異なるフォーマットの受信データの要素とを一致要素
として記述し、入力させるので、被試験機器が送信デー
タと異なるフォーマットのPDUを返信する場合にも高
精度で自動的な検証が可能となる。
As described above, in the network device testing apparatus according to the third embodiment, as a test rule, the element of the transmission data and the element of the reception data of a different format are described as matching elements and input, so that the equipment under test is Even when a PDU having a format different from that of the transmission data is returned, automatic verification can be performed with high accuracy.

【0068】実施の形態4.実施の形態1〜3のネット
ワーク機器試験装置は、データの送信を送信データの受
信順序には依存せずに行う被試験機器を試験するもので
あったが、この実施の形態4のネットワーク機器試験装
置は、受信データを、送信データの受信順序に依存して
変更する被試験機器に対して試験を行うものである。実
施の形態4のネットワーク機器試験装置の構成、試験処
理の基本的手順および検証処理の手順については実施の
形態1の装置と同様であるので詳細な説明を省略する。
実施の形態4のネットワーク機器試験装置は、被試験機
器としてNAT装置を試験する。
Embodiment 4 The network device test apparatus according to the first to third embodiments tests a device under test that performs data transmission without depending on the reception order of transmission data. The apparatus performs a test on a device under test that changes reception data depending on the reception order of transmission data. The configuration of the network device test apparatus, the basic procedure of the test processing, and the procedure of the verification processing according to the fourth embodiment are the same as those of the apparatus according to the first embodiment, and a detailed description thereof will be omitted.
The network device test apparatus according to the fourth embodiment tests a NAT device as a device under test.

【0069】この実施の形態4のネットワーク機器試験
装置で試験を行うNAT装置の変換方式は、実施の形態
1の被試験機器のような、IPアドレスに対して静的に
変換方法が決定しているもの(例えば0x0A0A00
00は必ず0x820A0000に変換されるもの)で
はなく、被試験機器が実際に受信した順番で順次IPア
ドレス等を動的に割当てていく。このため、入力される
試験規則は、実施の形態1〜3のネットワーク機器試験
装置に入力される試験規則とは異なっている。
The conversion method of the NAT device to be tested by the network device test device of the fourth embodiment is such that the conversion method is statically determined for the IP address as in the device under test of the first embodiment. (For example, 0x0A0A00
00 is not always converted to 0x820A0000), but an IP address or the like is dynamically allocated sequentially in the order in which the device under test actually received. Therefore, the input test rules are different from the test rules input to the network device test apparatuses of the first to third embodiments.

【0070】図14は、実施の形態4のネットワーク機
器試験装置に入力される試験規則の一例を示す説明図で
ある。図14に示すように、実施の形態4のネットワー
ク機器試験装置に入力される試験規則の受信データ検証
規則には、検証結果をOKにする条件として以下の条件
が記述されている。
FIG. 14 is an explanatory diagram showing an example of a test rule input to the network device test apparatus according to the fourth embodiment. As shown in FIG. 14, the following conditions are described in the received data verification rule of the test rule input to the network device test apparatus of the fourth embodiment as conditions for making the verification result OK.

【0071】受信・IP・発信元アドレス=0x820
10000+rx(rx:受信順序) すなわち、発信元アドレスとして、0x8201000
0にNAT装置におけるネットワーク機器試験装置から
の送信データの受信順序rxを加算することにより、N
AT装置によるIPアドレス等の動的な割当に対応した
検証を行っている。ここで、ネットワーク機器試験装置
からの送信データの送信順序txではなく、受信順序r
xを用いた条件としているのは、NAT装置によるパケ
ット廃棄の可能性があることからである。
Receive / IP / source address = 0x820
10000 + rx (rx: reception order) That is, 0x8201000
By adding the reception order rx of the transmission data from the network device test device in the NAT device to 0, N
Verification is performed in response to dynamic assignment of IP addresses and the like by AT devices. Here, instead of the transmission order tx of the transmission data from the network device test apparatus, the reception order r
The reason for using the condition x is that there is a possibility that the packet is discarded by the NAT device.

【0072】このように、実施の形態4のネットワーク
機器試験装置では、試験規則にNAT装置における送信
データの受信順序を用いた検証規則を記述して入力させ
るので、被試験機器が受信順序に依存した処理を行なう
場合にも高精度で自動的な検証が可能となる。
As described above, in the network device test apparatus according to the fourth embodiment, the test rule describes and inputs the verification rule using the reception order of the transmission data in the NAT device, so that the device under test depends on the reception order. In this case, automatic verification can be performed with high accuracy.

【0073】実施の形態5.実施の形態1〜4のネット
ワーク機器試験装置では、受信ログの解析時間が被試験
機器へのデータ(PDU)の送信時間と同程度かそれ以
上かかることが見込まれる。この実施の形態5のネット
ワーク機器試験装置では、試験の内容によってはデータ
送信に処理負荷がかからない場合もあることから、送信
データの送信と受信ログの検証処理を並行して行うもの
である。実施の形態5のネットワーク機器試験装置の構
成、試験処理の基本的手順、入力する試験規則について
は実施の形態1の装置と同様であるので詳細な説明を省
略する。
Embodiment 5 In the network device test apparatus of the first to fourth embodiments, it is expected that the analysis time of the reception log will be about the same as or longer than the transmission time of the data (PDU) to the device under test. In the network device test apparatus according to the fifth embodiment, since the processing load may not be applied to the data transmission depending on the contents of the test, the transmission of the transmission data and the verification processing of the reception log are performed in parallel. The configuration of the network device test apparatus, the basic procedure of the test process, and the input test rule of the fifth embodiment are the same as those of the first embodiment, and therefore detailed description is omitted.

【0074】実施の形態5のネットワーク機器試験装置
では、送信手段3は被試験機器へのデータ送信におい
て、1つのデータ送信毎に「現在の送信数」を更新し、
また、全てのデータ送信が完了した時に、「送信完了時
刻」をハードディスク等の記憶媒体に記録する。尚、現
在の送信数及び送信完了時刻は、検証手段5が参照可能
な形式、方法で記録されてるものとする。受信手段4
は、実施の形態1と同様に受信パケットを受信ログとし
て順にハードディスク等の記憶媒体に記録する。
In the network device test apparatus according to the fifth embodiment, the transmitting means 3 updates the “current number of transmissions” for each data transmission when transmitting data to the device under test,
When all data transmission is completed, the “transmission completion time” is recorded on a storage medium such as a hard disk. It is assumed that the current number of transmissions and the transmission completion time are recorded in a format and a method that can be referred to by the verification unit 5. Receiving means 4
Records the received packets as a received log on a storage medium such as a hard disk in the same manner as in the first embodiment.

【0075】図15は、実施の形態5のネットワーク機
器試験装置による受信ログ検証処理の手順を示すフロー
チャートである。受信ログ検証処理は、全受信パケット
に対するループとして実行される(ステップ1501、
1502)。rxは受信パケットの受信順位である。
FIG. 15 is a flowchart showing a procedure of a reception log verification process by the network device test apparatus according to the fifth embodiment. The reception log verification processing is executed as a loop for all received packets (step 1501,
1502). rx is the reception order of the received packet.

【0076】実施の形態5のネットワーク機器試験装置
では、送信が完了しない状態で受信ログの解析を行なう
ため、検証すべき受信パケットが未受信である可能性が
ある。そこで、次の受信パケットの処理を開始する前に
そのパケットが受信済みであるかどうか判定を行なう
(ステップ1503)。この判定の結果、未受信であれ
ば受信を待機するが、次のパケット受信までに時間がか
かっている可能性とパケットの送受信が全て完了してい
る可能性があるため、送信完了時間から一定時間が経過
しているかどうかを判定する(ステップ1504)。そ
して、一定時間が経過していれば、受信が終了している
と判断し、受信が終了していると判断できない場合は、
一定時間待機したあと(ステップ1505)、再度受信
を確認する(ステップ1503)。これにより、送信デ
ータの送信および受信ログの検証を並行して行なうこと
が可能となる。
In the network device test apparatus according to the fifth embodiment, since the reception log is analyzed in a state where transmission is not completed, there is a possibility that a received packet to be verified has not been received. Therefore, before starting the processing of the next received packet, it is determined whether or not the packet has been received (step 1503). If the result of this determination is that the packet has not been received, it waits for reception.However, since there is a possibility that it takes time to receive the next packet and there is a possibility that transmission and reception of all packets have been completed, the transmission completion time is fixed. It is determined whether time has elapsed (step 1504). If the predetermined time has elapsed, it is determined that the reception has been completed, and if it cannot be determined that the reception has been completed,
After waiting for a predetermined time (step 1505), reception is confirmed again (step 1503). As a result, transmission of transmission data and verification of the reception log can be performed in parallel.

【0077】以降のステップ1506から1518まで
の、送信データの検索範囲の決定、送信データと受信パ
ケットの対応付け処理、受信ログ検証処理等の各処理
は、実施の形態1のネットワーク機器試験装置による図
4におけるステップ402から414までの処理と同様
である。
The subsequent steps 1506 to 1518, such as determination of the search range of transmission data, association processing of transmission data with received packets, and reception log verification processing, are performed by the network device test apparatus of the first embodiment. This is the same as the processing of steps 402 to 414 in FIG.

【0078】このように実施の形態5のネットワーク機
器試験装置では、送信データの送信および受信ログの検
証を並行して行なえるため、装置の処理性能を効率良く
利用して、試験時間を短縮することが可能となる。
As described above, in the network device test apparatus according to the fifth embodiment, transmission of transmission data and verification of the reception log can be performed in parallel, so that the processing time of the apparatus is efficiently used and the test time is reduced. It becomes possible.

【0079】尚、実施の形態1〜5では、被試験機器と
してNAT装置、ルータを使用しているが、これに限定
されるものではなく、ネットワーク機器であればいずれ
の機器も被試験機器として試験対象とすることができ
る。
In the first to fifth embodiments, the NAT device and the router are used as the devices to be tested. However, the present invention is not limited to this. Can be tested.

【0080】[0080]

【発明の効果】以上説明したように、この発明によれ
ば、被試験機器に対して大量のデータの送受信を行った
場合でも、被試験機器の高精度な検証を自動的に行える
という効果を奏する。
As described above, according to the present invention, even when a large amount of data is transmitted / received to / from the device under test, it is possible to automatically perform highly accurate verification of the device under test. Play.

【0081】つぎの発明によれば、送信データに対する
被試験機器からの受信データの順序が不定である場合に
も、送信データと受信データとの対応付けが可能とな
り、大量の送受信データを利用して被試験機器の高精度
かつ自動的な検証を行えるという効果を奏する。
According to the next invention, even when the order of the received data from the EUT to the transmitted data is not fixed, it is possible to associate the transmitted data with the received data, and to use a large amount of transmitted / received data. Thus, it is possible to perform highly accurate and automatic verification of the device under test.

【0082】つぎの発明によれば、ネットワーク機器試
験装置の処理性能を効率良く使用して、試験時間の短縮
化を図ることができるという効果を奏する。
According to the next invention, there is an effect that the test time can be shortened by efficiently using the processing performance of the network device test apparatus.

【0083】つぎの発明によれば、被試験機器に対して
大量のデータの送受信を行った場合でも、被試験機器の
高精度な検証を自動的に行えるという効果を奏する。
According to the next invention, even when a large amount of data is transmitted / received to / from the device under test, it is possible to automatically perform highly accurate verification of the device under test.

【0084】つぎの発明によれば、送信データに対する
被試験機器からの受信データの順序が不定である場合に
も、送信データと受信データとの対応付けが可能とな
り、大量の送受信データを利用して被試験機器の高精度
かつ自動的な検証を行えるという効果を奏する。
According to the next invention, even when the order of the received data from the device under test with respect to the transmitted data is uncertain, it is possible to associate the transmitted data with the received data, and to use a large amount of transmitted / received data. Thus, it is possible to perform highly accurate and automatic verification of the device under test.

【0085】つぎの発明によれば、ネットワーク機器試
験装置の処理性能を効率良く使用して、試験時間の短縮
化を図ることができるという効果を奏する。
According to the next invention, there is an effect that the test time can be shortened by efficiently using the processing performance of the network device test apparatus.

【0086】つぎの発明によれば、上記発明のいずれか
一つの動作をコンピュータによって実行することができ
るという効果を奏する。
According to the next invention, there is an effect that any one of the operations of the above invention can be executed by a computer.

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

【図1】 この発明の実施の形態1〜5であるネットワ
ーク機器試験装置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a network device test apparatus according to Embodiments 1 to 5 of the present invention.

【図2】 図1に示した実施の形態1のネットワーク機
器試験装置で使用されるUDPのパケットのデータ構造
図である。
FIG. 2 is a data structure diagram of a UDP packet used in the network device test apparatus of the first embodiment shown in FIG.

【図3】 図1に示した実施の形態1のネットワーク機
器試験装置において試験実施者が入力する試験規則の一
例を示す説明図である。
FIG. 3 is an explanatory diagram showing an example of a test rule input by a tester in the network device test apparatus according to the first embodiment shown in FIG.

【図4】 図1に示した実施の形態1〜4のネットワー
ク機器試験装置による受信ログ検証処理の手順を示すフ
ローチャートである。
FIG. 4 is a flowchart illustrating a procedure of a reception log verification process by the network device test apparatus according to the first to fourth embodiments illustrated in FIG. 1;

【図5】 図1に示した実施の形態1のネットワーク機
器試験装置における送信パケットと受信パケットの対応
の一例を示す説明図である。
FIG. 5 is an explanatory diagram illustrating an example of correspondence between a transmission packet and a reception packet in the network device test apparatus according to the first embodiment illustrated in FIG. 1;

【図6】 図1に示した実施の形態1のネットワーク機
器試験装置における送信パケットと受信パケットの内容
を示すデータ構造図である。
FIG. 6 is a data structure diagram showing contents of a transmission packet and a reception packet in the network device test apparatus of the first embodiment shown in FIG.

【図7】 図1に示した実施の形態1のネットワーク機
器試験装置による検証結果の例を示す説明図である。
FIG. 7 is an explanatory diagram illustrating an example of a verification result by the network device test apparatus according to the first embodiment illustrated in FIG. 1;

【図8】 図1に示した実施の形態2のネットワーク機
器試験装置で送受信される送信パケットと受信パケット
の対応の一例を示す説明図である。
FIG. 8 is an explanatory diagram showing an example of correspondence between a transmission packet and a reception packet transmitted and received by the network device test apparatus according to the second embodiment shown in FIG.

【図9】 図1に示した実施の形態2のネットワーク機
器試験装置に入力される試験規則の一例を示す説明図で
ある。
FIG. 9 is an explanatory diagram showing an example of a test rule input to the network device test apparatus according to the second embodiment shown in FIG.

【図10】 図10(1)は、図8の送受信パケットを
実施の形態1のネットワーク機器試験装置の検索範囲で
対応付けを行った場合の検証結果を示す説明図であり、
図10(2)は図8の送受信パケットを実施の形態2の
ネットワーク機器試験装置における検索範囲で対応付け
を行った場合の検証結果を示す説明図である。
FIG. 10A is an explanatory diagram illustrating a verification result when the transmission / reception packet of FIG. 8 is associated with a search range of the network device test apparatus according to the first embodiment;
FIG. 10B is an explanatory diagram illustrating a verification result when the transmission / reception packet in FIG. 8 is associated with a search range in the network device test apparatus according to the second embodiment.

【図11】 図1に示した実施の形態3のネットワーク
機器試験装置からルータに対して送信する送信パケット
と、ルータから受信した受信パケットのデータ構造図で
ある。
FIG. 11 is a data structure diagram of a transmission packet transmitted from the network device test apparatus of the third embodiment shown in FIG. 1 to the router and a reception packet received from the router.

【図12】 図1に示した実施の形態3のネットワーク
機器試験装置に入力される試験規則の一例を示す説明図
である。
FIG. 12 is an explanatory diagram showing an example of a test rule input to the network device test apparatus according to the third embodiment shown in FIG.

【図13】 図1に示した実施の形態3のネットワーク
機器試験装置に入力される試験規則の他の一例を示す説
明図である。
FIG. 13 is an explanatory diagram illustrating another example of the test rule input to the network device test apparatus according to the third embodiment illustrated in FIG. 1;

【図14】 図1に示した実施の形態4のネットワーク
機器試験装置に入力される試験規則の一例を示す説明図
である。
FIG. 14 is an explanatory diagram showing an example of a test rule input to the network device test apparatus according to the fourth embodiment shown in FIG.

【図15】 実施の形態5のネットワーク機器試験装置
による受信ログ検証処理の手順を示すフローチャートで
ある。
FIG. 15 is a flowchart illustrating a procedure of a reception log verification process performed by the network device test apparatus according to the fifth embodiment.

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

1 試験規則入力手段、2 送信データ生成手段、3 送
信手段、4 受信手段、5 検証手段、6 試験結果出力
手段。
1 test rule input means, 2 transmission data generation means, 3 transmission means, 4 reception means, 5 verification means, 6 test result output means.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 被試験機器と接続可能な送受信インタフ
ェースを有し、被試験機器の動作試験を行うネットワー
ク機器試験装置において、 送信データと受信データの一致要素をあらかじめ定義し
た試験規則を入力する試験規則入力手段と、 あらかじめ定義された送信規則に従って送信データを生
成する送信データ生成手段と、 前記送信データを被試験機器に送信する送信手段と、 被試験機器からの受信データを、前記送信データの送信
と非同期で受信して記録する受信手段と、 所定の検索範囲内の送信データと受信データの前記一致
要素を比較して送信データと受信データとを対応付け、
受信データの検証を行なう受信データ検証手段と、 前記受信データ検証手段による検証結果を出力する試験
結果出力手段と、 を備えたことを特徴とするネットワーク機器試験装置。
1. A network device test apparatus having a transmission / reception interface connectable to a device under test and performing an operation test of the device under test, comprising: a test for inputting a test rule in which matching elements of transmission data and reception data are defined in advance. Rule input means, transmission data generation means for generating transmission data according to a transmission rule defined in advance, transmission means for transmitting the transmission data to the device under test, reception data from the device under test, Receiving means for receiving and recording asynchronously with the transmission, and comparing the matching elements of the transmission data and the reception data within a predetermined search range to associate the transmission data with the reception data;
A network device test apparatus, comprising: reception data verification means for verifying reception data; and test result output means for outputting a verification result by the reception data verification means.
【請求項2】 前記受信データ検証手段は、受信データ
の順序が不定である場合に、すでに受信データに対応付
けされた送信データより先に送信された送信データを検
索範囲として、送信データと受信データとを対応付ける
ものであることを特徴とする請求項1に記載のネットワ
ーク機器試験装置。
2. The reception data verification unit according to claim 2, wherein, when the order of the reception data is undefined, the transmission data transmitted before the transmission data already associated with the reception data is used as a search range. 2. The network device test apparatus according to claim 1, wherein the network device test apparatus associates the data with data.
【請求項3】 前記送信手段は、所定の送信速度で送信
データを送信するものであり、 前記受信データ検証手段は、送信データの送信を並行し
て、受信データの検証を行うものであることを特徴とす
る請求項1に記載のネットワーク機器試験装置。
3. The transmission means transmits the transmission data at a predetermined transmission speed, and the reception data verification means verifies the reception data in parallel with the transmission of the transmission data. The network device test apparatus according to claim 1, wherein:
【請求項4】 送受信インタフェースにより接続可能な
被試験機器の動作試験を行うネットワーク機器試験方法
において、 送信データと受信データの一致要素をあらかじめ定義し
た試験規則を入力する試験規則入力ステップと、 前記送信データを被試験機器に送信する送信ステップ
と、 被試験機器からの受信データを、前記送信ステップと非
同期で受信して記録する受信ステップと、 所定の検索範囲内の送信データと受信データの前記一致
要素を比較して送信データと受信データとを対応付け、
受信データの検証を行なう受信データ検証ステップと、 前記受信データ検証ステップによる検証結果を出力する
試験結果出力ステップと、 を含むことを特徴とするネットワーク機器試験方法。
4. A network device test method for performing an operation test of a device under test connectable by a transmission / reception interface, wherein: a test rule input step of inputting a test rule in which a matching element between transmission data and reception data is defined in advance; A transmitting step of transmitting data to the device under test; a receiving step of receiving and recording received data from the device under test asynchronously with the transmitting step; and a step of matching the transmitted data and the received data within a predetermined search range. Compare the elements and associate the transmitted data with the received data,
A network device test method, comprising: a received data verification step of verifying received data; and a test result output step of outputting a verification result of the received data verification step.
【請求項5】 前記受信データ検証ステップは、受信デ
ータの順序が不定である場合に、すでに受信データに対
応付けされた送信データより先に送信された送信データ
を検索範囲として、送信データと受信データとを対応付
けるものであることを特徴とする請求項4に記載のネッ
トワーク機器試験方法。
5. The received data verifying step, wherein when the order of the received data is indeterminate, the transmission data transmitted before the transmission data already associated with the received data is set as a search range and the transmission data and the reception data are checked. 5. The network device test method according to claim 4, wherein the network device test method is associated with data.
【請求項6】 前記送信ステップは、所定の送信速度で
送信データを送信するものであり、 前記受信データ検証ステップは、前記送信ステップと並
行して、受信データの検証を行うものであることを特徴
とする請求項4に記載のネットワーク機器試験方法。
6. The transmission step of transmitting transmission data at a predetermined transmission speed, and the reception data verification step performs verification of reception data in parallel with the transmission step. The network device test method according to claim 4, wherein:
【請求項7】 請求項4〜6のいずれか一つに記載され
たネットワーク機器試験方法をコンピュータに実行させ
るプログラム。
7. A program for causing a computer to execute the network device test method according to claim 4.
JP2001146633A 2001-05-16 2001-05-16 Device and method for testing network equipment, and program for making computer execute the same method Pending JP2002344448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001146633A JP2002344448A (en) 2001-05-16 2001-05-16 Device and method for testing network equipment, and program for making computer execute the same method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001146633A JP2002344448A (en) 2001-05-16 2001-05-16 Device and method for testing network equipment, and program for making computer execute the same method

Publications (1)

Publication Number Publication Date
JP2002344448A true JP2002344448A (en) 2002-11-29

Family

ID=18992247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001146633A Pending JP2002344448A (en) 2001-05-16 2001-05-16 Device and method for testing network equipment, and program for making computer execute the same method

Country Status (1)

Country Link
JP (1) JP2002344448A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005086374A1 (en) * 2004-03-05 2005-09-15 Anritsu Corporation Communication terminal performance measurement system having effective trace information display function and communication terminal performance measurement method
JP2006311572A (en) * 2005-04-28 2006-11-09 Tektronix Internatl Sales Gmbh Test device and method for telecommunications network
JP2007082159A (en) * 2005-09-16 2007-03-29 National Institute Of Advanced Industrial & Technology Network equipment testing apparatus
WO2007069737A1 (en) * 2005-12-15 2007-06-21 Matsushita Electric Industrial Co., Ltd. Network device verifying apparatus
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
JP2008085557A (en) * 2006-09-27 2008-04-10 Nec Electronics Corp Method for generating pattern frame, method for collating test pattern, method for testing jitter, communication device, and communication system
WO2008065721A1 (en) * 2006-11-29 2008-06-05 Duaxes Corporation Testing apparatus
JP2008211552A (en) * 2007-02-27 2008-09-11 Yokogawa Electric Corp Network evaluation device
JP2010258988A (en) * 2009-04-28 2010-11-11 Nec Corp Device, method and program for analyzing packet
JP2012100142A (en) * 2010-11-04 2012-05-24 Nippon Telegr & Teleph Corp <Ntt> System and method for testing communication apparatus
JPWO2013057773A1 (en) * 2011-10-17 2015-04-02 富士通株式会社 Program, information processing apparatus, and route setting method
US9660894B2 (en) 2011-04-19 2017-05-23 Mitsubishi Electric Corporation Network analysis assistance device, network assessment device, network analysis assistance method, network assessment method, network analysis assistance program and network assessment program
CN113592305A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Test method, test device, electronic device, and storage medium

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7289802B2 (en) 2004-03-05 2007-10-30 Anritsu Corporation Communication terminal performance measurement system having effective trace information display function and communication terminal performance measurement method
WO2005086374A1 (en) * 2004-03-05 2005-09-15 Anritsu Corporation Communication terminal performance measurement system having effective trace information display function and communication terminal performance measurement method
JP2006311572A (en) * 2005-04-28 2006-11-09 Tektronix Internatl Sales Gmbh Test device and method for telecommunications network
US7953014B2 (en) 2005-09-16 2011-05-31 National Institute Of Advanced Industrial Science And Technology FPGA-based network device testing equipment for high load testing
JP2007082159A (en) * 2005-09-16 2007-03-29 National Institute Of Advanced Industrial & Technology Network equipment testing apparatus
US8243605B2 (en) 2005-12-15 2012-08-14 Panasonic Corporation Network device verifying apparatus
JPWO2007069737A1 (en) * 2005-12-15 2009-05-28 パナソニック株式会社 Network equipment verification equipment
WO2007069737A1 (en) * 2005-12-15 2007-06-21 Matsushita Electric Industrial Co., Ltd. Network device verifying apparatus
JP4679586B2 (en) * 2005-12-15 2011-04-27 パナソニック株式会社 Network equipment verification equipment
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
JP2008085557A (en) * 2006-09-27 2008-04-10 Nec Electronics Corp Method for generating pattern frame, method for collating test pattern, method for testing jitter, communication device, and communication system
WO2008065721A1 (en) * 2006-11-29 2008-06-05 Duaxes Corporation Testing apparatus
JP2008211552A (en) * 2007-02-27 2008-09-11 Yokogawa Electric Corp Network evaluation device
JP2010258988A (en) * 2009-04-28 2010-11-11 Nec Corp Device, method and program for analyzing packet
JP2012100142A (en) * 2010-11-04 2012-05-24 Nippon Telegr & Teleph Corp <Ntt> System and method for testing communication apparatus
US9660894B2 (en) 2011-04-19 2017-05-23 Mitsubishi Electric Corporation Network analysis assistance device, network assessment device, network analysis assistance method, network assessment method, network analysis assistance program and network assessment program
JPWO2013057773A1 (en) * 2011-10-17 2015-04-02 富士通株式会社 Program, information processing apparatus, and route setting method
US9825855B2 (en) 2011-10-17 2017-11-21 Fujitsu Limited Information processing apparatus and route setting method
CN113592305A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Test method, test device, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
US8493871B2 (en) End-to end analysis of transactions in networks with traffic-altering devices
US7206288B2 (en) Methods and apparatus for characterizing a route in fibre channel fabric
US6252891B1 (en) System and method to insert timestamp information in a protocol neutral manner
US8009672B2 (en) Apparatus and method of splitting a data stream over multiple transport control protocol/internet protocol (TCP/IP) connections
US20060098586A1 (en) Method and apparatus for application route discovery
EP2057784B1 (en) Improved traceroute using address request messages
JP2002344448A (en) Device and method for testing network equipment, and program for making computer execute the same method
US7573829B2 (en) Method and apparatus for low overhead network protocol performance assessment
US20120207039A1 (en) Method and system for validating network traffic classification in a blade server
JP2004320785A (en) Testing apparatus for network communication and method
US9137305B2 (en) Information processing device, computer-readable recording medium, and control method
US6819681B1 (en) Systems and methods for predicting data fields in layered protocols
US20030033430A1 (en) IP flow discovery for IP probe auto-configuration and SLA monitoring
EP1968235A1 (en) Method of data analysis in a packet switched network
JP4068545B2 (en) Packet receiving method and apparatus
US7324454B2 (en) Router
JP4079359B2 (en) Highly reliable transmission method and system using multiple routes, and highly reliable transmission router
JP4623317B2 (en) Communication apparatus, routing method and program
US6961777B1 (en) Systems and methods for predicting fields in a data packet
CN113890858A (en) PMTU detection method and device
KR102134895B1 (en) System for analyzing packet of SCTP user application in multi-homing SCTP node and method thereof
JP2002033737A (en) Mac address notice system in mpoa system, and mopa server therefor
JP2003244251A (en) Packet communication method for reconfiguring tunnel path
JP4502774B2 (en) Main signal load test equipment
WO2022044226A1 (en) Communication system, communication method, communication device, and program