JPH1023107A - Communication simulator and communication simulating method - Google Patents

Communication simulator and communication simulating method

Info

Publication number
JPH1023107A
JPH1023107A JP8173158A JP17315896A JPH1023107A JP H1023107 A JPH1023107 A JP H1023107A JP 8173158 A JP8173158 A JP 8173158A JP 17315896 A JP17315896 A JP 17315896A JP H1023107 A JPH1023107 A JP H1023107A
Authority
JP
Japan
Prior art keywords
communication
data
simulator
time
transmission
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
JP8173158A
Other languages
Japanese (ja)
Inventor
Yukiko Tanaka
由紀子 田中
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8173158A priority Critical patent/JPH1023107A/en
Publication of JPH1023107A publication Critical patent/JPH1023107A/en
Pending legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication simulator and its method in which communication protocol adaptability is verified in a similar timing to that of an actual device by adding a timing control function. SOLUTION: In the case of executing communication data of each device by a communication monitor means 13, reception time data are acquired and stored in the case of receiving the communication data and when a communication simulator means 15 executes the communication simulation, the transmission time of the communication data is decided from stored reception time data. The communication data are sent to a verification object device 2 in the timing so as to execute communication protocol simulation including timewise factors similar to those of the actual device.

Description

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

【発明の属する技術分野】本発明は通信シミュレータお
よび方法に関し、特にタイミング制御機能を付加した通
信シミュレート方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a communication simulator and a communication method, and more particularly to a communication simulation method having a timing control function.

【0001】[0001]

【従来の技術】他の装置との通信を行う装置において、
装置間の通信の接続性を検証するためには、実際の相手
装置と同等の環境下で、受信した通信データの処理や送
信データの処理を検証する必要がある。しかし実際の装
置の使用が困難な場合は、代わりに通信シミュレータ
(または通信プロトコルモニタ装置)を使用して実際の
装置間の通信データを収集し、その後予め定義した手順
に沿って通信シミュレータから通信データを送信する手
法が行われている。
2. Description of the Related Art In an apparatus for communicating with another apparatus,
In order to verify the connectivity of the communication between the devices, it is necessary to verify the processing of the received communication data and the processing of the transmission data under the same environment as the actual partner device. However, if it is difficult to use the actual device, use a communication simulator (or communication protocol monitor device) instead to collect communication data between the actual devices, and then communicate from the communication simulator according to a predefined procedure. Techniques for transmitting data have been implemented.

【0002】例えば、特開平3ー155245号公報に
は以下のようなプロトコルアナライザ装置(通信シミュ
レート装置)が開示されている。
For example, JP-A-3-155245 discloses the following protocol analyzer (communication simulating device).

【0003】まずこの公報に記載されたプロトコルアナ
ライザ装置は、複数の装置間の通信手順をモニタするモ
ニタ手段と、モニタ手段でモニタした通信手順データを
記憶する記憶手段と、記憶手段での記憶データに基づい
て各装置の動作をシュミレートしモニタした通信手順を
再現する通信手順再現手段から構成されている。
[0003] First, a protocol analyzer described in this publication includes a monitor for monitoring a communication procedure between a plurality of devices, a storage for storing communication procedure data monitored by the monitor, and a storage for storing data in the storage. And a communication procedure reproducing means for simulating the operation of each device based on the communication procedure and reproducing the monitored communication procedure.

【0004】また通信データをモニタする場合は、装置
群と検証対象装置との間に、上記手段を備えたプロトコ
ルアナライザを接続する。モニタ手段で、複数の装置間
の通信データを受信すると、通信の方向、受信時間、デ
ータ長、手順データを一式として記憶手段に保存する。
上記手続をモニタの終了指示があるまで繰り返す。
When monitoring communication data, a protocol analyzer having the above means is connected between a group of devices and a device to be verified. When the monitor unit receives communication data between a plurality of devices, the communication unit stores the communication direction, the reception time, the data length, and the procedure data as a set in the storage unit.
The above procedure is repeated until there is a monitor termination instruction.

【0005】検証対象装置に対して通信データのシミュ
レートをするときは、まずプロトコルアナライザ装置と
検証対象装置とを接続し両者を起動させる。次に記憶手
段からモニタ手段によって保存された情報を読出す。読
み出された情報のうち、通信の方向の情報が検証対象装
置からのデータを示す場合は、検証対象装置からの通信
データの受信待ちとなり、受信後、記憶手段の手順デー
タとの比較を行う。通信の方向の情報が検証対象装置へ
のデータを示す場合は、通信データを送信する。上記を
記憶手段に保存されたデータ分繰り返す。
When simulating communication data for a device to be verified, first, a protocol analyzer device and a device to be verified are connected and both are activated. Next, the information stored by the monitor is read from the storage. When the information of the communication direction among the read information indicates data from the device to be verified, the device waits for reception of communication data from the device to be verified, and after receiving the data, compares it with the procedure data in the storage unit. . When the information on the communication direction indicates data to the verification target device, the communication data is transmitted. The above is repeated for the data stored in the storage means.

【0006】[0006]

【発明が解決しようとする課題】しかし、各装置間の通
信処理では、例えば通信相手となる装置に通信データを
送信した後、無応答タイマ値として定義されたタイマ時
間を最大として相手装置からの応答を待ち、そのタイマ
時間を経過しても相手装置から応答がない場合再送が必
要と判定し、再送を実施するなど、時間的な要素を含め
た通信処理の実現が不可欠となっている。
However, in the communication processing between the devices, for example, after transmitting the communication data to the communication partner device, the timer time defined as the no-response timer value is set to a maximum, and the communication time from the partner device is increased. It is indispensable to realize a communication process including a time element, such as waiting for a response and determining that retransmission is necessary if there is no response from the partner device even after the elapse of the timer time, and performing retransmission.

