JPH01163822A - Magnetic disk control device - Google Patents

Magnetic disk control device

Info

Publication number
JPH01163822A
JPH01163822A JP32346187A JP32346187A JPH01163822A JP H01163822 A JPH01163822 A JP H01163822A JP 32346187 A JP32346187 A JP 32346187A JP 32346187 A JP32346187 A JP 32346187A JP H01163822 A JPH01163822 A JP H01163822A
Authority
JP
Japan
Prior art keywords
magnetic disk
unit
disk device
select signal
occupied
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
Application number
JP32346187A
Other languages
Japanese (ja)
Inventor
Shigeru Oshima
茂 大島
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP32346187A priority Critical patent/JPH01163822A/en
Publication of JPH01163822A publication Critical patent/JPH01163822A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent an occupied state from being forcibly transferred to a self-system and the occupied state of other system from being canceled with any conditions by once stopping the output of a unit selecting signal, then setting a priority selecting signal, and outputting the unit selecting signal again when the occupation of a magnetic disk device is confirmed. CONSTITUTION:When a microprocessor circuit 20 recognizes that a magnetic disk device 200 has been occupied, it once resets a unit selector circuit 51, resets the unit selecting signal, then sets a priority selector circuit 52, outputs the priority selecting signal, sets the unit selector circuit 51 again, and outputs the unit selecting signal. Thus, the other magnetic disk device connected by the cables arranged in the same 'one after another' system as the magnetic disk device in the occupied condition in the self-system can be simultaneously occupied to the self-system, and when the device is occupied by the self system, the occupied state of the other system can be prevented from being canceled without any conditions.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、情報処理装置に使用する磁気ディスク制御装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a magnetic disk control device used in an information processing device.

従来の技術 従来、デュアルポート機構を有するSMDインタフェー
スの磁気ディスク装置を制御する磁気ディスク制御装置
において、自系に磁気ディスク装置を占有させる方法と
して、プライオリティセレクト信号を使用せずにユニッ
トセレクト信号のみで磁気ディスク装置を選択して占有
させる方法と。
Conventional technology Conventionally, in a magnetic disk control device that controls an SMD interface magnetic disk device having a dual port mechanism, as a method for making the own system occupy the magnetic disk device, there is a method of using only a unit select signal without using a priority select signal. How to select and occupy a magnetic disk device.

ユニットセレクト信号出力時にプライオリティセレクト
信号を出力することにより自系に強制的に占有させる方
法とがあった。
There is a method of forcing the own system to occupy the unit by outputting a priority select signal when the unit select signal is output.

発明が解決しようとする問題点 しかしながら、上述した従来の磁気ディスク制御装置の
第1の方法においては、ユニットセレクト信号出力時で
かつ他系がプライオリティセレクト信号を使用していな
い時にのみ有効であるために、いもづる方式でケーブル
を接続している場合には占有している磁気ディスク装置
以外の磁気ディスク装置を同時に占有出来ない欠点、あ
るいは動作中に他系がプライオリティセレクト信号をセ
ットしてユニットセレクト信号を出力した場合には強制
的に自系の占有状態が解除されてしまう欠点がある。
Problems to be Solved by the Invention However, in the first method of the conventional magnetic disk control device described above, it is effective only when the unit select signal is output and when other systems are not using the priority select signal. In addition, when connecting cables using the imozuru method, there is a drawback that magnetic disk drives other than the currently occupied magnetic disk drive cannot be occupied at the same time, or other systems set the priority select signal during operation, causing the unit select signal to be set. If this is output, there is a drawback that the exclusive state of the own system is forcibly released.

また、上記第2の方法においては、他系がユニットセレ
クト信号のみで磁気ディスク装置を占有している場合に
は、プライオリティセレクト信号をセットしてユニット
セレクト信号を出力すると自系に強制的に占有状態が移
り、他系の占有状態が無条件で解除されてしまう欠点が
あった。
In addition, in the second method above, if the other system occupies the magnetic disk device only by the unit select signal, setting the priority select signal and outputting the unit select signal will force the own system to occupy the magnetic disk device. There was a drawback that the state would change and the occupied state of the other system would be released unconditionally.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記諸欠
点を解消することを可能とした新規な磁気ディスク制御
装置を提供することにある。
The present invention has been made in view of the above-mentioned conventional situation,
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a novel magnetic disk control device that makes it possible to eliminate the above-mentioned drawbacks inherent in the conventional technology.

