Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0574863B2 - - Google Patents
[go: Go Back, main page]

JPH0574863B2 - - Google Patents

Info

Publication number
JPH0574863B2
JPH0574863B2 JP3797485A JP3797485A JPH0574863B2 JP H0574863 B2 JPH0574863 B2 JP H0574863B2 JP 3797485 A JP3797485 A JP 3797485A JP 3797485 A JP3797485 A JP 3797485A JP H0574863 B2 JPH0574863 B2 JP H0574863B2
Authority
JP
Japan
Prior art keywords
input
output
path
paths
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.)
Expired - Lifetime
Application number
JP3797485A
Other languages
Japanese (ja)
Other versions
JPS61196348A (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 OR CALCULATING; 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

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 operating efficiency of system control have become more demanding.

例えば、入出力装置(例えば、磁気テープ装置
等の記憶装置等)の制御を複数(例えば、4又は
6装置)の中央処理装置(以下CPUと称する)
から制御するようなシステム構成が実用化されて
いるが、このようなシステム構成の場合、システ
ム制御がより高度化・複雑化するため、より厳し
くシステム制御の処理効率・稼働効率が追求され
ることになる。
For example, multiple (e.g., 4 or 6) central processing units (hereinafter referred to as CPUs) control input/output devices (e.g., storage devices such as magnetic tape devices).
System configurations in which control is performed from become.

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

又、複数のCPUからの命令は非同期に発行さ
れるため、この複数の命令をIOCが制御してIOD
に実行させることになる。例えば、複数のIODに
対する入出力命令が複数のパスから発行される
と、各IODは命令を受けたパスを通じて実行命令
完了報告、即ち最終ステイタス報告を行うが、こ
のシステムをより効率的に運用処理するためには
かかる最終ステイタス報告を効率的に制御するこ
とが必要となる。
Also, since instructions from multiple CPUs are issued asynchronously, the IOC controls these multiple instructions and
will be executed. For example, when input/output commands to multiple IODs are issued from multiple paths, each IOD reports the execution command completion, that is, the 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.

〔従来の技術と発明が解決しようとする問題点〕[Problems to be solved by conventional technology and invention]

第2図は入力出力制御システム図を示す。 FIG. 2 shows an input/output control system diagram.

第2図に示すシステムはIOC1配下のIOD3
(0)〜IOD3(n)を4つのCPU2(0)〜
CPU2(3)からのパス0〜パス3を通じて制
御されるものである。
The system shown in Figure 2 is IOD3 under IOC1.
(0)~IOD3(n) to 4 CPU2(0)~
It is controlled through paths 0 to 3 from the CPU 2 (3).

例えば、パス0を通じてCPU2(0)から
IOD3(0)に対して入出力命令が発行されたと
する。尚、ここで言う入出力命令とは切離しコマ
ンドを意味する。又、切離しコマンドとはIOD3
(0)〜IOD3(n)からの割込みでIOC1が最
終ステイタスをパス0〜パス3を通じて報告する
ようなコマンドであり、例えばリワインド動作等
がこのコマンドの対象となる。
For example, from CPU2 (0) through path 0
Assume that an input/output command is issued to IOD3(0). Note that the input/output command referred to here means a detachment command. Also, the detachment command is IOD3
This is a command in which the IOC1 reports the final status via paths 0 to 3 in response to an interrupt from (0) to IOD3(n), and for example, a rewind operation is the target of this command.

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

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

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

特に、最終ステイタス報告は任意に処理される
ために、入出力命令(切離しコマンド)に対する
最終ステイタス未報告の経過時間の長いパス0〜
3が先に処理されるとは限らず、従つて長い時間
待たされているパス0〜3がいつまでも待たさ
れ、最終的にはタイムアウトとなり打ち切られる
可能性があると言う問題点がある。
In particular, since the final status report is processed arbitrarily, the path 0 to
There is a problem in that paths 0 to 3, which have been kept waiting for a long time, are kept waiting forever and may eventually time out and be aborted.

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

本考案は、上記問題点を解消した新規な入出力
制御装置を実現することを目的とするものであ
り、該問題点は、入出力装置に入出力命令を指示
した場合に、当該入出力装置と該入出力命令を受
取つた該パスを示す情報を、該指示の時刻順に記
憶する記憶手段を設け、該入出力命令に対する実
行完了状態を報告する場合に、該記憶手段に記憶
している時刻順に前記実行完了状態を割込み報告
する本発明による入出力制御装置により解決され
る。
The purpose of the present invention is to realize a new input/output control device that solves the above-mentioned problems. and information indicating the path through which the input/output instruction was received, in the order of the time of the instruction, and when reporting the execution completion status for the input/output instruction, the time stored in the storage means is provided. The problem is solved by the input/output control device according to the present invention, which in turn reports the execution completion status with an interrupt.

〔作用〕 即ち、各パスに対する入出力命令を指示した時
刻順を各パス別に識別できるように、当該入出力
命令に対する最終ステイタス未報告を有するパス
間で一番長く待たされているパスより順次優先順
位を付け、前記優先順位に基づき最終ステイタス
を報告するように制御して、待ち時間の長いパス
がタイムアウトにかかることを防止するようにし
た。
[Operation] In other words, so that the time order in which input/output commands were instructed for each path can be identified for each path, priority is given to the path that has been waiting the longest among paths that have not yet reported the final status for the input/output command. By assigning a priority order and controlling the final status to be reported based on the priority order, paths with a long waiting time are prevented 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つのパス0〜3を有する
サブシステムを構成しているものとする。
Next, the operation of this embodiment will be explained. In this embodiment, it is assumed that a subsystem having four paths 0 to 3 as shown in FIG. 2 is configured.

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

MPX8は通常書込みカウンタ7からの出力を
記憶回路5への書込みアドレスとして順次出力
し、IOC1がアイドリング状態、即ち実際の制御
処理をしてない状態で、次の制御処理動作待ちの
期間に出力するアイドル信号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 it during the period when the IOC1 is in an idling state, that is, in a state not performing actual control processing, and is waiting for the next control processing operation. When receiving the idle signal IDL, the output is switched to the read counter 6 side.

即ち、次の制御処理動作待ちの期間(この期間
が最終ステイタス報告可能な期間となる)になる
と読出しカウンタ6の指定する記憶回路5のアド
レス上の書込みデータ(パス0〜3の番号とIOD
3(0)〜3(n)の機番)を順次読出す。又、
IOC1内の制御部4は記憶回路(RAM)5から
読出された順位に従つて最終ステイタス報告のた
めの割込み制御を行う。
That is, when the period of waiting 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 IOD
3(0) to 3(n)) are read out sequentially. or,
The control unit 4 in the IOC 1 performs interrupt control for final status reporting according to the order read from the memory circuit (RAM) 5.

