JP2927287B1 - Recording and playback device - Google Patents

Recording and playback device

Info

Publication number
JP2927287B1
JP2927287B1 JP10025641A JP2564198A JP2927287B1 JP 2927287 B1 JP2927287 B1 JP 2927287B1 JP 10025641 A JP10025641 A JP 10025641A JP 2564198 A JP2564198 A JP 2564198A JP 2927287 B1 JP2927287 B1 JP 2927287B1
Authority
JP
Japan
Prior art keywords
unit
drive
status
command
drive unit
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
JP10025641A
Other languages
Japanese (ja)
Other versions
JPH11224167A (en
Inventor
征弘 玉川
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP10025641A priority Critical patent/JP2927287B1/en
Application granted granted Critical
Publication of JP2927287B1 publication Critical patent/JP2927287B1/en
Publication of JPH11224167A publication Critical patent/JPH11224167A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

【要約】 【課題】 複数のディスク制御部と複数のドライブ部を
有し並列してデータ転送を行う場合に、全体的な動作を
無駄なく高速に行うこと。 【解決手段】 データ記録再生装置は、データを記録又
は再生する複数のドライブ部4A〜4Fと、この複数の
ドライブ部4A〜4Fの動作をコマンドにより制御する
複数のドライブ制御部1A〜1Cと、複数のドライブ部
の動作状態を各ドライブ部毎に記憶するステータス記憶
部3とを備えている。しかも、各ドライブ制御部1A〜
1Cは、ドライブ部4A〜4Fにコマンドを発行する前
に、ステータス記憶部3に格納されている各ドライブ部
の動作状態を確認する動作状態確認手段6と、この動作
状態確認手段6によって動作中と確認されたドライブ部
に対してはコマンドの発行を中止する発行中止手段8と
を備えている。
An object of the present invention is to perform an overall operation at high speed without waste when performing data transfer in parallel with a plurality of disk control units and a plurality of drive units. A data recording / reproducing apparatus includes a plurality of drive units (4A-4F) for recording or reproducing data, a plurality of drive control units (1A-1C) for controlling operations of the plurality of drive units (4A-4F) by commands, A status storage unit 3 for storing the operating states of the plurality of drive units for each drive unit. In addition, each drive control unit 1A-
1C, before issuing a command to the drive units 4A to 4F, an operation state confirmation unit 6 for confirming an operation state of each drive unit stored in the status storage unit 3, and an operation state by the operation state confirmation unit 6 Issuance canceling means 8 for canceling the issuance of the command to the drive unit confirmed to have been confirmed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、記録再生装置に係
り、特に、複数のドライブ部へデータを記録しまたは再
生する記録再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording / reproducing apparatus, and more particularly, to a recording / reproducing apparatus for recording or reproducing data in or from a plurality of drive units.

【0002】[0002]

【従来の技術】従来より、複数のドライブ部を使用して
信頼性を向上させ、または高速なデータ転送を行わせる
記録再生装置が用いられている。例えば、複数のドライ
ブ部に同一のデータを記録することで、一方のドライブ
部に障害が発生した場合にもデータが失われることを防
止しする。また、データの排他的論理和を演算し、記録
しておくとで、1つのドライブ部に障害が発生した場合
であってもデータの復旧を行わせることができる。さら
には、ドライブ部を制御するドライブ制御部を複数用意
すると、一方のドライブ制御部に障害が発生しても、他
方のドライブ制御部で処理を続行することができる。こ
のように複数のディスク部やディスク制御部を使用して
データの記録および再生を行うシステムは、一般に、デ
ィスクアレイシステム、ディスクサブシステムなどと呼
ばれる。
2. Description of the Related Art Hitherto, a recording / reproducing apparatus which uses a plurality of drive units to improve reliability or perform high-speed data transfer has been used. For example, by recording the same data in a plurality of drive units, data loss is prevented even when a failure occurs in one of the drive units. Further, by calculating and recording the exclusive OR of the data, it is possible to restore the data even when a failure occurs in one drive unit. Further, if a plurality of drive control units for controlling the drive units are prepared, even if a failure occurs in one of the drive control units, the processing can be continued in the other drive control unit. Such a system that records and reproduces data by using a plurality of disk units and disk control units is generally called a disk array system, a disk subsystem, or the like.

【0003】従来のデータ記録再生装置では、ドライブ
部と上位装置との間のインタフェースとしてSCSIを
採用している。図5の状態遷移図を参照すると、SCS
Iでは、ドライブ制御部(イニシエータ)がドライブ部
(ターゲット)を選択し、データの送受信を実行するま
で、大きく4段階を経る。まず、バスがフリーであるか
否かを確認する。アービトレーション・フェーズでは、
イニシエータ又はターゲットがバスの占有権を獲得す
る。次いで、セレクション又はリセレクションフェーズ
では、バスの占有権を獲得したイニシエータ又はターゲ
ットが、データの転送相手となるターゲット又はイニシ
エータを選択する。これは、選択するためのコマンドを
イニシエータ又はターゲットへ送信することで実行す
る。セレクションに成功すると、イニシエータとターゲ
ットとの間でデータの転送を行う。
A conventional data recording / reproducing device employs SCSI as an interface between a drive unit and a host device. Referring to the state transition diagram of FIG.
In I, there are roughly four steps until the drive control unit (initiator) selects the drive unit (target) and executes data transmission / reception. First, check whether the bus is free. In the arbitration phase,
The initiator or target acquires the right to occupy the bus. Next, in the selection or reselection phase, the initiator or target that has acquired the right to occupy the bus selects a target or initiator to be a data transfer partner. This is performed by sending a command for selection to the initiator or target. If the selection is successful, the data is transferred between the initiator and the target.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、複数台
のイニシエータ(ドライブ制御部)を有するデータ記録
再生装置では、一方のイニシエータによって選択された
ドライブ部に対して、他方のイニシエータがセレクショ
ン・コマンドを発行することがあった。すると、選択し
得ないドライブ部に対する不要なコマンドでバスを使用
することとなり、バスの使用率が低下する、という不都
合があった。しかも、複数のイニシエータによって複数
のドライブ部をアクセスすることで全体的に高速な処理
を行おうとした場合に、すでに動作中のドライブ部に対
してセレクション・コマンドを発行する処理は、実際に
は、無駄な処理といえる。すなわち、動作中のドライブ
部に対してもセレクションを実行していたため、動作中
であって接続できないにもかかわらず、このセレクショ
ンを行う間バスを占有してしまい、これにより、他方の
ドライブ制御部が当該バスを使用できなくなる、という
不都合があった。
However, in a data recording / reproducing apparatus having a plurality of initiators (drive control units), the other initiator issues a selection command to the drive unit selected by one initiator. There was something to do. Then, the bus is used by an unnecessary command for the drive unit that cannot be selected, and there is a disadvantage that the bus usage rate is reduced. Moreover, when a high-speed process is to be performed as a whole by accessing a plurality of drive units by a plurality of initiators, the process of issuing a selection command to a drive unit that is already operating is actually performed. This is useless processing. That is, since the selection is also performed for the operating drive unit, the bus is occupied during the selection even though the connection is in operation and the connection cannot be established. However, there is a disadvantage that the bus cannot be used.

【0005】[0005]

【発明の目的】本発明は、かかる従来例の有する不都合
を改善し、特に、複数のディスク制御部と複数のドライ
ブ部を有し並列してデータ転送を行う場合に、全体的な
動作を無駄なく高速に行うことのできるデータ記録再生
装置を提供することを、その目的とする。
SUMMARY OF THE INVENTION The object of the present invention is to improve the disadvantages of the prior art, especially when the data transfer is performed in parallel with a plurality of disk controllers and a plurality of drives, and the entire operation is wasted. It is an object of the present invention to provide a data recording / reproducing apparatus which can perform data processing at high speed without any problem.

【0006】[0006]

【課題を解決するための手段】そこで、本発明では、デ
ータを記録又は再生する複数のドライブ部と、この複数
のドライブ部の動作をコマンドにより制御する複数のド
ライブ制御部と、複数のドライブ部の動作状態を各ドラ
イブ部毎に記憶するステータス記憶部とを備え、ドライ
ブ制御部は、ドライブ部にコマンドを発行する前に、ス
テータス記憶部に格納されている各ドライブ部の動作状
態を確認する動作状態確認手段と、この動作状態確認手
段によって動作中と確認されたドライブ部に対してはコ
マンドの発行を中止する発行中止手段とを備えた、とい
う構成を採っている。これにより前述した目的を達成し
ようとするものである。
Accordingly, in the present invention, a plurality of drive units for recording or reproducing data, a plurality of drive control units for controlling operations of the plurality of drive units by commands, and a plurality of drive units are provided. And a status storage unit that stores the operation state of each drive unit for each drive unit. The drive control unit checks the operation state of each drive unit stored in the status storage unit before issuing a command to the drive unit. An operation state confirmation unit and an issue suspension unit for suspending the issuance of a command to the drive unit confirmed to be operating by the operation state confirmation unit are provided. This aims to achieve the above-mentioned object.

【0007】動作確認手段は、各ドライブ部の動作状態
を各ドライブ部へ問い合わせを発行することなく、ステ
ータス記憶部に格納されているステータス情報(動作状
態情報)に応じて確認する。そして、ドライブ制御部
は、この動作確認手段によって動作中と確認されたドラ
イブ部に対しては、コマンドの発行を中止する。従っ
て、動作中のドライブ部へ不必要なコマンドを発行する
ことなく、しかも、応答を待機する時間が不要となる。
そして、バスが不必要なコマンドによって占有されるこ
とがない。これにより、上記課題を解決する。
The operation check means checks the operation state of each drive unit according to the status information (operation state information) stored in the status storage unit without issuing an inquiry to each drive unit. Then, the drive control unit stops issuing the command to the drive unit that is confirmed to be operating by the operation confirmation unit. Therefore, unnecessary commands are not issued to the operating drive unit, and time for waiting for a response is not required.
And the bus is not occupied by unnecessary commands. This solves the above problem.

【0008】また、本発明では、上記動作確認手段およ
び発行中止手段に代えて、ドライブ部の状態に応じてス
テータス記憶部へステータス情報を記録又は更新するス
テータス情報制御手段と、このステータス情報制御手段
によって記録又は更新されたステータス情報に応じてド
ライブ部へコマンドを発行するか否かを決定する発行可
否決定手段とを備え、という構成を採っている。
Further, in the present invention, instead of the operation checking means and the issuance canceling means, status information control means for recording or updating status information in a status storage unit according to the state of the drive unit, and the status information control means Issuing permission / inhibition determining means for determining whether or not to issue a command to the drive unit in accordance with the status information recorded or updated by the control unit.

【0009】ここでは、ドライブへのコマンドを送信す
る際に、ステータス記憶部にドライブ部の動作状況を示
すステータス情報を書き込む。このステータスバッファ
部の情報を元にドライブの動作状態を確認し、例えば、
その状態が未使用状態の時にコマンドの送信を行う。
Here, when transmitting a command to the drive, status information indicating the operation status of the drive unit is written in the status storage unit. Check the operation status of the drive based on the information in the status buffer section, for example,
The command is transmitted when the state is unused.

【0010】[0010]

【発明の実施の形態】次に、本発明の実施の形態を図面
を参照して説明する。図1は本実施形態の構成を示すブ
ロック図である。図1に示すように、データ記録再生装
置は、データを記録又は再生する複数のドライブ部4A
〜4Fと、この複数のドライブ部4A〜4Fの動作をコ
マンドにより制御する複数のドライブ制御部1A〜1C
と、複数のドライブ部の動作状態を各ドライブ部毎に記
憶するステータス記憶部3とを備えている。このドライ
ブ部4A〜4Fと、ドライブ制御部1A〜1Cとは、バ
ス2で接続されている。ドライブ部4A〜4Fは、磁気
ディスク装置や、光磁気ディスク装置などの物理的スト
レージである。ステータス記憶部3は、各ドライブ部4
A〜4Fが動作中であるか否かの動作情報をステータス
情報として記憶する。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the present embodiment. As shown in FIG. 1, the data recording / reproducing apparatus includes a plurality of drive units 4A for recording or reproducing data.
To 4F and a plurality of drive control units 1A to 1C for controlling the operations of the plurality of drive units 4A to 4F by commands.
And a status storage unit 3 for storing operating states of the plurality of drive units for each drive unit. The drive units 4A to 4F and the drive control units 1A to 1C are connected by a bus 2. The drive units 4A to 4F are physical storages such as a magnetic disk device and a magneto-optical disk device. The status storage unit 3 stores each drive unit 4
Operation information indicating whether or not A to 4F is operating is stored as status information.

【0011】図2を参照すると、各ドライブ制御部1A
〜1Cは、ドライブ部4A〜4Fにコマンドを発行する
前に、ステータス記憶部3に格納されている各ドライブ
部の動作状態を確認する動作状態確認手段6と、この動
作状態確認手段6によって動作中と確認されたドライブ
部に対してはコマンドの発行を中止する発行中止手段8
とを備えている。この図2に示す例では、発行中止手段
8が、動作中のドライブ部に対するコマンドの発行を中
止するため、不要なコマンドでバス2を占有することが
ない。従って、必要なコマンドのみがバスを使用するこ
ととなり、全体のバスの使用効率が向上する。これによ
り、全体の動作速度をより高速にする。
Referring to FIG. 2, each drive control unit 1A
Before issuing a command to the drive units 4A to 4F, the operation state confirmation unit 6 confirms the operation state of each drive unit stored in the status storage unit 3, and operates by the operation state confirmation unit 6. Issuance canceling means 8 for canceling the issuance of a command to the drive unit confirmed as medium
And In the example shown in FIG. 2, the issuance canceling unit 8 cancels the issuance of the command to the operating drive unit, so that the bus 2 is not occupied by an unnecessary command. Therefore, only necessary commands use the bus, and the overall bus use efficiency is improved. This makes the overall operation speed higher.

【0012】図3を参照すると、ドライブ制御部1A〜
1Cは、ドライブ部4A〜4Fの状態に応じてステータ
ス記憶部3へステータス情報を記録又は更新するステー
タス情報制御手段10と、このステータス情報制御手段
10によって記録又は更新されたステータス情報に応じ
てドライブ部へコマンドを発行するか否かを決定する発
行可否決定手段16とを備えている。
Referring to FIG. 3, drive control units 1A to 1A
1C is a status information control unit 10 for recording or updating status information in the status storage unit 3 in accordance with the status of the drive units 4A to 4F, and a drive in accordance with the status information recorded or updated by the status information control unit 10. And an issuance determination unit 16 for determining whether to issue a command to the unit.

【0013】ステータス情報制御手段10は、例えば、
あるドライブ部1Aへコマンドを発行した時に、ステー
タス記憶部3の対応するステータスを「動作中」に書き
換える第1の書換機能11を備える。また、ステータス
情報制御手段10は、ドライブ部1Aの動作状態を動作
中とした後、当該ドライブ部1A発行したコマンドが終
了した時に、ステータス記憶部3の対応するステータス
を「動作中」から「待機中」に書き換える第2の書換機
能12を備えている。
The status information control means 10 includes, for example,
When a command is issued to a certain drive unit 1A, a first rewrite function 11 for rewriting the corresponding status of the status storage unit 3 to “operating” is provided. Further, the status information control unit 10 sets the operation status of the drive unit 1A to “in operation”, and when the command issued by the drive unit 1A ends, changes the corresponding status in the status storage unit 3 from “in operation” to “standby”. A second rewriting function 12 for rewriting to “medium” is provided.

【0014】さらに、ステータス情報制御手段10は、
この第2の書換機能12に代えて、ドライブ部1Aの動
作状態を動作中とした後、さらにドライブ部1Aへ発行
したコマンドが終了し、その後当該ドライブ部1Aとの
再接続に成功した時には、ステータス記憶部3の対応す
るステータスを「動作中」から「待機中」へ書き換える
第3の書換機能13を備えるようにしてもよい。
Further, the status information control means 10
In place of the second rewriting function 12, after the operation state of the drive unit 1A is set to “operating”, when the command issued to the drive unit 1A ends, and when the reconnection with the drive unit 1A succeeds thereafter, A third rewriting function 13 for rewriting the corresponding status in the status storage unit 3 from “in operation” to “standby” may be provided.

【0015】また、各ドライブ制御部1A〜Cのそれぞ
れのステータス情報制御手段10は、ステータス情報記
憶手段3に格納されたステータスが「動作中」である場
合には、当該「動作中」に更新したステータス情報制御
手段10のみに当該「動作中」のステータスを「待機
中」へ変更する更新権を与えるとよい。これにより、ド
ライブ制御部1Aが動作中として現在データ転送を行っ
ているドライブ部のステータスを、他のドライブ制御部
1Bが変更するという不都合が防止される。
When the status stored in the status information storage means 3 is "operating", the status information control means 10 of each of the drive control sections 1A to 1C updates the status to "operating". It is preferable that only the status information control means 10 given the update right to change the status of “operating” to “standby”. This prevents the inconvenience of another drive control unit 1B changing the status of the drive unit that is currently performing data transfer while the drive control unit 1A is operating.

【0016】一方、発行可否決定手段16は、上位装置
からドライブ部4Aへのアクセス命令があった時に当該
ドライブ部4Aについてステータス記憶部3に「動作
中」と記録されていた場合には当該ドライブ部4Aへコ
マンドを発行することなく、上位装置に動作中と報告す
る機能を備えている。図2に示した発行中止手段とほぼ
同様の機能である。
On the other hand, when the issuance determination unit 16 receives an access command from the host device to the drive unit 4A, if the status storage unit 3 records "operating" for the drive unit 4A, the issuance determination unit 16 determines that the drive is in operation. A function is provided for reporting to the upper-level device that it is operating without issuing a command to the unit 4A. This is almost the same function as the issuance canceling means shown in FIG.

【0017】上述したように本実施形態では、ドライブ
部の状態をステータス情報で管理し、動作中のドライブ
部へコマンドを発行しないため、バスの使用効率が向上
し、ひいては、データ記録再生装置全体の処理を高速に
することができる。
As described above, in the present embodiment, the status of the drive unit is managed by the status information, and no command is issued to the operating drive unit, so that the bus use efficiency is improved and, consequently, the entire data recording / reproducing apparatus is improved. Can be processed at high speed.

【0018】[0018]

【実施例】次に、本発明の実施の形態について図4を参
照して詳細に説明する。図3に示す例では、ドライブ制
御部1A〜1Cは、それぞれ、ドライブ制御部1が、上
位装置から出力されるコマンドをデコードしてドライブ
部4へ出力するデコーダ23,24と、上位装置とのコ
マンドの転送を制御する上位装置制御部21,22とを
備えている。
Next, an embodiment of the present invention will be described in detail with reference to FIG. In the example illustrated in FIG. 3, the drive control units 1A to 1C respectively include decoders 23 and 24 that the drive control unit 1 decodes a command output from a higher-level device and outputs to the drive unit 4; Higher-level device controllers 21 and 22 for controlling command transfer are provided.

【0019】すなわち、図3を参照すると、データ記録
再生装置は、コマンドの送受信を行う上位制御部21お
よび上位制御部22と、送られてきたコマンドのデコー
ドを行うデコード部23およびデコード部24と、コマ
ンドの実行を行うドライブ部26およびドライブ部27
と、使用しているドライブ部の動作状態を示すステータ
スを格納するステータスバッファ部(ステータス記憶
部)25によって構成される。
That is, referring to FIG. 3, the data recording / reproducing apparatus includes a high-order control unit 21 and a high-order control unit 22 for transmitting and receiving commands, a decoding unit 23 and a decoding unit 24 for decoding transmitted commands. Unit 26 and drive unit 27 for executing commands
And a status buffer unit (status storage unit) 25 for storing a status indicating the operation state of the drive unit used.

【0020】上位制御部21からドライブ部26を動作
させる場合、上位制御部21からデコード部23ヘコマ
ンドを送り、デコード部23でその送られてきたコマン
ドの解読を行う。デコード部23で識別されたコマンド
がドライブ部26を制御するコマンドの場合、まずステ
ータスレジスタ部25にドライブ26の動作状況を確認
する。
When operating the drive unit 26 from the upper control unit 21, a command is sent from the upper control unit 21 to the decoding unit 23, and the decoding unit 23 decodes the transmitted command. When the command identified by the decoding unit 23 is a command for controlling the drive unit 26, first, the operation status of the drive 26 is checked in the status register unit 25.

【0021】ドライブ部26が動作していない場合、コ
マンドが送られてきたデコード部23からステータスレ
ジスタ部25にデコード部23で識別されたドライブ部
26へのコマンドに対するドライブ部26の動作のステ
ータスを記録し、その送られてきたコマンドをドライブ
部26でそのコマンドを実行する。
When the drive unit 26 is not operating, the status register unit 25 receives the command and sends the status register unit 25 the status of the operation of the drive unit 26 in response to the command to the drive unit 26 identified by the decode unit 23. The command is recorded, and the transmitted command is executed by the drive unit 26.

【0022】デコード部23は送信したコマンドをドラ
イブ部26が完了するまで監視を行い、ドライブ部26
がコマンドに対する動作を完了した場合にステータスバ
ッファ部25にドライブ部29が使用されていない状態
であるというステータスを書き込む。
The decoding unit 23 monitors the transmitted command until the drive unit 26 completes the command.
Writes the status indicating that the drive unit 29 is not used in the status buffer unit 25 when the operation for the command is completed.

【0023】ステータスレジスタ部25はドライブ部2
6が未使用法態であるステータスであるときにはデコー
ド部23からの書き込みを許可する。デコード部23が
コマンドを受け取ったときにそのコマンドに対するドラ
イブ部26の動作を示すステータスを書き込む。その
後、ステータスバッファ部25はドライブ部26のステ
ータスに対してデコード部23からステータスの書き込
みは許可するが、使用していないデコード部24からの
書き込みは許可せず読み出し専用とする。
The status register section 25 includes the drive section 2
When the status 6 is the unused status, writing from the decoding unit 23 is permitted. When the decoding unit 23 receives the command, it writes a status indicating the operation of the drive unit 26 for the command. Thereafter, the status buffer unit 25 permits writing of the status of the drive unit 26 from the decoding unit 23, but does not permit writing of the unused decoding unit 24, and makes the status read-only.

【0024】ドライブ部26のコマンドに対する動作終
了後、デコード部23からステータスバッファ部25に
ドライブ部26が未使用であるステータスを書き込む。
この時、デコード部23、デコード部24共にステータ
スバッファ部25に対する書き込みを許可する。上位制
御部21からドライブ部26にコマンドを送信しドライ
ブ部26が動作時に、他の上位制御部22からドライブ
部26を動作させようとコマンドを送信した場合、ステ
ータスバッファ部25のドライブ部26のステータスが
動作中であることをデコード部24が認識し、ドライブ
部26に対するコマンド送信を中止する。
After the operation of the drive unit 26 in response to the command is completed, the status that the drive unit 26 is unused is written from the decoding unit 23 to the status buffer unit 25.
At this time, both the decoding unit 23 and the decoding unit 24 permit writing to the status buffer unit 25. When a command is transmitted from the higher-level control unit 21 to the drive unit 26 and the drive unit 26 operates, and a command is transmitted from another higher-level control unit 22 to operate the drive unit 26, the drive unit 26 of the status buffer unit 25 The decoding unit 24 recognizes that the status is “operating”, and stops sending commands to the drive unit 26.

【0025】上位制御部21からドライブ部26にコマ
ンドを送信しドライブ部26が動作時に、他の上位制御
部22からドライブ部27を動作させようとコマンドを
送信した場合、ステータスバッファ部25のドライブ部
27のステータスはドライブ部27が未使用であること
をデコード部24が認識し、ステータスバッファ部25
のドライブ部27のステータスをドライブ部26が動作
中と書き込み、デコード部24からドライブ部27に対
してコマンドを送信する。
When a command is transmitted from the higher-level control unit 21 to the drive unit 26 and a command is transmitted from another higher-level control unit 22 to operate the drive unit 27 while the drive unit 26 is operating, the drive of the status buffer unit 25 is The decoding unit 24 recognizes that the status of the unit 27 is not used by the drive unit 27, and the status buffer unit 25
Is written that the drive unit 26 is operating, and a command is transmitted from the decode unit 24 to the drive unit 27.

【0026】上位制御部21からドライブ部26にリー
ド/ライト動作させる場合を例としてあげる。上位制御
部21からデコード部23ヘリード/ライトコマンドを
送る。デコード部23では、その送られてきたコマンド
の解読を行い、スタータスレジスタ部25にドライブ2
6の動作状況を確認する。このとき、ドライブ部26は
未使用状態であり、ステータスバッファ部にはこの状態
を示すステータスが1バイトのコードで記録されてい
る。
A case where the upper control unit 21 causes the drive unit 26 to perform a read / write operation will be described as an example. The host controller 21 sends a read / write command to the decoder 23. The decoding unit 23 decodes the sent command, and stores the drive 2 in the status register unit 25.
Check the operation status of 6. At this time, the drive unit 26 is in an unused state, and a status indicating this state is recorded in the status buffer unit as a one-byte code.

【0027】デコード部23は、ステータスバッファ部
25に対してリード/ライト中であることを1バイトの
コードで書き込み、その後ドライブ部26へライト/リ
ード命令を送信する。ドライブ部26ではリード/ライ
トコマンドを受信し、実行する。このときドライブ部2
6はリード/ライトコマンドを実行する際シーク動作が
含まれることがあり、5ミリ秒程度の時間が経過するこ
とがあるため、ドライブ部のバスはバスフリーの状態と
なり、他の上位制御部から使用可能となる。この状態の
時に上位制御部22からドライブ部26ヘリード/ライ
ト動作させるものとする。
The decoding unit 23 writes that reading / writing is being performed to the status buffer unit 25 with a one-byte code, and then transmits a write / read command to the drive unit 26. The drive unit 26 receives and executes the read / write command. At this time, drive unit 2
No. 6 includes a seek operation when a read / write command is executed, and a time of about 5 milliseconds may elapse. Therefore, the bus of the drive unit is in a bus-free state, and the other high-order control units It can be used. In this state, the upper control unit 22 performs a read / write operation to the drive unit 26.

【0028】次いで、上位制御部22からデコード部2
4へリード/ライトコマンドを送る。デコード部24で
は、その送られてきたコマンドの解読を行い、ステータ
スレジスタ部25にドライブ26の動作状況を確認す
る。このときステータスバッファ25のドライブ部26
のステータスはリード/ライト実施中のステータスが書
き込まれているため、デコード部24から上位制御部2
2に対してセレクションタイムアウトを返す。
Next, the host control unit 22 sends the decoding unit 2
4 and sends a read / write command. The decoding unit 24 decodes the transmitted command, and confirms the operation status of the drive 26 in the status register unit 25. At this time, the drive unit 26 of the status buffer 25
Since the status of “read / write” is written in the status “1”, the decoding unit 24
Returns the selection timeout for 2.

【0029】この時にデコード部24からドライブ部2
6の問でセレクション等バスの使用を行わない。同様
に、上位制御部22からドライブ部27にリード/ライ
ト動作させる場合には、上位制御部22からデコード部
24へリード/ライトコマンドを送り、デコード部24
では、その送られてきたコマンドの解読を行い、ステー
タスレジスタ部25にドライブ26の動作状況を確認す
る。このとき、ドライブ部27は未使用状態であり、ス
テータスバッファ部25にはこの状態を示すステータス
が記録されている。
At this time, the decoding unit 24 sends the drive unit 2
Do not use the bus for selection etc. in question 6. Similarly, when performing a read / write operation from the higher-level control unit 22 to the drive unit 27, a read / write command is sent from the higher-level control unit 22 to the decoding unit 24, and the decoding unit 24
Then, the received command is decoded, and the operation status of the drive 26 is confirmed in the status register unit 25. At this time, the drive unit 27 is in the unused state, and the status indicating this state is recorded in the status buffer unit 25.

【0030】デコード部23は、ステータスバッファ部
25に対してリード/ライト中であることを書き込み、
その後ドライブ部26へライト/リード命令を送信す
る。ドライブ部27ではリード/ライトコマンドを受信
し、実行する。ドライブ部26のリード/ライトコマン
ドの処理が終了したとき、バスがバスフリー状態であれ
ばドライブ部26からデコーダ部23に対して再接続を
実施する。
The decoding unit 23 writes to the status buffer unit 25 that reading / writing is in progress,
Thereafter, a write / read command is transmitted to the drive unit 26. The drive unit 27 receives and executes the read / write command. When the processing of the read / write command of the drive unit 26 is completed, if the bus is in the bus free state, the drive unit 26 reconnects to the decoder unit 23.

【0031】再接続し、リード/ライトコマンド動作が
終了したことを確認後、デコード部23からステータス
バッファ部25へドライブ部26が未使用状態であるこ
とを示すステータスを書き込み、上位制御部21にコマ
ンド動作完了を返す。
After reconnecting and confirming that the read / write command operation has been completed, a status indicating that the drive unit 26 is in an unused state is written from the decoding unit 23 to the status buffer unit 25, and is written to the upper control unit 21. Returns command operation completion.

【0032】上述したように本実施例によると、ドライ
ブへのコマンドを送信する際に、ステータスバッファ部
にドライブ部の動作状況を示すステータスを書き込むた
め、磁気ディスク装置の自体の処理速度の向上を計れ
る。これは、このステータスバッファ部の情報を元にド
ライブの動作状態を確認し、その状態が未使用状態の時
にコマンドの送信を行うため、バスの使用率を下げてい
るからである。
As described above, according to the present embodiment, when transmitting a command to the drive, the status indicating the operation status of the drive unit is written in the status buffer unit, so that the processing speed of the magnetic disk device itself can be improved. I can measure. This is because the operation state of the drive is confirmed based on the information in the status buffer unit, and a command is transmitted when the state is unused, so that the bus utilization is reduced.

【0033】[0033]

【発明の効果】本発明は上述のように構成され機能する
ので、これによると、動作確認手段が、各ドライブ部の
動作状態を各ドライブ部へ問い合わせを発行することな
く、ステータス記憶部に格納されているステータス情報
(動作状態情報)に応じて確認し、ドライブ制御部は、
この動作確認手段によって動作中と確認されたドライブ
部に対しては、コマンドの発行を中止するため、動作中
のドライブ部へ不必要なコマンドを発行することなく、
従って、バスが不必要なコマンドによって占有されるこ
とがなく、このため、バスの使用効率が向上することで
全体的な処理が高速となり、さらには、不必要なコマン
ドの発行およびその応答が行われないため、これによっ
ても、より高速なデータ転送を行うことができるという
従来にない優れたデータ記録再生装置を提供することが
できる。
Since the present invention is constructed and functions as described above, according to this, the operation check means stores the operation state of each drive unit in the status storage unit without issuing an inquiry to each drive unit. The drive control unit checks according to the status information (operating state information)
For the drive unit that is confirmed to be operating by the operation check unit, the command issuance is stopped, so that unnecessary commands are not issued to the operating drive unit.
Therefore, the bus is not occupied by unnecessary commands, thereby improving the efficiency of use of the bus, thereby increasing the overall processing speed, and issuing unnecessary commands and responding to them. Therefore, this also provides an unprecedented superior data recording / reproducing apparatus capable of performing higher-speed data transfer.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の装置の実施の形態のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the device of the present invention.

【図2】図1に示したドライブ制御部の詳細構成を示す
ブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of a drive control unit shown in FIG.

【図3】図1に示したドライブ制御部の他の例を示すブ
ロック図である。
FIG. 3 is a block diagram illustrating another example of the drive control unit illustrated in FIG. 1;

【図4】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing a configuration of one embodiment of the present invention.

【図5】SCSIの状態変遷を示す状態変遷図である。FIG. 5 is a state transition diagram showing SCSI state transition.

【符号の説明】[Explanation of symbols]

1A〜1C ドライブ制御部(例えば、アレイコントロ
ーラ) 2 バス 3 ステータス記憶部 4A〜4F ドライブ部(例えば、磁気ディスク装置) 6 動作状態確認手段 8 発行中止手段
1A to 1C Drive control unit (for example, array controller) 2 Bus 3 Status storage unit 4A to 4F Drive unit (for example, magnetic disk device) 6 Operation status check unit 8 Issuance stop unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 3/06 540 G11B 19/02 501 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 3/06 540 G11B 19/02 501

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データを記録又は再生する複数のドライ
ブ部と、この複数のドライブ部の動作をコマンドにより
制御する複数のドライブ制御部と、前記複数のドライブ
部の動作状態を各ドライブ部毎に記憶するステータス記
憶部とを備え、 前記ドライブ制御部は、前記ドライブ部にコマンドを発
行する前に、前記ステータス記憶部に格納されている各
ドライブ部の動作状態を確認する動作状態確認手段と、
この動作状態確認手段によって動作中と確認されたドラ
イブ部に対してはコマンドの発行を中止する発行中止手
段とを備えたことを特徴とする記録再生装置。
1. A plurality of drive units for recording or reproducing data, a plurality of drive control units for controlling operations of the plurality of drive units by commands, and an operation state of the plurality of drive units for each drive unit A status storage unit for storing, the drive control unit, before issuing a command to the drive unit, an operation state confirmation unit that confirms the operation state of each drive unit stored in the status storage unit,
A recording / reproducing apparatus, comprising: an issue suspending means for suspending the issuance of a command to the drive unit which is confirmed to be operating by the operating state confirming means.
【請求項2】 データを記録又は再生する複数のドライ
ブ部と、この複数のドライブ部の動作をコマンドにより
制御する複数のドライブ制御部と、前記複数のドライブ
部の動作状態を各ドライブ部毎に記憶するステータス記
憶部とを備え、 前記ドライブ制御部は、前記ドライブ部の状態に応じて
前記ステータス記憶部へステータス情報を記録又は更新
するステータス情報制御手段と、このステータス情報制
御手段によって記録又は更新されたステータス情報に応
じて前記ドライブ部へコマンドを発行するか否かを決定
する発行可否決定手段とを備えたことを特徴とする記録
再生装置。
2. A plurality of drive units for recording or reproducing data, a plurality of drive control units for controlling operations of the plurality of drive units by commands, and an operation state of the plurality of drive units for each drive unit A status storage unit that stores the status information, wherein the drive control unit records or updates status information in the status storage unit according to the state of the drive unit, and the status information control unit records or updates the status information. Recording / reproducing apparatus comprising: issuance permission / inhibition determining means for determining whether or not to issue a command to the drive unit in accordance with the received status information.
【請求項3】 前記ステータス情報制御手段は、前記ド
ライブ部へコマンドを発行した時に、前記ステータス記
憶部の対応するステータスを「動作中」に書き換える第
1の書換機能を備えたことを特徴とする請求項2記載の
記録再生装置。
3. The status information control means has a first rewriting function of rewriting a corresponding status of the status storage unit to “operating” when a command is issued to the drive unit. The recording / reproducing apparatus according to claim 2.
【請求項4】 前記ステータス情報制御手段は、前記ド
ライブ部の動作状態を動作中とした後、当該ドライブ部
へ発行したコマンドが終了した時に、前記ステータス記
憶部の対応するステータスを「動作中」から「待機中」
に書き換える第2の書換機能を備えたことを特徴とする
請求項3記載の記録再生装置。
4. The status information control means sets the corresponding status of the status storage unit to "operating" when the command issued to the drive unit ends after setting the operation state of the drive unit to operating. From "waiting"
4. The recording / reproducing apparatus according to claim 3, further comprising a second rewriting function for rewriting the data.
【請求項5】 前記ステータス情報制御手段は、前記ド
ライブ部の動作状態を動作中とした後、さらに前記ドラ
イブ部へ発行したコマンドが終了し、その後当該ドライ
ブ部との再接続に成功した時には、前記ステータス記憶
部の対応するステータスを「動作中」から「待機中」へ
書き換える第3の書換機能を備えたことを特徴とする請
求項4記載の記録再生装置。
5. The status information control means, when the operation state of the drive unit is set to “operating”, when a command issued to the drive unit ends, and when reconnection with the drive unit succeeds thereafter, The recording / reproducing apparatus according to claim 4, further comprising a third rewriting function for rewriting a corresponding status in the status storage unit from "operating" to "waiting".
【請求項6】 前記各ドライブ制御部のそれぞれのステ
ータス情報制御手段は、前記ステータス情報記憶手段に
格納されたステータスが「動作中」である場合には当該
「動作中」に更新したステータス情報制御手段のみに当
該「動作中」のステータスを「待機中」へ変更する更新
権を与えたことを特徴とする請求項2、3、4又は5記
載の記録再生装置。
6. The status information control unit of each of the drive control units, when the status stored in the status information storage unit is “operating”, the status information control unit updates the status information to “operating”. 6. The recording / reproducing apparatus according to claim 2, wherein an update right for changing the status of "operating" to "waiting" is given only to the means.
【請求項7】 前記発行可否決定手段は、上位装置から
ドライブ部へのアクセス命令があった時に当該ドライブ
部について前記ステータス記憶部に「動作中」と記録さ
れていた場合には当該ドライブ部へコマンドを発行する
ことなく前記上位装置に動作中と報告する機能を備えた
ことを特徴とする請求項2、3、4又は5記載の記録再
生装置。
7. The issuance determination unit determines whether the drive unit is “operating” when the status storage unit records “in operation” when an access command from the host device to the drive unit is issued. 6. The recording / reproducing apparatus according to claim 2, further comprising a function of reporting to the host apparatus that the operation is in progress without issuing a command.
【請求項8】 前記ドライブ制御部が、上位装置から出
力されるコマンドをデコードして前記ドライブ部へ出力
するデコーダであることを特徴とする請求項1又は2記
載の記録再生装置。
8. The recording / reproducing apparatus according to claim 1, wherein the drive control unit is a decoder that decodes a command output from a host device and outputs the command to the drive unit.
JP10025641A 1998-02-06 1998-02-06 Recording and playback device Expired - Lifetime JP2927287B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10025641A JP2927287B1 (en) 1998-02-06 1998-02-06 Recording and playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10025641A JP2927287B1 (en) 1998-02-06 1998-02-06 Recording and playback device

Publications (2)

Publication Number Publication Date
JP2927287B1 true JP2927287B1 (en) 1999-07-28
JPH11224167A JPH11224167A (en) 1999-08-17

Family

ID=12171476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10025641A Expired - Lifetime JP2927287B1 (en) 1998-02-06 1998-02-06 Recording and playback device

Country Status (1)

Country Link
JP (1) JP2927287B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003250557A1 (en) 2002-07-31 2004-02-16 Samsung Electronics Co., Ltd. Information storage medium and method of recording information thereon
JP5000858B2 (en) * 2005-06-03 2012-08-15 三菱電機株式会社 Data processing device

Also Published As

Publication number Publication date
JPH11224167A (en) 1999-08-17

Similar Documents

Publication Publication Date Title
US20090043982A1 (en) Automated on-line capacity expansion method for storage device
KR20000035409A (en) A memory device and a method for controlling the same
US5996045A (en) IDE disk drive arrangement that combines the capacity of a master drive and slave drive while hiding the presence of slave drive to a host computer
JPH07281840A (en) Dual-disk recording device
WO2001082050A1 (en) Magnetic disc drive, method for recording data, and method for reproducing data
JP4160139B2 (en) Information recording / reproducing device
US6671751B1 (en) Raid device for establishing a direct passage between a host computer and a hard disk by a data hub selectively passing only data to be accessed
US20060277353A1 (en) Virtual tape library device, virtual tape library system, and method for writing data to a virtual tape
JP2759920B2 (en) Method and apparatus for operating a DASD peripheral data storage subsystem
JP4404751B2 (en) Information processing system, storage device, storage control program, and computer-readable recording medium recording storage control program
JP2927287B1 (en) Recording and playback device
JP2842837B2 (en) Mirror disk system
JPH04111113A (en) Hard disk emulator
US5359623A (en) Magneto-optical disc control system and method for avoiding the need to initialize an entire surface of a storage medium on commencement of use
JP2000148404A (en) Computer system
JPH11143646A (en) Control method for external storage sub-system and external storage sub-system
JPH03290873A (en) Disk type storage device, controller of disk type storage device, and control method for disk type storage device
JPH0793101A (en) Data backup device
JP5621246B2 (en) Disk enclosure and storage system control method
JP3794322B2 (en) Data copy system
JP2003006137A (en) Storage access system
JP3555871B2 (en) Disk array device
JPH09305323A (en) Disk storage system
JPH11175261A (en) Control method for disk
JP2006269032A (en) Method for prevention processing of read abnormality in device unique information of medium storage device, and medium storage device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990413