【0007】また、通信プロトコルの複雑化や通信相手
となる装置数の増大によって、通信プロトコル適合性の
検証の大半が時間的な要素を加味した処理の検証であ
る。
[0007] Further, due to the complexity of the communication protocol and the increase in the number of communication partners, most of the verification of the compatibility of the communication protocol is the verification of the processing in consideration of the time factor.

【0008】しかしながら、上記従来例では、時間的な
要素まで含めた通信プロトコル適合性の検証ができなか
った。その理由は、検証対象装置に対して、モニタした
順序に従って通信データを送受信することはできるが、
検証対象装置に対して通信方向を見て通信データを送信
するだけの仕組みとなっているため、検証対象装置の通
信相手となる装置が実際に通信する際に必要とする処理
時間や各種タイマ時間などの要素を考慮したシミュレー
トができなかったためである。
However, in the above-mentioned conventional example, it was not possible to verify the compatibility of the communication protocol including the time element. The reason is that communication data can be transmitted / received to the verification target device in the monitoring order,
Since the communication data is transmitted only to the verification target device by looking at the communication direction, the processing time and various timer times required when the device that is the communication partner of the verification target device actually communicates This is because it was not possible to simulate in consideration of such factors.

【0009】本発明の目的は、タイミング制御機能を付
加することにより、実際の装置と同様なタイミングで通
信プロトコル適合性の検証を行うことのできる通信シミ
ュレータおよび方法を提供することにある。
An object of the present invention is to provide a communication simulator and a communication method which can verify the compatibility of a communication protocol at the same timing as an actual device by adding a timing control function.

【0010】[0010]

【課題を解決するための手段】本発明の通信シミュレー
タは、まず装置間または装置とネットワーク網との間の
通信をモニタする通信モニタ手段と、通信モニタ手段が
モニタした通信データを記憶する記憶手段と、前記通信
データに基づき通信をシミュレートする通信シミュレー
ト手段とを備え、さらに対象装置への送信時間算出手段
を備えている。
A communication simulator according to the present invention comprises a communication monitor for monitoring communication between devices or between a device and a network, and a storage for storing communication data monitored by the communication monitor. And communication simulation means for simulating communication based on the communication data, and further includes means for calculating transmission time to the target device.

【0011】また本発明の通信シミュレート方法は、各
装置の通信データをモニタする際に、その受信時刻デー
タを取得、保持し、通信のシミュレートを実行する際に
は保持していた受信時刻のデータから通信データの送信
時間を算出して、そのタイミングで検証対象装置に対し
て通信データを送信する。
Further, according to the communication simulation method of the present invention, when monitoring the communication data of each device, the reception time data is obtained and held, and when the communication simulation is executed, the reception time held is held. The transmission time of the communication data is calculated from the data, and the communication data is transmitted to the verification target device at that timing.

【0012】本発明は、モニタした受信時刻からシミュ
レータからデータを送信する送信時間を算出して、シミ
ュレート時のタイミングをとることにより、実際の装置
と同様なタイミングで、シミュレートを行うことができ
る。
According to the present invention, a simulation is performed at the same timing as that of an actual device by calculating a transmission time for transmitting data from the simulator from the monitored reception time and setting a timing at the time of the simulation. it can.

【0013】[0013]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0014】まず図1を参照して本発明の通信シミュレ
ート装置の構成例を説明する。図1は、複数の通信装置
を接続可能なネットワーク網3と、プロトコル適合性の
検証対象装置である通信装置2とが接続し、ネットワー
ク網3と通信装置2の間の通信データをモニタし通信装
置2に対する通信シミュレートを実行する通信シミュレ
ータ1を示している。
First, an example of the configuration of a communication simulation apparatus according to the present invention will be described with reference to FIG. FIG. 1 shows a network 3 to which a plurality of communication devices can be connected, and a communication device 2 which is a device to be verified for protocol compatibility, and monitors and communicates communication data between the network 3 and the communication device 2. 1 shows a communication simulator 1 that executes a communication simulation for a device 2.

【0015】通信シミュレータ1は、通信装置2とのイ
ンタフェース機能を有する通信送受信手段11と、通信
装置2とネットワーク網3との通信をモニタする通信モ
ニタ手段13と、現在時刻の管理をする時刻管理手段1
2と、通信モニタ手段13がモニタした情報が書き込ま
れるモニタ情報格納領域14と、通信シミュレータ手段
15と、通信シミュレータ手段15が作成する情報を記
憶するシミュレータ情報格納領域16と、送信時間算出
手段17と、入力装置18と、出力装置19を備えてい
る。
The communication simulator 1 includes a communication transmitting / receiving unit 11 having an interface function with the communication device 2, a communication monitoring unit 13 for monitoring communication between the communication device 2 and the network 3, and a time management unit for managing a current time. Means 1
2, a monitor information storage area 14 in which information monitored by the communication monitor means 13 is written, a communication simulator means 15, a simulator information storage area 16 for storing information created by the communication simulator means 15, and a transmission time calculation means 17 And an input device 18 and an output device 19.

