JPH01240952A - System for diagnosing peripheral device control program - Google Patents

System for diagnosing peripheral device control program

Info

Publication number
JPH01240952A
JPH01240952A JP63067897A JP6789788A JPH01240952A JP H01240952 A JPH01240952 A JP H01240952A JP 63067897 A JP63067897 A JP 63067897A JP 6789788 A JP6789788 A JP 6789788A JP H01240952 A JPH01240952 A JP H01240952A
Authority
JP
Japan
Prior art keywords
command
control program
peripheral device
storage means
issuing
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
JP63067897A
Other languages
Japanese (ja)
Inventor
Shoichi Wakashima
若島 正一
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP63067897A priority Critical patent/JPH01240952A/en
Publication of JPH01240952A publication Critical patent/JPH01240952A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily perform the analysis of the fault of a control program by issuing a command sequentially according to a command issuing procedure, and storing the fault information of the control program obtained by the issuing of the command in a diagnostic information storage means correspondingly to the command issuing procedure. CONSTITUTION:A command diagnosing means 10 issues the command sequentially according to the command issuing procedure stored in a command sequence storage means 11. And the fault information of the control program of a peripheral device 2 obtained by the issuing of the command is stored in the diagnostic information storage means 12 correspondingly to the command issuing procedure. In such a way, since the execution procedure of the command to the generation of a fault can be recorded, it is possible to reproduce the generative condition of the fault easily, and the analysis of the fault of the control program in the peripheral device 2 can be performed easily.

Description

【発明の詳細な説明】 〔概要〕 データ処理装置に接続される周辺装置の実行する制御プ
ログラムを診断するための診断方式に関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a diagnostic method for diagnosing a control program executed by a peripheral device connected to a data processing device.

制御プログラムの障害解析を容易に実行できるようにす
ることを目的とし。
The purpose is to facilitate failure analysis of control programs.

予めプログラムされるコマンド発行手順を格納するコマ
ンドシーケンス格納手段と、上記周辺装置に対してコマ
ンドを発行するとともに、このコマンドの発行に対して
のレスポンスデータを解析することで制御プログラムに
障害があるか否がを判断するコマンド診断手段と、この
コマンド診断手段により求まる制御プログラムの障害情
報を格納する診断情報格納手段とを備え、上記コマンド
診断手段が、上記コマンドシーケンス格納手段の格納す
るコマンド発行手順に従って順次コマンドを発行してい
くとともに5 このコマンドの発行により求まる制御プ
ログラムの障害情報をコマンド発行手順に対応させて上
記診断情報格納手段に格納するよう構成する。
A command sequence storage means that stores a pre-programmed command issuing procedure, issues a command to the above-mentioned peripheral device, and analyzes response data to the issuance of this command to determine if there is a fault in the control program. The command diagnosis means is equipped with a command diagnosis means for determining whether the command is faulty or not, and a diagnosis information storage means for storing failure information of the control program determined by the command diagnosis means, and the command diagnosis means is configured to execute the command issuing procedure according to the command issuing procedure stored in the command sequence storage means. The control program is configured to sequentially issue commands and store fault information of the control program determined by issuing these commands in the diagnostic information storage means in correspondence with the command issuing procedure.

〔産業上の利用分野〕[Industrial application field]

本発明は、データ処理装置に接続される周辺装置の実行
する制御プログラムを診断するための周辺装置制御プロ
グラムの診断方式に関するものである。
The present invention relates to a method for diagnosing a peripheral device control program for diagnosing a control program executed by a peripheral device connected to a data processing device.

〔従来の技術〕[Conventional technology]

データ処理装置に接続される周辺装置の実行する制御プ
ログラムに障害があるか否かを診断するために、従来で
は、複数のコマンドよりなる一連のテストプログラムを
データ処理装置から周辺装置にと発行するよう構成する
とともに、このコマンドの実行に対してエラーがでると
きには、オペレータの判断をあおいでリトライするか1
次のテストへとバスするようにと構成していたのである
In order to diagnose whether there is a fault in the control program executed by a peripheral device connected to a data processing device, conventionally, a series of test programs consisting of multiple commands are issued from the data processing device to the peripheral device. In addition to configuring the command to
It was configured so that it would be bused to the next test.

