JPH0496848A - Interface monitoring device - Google Patents

Interface monitoring device

Info

Publication number
JPH0496848A
JPH0496848A JP2215288A JP21528890A JPH0496848A JP H0496848 A JPH0496848 A JP H0496848A JP 2215288 A JP2215288 A JP 2215288A JP 21528890 A JP21528890 A JP 21528890A JP H0496848 A JPH0496848 A JP H0496848A
Authority
JP
Japan
Prior art keywords
input
output
response
response time
channel device
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
JP2215288A
Other languages
Japanese (ja)
Inventor
Chosaku Sato
佐藤 長作
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2215288A priority Critical patent/JPH0496848A/en
Publication of JPH0496848A publication Critical patent/JPH0496848A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely detect the service response due to the malfunction of input/ output devices by storing a first normal response time and comparing second and following response times with the normal response time. CONSTITUTION:The first response time from a specific input/output device 6 is stored in a monitoring circuit 3b after an information request signal is generated to the specific input/output device 6 from an operation circuit 3a in a channel device 3; and if second and following response times are shorter than the stored response time, abnormality is decided. Thus, abnormality is detected if the response time is shorter than the reference response time because of the malfunction of another input/output device 6, and the service response due to the malfunction of input/output devices is surely detected.

Description

【発明の詳細な説明】 [概要] 現装置に関し、 入出力装置の誤動作によるサーヒス応答を羅夫に検出す
ることを[i的とし、 CPU、  チャネル装置及び該チャネル装置と接続さ
れた複数の入出力装置とで構成され、かりチャイ、ル装
置と接続されるハスに入出力装置がいもづる式に接続さ
れたシステムにおいて、チャネル装置内にチャネル装置
か情報す求C1−号を出力してから、該゛11する入出
力装置か1)サービス応答信号か返ってくるまでの時間
を監視する監ン見回路を設け、該最初の応答時間を前記
監視回路に記憶させておき、2[1旧11以降の応答1
1if間か記↑、Qしている応答時間よりも短い場合に
はl/c′畠と判定するように構成する。
[Detailed Description of the Invention] [Summary] Regarding the current device, the present invention aims to detect a service response caused by a malfunction of an input/output device. In a system in which the input/output devices are connected in the same manner as the input/output devices are connected to the channel device, the channel device outputs the information request signal C1- into the channel device, and then 1) Provide a monitoring circuit that monitors the time until a service response signal is returned, and store the initial response time in the monitoring circuit. response 1
If the response time is shorter than the response time of 1if or Q, it is determined to be l/c'.

[産業上の利用分野コ 本発明は入出力装置の異′1;5を監視するインタフェ
ース監視装置に関する。
[Field of Industrial Application] The present invention relates to an interface monitoring device for monitoring differences in input/output devices.

CPU、 チャネル装置とハスを介していもづる式に入
出力装置か接続されたシステムがある。この種の装置で
は、バスに複数の入出力装置がいもづる式に接続されて
いるため、誤動作により複数の入出力装置かハス上で競
合することが起こりつる。バス上での競合が発生したら
、それ以降の動作は誤ったものとなる。従って、このよ
うなバス上での競合か起こったことを確実に検出できる
ことか必要となる。
There is a system in which the CPU, channel device, and input/output devices are connected via a lotus. In this type of device, a plurality of input/output devices are connected to the bus in a chain-like manner, so that malfunctions may cause the plurality of input/output devices to compete on the bus. If contention occurs on the bus, subsequent operations will be erroneous. Therefore, it is necessary to be able to reliably detect the occurrence of contention on the bus.

[従来の技術] 第3図は従来システムの構成概念図である。図において
、1はCPU、2は該CPUIと接続されたメモリ、3
はCPUIと接続されたチャネル装置(CH) 、4は
該チャネル装置3と接続されたバッファである。5はチ
ャネル装置3と接続されたバスである。6はバス5にい
もつる式に接続された複数の入出力装置(110)であ
る。。
[Prior Art] FIG. 3 is a conceptual diagram of the configuration of a conventional system. In the figure, 1 is a CPU, 2 is a memory connected to the CPU, and 3 is a CPU.
is a channel device (CH) connected to the CPUI, and 4 is a buffer connected to the channel device 3. 5 is a bus connected to the channel device 3; Reference numeral 6 denotes a plurality of input/output devices (110) connected to the bus 5 in a cascading manner. .

このように構成されたシステムにおいて、CPU]から
のデータ書込め命令(ライト命令)又はデータ読出し命
令(リード命令)はチャネル装置3を介してバスラ上に
出力される。バス5と接続された各入出力装置6はハス
上のアドレスから自己か指定されたことを確認すると、
データの書込み又はデータの読出しを行う。
In the system configured as described above, a data write command (write command) or a data read command (read command) from the CPU is outputted onto the bus controller via the channel device 3. After confirming that each input/output device 6 connected to the bus 5 is designated from the address on the lotus,
Write data or read data.

