JPH01311348A - Channel interface circuit - Google Patents

Channel interface circuit

Info

Publication number
JPH01311348A
JPH01311348A JP63143339A JP14333988A JPH01311348A JP H01311348 A JPH01311348 A JP H01311348A JP 63143339 A JP63143339 A JP 63143339A JP 14333988 A JP14333988 A JP 14333988A JP H01311348 A JPH01311348 A JP H01311348A
Authority
JP
Japan
Prior art keywords
time
input
timeout
output bus
bus
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.)
Granted
Application number
JP63143339A
Other languages
Japanese (ja)
Other versions
JPH0754487B2 (en
Inventor
Nagayuki Ogawa
永志樹 小川
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63143339A priority Critical patent/JPH0754487B2/en
Publication of JPH01311348A publication Critical patent/JPH01311348A/en
Publication of JPH0754487B2 publication Critical patent/JPH0754487B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve a time-out monitoring function by providing the title device with a setting means for setting up timers to respective devices and setting up the time-out setting values of the timers. CONSTITUTION:A time base 14 interrupts a CPU 11 at a fixed interval and the CPU 11 counts u the number of times of interruption to control the passage of time, and when the count value coincides with the time-out set value, recognizes time-out. When an I/O bus I/OB is not used, the CPU 11 decides that the detected device generates a time-out and transmits time-out status to a host computer. When the I/OB is used, the CPU 11 detects a device occupying the I/OB at present and compares the device with a time-out detecting device. When both the devices coincide with each other, that the time-out detecting device generates the time-out while occupying the I/OB is decided, and at the time of discrepancy, said operation is returned without executing the time-out processing.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、チャネル・バスを介してホスト計算機に接続
し、入出力バスを介して複数のデバイスを接続するチャ
ネル・インターフェイス回路に関し、不具合を発生した
デバイスを正しく特定する機能を付加するものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a channel interface circuit that connects to a host computer via a channel bus and connects multiple devices via an input/output bus. This adds a function to correctly identify the device where the problem occurred.

〈従来の技術〉 複数ノコデバイスとホスト計算機とを接続するチャネル
・インターフェイス回路を用いたシステム構成を第5図
に表わす。
<Prior Art> FIG. 5 shows a system configuration using a channel interface circuit that connects a plurality of saw devices and a host computer.

このし1において、■はチャネル・インターフェイス回
路であり、チャネル・バスCBを介してホスト計′!′
L機2に接続され、入出力ハスI 、/ OBを介して
ディスク、テープ装置等のデバイス3】、32に接続さ
れ、ホスト計算機2とデバイス31゜32との間のコマ
ンド、データ授受に関与する。
In this 1, ■ is a channel interface circuit, and the host terminal '!'! is connected via the channel bus CB. ′
It is connected to L machine 2, and connected to devices 3 and 32 such as disks and tape devices via input/output bus I and OB, and is involved in exchanging commands and data between host computer 2 and devices 31 and 32. do.

ここで、入出力バス110BとしてS CS I(Sl
all  Co+aputer 5ysten+ In
terface)を用いることを想定している。
Here, as the input/output bus 110B, SCSI (Sl
all Co+aputer 5ysten+ In
It is assumed that the following is used.

通常、入出力バスl10Bに接続されたデバイス31.
32に不具合が発生することを考慮してそれぞれのデバ
イスに対応してタイマを設け、タイムアウトとなったデ
バイスを検出してその不具合を発見している。
Typically, devices 31. connected to input/output bus l10B.
In consideration of the occurrence of a malfunction in the 32, a timer is provided for each device, and the malfunction is discovered by detecting a device that has timed out.

このとき、動作速度の早いデバイス31については短い
タイムアウト値、動作速度の遅いデバイス32について
は長いタイムアウト値か設定される。
At this time, a short timeout value is set for the fast operating speed device 31, and a long timeout value is set for the slow operating speed device 32.

〈発明が解決しようとする課題〉 長いタイムアウト設定値か設定されているデバイス32
か、入:11カパス110Bを占有したまま不具合を発
生し、他のデバイス3】が入出力バス12/′OBにア
クセス不能となったような場合、デバイス32より先に
デバイス31からタイムアウト出力がなされることかあ
る。
<Problem to be solved by the invention> Device 32 that has a long timeout setting value
Or, if a problem occurs while occupying the input/output bus 110B and the other device 3 cannot access the input/output bus 12/'OB, the timeout output is sent from device 31 before device 32. There is something to be done.

このため、ホスト計′A:lfm2ではデバイス32か
不具合であるにもかかわらず、先にデバイス3】のタイ
ムアウトを検出し、不具合か発生したデバイスを誤認識
し、不具合要因の正しい解析が不可能となる問題かあっ
た。
For this reason, the host computer 'A:lfm2 detects the timeout of device 3 first even though device 32 is at fault, misrecognizes the device where the fault has occurred, and is unable to correctly analyze the cause of the fault. There was a problem.

本発明はこのような問題を解決するものであり、チャネ
ル・インターフェイス回路のタイムアウト監視機能を向
上させることを目的とする。
The present invention solves these problems and aims to improve the timeout monitoring function of the channel interface circuit.

く課題を解決するための手段〉 以上の問題を解決した本発明は、チャネル・バスを介し
てホスト言1算機に接続し、入出力バスを介して複数の
デバイスを接続するチャネル・インターフェイス回路に
おいて、各々のデバイスにタイマを設定するとともにそ
のタイムアウト設定値を設定する設定手段を設け、タイ
ムアウトを検出した際に当該タイマに対応するデバイス
と現在入出力バスを占有しているデバイスとを比較し、
入出力バスが使用されていない場合は当該デバイスかタ
イムアウトしたと判定し、一致した場合は当該デバイス
が前記入出力バスを占有した状態でタイムアウトしたと
判定し、−蚊しない場合は終了待ち処理を行う判定処理
手段を設けたことを特徴とするチャネル・インターフェ
イスl=I l?fjである。
Means for Solving the Problems> The present invention, which has solved the above problems, provides a channel interface circuit that connects to a host computer via a channel bus and connects multiple devices via an input/output bus. In this method, a timer is set for each device, and a setting means is provided to set the timeout setting value, and when a timeout is detected, the device corresponding to the timer is compared with the device currently occupying the input/output bus. ,
If the input/output bus is not in use, it is determined that the device has timed out, and if they match, it is determined that the device has timed out while occupying the input/output bus, and if there is no mosquitoes, wait for completion processing. A channel interface characterized in that it is provided with a determination processing means for performing l=I l? It is fj.

く作用〉 本発明のチャネル・インターフェイス回路は、タイムア
ウトしたデバイスを検出すると、このと、さに入出力バ
スを占有しているデバイスを検出し、入出力ハス占有デ
バイスかないときはこのデバイスをタイムアウトとじ、
入出力バス占有デバイスかタイムアウトしたデバイスと
一致した場合は当該デバイスをタイムアウトとじ、一致
しなかった場合は終了待ち処理を行う。
Function> When the channel interface circuit of the present invention detects a device that has timed out, it also detects a device occupying the input/output bus, and when there is no device occupying the input/output bus, it sets this device to timeout. ,
If it matches the input/output bus occupancy device or the device that has timed out, the device is timed out, and if it does not match, it waits for completion processing.

〈実施例〉 第1し1は本グト明を実線した本発明のチャネル・イン
ターフェイス回路回路の構成図である。
<Embodiment> Part 1 is a block diagram of a channel interface circuit according to the present invention, with the present invention shown in solid lines.

このし1において、11はこのチャネル・インターフェ
イス回路全体の動作を制御するC P LJ、12は入
出力バスl / Ot3のプロトコルを制御する入出力
バス制御部、13はチャネル・バスCBのプロトコルを
制御するチャネル・バス制御部、ABはアドレス・バス
、D Bはデータ・バス、CLは制御線である。14は
常時一定時間間隔でC,Pl、!2に′S11り込みを
かけるタイムベースである。
In this part 1, 11 is a C P LJ that controls the operation of the entire channel interface circuit, 12 is an input/output bus control unit that controls the protocol of the input/output bus l/Ot3, and 13 is a controller that controls the protocol of the channel bus CB. A channel bus control unit controls: AB is an address bus, DB is a data bus, and CL is a control line. 14 is always C, Pl, ! at fixed time intervals. It is a time base that multiplies 2 by 'S11 input.

第2図に本発明のチャネル・インターフェイス回路の動
作を表わすフローチャートを示す。
FIG. 2 shows a flowchart representing the operation of the channel interface circuit of the present invention.

また、本発明回路におけるタイムベース14からの割り
込み処理動作を第3図のフローチャートに表わす。
Further, the interrupt processing operation from the time base 14 in the circuit of the present invention is shown in the flowchart of FIG.

タイムベース14はCPUIIに一定間隔で割り込みを
かけ、CPLJIIはこの割り込み回数をカラン1−す
ることで時間経過を管理し、カウントfaかタイムアウ
ト設定値と一致した時にタイムアウトを認識する。CP
tJllは、接続されるデバイス毎に対応させてタイマ
番号O〜n、タイムアウト設定値、削り込み回数値(カ
ウント)をテーブル形式で設定する。
The time base 14 interrupts the CPU II at regular intervals, and the CPLJ II manages the passage of time by counting the number of interrupts, and recognizes a timeout when the count fa matches the timeout setting value. C.P.
In tJll, timer numbers O to n, timeout settings, and number of cuts (counts) are set in a table format for each connected device.

第2図に戻り、本発明回路の動作を説明する。Returning to FIG. 2, the operation of the circuit of the present invention will be explained.

はじめに、上位のホスト計算機2からデバイス・アクセ
ス要求かあると、その要求の受信処理を+tい、該当す
るデバイスの選択処理を杓う。
First, when a device access request is received from the upper host computer 2, the request is received and the corresponding device is selected.

この時点で各々のデバイスにタイマを割り付け、タイム
アウト設定値を設定する。
At this point, allocate a timer to each device and set the timeout settings.

次に、選択しなデバイスに対しコマンドを送信し、デー
タ転送処理後、このデバイスからスティタスを受信し、
このスティタスをホスト計算fi2へ送信して1つの処
理を終了する。この時点て夕イマをリセットする。
Next, send a command to the selected device, receive the status from this device after data transfer processing,
This status is sent to the host calculation fi2 and one process is completed. At this point, reset the evening time.

以」−の処理において、アクセス要求受信処理終了待ち
、コマンド送信処理終了待ち、データ転送処理終了待ち
、スティタス送信処理終了待ち状態でタイムアウト監視
を行う、タイムアウト監視はタイマのカウント値とタイ
ムアウト設定値とを比軸し、一致したときにタイムアウ
トとする処理である。
In the following process, timeout monitoring is performed while waiting for access request reception processing to be completed, command transmission processing to be completed, data transfer processing to be completed, and status transmission processing to be completed.Timeout monitoring is based on the timer count value and timeout setting value. This process calculates the ratio and times out when they match.

第4図にこのタイムアウト処理を表わす。FIG. 4 shows this timeout processing.

タイムアウトしたデバイスが発見された場合は、入出力
バスI / OHの使用状況をみる。
If a device that has timed out is found, check the usage status of the input/output bus I/OH.

(イ)入出力バスI / OESか使用されていなけれ
ば、発見したデバイスかタイム7゛ウドを発生したと判
断し、タイムアウト・スデイタスをホスト計算機へ送信
する。このときは、このタイマに対応するデバイスが入
出力バスl10Bをディスコネクト(バス開放)し、再
結合しなかった場合である。
(a) If the input/output bus I/OES is not in use, it is determined that the discovered device has generated a timeout signal, and a timeout status is sent to the host computer. In this case, the device corresponding to this timer disconnects (opens the bus) the input/output bus l10B and does not reconnect.

入出力バスl10Bが使用されている場合は、この入出
力バス110Bを現在占有しているデバイスを検出して
タイムアウト検出したデバイスと比較する。
If the input/output bus 110B is being used, the device currently occupying the input/output bus 110B is detected and compared with the device for which timeout has been detected.

(ロ)一致すれば、タイムアウト検出したデバイスか入
出力バスl10Bを占有したままでタイムアウトを発生
したと判断する。
(b) If they match, it is determined that the timeout occurred while the device that detected the timeout was still occupying the input/output bus l10B.

(ハ)一致しなかった場合、タイムアウト処理を行わず
リターンする。このときは現在入出力バス1 / Ot
3を占有しているデバイスの処理終了待ちとなる。そし
て、現在入出力バスを占有指定いるデバイスの処理終了
後、上記(イ)、(ロ)のいずれかの条件を検出する状
態となる。
(c) If there is no match, return without performing timeout processing. At this time, the current input/output bus 1/Ot
Waits for the device occupying 3 to finish processing. After the processing of the device currently designated to occupy the input/output bus is completed, a state is reached in which either of the conditions (a) and (b) above are detected.

このように、本発明は、タイムアウトしたデバイスか入
出力バスを占有しているかどうかをみてホスト計nAR
へタイムアウト・スデイタスを送信するようにしたので
、長いタイムアウト値を持つデバイスに不具合が発生し
、他デバイスにタイムアウトが先に発生したような場合
でも、長いタイムアウト値を持つ不具合発生のデバイス
を特定することができる。
In this manner, the present invention determines whether the device has timed out or is occupying the input/output bus and performs a
Since a timeout status is now sent to the device, even if a problem occurs on a device with a long timeout value and a timeout occurs on another device first, the device with the long timeout value can be identified. be able to.

〈発明の効果〉 以上述べたように、本発明によれば、複数のデバイスを
並行動作させるチャネル・インターフェイス回路におい
て不具合を発生したデバイスを特定することができ、不
具合要因の圧しい解析が可能となり、チャネル・インタ
ーフェイス回路の機能向上を実現できる。
<Effects of the Invention> As described above, according to the present invention, it is possible to identify a device in which a malfunction has occurred in a channel interface circuit that operates multiple devices in parallel, and it is possible to perform a thorough analysis of the cause of the malfunction. , the functionality of the channel interface circuit can be improved.

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

第1し]は本発明を実施したチャネル・インターフェイ
ス回路を表わす構成図、第2図は本発明回路の動作を表
わすフローチャート、第3し1は本発明回路内のC)’
Ullにおけるタイムベース14割り込み処理を表わす
図、第4図は本発明回路のタイムアウト処理を表わす図
、第5図はチャネル・インターフェイス回tnt用いた
システムの構成し1である。 ■・・・チャネル・インターフェイス回路、11・・・
CP LJ、     12・・・入出力バス制御部、
13・・・チャネル・バス制御部、 14・・・タイムベース、 AB・・・アドレス・バス
、CL・・・制御線、    D I−3・・・データ
・バス、2・・・ホスト計算機、  31.32・・・
デバイス、l10EI・・・人出力バス、CB・・・チ
ャネル・バス。 −〉 第5図
Fig. 1 is a block diagram showing a channel interface circuit implementing the present invention, Fig. 2 is a flowchart showing the operation of the circuit of the present invention, and Fig. 3 is a block diagram showing the operation of the circuit of the present invention.
FIG. 4 is a diagram showing the time-out processing of the circuit of the present invention, and FIG. 5 is a diagram showing the configuration 1 of a system using the channel interface circuit tnt. ■...Channel interface circuit, 11...
CP LJ, 12...I/O bus control unit,
13... Channel bus control unit, 14... Time base, AB... Address bus, CL... Control line, DI-3... Data bus, 2... Host computer, 31.32...
Device, l10EI...Person output bus, CB...Channel bus. −> Figure 5

