JPH0451849B2 - - Google Patents
Info
- Publication number
- JPH0451849B2 JPH0451849B2 JP60018518A JP1851885A JPH0451849B2 JP H0451849 B2 JPH0451849 B2 JP H0451849B2 JP 60018518 A JP60018518 A JP 60018518A JP 1851885 A JP1851885 A JP 1851885A JP H0451849 B2 JPH0451849 B2 JP H0451849B2
- Authority
- JP
- Japan
- Prior art keywords
- disk
- dku4
- circuit
- control
- busy
- 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
Links
Landscapes
- Multi Processors (AREA)
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、クロスコール制御システムに関し、
特に磁気デイスク装置等のデバイスを複数の制御
装置により制御するクロスコール制御システムに
関するものである。[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a cross-call control system,
In particular, the present invention relates to a cross-call control system in which devices such as magnetic disk drives are controlled by a plurality of control devices.
第2図に従来の磁気デイスク装置のシステム構
成を示す。ここで、1a,1bは中央処理装置
(以下 CPUという)、2a,2bはデイスク制
御装置(以下、DKCという)、3a,3bは接続
装置(以下、DSCという)、4−0〜4−nは磁
気デイスク装置(以下、DKUという)である。
また、第3図に第2図のクロスコール制御におけ
るデータパスのデバイス占有とセレクシヨン応答
を示す。以下、第2図,第3図より説明する。
CPU1aからの命令によりDKU4−0に対して
データの読出し/書込み動作を実行する場合、
DKC2aはデータの読出し/書込みに伴う一連
の動作指命に先立ちDSC3aのクロスコール制
御部5a内のDKU4−0〜4−nの制御情報を
格納するアサインレジスタ7aのDKU4−0に
対応するビツトをセツトし、そのデータの読出
し/書込み動作が終了後リセツトする。また、
CPU1aがCPU1bに対してDKU4−0を占有
したい場合(リザーブ命令)はDKC2aを通し
てDSC3aに対し、前記同様そのアサインレジ
スタ7aのDKU4−0に対応するビツトをセツ
トする。この場合、CPU1aがDKC2b,DSC
3bを通してDKU4−1〜4−nに対するデー
タの読出し/書込み等の動作は任意に可能である
がDKU4−0に対する同様な動作はアサインレ
ジスタ7aのDKU4−0のビツトがセツトされ
ているため、信号線6を通してDKC2b,CPU
1bへロングビジイとして報告され使用不可能で
あることが知らされる。その後、CPU1aのア
サインレジスタ7aのDKU4−0に対応するビ
ツトをリセツトすると、CPU1b側は信号線6
を介してポールシーケンスによりBUSY TO
FREEの割込みを検出し、DKU4−0の使用が
可能となる。この使用不可能の期間はCPU1a,
CPU1bのプログラムの処理内容により決まる
ものであり、一般に数μs〜数時間に及びDKC2
a,2b、DSC3a,3bによつて時間規制さ
れるものではない。また、DSC3a,3bに対
する命令及びアサインレジスタ7a,7bをセツ
トしないでDKU4−0〜4−nに対する制御命
令もあるが、通常この様な場合は数μs程度の短時
間で動作が終了するため、シヨートビジイとして
処理される。例えば、CPU1a,DKC2aが
DKU4−0に対してDSC3aの対応するアサイ
ンレジスタ7aのビツトをセツトしないで動作
中、CPU1b,DKC2bよりDKU4−0に起動
があつた場合、DKC2bは信号線6,DSC3b
を通してシヨートビジイの報告を受ける。シヨー
トビジイを受けると、DKC2bはシヨートビジ
イ解除までセレクシヨンルーチンのループにより
再起動動作の繰返しとタイムカウント動作を行
う。このタイムカウント動作は一定時間経過後シ
ヨートビジイが解除とされなかつた場合、DSC
3aあるいは3bの異常とみなしタイムオーバー
エラーをCPU1bに報告する。
FIG. 2 shows the system configuration of a conventional magnetic disk device. Here, 1a and 1b are central processing units (hereinafter referred to as CPU), 2a and 2b are disk control units (hereinafter referred to as DKC), 3a and 3b are connection devices (hereinafter referred to as DSC), and 4-0 to 4-n. is a magnetic disk unit (hereinafter referred to as DKU).
Further, FIG. 3 shows the device occupancy of the data path and the selection response in the cross-call control shown in FIG. 2. This will be explained below with reference to FIGS. 2 and 3.
When executing data read/write operations to DKU4-0 according to instructions from CPU1a,
Prior to a series of operation instructions associated with reading/writing data, the DKC2a sets the bit corresponding to DKU4-0 in the assign register 7a that stores control information for DKU4-0 to DKU4-n in the cross-call control section 5a of the DSC3a. and then reset after the data read/write operation is completed. Also,
When the CPU 1a wants to occupy DKU4-0 for the CPU 1b (reserve instruction), it sets the bit corresponding to DKU4-0 in the assign register 7a for the DSC 3a through the DKC 2a, as described above. In this case, CPU1a is DKC2b, DSC
Although operations such as reading/writing data to DKU4-1 to DKU4-n can be performed arbitrarily through DKU4-1 to DKU4-n through 3b, similar operations to DKU4-0 are not possible because the bit of DKU4-0 in the assign register 7a is set. DKC2b, CPU through line 6
It is reported to 1b as long busy and informed that it is unusable. After that, when the bit corresponding to DKU4-0 of the assignment register 7a of the CPU 1a is reset, the signal line 6 is set on the CPU 1b side.
BUSY TO by pole sequence via
Free interrupt is detected and DKU4-0 can be used. During this unusable period, CPU1a,
This is determined by the processing content of the CPU1b program, and generally lasts from several μs to several hours.
The time is not regulated by a, 2b, DSC3a, 3b. There are also instructions for the DSCs 3a and 3b and control instructions for the DKUs 4-0 to 4-n without setting the assignment registers 7a and 7b, but normally in such cases the operation is completed in a short time of about a few μs. Treated as short busy. For example, CPU1a, DKC2a
If DKU4-0 is activated from CPU1b and DKC2b while it is operating without setting the bit of assign register 7a corresponding to DSC3a for DKU4-0, DKC2b connects signal line 6 and DSC3b.
Receive reports of shoot-busy through. When receiving short-busy, the DKC 2b repeats the restart operation and time count operation through a selection routine loop until short-busy is released. This time count operation will be executed by DSC if shot busy is not canceled after a certain period of time has elapsed.
It is assumed that 3a or 3b is abnormal and a time over error is reported to the CPU 1b.
従来、クロスコール制御部5a,5bには前記
アサインレジスタ7a,7bの他、NOT
READY TO READY割込み用のパツクチエン
レジスタ(図示せず)、BUSY TO FREE報告用
のデバイスエンドレジスタ(図示せず)、DKU予
約用のリザーブレジスタ(図示せず)等がDKU
単位に容易されている。 Conventionally, in addition to the assignment registers 7a and 7b, the cross call control units 5a and 5b have NOT
A patch register (not shown) for READY TO READY interrupts, a device end register (not shown) for BUSY TO FREE reporting, a reserve register (not shown) for DKU reservation, etc.
Units are easy.
近年、さらにDKU4−0〜4−nの使用効率
を上げるため、第2図の破線に示すCPU1aと
DKC2b、CPU1bとDKC2aのパスを用いて
プログラム制御によるダイナミツクなパスの接
続、切離しを可能とした制御を行うようになつ
た。 In recent years, in order to further increase the usage efficiency of DKU4-0 to 4-n, CPU1a and
DKC2b, CPU1b and DKC2a paths are now used to perform control that enables dynamic path connection and disconnection through program control.
例えば、この種の方法としては、特開昭54−
146941号公報に記載されている。これは、CPU
1a,DKC2a,DSC3aを通してDKU4−0
に対するシーク動作指令後、CPU1a,DKC2
aがDKU4−1に対してデータの読出し/書込
み動作を実行中の場合、前記DKU4−0に対す
るシーク完了報告をCPU1a,DKC2b,DSC
3bのパスを通して可能とした。従つて、クロス
コール制御部5a,5bは前記レジスタの他、
CPU1a,1bのチヤネルグループ構成、識別、
排他制御等のための情報量が大幅に増加し、これ
らの記憶用として数KバイトのRAM8a,8b
を用いるようになつた。CPU1a,DKC2aか
らのRAM8a,8bに対する情報の読出し/書
込みは、信頼性及びシステムのプログラム運用上
同時に実行される。すなわち、CPU1aあるい
はCPU1bの命令は、DKC2a,DSC3aある
いはDKC2b,DSC3bに対して実行され、
RAM8a,8bの情報の読出し/書込みが同時
に行われるとともに、RAM8aとRAM8bの
読出し内容の比較確認が実行され、正常に動作が
終了したかチエツクする。 For example, this type of method is
It is described in Publication No. 146941. This is the CPU
DKU4-0 through 1a, DKC2a, DSC3a
After the seek operation command for CPU1a, DKC2
When a is executing a data read/write operation to DKU4-1, the seek completion report for DKU4-0 is sent to CPU1a, DKC2b, and DSC.
This was made possible through the pass of 3b. Therefore, in addition to the above-mentioned registers, the cross-call control units 5a and 5b
Channel group configuration and identification of CPU1a and 1b,
The amount of information for exclusive control, etc. has increased significantly, and several kilobytes of RAM8a, 8b are required to store this information.
began to be used. Reading/writing of information from the CPU 1a and DKC 2a to the RAMs 8a and 8b is performed simultaneously for reliability and system program operation. That is, the instructions of CPU1a or CPU1b are executed to DKC2a, DSC3a or DKC2b, DSC3b,
Reading/writing of information in RAMs 8a and 8b is performed simultaneously, and the read contents of RAMs 8a and RAM 8b are compared and confirmed to check whether the operations have been completed normally.
このような従来の方法では、RAM8a,8b
の読出し/書込み動作中のシヨートビジイ状態の
時、DKC2a,2bとDSC3a,3bの接続を
切離し、DKC2a,2bの再起動による接続を
行つていたので、シヨートビジイ状態が増加する
と接続待時間が多くなるという問題があつた。 In such a conventional method, RAM8a, 8b
When the DKC2a, 2b and DSC3a, 3b were in a short busy state during a read/write operation, the connection was established by restarting the DKC2a, 2b, so as the short busy state increased, the connection waiting time increased. There was a problem.
本発明の目的は、このような従来の問題点を改
善し、ダイナミツクなパス制御をできるクロスコ
ール制御システムにおいて、シヨートビジイ状態
増加に伴う接続待時間を少なくし、装置の使用効
率を向上させるクロスコール制御システムを提供
することにある。
The purpose of the present invention is to improve the above-mentioned conventional problems, and to provide a cross-call control system capable of dynamic path control, which reduces connection waiting time due to an increase in short busy states and improves equipment usage efficiency. The purpose is to provide a control system.
上記目的を達成するために本発明は、デイスク
装置の使用状況に応じてデイスク制御装置と接続
装置のバスの接続/切離しを行うクロスコール制
御システムにおいて、
各接続装置にクロスコール制御情報を格納する
メモリを設け、接続装置間を接続して各接続装置
内のメモリを相互にアクセスできるようにし、
1つのデイスク制御装置が1つの接続装置に接
続した際に、その接続装置のメモリが他の接続装
置からアクセスされているときは、デイスク制御
装置を上記接続装置に接続したまま待機させ、
メモリへのアクセスが解除された後に、待機し
ていたデイスク制御装置からデイスク装置への制
御動作を実行することに特徴がある。
To achieve the above object, the present invention provides a cross-call control system that connects/disconnects a bus between a disk control device and a connected device according to the usage status of the disk device, in which cross-call control information is stored in each connected device. A memory is provided and the connected devices are connected so that the memories in each connected device can be accessed mutually. When one disk controller is connected to one connected device, the memory of that connected device is accessed from the other connected devices. When access is being made from the device, the disk control device is kept connected to the above-mentioned connected device, and after access to the memory is released, the disk control device that was on standby executes a control operation to the disk device. There are certain characteristics.
以下、本発明の実施例を図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図は、本発明の一実施例を示すクロスコー
ル制御システムの部分構成図である。これは、第
2図の接続装置3a,3bを改良したもので、他
の構成は第2図と同じであるのでそれを用いる。 FIG. 1 is a partial configuration diagram of a cross-call control system showing an embodiment of the present invention. This is an improved version of the connecting devices 3a and 3b shown in FIG. 2, and since the other configurations are the same as those shown in FIG. 2, this is used.
第1図において、9はDKC2a,2bからの
命令を解読するデコード回路、10はRAM8
a,8b(以下、メモリという)の読出し/書込
みを必要とする命令を検出するシヨートビジイオ
ペレーシヨン検出回路、11はメモリの読出し/
書込みを待ち状態にするAND回路、12はメモ
リの読出し/書込みを行うオペレーシヨン回路1
3は系Aがシヨートビジイ状態であることを知ら
せる信号線、14は片系のオペレーシヨン回路を
インタロツクするインタロツク回路、15はシヨ
ートビジイオペレーシヨン回路10の検出信号を
他系にインバートするインバート回路である。こ
こで、系Aの回路には記号の後にaを付し、系B
の回路には記号の後にbを付している。 In Figure 1, 9 is a decoding circuit that decodes instructions from DKC2a and 2b, and 10 is RAM8.
a, 8b (hereinafter referred to as memory) (hereinafter referred to as memory), a short-busy operation detection circuit detects an instruction that requires reading/writing; 11 is a memory read/write circuit;
An AND circuit that waits for writing, 12 is an operation circuit 1 that reads/writes the memory.
3 is a signal line that informs that system A is in the short busy state, 14 is an interlock circuit that interlocks the operation circuit of one system, and 15 is an invert circuit that inverts the detection signal of the short busy operation circuit 10 to the other system. be. Here, a is added after the symbol for the circuit of system A, and system B
The circuit shown in is marked with b after the symbol.
以下、系A(DSC3a)に先に実行命令が来た
場合について述べる系Bの場合も同様である。 The same applies to the case of system B, which will be described below regarding the case where the execution command comes first to system A (DSC 3a).
DKC2aからの命令はDSC3aのデコード回
路9aに入力するTAGライン、BUSラインを解
読することで得られるが、メモリの読出し/書込
みを必要とする命令は、シヨートビジイオペレー
シヨン検出回路10aで検出され、信号線13を
介してDSC3bに送られる。このとき、DSC3
bにメモリの読出し/書込みを必要とする命令が
来た場合、AND回路11bにより、TAG
GATE信号がインヒビツト(待ち状態)される
ため、オペレーシヨン回路12bは動作しない。
すなわち、DSC3bは待ち状態となり、これは
DSC3aのメモリ読出し/書込み動作が終了す
るまで、すなわち信号線13がONの間継続す
る。信号線13がOFFすると、DSC3bのオペ
レーシヨン回路12bにより、メモリ読出し/書
込み動作が開始される。 Instructions from the DKC 2a are obtained by decoding the TAG line and BUS line input to the decoding circuit 9a of the DSC 3a, but instructions requiring memory read/write are detected by the short busy operation detection circuit 10a. , is sent to the DSC 3b via the signal line 13. At this time, DSC3
When an instruction that requires memory read/write comes to b, the AND circuit 11b causes TAG
Since the GATE signal is inhibited (waiting state), the operation circuit 12b does not operate.
In other words, DSC3b is in a waiting state, which is
This continues until the memory read/write operation of the DSC 3a is completed, that is, while the signal line 13 is ON. When the signal line 13 is turned off, the operation circuit 12b of the DSC 3b starts a memory read/write operation.
仮にDSC3aとDSC3bに同時にメモリの読
出し/書込み命令が来た場合は、両系ともTAG
GATE信号がインビツトされない場合がある。
この場合、インタロツク回路14a,14bによ
り、片系のオレレーシヨン回路を優先的に動作さ
せ、他系をインビツトする(待ち状態)ことによ
りDSC3a,3bが同時にメモリの読出し/書
込み動作をするのを禁止する。 If a memory read/write command comes to DSC3a and DSC3b at the same time, both systems will use TAG.
GATE signal may not be input.
In this case, the interlock circuits 14a and 14b operate the isolation circuit of one system preferentially and inhibit the other system (wait state), thereby prohibiting the DSCs 3a and 3b from performing memory read/write operations at the same time. .
以上のような回路構成をとれば、DSC3a,
3bに対しどのようなタイミングでメモリの読出
し/書込み命令ができても、片系を命令実行待ち
状態にすることにより、片系の命令のみ実行する
ことが可能となる。 If the above circuit configuration is adopted, DSC3a,
No matter what timing a memory read/write command is issued to 3b, by placing one system in an instruction execution wait state, only one system's instructions can be executed.
このようにして、本実施例によれば、従来のよ
うにシヨートビジイ時、DKC2a,2bとDSC
3a,3bの接続を切離し、DKC2a,2bの
起動シーケンスのループで待機し再起動を行う場
合では、DKC2a,2bとDSC3a,3b双方
の切離し接続時の応答時間、ケーブルの遅れ時
間、信号確定までの待ち時間を加えると数μs〜数
十μsとなる。DKC2a,2bよりDSC3a,3
bに対する動作シーケンスにおいて1回のRAM
8a,8bに対する読出し/書込み動作は1μs程
度、すなわち本実施例のシヨートビジイの待ち時
間は1μs程度であるため、DKUの使用効率が向上
する。 In this way, according to this embodiment, when the shot is busy as in the conventional case, the DKC2a, 2b and the DSC
When disconnecting 3a and 3b and waiting in the DKC2a and 2b startup sequence loop to restart, check the response time, cable delay time, and signal confirmation when disconnecting and connecting both DKC2a and 2b and DSC3a and 3b. If you add the waiting time of , it becomes several μs to several tens of μs. DSC3a, 3 from DKC2a, 2b
RAM once in the operation sequence for b
Since the read/write operation for 8a and 8b is about 1 μs, that is, the short busy waiting time of this embodiment is about 1 μs, the efficiency of use of the DKU is improved.
以上説明したように、本発明によれば、ダイナ
ミツクなパス制御をできるクロスコール制御シス
テムにおいて、シヨートビジイ状態増加に伴う接
続待時間を少なくし、装置の使用効率を向上させ
ることができる。
As described above, according to the present invention, in a cross-call control system that can perform dynamic path control, it is possible to reduce the connection waiting time associated with an increase in short busy states and improve device usage efficiency.
第1図は本発明の一実施例を示すクロスコール
制御システムの部分構成図、第2図は従来の磁気
デイスク装置のクロスコール制御システム構成
図、第3図はデータのパスのデバイス占有とセレ
クシヨン応答を示した図である。
1:CPU、2:DKC、3:DSC、4:DKU、
5:クロスコール制御部、7:アサインレジス
タ、8:RAM、9:デコード回路、10:シヨ
ートビジイオペレーシヨン検出回路、11:
AND回路、12:オペレーシヨン回路、14:
インタロツク回路、15:インバート回路。
FIG. 1 is a partial configuration diagram of a cross-call control system showing an embodiment of the present invention, FIG. 2 is a configuration diagram of a cross-call control system of a conventional magnetic disk device, and FIG. 3 is a diagram showing device occupancy and selection of data paths. It is a figure showing a response. 1: CPU, 2: DKC, 3: DSC, 4: DKU,
5: Cross call control section, 7: Assign register, 8: RAM, 9: Decode circuit, 10: Short busy operation detection circuit, 11:
AND circuit, 12: Operation circuit, 14:
Interlock circuit, 15: Invert circuit.
Claims (1)
する複数のデイスク制御装置、上記デイスク装置
と上記デイスク制御装置の接続を行なう接続装置
を有し、上記デイスク装置の使用状況に応じて上
記デイスク制御装置と上記接続装置間のバスの接
続/切離しを行うクロスコール制御システムにお
いて、 上記複数の接続装置にクロスコール制御情報を
格納するメモリを設け、 上記各接続装置を接続して各接続装置内のメモ
リを相互にアクセスできるようにし、 上記1つのデイスク制御装置が上記1つの接続
装置に接続した際に、その接続装置のメモリが他
の接続装置からアクセスされているときは、上記
デイスク制御装置を上記接続装置に接続したまま
待機させ、 上記メモリへのアクセスが解除された後に、待
機していたデイスク制御装置から上記デイスク装
置への制御動作を実行することを特徴とするクロ
スコール制御システム。[Scope of Claims] 1. A disk drive system that includes a plurality of disk devices, a plurality of disk control devices that control the disk devices, and a connection device that connects the disk devices and the disk control device, and that In a cross-call control system that connects/disconnects the bus between the disk control device and the connection device using The memories in the connected devices are made mutually accessible, and when the one disk control device is connected to the one connected device and the memory of that connected device is accessed by another connected device, the above A cross call characterized in that a disk control device is kept on standby while connected to the connection device, and after access to the memory is released, a control operation is executed from the disk control device that has been on standby to the disk device. control system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1851885A JPS61177533A (en) | 1985-02-04 | 1985-02-04 | Cross call control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1851885A JPS61177533A (en) | 1985-02-04 | 1985-02-04 | Cross call control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61177533A JPS61177533A (en) | 1986-08-09 |
| JPH0451849B2 true JPH0451849B2 (en) | 1992-08-20 |
Family
ID=11973845
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1851885A Granted JPS61177533A (en) | 1985-02-04 | 1985-02-04 | Cross call control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61177533A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57109073A (en) * | 1980-12-26 | 1982-07-07 | Fujitsu Ltd | Exclusive control system by cross-call controller |
-
1985
- 1985-02-04 JP JP1851885A patent/JPS61177533A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61177533A (en) | 1986-08-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0055623B1 (en) | Direct memory-access mode for a high-speed memory system | |
| US5003468A (en) | Guest machine execution control system for virutal machine system | |
| JPH0451849B2 (en) | ||
| US7447853B2 (en) | Data copy device | |
| JPS63305445A (en) | Data writing system at power break | |
| JP2622008B2 (en) | Information processing device | |
| JP2525479B2 (en) | Command exclusive control method | |
| JP3364751B2 (en) | Data transfer system | |
| JPS61290547A (en) | Multiplexing control circuit | |
| JP4009401B2 (en) | Disk control apparatus and recording medium recording program | |
| JPS6227413B2 (en) | ||
| JPS63187355A (en) | Saving system for data of memory device | |
| JPH08235128A (en) | Parallel processor | |
| JPS5896326A (en) | Input and output control method | |
| JPS59161717A (en) | Priority decision system | |
| JPS584365B2 (en) | Reset control system | |
| JPS589977B2 (en) | Complex processing equipment | |
| JPS6355620A (en) | input/output control device | |
| JPH0675789A (en) | Information processor | |
| JPS58103054A (en) | Disc controller | |
| JPS622349B2 (en) | ||
| JPS5880757A (en) | Data transfer controlling method | |
| JPH0424733B2 (en) | ||
| JPH03263161A (en) | Interruption control system | |
| JPH01302456A (en) | Data transfer control system using channel control block |