例えば、データの読出しの場合には、人Hi力装置6か
ら読出したデータはバス5を紅で、チャネル装置3のバ
ッファ4に−−EJI納される。そして、チャネル装置
3は、CPU1の空き時間を見つけて、バッファ4に格
納されているデータをCPU1のメモリ2に転送する。
For example, in the case of reading data, the data read from the human power device 6 is transferred to the bus 5 and stored in the buffer 4 of the channel device 3 --EJI. Then, the channel device 3 finds free time of the CPU 1 and transfers the data stored in the buffer 4 to the memory 2 of the CPU 1.

このようなデータのやりとりを行う前にチャネル装置3
と入出力装置6との間で第4図に不ずような情報のやり
とりか行イつれる。先ず、チャネル装置3から(a)に
示すようなハスビン−(BBSY)か出力される。その
後、(b)に示すようにアドレスバス(AB)上に11
0機番か確立される。その後、チャネル装置3は(C)
に示すような情報要求信号(SRVI)をハス5土に送
出する。
Before exchanging such data, channel device 3
Information is exchanged between the input/output device 6 and the input/output device 6 as shown in FIG. First, the channel device 3 outputs a Hasbin signal (BBSY) as shown in (a). Then, as shown in (b), 11
0 machine number is established. After that, the channel device 3 (C)
An information request signal (SRVI) as shown in is sent to the lotus 5 soil.

各入出力装置6は、ハス5上の内容を→ノ″−チlて自
己かセレクトされたことを知ると、(d)に示すように
サービス応答信号(SR■0)をハス5に送出する。そ
の前に、データバス(DB)上には(e)に示すように
ステータス情報が確立されていなければならない。
When each input/output device 6 learns that it has been selected by checking the contents on the lotus 5, it sends a service response signal (SR 0) to the lotus 5 as shown in (d). Before that, status information must be established on the data bus (DB) as shown in (e).

[発明が解決しようとする課題] 前述した従来の方式では、各入出力装置6か市常動イ1
している時には問題はないか、γ7し他の入出力装置6
か誤動作すると、チャネル、装置3は誤ったタイミング
で応答してしまう。第5図を用いて説明する。(c)に
示す情報要求信号5RVIが出力されてから、バス5上
に所定入出力装置6のステータス情報か確立されるまで
にはある程度の時間かかかる。従って、本来ならばハス
5上にステータス情報か確立された後、サービス応答信
号5RVOか出力される必要がある。従って、5RVI
か出力された後、5RVOが出力されるまでには、第4
図に示したように所定時間Tが必要である。ところか、
他の入出力装置6が誤動作すると、(d)に示すように
Tよりもはるかに短い期間T゛で5RVOか出力される
ことが起こり百る。5RVOか出力された時点では、(
e ’)に示すようにまたステータス情報は確立されて
いない。
[Problems to be Solved by the Invention] In the conventional method described above, each input/output device 6 or the city
Is there any problem when using γ7 and other input/output devices 6?
If the channel or device 3 malfunctions, it will respond at the wrong timing. This will be explained using FIG. It takes a certain amount of time after the information request signal 5RVI shown in (c) is output until the status information of the predetermined input/output device 6 is established on the bus 5. Therefore, originally, after the status information is established on the lotus 5, the service response signal 5RVO should be output. Therefore, 5RVI
After 5RVO is output, the 4th
As shown in the figure, a predetermined time T is required. However,
If another input/output device 6 malfunctions, it is likely that 5RVO will be output in a period T' that is much shorter than T, as shown in (d). When 5RVO is output, (
As shown in e'), status information is also not established.

従って、このタイミンクでチャネル装置3がハス5の内
容を見に行くと、おかしなことになる。
Therefore, if the channel device 3 goes to check the contents of the lotus 5 at this timing, something strange will happen.

本発明は二のような課題に鑑みてなされたちのであって
、入出力装置の誤動作によるザービス応答を確実に検出
することかできるインタフ、−ス監視装置を提供するこ
とを目的としている。
The present invention has been made in view of the second problem, and it is an object of the present invention to provide an interface monitoring device that can reliably detect service responses due to malfunctions of input/output devices.