【0016】通信送受信手段11は、通信モニタ手段1
3またはシミュレータ動作実施手段手順152からの指
示により、通信装置2とネットワーク網3間の通信デー
タの受信を開始し、通信モニタ手段13へ通信データと
通信データ長を渡す。また、シミュレータ動作実施手段
152から指定された通信データを通信装置2へ送信す
る。
The communication transmission / reception means 11 includes the communication monitoring means 1
3 or the instruction from the simulator operation execution means procedure 152 to start receiving communication data between the communication device 2 and the network 3 and pass the communication data and the communication data length to the communication monitoring means 13. Further, the communication data designated by the simulator operation execution means 152 is transmitted to the communication device 2.

【0017】時刻管理手段12は、現在時刻の管理を
し、通信モニタ手段13へ現在時刻を知らせる。また、
予め通信シミュレータ手段15によって指定された時間
経過後、通信シミュレータ手段15に指定時間が経過し
たことを通知する。
The time management means 12 manages the current time and notifies the communication monitoring means 13 of the current time. Also,
After the time specified by the communication simulator means 15 in advance, the communication simulator means 15 is notified that the specified time has elapsed.

【0018】通信モニタ手段13は、通信送受信手段1
1から通信データと通信データ長を受け取る毎に以下の
ステップを実施する。
The communication monitoring means 13 includes the communication transmitting / receiving means 1
The following steps are performed each time communication data and communication data length are received from 1.

【0019】時刻管理手段12から取得した現在時刻を
モニタ情報格納領域14の受信時刻データ141に書き
込む。また、渡された通信データを基に通信元アドレ
ス、通信先アドレスを特定し、通信モニタ情報格納領域
14の通信元アドレス142、通信先アドレス143に
書き込む。また、渡された通信データと通信データ長
を、モニタ情報格納領域14の通信データ長144、通
信データ145に書き込む。
The current time obtained from the time management means 12 is written in the reception time data 141 of the monitor information storage area 14. In addition, a communication source address and a communication destination address are specified based on the passed communication data, and written to the communication source address 142 and the communication destination address 143 of the communication monitor information storage area 14. The communication data and the communication data length that have been passed are written to the communication data length 144 and the communication data 145 in the monitor information storage area 14.

【0020】以上のステップは、入力装置18で終了指
示があるまで継続される。また、通信モニタ手段13
は、入力装置18からの指示により、モニタ情報格納領
域14を読出し、出力装置19への出力を行う。
The above steps are continued until the input device 18 gives a termination instruction. Further, the communication monitoring means 13
Reads out the monitor information storage area 14 in response to an instruction from the input device 18 and outputs it to the output device 19.

【0021】モニタ情報格納領域14は、図2に示す様
に、受信した時刻を格納する受信時刻データ141、受
信した通信データの通信元アドレスを示す通信元アドレ
ス142、受信した通信データの通信先アドレスを示す
通信先アドレス143、受信した通信データのデータ長
を示す通信データ長144、受信した通信データを示す
通信データ145の組合せが1レコードとして構成さ
れ、通信情報モニタ手段13から時系列で書き込まれ
る。なお、全レコードが同一の順序で構成されていれ
ば、モニタ情報格納領域14の1レコード内の各データ
の順序性については、特に本発明では限定しない。
As shown in FIG. 2, the monitor information storage area 14 includes reception time data 141 for storing a reception time, a communication source address 142 indicating a communication source address of the received communication data, and a communication destination of the received communication data. A combination of the communication destination address 143 indicating the address, the communication data length 144 indicating the data length of the received communication data, and the communication data 145 indicating the received communication data is configured as one record, and is written in time series from the communication information monitoring means 13. It is. In addition, as long as all records are configured in the same order, the order of each data in one record of the monitor information storage area 14 is not particularly limited in the present invention.

【0022】通信シミュレータ手段15は、シミュレー
タ情報作成手段151と、シミュレータ動作実施手段1
52、シミュレータ結果確認手段153とを備えてい
る。
The communication simulator means 15 includes simulator information creation means 151 and simulator operation execution means 1
52, and a simulator result confirming means 153.

【0023】シミュレータ情報作成手段151に対し
て、入力装置18から検証対象装置が指定される。本実
施の形態では、入力装置18から検証対象装置として、
通信装置2が指定される。また、入力装置18からの入
力により、モニタ情報格納領域14の中から部分的なシ
ミュレータ情報を作成可能にするために、モニタ情報格
納領域14の読出し開始アドレス(読み出しポイン
タ)、読出し終了アドレスが指定される。
A device to be verified is designated from the input device 18 to the simulator information creating means 151. In the present embodiment, as the device to be verified from the input device 18,
The communication device 2 is specified. In order to enable partial simulator information to be created from the monitor information storage area 14 by input from the input device 18, a read start address (read pointer) and a read end address of the monitor information storage area 14 are designated. Is done.

【0024】シミュレータ情報作成手段151は、モニ
タ情報格納領域14の読出し開始アドレスから読出し終
了アドレスまで読出した全レコードの情報から、通信元
アドレス142と通信先アドレス143が検証対象装置
である通信装置2を示すレコードのみを抽出し、抽出し
たレコードの情報をシミュレータ情報格納領域16に書
き込む。すなわち、受信時刻データ141を受信時刻デ
ータ161に、通信元アドレス142を通信元アドレス
162に、通信先アドレス143を通信先アドレス16
3に、通信データ長144を通信データ長166に、通
信データ145を通信データ167に、それぞれ書き込
む。
The simulator information creating means 151 determines from the information of all records read from the read start address to the read end address in the monitor information storage area 14 that the communication source address 142 and the communication destination address 143 are the communication device 2 to be verified. Is extracted, and information of the extracted record is written in the simulator information storage area 16. That is, the reception time data 141 is used as the reception time data 161, the communication source address 142 is used as the communication source address 162, and the communication destination address 143 is used as the communication destination address 16
3, the communication data length 144 is written to the communication data length 166, and the communication data 145 is written to the communication data 167.