そして、エラー個所での更に詳細な障害情報を得る必要
があるときには、オペレータが簡易言語を使ってそのた
めの詳細なテストプログラムを作成し2周辺装置に対し
てこの作成された詳細なテストプログラムを実行するよ
うにとすることで、必要な障害情報が得られるようにと
していたのである。
When it is necessary to obtain more detailed failure information at the error location, the operator creates a detailed test program for that purpose using a simple language and executes the created detailed test program for the two peripheral devices. By doing so, the necessary fault information could be obtained.

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

しかしながら、このような従来技術によるならば、障害
の発生に到るまでのコマンドの実行手順がわからなくな
ってしまうという問題点があったのである。従って、障
害の発生のための条件を簡単に再現することができず1
周辺装置の制御プログラムの障害解析に時間がかかりす
ぎてしまうという欠点があった。
However, with such conventional technology, there is a problem in that the command execution procedure leading up to the occurrence of the failure becomes unclear. Therefore, the conditions for the occurrence of the failure cannot be easily reproduced.
The drawback is that it takes too much time to analyze failures in peripheral device control programs.

本発明はかかる事情に鑑みてなされたものであって、障
害の発生のための条件を簡単に再現できるようにするこ
とで、制御プログラムの障害解析を容易に実行できるよ
うにする周辺装置制御プログラムの診断方式の提供を目
的とするものである。
The present invention has been made in view of the above circumstances, and is a peripheral device control program that makes it possible to easily perform failure analysis of a control program by easily reproducing the conditions for the occurrence of a failure. The purpose is to provide a diagnostic method for

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図である。 FIG. 1 is a diagram showing the principle configuration of the present invention.

図中、1はデータ処理装置、2は診断の対象となる周辺
装置、3は記憶装置である。10はデータ処理袋W1が
備えるコマンド診断手段であり。
In the figure, 1 is a data processing device, 2 is a peripheral device to be diagnosed, and 3 is a storage device. 10 is a command diagnosis means provided in the data processing bag W1.

周辺装置2に対してコマンドを発行するとともに。Along with issuing a command to the peripheral device 2.

このコマンドを実行する周辺装置2の制御プログラムか
らのレスポンスデータを解析することで。
By analyzing response data from the control program of the peripheral device 2 that executes this command.

