JPH0287852A - Protocol simulator - Google Patents

Protocol simulator

Info

Publication number
JPH0287852A
JPH0287852A JP63240073A JP24007388A JPH0287852A JP H0287852 A JPH0287852 A JP H0287852A JP 63240073 A JP63240073 A JP 63240073A JP 24007388 A JP24007388 A JP 24007388A JP H0287852 A JPH0287852 A JP H0287852A
Authority
JP
Japan
Prior art keywords
sequence
test
data communication
under test
machine
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
JP63240073A
Other languages
Japanese (ja)
Inventor
Kazuyuki Fukuda
和之 福田
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 JP63240073A priority Critical patent/JPH0287852A/en
Publication of JPH0287852A publication Critical patent/JPH0287852A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily realize a complicated sequence by switching a regular test sequence generated by a testing machine and an abnormal sequence generated by a sequence generating part by a switching part. CONSTITUTION:Between data communication lines 30 for connecting a testing machine 20 and a machine to be tested 10, a switching part 2 for switching the data communication lines 30 and a sequence generating part 3 for generating an abnormal sequence are provided. At the time of transmitting a regular test sequence, the data communication line 30 is switched to the testing machine 20 and the machine to be tested 10 by the switching part 2, and at the time of transmitting an abnormal sequence, the data communication line 30 is switched to the machine to be tested 10 and the sequence generating part 3. In such a way, the sequence generating part 3 generates only an abnormal sequence and operates so as to give it to the machine to be tested, therefore, it becomes unnecessary to generate an abnormal sequence on the testing machine 20 side.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は伝送制御手順に従ってデータの転送を行なう
、通信制御処理装置およびデータ処理装置で構成される
試験機を試験するために用いられるプロトコル・シミュ
レータに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a protocol/processor used to test a test machine composed of a communication control processing device and a data processing device that transfer data according to a transmission control procedure. Regarding simulators.

(従来の技術) 第2図は、通信制御装置およびデータ処理装置をふくむ
試験機を試験すると籾の従来の方法を説明するための構
成図を示したものである。
(Prior Art) FIG. 2 is a block diagram for explaining a conventional method for testing paddy using a testing machine including a communication control device and a data processing device.

(lO)は試験されるべき通信制御装置およびデータ処
理装置を含む被試験機であって、データ処理装置(11
)と通信制御装置(12)が実装されている。
(lO) is a device under test including a communication control device and a data processing device to be tested, and the data processing device (11
) and a communication control device (12) are installed.

(20)は、被試験機(1G)を試験するために用いら
れる試験機で、両装置はデータ通信線(30)により結
ばれている。
(20) is a test machine used to test the device under test (1G), and both devices are connected by a data communication line (30).

次に試験方法について説明する。被試験機(10)内に
設置されているデータ処理装置(11)から通信制御装
置(12)を介してデータの送信命令が起動される。す
ると通信制御装置(12)はあらかじめ定められた伝送
制御手順にしたがって試験機(20)に対しデータを送
信する。
Next, the test method will be explained. A data transmission command is activated from a data processing device (11) installed in a device under test (10) via a communication control device (12). Then, the communication control device (12) transmits data to the test device (20) according to a predetermined transmission control procedure.

試験機(20)はあらかじめ設定した試験シーケンスに
したがって被試験機(10)へ応答を返送する。
The test device (20) returns a response to the device under test (10) according to a preset test sequence.

被試験機(lO)のデータ受信動作もデータ送信動作と
同様にあらかじめ定められた伝送制御手順にしたがって
処理される。
The data reception operation of the device under test (lO) is also processed according to a predetermined transmission control procedure, similar to the data transmission operation.

このように被試験機(10)を試験するに際しては一連
の試験シーケンスを試験機(20)により発生させ被試
験機(10)側の処理手順を試験機(20)側で監視し
て試験を行なう。
When testing the device under test (10) in this way, a series of test sequences are generated by the test device (20), and the processing procedures of the device under test (10) are monitored by the test device (20) to perform the test. Let's do it.

この場合、被試験機(lO)の異常時の動作を試験する
ために異常シーケンスをデータ通信線(30)から被試
験機(lO)側に送る必要がでてくる。
In this case, in order to test the operation of the device under test (lO) when the abnormality occurs, it becomes necessary to send an abnormal sequence to the device under test (lO) from the data communication line (30).

従来の試験方法では、この異常シーケンスも試験機(2
0)で発生させていた。
In the conventional test method, this abnormal sequence is also detected by the test machine (2
0).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の試験方法は以上のように試験機側で異常シーケン
スも含むすべての試験シーケンスを発生させている。し
かし大量のデータ転送を行なった後には試験機側で異常
シーケンスを発生させることは困難であるという課題が
あった。
As described above, in the conventional test method, all test sequences, including abnormal sequences, are generated on the testing machine side. However, there was a problem in that it was difficult to generate an abnormal sequence on the testing machine side after a large amount of data had been transferred.