【0025】また、シミュレータ情報作成手段151
は、シミュレータ情報格納領域16の通信元アドレス1
62、通信先アドレス163から、シミュレータの送
信、受信動作の区別を判定し、送受区別データ164へ
送信、受信を示す情報を書き込む。このとき、シミュレ
ータから通信装置2へデータを送る場合を送信、シミュ
レータが通信装置2からデータを受ける場合を受信とす
る。
Further, the simulator information creating means 151
Is the communication source address 1 of the simulator information storage area 16
62: Determine the distinction between the transmission and reception operations of the simulator from the communication destination address 163, and write information indicating transmission and reception to the transmission / reception distinction data 164. At this time, the case where data is transmitted from the simulator to the communication device 2 is referred to as transmission, and the case where the simulator receives data from the communication device 2 is referred to as reception.

【0026】さらに、シミュレータ情報作成手段151
は、シミュレータ情報格納領域16の全レコードの中か
ら、送受区別データ164が送信(ネットワーク網3か
ら装置2へ)を示すレコードについて、該当のレコード
とシミュレータ情報格納領域16でその1つ前のレコー
ドのそれぞれの受信時刻(通信モニタ手段13がモニタ
時に受信した時刻)である受信時刻データ161を送信
時間算出手段17へ通知する。その後、送信時間算出手
段17が算出した送信時間データを受取り、シミュレー
タ情報格納領域16の送信時間データ165に書き込
む。送信時間算出手段17の送信時間算出は、該当レコ
ードの受信時刻と、シミュレータ情報格納領域16でそ
の1つ前のレコードの受信時刻との差から求められる。
即ち、本実施の態様では、送信時間とは通信装置2がデ
ータを送出した後、ネットワーク網3から通信装置2に
データが送信されるまでの時間に相当する。
Further, the simulator information creating means 151
Is a record of which the transmission / reception discrimination data 164 indicates transmission (from the network 3 to the device 2) out of all the records in the simulator information storage area 16 and a record in the simulator information storage area 16 which is the immediately preceding record. The reception time data 161 indicating the respective reception times (time received by the communication monitoring means 13 during monitoring) is notified to the transmission time calculation means 17. After that, the transmission time data calculated by the transmission time calculation means 17 is received and written in the transmission time data 165 of the simulator information storage area 16. The transmission time calculation by the transmission time calculation means 17 is obtained from the difference between the reception time of the corresponding record and the reception time of the immediately preceding record in the simulator information storage area 16.
That is, in the present embodiment, the transmission time corresponds to the time from when the communication device 2 sends out data to when the data is transmitted from the network 3 to the communication device 2.

【0027】シミュレータ動作実施手段152は、シミ
ュレータ情報格納領域16の1レコード毎に、送受区別
データ164のデータ種類により、以下の処理を実施す
る。
The simulator operation execution means 152 performs the following processing for each record of the simulator information storage area 16 according to the data type of the transmission / reception distinction data 164.

