JPS63276131A - System for diagnosing duplex shared input/output device - Google Patents

System for diagnosing duplex shared input/output device

Info

Publication number
JPS63276131A
JPS63276131A JP62111392A JP11139287A JPS63276131A JP S63276131 A JPS63276131 A JP S63276131A JP 62111392 A JP62111392 A JP 62111392A JP 11139287 A JP11139287 A JP 11139287A JP S63276131 A JPS63276131 A JP S63276131A
Authority
JP
Japan
Prior art keywords
input
output
output request
diagnosis
request
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
JP62111392A
Other languages
Japanese (ja)
Inventor
Takeshi Fukushima
福島 武司
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 JP62111392A priority Critical patent/JPS63276131A/en
Publication of JPS63276131A publication Critical patent/JPS63276131A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To realize the diagnosis in an on-line state for a duplex shared input/ output device by registering a diagnostic program into a control table for input/ output objects and executing immediately the input/output request given to an area excluding the corresponding one from a general processing program. CONSTITUTION:An input/output request is accepted by an input/output accepting means 11 and this requester is discriminated by an input/output request decision/ control means 12. When the requester is coincident with a diagnostic program 2, the input/output object area is registered in a duplex diagnosing managing table 14 as an under-diagnosing area. Then an input/output request is produced to a duplex shared input/output device 4. When the requester is coincident with a general processing program 1, an input/output request is produced immediately as long as the relevant input/output request is not given to the under- diagnosing area. While an input/output request waiting means 15 is started when said input/output request is given to the under-diagnosing area. Then this area is released by the program 2 and an input/output request is produced.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、電子計算機システムなどに設置される二重化
共用入出力装置の診断方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method for diagnosing a duplex shared input/output device installed in a computer system or the like.

従来の技術 電子計算機システムでは、中央処理装置内で実行される
各種の処理プログラムにより共用される共用入出力装置
を主装置と副装置から成る二重化構成とすると共に、こ
の二重化共用入出力装置に対し予防保全などを目的とす
る診断を中央処理装置から行う形態のものがある。
In conventional technology electronic computer systems, the shared input/output device shared by various processing programs executed within the central processing unit has a duplex configuration consisting of a main device and a subdevice. There is a type in which diagnosis for purposes such as preventive maintenance is performed from a central processing unit.

従来、上述のような二重化共用入出力装置に対する診断
の実行に際しては、他の処理プログラムとの入出力競合
に伴うデータ矛盾を防止するた・めに、診断対象を所定
のエリアに限定したり、診断項目を読込み試験に限定し
たり、あるいは、二重化共用構成を一旦解除して診断プ
ログラムだけに割当てたりしている。
Conventionally, when diagnosing the duplex shared input/output device as described above, in order to prevent data inconsistencies due to input/output conflicts with other processing programs, the diagnostic target is limited to a predetermined area, or Diagnosis items are limited to reading tests, or the duplex shared configuration is temporarily canceled and assigned only to the diagnostic program.

発明が解決しようとする問題点 上記従来の診断方式のうち診断対象を所定のエリアに限
定したり、診断項目を読込み試験だけに限定したりする
ものは、入出力装置の全エリアや全機能についての診断
を行うことができず、十分な予防保全が行えないという
問題がある。
Problems to be Solved by the Invention Among the conventional diagnostic methods mentioned above, those that limit the diagnostic target to a predetermined area or limit the diagnostic items to only reading tests cannot be used for all areas and all functions of the input/output device. There is a problem in that it is not possible to perform a diagnosis and sufficient preventive maintenance cannot be performed.

また、二重化共用構成を一旦解除して診断プログラムに
だけに割当てる診断方式は、一般の処理プログラムの走
行状態では適用することができない。このため、電子計
算機システムを一旦停止させなければならず、システム
動作の連続性を犠牲にしなければならないという問題が
ある。
Furthermore, a diagnostic method in which the duplex shared configuration is temporarily canceled and assigned only to a diagnostic program cannot be applied to a running state of a general processing program. Therefore, there is a problem in that the electronic computer system must be temporarily stopped, and the continuity of system operation must be sacrificed.

