JPH03160530A - Simulated operation controller - Google Patents

Simulated operation controller

Info

Publication number
JPH03160530A
JPH03160530A JP1299547A JP29954789A JPH03160530A JP H03160530 A JPH03160530 A JP H03160530A JP 1299547 A JP1299547 A JP 1299547A JP 29954789 A JP29954789 A JP 29954789A JP H03160530 A JPH03160530 A JP H03160530A
Authority
JP
Japan
Prior art keywords
response data
test
file
data
under test
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
JP1299547A
Other languages
Japanese (ja)
Inventor
Azuma Horiuchi
堀内 東
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1299547A priority Critical patent/JPH03160530A/en
Publication of JPH03160530A publication Critical patent/JPH03160530A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate necessity for preparing the data table of forecasted response data in advance by deciding whether the response data are coincident with an operation condition or not, based on the compared result of a response data comparing means. CONSTITUTION:The response data to be notified from a device 10 to be tested are stored in a file 21. The response data stored in the file 21 are compared with the response data, which are notified from the following device 10 to be tested, by a comparing means 20a. While receiving the result of comparison by the comparing means 20a, when the compared result shows coincidence, the possibility deciding means 2b defines the operation of the device 10 to be tested as normal and outputs success as the result of the test. When the compared result shows dissidence, the means 2b defines the operation of the device 10 to be tested as abnormal and outputs the decision of fault as the result of the test. According to this decision, a staff member can recognize whether the device 10 to be tested is normal or abnormal. Thus, since it is not necessary for the staff member to prepare the data table of the forecasted response data in advance, the test can be easily executed even when the items of the test is increased.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、金融機関等に配置される金融自動化機器に内
装する各種装置のテストを行なう模擬動作制御装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a simulation operation control device for testing various devices installed in financial automation equipment installed in financial institutions and the like.

(従来の技術) 金融機関等に配置される金融自動化機器、例えば現金自
動取引装置には各種装置が内装されている。この各種装
置とは、紙幣の計数等を行なう紙幣人出金装置、通帳の
記帳を行なう記帳装置、磁気カードの読取りを行なうカ
ード読取り装置等である.また、現金自動取引装置には
、これらの各種装置を集中して制御管理するプロセッサ
等からなる制御装置が設けられている。
(Prior Art) Financial automation equipment installed in financial institutions, such as automated teller machines, is equipped with various devices. These various devices include a banknote dispensing device that counts banknotes, a bookkeeping device that records bankbooks, and a card reader that reads magnetic cards. Further, the automatic teller machine is provided with a control device including a processor or the like that centrally controls and manages these various devices.

さて、これらの装置の動作が正常であるか判断するため
、各装置単体でその動作テストを行なう.このテストは
、各種装置が実際に自動取引装置に内装され、制御装置
ににより制御されているような状態を人工的に作り出し
、その結果を判断するものである。この様に一種の模擬
動作を行なわせてその結果を判断するには、模擬動作制
御装置が利用される。この模擬動作制御装置は、種々の
動作条件を設定することができ、容易にこの動作条件に
基づいた結果を得ることができる。
Now, in order to determine whether these devices are operating normally, we will perform an operation test on each device individually. This test artificially creates a situation where various devices are actually installed in an automatic transaction device and controlled by a control device, and then judges the results. A simulated motion control device is used to perform a type of simulated motion and judge the result. This simulated operation control device can set various operating conditions and easily obtain results based on these operating conditions.

第2図に、従来の模擬動作制御装置のブロック図を示す
FIG. 2 shows a block diagram of a conventional simulated motion control device.