この発明は、上記のような課題を解消するためになされ
たもので、異常シーケンスの発生にあたっては試験機に
よらないでこれを実現できるプロトコル・シミュレータ
を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide a protocol simulator that can realize an abnormal sequence without using a testing machine.

(課題を解決するための手段〕 この発明に係るプロトコル・シミュレータは、試験機と
被試験機とを結ぶデータ通信線の間に、該データ通信線
を切り替える切替部と異常シーケンスを発生させるシー
ケンス発生部とを備え、通常の試験シーケンス伝送時に
はデータ通信線を試験機と被試験機とを上記切替部にて
切り替え、異常シーケンスの伝送時にはデータ通信線を
被試験機とシーケンス発生部とを上記切替部にて切り替
えるものである。
(Means for Solving the Problems) A protocol simulator according to the present invention includes a switching unit that switches between a data communication line connecting a test device and a device under test, and a sequence generator that generates an abnormal sequence. When transmitting a normal test sequence, the data communication line is switched between the test machine and the machine under test using the switching section, and when transmitting an abnormal sequence, the data communication line is switched between the machine under test and the sequence generating section. This will be changed by the department.

〔作 用〕[For production]

この発明におけるシーケンス発生部は、異常シーケンス
のみを発生させ、これを被試験機に与えるように動作す
るため試験機側で異常シーケンスの発生を行なう必要が
無くなる。
The sequence generating section in the present invention operates to generate only an abnormal sequence and provide it to the machine under test, so there is no need to generate an abnormal sequence on the testing machine side.

〔実施例〕〔Example〕

以下、発明の一実施例を第1図に基づいて説明する。 Hereinafter, one embodiment of the invention will be described based on FIG.

第1図は、この本実施例により設けられるプロトコル・
シミュレータを用いて試験を行なう場合の構成を示す構
成図である。同図において本実施例に係るプロトコル・
シミュレータ(1) は、被試験機(10)と試験機(
20)とを結ぶデータ通信線(30)内に介在するよう
に構成されている。
FIG. 1 shows the protocol provided by this embodiment.
FIG. 2 is a configuration diagram showing a configuration when testing is performed using a simulator. In the same figure, the protocol according to this embodiment is
The simulator (1) is a machine under test (10) and a test machine (
20), and is configured to be interposed within a data communication line (30) that connects the data communication line (30).

プロトコル・シミュレータ(1)は、切e部(2)とシ
ーケンス発生部(3)、とから構成されており、切替部
(2)は被試験機(10)からのデータ通信線(30)
を試験機(20)およびシーケンス発生部(3)に切り
替えられるように動作する。
The protocol simulator (1) is composed of a switching section (2) and a sequence generation section (3), and the switching section (2) is connected to a data communication line (30) from the device under test (10).
The tester (20) and the sequence generator (3) operate so as to be able to switch to each other.

シーケンス発生部(3)は被試験機(10)の試験にあ
たって必要とされる異常シーケンスを発生させる。
The sequence generator (3) generates an abnormal sequence required for testing the device under test (10).

このようなシステム構成で被試験機(10)の試験を行
なう場合を説明する。まず切替部(2)により、データ
通信線(30)が被試験機(10)と試験機(20)と
に接続されるように切替動作を行なうにのような状態で
試験シーケンスを開始する。この場合の試験シーケンス
における被試験機(lO)と、試験機(20)との動作
は従来の場合と同様であるので説明は省略する。
A case will be described in which a test is performed on the device under test (10) with such a system configuration. First, the test sequence is started by the switching unit (2) in such a state that a switching operation is performed so that the data communication line (30) is connected to the device under test (10) and the test device (20). The operations of the device under test (lO) and the test device (20) in the test sequence in this case are the same as those in the conventional case, so the explanation will be omitted.

次に試験シーケンスが進み、異常シーケンスを発生させ
る必要がでたときは、データ通信線(3o)を切替部(
2)により切替え、被試験機(10)とシーケンス発生
部(3)とが接続されるように切替える。するとシーケ
ンス発生部(3)から異常シーケンスが被試験機(lO
)に伝送され、異常時における被試験機(lO)の動作
が実行される。異常シーケンスに基づいて行なわれた被
試験機(lO)の動作は、切替部(2)が再び試験機(
20)と被試験機(10)とを接続するように切替えら
れた際に、試験機(20)によりモニタされ試験結果が
解析される。
Next, when the test sequence progresses and it becomes necessary to generate an abnormal sequence, connect the data communication line (3o) to the switching unit (
2), the device under test (10) and the sequence generator (3) are switched to be connected. Then, an abnormal sequence is sent from the sequence generator (3) to the device under test (lO
), and the operation of the equipment under test (IO) in the event of an abnormality is executed. The operation of the equipment under test (lO) performed based on the abnormal sequence is changed by the switching unit (2) again to the equipment under test (lO).
20) and the device under test (10), the test device (20) monitors and analyzes the test results.