問題点を解決するための手段 本発明に係わる二重化共用入出力装置の診断方式は、入
出力要求が診断プログラムからのものであれば入出力対
象のエリアを診断中エリアとして二重化診断管理テーブ
ルに登録したのち直ちにこの入出力要求を発行し、この
入出力要求が一般プログラムからのものである場合にお
いて診断中エリアに対するものでない時には直ちにこの
入出力要求を発行し、この入出力要求が一般プログラム
からのものである場合において診断中エリアに対するも
のである時にはこの診断中エリアが診断プログラムによ
って解放されのを待ってこの入出力要求を発行する入出
力要求判別・制御手段を入出力制御装置に備え、診断プ
ログラムを優先させつつこれと一般の処理プログラムと
の間の入出力要求の競合を許容するより、診断エリアや
項目を限定することなくオンライン状態での診断を可能
とするように構成されている。
Means for Solving Problems According to the diagnosis method of the duplex shared input/output device according to the present invention, if the input/output request is from a diagnostic program, the area to be input/output is registered as the area under diagnosis in the duplex diagnosis management table. If this input/output request is from a general program and is not for the area under diagnosis, immediately issues this input/output request, and if this input/output request is from a general program, immediately issues this input/output request. The input/output control device is equipped with an input/output request determination/control means that waits for the area under diagnosis to be released by the diagnostic program and then issues the input/output request when the request is for the area under diagnosis. Rather than giving priority to a program and allowing competition in input/output requests between this program and general processing programs, the system is configured to enable diagnosis in an online state without limiting diagnostic areas or items.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 第1図は、本発明の一実施例に係わる二重化共用入出力
装置の診断方式の方式概念図であり、lは一般の処理プ
ログラム、2は診断プログラム、3は入出力制御装置、
4は二重化共用入出力装置4である。
Embodiment FIG. 1 is a conceptual diagram of a diagnostic method for a duplex shared input/output device according to an embodiment of the present invention, where l is a general processing program, 2 is a diagnostic program, 3 is an input/output control device,
4 is a duplex shared input/output device 4;

診断プログラム2は、二重化共用入出力装置4に対し診
断対象エリアからのデータの退避、試験の実行及び退避
データの復元というサイクルで診断を行う。また、一般
の処理プログラムlは上記診断プログラム2以外の業務
処理プログラムであり、診断プログラム2との間で競合
しつつ二重化構成の入出力装置を共用する。
The diagnostic program 2 diagnoses the duplex shared input/output device 4 in a cycle of saving data from the area to be diagnosed, executing a test, and restoring the saved data. Further, the general processing program 1 is a business processing program other than the above-mentioned diagnostic program 2, and competes with the diagnostic program 2 while sharing the dual-configured input/output device.

入出力制御装置3は、入出力要求受付は手段11、入出
力要求判別・制御手段12、入出力要求発行手段13、
二重化診断管理テーブル14、入出力要求待ち合せ手段
15及び入出力要求再起動手段16から構成されている
The input/output control device 3 includes input/output request reception means 11, input/output request determination/control means 12, input/output request issuing means 13,
It is composed of a duplex diagnosis management table 14, an input/output request waiting means 15, and an input/output request restarting means 16.

二重化診断管理テーブル14は、第2図に例示するよう
に、診断中の主装置アドレス、副装置アドレス、二重化
状態フラグ、診断装置アドレス及び診断装置診断エリア
・アドレスを含む診断状況に関する情報から成る。この
診断状況に関する情報の各エントリは、診断プログラム
2からの入出力要求が発生するたびに入出力要求判別・
制御手段12によって登録、参照、削除などの管理が行
われる。
The duplex diagnosis management table 14, as illustrated in FIG. 2, consists of information regarding the diagnosis status including the address of the main device under diagnosis, the address of the sub device, the duplex status flag, the diagnosis device address, and the diagnosis device diagnosis area address. Each entry of information regarding this diagnostic status is used to determine the input/output request each time an input/output request from the diagnostic program 2 occurs.
The control means 12 manages registration, reference, deletion, etc.

人出力制御装置3内の入出力要求受付は手段11は、一
般の処理プログラム1及び診断プログラム2からの競合
し合う入出力要求を受付けると、その要求元識別情報と
共に入出力要求判別・制御手段12に制御を渡す。
When receiving competing input/output requests from the general processing program 1 and the diagnostic program 2, the input/output request receiving means 11 in the human output control device 3 includes input/output request discrimination/controlling means along with the request source identification information. Control is passed to 12.

入出力要求受付は手段11から起動された入出力要求判
別・制御手段12は、第3図のフローチャートに例示す
る手順の判別・制御処理を開始する。
The input/output request determining/controlling means 12 activated by the input/output request receiving means 11 starts determination/control processing of the procedure illustrated in the flowchart of FIG.