図に示した模擬動作制御装置lの主制御部2には、表示
制御部3、入力装置制御部4、送受信制御部5が接続さ
れている.表示制御部3には、表示装置(CRT)6が
接続されている。入力装置制御部4には、キーボード7
が接続されている.また、送受信制御部5にはインタフ
ェースケーブル8を介して被テスト装置10が接続され
ている. 主制御部2は、模擬動作制御装置1を構成する各部を集
中制御するプロセッサやこのプロセッサの動作に必要な
プログラムやデータ等を格納する記憶装置等からなるも
のである。表示制御部3はCRT6に表示する表示デー
タを格納するフレームメモリ等を含む既知の表示制御回
路からなるものである。入力装置制御部4は、キーボー
ド7に配置されたキーを監視して、押下されたキーを特
定する等の制御を行なうものである.送受信制御部5は
、インタフェースケーブル8を介して接続された被テス
ト装置10との間の信号伝送を制御する入出力インタフ
ェースである。
A display control section 3, an input device control section 4, and a transmission/reception control section 5 are connected to the main control section 2 of the simulated motion control device 1 shown in the figure. A display device (CRT) 6 is connected to the display control section 3 . The input device control unit 4 includes a keyboard 7
is connected. Further, a device under test 10 is connected to the transmission/reception control section 5 via an interface cable 8. The main control unit 2 includes a processor that centrally controls each unit constituting the simulated operation control device 1 and a storage device that stores programs, data, etc. necessary for the operation of this processor. The display control section 3 is composed of a known display control circuit including a frame memory for storing display data to be displayed on the CRT 6. The input device control unit 4 monitors the keys arranged on the keyboard 7 and performs controls such as specifying which keys have been pressed. The transmission/reception control unit 5 is an input/output interface that controls signal transmission with the device under test 10 connected via the interface cable 8.

インタフェースケーブル8に接続された被テスト装置1
0は、先に説明した様に現金自動取引装置に内装される
紙幣人出金装置や記帳装置等に該当するものである. 以上の構成の模擬動作制御装置1を用いて、被テスト装
置10の動作テストを行なう手順について第3図乃至第
5図を参照しながら説明する。
Device under test 1 connected to interface cable 8
0 corresponds to the banknote dispensing device, bookkeeping device, etc. built into the automated teller machine, as explained above. A procedure for testing the operation of the device under test 10 using the simulated operation control device 1 having the above configuration will be described with reference to FIGS. 3 to 5.

初めに、模擬動作制御装置1の係員は、テストを行なう
前にテスト前処理を行なう必要がある。
First, the person in charge of the simulated operation control device 1 needs to perform test pre-processing before conducting the test.

第3図に、テスト前処理のフローチャートを示す. 先ず係員は、被テスト装置10の動作条件(コマンドデ
ータ)の作成を行なう(ステップS1).このコマンド
データは、被テスト装置10を動作させるためのもので
、このコマンドデータの内容変更により、被テスト装置
10の動作も変化する。係員は、コマンドデータの作成
が終了すると、このコマンドデータに基づいて動作した
被テスト装置lOが出力するであろう動作結果、即ち予
想されるレスポンスデータ(予想レスポンスデータ)の
データ表を作成する(ステップS2)。以上の2つの作
業が、テスト前処理である。
Figure 3 shows a flowchart of test preprocessing. First, the staff member creates operating conditions (command data) for the device under test 10 (step S1). This command data is for operating the device under test 10, and by changing the contents of this command data, the operation of the device under test 10 also changes. After completing the creation of the command data, the staff member creates a data table of the operation results that the device under test IO that operates based on the command data will output, that is, the expected response data (expected response data). Step S2). The above two tasks are test preprocessing.

第4図に、従来のテストのフローチャートを示す. 先ず初め、係員はキーボード7を用いてテスト番号(弘
)の入力を行なう(ステップSll).主制御部2は、
その内部に設けられた図示しない記憶装置に、入力され
たテスト弘に対応するファイルが登録されているか否か
の判断を行なう(ステップS12)。
Figure 4 shows a conventional test flowchart. First, the staff member inputs the test number (Hiro) using the keyboard 7 (step Sll). The main control unit 2 is
It is determined whether or not a file corresponding to the input test file is registered in a storage device (not shown) provided therein (step S12).

この結果がNo、即ちテスト弘が登録されていない場合
には、キーボード7を操作して先に作成しておいたコマ
ンドデータな入力し(ステップS13)、さらに、テス
ト患と共にこのコマンドデータを記憶装置に登録(格納
)′t′.る(ステップS14). 第5図に、従来のファイルの構成図を示す。
If the result is No, that is, the test patient is not registered, use the keyboard 7 to input the previously created command data (step S13), and further store this command data together with the test patient. Register (storage) in the device 't'. (Step S14). FIG. 5 shows a conventional file configuration diagram.

