JPS59161717A - Priority decision system - Google Patents
Priority decision systemInfo
- Publication number
- JPS59161717A JPS59161717A JP58035309A JP3530983A JPS59161717A JP S59161717 A JPS59161717 A JP S59161717A JP 58035309 A JP58035309 A JP 58035309A JP 3530983 A JP3530983 A JP 3530983A JP S59161717 A JPS59161717 A JP S59161717A
- Authority
- JP
- Japan
- Prior art keywords
- input
- external storage
- instruction
- output
- magnetic tape
- 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
Landscapes
- Bus Control (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
(a)発明の技術分野
本発明は電子計算機処理システムに接続されて制御され
、複種類の外部記憶装置を接続して制御する外部記憶制
御装置に係り、特に複数の電子計算機処理システムから
制御される場合の、該各外部記憶装置毎に与えられる入
出力命令に対する制御の優先順位決定方式に関する。Detailed Description of the Invention (a) Technical Field of the Invention The present invention relates to an external storage control device that is connected to and controlled by a computer processing system and that connects and controls multiple types of external storage devices, and particularly relates to The present invention relates to a priority determination method for controlling input/output commands given to each external storage device when controlled by an electronic computer processing system.
(b)従来技術と問題点
磁気ディスク装置と磁気テープ装置等で構成される複数
の外部記憶装置を一つの外部記憶制御装置で制御し、且
つ上位装置より磁気ディスク装置及び磁気テープ装置に
対しランダムに入出力命令が与えられる場合、該入出力
命令の中には被制御装置である磁気テープ装置や磁気デ
ィスク装置のみで実行可能な命令がある。例えば磁気デ
ィスク装置に対し1.シークヘッド、セントセクタ、+
−チiD、リードという命令が連鎖されて指示された時
リシークヘッ1へセントセクタ等の命令は磁気ディスク
装置単独で実行が可能である。この様な命令を磁気ディ
スク装置が実行中は、外部記憶制御装置が他の外部記憶
装置に対する入出力命令を実行することが可能である。(b) Prior art and problems Multiple external storage devices consisting of magnetic disk devices, magnetic tape devices, etc. are controlled by one external storage control device, and a host device randomly controls the magnetic disk devices and magnetic tape devices. When an input/output command is given to a device, some of the input/output commands can be executed only by the controlled device, such as a magnetic tape device or a magnetic disk device. For example, 1. seek head, cent sector, +
- When the commands ``chiiD'' and ``read'' are chained and instructed, commands such as ``reseek head 1'' and ``sent sector'' can be executed by the magnetic disk device alone. While the magnetic disk device is executing such an instruction, the external storage control device can execute input/output instructions to other external storage devices.
従ってこの時磁気テープ装置に対する入出力命令を実行
したとすると5磁気テープ装置の該命令実行時間は長(
、特に長いインターブロックギャップが有ったりすると
非雷に時間がかかる。この間に磁気ディスク装置が前記
命令の実行を完了し、外部記憶制御装置に終了報告を行
って上位装装置と再結合を行い、目的とするザーチiD
、リード命令を実行しようとするが、外部記憶制御装置
が磁気テープ装置の制御の為、該終了報告を検出するタ
イミングが悪いと、磁気ディスク装置の上位装置との再
結合が適切なタイミングで行えず、ディスクの回転待ち
を行うこととなる。何回もこのような回転待ちを発生さ
せるとソフトウェアのタイムアウトで最悪システムダウ
ンとなる。Therefore, if an input/output command is executed for the magnetic tape device at this time, the execution time of the instruction for the 5 magnetic tape device will be long (
, especially when there is a long interblock gap, it takes time to detect lightning. During this time, the magnetic disk device completes the execution of the above command, reports the completion to the external storage control device, reconnects with the host device, and stores the target Zarch iD.
, an attempt is made to execute a read command, but since the external storage control device controls the magnetic tape device, if the timing of detecting the completion report is inappropriate, the magnetic disk device may not be able to reconnect with the host device at the appropriate time. First, it waits for the disk to rotate. If such a rotation wait occurs many times, the software will time out and the system will go down in the worst case.
上記の状態になることを避ける為、従来はソフトウェア
により磁気ディスク装置に対する要求が無くなってから
、磁気テープ装置に対する入出力命令の実行を行ってい
た。しかし複数の電子計算機処理システムにより共用さ
れる外部記憶制御装置の場合にはソフトウェアによる制
御が他系統の電子計算機処理システムに対して行えない
という欠点がある。In order to avoid the above situation, conventionally, software has been used to execute input/output commands to the magnetic tape device after the request to the magnetic disk device has ceased. However, in the case of an external storage control device that is shared by a plurality of computer processing systems, there is a drawback that software control cannot be performed on the computer processing systems of other systems.
(C)発明の目的
本発明の目的は上記欠点を除く為、入出力命令の実行時
間が短く、処理を待た−されるとタイムアウトとなる危
険があ為磁気ディスク装置と入出力命令の実行時間が長
い磁気テープ装置との間に優先順位を付加し、複数の電
子計算機処理システムにより共用される外部記憶制御装
置の外部記憶装置に対する共通制御を可能とする優先順
位決定方式を提供することにある。(C) Purpose of the Invention The purpose of the present invention is to eliminate the above-mentioned drawbacks, and to solve the problem of the short execution time of input/output commands, which increases the risk of time-out if processing is left waiting. The object of the present invention is to provide a priority determination method that adds priority to a long magnetic tape device and enables common control of an external storage control device shared by a plurality of computer processing systems. .
(d)発明の構成
本発明の構成は電子計算機処理システムに接続され、接
種類の外部記憶装置を接続して制御する機能を有する外
部記憶制御装置に於て、接続する該各外部記憶装置毎に
入出力命令を実行中であることを記憶する手段を設け、
接種類の該外部記憶装置の内憂先順位の低い外部記憶装
置が上位装置より選択された場合、該外部記憶制御装置
が入出力命令を実行可能の状態であっても、該記憶手段
に優先度の高い外部記憶装置が入出力命令実行中の記録
がある時は制御装置使用中の報告を上位装置に返し、優
先順位の高い外部記憶装置の入出力命令の実行を優先す
る様にしたものである。(d) Structure of the Invention The structure of the present invention is that in an external storage control device that is connected to a computer processing system and has a function of connecting and controlling external storage devices of a type, each of the connected external storage devices Provide a means for remembering that an input/output command is being executed,
If an external storage device with a lower priority among the external storage devices of the access type is selected by the host device, even if the external storage control device is in a state in which input/output commands can be executed, the storage means is given priority. When there is a record that an external storage device with a high priority is executing an input/output command, a report indicating that the control unit is in use is returned to the host device, giving priority to the execution of the input/output command of the external storage device with a high priority. be.
(e)発明の実施例
本発明は上記目的を達成する為、外部記憶制御装置で磁
気ディスク装置と磁気テープ装置に対し。(e) Embodiments of the Invention In order to achieve the above object, the present invention provides an external storage control device for a magnetic disk device and a magnetic tape device.
夫々入出力命令受付を記憶するレジスタを設け。A register is provided to store input/output command reception.
磁気ディスク装置に対し、複数の命令が連鎖して指示さ
れた時、該レジスタに入出力命令実行中であることを記
憶させ、一連の入出力命令が終了した時に該記憶を消去
する様にして、一連の命令実行途中に外部記f、e ?
liη御装置が一時的にフリーとなった時、磁気テープ
装置に対する入出力命令が有っても制御装置使用中の報
告を返し、該磁気テープ装置に対する該入出力命令を待
たせる様にしたものである。When a plurality of commands are instructed to the magnetic disk device in a chain, the register records that the input/output command is being executed, and the memory is erased when the series of input/output commands is completed. , during the execution of a series of instructions, external memory f, e?
liη When the control device becomes temporarily free, even if there is an input/output command to the magnetic tape device, a report indicating that the control device is in use is returned, and the input/output command to the magnetic tape device is made to wait. It is.
第1図は本発明の適用されるシステムの構成例を示す。FIG. 1 shows an example of the configuration of a system to which the present invention is applied.
又第2図は本発明の一実施例を示す回路のブロック図で
ある。電子計算機処理システム1゜2はチャネルを経て
外部記憶制御装置3のインクフェースと接続され、該外
部記憶装置装N3を経て磁気ディスク装置4及び磁気テ
ープ装置5とデータの転送を行う。本発明は該外部記憶
制御装置3に於ける制御の優先順位決定方式に関するも
ので、第2図は外部記憶制御装置3内の回路の概要を示
す。FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention. The computer processing system 1.2 is connected to the ink face of the external storage control device 3 via a channel, and data is transferred to the magnetic disk device 4 and the magnetic tape device 5 via the external storage device N3. The present invention relates to a control priority determination system in the external storage control device 3, and FIG. 2 shows an outline of a circuit within the external storage control device 3.
インタフェースを経て端子Aよりレジスタ6に上位装置
のチャネルから制御信号が入る。該制御信号はマルチプ
レクサ12を経てマイクロプロセッサ13に入り、解読
される。マイクロプロセッサ13から上位装置に送出さ
れる制御信号はレジスタ7を経て端子Bより送出される
。端子Cよりレジスタ8を経て命令を実行する装置の機
番、命令及び媒体上に書かれるデー多が入り、マルチプ
レクサ12を経てマイクロプロセッサ13に、マルチプ
レクサ11を経てバッファ15に入る。マイクロプロセ
ッサ13はレジスタ6を経て選択信号を、レジスタ8を
経て装置の機番及び命令を検出すると、該内容を解読し
て外部記憶装置を選択し、入出力命令を、実行する。こ
の時該人出カ命令が実行可能ならばレジスタ14の被制
御装置に対応するビットをオンとする。レジスタ14は
入出力命令を実行中であることを記憶する手段であり。A control signal is input from the channel of the host device to the register 6 through the interface. The control signal enters the microprocessor 13 via multiplexer 12 and is decoded. A control signal sent from the microprocessor 13 to the host device is sent from the terminal B via the register 7. The machine number of the device that executes the instruction, the instruction, and the amount of data to be written on the medium are input from the terminal C via the register 8, enter the microprocessor 13 via the multiplexer 12, and enter the buffer 15 via the multiplexer 11. When the microprocessor 13 detects the selection signal via the register 6 and the machine number and instruction of the device via the register 8, it decodes the contents, selects an external storage device, and executes the input/output instruction. At this time, if the turnout instruction is executable, the bit corresponding to the controlled device in the register 14 is turned on. The register 14 is a means for storing information that an input/output command is being executed.
外部記憶制御装置3に接続される外部記憶装置の台数分
のピント数を必要とする。バッファ15に入ったデータ
は端子Eより被制御装置に送出され。The number of focal points is required for the number of external storage devices connected to the external storage control device 3. The data entered in the buffer 15 is sent from terminal E to the controlled device.
醋)子Fよりば被制?all装置から読出されたデータ
が入り、マルチプレクサ11を経てバッファ15に格納
された後、マルチプレクサ10を経てレジスタ9に送ら
゛れ、端子りより上位装置に転送され、る。醋)Is it better to be controlled than child F? Data read from all devices is entered, stored in a buffer 15 via a multiplexer 11, sent to a register 9 via a multiplexer 10, and transferred to a higher-level device via a terminal.
上記の選択された被制御装置が磁気ディスク装置4の場
合、前記の如く入出力命令の中とこは磁気ディスク装置
4のみで実行可能な命令がある為。If the above-mentioned selected controlled device is the magnetic disk device 4, some of the input/output commands can be executed only by the magnetic disk device 4, as described above.
このような命令を実行中は外部記憶制御装置3は他の外
部記憶装置である磁気テープ装置5に対する入出力命令
を実行可能である。しかし前記/ψ如く磁気テープ装置
5に対する入出力命令を実行すると、 M11気ディス
ク装置4が再び上位装置と結合して次の命令を処理する
妨げとなり、タイムアラl−の危険がある。従って磁気
テープ装置に入出力命令が来た時、マイクロプロセッサ
13はマルチプレクサ12を経てレジスタ14の磁気デ
ィスク装置4に対応するビットを調べ、該ビットがオン
の時はレジスタ7を経て上位装置に制御装置使用中の報
告を送出し、電子計算機処理システム1又は2のソフト
ウェアのりトライを行わせる様にし。While executing such an instruction, the external storage control device 3 can execute input/output instructions to the magnetic tape device 5, which is another external storage device. However, if an input/output command to the magnetic tape device 5 is executed as in /ψ, it will prevent the M11 disk device 4 from reconnecting with the host device to process the next command, and there is a risk of a time error. Therefore, when an input/output command to a magnetic tape device is received, the microprocessor 13 checks the bit corresponding to the magnetic disk device 4 in the register 14 via the multiplexer 12, and when the bit is on, controls the host device via the register 7. A report of the device in use is sent, and a software installation trial of the computer processing system 1 or 2 is performed.
磁気ディスク装置4の一連の命令が全部完了した後、レ
ジスタ14の対応するビットをオフとして磁気テープ装
置5の入出力命令を実行する。After all the series of commands for the magnetic disk device 4 are completed, the corresponding bits of the register 14 are turned off and input/output commands for the magnetic tape device 5 are executed.
(f)発明の詳細
な説明した如く1本発明はランダムにアクセスされる外
部記憶装置に於て、入出力命令の実行時間が短く、処理
を待たされるとタイムアウトとなる危険がある磁気ディ
スク装置と入出力命令の実行時間が長い磁気テープ装置
と、の間に優先順位を付加し、磁気ディスク装置のタイ
ムアウト発注を防止する為、その効果は大なるものがあ
る。(f) As described in detail, the present invention is applicable to external storage devices that are randomly accessed, and to magnetic disk devices where the execution time of input/output commands is short and there is a risk of timeout if processing is made to wait. This has a great effect because it adds priority to the magnetic tape device whose input/output commands take a long time to execute, and prevents timeout orders from being placed in the magnetic disk device.
第1−は本発明の適用されるシステムの構成例を示す図
、第2図は本発明の一実施例を示す回路のブロック図で
ある。
1.2は電子計算機処理システム、3は外部記1.9制
御装置、4ば磁気ディスク装置、5は磁気テープ装置、
6.7.&、9.14はレジスタ、13はマイクロプロ
セッサ、15ばバッファである。
一1- is a diagram showing an example of the configuration of a system to which the present invention is applied, and FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention. 1.2 is an electronic computer processing system, 3 is an external storage 1.9 control device, 4 is a magnetic disk device, 5 is a magnetic tape device,
6.7. &, 9.14 is a register, 13 is a microprocessor, and 15 is a buffer. one
Claims (1)
、a装置を接続して制御する機能を有する外部記憶制御
装置に於て、接続する該各外部記憶装置毎に入出力命令
を実行中であることを記憶する手段を設け、複種類の該
外部記憶装置の内憂先順位の低い外部記憶装置が上位装
置より選択された場合、該外部記憶制御装置が入出力命
令を実行可能の状態であっても、該記憶手段に優先度の
高い外部記憶装置が入出力命令実行中の記録がある時は
制御装置使用中の報告を上位装置に返し、優先順位の高
い外部記憶装置の入出力命令の実行を優先することを特
徴とする優先順位決定方式。In an external storage control device that is connected to a computer processing system and has the function of connecting and controlling multiple types of external storage devices, an input/output command is being executed for each connected external storage device. If an external storage device with a lower priority among the plurality of types of external storage devices is selected by the host device, the external storage control device is in a state capable of executing an input/output command. Also, if the storage means has a record that an input/output command is being executed by an external storage device with a high priority, a report indicating that the control device is in use is returned to the host device, and the input/output command of the external storage device with a high priority is executed. A priority determination method characterized by prioritizing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58035309A JPS59161717A (en) | 1983-03-04 | 1983-03-04 | Priority decision system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58035309A JPS59161717A (en) | 1983-03-04 | 1983-03-04 | Priority decision system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS59161717A true JPS59161717A (en) | 1984-09-12 |
Family
ID=12438189
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58035309A Pending JPS59161717A (en) | 1983-03-04 | 1983-03-04 | Priority decision system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59161717A (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5816322A (en) * | 1981-07-22 | 1983-01-31 | Hitachi Ltd | Input and output controllng system of information processing system |
-
1983
- 1983-03-04 JP JP58035309A patent/JPS59161717A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5816322A (en) * | 1981-07-22 | 1983-01-31 | Hitachi Ltd | Input and output controllng system of information processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100345632B1 (en) | A memory device and a method for controlling the same | |
| US4507693A (en) | Control apparatus for rotation type storage device | |
| JPH06110617A (en) | Disk control method | |
| KR970005742B1 (en) | Interface circuit for data transmission control | |
| US6745300B1 (en) | Magnetic disk device and disk access method therefor | |
| US7447853B2 (en) | Data copy device | |
| JPS59161717A (en) | Priority decision system | |
| JPH04111113A (en) | Hard disk emulator | |
| JPH0793101A (en) | Data backup device | |
| JPS622349B2 (en) | ||
| JPH04341977A (en) | Data playback control method | |
| US20030120862A1 (en) | Controlling method of storage apparatus, and storage apparatus, disk array device, and disk controller used in the method thereof | |
| JPH0578859B2 (en) | ||
| JPS58114152A (en) | Back up device for magnetic disc | |
| JP2737495B2 (en) | Input/Output Control Unit | |
| JPS623455B2 (en) | ||
| JPH05158627A (en) | Disk device | |
| JPS62154153A (en) | External storage control method | |
| JPH02148150A (en) | Magnetic disk controller | |
| JPH0619827A (en) | Peripheral control device | |
| JPS6041123A (en) | Magnetic disc control device | |
| JPS5896326A (en) | Input and output control method | |
| JPH0440540A (en) | Border transgressing access processing method for memory | |
| JPS6126703B2 (en) | ||
| JPS5880757A (en) | Data transfer controlling method |