JPH035862A - Input/output instruction processing system - Google Patents
Input/output instruction processing systemInfo
- Publication number
- JPH035862A JPH035862A JP13983889A JP13983889A JPH035862A JP H035862 A JPH035862 A JP H035862A JP 13983889 A JP13983889 A JP 13983889A JP 13983889 A JP13983889 A JP 13983889A JP H035862 A JPH035862 A JP H035862A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- execution
- command
- output command
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔目次〕
概要
産業上の利用分野
従来の技術
発明が解決しようとする課題
課題を解決するための手段
作用
実施例
発明の効果
〔概要〕
上位装置の送出する入出力命令で入出力装置にデータの
読出し/書込みを行わせる入出力制御装置が、入出力命
令を所定の時間内に実行出来ない時上位装置に報告する
入出力命令処理方式に関し、上位装置が予測出来ない時
刻に、長時間の入出力命令の実行待ちが発止した時、そ
の事象を上位装置側に通知することにより、上位装置側
が即時対応出来るようにすることを目的とし、上位装置
が送出する入出力命令に基づき、入出力装置にデータの
読出し又は書込みを行わせる入出力制御装置において、
入出力装置が所定の時間内に入出力命令を実行すること
が不可能な状態にあることを入出力装置からセットされ
て記憶する記憶手段と、記憶手段が記憶した状態を上位
装置に通知する通知手段と、通知手段の通知動作を許可
又は禁止するモード設定手段を設け、上位装置が入出力
命令を送出して来た時に、記憶手段の記憶内容が入出力
命令を所定時間内に実行することが不可能であることを
示し、モード設定手段が通知手段の通知動作を許可して
いる場合は、上位装置に入出力命令の実行待ちを通知し
、記憶手段の記憶内容が入出力命令を所定時間内に実行
することが不可能であることを示し、モード設定手段が
該通知手段の通知動作を禁止している場合は、入出力命
令を実行待ちの状態にする構成とする。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems Actions Embodiments Effects of the Invention [Summary] Input/output commands sent by the host device The I/O control device that causes the I/O device to read/write data reports to the higher-level device when the input-output command cannot be executed within a predetermined time. The purpose of this is to notify the host device of the event when a long I/O command has been waiting for execution, so that the host device can respond immediately. In an input/output control device that causes an input/output device to read or write data based on an output command,
Storage means for storing information set by the input/output device that the input/output device is in a state in which it is impossible to execute an input/output command within a predetermined time; and a storage means for notifying the host device of the state stored by the storage means. A notification means and a mode setting means for permitting or prohibiting the notification operation of the notification means are provided, and when a host device sends an input/output command, the storage contents of the storage means execute the input/output command within a predetermined time. If the mode setting means permits the notification operation of the notification means, the host device is notified that the execution of the input/output command is pending, and the storage contents of the storage means indicate that the input/output command is not executed. If it is indicated that the command cannot be executed within a predetermined time and the mode setting means prohibits the notification operation of the notification means, the input/output command is placed in a waiting state for execution.
本発明は上位装置が送出する入出力命令に基づき、入出
力装置にデータの読出し/書込みを行わせる入出力制御
装置に係り、特に該入出力命令を所定の時間内に実行す
ることが不可能な場合に、該上位装置に報告することを
可能とする入出力命令処理方式に関する。The present invention relates to an input/output control device that causes an input/output device to read/write data based on an input/output command sent by a host device, and particularly relates to an input/output control device that makes it impossible to execute the input/output command within a predetermined time. The present invention relates to an input/output command processing method that enables reporting to a higher-level device in such a case.
近年、計算機システムの高性能化と大容量化に伴い、磁
気ディスク装置を中心とした周辺補助記憶装置は、記憶
容量の拡大と小型化及び高性能化を求められている。こ
れらの要求を達成するために、記録媒体上での記録密度
を可能な限り高めるべく種々の技術が開発されている。In recent years, with the increase in performance and capacity of computer systems, peripheral auxiliary storage devices, mainly magnetic disk devices, are required to have increased storage capacity, smaller size, and higher performance. In order to meet these demands, various techniques have been developed to increase the recording density on recording media as much as possible.
例えば、磁気ディスク装置では、記録媒体面上のトラッ
ク密度を高めることにより、小径の記録媒体に出来るだ
け大容量のデータを記録することを可能とする改良が試
みられてきた。しかし、トランク密度を高めることによ
り、トラック間距離は微小となり、このことは、データ
の読出し及び言込みのために、データヘッドを目的トラ
ンクに位置付けさせるための位置決め機構に、−層の高
精度を要求するこ七になった。For example, attempts have been made to improve magnetic disk drives by increasing the track density on the surface of the recording medium, thereby making it possible to record as much data as possible on a small-diameter recording medium. However, by increasing the trunk density, the track-to-track distance becomes tiny, which requires a high degree of precision in the positioning mechanism for positioning the data head on the destination trunk for reading and writing data. Now I have to make a request.
一方、計算機システムにおける補助記憶装置には、常に
高信頬性が求められることは自明のことであり、信頼性
を低下させることなく、記録密度を高めることにより、
大容量化を図ることが要求されている。On the other hand, it is self-evident that high reliability is always required for auxiliary storage devices in computer systems, and by increasing the recording density without reducing reliability,
There is a demand for increasing capacity.
ところで、磁気ディスク装置のヘッド位置決め機構は、
その機構的構造のため、装置自身の発熱或いは周囲温度
の変化等による温度変動の影響を受は易く、位置決め精
度を低下させる最大の原因となっている。By the way, the head positioning mechanism of a magnetic disk device is
Because of its mechanical structure, it is easily affected by temperature fluctuations due to heat generation of the device itself or changes in ambient temperature, which is the biggest cause of deterioration in positioning accuracy.
この欠点を除去するための最も有効な手段として、各記
録媒体面上に、その記録媒体の物理的基準情報、即ち、
サーボ情報を記録しておき、装置自身が一定の時間間隔
で、そのサーボ情報を読出し、データヘッドと記録媒体
面上のサーボ情報を記録したトラックとの相対的位置の
変動を算出し、サーボヘッドが読取ったサーボ情報に基
づき作成されたヘッド位置決め機構を作動させる制御情
報を補正することが行われている。The most effective means to eliminate this drawback is to display physical reference information of the recording medium on each recording medium surface, that is,
Servo information is recorded, and the device itself reads the servo information at regular time intervals, calculates the relative positional fluctuation between the data head and the track on which the servo information is recorded on the recording medium surface, and reads the servo information from the servo head. The control information for operating the head positioning mechanism created based on the servo information read by the head positioning mechanism is corrected.
このヘッド位置決め機構の補正動作は、高トラツク密度
の磁気ディスク装置において、ヘッド位置決め精度を確
保するのに有効に作用するが、温度変動を十分に吸収す
るためには、成る程度の時間間隔で補正動作を実施する
必要がある。又、補正動作は装置の持つ各記録媒体面毎
に行う必要があり、−Mには士数面の記録媒体面を有す
るため、補正動作には比較的長い時間が必要である。This correction operation of the head positioning mechanism works effectively to ensure head positioning accuracy in high track density magnetic disk drives, but in order to sufficiently absorb temperature fluctuations, correction must be performed at reasonable time intervals. Actions need to be taken. Further, the correction operation must be performed for each recording medium surface of the apparatus, and since -M has a multilayer recording medium surface, the correction operation requires a relatively long time.
そして、電源投入時には、補正間隔を短くし、時間が経
過して温度上昇が緩やかになるに従って、この補正間隔
を長くするが、計算機システムがアクセスしようとする
磁気ディスク装置が、補正動作に入った時、計算機シス
テムから入出力命令が発行されると、この命令の実行が
待たされることとなる。上記の如く、この補正に要する
時間は長く、計算機システムが待てない場合があり、こ
の待てない場合の対策が必要である。When the power is turned on, the correction interval is shortened, and as time passes and the temperature rise becomes more gradual, the correction interval is lengthened. When an input/output instruction is issued from a computer system, the execution of this instruction is forced to wait. As mentioned above, the time required for this correction is long, and there are cases where the computer system cannot wait, and countermeasures are needed for cases where the computer system cannot wait.
一般に磁気ディスク装置は記録媒体のサーボ面に書込ま
れたサーボ情報をサーボヘンドが読取って、このサーボ
情報に基づき作成された制御情報により、ヘッド位置決
め機構が制御されて動作し、複数のデータヘッドを目的
とするシリンダに位置付けする。In general, in a magnetic disk drive, a servo hand reads servo information written on the servo surface of a recording medium, and the head positioning mechanism is controlled and operated by control information created based on this servo information, and multiple data heads are operated. Position it on the target cylinder.
そして、ヘッド位置決め機構の補正動作を行うように構
成された磁気ディスク装置では、記録媒体のデータを記
録する複数のデータ面に夫々複数のサーボ情報を記録し
たトラックを持ち、ヘッド位置決め機構を制御するプロ
セッサのプログラム中に、予め設定された時間間隅に従
って、該プロセッサがデータヘッドをデータ面のサーボ
情報を記録したトランクに位置付けさせて、各データヘ
ッドにサーボ情報を読取らせ、このサーボ情報から各デ
ータ面毎に、データヘッドが追従したサーボ情報を記録
したデータ面のトラックと、データヘッドとの相対位置
の変動量を算出して記憶している。A magnetic disk drive configured to perform a correction operation of a head positioning mechanism has tracks each recording a plurality of servo information on a plurality of data surfaces on which data is recorded on a recording medium, and controls the head positioning mechanism. During the programming of the processor, according to a preset time interval, the processor positions the data heads on the trunk that recorded the servo information of the data plane, causes each data head to read the servo information, and reads the servo information from the servo information. For each data surface, the amount of variation in the relative position between the data head and the track of the data surface in which servo information followed by the data head is recorded is calculated and stored.
そして、上位装置から指定されたデータヘッドを目的ト
ラックに位置付けした時、この記憶した相対位置の変動
量に基づき、ヘッド位置決め機構にオフセント信号を送
出することで、相対位置の変動量を打ち消して正確にデ
ータヘッドをロ的トラック上に位置付けさせている。Then, when the data head specified by the host device is positioned on the target track, an offset signal is sent to the head positioning mechanism based on the amount of variation in the relative position that has been stored, thereby canceling out the amount of variation in relative position and making it more accurate. The data head is positioned on the physical track.
従って、磁気ディスク装置が相対位置の変動量を算出し
て記憶する補正動作を実行している間は、上位装置から
発行された通常のデータ続出し及び書込み等を指示する
入出力命令を処理することが出来ない。Therefore, while the magnetic disk device is executing a correction operation that calculates and stores the amount of change in relative position, it processes input/output commands issued by the host device that instruct normal data retrieval and writing. I can't do that.
このため、従来は、磁気ディスク装置が補正動作を実行
している間に上位装置から送出された入出力命令は、磁
気ディスク制御装置内で、磁気ディスク装置の補正動作
が完了するまで実行待ちの状態となっている。For this reason, conventionally, input/output commands sent from a host device while a magnetic disk device is performing a correction operation are placed in a queue waiting for execution within the magnetic disk control device until the correction operation of the magnetic disk device is completed. It is in a state.
更に、この補正動作の実行が必要な時間的周期は、磁気
ディスク装置の機械的構造の特性に依存し、磁気ディス
ク装置の種類毎に固有であるため、補正動作は磁気ディ
スク装置自身が決めるタイミングで能動的に実施される
。Furthermore, the time period required to perform this correction operation depends on the characteristics of the mechanical structure of the magnetic disk drive and is unique to each type of magnetic disk drive, so the correction operation is performed at a timing determined by the magnetic disk drive itself. is actively implemented.
このため、当該磁気ディスク装置を使用している計算機
システムからは、補正動作のための入出力命令の実行待
ちが発生する時刻を予測することが出来ない。Therefore, a computer system using the magnetic disk device cannot predict the time when an input/output instruction for a correction operation will be placed in a waiting state.
上記の如く、従来は上位装置が予測できない時刻に、入
出力命令の実行待ちが発生するため、当該磁気ディスク
装置に対して入出力命令を送出した計算機システムでは
、その入出力命令が補正動作の実行時刻と重複した場合
、入出力命令の実行が所定の時間内で終了せず、比較的
長い時間遅延したように見えることになるヶ
一般に補正動作の周期は、数分又は数十分に一回程度の
頻度であり、入出力命令の実行遅延が計算機システムに
重大な影響を及ぼすことは無いと考えられる。又、入出
力命令が磁気ディスク制御装置内で実行待ちになっても
、その命令は磁気ディスク装置での補正動作が完了する
と直ちに実行されるので、計算機システムのシステム的
条件によっては、当該実行待ちの発注を意識しなくて良
いことが多い。As mentioned above, conventionally, an input/output instruction waits for execution at a time that the host device cannot predict. If the execution time overlaps with the execution time, the execution of the input/output command will not be completed within the predetermined time and will appear to be delayed for a relatively long time.Generally, the period of the correction operation is approximately every few minutes or tens of minutes. It is considered that the delay in execution of input/output instructions will not have a significant impact on the computer system. Furthermore, even if an input/output instruction is waiting for execution in the magnetic disk control unit, that instruction will be executed immediately after the correction operation in the magnetic disk unit is completed. In many cases, you don't have to be conscious of ordering.
しかし、オンライン端末等に対して一定の応答時間を保
証するために、個々の入出力命令の実行時間の遅延が許
容されないような計算機システムの場合、予測出来ない
時刻に入出力命令の実行待ちが発生することは、重大な
支障となって現れてくるという問題がある。However, in the case of computer systems that cannot tolerate delays in the execution time of individual input/output commands in order to guarantee a constant response time for online terminals, etc., input/output commands may be waiting for execution at unpredictable times. There is a problem in that what happens is a serious hindrance.
本発明はこのような問題点に鑑み、上位装置が予測出来
ない時刻に、長時間の入出力命令の実行待ちが入出力装
置側で発生した時、その事象を上位装置側に通知するこ
とにより、上位装置側が即時対応することが出来るよう
にすることを目的としている。In view of these problems, the present invention has been developed by notifying the host device of the event when the input/output device is waiting for execution of an input/output command for a long time at a time that the host device cannot predict. The purpose is to enable the host device to respond immediately.
第1図は本発明の詳細な説明するブロック図である。 FIG. 1 is a block diagram illustrating the invention in detail.
上位装置1は入出力制御装置2の上位インタフェース制
御回路5に入出力命令を送出し、入出力制御装置2を選
択すると共に、入出力装置3の選択を指示する。入出力
制御装置2を制御する制御回路4は上位インタフェース
制御回路5を経て上位装置1の指示を認識し、下位イン
タフェース制御回路7を経て入出力装置3を選択する。The host device 1 sends an input/output command to the host interface control circuit 5 of the input/output control device 2 to select the input/output control device 2 and instruct the selection of the input/output device 3. The control circuit 4 that controls the input/output control device 2 recognizes an instruction from the higher-level device 1 via the higher-level interface control circuit 5, and selects the input-output device 3 via the lower-level interface control circuit 7.
この選択が完了すると、上位装置1は、データの読出し
又は書込みを指示する入出力命令を送出する。この時制
御回路4は記憶手段10の内容を調べ、入出力装置3に
入出力命令を実行待ちにする状態が発生していなければ
、データの転送を開始させる。When this selection is completed, the host device 1 sends an input/output command instructing to read or write data. At this time, the control circuit 4 checks the contents of the storage means 10, and if the input/output device 3 does not have an input/output command waiting for execution, starts data transfer.
即ち、制御回路4は上位インタフェース制御回路5と下
位インタフェース制御回路7を制御して、データの書込
み時には、上位装置1が送出するデータを上位インタフ
ェース制御回路5を経てバックアメモリ6に格納させ、
バッファメモリ6から読出されたデータを、下位インタ
フェース制御回路7を経て入出力装置3に送出させ、上
位装置1が入出力命令で指定したアドレスに書込ませる
。That is, the control circuit 4 controls the upper interface control circuit 5 and the lower interface control circuit 7, and when writing data, stores the data sent by the upper device 1 in the backup memory 6 via the upper interface control circuit 5.
The data read from the buffer memory 6 is sent to the input/output device 3 via the lower interface control circuit 7, and written to the address specified by the upper device 1 with the input/output command.
又、データの読出し時には、入出力装置3の入出力命令
で指定されたアドレスから読出されたデータを、下位イ
ンタフェース制御回路7とバッファメモリ6と上位イン
タフェース制御回路5を経て、上位装置1に転送させる
。Furthermore, when reading data, the data read from the address specified by the input/output command of the input/output device 3 is transferred to the higher-level device 1 via the lower-level interface control circuit 7, buffer memory 6, and higher-level interface control circuit 5. let
入出力装置3で前記の如く、例えばヘッド位置決め機構
の補正動作を行うため、長時間入出力命令の処理を実行
することが出来なくなると、入出力装置3は下位インタ
フェース制御回路7に設けられた記憶手段10に、所定
の時間内に入出力命令を実行することが不可能な状態に
あることを示す例えばフラグをセットして記憶させる。As described above, when the input/output device 3 cannot process input/output commands for a long time because it performs a correction operation of the head positioning mechanism, for example, the input/output device 3 is installed in the lower interface control circuit 7. For example, a flag indicating that the input/output command cannot be executed within a predetermined time is set and stored in the storage means 10.
この時、上位装置1から入出力命令が送出されると、制
御回路4は入出力装置3を選択する際か、又は入出力装
置3の選択が完了して読出し/書込みの命令を受信した
時、この記憶手段10が記憶する内容を調べ、フラグが
記憶されていると、上位インタフェース制御I■回路5
に設けたモード設定手段9が通知動作を許可しているか
又は禁止しているか調べる。At this time, when an input/output command is sent from the host device 1, the control circuit 4 selects the input/output device 3, or when the selection of the input/output device 3 is completed and a read/write command is received. , the contents stored in this storage means 10 are checked, and if the flag is stored, the upper interface control I circuit 5
It is checked whether the mode setting means 9 provided in the device permits or prohibits the notification operation.
モード設定手段9が通知動作を許可している場に設けた
通知手段8を制御して、上位装置1に人出ツノ命令を実
行待ちにする状態が発生していることを通知する。又、
モード設定手段9が通知動作を禁止している場合は、制
御回路4は上位装置1に入出力命令の実行待ちの状態が
発生していることを通知せず、上位装置1が送出する続
出し又は書込み命令の実行を待ち、入出力装置3が補正
動作を完了して、記憶手段10のフラグを消去すると、
前記の如く、この読出し又は書込み命令を実行させる。The mode setting means 9 controls the notification means 8 provided in the place where the notification operation is permitted, and notifies the host device 1 that a state in which the turnout command is to be waited for execution has occurred. or,
When the mode setting means 9 prohibits the notification operation, the control circuit 4 does not notify the host device 1 that the input/output command is in a waiting state, and the host device 1 continues to send out Or, if the input/output device 3 completes the correction operation after waiting for execution of the write command and erases the flag in the storage means 10,
This read or write command is executed as described above.
上記の如く構成することにより、入出力装置3はヘッド
位置決め機構の補正動作を行うような場合、記憶手段1
0にフラグを設定するため、制御回路4はこのフラグの
設定の有無により、入出力装置3が入出力命令を直ちに
実行出来るか否かを知ることが出来る。そして、上位装
置1か又はオペレータがモード設定手段9に通知動作を
許可するか禁止するかのモードを設定しておくことで、
制御回路4に入出力命令の実行待らの状態であることを
通知手段8を用いて上位装置1に報告させるか、入出力
命令を実行待ちの状態にさせるかを指示することが出来
る。With the above configuration, when the input/output device 3 performs a correction operation of the head positioning mechanism, the storage means 1
Since the flag is set to 0, the control circuit 4 can know whether the input/output device 3 can immediately execute the input/output command based on whether or not this flag is set. Then, the host device 1 or the operator sets a mode in the mode setting means 9 to permit or prohibit the notification operation.
It is possible to instruct the control circuit 4 to report to the host device 1 that it is in a state of waiting for execution of an input/output command using the notification means 8, or to make the control circuit 4 to be in a state of waiting for execution of an input/output command.
従って、上位装置1が人出力制御装置2と入出力装置3
を二組以上接続し、二つの入出力装置3が同一データを
記憶している場合には、モード設定手段9に通知動作を
許可するモードを設定しておくことにより、上位装置1
は一つの入出力装置から入出力命令の実行待ち状態が報
告された時、直ちに他の入出力装置をアクセスすること
で、入出力処理の終了遅延を回避することが出来る。Therefore, the host device 1 is the human output control device 2 and the input/output device 3.
When two or more sets of input/output devices 3 are connected and the two input/output devices 3 store the same data, by setting the mode setting means 9 to a mode that permits notification operation, the host device 1
By accessing another input/output device immediately when one input/output device reports that an input/output command is waiting for execution, it is possible to avoid a delay in the completion of input/output processing.
第2図は本発明の一実施例を説明するブロック図で、第
3図は第2図の動作を説明するシーケンスである。FIG. 2 is a block diagram illustrating an embodiment of the present invention, and FIG. 3 is a sequence diagram illustrating the operation of FIG.
第2図において、第1図と同一符号は同一機能のものを
示す。上位装置1は人出力制御装置2と11を接続して
おり、入出力側′4111装置2は入出力装置3を、入
出力制御装置11は入出力装置12を接続している。そ
して、入出力装置3と12は同一データを記録しており
、入出力制御装置11は入出力制御装置2と同一機能で
ある。In FIG. 2, the same symbols as in FIG. 1 indicate the same functions. The host device 1 connects the human output control devices 2 and 11, the input/output side '4111 device 2 connects the input/output device 3, and the input/output control device 11 connects the input/output device 12. The input/output devices 3 and 12 record the same data, and the input/output control device 11 has the same function as the input/output control device 2.
上位装置1は入出力制御装置2に対し入出力命令を送出
し、第3図(a)のSELに示すシーケンスで、入出力
制御装置2と入出力装置3を選択する。The host device 1 sends an input/output command to the input/output control device 2, and selects the input/output control device 2 and the input/output device 3 in the sequence shown at SEL in FIG. 3(a).
入出力装置3が命令の実行待ち状態でなければ、この選
択が完了すると、続いて第3図(a)のCMDに示すシ
ーケンスで、上位装置Iから読出し又は書込み命令が送
出される。If the input/output device 3 is not in the instruction execution waiting state, when this selection is completed, a read or write instruction is subsequently sent from the host device I in the sequence shown in CMD in FIG. 3(a).
そして、第3図(a)のDATAに示すシーケンスで上
位装置lと入出力装置3との間でデータ転送が行われ、
入出力制御装置2から第3図(a)のSTSに示すシー
ケンスで上位装置1に命令実行結果が報告される。Then, data transfer is performed between the host device 1 and the input/output device 3 in the sequence indicated by DATA in FIG. 3(a),
The input/output control device 2 reports the command execution result to the host device 1 in the sequence shown in STS in FIG. 3(a).
若し、入出力装置3が入出力命令の実行待ち状態となっ
た時、前記のモード設定手段に通知動作を禁止するモー
ドを設定していた場合は、第3図(b)のWAITに示
す如く、CMDを送出した後長時間の処理待ちが発生し
、入出力装置3の命令実行待ち状態が解消すると、DA
TAに示すシーケンスでデータ転送が行われ、STSに
示すシーケンスで命令実行結果が報告される。If the input/output device 3 is in a state of waiting for execution of an input/output command, if a mode that prohibits the notification operation is set in the mode setting means, the WAIT shown in FIG. 3(b) As shown in the example, after sending CMD, a long processing wait occurs, and when the instruction execution waiting state of the input/output device 3 is resolved, the DA
Data transfer is performed in the sequence shown in TA, and instruction execution results are reported in the sequence shown in STS.
又、入出力装置3が入出力命令の実行待ち状態となった
時、前記のモード設定手段に通知動作を許可するモード
を設定していた場合は、人出力制御装置2は第3図(C
)のCMDに示すシーケンスで読出し又は書込み命令を
受信すると、STSに示すシーケンスで、入出力装置3
が入出力命令の実行待ち状態にあることを報告するか、
又は、第3図(d)のSTSに示すシーケンスで、入出
力装置3の選択が完了した後、直ちに入出力装置3が入
出力命令の実行待ち状態にあることを報告する。Furthermore, when the input/output device 3 enters a state of waiting for the execution of an input/output command, if a mode that permits the notification operation is set in the mode setting means, the human output control device 2 performs the process as shown in FIG. 3 (C
) When a read or write command is received in the sequence shown in CMD, the input/output device 3 is sent in the sequence shown in STS.
reports that it is waiting for an input/output instruction, or
Alternatively, in the sequence shown in STS in FIG. 3(d), immediately after the selection of the input/output device 3 is completed, it is reported that the input/output device 3 is in a state of waiting for execution of an input/output command.
上位装置1は入出力装置3が入出力命令の実行待ち状態
であることを通知されると、入出力制御装置11に入出
力命令を送出し、入出力装置12をアクセスする。When the host device 1 is notified that the input/output device 3 is waiting for execution of an input/output command, it sends the input/output command to the input/output control device 11 and accesses the input/output device 12 .
尚、第3図(C)の動作を行わせるか、第3図(d)の
動作を行わせるかは、上位装置1と入出力制御装置2及
び11との間の取り決めによるが、いずれにしても本発
明の効果に差異を生ずることはない。Note that whether the operation shown in FIG. 3(C) or the operation shown in FIG. 3(d) is performed depends on the agreement between the host device 1 and the input/output control devices 2 and 11. However, there will be no difference in the effects of the present invention.
第4図は第2図の入出力制御装置2及び11の詳細ブロ
ック図である。FIG. 4 is a detailed block diagram of the input/output control devices 2 and 11 of FIG. 2.
制御回路4は入出力制御装置内での命令処理等の動作全
体を制御し、一般にはプロセッサを用いたプログラム制
御の構造をとることが多い。The control circuit 4 controls the entire operation such as instruction processing within the input/output control device, and generally takes a program control structure using a processor.
入出力装置3は例えば磁気ディスク装置であり、プロセ
ッサによって制?Iffされ、前記の如く、ヘッド位置
決め機構の補正動作のように入出力命令の実行待ちが発
生する状態に移行すると、下位インタフェース制御回路
7に設けられた、例えばレジスタで構成されるフラグ設
定部19にフラグをセットする。The input/output device 3 is, for example, a magnetic disk device, and is controlled by a processor. Iff, and as described above, when the state shifts to a state where an input/output instruction is waited for execution, such as a correction operation of the head positioning mechanism, the flag setting section 19, which is provided in the lower interface control circuit 7 and which is composed of, for example, a register, Set the flag to .
そして、入出力命令の実行待ちが発生する状態が終了す
ると、フラグ設定部19にセットしたフラグをリセット
して消去する。Then, when the state in which the input/output instruction is waited for execution ends, the flag set in the flag setting section 19 is reset and erased.
上位装置から送出される入出力命令は、上位インタフェ
ース制御回路5のデータ転送制御手順を実行するプロト
コル制御部17に入り、命令受信部13によって抽出さ
れ、制御回路4に送出される。The input/output command sent from the host device enters the protocol control unit 17 that executes the data transfer control procedure of the host interface control circuit 5, is extracted by the command reception unit 13, and is sent to the control circuit 4.
制御回路4は入出力命令に含まれるアドレスにより、入
出力制御装置が選択されたことを認識すると、入出力命
令に含まれるアドレスにより、下位インタフェース制御
回路7のデータ転送部18とプロトコル制御部20を経
て入出力装置3を選択する。When the control circuit 4 recognizes that the input/output control device has been selected based on the address included in the input/output command, the control circuit 4 controls the data transfer unit 18 and the protocol control unit 20 of the lower-level interface control circuit 7 based on the address included in the input/output command. The input/output device 3 is selected through .
そして、フラグ設定部19にフラグがセントされている
か否かを調べ、フラグがセットされていなければ、入出
力装置3が直ちに入出力命令を実行出来る状態にあると
判定し、ステータス送信部14を経てプロトコル制御部
17から上位装置に選択完了を報告する。Then, it is checked whether a flag is set in the flag setting section 19, and if the flag is not set, it is determined that the input/output device 3 is in a state where it can immediately execute an input/output command, and the status transmitting section 14 is sent. After that, the protocol control unit 17 reports the selection completion to the higher-level device.
入出力装置3の選択完了により、上位装置から読出し又
は書込み命令が送出され、命令受信部13を経て制御回
路4に送出されると、制御回路4はデータ転送部15と
下位インタフェース制御回路7のデータ転送部18に指
示して、プロトコル制御部17とバッファメモリ6とプ
ロトコル制御部20を介して上位装置と入出力装置3の
間のデータ転送を行わせる。Upon completion of the selection of the input/output device 3, a read or write command is sent from the host device and sent to the control circuit 4 via the command receiving section 13. The data transfer unit 18 is instructed to transfer data between the host device and the input/output device 3 via the protocol control unit 17, buffer memory 6, and protocol control unit 20.
しかし、入出力命令を受信した時、フラグ設定部19に
フラグがセットされていると、制御回路4は入出力装置
3を選択するが、例えば、レジスタで構成されるモード
設定部16の設定内容を調べ、通知動作を許可している
と、ステータス送信部14を経てプロトコル制御部17
から、上位装置に、入出力命令が待ち状態となることを
通知する。However, when receiving an input/output command, if the flag is set in the flag setting section 19, the control circuit 4 selects the input/output device 3. If the notification operation is permitted, the protocol control unit 17 passes through the status transmission unit 14.
sends a notification to the host device that the input/output command is in a waiting state.
又、モード設定部16の設定内容が通知動作を禁止して
いる場合、制御回路4は命令受信部13に入力された読
出し又は書込み命令を実行待ちにして、フラグ設定部1
9のフラグが消去されるのを監視し、フラグが消去され
ると、実行待ち状態にしていた読出し又は書込み命令を
入出力装置3に送出する。Further, if the setting content of the mode setting unit 16 prohibits the notification operation, the control circuit 4 waits for execution of the read or write command input to the command receiving unit 13, and sends the flag setting unit 1 to the flag setting unit 1.
9 is cleared, and when the flag is cleared, the read or write command that has been waiting for execution is sent to the input/output device 3.
従って、前記同様、上位装置と入出力装置3の間でデー
タ転送が行われ、制御回路4はこの命令の実行結果をス
テータス送信部14を経て上位装置に報告させる。Therefore, as described above, data is transferred between the host device and the input/output device 3, and the control circuit 4 reports the execution result of this command to the host device via the status transmitter 14.
尚、モード設定部16は上位装置がプロトコル制御部1
7を経て通知動作の許可又は禁止をセット出来るように
しておくか、通知動作を許可する内容に固定しておき、
オペレータが短絡プラグ等で制御回路4のモード設定部
工6に対するアクセスを可能にした時、通知動作を許可
し、制御回路4のアクセスを阻止したら通知動作を禁止
するようにしても良い。Note that the mode setting unit 16 is configured when the host device is the protocol control unit 1.
Make it possible to set permission or prohibition of the notification operation through step 7, or fix the content to allow the notification operation,
When the operator enables access to the mode setting section 6 of the control circuit 4 using a short-circuit plug or the like, the notification operation may be permitted, and when access to the control circuit 4 is blocked, the notification operation may be prohibited.
以上説明した如く、本発明は入出力命令を発行する計算
機システムが、予期出来ない時点で入出力制御装置又は
入出力装置内で発生する命令の長時間に渡る実行待ちを
検知することが出来るため、別の入出力径路を使用する
ことが可能となり、人出ツノ処理応答時間を計算機シス
テムの期待値以内に保証することが出来る効果がある。As explained above, the present invention enables a computer system that issues input/output instructions to detect, at an unpredictable point in time, a long execution wait for an instruction occurring in an input/output control device or an input/output device. , it becomes possible to use another input/output path, and there is an effect that the turn processing response time can be guaranteed to be within the expected value of the computer system.
8は通知手段、 9はモード設定手段、10は記
憶手段、 13は命令受信部、14はステータス送
信部、
15、18はデータ転送部、
16はモード設定部、
17.20はプロトコル制御部、
19はフラグ設定部である。8 is a notification means, 9 is a mode setting means, 10 is a storage means, 13 is a command receiving section, 14 is a status transmitting section, 15 and 18 are data transfer sections, 16 is a mode setting section, 17.20 is a protocol control section, 19 is a flag setting section.
第1図は本発明の詳細な説明するブロック図、第2閃は
本発明の一実施例を説明するブロック図、第3図は第2
図の・動作を説明するシーケンス、第417Iは入出力
制御装置の詳細ブロック図である。
図において、
■は上位装置、 2,11は入出力制御装置、3.
12は入出力装置、 4は制御回路、5は上位インタ
フェース制御回路、
6はバッファメモリ、
7は下位インタフェース制御回路、Fig. 1 is a block diagram explaining the present invention in detail, Fig. 2 is a block diagram explaining an embodiment of the present invention, and Fig.
417I of the sequence explaining the operation in the figure is a detailed block diagram of the input/output control device. In the figure, ① is a host device, 2 and 11 are input/output control devices, and 3.
12 is an input/output device, 4 is a control circuit, 5 is an upper interface control circuit, 6 is a buffer memory, 7 is a lower interface control circuit,
Claims (1)
装置(3)にデータの読出し又は書込みを行わせる入出
力制御装置(2)において、 該入出力装置(3)が所定の時間内に該入出力命令を実
行することが不可能な状態にあることを、該入出力装置
(3)からセットされて記憶する記憶手段(10)と、 該記憶手段(10)が記憶した状態を上位装置(1)に
通知する通知手段(8)と、 該通知手段(8)の通知動作を許可又は禁止するモード
設定手段(9)とを設け、 前記上位装置(1)が入出力命令を送出して来た時に、
該記憶手段(10)の記憶内容が該入出力命令を所定時
間内に実行することが不可能であることを示し、該モー
ド設定手段(9)が該通知手段(8)の通知動作を許可
している場合は、該上位装置(1)に入出力命令が実行
待ちとなることを通知し、該記憶手段(10)の記憶内
容が該入出力命令を所定時間内に実行することが不可能
であることを示し、該モード設定手段(9)が該通知手
段(8)の通知動作を禁止している場合は、該入出力命
令を実行待ちの状態にすることを特徴とする入出力命令
処理方式。[Scope of Claims] In an input/output control device (2) that causes an input/output device (3) to read or write data based on an input/output command sent by a host device (1), the input/output device (3) ) is in a state in which it is impossible to execute the input/output command within a predetermined time. ) is provided, a notification means (8) for notifying the higher-level device (1) of the state stored by the higher-level device (1), and a mode setting means (9) for permitting or prohibiting the notification operation of the notifying means (8); ) sends an input/output command,
The storage contents of the storage means (10) indicate that it is impossible to execute the input/output command within a predetermined time, and the mode setting means (9) allows the notification operation of the notification means (8). If the input/output command is waiting for execution, the higher-level device (1) is notified that the input/output command is waiting for execution, and the storage contents of the storage means (10) indicate that the input/output command cannot be executed within a predetermined time. If the mode setting means (9) prohibits the notification operation of the notification means (8), the input/output command is placed in a waiting state for execution. Instruction processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13983889A JPH035862A (en) | 1989-06-01 | 1989-06-01 | Input/output instruction processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP13983889A JPH035862A (en) | 1989-06-01 | 1989-06-01 | Input/output instruction processing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH035862A true JPH035862A (en) | 1991-01-11 |
Family
ID=15254684
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP13983889A Pending JPH035862A (en) | 1989-06-01 | 1989-06-01 | Input/output instruction processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH035862A (en) |
-
1989
- 1989-06-01 JP JP13983889A patent/JPH035862A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100345632B1 (en) | A memory device and a method for controlling the same | |
| JP2009110287A (en) | Access control apparatus and access control method | |
| US8447927B2 (en) | Storage system, control device and storage device | |
| KR950004214B1 (en) | Nonsynchronous direct access memory control method and system therefor | |
| CA1119311A (en) | Das device command execution sequence | |
| JPH035862A (en) | Input/output instruction processing system | |
| US6745300B1 (en) | Magnetic disk device and disk access method therefor | |
| JP2006338345A5 (en) | ||
| JP2737555B2 (en) | Disk controller | |
| JPH03290873A (en) | Disk type storage device, controller of disk type storage device, and control method for disk type storage device | |
| JPH04119441A (en) | Disk cache control system | |
| JP4499909B2 (en) | Multiplexed storage controller | |
| JP4131888B2 (en) | Disk array device | |
| JP2817722B2 (en) | Head positioning control device for magnetic disk | |
| JPH0254584B2 (en) | ||
| JPH0578109B2 (en) | ||
| JPH0329171A (en) | Device and method for controlling disk | |
| JPS6113259B2 (en) | ||
| JPH05189346A (en) | Disk controller | |
| JP2024128680A (en) | Manufacturing pallet control system and manufacturing pallet control method | |
| JPH0122656B2 (en) | ||
| JP2634025B2 (en) | Format write control method for magnetic disk controller | |
| JPS6269342A (en) | Semiconductor disk device | |
| JP2864751B2 (en) | Nonvolatile memory management method for disk controller | |
| JPS58127260A (en) | Disk cache controller |