図に示す様に、ファイル11は、テスト弘項目12とコ
マンドデータ項目l3の2つの項目から構成されている
.テスト患項目12は、テスト隘を格納する領域である
.コマンドデータ項目l3は、係員が予め作成したコマ
ンドデータを格納する領域である。
As shown in the figure, the file 11 is composed of two items: a test data item 12 and a command data item l3. Test item 12 is an area for storing test items. The command data item 13 is an area for storing command data created in advance by the staff member.

再び第4図に戻って、ステップS14における登録が終
了すると、主制御部2は、表示制御部3を駆動して、コ
マンドデータなCRT6に表示する(ステップS15)
.さらに主制御部2は、送受信制御部5を駆動して、コ
マンドデータを被テスト装置10に向けて送信する(ス
テップS16).被テスト装置10は、コマンドデータ
な受信すると、このコマンドデータに基づいた動作を行
ない、その動作結果(レスポンスデータ)を模擬動作制
御装置1に向け出力する.即ち、送受信制御部5がレス
ポンスデータを受信することになる(ステップS l 
7) .主制御部2は、送受信制御部5からレスポンス
データ受信の通知を受けると、表示制御部3を駆動して
受信したレスポンスデータをCRT6に表示し(ステッ
プS18)、処理を終了する。
Returning to FIG. 4 again, when the registration in step S14 is completed, the main control section 2 drives the display control section 3 to display command data on the CRT 6 (step S15).
.. Furthermore, the main control section 2 drives the transmission/reception control section 5 to transmit command data to the device under test 10 (step S16). When the device under test 10 receives command data, it performs an operation based on the command data and outputs the operation result (response data) to the simulated operation control device 1. That is, the transmission/reception control unit 5 receives the response data (step S l
7). When the main control section 2 receives the notification of response data reception from the transmission/reception control section 5, it drives the display control section 3 to display the received response data on the CRT 6 (step S18), and ends the process.

この後、係員は、CRT6に表示されたレスポンスデー
タと、先に用意した予想レスポンスデータのデータ表と
の照合作業を行ない。一致であったならばテスト合格と
してテストを終了し、不一致であったならばテスト不合
格として、被テスト装置10の補修作業等を行ない再度
テストを行なうことになる.なお、ステップSl2にお
いて、YESの判断がなされた場合、即ち、主制御部2
に既にコマンドデータが格納されている場合には、その
コマンドデータを利用するために記憶装置からの取出し
を行ない(ステップS19)、ステップS15に移る。
Thereafter, the staff member compares the response data displayed on the CRT 6 with the previously prepared data table of expected response data. If they match, the test is passed and the test is terminated; if they do not match, the test is judged to have failed and the test is performed again after performing repair work on the device under test 10. Note that if the determination is YES in step Sl2, that is, the main control unit 2
If the command data is already stored in the storage device, the command data is taken out from the storage device in order to be used (step S19), and the process moves to step S15.

(発明が解決しようとする課題) ところで、以上説明した従来の模擬動作制御装置1は、
予め予想レスポンスデータのデータ表を作成し、さらに
、この予想レスポンスデータのデータ表の内容とCRT
6に表示されたレスポンスデータとの照合を係員の目視
により行なわなければならない。このため、テスト項目
(コマンドデータの種類)が多い場合には、各項目に対
応した予想レスポンスデータのデータ表を作成しなけれ
ばならず、非常に手間がかかつていた。また、レスポン
スデータと予想レスポンスデータとの照合は係員の目視
により行なわれるため、データ量が多い場合には、デー
タの照合作業に長い時間を費やさなければならず、さら
に照合ミスを起こしやすいといった問題が生じていた。
(Problems to be Solved by the Invention) By the way, the conventional simulated motion control device 1 described above has the following problems:
A data table of expected response data is created in advance, and the contents of this data table of expected response data and the CRT are
The response data displayed in 6 must be visually checked by the staff member. Therefore, when there are many test items (types of command data), it is necessary to create a data table of expected response data corresponding to each item, which is very time-consuming. In addition, since the comparison between response data and expected response data is done visually by the staff, if there is a large amount of data, a long time must be spent on data comparison, and there is also the problem that comparison errors are more likely to occur. was occurring.