[課題を解決するための丁段] 第1図は本発明の原理ブロック図である。第′3図と同
一のものは、同一の初号をイ・Iして・J(ず。図はC
PU1. チャネル装置−3及び該チャネル装置3と接
続された複数の入出力装置6とで構成され、かつチャネ
ル装置3と接続されるハス5に入出力装置6かいもづる
式に接続されたシステムである。
[Method for solving the problem] FIG. 1 is a block diagram of the principle of the present invention. For items that are the same as Figure '3, the same initial numbers are changed to A, I, and J.
PU1. This system is composed of a channel device 3 and a plurality of input/output devices 6 connected to the channel device 3, and the input/output devices 6 are connected in a threaded manner to a lotus 5 connected to the channel device 3.

2はCPU]と接続されたメモリ、4はチャネル装置3
と接続されたバッファである。3aはチャネル装置とし
ての通常動作を行う動作回路、3bはチャネル装置3か
情報要求信号5RVIを出力してから、該当する入出力
装置6からサービス応答信号5RVOか返ってくるまで
の時間を監視する監視回路である。
2 is a memory connected to the CPU], 4 is a channel device 3
is a buffer connected to 3a is an operating circuit that performs normal operation as a channel device, and 3b monitors the time from when the channel device 3 outputs the information request signal 5RVI until the service response signal 5RVO is returned from the corresponding input/output device 6. This is a monitoring circuit.

[作用] 入出力装置6からの最初の応答時間を前記監視回路3b
に記憶させておき、2回目以降の応答時間か記憶してい
る応答時間よりも短い場合には異常と判定するようにす
る。これにより、他の入出力装置6の誤動作により応答
時間が基準の応答時間よりも短い場合を異常として検出
てき、入出力装置の誤動作によるサービス応答を確実に
検出することかできる。
[Operation] The first response time from the input/output device 6 is monitored by the monitoring circuit 3b.
If the response time from the second time onward is shorter than the stored response time, it is determined that the response time is abnormal. As a result, a case where the response time is shorter than the reference response time due to malfunction of another input/output device 6 is detected as an abnormality, and a service response due to malfunction of the input/output device can be reliably detected.

[実施例] 以ド、図面を参〇αして本発明の実施例を詳細に説明す
る。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は本発明の一実施例を示す回路図で、監視回路3
bの構成を示している。図において、11はクロック、
5RVI及び5RVOを受ける4ビツトのバイナリカウ
ンタ、12は該カウンタ11の4ビツト出力をビット毎
に必要に応して反転したものを入力する複数(n−16
個)のアンドゲートである。カウンタ11は、5RVI
か人力されたらクロックのカウントを開始し、5RVO
が人力されたらカウントを中止するようになっている。
FIG. 2 is a circuit diagram showing one embodiment of the present invention, in which the monitoring circuit 3
This shows the configuration of b. In the figure, 11 is a clock;
A 4-bit binary counter 12 receives 5RVI and 5RVO, and 12 is a plurality of (n-16) inputs that invert the 4-bit output of the counter 11 as necessary for each bit.
) is an AND gate. Counter 11 is 5RVI
or when the clock is manually operated, start counting the clock and 5RVO.
Counting is stopped when the number is manually input.

該カウンタ1]としては、例えば5N74161か用い
られる。
As the counter 1, for example, 5N74161 is used.

アンドゲート12の数は、チャネル装置3と接続される
人出ツノ装置6の数と同しである。各入出力装置6の応
答時間Tか異なることに対応して、各入出力装置6毎に
その応答時間Tを設定するために、16個設けられてい
る。
The number of AND gates 12 is the same as the number of turnout devices 6 connected to the channel device 3. In response to the fact that the response time T of each input/output device 6 is different, 16 units are provided in order to set the response time T for each input/output device 6.