周辺装置2の制御プログラムに障害があるか否かを判断
するもの、11は記憶装置3が収納するコマンドシーケ
ンス格納手段であり、予めプログラムされるプログラム
発行手順を格納するためのもの、12は同じ(記憶装置
3が収納する診断情報格納手段であり、コマンド診断手
段IOにより求まる周辺装置の制御プログラムの障害情
報をコマンド発行手順に対応させて格納するためのもの
である。
11 is a command sequence storage means stored in the storage device 3, which is used to store a program issuing procedure programmed in advance; 12 is the same; (This is a diagnostic information storage means stored in the storage device 3, and is used to store failure information of a control program of a peripheral device determined by the command diagnosis means IO in correspondence with a command issuing procedure.

〔作用〕[Effect]

本発明では1 コマンド診断手段10が、コマンドシー
ケンス格納手段11の格納するコマンド発行手順に従っ
て順次コマンドを発行していくとともに、このコマンド
の発行により求まる周辺装置2の制御プログラムの障害
情報をコマンド発行手順に対応させて診断情報格納手段
12に格納するようにと動作する。
In the present invention, 1. The command diagnostic means 10 issues commands in sequence according to the command issuing procedure stored in the command sequence storage means 11, and also uses the fault information of the control program of the peripheral device 2 determined by issuing the commands in the command issuing procedure. The diagnostic information storage means 12 stores the diagnostic information in correspondence with the diagnostic information storage means 12.

従って1本発明によれば、障害の発生に到るまでのコマ
ンドの実行手順が記録されることになるので、障害の発
生条件を簡単に再現できることとなって1周辺装置の制
i1Bプログラムの障害解析が容易に行えるようになる
のである。
Therefore, according to the present invention, since the command execution procedure leading up to the occurrence of a failure is recorded, the conditions under which the failure occurs can be easily reproduced. This makes analysis easier.

〔実施例〕〔Example〕

以下、実施例に従って本発明の詳細な説明する。 Hereinafter, the present invention will be explained in detail according to examples.

第2図に1本発明に係る周辺装置制御プログラムの診断
方式を実現するためのシステム構成図を示す。この図に
示すように1本発明は、データ処理装置本体1a、フロ
ッピーディスク装置3a。
FIG. 2 shows a system configuration diagram for realizing a diagnostic method for a peripheral device control program according to the present invention. As shown in this figure, one aspect of the present invention includes a data processing device main body 1a and a floppy disk device 3a.

ハードディスク装置3b、デイスプレィ装置4及びキー
ボード5からなるデータ処理装置が4周辺装置として接
続されるところの被試験装置2aの実行する制御プログ
ラムの障害情報を診断していくようにと構成するもので
ある。
A data processing device consisting of a hard disk device 3b, a display device 4, and a keyboard 5 is connected as four peripheral devices, and is configured to diagnose fault information of a control program executed by a device under test 2a. .

被試験装置2aに対してコマンドを発行することで被試
験装置2aの制御プログラムを診断しようとするオペレ
ータは、最初に第3図(A)に示すように2発行するコ
マンドの順序を設定することになる。例えば2被試験装
置2aがイメージスキャナであるときには、1番目に発
行するコマンドが用紙サイズの選択コマンド、2番目に
発行するコマンドがCCDイメージセンサの読取り実行
コマンド、3番目に発行するコマンドが自動給紙の実行
コマンドというようにと定めていくのである。
An operator who wishes to diagnose the control program of the device under test 2a by issuing commands to the device under test 2a must first set the order of the two commands to be issued as shown in FIG. 3(A). become. For example, when the device under test 2a is an image scanner, the first command issued is a paper size selection command, the second command is a CCD image sensor reading execution command, and the third command is an automatic feed command. This will be defined as a paper execution command.

このようにして発行するコマンドの順序を設定すると、
続いてオペレータは、この発行順序に従ってコマンドを
発行していくために、コマンドシーケンス実行プログラ
ムを作成し、フロッピーディスク装置3aにと格納する
。このコマンドシーケンス実行プログラムは、第3図(
B)に示すように、コマンドをパラメータにして“EX
DV”命令を読出すための実行文と、この“EXDV”
命令の実行により求まる解析結果に従って、正常メツセ
ージか異常メツセージかのいずれかを表示するようにと
指示する実行文とを対とする実行文を基本単位にして、
プログラムされることになる。
Setting the order of commands to issue in this way:
Next, the operator creates a command sequence execution program and stores it in the floppy disk device 3a in order to issue commands in accordance with this issuing order. This command sequence execution program is shown in Figure 3 (
As shown in B), set the command as a parameter to “EX
Executable statement for reading the “DV” instruction and this “EXDV”
The basic unit is an executable statement that is paired with an executable statement that instructs to display either a normal message or an abnormal message according to the analysis result obtained by executing the command,
It will be programmed.

第3図(B)の例でみるならば5行番号1oでコマンド
AをパラメータにしてEXDV命令を続出し2行番号2
0でこの行番号10の実行のメツセージ表示を指示し、
続いて行番号30でコマンドBをパラメータにしてEX
DV命令を読出し1行番号40でこの行番号30の実行
のメツセージ表示を指示するというようにと、プログラ
ムしていくのである。
In the example of Figure 3 (B), on line 5, number 1o, the EXDV command is executed one after another with command A as a parameter, and on line 2, number 2
0 instructs to display a message for the execution of this line number 10,
Next, on line number 30, use command B as a parameter and EX
The program reads the DV command and instructs to display a message for the execution of line number 30 at line number 40, and so on.

次に、第4図に従って、データ処理装置本体1aの備え
るCPUが実行するところのEXDV命令のルーチン処
理について説明する。ここで第4図では、コマンドAを
パラメータにしてEXDV命令の実行する例を示しであ
る。
Next, with reference to FIG. 4, the routine processing of the EXDV instruction executed by the CPU included in the data processing device main body 1a will be described. Here, FIG. 4 shows an example in which the EXDV command is executed using command A as a parameter.

最初に、CPUは、ステップ1で示すようにコマンドの
実行のために必要となるデータをセントする。このデー
タのセットが終了すると、続くステップ2で、被試験装
置2aに対してコマンドを発行する。そして次のステッ
プ3で、このようにして発行されたコマンドを実行する
被試験装置2aの制御プログラムから返されるレスポン
スデータを受信し格納する。続くステップ4で、この格
納データにエラーがないか否がを解析し、ステップ5で
の判断でエラーがないと判断するときには。
First, the CPU sends the data needed to execute the command as shown in step 1. When this data setting is completed, in the subsequent step 2, a command is issued to the device under test 2a. Then, in the next step 3, response data returned from the control program of the device under test 2a that executes the command issued in this manner is received and stored. In the subsequent step 4, this stored data is analyzed to see if there are any errors, and in step 5, it is determined that there is no error.

ステップ6に進んでエラーフラグをオフにセットする。Proceed to step 6 and set the error flag off.

一方、ステップ5での判断でエラーがあると判断すると
きには、ステップ7に進んでエラーフラグをオンにセッ
トするのである。このように。
On the other hand, if it is determined in step 5 that there is an error, the process proceeds to step 7 and the error flag is set on. in this way.

EXDV命令は、被試験装置2aに対して設定されたコ
マンドを発行するとともに、このコマンドの発行に対し
て返される被試験装置2aからのレスポンスデータを解
析するよう処理するのである。
The EXDV command issues a set command to the device under test 2a, and processes the response data returned from the device under test 2a in response to the issuance of this command to be analyzed.

EXDV命令がこのようなルーチン処理を実行すること
から、オペレータから予め作成されであるコマンドシー
ケンス実行プログラムの起動依頬があると、データ処理
装置本体1aのCPUは。
Since the EXDV command executes such a routine process, when the operator requests the startup of a command sequence execution program created in advance, the CPU of the data processing device main body 1a starts running.

このコマンドシーケンス実行プログラムの実行文の順序
に従ってコマンドを発行し、制御プログラムの障害情報
を解析していくのである。そして。
Commands are issued in accordance with the order of the executable statements of this command sequence execution program, and failure information of the control program is analyzed. and.

CPUは、このようにして求められる制御プログラムの
障害情報を、第5図に示すように、コマンドの発行順序
と対応付けてハードディスク装置3b上に格納していく
ようにと処理することになる。
The CPU processes the control program failure information obtained in this manner so as to be stored on the hard disk device 3b in association with the command issuance order, as shown in FIG.

このようにして3被試験装置2aの制御プログラムの障
害情報を記録するようにとすることから。
In this way, failure information of the control program of the three devices under test 2a is recorded.

本発明では、従来と異なり障害の発生に到るまでのコマ
ンドの実行手順を常に明確にできるようになるのである
In the present invention, unlike conventional methods, it is possible to always clarify the command execution procedure leading up to the occurrence of a failure.

以上図示実施例について説明したが2本発明はこれに躍
られるものではないのである。例えば。
Although the illustrated embodiments have been described above, the present invention is not limited to these embodiments. for example.

障害情報の格納する場所はハードディスク装置に限られ
るものではなく、フロッピーディスク装置であってもよ
いし、データ量がそれ程多くなければデータ処理装置本
体であってもよいのである。
The location where the failure information is stored is not limited to the hard disk drive, but may also be a floppy disk drive or, if the amount of data is not that large, the data processing device itself.

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

このように本発明によれば1周辺装置制御プログラムに
おける障害発生のための条件を簡単に再現できるように
なることから9周辺装置制御プログラムの障害解析を容
易に実行できるようになるのである。
As described above, according to the present invention, it is possible to easily reproduce the conditions for the occurrence of a failure in one peripheral device control program, so that failure analysis of nine peripheral device control programs can be easily performed.

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

第1図は原理構成図。 第2図はシステム構成図。 第3図はコマンドシーケンス実行プログラムの説明図。 第4図はEXDV命令のルーチン処理のフローチャート
。 第5図は障害情報の格納方式の説明図である。 図中、1はデータ処理装置、laはデータ処理装置本体
、2は周辺装置、2aは被試験装置、3は記憶装置、3
aはフロッピーディスク装置、3bはハードディスク装
置、4はデイスプレィ装置。 5はキーボード、10はコマンド診断手段、11はコマ
ンドシーケンス格納手段、12は診断情報格納手段であ
る。 特許出願人株式会社ピーエフニー
Figure 1 is a diagram of the principle configuration. Figure 2 is a system configuration diagram. FIG. 3 is an explanatory diagram of a command sequence execution program. FIG. 4 is a flowchart of routine processing of the EXDV instruction. FIG. 5 is an explanatory diagram of a storage method of failure information. In the figure, 1 is a data processing device, la is a main body of the data processing device, 2 is a peripheral device, 2a is a device under test, 3 is a storage device, 3
a is a floppy disk device, 3b is a hard disk device, and 4 is a display device. 5 is a keyboard, 10 is a command diagnosis means, 11 is a command sequence storage means, and 12 is a diagnostic information storage means. Patent applicant Pfn Co., Ltd.

Claims (1)

【特許請求の範囲】 データ処理装置に接続される周辺装置(2)の実行する
制御プログラムを診断するための診断方式において、 予めプログラムされるコマンド発行手順を格納するコマ
ンドシーケンス格納手段(11)と、上記周辺装置(2
)に対してコマンドを発行するとともに、このコマンド
の発行に対して上記周辺装置(2)から返されるレスポ
ンスデータを解析することで上記周辺装置(2)の制御
プログラムに障害があるか否かを判断するコマンド診断
手段(10)と、このコマンド診断手段(10)により
求まる上記周辺装置(2)の制御プログラムの障害情報
を格納する診断情報格納手段(12)とを備え、上記コ
マンド診断手段(10)が、上記コマンドシーケンス格
納手段(11)の格納するコマンド発行手順に従って順
次コマンドを発行していくとともに、このコマンドの発
行により求まる上記周辺装置(2)の制御プログラムの
障害情報をコマンド発行手順に対応させて上記診断情報
格納手段(12)に格納してなることを、 特徴とする周辺装置制御プログラムの診断方式。
[Claims] A diagnostic method for diagnosing a control program executed by a peripheral device (2) connected to a data processing device, comprising: a command sequence storage means (11) for storing a preprogrammed command issuing procedure; , the above peripheral device (2
), and by analyzing the response data returned from the peripheral device (2) in response to the issuance of this command, it is possible to determine whether there is a failure in the control program of the peripheral device (2). The command diagnosis means (10) includes a command diagnosis means (10) for determining the command diagnosis means (10), and a diagnosis information storage means (12) for storing failure information of the control program of the peripheral device (2) determined by the command diagnosis means (10). 10) sequentially issues commands according to the command issuing procedure stored in the command sequence storage means (11), and also issues fault information of the control program of the peripheral device (2) determined by issuing these commands to the command issuing procedure. A diagnostic method for a peripheral device control program, characterized in that the diagnostic information is stored in the diagnostic information storage means (12) in correspondence with the diagnostic information storage means (12).
JP63067897A 1988-03-22 1988-03-22 System for diagnosing peripheral device control program Pending JPH01240952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63067897A JPH01240952A (en) 1988-03-22 1988-03-22 System for diagnosing peripheral device control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63067897A JPH01240952A (en) 1988-03-22 1988-03-22 System for diagnosing peripheral device control program

Publications (1)

Publication Number Publication Date
JPH01240952A true JPH01240952A (en) 1989-09-26

Family

ID=13358147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63067897A Pending JPH01240952A (en) 1988-03-22 1988-03-22 System for diagnosing peripheral device control program

Country Status (1)

Country Link
JP (1) JPH01240952A (en)

Similar Documents

Publication Publication Date Title
JPH01240952A (en) System for diagnosing peripheral device control program
JP3206096B2 (en) Input data processing device
JPS6245266A (en) Method for remote fault diagnosis and fault repair of communication terminal equipment
JPS6250858B2 (en)
JPS59177660A (en) Logging system of diagnostic result in electronic computer
JPS5849900B2 (en) Diagnosis method during IPL
JPH05143395A (en) Diagnostic program execution system and log information display system to be used for the execution system
JPS59160233A (en) Automatic recording system for input/output operating data of display device
JPH0358254A (en) Data transfer testing system for channel
JPH02123631U (en)
JP2684966B2 (en) I / O processor debug device
JPH03294934A (en) Debugger for high level program lenguage
JP2865544B2 (en) Diagnosis target device designation method and diagnosis processing device
JPH01281520A (en) External storage device
JP2001202272A (en) Debugging method, debugging device using this method and recording medium with debugging method recorded thereon
JPH0362104A (en) Inspection instrument
JPH0844583A (en) Diagnostic system for information processor
JPS6125174B2 (en)
JPH04248635A (en) Probe effect eliminating method for parallel processing debugging
JPS59229658A (en) Information processor
JPH02110743A (en) Fault diagnostic processing system
JPH03108101A (en) Recording and reproducing device
JPH04162164A (en) Input/output controller
JPH04256000A (en) Memory test method
JPH02227742A (en) Pseudo fault generating system for information processing system