すなわち、入出力要求判別・制御手段12は、最初のス
テップ31において、入出力要求受付は手段11から渡
された要求元識別情報に基づき入出力要求の要求元を判
別し、これが一般の処理プログラム1であればステップ
32に進み、それが診断中の二重化共用装置に対するも
のであるが否かを二重化診断管理テーブル14を参照し
て判別する。入出力要求判別・制御手段12は、この入
出力要求が診断中の二重化共用装置に対するものでなけ
れば直ちにステップ33に進み、入出力要求発行手段1
3を起動して処理を終了する。
That is, in the first step 31, the input/output request determination/control means 12 determines the request source of the input/output request based on the request source identification information passed from the input/output request reception means 11, and this determines the request source of the input/output request based on the request source identification information passed from the input/output request means 11. If it is 1, the process proceeds to step 32, where it is determined with reference to the duplex diagnosis management table 14 whether or not the diagnosis is for the duplex shared device being diagnosed. If the input/output request is not for the duplex shared device being diagnosed, the input/output request determining/controlling means 12 immediately proceeds to step 33, and the input/output request issuing means 1
3 and finish the process.

入出力要求判別・制御手段12は、上記入出力要求が診
断中の二重化共用装置に対するものであることをステッ
プ32で判別すると、ステップi4に進み、これが診断
中のエリアに対する入出力要求であるか否かを二重化診
断管理テーブル14を参照して判別する。入出力要求判
別・制御手段12は、この入出力要求が診断中エリアに
対するものでなければステップ33に進み、入出力要求
発行手段13を起動して処理を終了する。
When the input/output request determination/control means 12 determines in step 32 that the input/output request is for the duplex shared device under diagnosis, the process proceeds to step i4, and determines whether this is an input/output request for the area under diagnosis. It is determined by referring to the duplex diagnosis management table 14 whether or not the duplex diagnosis management table 14 is present. If the input/output request is not for the area under diagnosis, the input/output request determining/controlling means 12 proceeds to step 33, starts the input/output request issuing means 13, and ends the process.

一方、入出力要求判別・制御手段12は、上記入出力要
求が診断中エリアに対するものであることをステップ3
4で判別すると、ステップ35に進み、入出力要求待ち
合せ手段15を起動して処理を終了する。
On the other hand, the input/output request determination/control means 12 determines in step 3 that the input/output request is for the area under diagnosis.
If the determination is made in step 4, the process proceeds to step 35, where the input/output request waiting means 15 is activated and the process is terminated.

これに対して、入出力要求判別・制御手段12は、上記
入出力要求が診断プログラム2からのものであることを
ステップ31で判別すると、ステップ36に進み、これ
が診断の終了要求であるか否かを判別する。入出力要求
判別・制御手段12は、この入出力要求が診断の終了要
求ではなく新たな診断の要求であれば、ステップ37に
進み、診断対象の入出力装置アドレスとこの入出力装置
内の診断エリア・アドレスとを二重化診断管理テーブル
14内に設定する。こののち、入出力要求判別・制御手
段12の処理は、ステップ33に進み、ここで入出力要
求発行手段13を起動したのち終了する。
On the other hand, when the input/output request determination/control means 12 determines in step 31 that the input/output request is from the diagnostic program 2, the process proceeds to step 36, and determines whether or not this is a request to terminate the diagnosis. Determine whether If this input/output request is not a request to end diagnosis but a request for a new diagnosis, the input/output request determination/control means 12 proceeds to step 37 and inputs the address of the input/output device to be diagnosed and the diagnosis in this input/output device. The area address is set in the duplex diagnosis management table 14. Thereafter, the process of the input/output request determining/controlling means 12 proceeds to step 33, where the input/output request issuing means 13 is activated, and then ends.