【0028】送受区別データ164が受信(通信装置2
からネットワーク網3へ)を示す場合は、通信送受信デ
ータの受信待ちに入り、通信送受信手段11から受信し
た受信データを受信結果データ168に書き込む。送受
区別データ164が送信(ネットワーク網3から通信装
置2へ)を示す場合は、シミュレータ情報格納領域16
の該当レコードの送信時間データ165を読出し、時刻
管理手段12に送信時間データを渡して、時刻管理手段
12から送信のトリガを受け取るまで送信待ちとなる。
シミュレータ動作実施手段152は、送信のトリガを受
けたら、通信送受信手段11へデータを送信し、データ
は通信装置2へ送出される。
The transmission / reception distinction data 164 is received (the communication device 2
In the case where the communication data is received from the communication transmission / reception unit 11, the reception data is written into the reception result data 168. If the transmission / reception distinction data 164 indicates transmission (from the network 3 to the communication device 2), the simulator information storage area 16
The transmission time data 165 of the corresponding record is read, the transmission time data is passed to the time management means 12, and the transmission waits until a transmission trigger is received from the time management means 12.
When receiving a trigger for transmission, the simulator operation execution unit 152 transmits data to the communication transmission / reception unit 11, and the data is transmitted to the communication device 2.

【0029】なお、シミュレータ動作実施手段152
は、入力装置18からシミュレートの開始、終了の指示
を受け、シミュレート動作の開始、停止をすると共に、
シミュレート動作の開始、停止メッセージの出力を出力
装置19へ行う。
The simulator operation execution means 152
Receives the instruction to start and end the simulation from the input device 18, starts and stops the simulation operation,
The start and stop messages of the simulation operation are output to the output device 19.

【0030】シミュレータ結果確認手段153は、シミ
ュレート情報格納領域16の送受区別データ164が受
信であるレコードに対して、通信データ167と受信結
果データ168の比較を行い、結果を出力装置19へ行
う。また、比較の結果、通信データ167と受信結果デ
ータ168が異なる場合は、それらのデータも出力装置
19へ出力する。
The simulator result confirming means 153 compares the communication data 167 with the reception result data 168 for the record in which the transmission / reception distinction data 164 in the simulation information storage area 16 is received, and sends the result to the output device 19. . If the comparison result shows that the communication data 167 and the reception result data 168 are different, the data is also output to the output device 19.

【0031】シミュレータ情報格納領域16は、図3に
示す様に、受信時刻データ161、通信元アドレス16
2、通信先アドレス163、送受区別データ164、送
信時間データ165、データ長166、通信データ16
7の組合せを1レコードとして構成され、時系列でシミ
ュレータ情報作成手段152から書き込まれる。なお、
シミュレータ情報格納領域16の1レコード内の各デー
タの順序性については、全レコードが同一の順序で構成
されていれば、特に本発明では限定しない。なお図3で
は受信結果データ168も表示されているが、必ずしも
シミュレータ情報格納領域16に置かれる必要はない。
As shown in FIG. 3, the simulator information storage area 16 stores the reception time data 161 and the communication source address 16.
2, communication destination address 163, transmission / reception distinction data 164, transmission time data 165, data length 166, communication data 16
7 are formed as one record, and are written in time series from the simulator information creating means 152. In addition,
The order of each data in one record of the simulator information storage area 16 is not particularly limited in the present invention as long as all records are configured in the same order. Although the reception result data 168 is also displayed in FIG. 3, it is not always necessary to store the reception result data 168 in the simulator information storage area 16.

【0032】送信時間算出手段17は、シミュレータ情
報作成手段151から渡された送信データの受信時刻及
びその1つ前の受信データの受信時刻データから、送信
時間を算出し、シミュレータ情報作成手段151へ送信
時間データを渡す。
The transmission time calculation means 17 calculates the transmission time from the reception time of the transmission data passed from the simulator information generation means 151 and the reception time data of the immediately preceding reception data, and sends the transmission time to the simulator information generation means 151. Pass the transmission time data.

【0033】以上の構成は、CPU、RAM、ROM、
タイマー等から構成できる。
The above configuration comprises a CPU, a RAM, a ROM,
It can be composed of a timer and the like.

【0034】入力装置18は、キーボード、マウスなど
であり、通信モニタ手段13に対するモニタ動作の起
動、停止の指示、シミュレータ情報作成手段151に対
する検証対象装置の指定、シミュレータ情報動作実施手
段152に対するシミュレータ動作の起動、停止の指示
などを行う。
The input device 18 is a keyboard, a mouse, or the like, and instructs the communication monitor unit 13 to start and stop a monitor operation, designates a device to be verified to the simulator information creation unit 151, and performs a simulator operation to the simulator information operation execution unit 152. Start, stop, etc.

【0035】出力装置19は、CRTやプリンタなどで
あり、通信モニタ手段13が書き込んだモニタ情報格納
領域14の内容、シミュレータ結果確認手段153の通
信データ167と受信結果データ168の比較結果など
の出力を行う。
The output device 19 is a CRT, a printer, or the like. The output device 19 outputs the contents of the monitor information storage area 14 written by the communication monitoring means 13, the comparison result between the communication data 167 of the simulator result confirmation means 153 and the reception result data 168, and the like. I do.

【0036】次に、本発明の実施形態の動作について、
図4、図5、図6、図7を用いて説明する。
Next, the operation of the embodiment of the present invention will be described.
This will be described with reference to FIGS. 4, 5, 6, and 7.

【0037】図4は、モニタを実施する際の動作フロー
の例である。
FIG. 4 shows an example of an operation flow when monitoring is performed.

【0038】通信送受信手段11は、モニタの開始を判
断し(S401)、モニタ開始の場合通信モニタ手段は
モニタ情報書き込み領域において書き込みポインタを初
期化する(S402)。通信モニタ手段13は、通信送
受信手段11から通信データと通信データ長を渡される
と(S403)、時刻管理手段12から現在時刻を取得
し、モニタ情報格納領域14の受信時刻データ141に
書き込む(S404)。また渡された通信データを基に
通信元アドレス、通信先アドレスを特定し(S40
5)、通信モニタ情報格納領域14の通信元アドレス1
42、通信先アドレス143に書き込む(S406)。
また、渡された通信データと通信データ長を、モニタ情
報格納領域14の通信データ長144、通信データ14
5に書き込む(S406)。
The communication transmitting / receiving means 11 determines the start of monitoring (S401), and when the monitoring is started, the communication monitoring means initializes a write pointer in a monitor information writing area (S402). Upon receiving the communication data and the communication data length from the communication transmission / reception unit 11 (S403), the communication monitoring unit 13 acquires the current time from the time management unit 12 and writes the current time into the reception time data 141 in the monitor information storage area 14 (S404). ). Further, the source address and the destination address are specified based on the passed communication data (S40).
5), communication source address 1 of the communication monitor information storage area 14
42, writing to the communication destination address 143 (S406).
Further, the communication data and the communication data length that have been passed are stored in the monitor information storage area 14 as the communication data length 144 and the communication data 14.
5 (S406).

【0039】1レコード毎に書き込みポインタを更新し
ながら(S407)、以上の書き込みを、入力装置18
で終了指示があるまで継続する(S408)。その後、
入力装置18から指示された場合(S409)、モニタ
情報格納領域14を読出し、出力装置19への出力を行
う(S410)。
While updating the write pointer for each record (S407), the above writing is performed by the input device 18.
And continue until there is an end instruction (S408). afterwards,
When instructed from the input device 18 (S409), the monitor information storage area 14 is read and output to the output device 19 (S410).