本発明は以上の点に着目してなされたもので、予め予想
レスポンスデータのデータ表の作成をする必要がなく、
さらには、係員の目視による照合を行なうことなく容易
にテスト合格か否かの判定を行なうことができる模擬動
作制御装置を提供することを目的とするものである。
The present invention has been made with attention to the above points, and there is no need to create a data table of expected response data in advance.
A further object of the present invention is to provide a simulated motion control device that can easily determine whether or not a test has been passed without visual verification by an attendant.

(課題を解決するための手段) 本発明の模擬動作制御装置は、予め設定された動作条件
により被テスト装置を動作させ、前記被テスト装置から
その動作結果に基づいて通知されるレスポンスデータを
格納するファイルと、同一の前記動作条件で前記被テス
ト装置を動作させた場合に、前記被テスト装置から繰返
し出力される前記レスポンスデータを相互に比較するレ
スポンスデータ比較手段と、前記レスポンスデータ比較
手段の比較結果に基づいて、前記レスポンスデータが前
記動作条件に合致しているか否かの判定を行なう合否判
定手段とを備えたものである.(作用) 以上の装置は、ファイルに被テスト装置から通知される
レスポンスデータを格納する。このファイルに格納され
たレスポンスデータは、比較手段により、以降被テスト
装置から通知されるレスポンスデータと比較される.合
否判定手段は、比較手段による比較結果を受けて、比較
結果が一致の場合、被テスト装置の動作は正常であるも
のとしてテスト結果合格の判定を、また、比較結果が不
一致の場合、被テスト装置の動作が異常であるものとし
てテスト結果不合格の判定を出す.この判定により、係
員は被テスト装置が正常か否かを認識することができる
(Means for Solving the Problems) A simulated operation control device of the present invention operates a device under test according to preset operating conditions, and stores response data notified from the device under test based on the operation result. response data comparing means for mutually comparing the response data repeatedly outputted from the device under test when the device under test is operated under the same operating conditions; and pass/fail determining means for determining whether or not the response data matches the operating conditions based on the comparison result. (Operation) The above device stores response data notified from the device under test in a file. The response data stored in this file is compared with response data subsequently notified from the device under test by a comparing means. The pass/fail judgment means receives the comparison result by the comparison means, and if the comparison result is a match, the operation of the device under test is determined to be normal, and the test result is judged as passing, and if the comparison result is a mismatch, the test result is judged to be a pass. The test result is determined to be failed, assuming that the device is operating abnormally. Through this determination, the staff member can recognize whether the device under test is normal or not.

(実施例) 第1図に、本発明に係る模擬動作制御装置のブロック図
を示す. 図に示した模擬動作制御装置lの主制御部2には、表示
制御部3、入力装置制御部4、送受信制御部5、ファイ
ル制御部20が接続されている。
(Example) FIG. 1 shows a block diagram of a simulated motion control device according to the present invention. A display control section 3, an input device control section 4, a transmission/reception control section 5, and a file control section 20 are connected to the main control section 2 of the simulated operation control device 1 shown in the figure.

表示制御部3には、表示装置(CRT)6が接続されて
いる.入力装置制御部4には、キーボード7が接続され
ている.また、送受信制御部5にはインタフェースケー
ブル8を介して被テスト装置10が接続されている。フ
ァイル制御部20には、磁気ディスク等から成るファイ
ル21が接続されている. 主制御部2は、模擬動作制御装置lを構成する各部を集
中制御するプロセッサやこのプロセッサの動作に必要な
プログラムやデータ等のを格納する記憶装置等からなる
ものである。表示制御部3はCRT6に表示する表示デ
ータを格納するフレームメモリ等を含む既知の表示制御
回路からなるものである.入力装置制御部4は、キーボ
ード7に配置されたキーを監視して、押下されたキーを
特定する等の制御を行なうものである。送受信制御部5
は、インタフェースケーブル8を介して接続された被テ
スト装置10との間の信号伝送を制御する入出力インタ
フェースである。
A display device (CRT) 6 is connected to the display control section 3. A keyboard 7 is connected to the input device control section 4. Further, a device under test 10 is connected to the transmission/reception control section 5 via an interface cable 8 . A file 21 consisting of a magnetic disk or the like is connected to the file control unit 20. The main control unit 2 includes a processor that centrally controls each unit constituting the simulated operation control device 1, and a storage device that stores programs, data, etc. necessary for the operation of this processor. The display control section 3 consists of a known display control circuit including a frame memory for storing display data to be displayed on the CRT 6. The input device control unit 4 monitors the keys arranged on the keyboard 7 and performs controls such as specifying the pressed key. Transmission/reception control section 5
is an input/output interface that controls signal transmission with the device under test 10 connected via the interface cable 8.