一方、入出力要求判別・制御手段12は、ステップ36
で判別した入出力要求が診断の終了要求であればステッ
プ38に進み、二重化診断管理テーブル14から該当の
エントリを削除したのち、ステップ39に進む。入出力
要求判別・制御手段12は、ステップ39において、診
断の終了に伴って二重化診断管理テーブル14から削除
されたエントリに関する再起動可能な待ち状態の入出力
要求の有無を判別し、これが存在すればステップ40に
進み、入出力要求再起動手段13を起動したのち処理を
終了する。一方、そのような再起動可能な一般のプログ
ラムからの入出力要求が存在しなければ、入出力要求判
別・制御手段12による判別・制御処理は直ちに終了す
る。
On the other hand, the input/output request determination/control means 12 performs step 36.
If the input/output request determined in step 3 is a diagnosis termination request, the process proceeds to step 38, in which the corresponding entry is deleted from the duplex diagnosis management table 14, and then the process proceeds to step 39. In step 39, the input/output request determination/control means 12 determines whether there is an input/output request in a restartable waiting state regarding the entry deleted from the duplex diagnosis management table 14 upon completion of the diagnosis, and determines whether or not this exists. Then, the process proceeds to step 40, where the input/output request restart means 13 is started, and then the process is ended. On the other hand, if there is no input/output request from such a restartable general program, the determination/control processing by the input/output request determination/control means 12 immediately ends.

第3図のステップ33で起動された入出力要求発行手段
13は、二重化共用入出力装置4に対し該当の入出力要
求を発行する。またステップ35で起動された入出力要
求待ち合せ手段16は、診断中エリアに対する一般のプ
ログラムからの入出力要求を診断の終了に対する待ち状
態に設定する。
The input/output request issuing means 13 activated in step 33 in FIG. 3 issues the corresponding input/output request to the duplex shared input/output device 4. Further, the input/output request waiting means 16 activated in step 35 sets input/output requests from general programs to the area under diagnosis to a waiting state for the end of the diagnosis.

また、ステップ40で起動された入出力要求再起動手段
16は、診断の終了したエリアに対する一般のプログラ
ムからの入出力要求に関し、その待ち状態を解除して入
出力要求発行手段13を起動する。
Further, the input/output request restarting means 16 activated in step 40 releases the waiting state and activates the input/output request issuing means 13 regarding the input/output request from the general program for the area where the diagnosis has been completed.

発明の効果 以上詳細に説明したように、本発明に係わる二重化共用
入出力装置の診断方式は、二重化診断管理テーブルへの
診断実行状況の登録とその参照によって診断プログラム
を優先させつつこれと一般の処理プログラムとの間の入
出力要求の競合を許容する構成であるから、診断エリア
や項目を限定することなくオンライン状態での診断が可
能となる。
Effects of the Invention As explained in detail above, the diagnosis method of the duplex shared input/output device according to the present invention prioritizes the diagnostic program by registering the diagnosis execution status in the duplex diagnosis management table and referring to it, while also distinguishing between the diagnosis program and the general one. Since the configuration allows competition of input/output requests with the processing program, online diagnosis is possible without limiting the diagnostic area or items.

この結果、業務処理に伴い入出力を実行する一般プログ
ラムに影響を与えることなく二重化共用装置の診断が可
能となり、電子計算機システムの動作のm続性と予防保
全に基づく信頼性の向上が同時に確保されるという効果
がある。
As a result, it is possible to diagnose redundant shared devices without affecting general programs that execute input/output during business processing, simultaneously ensuring continuity of computer system operation and improved reliability based on preventive maintenance. It has the effect of being

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

第1図は本発明の一実施例の方式概念図、第2図は第1
図の入出力制御装置3内の二重化診断管理テーブル14
の内容を例示する概念図、第3図は第1図の入出力制御
装置3内の入出力要求判別・制御手段12による判別・
制御処理の一例を説明するためのフローチャートである
。 1・・・一般のプログラム、2・・・二重化共用装置に
対する診断プログラム、3・・・入出力制御装置、4・
・・二重化共用入出力装置、11・・・入出力要求受付
は手段、12・・・入出力要求判別・制御手段、13・
・・入出力要求発行手段、14・・・二重化診断管理テ
ーブル、15・・・入出力要求待ち合せ手段、16・・
・人出力要求再起動手段。
Fig. 1 is a conceptual diagram of a system according to an embodiment of the present invention, and Fig. 2 is a system conceptual diagram of an embodiment of the present invention.
Duplex diagnosis management table 14 in the input/output control device 3 shown in the figure
FIG. 3 is a conceptual diagram illustrating the contents of FIG.
3 is a flowchart for explaining an example of control processing. DESCRIPTION OF SYMBOLS 1...General program, 2...Diagnosis program for duplex shared device, 3...I/O control device, 4...
... Duplex shared input/output device, 11... Means for receiving input/output requests, 12... Means for determining/controlling input/output requests, 13.
... I/O request issuing means, 14... Duplex diagnosis management table, 15... I/O request waiting means, 16...
・Human output request restart means.