【0040】図5は、シミュレータ情報を作成する際の
動作フローである。
FIG. 5 is an operation flow when creating simulator information.

【0041】入力装置18から、作成するシミュレータ
情報を検証対象装置のものに限定するために、検証対象
装置を特定し入力する(S501)。また、モニタ情報
格納領域14の読出し開始アドレス、読出し終了アドレ
スも入力する(S501)。これにより部分的なシミュ
レータ情報の作成が可能になる。入力された上記データ
はシミュレータ情報作成手段151に渡される(S50
1)。
In order to limit the simulator information to be created to that of the device to be verified, the device to be verified is specified and input from the input device 18 (S501). Further, a read start address and a read end address of the monitor information storage area 14 are also input (S501). This makes it possible to create partial simulator information. The input data is passed to the simulator information creating means 151 (S50).
1).

【0042】シミュレータ情報作成手段151は、シミ
ュレータ情報格納領域16において書き込みポインタを
初期化し、読み出しポインタを設定する(S502)。
続いてシミュレータ情報作成手段151は、モニタ情報
格納領域14から1レコード分を読み出し(S50
4)、通信元アドレス142と通信先アドレス143が
検証対象装置である通信装置2を示すレコードを抽出す
る(S505、S506)。
The simulator information creating means 151 initializes a write pointer in the simulator information storage area 16 and sets a read pointer (S502).
Subsequently, the simulator information creation unit 151 reads one record from the monitor information storage area 14 (S50).
4) A record in which the communication source address 142 and the communication destination address 143 indicate the communication device 2 to be verified is extracted (S505, S506).

【0043】抽出したレコードの情報は次のようにシミ
ュレータ情報格納領域16にそれぞれ書き込まれる。す
なわち受信時刻データ141を受信時刻データ161
に、通信元アドレス142を通信元アドレス162に、
通信先アドレス143を通信先アドレス163に、通信
データ長144を通信データ長166に、通信データ1
45を通信データ167に、それぞれ書き込む(S50
7)。
The information of the extracted records is written in the simulator information storage area 16 as follows. That is, the reception time data 141 is replaced with the reception time data 161.
And the communication source address 142 as the communication source address 162,
The communication destination address 143 is set to the communication destination address 163, the communication data length 144 is set to the communication data length 166, and the communication data 1
45 in the communication data 167 (S50).
7).

【0044】シミュレータ情報格納領域16の通信元ア
ドレス162、通信先アドレス163から、シミュレー
タの送信、受信動作の区別を判定(S508)し、送受
区別データ164へ送信、受信を示す情報を書き込む
(S509)。その情報が送信であれば(S510)、
送信時間算出手段17に対して、該当のレコードとシミ
ュレータ情報格納領域16でその1つ前のレコードの各
々の受信時刻データ161が通知される。
From the communication source address 162 and the communication destination address 163 of the simulator information storage area 16, it is determined whether the simulator is transmitting or receiving (S 508), and information indicating transmission and reception is written to the transmission / reception distinction data 164 (S 509). ). If the information is transmitted (S510),
The transmission time calculation means 17 is notified of the corresponding record and the reception time data 161 of the record immediately before it in the simulator information storage area 16.

【0045】送信時間算出手段17は送信時間を算出し
(S511)、シミュレータ情報作成手段151は、こ
の送信時間データを受取り、シミュレータ情報格納領域
16の送信時間データ165に書き込む(S512)。
この手順を読み出しポインタと書き込みポインタを更新
しながら(S513)、入力された読出し開始アドレス
から読出し終了アドレスまでの全レコードに対して実施
する。
The transmission time calculation means 17 calculates the transmission time (S511), and the simulator information creation means 151 receives this transmission time data and writes it in the transmission time data 165 of the simulator information storage area 16 (S512).
This procedure is performed for all records from the input read start address to the read end address while updating the read pointer and the write pointer (S513).

【0046】図6は、シミュレータ動作を実施する際の
動作フローの例である。
FIG. 6 shows an example of an operation flow when the simulator operation is performed.

【0047】シミュレータ動作実施手段152は、シミ
ュレータ情報格納領域16の読み出しポインタと書き込
みポインタを初期化し(S601)、1レコード毎に送
受区別データ164のデータ種類により、以下の処理を
実施する。
The simulator operation execution means 152 initializes the read pointer and the write pointer of the simulator information storage area 16 (S601), and executes the following processing for each record according to the data type of the transmission / reception distinction data 164.

【0048】送受区別データ164が受信を示す場合は
(S603)、通信送受信データの受信待ちに入り(S
607)、通信送受信手段11から受信した受信データ
をシミュレータ情報格納領域16の受信結果データ16
8に書き込む(S609)。この後読み出しポインタと
書き込みポインタを更新する(S610)。
When the transmission / reception distinction data 164 indicates reception (S603), the process waits for reception of communication transmission / reception data (S603).
607), the received data received from the communication transmitting / receiving means 11 is stored in the reception result data 16 in the simulator information storage area 16.
8 (S609). Thereafter, the read pointer and the write pointer are updated (S610).