主制御部2には、レスポンスデータ格納制御手段2a、
合否判定手段2bが設けられている。
The main control unit 2 includes a response data storage control means 2a,
Pass/fail determining means 2b is provided.

ファイル制御部20には、レスポンスデータ比較手段2
0aが設けられている。レスポンスデータ格納制御手段
2aは、被テスト装置10から通知されたレスポンスデ
ータをフ7イル2lに格納する制御を行なうものである
。合否判定手段2bは、後に説明するレスポンスデータ
比較手段20aから通知される比較結果に基づいて、テ
スト合格か否かの判定を行なうものである。レスポンス
データ比較手段20aは、ファイル21に格納された2
種のレスポンスデータの比較を行なう比較回路等からな
るものである。
The file control unit 20 includes a response data comparison unit 2.
0a is provided. The response data storage control means 2a controls the storage of response data notified from the device under test 10 in the file 2l. The pass/fail determining means 2b determines whether the test has passed or not based on the comparison result notified from the response data comparing means 20a, which will be described later. The response data comparison means 20a stores the 2 data stored in the file 21.
It consists of a comparison circuit, etc. that compares response data of different species.

以上の構成の模擬動作制御手段1の動作を、第6図を参
照しながら説明する。
The operation of the simulated operation control means 1 having the above configuration will be explained with reference to FIG.

第6図に、本発明に係るテストのフローチャートを示す
FIG. 6 shows a flowchart of a test according to the present invention.

先ず初め、係員はキーボード7を用いてテスト番号(弘
)の入力を行なう(ステップS21)。
First, the staff member inputs the test number (Hiro) using the keyboard 7 (step S21).

主制御部2は、ファイル制御部20を駆動し、ファイル
2lに、入力されたテスト弘に対応するファイルが登録
されているか否かの判断を行なう(ステップS22)。
The main control section 2 drives the file control section 20 and determines whether or not a file corresponding to the input test file is registered in the file 2l (step S22).

この結果がNO、即ちテスト弘が登録されていない場合
には、キーボード7を操作して先に第3図において説明
した要領で作成しておいたコマンドデータを入力し(ス
テップS23),さらに、テスト弘と共にこのコマンド
データをファイル21に登録(格納)する(ステップS
24)。
If the result is NO, that is, Test Hiro is not registered, operate the keyboard 7 to input the command data previously created in the manner described in FIG. 3 (step S23), and further, This command data is registered (stored) in the file 21 together with Test Hiro (step S
24).

第7図に、本発明に係るファイルの構成図を示す. 図に示す様に、ファイル30は、テスト弘項目31、コ
マンドデータ項目32、予想レスポンスデータ項目33
、実レスポンスデータ項目34の4つの項目から構威さ
れている。テスト弘項目3lは、ファイルを特定するた
めの一種の目録である。コマンドデータ項目32は、係
員が予め作成したコマンドデータを格納する領域である
.予想レスポンスデータ項目33は、被テスト装置10
から通知されたレスポンスデータの内、係員が基準のデ
ータとしてファイル2lに格納する操作を行なったもの
を格納する項目である.実レスポンスデータ項目34は
、被テスト装置1oから通知されたレスポンスデータの
内、係員が基準のデータとしてファイル21に格納する
操作を行なわなかったものを格納する項目である。
FIG. 7 shows a configuration diagram of a file according to the present invention. As shown in the figure, the file 30 includes a test data item 31, a command data item 32, and an expected response data item 33.
, actual response data item 34. The test item 3l is a kind of list for specifying files. The command data item 32 is an area for storing command data created in advance by the staff member. The expected response data item 33 is the device under test 10.
This item stores the response data notified by the staff member to be stored in the file 2l as standard data. The actual response data item 34 is an item for storing response data notified from the device under test 1o that the staff did not perform an operation to store in the file 21 as reference data.