Claims (1)

【特許請求の範囲】 二重化共用入出力装置と、診断プログラム及びこれ以外
の一般の処理プログラムから競合しつつ発せられる前記
二重化共用入出力装置に対する入出力要求を実行する入
出力制御装置とを備え、この入出力制御装置は、 前記入出力要求が診断プログラムからのものであれば入
出力対象のエリアを診断中エリアとして二重化診断管理
テーブルに登録したのち直ちにこの入出力要求を発行し
、前記入出力要求が一般プログラムからのものである場
合において前記診断中エリアに対するものでない時には
直ちにこの入出力要求を発行し、前記入出力要求が一般
プログラムからのものである場合において前記診断中エ
リアに対するものである時にはこの診断中エリアが診断
プログラムによって解放されのを待ってこの入出力要求
を発行する入出力要求判別・制御手段を備えたことを特
徴とする二重化共用入出力装置の診断方式。
[Scope of Claims] Comprising a duplex shared input/output device and an input/output control device that executes input/output requests to the duplex shared input/output device that are issued in competition from a diagnostic program and other general processing programs, If the input/output request is from a diagnostic program, this input/output control device registers the area to be input/output as the area under diagnosis in the redundant diagnosis management table, immediately issues this input/output request, and executes the input/output request. If the request is from a general program and it is not for the area under diagnosis, this input/output request is immediately issued, and when the input/output request is from a general program, it is for the area under diagnosis. A method for diagnosing a duplex shared input/output device, characterized by comprising an input/output request determination/control means that sometimes issues an input/output request after waiting for the area under diagnosis to be released by a diagnostic program.
JP62111392A 1987-05-07 1987-05-07 System for diagnosing duplex shared input/output device Pending JPS63276131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62111392A JPS63276131A (en) 1987-05-07 1987-05-07 System for diagnosing duplex shared input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62111392A JPS63276131A (en) 1987-05-07 1987-05-07 System for diagnosing duplex shared input/output device

Publications (1)

Publication Number Publication Date
JPS63276131A true JPS63276131A (en) 1988-11-14

Family

ID=14559999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62111392A Pending JPS63276131A (en) 1987-05-07 1987-05-07 System for diagnosing duplex shared input/output device

Country Status (1)

Country Link
JP (1) JPS63276131A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011068177A1 (en) * 2009-12-02 2011-06-09 日本電気株式会社 Redundant computation system and redundant computation method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011068177A1 (en) * 2009-12-02 2011-06-09 日本電気株式会社 Redundant computation system and redundant computation method
JPWO2011068177A1 (en) * 2009-12-02 2013-04-18 日本電気株式会社 Redundant calculation system and redundant calculation method
US8862934B2 (en) 2009-12-02 2014-10-14 Nec Corporation Redundant computing system and redundant computing method

Similar Documents

Publication Publication Date Title
CA1186415A (en) Data processing system common bus utilization detection logic
US4423508A (en) Logic tracing apparatus
EP0261335A2 (en) Test method and apparatus for a distributed processing system
JPH0574099B2 (en)
CN108689171A (en) A kind of control method, device, equipment and the medium of glass substrate transmission
JPS63276131A (en) System for diagnosing duplex shared input/output device
US6836840B2 (en) Slaves with identification and selection stages for group write
JPS62219134A (en) Input/output control system at time of diagnosing sharing device
JPS6072039A (en) Normal operation monitoring method of multi-task program
JPH04363733A (en) Abnormality discrimination system for shared database
JPH05143388A (en) Suspending system for parallel processing program
JPH07110026B2 (en) Multiple test diagnostic method
JPS59195751A (en) Diagnostic system of information processing device
JPS62143151A (en) Diagnosis system for common memory
JPH10340250A (en) Method and load device for evaluating bus conflict operation
JPS61250745A (en) Inspecting device for microprogram controller
JP2000122885A (en) Diagnostic system and recording medium
JPH0973435A (en) Test system for closely coupled multiprocessor system
JPH03105427A (en) Nonsimultaneous execution control system for program
JPS6063642A (en) Testing system of contention operation
JPH07170265A (en) Plural-node system
JPS6225340A (en) Inspection device
JPS5856021A (en) Terminal diagnostic system
JPS6136659B2 (en)
JPH02239338A (en) Module diagnostic system for micro program controller