例えば、パス0のIOD3(0)を最初に読出せ
ば記憶回路(RAM)5の出力側のパス0を
“1”、パス1〜3の出力側を“0”とし、その時
のパス0〜3の優先順位を指定すると共に、IOD
機番を#0と読出すことによりIOD3(0)から
パス0を通じての最終ステイタス報告が最優先で
処理され、又CPU2(0)もパス0から優先し
て最終ステイタス報告割込みがあることを認識す
る。
For example, if IOD3(0) of path 0 is read first, path 0 on the output side of the memory circuit (RAM) 5 will be set to "1", output sides of paths 1 to 3 will be set to "0", and then paths 0 to 3 will be set to "0". In addition to specifying the priority of 3, IOD
By reading the machine number as #0, the final status report from IOD3 (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. do.

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

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

〔発明の効果〕〔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 non-reporting of a final status with a long waiting time from causing the software of the central processing unit to time out. It has the effect of saying that it can be done.

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

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

Claims (1)

【特許請求の範囲】 1 複数の上位装置からの信号の遣り取りを行う
複数のパスを有し、前記複数の上位装置からの入
出力命令等を該パスを通じて受取り、接続されて
いる複数の入出力装置を制御し、該入出力装置の
該入出力命令に対する実行完了状態の報告を該上
位装置へ割込みによつて報告する装置において、 該入出力装置に該入出力命令を指示した場合
に、当該入出力装置と該入出力命令を受取つた該
パスを示す情報を、該指示の時刻順に記憶する記
憶手段を設け、 該入出力命令に対する実行完了状態を報告する
場合に、該記憶手段に記憶している時刻順に、前
記実行完了状態を割込み報告することを特徴とす
る入出力制御装置。
[Scope of Claims] 1. It has a plurality of paths for exchanging signals from a plurality of higher-level devices, receives input/output commands, etc. from the plurality of higher-level devices through the paths, and connects a plurality of connected input/output devices. In a device that controls a device and reports the execution completion status of the input/output instruction of the input/output device to the higher-level device by interrupt, when the input/output instruction is instructed to the input/output device, A storage means is provided for storing information indicating the input/output device and the path through which the input/output instruction was received in the time order of the instruction, and when reporting the execution completion state for the input/output instruction, the information is stored in the storage means. An input/output control device characterized in that the execution completion state is reported by interrupt in the order of time.
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 JPS61196348A (en) 1986-08-30
JPH0574863B2 true 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
JPS61196348A (en) 1986-08-30

Similar Documents

Publication Publication Date Title
US3725864A (en) Input/output control
US4901232A (en) I/O controller for controlling the sequencing of execution of I/O commands and for permitting modification of I/O controller operation by a host processor
US5201053A (en) Dynamic polling of devices for nonsynchronous channel connection
US3377619A (en) Data multiplexing system
JP3609444B2 (en) Data processing system
JPS60112164A (en) Dynamically alterable interrupt preference circuit
US5507032A (en) Multiprocessor I/O request control system forming device drive queue and processor interrupt queue from rows and cells of I/O request table and interrupt request table
JPH02230455A (en) Interruption control system for external memory device
JPS62119626A (en) Multiple control method for magnetic disks
JPH0574863B2 (en)
EP2096550B1 (en) Information processing apparatus and control method thereof
JP2525479B2 (en) Command exclusive control method
JP2755103B2 (en) Storage device access method
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
JPS5941214B2 (en) Condition monitoring method
JPH02291039A (en) Memory control system
JPS5920128B2 (en) input/output control device
JPH0743687B2 (en) Data storage subsystem
JPS6152749A (en) System monitoring method
JPH0535507A (en) Central processing unit
JPH01140357A (en) Memory access controller
JPH04165444A (en) Trouble information transfer system
JPS63193252A (en) Macrocommand processor
JPS6225359A (en) Processing request control system for information processing system
JPH0713922A (en) Data transmission system