ここで再び第6図に戻って、ステップS24における登
録が終了すると、主制御部2は、表示制御部3を駆動し
て、コマンドデータをCRT6に表示する(ステップS
25)。さらに主制御部2は、送受信制御部5を駆動し
て、ファイル21に格納されたコマンドデータを被テス
ト装置1oに向けて送信する(ステップ326)。被テ
スト装置10は、コマンドデータを受信すると、このコ
マンドデータに基づいた動作を行ない、その動作結果(
レスポンスデータ)を模擬動作制御装置1に向け出力す
る.即ち、送受信制御部5がレスポンスデータな受信す
ることになる(ステップS27).主制御部2は、送受
信制御部5からレスポンスデータ受信の通知を受けると
、表示制御部3を駆動して、CRT6に受信したレスポ
ンスデータの表示を行ない(ステップ328),このレ
スポンスデータをファイル21の実レスポンスデータ項
目34に登録(格納)する(ステップ329).この格
納が終了すると、ファイル制御部20のレスポンスデー
タ比較手段20aが動作し、予想レスポンスデータ項目
33と実レスポンスデータ項目34の内容の比較を実行
する(ステップS30).この結果が一致(=)であっ
た場合には、その旨を合否判定手段2bに通知する.合
否判定手段2bは、一致の通知を受けた場合、テスト合
格であるとの判定を下し、表示制御部3に比較が一致し
た旨の表示を行なう(ステップS3 1).その後、主
制御部2は、表示制御部3を駆動して予想レスポンスデ
ータ項目33の置換え、即ち被テスト装置10から通知
され実レスポンスデータ項目34に格納されたレスポン
スデータを、基準のデータとして予想レスポンスデータ
項目33へと格納する、いわゆる置換えを実行するか否
かの指示操作を促す表示を行なう(ステップS32),
主制御部2は、キーボード7の押下を監視し、置換えの
指示がなされたか否かの判断を行なう(ステップS33
),この結果がYESの場合、主制御部2のレスポンス
データ格納制御手段2aは、ファイル制御部20を駆動
し、実レスポンスデータ項目34の内容を予想レスポン
スデータ項目33に複写する(置換える)制御を行ない
(ステップS34) 、処理を終了する.なお、ステッ
プS30では、結果が不一致(≠)であった場合、その
旨を合否判定手段2bに通知する。従って、合否判定手
段2bは、この不一致の通知を受けた場合、テスト不合
格であるとの判定を下し、表示制御部3に比較が不一致
であった旨の表示を行なう.また、ステップS22にお
いて、YESの判断がなされた場合、即ち、ファイル2
lに既にコマンドデータが格納されている場合には、そ
のコマンドデータを利用するためにファイル2lからの
取出しを行ない(ステップS36),ステップS25に
移る. 以上の説明の様に、本発明の模擬動作制御装置1は、被
テスト装置10を取敢えず動作させ、その結果通知され
たレスポンスデータを、従来テストの前に用意していた
予想レスポンスデータとして使用する.そして、被テス
ト装置10から通知されたレスポンスデータ(予想レス
ポンスデータ)と、さらに通知されるレスポンスデータ
(実レスポンスデータ)との比較を自動的に行ないその
比較結果の表示を行なう。なお、被テスト装置10がテ
ストに不合格となる状態、即ち被テスト装置10に障害
が発生した場合、同一の動作条件で被テスト装置lOを
動作させても、その動作結果(レスポンスデータ)の通
知の内容が毎回変化する.言換えれば、被テスト装置l
Oに障害が発生していなければ、同一動作条件の基で通
知される動作結果(レスポンスデータ)は毎回一致する
。このため、複数の動作結果を比較することにより、容
易に被テスト装置10が正常か否かを判断することがで
きる. 本発明は以上の実施例に限定されない.実施例では、被
テスト装置10としては、現金自動取引装置に内装され
る装置を例に説明したが、これは特に限定されるもので
はなく、所定の動作条件を与えると、この動作条件に対
応した動作結果を出力するものならば如何なる装置にも
適用することができる. (発明の効果) 以上説明した本発明の模擬動作制御装置は、係員が予め
予想レスポンスデータのデータ表の作成を行なう必要が
ないため、テスト項目が増えても容易に実施することが
できる.また、係員はレスポンスデータを目視により確
認して照合(比較)を行なうといった作業を行なう必要
がないため、その手間が係らず、さらに迅速にテスト合
格か否かの判断と行なうことができる.
Returning to FIG. 6 again, when the registration in step S24 is completed, the main control section 2 drives the display control section 3 to display the command data on the CRT 6 (step S
25). Furthermore, the main control section 2 drives the transmission/reception control section 5 to transmit the command data stored in the file 21 to the device under test 1o (step 326). When the device under test 10 receives the command data, it performs an operation based on this command data, and the operation result (
response data) is output to the simulated motion control device 1. That is, the transmission/reception control unit 5 receives the response data (step S27). When the main control unit 2 receives the notification of response data reception from the transmission/reception control unit 5, it drives the display control unit 3 to display the received response data on the CRT 6 (step 328), and transfers this response data to the file 21. is registered (stored) in the actual response data item 34 (step 329). When this storage is completed, the response data comparison means 20a of the file control unit 20 operates to compare the contents of the expected response data item 33 and the actual response data item 34 (step S30). If the result is a match (=), this is notified to the pass/fail determining means 2b. When the pass/fail determining means 2b receives the notification of a match, it determines that the test has passed, and displays on the display control unit 3 that the comparison results in a match (step S31). Thereafter, the main control unit 2 drives the display control unit 3 to replace the expected response data item 33, that is, the response data notified from the device under test 10 and stored in the actual response data item 34 is used as the expected reference data. A display prompting an instruction operation as to whether or not to perform so-called replacement, which is stored in the response data item 33, is displayed (step S32).
The main control unit 2 monitors the depression of the keyboard 7 and determines whether a replacement instruction has been given (step S33).
), if this result is YES, the response data storage control means 2a of the main control unit 2 drives the file control unit 20 to copy (replace) the contents of the actual response data item 34 to the expected response data item 33. Control is performed (step S34), and the process ends. In addition, in step S30, if the result is a non-coincidence (≠), this is notified to the pass/fail determining means 2b. Therefore, when the pass/fail determining means 2b receives this notification of mismatch, it makes a decision that the test has failed, and displays on the display control section 3 that the comparison results in a mismatch. Further, if the determination of YES is made in step S22, that is, the file 2
If command data is already stored in file 2l, the command data is extracted from file 2l in order to be used (step S36), and the process moves to step S25. As described above, the simulated operation control device 1 of the present invention operates the device under test 10, and uses the response data notified as a result of the operation as expected response data that is conventionally prepared before the test. Use as. Then, the response data (expected response data) notified from the device under test 10 is automatically compared with the further notified response data (actual response data), and the comparison results are displayed. Note that in a state where the device under test 10 fails the test, that is, when a failure occurs in the device under test 10, even if the device under test IO is operated under the same operating conditions, the operation result (response data) The content of the notification changes each time. In other words, the device under test l
If no failure has occurred in O, the operation results (response data) notified under the same operating conditions will be the same every time. Therefore, by comparing a plurality of operation results, it is possible to easily determine whether or not the device under test 10 is normal. The present invention is not limited to the above embodiments. In the embodiment, the device under test 10 was explained using a device installed in an automated teller machine as an example, but this is not particularly limited, and if a predetermined operating condition is given, the device under test can be adapted to this operating condition. It can be applied to any device that outputs the results of the operation. (Effects of the Invention) The simulated motion control device of the present invention described above does not require the staff member to create a data table of expected response data in advance, so it can be easily implemented even if the number of test items increases. In addition, since the staff member does not have to visually check and compare the response data, the time and effort involved can be eliminated and the test can be determined more quickly.

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