問題点を解決するための手段 上記目的を達成する為に1本発明に係る磁気ディスク制
御装置は、デュアルポート機構を有するSMDインタフ
ェースの磁気ディスク装置に対してユニットセレクト信
号を出力する手段と、ユニットセレクト信号を出力して
から一定時間後に上記磁気ディスク装置より選択された
ことを示すユニットセレクテッド信号が返されたこと及
び上記磁気ディスク装置がビジー状態でないことを検出
する手段と、上記検出手段で磁気ディスク装置を占有し
たことを確認した時、−度ユニットセレクト信号の出力
を停止した後にプライオリティセレクト信号をセットし
、再度ユニットセレクト信号を出力する手段とを備えて
構成される。
Means for Solving the Problems In order to achieve the above objects, a magnetic disk control device according to the present invention includes means for outputting a unit select signal to an SMD interface magnetic disk device having a dual port mechanism; means for detecting that a unit selected signal indicating that the magnetic disk device has been selected is returned after a certain period of time after outputting the select signal and that the magnetic disk device is not in a busy state; When it is confirmed that the disk device is occupied, the device stops outputting the unit select signal, sets the priority select signal, and outputs the unit select signal again.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.

第1図は本発明の一実施例を示す概念的ブロック構成図
である。
FIG. 1 is a conceptual block diagram showing an embodiment of the present invention.

第1図において1本発明に係る磁気ディスク制御装置1
00は、バス制御回路10.マイクロプロセッサ回路2
0.磁気ディスク制御回路30.ユニットセレクト回路
51、プライオリティセレクト回路52、及び選択回路
53より構成されている。
In FIG. 1, 1 a magnetic disk control device 1 according to the present invention;
00 is the bus control circuit 10. Microprocessor circuit 2
0. Magnetic disk control circuit 30. It is composed of a unit select circuit 51, a priority select circuit 52, and a selection circuit 53.

又、磁気ディスク制御部100は、磁気ディスク装置(
A)200及び磁気ディスク装置t(B)201と接続
されるとともに、パス300を介して中央処理装置40
0及び主記憶装!500と接続されている。
Further, the magnetic disk control unit 100 controls a magnetic disk device (
A) 200 and magnetic disk device t(B) 201, and is connected to the central processing unit 40 via a path 300.
0 and main memory! 500 is connected.

この様に構成された磁気ディスク制御部100の動作は
次の通りである。
The operation of the magnetic disk control unit 100 configured in this manner is as follows.

中央処理装置400より磁気ディスク装置(A) 20
0に対するリード命令と磁気ディスク装置(B)201
に対するライト命令がバス300を介して磁気ディスク
制御部100に入力されたとすると、マイクロプロセッ
サ回路20は、磁気ディスク装置(A)200に対する
シーク動作を開始させるために、磁気ディスク装置(A
)200のデバイス番号を選択し、ユニットセレクト回
路51をセットし、ユニットセレクト信号を磁気ディス
ク装置(A)200に出力する。一定時間経過後に、マ
イクロプロセッサ回路20は選択回路53を通して磁気
ディスク装置(^)200のステータスを入力する。入
力されたステータスを解析した結果、ビジー状態でなく
、ユニットセレクテツド信号がセットされている場合に
は、マイクロプロセッサ回路20は、磁気ディスク装置
(A)200を占有したものと認識し、−度ユニットセ
レクト回路51をリセットしてユニットセレクト信号を
リセットした後に、プライオリティセレクト回路52を
セットしてプライオリティセレクト信号を出力し、再度
ユニットセレクト回路51をセットしてユニットセレク
ト信号を出力する。
Magnetic disk device (A) 20 from the central processing unit 400
Read command for 0 and magnetic disk device (B) 201
If a write command to the magnetic disk device (A) 200 is input to the magnetic disk controller 100 via the bus 300, the microprocessor circuit 20 starts a seek operation for the magnetic disk device (A) 200.
) 200, sets the unit select circuit 51, and outputs a unit select signal to the magnetic disk device (A) 200. After a certain period of time has elapsed, the microprocessor circuit 20 inputs the status of the magnetic disk device (^) 200 through the selection circuit 53. As a result of analyzing the input status, if it is not in a busy state and the unit select signal is set, the microprocessor circuit 20 recognizes that the magnetic disk device (A) 200 is occupied, and - After resetting the unit select circuit 51 and resetting the unit select signal, the priority select circuit 52 is set to output the priority select signal, and the unit select circuit 51 is set again to output the unit select signal.