【0049】送受区別データ164が送信を示す場合
は、シミュレータ情報格納領域16の該当レコードの送
信時間データ165を読出し、時刻管理手段12に送信
時間データを渡して、時刻管理手段12から送信のトリ
ガを受け取るまで送信待ちとなる(S604)。送信の
トリガを受けたら、通信送受信手段11へ送信する(S
605)。この後読み出しポインタと書き込みポインタ
を更新する(S606)。
When the transmission / reception distinction data 164 indicates transmission, the transmission time data 165 of the corresponding record in the simulator information storage area 16 is read, and the transmission time data is passed to the time management means 12, and the transmission trigger data is transmitted from the time management means 12. (S604). When a transmission trigger is received, it is transmitted to the communication transmitting / receiving means 11 (S
605). Thereafter, the read pointer and the write pointer are updated (S606).

【0050】入力装置18からシミュレートの終了の指
示をされるか、もしくはシミュレート対象のレコードに
ついて全て実施したら、動作を停止をする。さらに、シ
ミュレート動作の停止メッセージの出力を出力装置19
へ行う(S611)。
When the end of the simulation is instructed from the input device 18 or all the records to be simulated are executed, the operation is stopped. Further, the output of the simulation operation stop message is output to the output device 19.
(S611).

【0051】図7は、シミュレータ動作の結果を確認す
る際の動作フローの例である。
FIG. 7 is an example of an operation flow for confirming the result of the simulator operation.

【0052】シミュレータ結果確認手段153は読み出
しポインタを初期化し(S701)、終了か否かを判断
し(S702)、シミュレータ情報格納領域16の送受
区別データを読み出す(S703)。
The simulator result confirming means 153 initializes a read pointer (S701), determines whether or not the reading is completed (S702), and reads out transmission / reception distinction data in the simulator information storage area 16 (S703).

【0053】シミュレータ結果確認手段153は、シミ
ュレート情報格納領域16の送受区別データ164が受
信であるかを判断し、受信であるレコードに対して通信
データ165と受信結果データ168の比較を行い(S
705)、比較結果が一致であれば出力装置19へ正常
メッセージを出力する。(S707)また、比較の結
果、異常であれば通信データ、受信結果データを合わせ
て出力装置19へ出力する(S709)。
The simulator result confirming means 153 determines whether the transmission / reception distinction data 164 in the simulation information storage area 16 is a reception, and compares the communication data 165 with the reception result data 168 for the record that has been received ( S
705) If the comparison results match, a normal message is output to the output device 19. (S707) If the result of comparison is abnormal, communication data and reception result data are output to the output device 19 together (S709).

【0054】[0054]

【発明の効果】以上の様に、各通信装置間の通信データ
及び受信時刻が通信情報の格納領域に一度保持されれ
ば、以降は送受信タイミングまで含めた通信の接続性の
検証が可能となる。
As described above, once the communication data and the reception time between the communication devices are once stored in the communication information storage area, the communication connectivity including the transmission / reception timing can be verified thereafter. .

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

【図1】本発明の通信シミュレータの構成例を示す図FIG. 1 is a diagram showing a configuration example of a communication simulator of the present invention.

【図2】モニタ情報格納領域の例を示す図。FIG. 2 is a diagram showing an example of a monitor information storage area.

【図3】シミュレータ情報格納領域の例を示す図。FIG. 3 is a diagram showing an example of a simulator information storage area.

【図4】モニタ実施時の動作フローの例を示す図。FIG. 4 is a diagram showing an example of an operation flow when monitoring is performed.

【図5】シミュレータ情報作成時のフローの例を示す
図。
FIG. 5 is a diagram showing an example of a flow when creating simulator information.

【図6】シミュレータ動作実施時のフローの例を示す
図。
FIG. 6 is a diagram showing an example of a flow when a simulator operation is performed.

【図7】シミュレータ結果確認時のフローの例を示す
図。
FIG. 7 is a diagram showing an example of a flow when a simulator result is confirmed.

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

