JP2684803B2 - Information recording / reproducing device - Google Patents

Information recording / reproducing device

Info

Publication number
JP2684803B2
JP2684803B2 JP2003050A JP305090A JP2684803B2 JP 2684803 B2 JP2684803 B2 JP 2684803B2 JP 2003050 A JP2003050 A JP 2003050A JP 305090 A JP305090 A JP 305090A JP 2684803 B2 JP2684803 B2 JP 2684803B2
Authority
JP
Japan
Prior art keywords
disk
data
information recording
recording medium
cache
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 - Fee Related
Application number
JP2003050A
Other languages
Japanese (ja)
Other versions
JPH03208145A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003050A priority Critical patent/JP2684803B2/en
Publication of JPH03208145A publication Critical patent/JPH03208145A/en
Application granted granted Critical
Publication of JP2684803B2 publication Critical patent/JP2684803B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、交換可能な情報記録媒体にデータを記録再
生する情報記録再生装置に関し、特にキャッシュを用い
てデータアクセスを高速化する情報記録再生装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording / reproducing apparatus for recording / reproducing data on / from an exchangeable information recording medium, and more particularly to an information recording / reproducing apparatus for accelerating data access by using a cache. It is a thing.

従来の技術 従来の情報記録再生装置としては、日経エレクトロニ
クス1985.3.11,pp.159〜187に示されている。
2. Description of the Related Art A conventional information recording / reproducing apparatus is disclosed in Nikkei Electronics 1985.3.11, pp.159-187.

第2図は、この従来の情報記録再生装置の構成図を示
すものであり、1はディスク装置12にデータを記録再生
する上位装置としてのホストコンピュータCPUである。
2はデータやプログラムを格納するCPU1の主記憶であ
る。3はデータの入出力制御を行う、CPU1のチャネルで
ある。10はディスク制御装置で、ディスク装置12および
ディスクキャッシュ11を制御して、データの記録再生を
高速化する。11はディスクキャッシュで、ディスク装置
12とCPU1との間のデータアクセスを高速化するためのメ
モリである。
FIG. 2 is a block diagram of this conventional information recording / reproducing apparatus, in which reference numeral 1 is a host computer CPU as a host apparatus for recording / reproducing data on / from the disk device 12.
Reference numeral 2 is a main memory of the CPU 1 which stores data and programs. Reference numeral 3 is a channel of the CPU 1 which controls input / output of data. A disk controller 10 controls the disk device 12 and the disk cache 11 to speed up data recording and reproduction. 11 is a disk cache, a disk device
This is a memory for speeding up data access between the CPU 12 and the CPU 1.

以上のように構成された従来の情報記録再生装置の動
作を、第3図に示した動作図を用いて説明する。
The operation of the conventional information recording / reproducing apparatus configured as described above will be described with reference to the operation diagram shown in FIG.

(1) データ読み出しの場合 ディスク制御装置10は、あるデータが特定のファイル
からアクセスされたとき、そのファイルの次のブロック
がディスクキャッシュ11になければそれも同時にディス
ク装置12から先読み(プリフェッチ)しておく。
(1) In the case of data reading When a certain data is accessed from a specific file, the disk controller 10 prefetches (prefetches) from the disk device 12 at the same time if the next block of the file is not in the disk cache 11. Keep it.

この状態で、CPU1からあるファイルに対するデータ読
み出し要求100が出たとすると、ディスク制御装置10
は、ディスク制御装置10に格納されているディスクキャ
ッシュディレクトリDIRを参照し、該当ファイルの目的
とするデータブロックがディスクキャッシュ11内にある
かどうかを調べる。ディスクキャッシュ11にデータがあ
る(ヒットした)場合、ディスクキャッシュ11から主記
憶2にチャネル3経由でデータブロックを転送する。デ
ィスクキャッシュミスの場合は、目的のブロックを含む
数ブロック(セクタで構成される)をディスク装置12か
らディスクキャッシュ11に読み取り、その中の目的のブ
ロックを主記憶2に転送する。したがって、ディスクキ
ャッシュ11が確率よくヒットすればデータはディスクキ
ャッシュ11から非常に高速に転送が開始され、データア
クセス速度が改善できることになる。
In this state, if the CPU 1 issues a data read request 100 for a certain file, the disk controller 10
Refers to the disk cache directory DIR stored in the disk controller 10 and checks whether the target data block of the file is in the disk cache 11. When there is data (hit) in the disk cache 11, the data block is transferred from the disk cache 11 to the main memory 2 via the channel 3. In the case of a disk cache miss, several blocks (consisting of sectors) including the target block are read from the disk device 12 to the disk cache 11, and the target block therein is transferred to the main memory 2. Therefore, if the disk cache 11 hits with a high probability, the data starts to be transferred from the disk cache 11 at a very high speed, and the data access speed can be improved.

