JPS61196348A - Input output control device - Google Patents

Input output control device

Info

Publication number
JPS61196348A
JPS61196348A JP3797485A JP3797485A JPS61196348A JP S61196348 A JPS61196348 A JP S61196348A JP 3797485 A JP3797485 A JP 3797485A JP 3797485 A JP3797485 A JP 3797485A JP S61196348 A JPS61196348 A JP S61196348A
Authority
JP
Japan
Prior art keywords
output
input
path
counter
final status
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
JP3797485A
Other languages
Japanese (ja)
Other versions
JPH0574863B2 (en
Inventor
Hidehiko Tanaka
英彦 田中
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 JP3797485A priority Critical patent/JPS61196348A/en
Publication of JPS61196348A publication Critical patent/JPS61196348A/en
Publication of JPH0574863B2 publication Critical patent/JPH0574863B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer

Abstract

PURPOSE:To prevent that the path of long waiting time is timed out by priority- processing the interruption from the long path to wait for the final status report. CONSTITUTION:When an IOC (input output control device) receives input output instructions through respective paths 0-3, then, the numbers of paths 0-3 and the machine numbers of an IOD 3 (0) - 3 (n) are outputted from a MPX 8, successively written and stored to the address of a memory circuit 5 designated. The MPX 8 successively outputs the output from a usual writing counter 7 to the memory circuit 5 as a writing address, and when the IOC 1 receives an idling signal IDL which outputs during the next control processing action waiting in the idling condition, the output is read and changed over to a counter 6 side. Namely, during the period, the writing data on the address of the memory circuit 5 designated by the reading counter 6 are successively read. A control part 4 in the IOC 1 executes the interruption control for the final status report in accordance with the order read from the memory device 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、上位装置からパスを通じて発行された入出力
装置に対する入出力命令に対応する実行完了状態未報告
を、待ち時間の長いパスから優先処理する入出力制御装
置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention prioritizes unreported execution completion statuses corresponding to input/output commands issued from a host device through a path to an input/output device, starting from a path with a long waiting time. It relates to an input/output control device for processing.

情報処理システムの利用方法が高度化・複雑化するに伴
い、システム制御の処理効率・稼働効率がより厳しく追
求されるようになった。
As the usage of information processing systems has become more sophisticated and complex, the processing efficiency and operational efficiency of system control have become more demanding.

例えば、入出力装置(例えば、磁気テープ装置等の記憶
装置等)の制御を複数(例えば、4又は6装置)の中央
処理装置(以下CPUと称する)から制御するようなシ
ステム構成が実用化されているが、このようなシステム
構成の場合、システム制御がより高度化・複雑化するた
め、より厳しくシステム制御の処理効率・稼働効率が追
求されることになる。
For example, a system configuration in which input/output devices (e.g., storage devices such as magnetic tape devices) are controlled by multiple (e.g., 4 or 6) central processing units (hereinafter referred to as CPUs) has been put into practical use. However, in the case of such a system configuration, system control becomes more sophisticated and complex, and the processing efficiency and operating efficiency of system control are pursued more strictly.

一般に、入出力装置(以下IODと称する)は入出力制
御装置(以下10Cと称する)の配下に複数台接続され
ている。又、IOCにはCPUとの制御信号やデータの
遺り取りをするcpu対応のパスを有しており、100
に対する制御命令及び制御命令に対する命令完了報告(
最終スティタス報告とも言う)はこのパスを通じて行わ
れ。
Generally, a plurality of input/output devices (hereinafter referred to as IOD) are connected under an input/output control device (hereinafter referred to as 10C). In addition, the IOC has a CPU-compatible path for transferring control signals and data to and from the CPU.
Control commands for control commands and command completion reports for control commands (
The final status report (also known as the final status report) is conducted through this path.

又、複数のCPUからの命令は非同期に発行されるため
、この複数の命令をIOCが制御して100に実行させ
ることになる。例えば、複数の100に対する入出力命
令が複数のパスから発行されると、各TODは命令を受
けたパスを通じて実行命令完了報告、即ち最終スティタ
ス報告を行うが、このシステムをより効率的に運用処理
するためにはかかる最終スティタス報告を効率的に制御
することが必要となる。
Further, since instructions from a plurality of CPUs are issued asynchronously, the IOC controls the plurality of instructions and causes the 100 to execute them. For example, when input/output commands for multiple 100s are issued from multiple paths, each TOD reports execution command completion, that is, final status report, through the path that received the command. In order to do so, it is necessary to efficiently control such final status reporting.

〔従来の技術と発明が解決しようとする問題点〕第2図
は入出力制御システム図を示す。
[Prior art and problems to be solved by the invention] FIG. 2 shows a diagram of an input/output control system.

第2図に示すシステムはl0CI配下のTOD3 (0
)〜1003 (n)を4つのCPIJ2(0) 〜C
PIJ2(3)からのパスO〜バス3を通じて制御され
るものである。
The system shown in Figure 2 is TOD3 (0
)~1003 (n) to four CPIJ2(0)~C
It is controlled through path O to bus 3 from PIJ2(3).

例えば、パス0を通じてCPU2 (0)から1003
 (0)に対して入出力命令が発行されたとする。尚、
ここで言う入出力命令とは切離しコマンドを意味する。
For example, from CPU2 (0) to 1003 through path 0
Assume that an input/output command is issued for (0). still,
The input/output command here means a detachment command.

又、切離しコマンドとはl0D3 (0) 〜l0D3
 (n)からの割込みでl0C1が最終スティタスをパ
スθ〜バス3を通じて報告するようなコマンドであり、
例えばリワインド動作等がこのコマンドの対象となる。
Also, the disconnection command is l0D3 (0) ~l0D3
This is a command in which l0C1 reports the final status via path θ to bus 3 in response to an interrupt from (n).
For example, a rewind operation is a target of this command.

CPU2 (0)は入出力命令が発行されてから最終ス
ティタスが報告されるまでの時間をパスθ〜3単位にソ
フトウェアにより監視する。又、l0CIは他のパス1
〜3からも同様な入出力命令や書込み・読取り命令等を
受付け、その命令に応じた制御を行う。
The CPU 2 (0) uses software to monitor the time from when an input/output command is issued until the final status is reported in units of paths θ~3. Also, l0CI is the other path 1
It also accepts similar input/output commands, write/read commands, etc. from 3 to 3, and performs control according to the commands.

一方、CPU2 (0)〜CPII2 (3)から発行
される命令には緊急度により処理優先があり、例えば命
令が発行されると即時に処理するもの等各種の命令があ
り、入出力命令(切離しコマンド)に対する最終スティ
タス報告は下位の優先度に属するものである。
On the other hand, instructions issued from CPU2 (0) to CPII2 (3) have processing priority depending on the degree of urgency. For example, there are various instructions that are processed immediately after the instruction is issued, and The final status report for a command) belongs to a lower priority.

従って、例えばl0CI内の制御部4の制御により優先
度の高い他の命令を処理し、最終スティタス報告を行う
内に状況によってはタイムアウトとなり、最終スティタ
ス報告が出来なくなりl0CIで障害と認識されるもの
が発生する。
Therefore, for example, under the control of the control unit 4 in the l0CI, a timeout may occur depending on the situation while another command with a higher priority is processed and the final status report is performed, and the final status report cannot be made, which is recognized as a failure by the l0CI. occurs.

特に、最終スティタス報告は任意に処理されるために、
入出力命令(切離しコマンド)に対する最終スティタス
未報告の経過時間の長いパスO〜3が先に処理されると
は限らず、従って長い時間待たされているパス0〜3が
いつまでも待たされ、最終的にはタイムアウトとなり打
ち切られる可能性があると言う問題点がある。
In particular, since the final status report is processed on a voluntary basis,
Paths 0 to 3 with a long elapsed time for which the final status has not been reported for input/output commands (disconnection commands) are not necessarily processed first. has the problem that it may time out and be terminated.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記問題点を解消した新規な入出力制御装置
を実現することを目的とするものであり、該問題点は、
入出力装置に入出力命令を指示した時刻を記憶する記憶
手段を複数のパス毎に設け、該入出力命令に対する実行
完了状態未報告を有する該パス・間で前記記憶手段で記
憶している経過時刻長を比較し、記憶時刻長の長い順に
前記実行完了状態を割込み報告する本発明による入出力
制御装置により解決される。
The present invention aims to realize a new input/output control device that solves the above problems, and the problems are as follows.
A storage means for storing the time at which an input/output command was instructed in the input/output device is provided for each of the plurality of passes, and the progress is stored in the storage means between the passes where the execution completion status for the input/output command has not been reported. This problem is solved by the input/output control device according to the present invention, which compares time lengths and interrupts and reports the execution completion status in order of the longest stored time length.

〔作用〕[Effect]

即ち、各パスに対する入出力命令を指示した時刻を各バ
ス毎に記憶して置き、当該入出力命令に対する最終ステ
ィタス未報告を有するバス間で一番長く待たされている
パスより順次優先順位を付け、前記優先順位に基づき最
終スティタスを報告するように制御して、待ち時間の長
いパスがタイムアウトにかかることを防止するようにし
た。
That is, the time at which an input/output command was issued for each path is memorized for each bus, and priority is given to the path that has been kept waiting the longest among buses that have not yet reported the final status for the input/output command. The final status is controlled to be reported based on the priority order to prevent a path with a long waiting time from timing out.

〔実施例〕〔Example〕

以下本発明の要旨を第1図に示す実施例により具体的に
説明する。
The gist of the present invention will be specifically explained below with reference to an embodiment shown in FIG.

第1図は本発明に係る入出力制御装置の一実施例のブロ
ック図を示す。尚、全図を通じて同一符号は同一対象物
を示す。
FIG. 1 shows a block diagram of an embodiment of an input/output control device according to the present invention. Note that the same reference numerals indicate the same objects throughout the figures.

次に本実施例の動作を説明する。尚、本実施例は第2図
で示すような4つのパスO〜3を有するサブシステムを
構成しているものとする。
Next, the operation of this embodiment will be explained. In this embodiment, it is assumed that a subsystem having four paths O to 3 as shown in FIG. 2 is configured.

10CIが各パスO〜3を通じて入出力命令(切離しコ
マンド)を受けた時、その時のパスO〜3の番号と10
03(0) 〜3(n)の機番(例えば、#0〜#N)
とをマルチプレクサ8 (以下MPX8と称する)から
出力し、指定する記憶回路(RAM)  5のアドレス
へ順次書込み、記憶して行く。
When 10CI receives an input/output command (disconnection command) through each path O~3, the number of the path O~3 at that time and 10
Machine numbers from 03(0) to 3(n) (for example, #0 to #N)
are outputted from the multiplexer 8 (hereinafter referred to as MPX8), and sequentially written to and stored in designated addresses of the memory circuit (RAM) 5.

MPX8は通常書込みカウンタ7からの出力を記憶回路
5への書込みアドレスとして順次出力し、10C1がア
イドリング状態、即ち実際の制御処理をしてない状態で
、次の制御処理動作待ちの期間に出力するアイドル信号
IDLを受けると、その出力を読出しカウンタ6側に切
り換える。
The MPX8 normally outputs the output from the write counter 7 as a write address to the memory circuit 5 in sequence, and outputs the output while waiting for the next control processing operation when the 10C1 is in an idling state, that is, in a state where no actual control processing is being performed. When receiving the idle signal IDL, the output is switched to the read counter 6 side.

即ち、次の制御処理動作待ちの期間(この期間が最終ス
ティタス報告可能な期間となる)になると読出しカウン
タ6の指定する記憶回路5のアドレス上の書込みデータ
(パス0〜3の番号とl0D3(0)〜3(n)の機番
)を順次読出す。又、l0CI内の制御部4は記憶回路
(RAM)  5から読出された順位に従って最終ステ
ィタス報告のための割込み制御を行う。
That is, in the waiting period for the next control processing operation (this period becomes the period in which the final status can be reported), the write data (numbers of paths 0 to 3 and l0D3 ( 0) to 3(n) machine numbers) are read out sequentially. Further, the control section 4 in the l0CI performs interrupt control for final status report according to the order read out from the memory circuit (RAM) 5.

例えば、パスOの1003 (0)を最初に読出せば記
憶回路(RAM)  5の出力側のパス0を“l”、パ
ス1〜3の出力側を“0”とし、その時のパスθ〜3の
優先順位を指定すると共に、■OD機番を#0と読出す
ことにより1003 (0)からパス0を通じての最終
スティタス報告が最優先で処理され、又cpU2 (0
)もパス0から優先して最終スティタス報告割込みがあ
ることを認識する。
For example, if 1003 (0) of path O is read first, path 0 on the output side of memory circuit (RAM) 5 is set to "l", output sides of paths 1 to 3 are set to "0", and the path θ~ By specifying the priority of 3 and reading the OD machine number as #0, the final status report from 1003 (0) through path 0 is processed with the highest priority, and cpU2 (0
) also recognizes that there is a final status report interrupt, giving priority to path 0.

このように読出しカウンタ6で指定するアドレスの順序
が最終スティタス報告の優先順位となり、順次最終ステ
ィタス報告がなされ、書込みカウンタ7のカウンタ値と
続出しカウンタ6のカウンタ値とを比較回路9で比較し
て一致すれば、比較回路9から所定信号を制御部4に出
力し、最終スティタス報告を完了とする。
In this way, the order of the addresses specified by the read counter 6 becomes the priority order of the final status report, and the final status report is made in order, and the counter value of the write counter 7 and the counter value of the successive counter 6 are compared in the comparator circuit 9. If they match, the comparison circuit 9 outputs a predetermined signal to the control unit 4, and the final status report is completed.

又、比較回路9から出力された所定信号は書込みカウン
タ7と読出しカウンタ6とに送出され、それぞれのカウ
ンタ値をリセットする。
Further, the predetermined signal outputted from the comparison circuit 9 is sent to the write counter 7 and the read counter 6, and resets the respective counter values.

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

以上のような本発明によれば、最終スティタス報告待ち
の長いパスからの割込みを優先処理することにより、待
ち時間の長い最終スティタス未報告が中央処理装置のソ
フトウェアのタイムアウトにかかることを防止すること
が出来ると言う効果がある。
According to the present invention as described above, by prioritizing interrupts from paths that have been waiting for a final status report for a long time, it is possible to prevent the software of the central processing unit from timing out due to a long waiting time for not reporting the final status. It has the effect of being able to.

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

第1図は本発明に係る入出力制御装置の一実施例のブロ
ック図、 第2図は人出力制御システム図、 をそれぞれ示す。 図において、 lはIOC、2(0)〜2(3)はCPU 。 3(0)〜3(n)はroo、  4は制御部、5は記
憶回路、    6は読出しカウンタ、7は書込みカウ
ンタ、8はMPχ、 9は比較回路、 をそれぞれ示す。 第 j 図
FIG. 1 is a block diagram of an embodiment of an input/output control device according to the present invention, and FIG. 2 is a diagram of a human output control system. In the figure, l is IOC, and 2(0) to 2(3) are CPUs. 3(0) to 3(n) are roo, 4 is a control unit, 5 is a storage circuit, 6 is a read counter, 7 is a write counter, 8 is MPχ, and 9 is a comparison circuit, respectively. Figure j

Claims (1)

【特許請求の範囲】[Claims] 複数の上位装置からの信号の遺り取りを行う複数のパス
を有し、前記複数の上位装置からの命令を該パスを通じ
て受取り、接続されている複数の入出力装置を制御する
装置において、該入出力装置に入出力命令を指示した時
刻を記憶する記憶手段を前記複数のパス毎に設け、該入
出力命令に対する実行完了状態未報告を有する該パス間
で前記記憶手段で記憶している経過時刻長を比較し、記
憶時刻長の長い順に前記実行完了状態を割込み報告する
ことを特徴とする入出力制御装置。
A device that has a plurality of paths for receiving and receiving signals from a plurality of higher-level devices, receives commands from the plurality of higher-level devices through the paths, and controls a plurality of connected input/output devices. A storage means is provided for each of the plurality of passes to store the time at which an input/output command is instructed in the input/output device, and the history is stored in the storage means between the passes in which the execution completion status for the input/output command has not been reported. An input/output control device characterized in that time lengths are compared and the execution completion state is reported by interrupt in order of the longest stored time length.
JP3797485A 1985-02-27 1985-02-27 Input output control device Granted JPS61196348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3797485A JPS61196348A (en) 1985-02-27 1985-02-27 Input output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3797485A JPS61196348A (en) 1985-02-27 1985-02-27 Input output control device

Publications (2)

Publication Number Publication Date
JPS61196348A true JPS61196348A (en) 1986-08-30
JPH0574863B2 JPH0574863B2 (en) 1993-10-19

Family

ID=12512536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3797485A Granted JPS61196348A (en) 1985-02-27 1985-02-27 Input output control device

Country Status (1)

Country Link
JP (1) JPS61196348A (en)

Also Published As

Publication number Publication date
JPH0574863B2 (en) 1993-10-19

Similar Documents

Publication Publication Date Title
US5201053A (en) Dynamic polling of devices for nonsynchronous channel connection
JPS60112164A (en) Dynamically alterable interrupt preference circuit
JPS63113623A (en) Sector buffer control system
EP0446077B1 (en) A control system for multi-processor system
JPS62119626A (en) Multiplex control system for magnetic disc
US8151028B2 (en) Information processing apparatus and control method thereof
JPS61196348A (en) Input output control device
JP2626616B2 (en) Peripheral control device
JPS59142655A (en) Memory control system capable of simultaneous access
JPH0743687B2 (en) Data storage subsystem
JPH02291039A (en) Memory control system
EP1193606B1 (en) Apparatus and method for a host port interface unit in a digital signal processing unit
JPH0535507A (en) Central processing unit
JPS61288232A (en) Output instruction control system
JPH11212898A (en) Peripheral storage controller and its data transfer method
JPS6225359A (en) Processing request control system for information processing system
JPS63208960A (en) Peripheral controller
JPS61105660A (en) Interruption control method
JPS5920128B2 (en) input/output control device
JPS5931087B2 (en) Control method of terminal control device
JPS61202264A (en) Input and output controller
JPS622349B2 (en)
JPS59225429A (en) Channel processing unit
JPH0353361A (en) Io control system
JPH01140357A (en) Memory access controller