第1図は本発明に係る模擬動作制御装置のブロック図、
第2図は従来の模擬動作制御装置のブロック図、第3図
はテスト前処理のフローチャート、第4図は従来のテス
トのフローチャート、第5図は従来のファイルの構成図
、第6図は本発明に係るテストのフローチャート、第7
図は本発明に係るファイルの構成図である。 2・・・主制御部、 2a・・・レスポンスデータ格納制御手段、2b・・・
合否判定手段、3・・・表示制御部、4・・・入力装置
制御部、5・・・送受信制御部、6・・・表示装置(C
RT) 、7・・・キーボード、8・・・インタフェー
スケーブル、 lO・・・被テスト装置、20・・・ファイル制御部、
20a・・・レスポンスデータ比較手段、21・・・フ
ァイル.
FIG. 1 is a block diagram of a simulated motion control device according to the present invention,
Figure 2 is a block diagram of a conventional simulated operation control device, Figure 3 is a flowchart of test preprocessing, Figure 4 is a flowchart of a conventional test, Figure 5 is a configuration diagram of a conventional file, and Figure 6 is a flowchart of a test preprocessing process. Flow chart of the test related to the invention, No. 7
The figure is a configuration diagram of a file according to the present invention. 2... Main control unit, 2a... Response data storage control means, 2b...
Pass/fail determination means, 3... Display control section, 4... Input device control section, 5... Transmission/reception control section, 6... Display device (C
RT), 7...Keyboard, 8...Interface cable, IO...Device under test, 20...File control unit,
20a...Response data comparison means, 21...File.