磁気ディスク装置(^)200が強制占有状態になった
ことを認識すると、マイクロプロセッサ回路20は、磁
気ディスク装置ft(A)200に対してシーク命令を
出力する。シーク動作の起動が磁気ディスク装@ (A
) 200のステータスにより確認されると、マイクロ
プロセッサ回路20は、ユニットセレクト回路51をリ
セットし、ユニットセレクト信号をリセットして磁気デ
ィスク装置(A) 200を切り離す。ここで磁気ディ
スク装置(A)zooは磁気ディスク制御部100から
切り離された状態になるが、磁気ディスク制御部100
からの占有状態は続くことになる。
When the microprocessor circuit 20 recognizes that the magnetic disk device (^) 200 is in the forced occupancy state, it outputs a seek command to the magnetic disk device ft(A) 200. The seek operation starts when the magnetic disk device @ (A
) 200, the microprocessor circuit 20 resets the unit select circuit 51, resets the unit select signal, and disconnects the magnetic disk device (A) 200. Here, the magnetic disk device (A) zoo is in a state separated from the magnetic disk control unit 100, but the magnetic disk control unit 100
The state of occupancy will continue.

同様にして、マイクロプロセッサ回路20は、磁気ディ
スク装置(B)201のシーク動作を起動させるととも
に、占有状態のまま、切り離し状態にする。
Similarly, the microprocessor circuit 20 activates the seek operation of the magnetic disk device (B) 201 and places it in the disconnected state while remaining in the occupied state.

次にマイクロプロセッサ回路20は、磁気ディスク装置
(A)200及び磁気ディスク装置(B)201のステ
ータスをチエツクし、シーク状態の終了を調査する。
Next, the microprocessor circuit 20 checks the status of the magnetic disk device (A) 200 and the magnetic disk device (B) 201 to determine whether the seek state has ended.

ここで磁気ディスク装置(A)200が先にシーク動作
が終了したとすると、マイクロプロセッサ回路20は、
ユニットセレクト回路51をセットし、ユニットセレク
ト信号を出力し、接続状態にした後に。
Assuming that the magnetic disk device (A) 200 finishes the seek operation first, the microprocessor circuit 20
After setting the unit select circuit 51 and outputting a unit select signal to bring it into a connected state.

リード動作を開始する。リードデータは、磁気ディスク
制御回路30.バス制御回路lO、バス300を介して
主記憶装置500へ書込まれる。リード動作が終了する
と、マイクロプロセッサ回路20は、磁気ディスク装置
(A)200ヘリリース命令を出力するとともに、ユニ
ットセレクト回路51をリセットし、ユニットセレクト
信号をリセットすることにより、磁気ディスク装置(A
)200の占有状態を解除するとともに、切り離し状態
にする。
Start read operation. The read data is sent to the magnetic disk control circuit 30. The data is written to the main memory device 500 via the bus control circuit IO and the bus 300. When the read operation is completed, the microprocessor circuit 20 outputs a release command to the magnetic disk device (A) 200, resets the unit select circuit 51, and resets the unit select signal to release the magnetic disk device (A).
) 200 is released from the occupied state and placed in a disconnected state.

発明の詳細 な説明したように1本発明の磁気ディスク制御部を採用
することにより、自系に占有状態にある磁気ディスク装
置と同じいもづる方式のケーブルで接続された他の磁気
ディスク装置を同時に自系に占有することが可能となる
とともに、自系が占有した場合に、他系の占有状態が無
条件で解除されてしまう欠点がなくなるという効果が得
られる。
As described in detail, by employing the magnetic disk control unit of the present invention, it is possible to simultaneously control a magnetic disk device that is occupied in the own system and another magnetic disk device that is connected to the same Imozuru type cable. It becomes possible to occupy the system, and the disadvantage that the occupied state of other systems is unconditionally canceled when the own system occupies the system can be obtained.

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