13は各アンドゲート12の出力をランチパルスでラッ
チするフリップフロップ(FF)、14はこれらフリッ
プフロップ13の出力を人力する時間情報記憶回路であ
る。コ5は5RVOの立ち上がりを微分してパルスを作
成するパルス出力回路で、その出力は前記ラッチパルス
としてフリップフロップ]3に与えられている。時間情
報記憶回路]4は、5RVIの立ち上がりから5RVO
の立ち上がりまでの時間(応答時間)を記憶するように
なっている。そして、1回[Iの応答時間と2回[−1
以降の応答時間を比較して比較結果に応した信号を出力
するようになっている。このように構成された回路の動
作を説明すれば、以下のとおりである。
13 is a flip-flop (FF) that latches the output of each AND gate 12 with a launch pulse, and 14 is a time information storage circuit that manually inputs the output of these flip-flops 13. 5 is a pulse output circuit that creates a pulse by differentiating the rising edge of 5RVO, and its output is given to the flip-flop 3 as the latch pulse. Time information storage circuit] 4 is 5RVO from the rising edge of 5RVI
The time until the rise (response time) is memorized. and once [response time of I and twice [-1
Subsequent response times are compared and a signal corresponding to the comparison result is output. The operation of the circuit configured as described above will be explained as follows.

チャネル装置3内の動作回路3aから特定の入出力装置
6に対して情報要求5RVIか発生ずると、カウンタ1
1はクロックのカウントを開始する。所定時間好適後に
、その入出力装置6からサービス応答信号5RVOが発
生すると、カウンタ1]のクロックカウントを停[Iす
る。カウンタ11のカウント動作か停止した時点で、そ
の出力か′1″になるアントケート12か必ず1つ存r
Iニする。これらアントゲート の立ち」−かりよりもわずかに遅れて発生するパルス出
力回路]5出力によりそれぞれのフリップフロップ13
にラッチされる。
When an information request 5RVI is generated from the operation circuit 3a in the channel device 3 to a specific input/output device 6, the counter 1
1 starts counting the clock. When the service response signal 5RVO is generated from the input/output device 6 after a suitable predetermined period of time, the clock count of the counter 1 is stopped. When the counting operation of the counter 11 stops, there is always one anchor 12 whose output becomes '1''.
I do it. 5 outputs of each flip-flop 13
is latched to.

各フリップフロップ13の出力は時間情報記憶回路14
に入る。該時間情報記憶回路]4は、SRVIか立ち上
がってからフリップフロップ]3の出力を受けるまでの
時1??J (応答”r 1347 )をカウントして
その期間Tを記憶しておく。ここで、最初の応答時間T
か記憶されたことになる。次に、2回[−1以降の応答
時間についても同様にして記tθされる。ここで、時間
情報記憶回路]4は、最初の期間Tと2回11以降の期
間T′とを比較する。T−T−であったら、[1的とす
る入出力装置6からのサービス応答であったと判定する
ことができる。
The output of each flip-flop 13 is the time information storage circuit 14.
to go into. The time information storage circuit [4] is 1? from when SRVI rises until it receives the output of the flip-flop [3]. ? J (response "r 1347)" and memorize the period T. Here, the first response time T
It will be remembered. Next, the response times after 2 times [-1 are also written tθ in the same manner. Here, the time information storage circuit]4 compares the first period T and the period T' from the second time 11 onward. If it is T-T-, it can be determined that it is a service response from the input/output device 6 that is [1].

ここで、?°,シT  <Tであったら、受信したSR
VOは誤動作している入出力装置6からのものであると
判断することができる。従って、この場合には動作回路
3a(第1図’= !T<! )は、監視回路3bから
の異常応答信号を受けて異常処理をイjう。
here,? °, If T < T, the received SR
It can be determined that the VO is from the malfunctioning input/output device 6. Therefore, in this case, the operation circuit 3a (Figure 1' = !T<!) receives the abnormality response signal from the monitoring circuit 3b and performs abnormality processing.

上述の実施例では、カウンタ11として4ビツトバイナ
リカウンタを用いたか、本発明はこれに限るものではな
く、入出力装置の数に応して任意のビット数のカウンタ
を用いることができる。また、時間情報記憶回路14に
全ての入出力装置の応答時間を記憶させるようにしてお
けば、どの入出力装置がアクセスされた場合でも、サー
ビス応答の正常性を判断することができるようになる。
In the above embodiment, a 4-bit binary counter is used as the counter 11, but the present invention is not limited to this, and a counter with an arbitrary number of bits can be used depending on the number of input/output devices. Furthermore, by storing the response times of all input/output devices in the time information storage circuit 14, it becomes possible to determine the normality of the service response regardless of which input/output device is accessed. .

[発明の効果] 以上、詳細に説明したように、本発明によれば第1回目
の正常応答時間を記憶しておき、2回目以降の応答時間
と正常応答時間を比較することにより、入出力装置の誤
動作によるサービス応答を確実に検出することができる
[Effects of the Invention] As described above in detail, according to the present invention, the first normal response time is memorized and the input/output is performed by comparing the second and subsequent response times with the normal response times. Service responses due to device malfunction can be reliably detected.

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

第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す回路図、第3図は従来
システムの構成概念図、 第4図は従来システムの動作を示すタイムチャド、 第5図は誤動作時のタイムチャートである。 第1図において、 1はCPU。 2はメモリ、 3はチャネル装置、 3aは動作回路、 3bは監視回路、 4はバッファ、 5はハス、 6は入出力装置である。 特許出願人   富 士 通 株
Fig. 1 is a principle block diagram of the present invention, Fig. 2 is a circuit diagram showing an embodiment of the present invention, Fig. 3 is a conceptual diagram of the configuration of a conventional system, and Fig. 4 is a time chart showing the operation of the conventional system. FIG. 5 is a time chart at the time of malfunction. In Figure 1, 1 is a CPU. 2 is a memory, 3 is a channel device, 3a is an operating circuit, 3b is a monitoring circuit, 4 is a buffer, 5 is a lotus, and 6 is an input/output device. Patent applicant Fujitsu Ltd.

Claims (1)

【特許請求の範囲】 CPU(1)、チャネル装置(3)及び該チャネル装置
(3)と接続された複数の入出力装置(6)とで構成さ
れ、かつチャネル装置(3)と接続されるバス(5)に
入出力装置(6)がいもづる式に接続されたシステムに
おいて、 チャネル装置(3)内にチャネル装置(3)が情報要求
信号を出力してから、該当する入出力装置(6)からサ
ービス応答信号が返ってくるまでの時間を監視する監視
回路(3b)を設け、該最初の応答時間を前記監視回路
(3b)に記憶させておき、2回目以降の応答時間が記
憶している応答時間よりも短い場合には異常と判定する
ように構成したことを特徴とするインタフェース監視装
置。
[Claims] Consisting of a CPU (1), a channel device (3), and a plurality of input/output devices (6) connected to the channel device (3), and connected to the channel device (3). In a system in which input/output devices (6) are connected to a bus (5) in a series, the channel device (3) outputs an information request signal into the channel device (3), and then the corresponding input/output device (6) A monitoring circuit (3b) is provided for monitoring the time from 1 to 3 until a service response signal is returned, the first response time is stored in the monitoring circuit (3b), and the second and subsequent response times are stored in the monitoring circuit (3b). 1. An interface monitoring device characterized in that the interface monitoring device is configured to determine that there is an abnormality if the response time is shorter than the specified response time.
JP2215288A 1990-08-14 1990-08-14 Interface monitoring device Pending JPH0496848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2215288A JPH0496848A (en) 1990-08-14 1990-08-14 Interface monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2215288A JPH0496848A (en) 1990-08-14 1990-08-14 Interface monitoring device

Publications (1)

Publication Number Publication Date
JPH0496848A true JPH0496848A (en) 1992-03-30

Family

ID=16669840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2215288A Pending JPH0496848A (en) 1990-08-14 1990-08-14 Interface monitoring device

Country Status (1)

Country Link
JP (1) JPH0496848A (en)

Similar Documents

Publication Publication Date Title
US3982111A (en) Memory diagnostic arrangement
US4084262A (en) Digital monitor having memory readout by the monitored system
GB1515163A (en) Computer interface system with fault detection
GB1119626A (en) Computer memory testing system
US7363565B2 (en) Method of testing apparatus having master logic unit and slave logic unit
US3824383A (en) Digital control apparatus
US3665393A (en) Correcting errors in transmitted binary data
US3046523A (en) Counter checking circuit
JPH0496848A (en) Interface monitoring device
KR100276504B1 (en) Failure-data storage system
US4926427A (en) Software error detection apparatus
US4305136A (en) Method of symptom compression
US4953167A (en) Data bus enable verification logic
JPS6126698B2 (en)
JP3303673B2 (en) Logic circuit test apparatus and logic circuit test method
US6236600B1 (en) Inhibiting memory data burn-in
KR0177749B1 (en) Testing method of counter having no-read port
JPS6022423Y2 (en) data transmission equipment
JPH04143690A (en) Radiation identification circuit and electronic circuit used for it
JPS6324503Y2 (en)
JP2003077300A (en) Test circuit and semiconductor memory using the same
JPH086870A (en) Data transfer device
JPH0234071B2 (en)
JPH0773698A (en) Multiport memory
JPS63278156A (en) Memory writing control circuit