Claims (1)

【特許請求の範囲】 予め設定された動作条件により被テスト装置を動作させ
、前記被テスト装置からその動作結果に基づいて通知さ
れるレスポンスデータを格納するファイルと、 同一の前記動作条件で前記被テスト装置を動作させた場
合に、前記被テスト装置から繰返し出力される前記レス
ポンスデータを相互に比較するレスポンスデータ比較手
段と、 前記レスポンスデータ比較手段の比較結果に基づいて、
前記レスポンスデータが前記動作条件に合致しているか
否かの判定を行なう合否判定手段とを備えたことを特徴
とする模擬動作制御装置。
[Scope of Claims] A file for storing response data that is notified from the device under test based on the operation result by operating the device under test under preset operating conditions; response data comparison means for mutually comparing the response data repeatedly output from the device under test when the test device is operated; and based on the comparison result of the response data comparison means,
A simulated motion control device comprising: pass/fail determining means for determining whether or not the response data matches the operating conditions.
JP1299547A 1989-11-20 1989-11-20 Simulated operation controller Pending JPH03160530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1299547A JPH03160530A (en) 1989-11-20 1989-11-20 Simulated operation controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1299547A JPH03160530A (en) 1989-11-20 1989-11-20 Simulated operation controller

Publications (1)

Publication Number Publication Date
JPH03160530A true JPH03160530A (en) 1991-07-10

Family

ID=17874031

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1299547A Pending JPH03160530A (en) 1989-11-20 1989-11-20 Simulated operation controller

Country Status (1)

Country Link
JP (1) JPH03160530A (en)

Similar Documents

Publication Publication Date Title
CN104123219B (en) Method and device for testing software
CA2149660C (en) A centralized system and method for administering computer based tests
US20100312541A1 (en) Program test device and program
JPH0424831A (en) Test device
CN115481030A (en) Automatic testing method, device, terminal and storage medium
CN110990289A (en) Method and device for automatically submitting bug, electronic equipment and storage medium
CN111459800B (en) Method, device, equipment and medium for verifying availability of service system
CN105335266B (en) Method for determining the failure of tested equipment
KR101252358B1 (en) Apparatus and method for testing plc command
JPH03160530A (en) Simulated operation controller
CN114626053A (en) Testing method and device for national secret authentication, national secret authentication program and system
JPH0981416A (en) Testing device
CN105915540A (en) Secret key update function test method and system of cost control electric energy meter
TW583739B (en) Monitoring and verifying system for semiconductor testing equipment
CN113094251A (en) Embedded system testing method and device, computer equipment and storage medium
JP7362372B2 (en) Remote maintenance system and remote maintenance method for banknote processing system
CN111142411A (en) Equipment point inspection device and equipment point inspection system
CN107273772B (en) Method and device for testing account opening function of charge control interaction terminal
JPH07219980A (en) Test execution system
JPS6015989B2 (en) Automatic trading system line diagnosis method
CN115905177A (en) Data migration testing method and device, computer equipment and readable storage medium
CN117234784A (en) Processing method and device of abnormal event, storage medium and electronic device
CN114020613A (en) Transaction posting test processing method and device, computer equipment and storage medium
US20050033543A1 (en) System and method for testing of transaction initiation devices in electronic funds transfer systems
JPS58222343A (en) Automatic discriminating system of difference of data