したがって試験機(20)は、従来のように自らが異常
シーケンスを発生する必要が無くなる。
Therefore, the testing machine (20) does not need to generate an abnormal sequence by itself as in the conventional case.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにこの発明では試験機により発生され
る通常の試験シーケンスにあたる正常シーケンスと、シ
ーケンス発生部により発生される異常シーケンスとを切
替部にて切替える構成とすることにより、複雑なシーケ
ンスを実現出来るという効果がある。
As explained above, in this invention, a complex sequence is realized by using a switching unit to switch between a normal sequence, which is a normal test sequence generated by a testing machine, and an abnormal sequence generated by a sequence generation unit. There is an effect that it can be done.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、この発明によるプロトコル・シミュレータを
用いた試験システムの構成を示す構成図、第2図は、従
来の試験システムを示す構成図である。 (1)はプロトコル・シミュレータ、(2)は切替部、
(3)はシーケンス発生部、(10)は被試験機、(2
0)は試験機、(30)はデータ通信線。 なお、図中、同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing the structure of a test system using a protocol simulator according to the present invention, and FIG. 2 is a block diagram showing a conventional test system. (1) is a protocol simulator, (2) is a switching unit,
(3) is the sequence generator, (10) is the device under test, (2
0) is the test device, (30) is the data communication line. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] データ通信線を介して試験機と被試験機との間で所定の
伝送制御手順にしたがってデータの授受を行なうことに
より前記被試験機の試験を行なうよう構成されたシステ
ム内に設置されるプロトコル・シミュレータにおいて、
前記データ通信線を切り替える切替部と異常シーケンス
を発生させるシーケンス発生部とを備え、通常の試験シ
ーケンス伝送時には前記データ通信線を前記試験機と前
記被試験機とが接続されるよう切り替え、異常シーケン
スの伝送時には前記データ通信線を前記被試験機と前記
シーケンス発生部とが接続されるよう切り替えることを
特徴とするプロトコル・シミュレータ。
A protocol installed in a system configured to test a device under test by exchanging data between the test device and the device under test via a data communication line according to a predetermined transmission control procedure. In the simulator,
A switching unit that switches the data communication line and a sequence generation unit that generates an abnormal sequence are provided, and when transmitting a normal test sequence, the data communication line is switched so that the test device and the device under test are connected, and the abnormal sequence is generated. The protocol simulator is characterized in that the data communication line is switched so that the device under test and the sequence generator are connected when transmitting the data.
JP63240073A 1988-09-26 1988-09-26 Protocol simulator Pending JPH0287852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63240073A JPH0287852A (en) 1988-09-26 1988-09-26 Protocol simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63240073A JPH0287852A (en) 1988-09-26 1988-09-26 Protocol simulator

Publications (1)

Publication Number Publication Date
JPH0287852A true JPH0287852A (en) 1990-03-28

Family

ID=17054090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63240073A Pending JPH0287852A (en) 1988-09-26 1988-09-26 Protocol simulator

Country Status (1)

Country Link
JP (1) JPH0287852A (en)

Similar Documents

Publication Publication Date Title
JPH0287852A (en) Protocol simulator
JPS58163004A (en) Programming device of plural sequencers
JP3134779B2 (en) Packet simulator having transmission sequence switching function
JP2765034B2 (en) Overload test method for signaling equipment
JPH0619738A (en) Simulated fautl device for electronic equipment connected with bus network
JPH037984B2 (en)
JP2003280701A (en) Control apparatus having triplicated configuration
JPS58173944A (en) Test equipment
JPH09292914A (en) Monitor control system with virtual equipment function
JPS63227234A (en) Bus fault detecting and diagnosing circuit
JPH05336212A (en) Test system for data communication protocol
KR940013039A (en) Module Diagnosis, Test Method and Apparatus in Centralized Control System
JPS6390250A (en) Communication control equipment
JPH1051980A (en) Monitoring control system
JPH03192892A (en) Switching control circuit
JPS61144952A (en) Artificial call generating device
JPS63182761A (en) Bus diagnozing system
JPH02165741A (en) Pseudo fault generating system
JPS58153482A (en) Electronic switchboard
JPS62194771A (en) Digital exchange
JPH01208953A (en) Digital trunk control system
JPS62121516A (en) Process controller
JPH02266731A (en) Loopback test system
JPS6323492A (en) Test system for remote control process input/output device
JPH06132920A (en) Switching circuit for transmitting device of redundant constitution