第1図は本発明の一実施例を示すブロック構成図である
。 10、 、 、バス制御回路、 20. 、 、マイク
ロプロセッサ回路、30. 、 、磁気ディスク制御回
路、51゜0.ユニットセレクト回路、52. 、 、
プライオリティセレクト回路、53. 、 、選択回路
、100. 、 。 磁気ディスク制御部、200. 、 、磁気ディスク装
置(A)、 201. 、 、磁気ディスク装置(B)
、300. 、 。 バス、400. 、 、中央処理装置、500. 、 
、主記憶装置
FIG. 1 is a block diagram showing one embodiment of the present invention. 10. , bus control circuit, 20. , ,Microprocessor circuit, 30. , , magnetic disk control circuit, 51°0. Unit selection circuit, 52. , ,
Priority select circuit, 53. , ,Selection circuit, 100. , . magnetic disk control unit, 200. , , magnetic disk device (A), 201. , ,Magnetic disk device (B)
, 300. , . Bus, 400. , , central processing unit, 500. ,
, main memory

Claims (1)

【特許請求の範囲】[Claims] デュアルポート機構を有するSMDインタフェースの磁
気ディスク装置に対してユニットセレクト信号を出力す
る手段と、該ユニットセレクト信号を出力してから一定
時間後に上記磁気ディスク装置より選択されたことを示
すユニットセレクテッド信号が返されたこと及び上記磁
気ディスク装置がビジー状態でないことを検出する手段
と、上記検出手段で磁気ディスク装置を占有したことを
確認した時に一度ユニットセレクト信号の出力を停止し
た後にプライオリティセレクト信号をセットして再度ユ
ニットセレクト信号を出力する手段とを有することを特
徴とする磁気ディスク制御装置。
Means for outputting a unit select signal to a magnetic disk device with an SMD interface having a dual port mechanism, and a unit selected signal indicating that the unit has been selected from the magnetic disk device after a certain period of time after outputting the unit select signal. means for detecting that the magnetic disk drive has been returned and that the magnetic disk drive is not in a busy state; and a unit select signal is set once the output of the unit select signal is stopped when the detection means confirms that the magnetic disk drive is occupied, and then a priority select signal is set. 1. A magnetic disk control device, comprising means for outputting a unit select signal again.
JP32346187A 1987-12-21 1987-12-21 Magnetic disk control device Pending JPH01163822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32346187A JPH01163822A (en) 1987-12-21 1987-12-21 Magnetic disk control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32346187A JPH01163822A (en) 1987-12-21 1987-12-21 Magnetic disk control device

Publications (1)

Publication Number Publication Date
JPH01163822A true JPH01163822A (en) 1989-06-28

Family

ID=18154938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32346187A Pending JPH01163822A (en) 1987-12-21 1987-12-21 Magnetic disk control device

Country Status (1)

Country Link
JP (1) JPH01163822A (en)

Similar Documents

Publication Publication Date Title
JP2750315B2 (en) Method of specifying identifier and computer system
JPH01163822A (en) Magnetic disk control device
US5606673A (en) Small computer system interface (SCSI) controller
JPS59723A (en) Control system of input and output interface
JPH01309117A (en) Magnetic disk device
JPS59142655A (en) Memory control system capable of simultaneous access
WO1985003372A1 (en) Data transmitting/receiving system for transmitting data to and from auxiliary memory device
EP0626647A1 (en) Copying apparatus for carrying out a copying operation between an active processing system and a stand-by one
JP2803270B2 (en) SCSI host adapter circuit
JPS60122424A (en) Control system of disc device
JPH0612190A (en) Magnetic disk control system
JPH02121049A (en) Input/output device
JPH0673099B2 (en) File device occupancy control method
JPS6127793B2 (en)
SU1124275A1 (en) Microprocessor communication device
JPH08263354A (en) File system
JPS6210757A (en) Processor control system
JPS63201751A (en) Bus control system
JPH0764849A (en) Shared memory controller for processor
JPH05134971A (en) Computer device
JPH02299014A (en) Data copying/comparing system
JPH0158532B2 (en)
JPH06342406A (en) Scsi bus control system
JPH10326155A (en) Time slot generation device and its action confirming method
JPH03228165A (en) Priority decision device