1 通信シミュレータ 2 通信装置 3 ネットワーク網 11 通信送受信手段 12 時刻管理手段 13 通信モニタ手段 14 モニタ情報格納領域 15 通信シミュレータ手段 151 シミュレータ情報作成手段 152 シミュレータ動作実施手段 153 シミュレータ結果確認手段 16 シミュレータ情報格納領域 17 送信時間算出手段 18 入力装置 19 出力装置 DESCRIPTION OF SYMBOLS 1 Communication simulator 2 Communication device 3 Network 11 Communication transmitting / receiving means 12 Time management means 13 Communication monitoring means 14 Monitor information storage area 15 Communication simulator means 151 Simulator information creation means 152 Simulator operation execution means 153 Simulator result confirmation means 16 Simulator information storage area 17 Transmission time calculation means 18 Input device 19 Output device

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】装置間または装置とネットワーク網との間
の通信をモニタする通信モニタ手段と、通信モニタ手段
がモニタした通信データを記憶する記憶手段と、前記通
信データに基づき通信をシミュレートする通信シミュレ
ート手段とを備えた通信シミュレータにおいて、対象装
置への送信時間算出手段を備えたことを特徴とする通信
シミュレータ。
A communication monitor for monitoring communication between devices or between a device and a network, a storage for storing communication data monitored by the communication monitor, and simulating communication based on the communication data. What is claimed is: 1. A communication simulator, comprising: a communication simulator; and a transmission simulator for calculating a transmission time to a target device.
【請求項2】モニタした通信データに基づいて通信シミ
ュレート手段が作成するシミュレータ情報を記憶するシ
ミュレータ情報記憶手段を備える請求項1に記載の通信
シミュレータ。
2. The communication simulator according to claim 1, further comprising simulator information storage means for storing simulator information created by the communication simulation means based on the monitored communication data.
【請求項3】現在時刻を管理し、通信モニタ手段及び通
信シミュレータ手段にデータを送付する時刻管理手段を
備える請求項1または2に記載の通信シミュレータ。
3. The communication simulator according to claim 1, further comprising time management means for managing a current time and sending data to the communication monitoring means and the communication simulator means.
【請求項4】受信時刻データから通信データの送信時間
を算出する送信時間算出手段を備える請求項1、2また
は3に記載の通信シミュレータ。
4. The communication simulator according to claim 1, further comprising transmission time calculation means for calculating a transmission time of communication data from reception time data.
【請求項5】装置の通信データをモニタする際に、通信
データの受信時刻データを取得、保持し、通信のシミュ
レートを実行する際に保持している受信時刻データから
通信データの送信時間を算出して、そのタイミングで検
証対象装置に対して通信データを送信することを特徴と
する通信シミュレート方法。
5. When monitoring communication data of an apparatus, obtains and holds reception time data of communication data, and determines a transmission time of communication data from the reception time data held when simulating communication. A communication simulation method comprising calculating and transmitting communication data to a device to be verified at that timing.
【請求項6】通信データの送信時間の算出は、シミュレ
ータ情報記憶手段中の送信を示すレコードとその1つ前
のレコードの受信時刻データから算出する請求項5に記
載の通信シミュレート方法。
6. The communication simulation method according to claim 5, wherein the transmission time of the communication data is calculated from a record indicating transmission in the simulator information storage means and reception time data of a record immediately before the record.
【請求項7】シミュレータ情報記憶手段中のレコード
が、受信を示すレコードのとき対象装置からデータを受
信、保持し、送信を示すレコードのとき当該レコードの
送信時間をシミュレータ情報記憶手段から読み出し、該
送信時間に相当する時間後にデータを対象装置へ送出す
る請求項5または6に記載の通信シミュレート方法。
7. When the record in the simulator information storage means is a record indicating reception, data is received and held from the target device. When the record indicates transmission, the transmission time of the record is read from the simulator information storage means. 7. The communication simulation method according to claim 5, wherein the data is transmitted to the target device after a time corresponding to the transmission time.
JP8173158A 1996-07-03 1996-07-03 Communication simulator and communication simulating method Pending JPH1023107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8173158A JPH1023107A (en) 1996-07-03 1996-07-03 Communication simulator and communication simulating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8173158A JPH1023107A (en) 1996-07-03 1996-07-03 Communication simulator and communication simulating method

Publications (1)

Publication Number Publication Date
JPH1023107A true JPH1023107A (en) 1998-01-23

Family

ID=15955181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8173158A Pending JPH1023107A (en) 1996-07-03 1996-07-03 Communication simulator and communication simulating method

Country Status (1)

Country Link
JP (1) JPH1023107A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560723B1 (en) 1998-12-28 2003-05-06 Nec Corporation Automatic communication protocol test system with message/sequence edit function and test method using the same
JP2009532997A (en) * 2006-04-04 2009-09-10 クゥアルコム・インコーポレイテッド Method and apparatus for enabling authentication of FLO devices
JP2010124430A (en) * 2008-11-21 2010-06-03 Fujitsu Advanced Engineering Ltd Computer program, data capturing apparatus, data capturing method and data management system
US9391852B2 (en) 2012-12-28 2016-07-12 Fujitsu Limited Computer-readable recording medium and information processing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6560723B1 (en) 1998-12-28 2003-05-06 Nec Corporation Automatic communication protocol test system with message/sequence edit function and test method using the same
JP2009532997A (en) * 2006-04-04 2009-09-10 クゥアルコム・インコーポレイテッド Method and apparatus for enabling authentication of FLO devices
JP2010124430A (en) * 2008-11-21 2010-06-03 Fujitsu Advanced Engineering Ltd Computer program, data capturing apparatus, data capturing method and data management system
US9391852B2 (en) 2012-12-28 2016-07-12 Fujitsu Limited Computer-readable recording medium and information processing apparatus

Similar Documents

Publication Publication Date Title
JP3574231B2 (en) Computer network simulator
JPH09326796A (en) Method for generating test packet to simulate computer network communication and its device
JP2001209407A (en) Simulator for executing plc program
CN106776329B (en) The adjustment method and commissioning device of energy accumulation current converter
JPH1023107A (en) Communication simulator and communication simulating method
US20010018646A1 (en) USB simulation apparatus and storage medium
CN111008092A (en) Welding machine communication management method and welding machine
JP3578038B2 (en) Communication simulator
JP3672758B2 (en) Debugging support device
JPH03155245A (en) Protocol analyzer system
JP2821053B2 (en) Network system
JPS6196849A (en) Transmission system control system
KR100537180B1 (en) Method for simulating communication a host between a equipment in manufacturing semiconductor process
Kastner et al. Remote control of EIB systems based on virtual shared group objects
JPH0512069A (en) Debugging system
JPH07129433A (en) Total test device for computer system for process control
JPS62115548A (en) Measuring value simulation information generating system
CN115185241A (en) Intelligent production line control system
JP2006148358A (en) On-line system and communication method
JP2000101645A (en) System and method for time synchronization
JP2003058257A (en) Temperature controller
JP2000293454A (en) Equipment and method for data communication, and recording medium
JPH1127268A (en) Communication performance evaluation system
JP2001175502A (en) Telegraphic message simulator and recording medium therefor
JP2000035902A (en) Simulation execution device and execution method of simulation

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010515