(2) データ書き込みの場合 この場合は、ディスクキャッシュ11とディスク装置12
のどちらを先に書き換えるかでライトスルー(Write-th
rough)方式とライトバック(Write-back)方式という
よく知られた2つの方法が用いられる。
(2) When writing data In this case, the disk cache 11 and the disk device 12
Write through (Write-th
Two well-known methods, a rough method and a write-back method, are used.

ライトスルー方式では、データをまずディスク装置12
に転送してディスク13に書き込み(第3図における101
で示すデータの流れ)、もし、ディスクキャッシュ11に
記録データに該当するブロックがあってヒットしたら、
ディスクキャッシュ11の該当ブロックを無効にするか、
あるいはディスクキャッシュ11にも同じデータを書き込
む(同図103で示す流れ)。
In the write-through method, the data is first transferred to the disk device 12
And write to the disk 13 (101 in FIG. 3).
(Data flow indicated by), if there is a block corresponding to the recorded data in the disk cache 11 and there is a hit,
Invalidate the corresponding block of disk cache 11 or
Alternatively, the same data is written in the disk cache 11 (flow shown in FIG. 103).

一方、ライトバック方式では、データをディスクキャ
ッシュ11に書き込むことを優先し(同図104で示す流
れ)、ディスクキャッシュ11のデータ置換機構がディス
クキャッシュ11に新しくデータを入れるために空き領域
が必要になったとき、あるいは当該データが不要になっ
たときなどのディスクキャッシュ11の内容とディスク装
置12の内容を一致させたいと判断したときに、ディスク
キャッシュ11のデータをディスク装置12に転送してディ
スク13に書き込む。(同図105で示す流れ) 発明が解決しようとする課題 しかしながら、上記のようなライトバック方式では、
ディスクキャッシュ11のデータをディスク装置12に記録
する前にディスク13が交換されてしまうと、データが正
しくディスク13に記録されないという課題を有してい
た。
On the other hand, in the write-back method, the writing of data to the disk cache 11 is prioritized (the flow shown in FIG. 104), and the data replacement mechanism of the disk cache 11 needs an empty area to put new data in the disk cache 11. When it is determined that the contents of the disk cache 11 and the contents of the disk device 12 should match when the data becomes unnecessary, the data of the disk cache 11 is transferred to the disk device 12 and the data is transferred to the disk device 12. Write to 13. (Flow shown in FIG. 105) Problems to be Solved by the Invention However, in the above-described write-back method,
If the disk 13 is replaced before the data in the disk cache 11 is recorded in the disk device 12, the data will not be recorded correctly in the disk 13.

一方、ライトスルー方式では、ライトバック方式のよ
うにディスク交換でデータが失われることはないが、デ
ィスク制御装置10はCPU1からのデータ書き込み指令を受
け取る度にディスク装置12に記録するためデータ書き込
み動作に時間がかかるという課題を有していた。
On the other hand, in the write-through method, unlike the write-back method, data is not lost due to the disk exchange, but the disk controller 10 records the data in the disk device 12 each time it receives a data write command from the CPU 1, so the data write operation is performed. There was a problem that it took time.

本発明はかかる点に鑑み、情報記録媒体の交換に際し
て、その情報記録媒体の交換を規制してデータを正しく
情報記録媒体に記録し、かつデータ記録部に対するデー
タアクセスを高速に行うことが可能な情報記録再生装置
を提供することを目的とする。
In view of the above point, the present invention makes it possible, when exchanging an information recording medium, to regulate the exchange of the information recording medium to correctly record data on the information recording medium, and to perform high-speed data access to the data recording section. An object is to provide an information recording / reproducing device.

課題を解決するための手段 本発明は上記目的を達成するために、交換可能なディ
スク状の情報記録媒体にデータを記録再生するディスク
装置と、前記データを一時的に記憶するディスクキャッ
シュと、前記ディスク装置および前記ディスクキャッシ
ュに対するデータ記録再生動作を制御するディスク制御
装置とから構成され、前記ディスク制御装置は、上位装
置からの指令に基づいて前記ディスク装置を、前記情報
記録媒体が取り出し可能な状態、あるいは取り出し不可
能な状態にするディスク交換制御手段と、前記ディスク
交換制御手段における前記情報記録媒体の取り出しの可
否状態を保存するディスクロック状態保存手段と、前記
上位装置からデータ書き込み指令を受け取ると、前記上
位装置から転送された記録データを前記ディスク装置に
転送して前記情報記録媒体に記録すると共に、前記ディ
スクキャッシュにも同様に前記記録データを書き込むこ
とを行い、前記データ書き込み指令の実行終了を前記上
位装置に通知するライトスルー記録手段と、前記データ
書き込み指令を受け取ると、前記記録データを前記ディ
スクキャッシュにのみ記録した後に前記データ書き込み
指令の実行終了を通知するキャッシュ記録手段と、前記
ディスクキャッシュ内のデータを前記ディスク装置に転
送して前記情報記録媒体に記録するライトバック記録手
段とを備えた情報記録再生装置である。
Means for Solving the Problems In order to achieve the above object, the present invention provides a disk device that records and reproduces data on an exchangeable disk-shaped information recording medium, a disk cache that temporarily stores the data, and A disk controller and a disk controller for controlling a data recording / reproducing operation with respect to the disk cache, wherein the disk controller can take out the disk device from the information recording medium based on a command from a host device. Alternatively, a disc exchange control means for making the disc unremovable state, a disc lock state storage means for storing the removability state of the information recording medium in the disc exchange control means, and a data write command from the host device , Recording data transferred from the host device to the disc Write-through recording means for transferring the data to a device and recording it on the information recording medium, writing the recording data in the disk cache in the same manner, and notifying the host device of the end of execution of the data write command; Upon receiving the data write command, cache recording means for recording the record data only in the disk cache and then notifying the end of execution of the data write command, and transferring the data in the disk cache to the disk device, The information recording / reproducing apparatus is provided with a write-back recording unit for recording on an information recording medium.

作用 本発明の情報記録再生装置は、上記した構成からな
り、ディスク制御装置が上位装置からのデータ書き込み
指令を受け取った場合に、ディスクロック状態保存手段
がディスク装置から情報記録媒体が取り出せる状態を保
存しているときは、上位装置から転送された記録データ
をディスク装置に転送して情報記録媒体に記録すると共
に、ディスクキャッシュにも同様に記録データを書きこ
み、その後、データ書き込み指令の実行終了を上位装置
に通知する。また、同じくディスク制御装置が上位装置
からのデータ書き込み指令を受け取った場合で、ディス
クロック状態保存手段が取り出せない状態を保存してい
るときは、記録データをディスクキャッシュにのみ記録
した後にデータ書き込み指令の実行終了を上位装置に通
知して、その後ディスクキャッシュ内のデータをディス
ク装置に転送して情報記録媒体に記録するものである。
The information recording / reproducing apparatus of the present invention has the above-mentioned configuration, and when the disk control device receives a data write command from the host device, the disk lock state saving means saves the state in which the information recording medium can be taken out from the disk device. While recording, the recording data transferred from the higher-level device is transferred to the disk device and recorded on the information recording medium, and the recording data is also written to the disk cache in the same way, and then the execution of the data write command is terminated. Notify the host device. Similarly, when the disk control device receives a data write command from the host device and the disk lock status saving means saves a state that cannot be taken out, the data write command is written only after the recorded data is recorded in the disk cache. Is notified to the higher-level device, and then the data in the disk cache is transferred to the disk device and recorded on the information recording medium.

実施例 以下本発明の一実施例の情報記録再生装置について、
図面を参照しながら説明する。
Example An information recording / reproducing apparatus according to an example of the present invention will be described below.
This will be described with reference to the drawings.

第1図は本発明の一実施例における情報記録再生装置
の構成図を示すものである。第1図において、番号1,2,
3は、第2図の同一番号と同じブロックを示し、4はデ
ィスク装置6およびディスクキャッシュ5を制御してデ
ータの記録再生を高速化するディスク制御装置、5はデ
ィスク装置6へのCPU1からのデータアクセスを高速化す
るためデータを前もって読みだして記憶しておくディス
クキャッシュ、6はディスク9が交換可能なディスク装
置、7は上位装置からの指令に基づいてディスク装置6
からディスク9を取り出せる状態、あるいは取り出せな
い状態にすることと、ディスク9が取り出せる状態か否
かを判別することを行うロック処理部、8は、ディスク
装置6におけるディスク9の取り出しの可否状態を保存
するロック状態保存レジスタ、9はデータを記録あるい
は再生する情報記録媒体であるディスクである。
FIG. 1 shows a block diagram of an information recording / reproducing apparatus in an embodiment of the present invention. In FIG. 1, numbers 1, 2,
Reference numeral 3 denotes the same block as the same number in FIG. 2, 4 is a disk control device for controlling the disk device 6 and the disk cache 5 to speed up data recording and reproduction, and 5 is a disk device 6 from the CPU 1 to the CPU 1. A disk cache in which data is read out and stored in advance in order to speed up data access, 6 is a disk device in which a disk 9 can be replaced, and 7 is a disk device 6 based on a command from a host device.
The lock processing unit 8 determines whether or not the disc 9 can be taken out from the disc, and determines whether or not the disc 9 can be taken out. The lock state storage register 9 is a disc which is an information recording medium for recording or reproducing data.

以上のように構成された本実施例の情報記録再生装置
について、以下そのデータ書き込み動作を説明する。な
お、データ読み出し動作は、従来例と同様に行えるので
省略した。
The data writing operation of the information recording / reproducing apparatus of the present embodiment having the above-described configuration will be described below. The data read operation is omitted because it can be performed in the same manner as the conventional example.

まず、ディスク制御装置4がCPU1からの指令に基づい
てディスク装置6からディスク9が取り出せない状態に
するときの一連の動作並びにディスク装置6からディス
ク9が取り出せない状態におけるデータ書き込み動作を
説明する。
First, a series of operations when the disk controller 4 sets the disk 9 in a state where the disk 9 cannot be taken out based on a command from the CPU 1 and a data writing operation when the disk 9 cannot be taken out from the disk device 6 will be described.

CPU1は、ディスク9をディスク装置6から取り出せな
い状態にする指令をディスク制御装置4に送出する。ロ
ック処理部7は、ディスク装置6からディスク9を取り
出せない状態にするとともに、ディスク9が取り出せな
い状態であることをロック状態保存レジスタ8に保存す
る。
The CPU 1 sends a command to the disk controller 4 to put the disk 9 in a state in which it cannot be taken out from the disk device 6. The lock processing unit 7 makes the disk 9 not removable from the disk device 6 and stores in the lock status storage register 8 that the disk 9 is not removable.

次に書き込み時の動作であるが、CPU1は、ディスク制
御装置4にデータ書き込み指令を出し、主記憶2からデ
ータを転送する。ロック処理部7が、ロック状態保存レ
ジスタ8を参照してディスク9がディスク装置6から取
り出せない状態であると判断すると、ディスク制御装置
4は、主記憶2からチャネル3経由で転送されたデータ
をディスクキャッシュ5に書き込み、データ書き込み指
令の実行終了をCPU1に通知する。ディスク制御装置4
は、ディスクキャッシュ5のデータ置換機構がディスク
キャッシュ5に新しくデータを入れるために空き領域が
必要になったとき、あるいは当該データが不要になった
ときなどのディスクキャッシュ5の内容とディスク装置
6の内容を一致させたいと判断したとき、ディスクキャ
ッシュ5のデータがディスク装置6に転送されてディス
ク9に書き戻される。(いわゆる、ライトバック書き込
みを行う。) 次にディスク9をディスク装置6から取り出せない状
態から、取り出せる状態にするときの一連の動作につい
て説明する。ディスク制御装置4は、ディスク9をディ
スク装置6から取り出せる状態にする指令をCPU1から受
け取ったとき、まずディスクキャッシュ5内にあってデ
ィスク9には未記録データをディスク装置6に転送して
ディスク9に書き込む。その後ロック処理部7が、ディ
スク9が取り出せる状態であることをロック状態保存レ
ジスタ8に保存するとともに、ディスク9をディスク装
置6から取り出し可能な状態にする。
Next, regarding the write operation, the CPU 1 issues a data write command to the disk controller 4 and transfers the data from the main memory 2. When the lock processing unit 7 refers to the lock state saving register 8 and determines that the disk 9 cannot be taken out from the disk device 6, the disk control device 4 transfers the data transferred from the main memory 2 via the channel 3. Write to the disk cache 5 and notify the CPU 1 of the end of execution of the data write command. Disk controller 4
Is the contents of the disk cache 5 and the contents of the disk device 6 when the data replacement mechanism of the disk cache 5 needs an empty area to newly store data in the disk cache 5, or when the data becomes unnecessary. When it is determined that the contents should match, the data in the disk cache 5 is transferred to the disk device 6 and written back to the disk 9. (So-called write-back writing is performed.) Next, a series of operations for changing the state in which the disc 9 cannot be taken out from the disc device 6 to the state in which it can be taken out will be described. When the disk controller 4 receives a command from the CPU 1 to put the disk 9 in a state in which it can be taken out from the disk device 6, first, the unrecorded data in the disk cache 5 and transferred to the disk device 6 is transferred to the disk device 6. Write in. After that, the lock processing unit 7 saves in the lock state saving register 8 that the disk 9 is in a removable state, and also makes the disk 9 ready for removal from the disk device 6.

すなわち、ディスク9が取り出せないときは、ディス
クキャッシュ5の容量とデータ置換アルゴリズムを適切
に選択することによって、ディスクキャッシュ5からデ
ィスク装置6内のディスク9への実際のデータ記録回数
が大幅に減少でき、書き込み動作を高速に行うことがで
きる。たとえば、書換え頻度の最も高いディレクトリ部
をディスクキャッシュ5に常駐すればこの効果はきわめ
て大きくなることは言うまでもない。
That is, when the disk 9 cannot be taken out, the number of actual data recordings from the disk cache 5 to the disk 9 in the disk device 6 can be greatly reduced by appropriately selecting the capacity of the disk cache 5 and the data replacement algorithm. The writing operation can be performed at high speed. Needless to say, this effect becomes extremely large if, for example, the directory portion having the highest rewriting frequency is made resident in the disk cache 5.

次に、情報記録再生装置に電源が投入されたとき、あ
るいはディスク制御装置4がCPU1からの指令に基づいて
ディスク9をディスク装置6から取り出せる状態にして
いるときのデータ書き込み動作を説明する。ここで、情
報記録再生装置に電源が投入されたとき、ロック状態保
存レジスタ8はディスク9が取り出せる状態であると設
定されているとする。
Next, the data writing operation when the information recording / reproducing apparatus is turned on, or when the disk control device 4 is in a state where the disk 9 can be taken out from the disk device 6 based on a command from the CPU 1 will be described. Here, it is assumed that the lock state storage register 8 is set so that the disc 9 can be taken out when the information recording / reproducing apparatus is powered on.

CPU1は、ディスク制御装置4にデータ書き込み指令を
出し、主記憶2からデータを転送する。ロック処理部7
が、ロック状態保存レジスタ8を参照してディスク9が
ディスク装置6から取り出せる状態であると判断する
と、ディスク制御装置4は、主記憶2からチャネル3経
由で転送されたデータをディスク装置6に転送してディ
スク9に記録すると共に、ディスクキャッシュ5にも記
録した後、データ書き込み指令の実行終了をCPU1に通知
する。(いわゆる、ライトスルー書き込みを行う。) すなわち、ディスク9が取り出し可能なときは、直ち
にデータをディスク装置6に転送して確実にディスク9
に記録する。
The CPU 1 issues a data write command to the disk controller 4 and transfers data from the main memory 2. Lock processing unit 7
However, if the disk controller 4 refers to the lock state saving register 8 and determines that the disk 9 is in a state where it can be taken out from the disk device 6, the disk controller 4 transfers the data transferred from the main memory 2 via the channel 3 to the disk device 6. Then, the data is recorded on the disk 9 and also recorded on the disk cache 5, and then the CPU 1 is notified of the end of execution of the data write command. (So-called write-through writing is performed.) That is, when the disk 9 can be taken out, the data is immediately transferred to the disk device 6 and the disk 9 is surely transferred.
To record.

このように本発明の実施例の情報記録再生装置によれ
ば、ディスクキャッシュを用いてデータアクセスを高速
化する場合において、ディスクを交換を禁止すること
で、書き込み時においてもキャッシュの効果を低下させ
ることなく、ディスク交換によるデータの不確実な書き
込みを防ぐことができる。
As described above, according to the information recording / reproducing apparatus of the embodiment of the present invention, when the data access is speeded up by using the disk cache, the exchange of the disk is prohibited so that the cache effect is reduced even at the time of writing. It is possible to prevent uncertain writing of data due to disk exchange.

発明の効果 以上説明したように、本発明によれば、情報記録媒体
が取り出せないときはキャッシュを使用して情報記録媒
体へのデータ書き込みを大幅に減少させて高速化し、情
報記録媒体が取り出せるときは直ちにデータを情報記録
媒体に記録して確実に記録することができ、ディスクの
信頼性が大幅に向上するので、その実用的効果は大き
い。
As described above, according to the present invention, when the information recording medium cannot be taken out, when the information recording medium can be taken out by using the cache, the data writing to the information recording medium can be greatly reduced to speed up. The data can be recorded on the information recording medium immediately and can be surely recorded, and the reliability of the disk is greatly improved, so that its practical effect is great.

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

第1図は本発明における実施例の情報記録再生装置の構
成図、第2図は従来の情報記録再生装置の構成図、第3
図は同従来例のデータ書き込みの動作説明図である。 1……ホストコンピュータCPU、2……主記憶、3……
チャネル、4……ディスク制御装置、5……ディスクキ
ャッシュ、6……ディスク装置、7……ロック処理部、
8……ロック状態保存レジスタ、9……ディスク。
FIG. 1 is a block diagram of an information recording / reproducing apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram of a conventional information recording / reproducing apparatus, and FIG.
The figure is an explanatory diagram of the data writing operation of the conventional example. 1 ... Host computer CPU, 2 ... Main memory, 3 ...
Channel, 4 ... Disk control device, 5 ... Disk cache, 6 ... Disk device, 7 ... Lock processing unit,
8 ... Lock state saving register, 9 ... disk.

フロントページの続き (72)発明者 高木 裕司 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (72)発明者 濱坂 浩史 大阪府門真市大字門真1006番地 松下電 器産業株式会社内 (56)参考文献 特開 昭61−28124(JP,A) 特開 昭62−242253(JP,A) 特開 昭64−36351(JP,A) 実開 昭63−5539(JP,U) 日経コンピュータ、[13](1982−3 −22)pp.71−85「アクセスギャップ を埋めるディスク・キャッシュの機能を 見る」 日経エレクトロニクス、[350 ](1984−8−27)pp249−273「磁気 ディスクの転送速度を5〜15倍に上げる キャッシュの手法を探る」Front page continuation (72) Inventor Yuji Takagi 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Hiroshi Hamazaka 1006 Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd. ) References JP-A-61-28124 (JP, A) JP-A-62-242253 (JP, A) JP-A-64-36351 (JP, A) Actual development Sho-63-5539 (JP, U) Nikkei Computer, [13] (1982-3-22) pp. 71-85 “Seeing the function of disk cache that fills the access gap” Nikkei Electronics, [350] (1984-8-27) pp249-273 “Exploring cache methods that increase the transfer rate of magnetic disks by 5 to 15 times” "

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】交換可能な情報記録媒体にデータを記録再
生するディスク装置と、前記データを一時的に記憶する
ディスクキャッシュとに対するデータ記録再生動作を制
御するディスク制御装置において、前記ディスク装置
を、前記情報記録媒体が取り出し可能な状態、あるいは
取り出し不可能な状態にするディスク交換制御手段と、
前記ディスク交換制御手段における前記情報記録媒体の
取り出しの可否状態を保存するディスクロック状態保存
手段と、上位装置から転送された記録データを前記ディ
スク装置に転送して前記情報記録媒体に記録すると共
に、前記ディスクキャッシュにも同様に前記記録データ
を書き込むライトスルー記録手段と、前記記録データを
前記ディスクキャッシュにのみ記録するキャッシュ記録
手段と、前記ディスクキャッシュ内のデータを前記ディ
スク装置に転送して前記情報記録媒体に記録するライト
バック記録手段とを具備し、前記ディスクロック状態保
存手段が前記ディスク装置から前記情報記録媒体が取り
出せる状態を保存しているときは、前記ライトスルー記
録手段を用い、前記ディスクロック状態保存手段が前記
情報記録媒体を取り出せない状態を保存しているとき
は、まず前記キャッシュ記録手段を用いてその後前記ラ
イトバック記録手段を用いることを特徴とするディスク
制御装置。
1. A disk controller for controlling a data recording / reproducing operation for a disk device for recording / reproducing data on / from an exchangeable information recording medium and a disk cache for temporarily storing the data, wherein the disk device comprises: A disk exchange control means for bringing the information recording medium into a removable state or a non-removable state;
A disk lock state saving means for saving the removal possibility of the information recording medium in the disk exchange control means, and recording data transferred from a higher-level device to the disk device for recording on the information recording medium, Similarly, write-through recording means for writing the recording data in the disk cache, cache recording means for recording the recording data only in the disk cache, and data in the disk cache for transferring to the disk device Write-back recording means for recording on a recording medium, and when the disk lock state saving means saves a state in which the information recording medium can be taken out from the disk device, the write-through recording means is used. The lock state storage means removes the information recording medium. The while saving a state which does not, the disk controller, characterized by first using then the write-back printing unit using said cache storage means.
【請求項2】交換可能な情報記録媒体にデータを記録再
生するディスク装置と、前記データを一時的に記憶する
ディスクキャッシュと、前記ディスク装置および前記デ
ィスクキャッシュに対するデータ記録再生動作を制御す
るディスク制御装置を備え、前記ディスク制御装置は、
上位装置からの指令に基づいて前記ディスク装置を、前
記情報記録媒体が取り出し可能な状態、あるいは取り出
し不可能な状態にするディスク交換制御手段と、前記デ
ィスク交換制御手段における前記情報記録媒体の取り出
しの可否状態を保存するディスクロック状態保存手段
と、前記上位装置からデータ書き込み指令を受け取る
と、前記上位装置から転送された記録データを前記ディ
スク装置に転送して前記情報記録媒体に記録すると共
に、前記ディスクキャッシュにも同様に前記記録データ
を書き込むことを行った後にデータ書き込み指令の実行
終了を前記上位装置に通知するライトスルー記録手段
と、前記データ書き込み指令を受け取ると、前記記録デ
ータを前記ディスクキャッシュにのみ記録した後に前記
データ書き込み指令の実行終了を通知するキャッシュ記
録手段と、前記ディスクキャッシュ内のデータを前記デ
ィスク装置に転送して前記情報記録媒体に記録するライ
トバック記録手段とを具備し、前記ディスク制御装置
は、前記ディスクロック状態保存手段が前記ディスク装
置から前記情報記録媒体が取り出せる状態を保存してい
るときは、前記ライトスルー記録手段を用い、前記ディ
スクロック状態保存手段が前記情報記録媒体を取り出せ
ない状態を保存しているときは、まず前記キャッシュ記
録手段を用いてその後前記ライトバック記録手段を用い
ることを特徴とする情報記録再生装置。
2. A disk device for recording / reproducing data on / from an exchangeable information recording medium, a disk cache for temporarily storing the data, and a disk control for controlling a data recording / reproducing operation for the disk device and the disk cache. And a disk control device,
A disc exchange control means for putting the disc device into a state in which the information recording medium can be taken out or a state in which the information recording medium cannot be taken out based on a command from a host device; and a disc replacement control means for taking out the information recording medium. When receiving a data write command from the host device and a disk lock state storage means for storing the permission / prohibition state, the recording data transferred from the host device is transferred to the disk device and recorded on the information recording medium, and Similarly, after writing the recording data to the disk cache, write-through recording means for notifying the host device of the end of execution of the data writing command; and when receiving the data writing command, the recording data is transferred to the disk cache. Execution of the data write command after recording only in And a write-back recording means for transferring the data in the disk cache to the disk device and recording the data in the information recording medium. The disk control device stores the disk lock state. When the means stores the state in which the information recording medium can be taken out from the disk device, the write-through recording means is used, and the state in which the disk lock state storing means cannot take out the information recording medium is stored. Is an information recording / reproducing apparatus characterized in that the cache recording means is used first, and then the write-back recording means is used.
【請求項3】ディスク制御装置は、ディスクロック状態
保存手段が情報記録媒体を取り出し不可能な状態として
保存しているときに、前記情報記録媒体を取り出し可能
な状態にする指令を上位装置から受け取ると、まずライ
トバック記録手段を用いて、ディスクキャッシュ内にあ
って前記情報記録媒体には未記録データを前記情報記録
媒体に記録し、その後にディスク交換制御手段を用いて
前記情報記録媒体を取り出し可能な状態にすることを特
徴とする請求項2記載の情報記録再生装置。
3. A disk control device receives a command from a host device to put the information recording medium into a removable state when the disk lock state storage means stores the information recording medium in a non-removable state. First, the write-back recording means is used to record unrecorded data in the information recording medium in the disk cache on the information recording medium, and thereafter the information recording medium is taken out using the disk exchange control means. The information recording / reproducing apparatus according to claim 2, wherein the information recording / reproducing apparatus is set in a ready state.
【請求項4】ライトバック記録手段は、ディスクロック
状態保存手段が情報記録媒体を取り出し不可能な状態と
して保存しているときで、ディスクキャッシュの内容と
前記情報記録媒体の内容を一致させたいと判断したとき
に、前記ディスクキャッシュ内にあって前記情報記録媒
体には未記録データを前記情報記録媒体に記録すること
を特徴とする請求項2または3記載の情報記録再生装
置。
4. The write-back recording means, when the disk lock state saving means saves the information recording medium in a state in which it cannot be taken out, wants to match the contents of the disk cache with the contents of the information recording medium. 4. The information recording / reproducing apparatus according to claim 2, wherein when the determination is made, unrecorded data is recorded on the information recording medium in the disc cache and on the information recording medium.
【請求項5】ライトバック記録手段は、ディスクロック
状態保存手段が情報記録媒体を取り出し不可能な状態と
して保存しているときで、ディスクキャッシュに新しく
データを入れるために空き領域が必要になったときに、
前記ディスクキャッシュ内にあって前記情報記録媒体に
は未記録データを前記情報記録媒体に記録することを特
徴とする請求項2、3または4記載の情報記録再生装
置。
5. The write-back recording means requires an empty area to newly store data in the disk cache when the disk lock state saving means saves the information recording medium in a state in which it cannot be taken out. sometimes,
The information recording / reproducing apparatus according to claim 2, 3 or 4, wherein unrecorded data is recorded on the information recording medium in the disc cache and on the information recording medium.
【請求項6】ライトバック記録手段は、ディスクロック
状態保存手段が情報記録媒体を取り出し不可能な状態と
して保存しているときで、ディスクキャッシュ内のデー
タが不要になったときに、前記ディスクキャッシュ内に
あって前記情報記録媒体には未記録データを前記情報記
録媒体に記録することを特徴とする請求項2、3または
4記載の情報記録再生装置。
6. The write-back recording means, when the disk lock state saving means saves the information recording medium in an unremovable state and when the data in the disk cache becomes unnecessary, the disk cache 5. The information recording / reproducing apparatus according to claim 2, 3 or 4, wherein unrecorded data is recorded in the information recording medium in the information recording medium.
【請求項7】交換可能な情報記録媒体にデータを記録再
生するディスク装置と、前記データを一時的に記憶する
ディスクキャッシュとに対するデータ記録再生動作を制
御するディスク制御方法であって、前記ディスク装置を
前記情報記録媒体が取り出し可能な状態、あるいは取り
出し不可能な状態にし、前記ディスク装置から前記情報
記録媒体が取り出せる状態にしているときは、記録デー
タを前記ディスク装置に転送して前記情報記録媒体に記
録すると共に、前記ディスクキャッシュにも同様に前記
記録データを書き込み、前記情報記録媒体が取り出せな
い状態にしているときは、前記記録データを前記ディス
クキャッシュにのみ記録することを先行し、その後前記
ディスクキャッシュ内のデータを前記ディスク装置に転
送して前記情報記録媒体に記録することを特徴とするデ
ィスク制御方法。
7. A disk control method for controlling a data recording / reproducing operation for a disk device for recording / reproducing data on / from an exchangeable information recording medium and a disk cache for temporarily storing the data. When the information recording medium can be taken out or cannot be taken out and the information recording medium can be taken out from the disk device, the recording data is transferred to the disk device and the information recording medium is transferred. When the information recording medium is in a state where the information recording medium cannot be taken out, the recording data is preceded by recording the recording data only in the disk cache, and then recording the recording data in the disk cache. Data stored in the disk cache is transferred to the disk device to record the information. Disk control method and recording on the medium.
【請求項8】情報記録媒体を取り出し不可能な状態から
取り出し可能な状態にするとき、まずディスクキャッシ
ュ内にあって前記情報記録媒体には未記録データを前記
情報記録媒体に記録し、その後に情報記録媒体を取り出
し可能な状態にすることを特徴とする請求項7記載のデ
ィスク制御方法。
8. When changing an information recording medium from a non-removable state to a removable state, first, unrecorded data in the information recording medium in the disk cache is recorded on the information recording medium, and thereafter, 8. The disk control method according to claim 7, wherein the information recording medium is set in a removable state.
JP2003050A 1990-01-10 1990-01-10 Information recording / reproducing device Expired - Fee Related JP2684803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003050A JP2684803B2 (en) 1990-01-10 1990-01-10 Information recording / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003050A JP2684803B2 (en) 1990-01-10 1990-01-10 Information recording / reproducing device