Claims (1)

【特許請求の範囲】[Claims] (1)チャネル・バスを介してホスト計算機に接続し、
入出力バスを介して複数のデバイスを接続するチャネル
・インターフェイス回路において、各々のデバイスにタ
イマを設定するとともにそのタイムアウト設定値を設定
する設定手段を設け、タイムアウトを検出した際に当該
タイマに対応するデバイスと現在入出力バスを占有して
いるデバイスとを比較し、入出力バスが使用されていな
い場合は当該デバイスがタイムアウトしたと判定し、一
致した場合は当該デバイスが前記入出力バスを占有した
状態でタイムアウトしたと判定し、一致しない場合は終
了待ち処理を行う判定処理手段を設けたことを特徴とす
るチャネル・インターフェイス回路。
(1) Connect to the host computer via the channel bus,
In a channel interface circuit that connects multiple devices via an input/output bus, a setting means is provided to set a timer for each device and its timeout setting value, and to respond to the timer when a timeout is detected. Compare the device with the device currently occupying the input/output bus, and if the input/output bus is not in use, determine that the device has timed out, and if they match, the device has occupied the input/output bus. A channel interface circuit characterized in that it is provided with a determination processing means that determines that a timeout has occurred in a state and performs termination wait processing if they do not match.
JP63143339A 1988-06-10 1988-06-10 Channel interface circuit Expired - Lifetime JPH0754487B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63143339A JPH0754487B2 (en) 1988-06-10 1988-06-10 Channel interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63143339A JPH0754487B2 (en) 1988-06-10 1988-06-10 Channel interface circuit

Publications (2)

Publication Number Publication Date
JPH01311348A true JPH01311348A (en) 1989-12-15
JPH0754487B2 JPH0754487B2 (en) 1995-06-07

Family

ID=15336488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63143339A Expired - Lifetime JPH0754487B2 (en) 1988-06-10 1988-06-10 Channel interface circuit

Country Status (1)

Country Link
JP (1) JPH0754487B2 (en)

Also Published As

Publication number Publication date
JPH0754487B2 (en) 1995-06-07

Similar Documents

Publication Publication Date Title
JPH01311348A (en) Channel interface circuit
JP4160470B2 (en) I / O control device and I / O control method
JP4202812B2 (en) I / O control device and I / O control method
JPS6160038A (en) Transmission and reception control system of semi-duplex communication
JP2809164B2 (en) Two-way data communication system
JPS6220584B2 (en)
JPH08320842A (en) Data transfer control system
JPS61216066A (en) Information perocessing device
JPS5848549A (en) Polling response controlling system
JPH05113937A (en) Communication controller
JPS6024747A (en) Priority communication method
JPH01217659A (en) I/o interruption control system
JPH04301945A (en) High efficiency multicast system
JPS60149251A (en) Fault detector for terminal control processor of electronic exchange
JPS60118963A (en) Method and apparatus for selectively taking bus cycle in advance to adapt to higher preferential sequence transfer for direct memory access controller
JPS6245575B2 (en)
JPH02219158A (en) Scsi interface circuit
JPH01209835A (en) Multi-address response control system
JPS63194445A (en) Multipoint communication system
JP2002044183A (en) Communication control system and communication control method
JPS6260051A (en) Transfer control system
JPS60177748A (en) Circuit controlling system
JPS63286036A (en) Line controller
JPS59119439A (en) Buffer busy avoiding system
JPS59177639A (en) Communication control system