Publications (2)

Publication Number Publication Date
JPH03208145A JPH03208145A (en) 1991-09-11
JP2684803B2 true JP2684803B2 (en) 1997-12-03

Family

ID=11546494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003050A Expired - Fee Related JP2684803B2 (en) 1990-01-10 1990-01-10 Information recording / reproducing device

Country Status (1)

Country Link
JP (1) JP2684803B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6128124A (en) * 1984-07-18 1986-02-07 Syst Instr Kk Storage device
JPS62242253A (en) * 1986-04-14 1987-10-22 Toshiba Corp Floppy disk system
JPS635539U (en) * 1986-06-25 1988-01-14
JPS6436351A (en) * 1987-07-31 1989-02-07 Alps Electric Co Ltd Disk cache system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
日経エレクトロニクス、[350](1984−8−27)pp249−273「磁気ディスクの転送速度を5〜15倍に上げるキャッシュの手法を探る」
日経コンピュータ、[13](1982−3−22)pp.71−85「アクセスギャップを埋めるディスク・キャッシュの機能を見る」

Also Published As

Publication number Publication date
JPH03208145A (en) 1991-09-11

Similar Documents

Publication Publication Date Title
US5313612A (en) Information recording and reproducing apparatus including both data and work optical disk drives for restoring data and commands after a malfunction
EP0080875B1 (en) Data storage system for a host computer
JPH0378649B2 (en)
JPH1063578A (en) Information recording and reproducing device
KR100761473B1 (en) File management system for portable device and a mathod of the same
JP2000235457A (en) Hierarchical data storage device and cache data generation method
JPH0830397A (en) Information storage device
JP2684803B2 (en) Information recording / reproducing device
JP2845658B2 (en) Access control device for data recording / reproducing device
JP3539802B2 (en) Information storage device
JPH03217972A (en) File retrieving device
JP2752750B2 (en) Auto changer
EP0080878A2 (en) Cache memory and method of control for use with magnetic disks
JP2956757B2 (en) Optical disk drive
JP3412498B2 (en) Optical disc playback device
JPH07319629A (en) Disk controller for recording
JPH06139650A (en) Circulation use type magnetic tape device
JPH0644118A (en) File backup system
JPH10214459A (en) Optical disk drive device and optical disk reproducing method
JPH08129456A (en) Reproducing method for information recording and reproducing device
JP2003186629A (en) Data copy system
JPS62110689A (en) Information recording and reproducing device
JPH05274779A (en) Magnetic disk device
JPH0254584B2 (en)
JPS6149229A (en) Information processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees