JPH03208145A - Information recording and reproducing device - Google Patents

Information recording and reproducing device

Info

Publication number
JPH03208145A
JPH03208145A JP2003050A JP305090A JPH03208145A JP H03208145 A JPH03208145 A JP H03208145A JP 2003050 A JP2003050 A JP 2003050A JP 305090 A JP305090 A JP 305090A JP H03208145 A JPH03208145 A JP H03208145A
Authority
JP
Japan
Prior art keywords
disk
information recording
data
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.)
Granted
Application number
JP2003050A
Other languages
Japanese (ja)
Other versions
JP2684803B2 (en
Inventor
Yasushi Higashiya
易 東谷
Isao Sato
勲 佐藤
Yoshihisa Fukushima
能久 福島
Yuji Takagi
裕司 高木
Hiroshi Hamasaka
浩史 濱坂
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)

Abstract

PURPOSE:To control the exchange of a recording medium and to securely write data at high speed by recording recording data in a cache when the information recording medium cannot be taken out and directly recording it in the recording medium when the recording medium can be taken out. CONSTITUTION:CPU 1 transmits a command for setting a disk 9 in a state where it cannot be taken out from a disk device 6 to a disk controller 4. A lock processing part 7 sets the disk 9 in a state where it cannot be taken out from the disk device 6, and preserves the state in a lock preservation register 8. Then, CPU 1 outputs a data write command to the controller 4, and transmits data from a main storage 2. The controller 4 writes the data in the disk cache 5. When the controller 4 desires to cause the content of the cache 5 to coincide with the content of the device 6, it transfers data of the cache 5 to the device 6 and rewrites it in the disk 9. Then, data is directly written in the disk 9 when the disk 9 can be taken out from the device 6.

Description

【発明の詳細な説明】 産業上の利用分野 本発明{よ 交換可能な情報記録媒体にデータを記録再
生する情報記録再生装置に関し 特にキャッシュを用い
てデータアクセスを高速化する情報記録再生装置に関す
るものであも 従来の技術 従来の情報記録再生装置としては 日経エレクトロニク
ス1985. 3, 11, pp. 159〜187
に示されていも第2図1友 この従来の情報記録再生装
置の構戊図を示すものであり、 1はディスク装置l2
にデータを記録再生する上位装置としてのホストコンピ
ュータCPUであも 2はデータやプログラムを格納す
るCPUIの主記憶であも 3はデータの人出力制御を
行う、CPUIのチャネルであも10はディスク制御装
置で、ディスク装置l2およびディスクキャッシュl1
を制御して、データの記録再生を高速化すも 11はデ
ィスクキャッシュで、ディスク装置l2とCPUIとの
間のデータアクセスを高速化するためのメモリであも以
上のように構或された従来の情報記録再生装置の動作を
、第3図に示した動作図を用いて説明すも (i)データ読み出しの場合 ディスク制御装置10!飄 あるデータが特定のファイ
ルからアクセスされたとき、そのファイルの次のブロッ
クがディスクキャッシュ11になければそれも同時にデ
ィスク装置l2から先読み(ブリフェッチ)しておく。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an information recording and reproducing device that records and reproduces data on an exchangeable information recording medium, and particularly relates to an information recording and reproducing device that uses a cache to speed up data access. However, as for the conventional technology and the conventional information recording/reproducing device, Nikkei Electronics 1985. 3, 11, pp. 159-187
Figure 2 shows a configuration diagram of this conventional information recording and reproducing device, and 1 is a disk device l2.
2 is the main memory of the CPU that stores data and programs; 3 is the CPU channel that controls data output; and 10 is the disk. In the control device, disk device l2 and disk cache l1
11 is a disk cache, which is a memory for speeding up data access between the disk device l2 and the CPUI, and is configured as described above. The operation of the information recording and reproducing device will be explained using the operational diagram shown in FIG. 3. (i) In the case of data reading, the disk control device 10! When certain data is accessed from a specific file, if the next block of that file is not in the disk cache 11, it is also prefetched from the disk device 12 at the same time.

この状態で、CPUIからあるファイルに対するデータ
読み出し要求100が出たとすると、ディスク制御装置
10fi  ディスク制御装置1oに格納されているデ
ィスクキャッシュディレクトリDIRを参照し 該当フ
ァイルの目的とするデータブロックがディスクキャッシ
ュll内にあるかどうかを調べも ディスクキャッシュ
11にデータがある(ヒットした)場合、ディスクキャ
ッシュ11から主記憶2にチャネル3経出でデータプロ
ックを転送する。ディスクキャッシュミスの場合1;L
  目的のブロックを含む数ブロック(セクタで構或さ
れる)をディスク装置l2からディスクキャッシュII
に読み取り、その中の目的のブロックを主記憶2に転送
すも したがって、ディスクキャッシュIIが確率よく
ヒットすればデータはディスクキャッシュl1から非常
に高速に転送が開始され データアクセス速度が改善で
きることになも (2)データ書き込みの場合 この場合は、 ディスクキャッシュ11とディスク装置
l2のどちらを先に書き換えるかでライトスルー(Wr
ite−through)方式とライトバック(Wri
te−back)方式というよく知られた2つの方法が
用いられも ライトスル一方式で(友 データをまずディスク装置l
2に転送してディスク13に書き込み(第3図における
101で示すデータの流れ)、もレディスクキヤツシュ
1lに記録データに該当するブロックがあってヒットし
た転 ディスクキャッシュ11の該当ブロックを無効に
する力\ あるいはディスクキャッシュl1にも同じデ
ータを書き込む(同図103で示す流れ)。
In this state, if a data read request 100 is issued from the CPU for a certain file, the disk controller 10fi refers to the disk cache directory DIR stored in the disk controller 1o, and the target data block of the file is located in the disk cache ll. If there is data in the disk cache 11 (hit), the data block is transferred from the disk cache 11 to the main memory 2 via channel 3. 1; L in case of disk cache miss
Several blocks (consisting of sectors) including the target block are transferred from the disk device l2 to the disk cache II.
Therefore, if Disk Cache II hits with a high probability, data will begin to be transferred from Disk Cache I1 at a very high speed, improving data access speed. (2) Data writing In this case, write through (Wr
Ite-through method and write-back method
Two well-known methods are used: the te-back method, and the write-back method (the data is first transferred to the disk drive).
2 and write it to the disk 13 (data flow shown by 101 in Figure 3), but if there is a block corresponding to the recorded data in the ready disk cache 1l and there is a hit, the corresponding block in the disk cache 11 is invalidated. Alternatively, the same data is also written to the disk cache l1 (flow shown at 103 in the same figure).

一X  ライトバック方式で番友  データをディスク
キャッシュ11に書き込むことを優先し(同図104で
示す流れ)、ディスクキャッシュ1lのデータ置換機構
がディスクキャッシュ11に新しくデータを入れるため
に空き領域が必要になったとき、あるいは当該データが
不要になったときなどのディスクキャッシュ1lの内容
とディスク装置l2の内容を一致させたいと判断したと
きにディスクキャッシュl1のデータをディスク装置l
2に転送してディスクl3に書き込仏 (同図105で
示す流れ) 発明が解決しようとする課題 しかしながら、上記のようなライトバック方式では、 
ディスクキャッシュ11のデータをディスク装@+2に
記録する前にディスクl3が交換されてしまうと、デー
タが正しくディスク13に記録されないという課題を有
していtも 一方、ライトスル一方式では、 ライトバック方式のよ
うにディスク交換でデータが失われることはない力( 
ディスク制御装置10はCPUIからのデータ書き込み
指令を受け取る度にディスク装置12に記録するためデ
ータ書き込み動作に時間がかかるという課題を有してい
た 本発明はかかる点に鑑へ 情報記録媒体の交換に際して
、その情報記録媒体の交換を規制してデータを正しく情
報記録媒体に記録し かつデータ記録部に対するデータ
アクセスを高速に行うことが可能な情報記録再生装置を
提供することを目的とすも 課題を解決するための手段 本発明は上記目的を達戒するために 交換可能な情報記
録媒体にデータを記録再生するデータ記録部と、前記情
報記録媒体に記録すべきデータを一時的に記憶するキャ
ッシュと、前記情報記録媒体を前記データ記録部から取
り出せないようにする情報記録媒体取り出し制御手段と
からなる情報記録再生装置であも また本発明(上 交換可能なディスク状の情報記録媒体
にデータを記録再生するディスク装置と、前記データを
一時的に記憶するディスクキャッシュと、前記ディスク
装置および前記ディスクキャッシュに対するデータ記録
再生動作を制御するディスク制御装置とから構戒され 
前記ディスク制御装置は 上位装置からの指令に基づい
て前記ディスク装置を、前記情報記録媒体が取り出し可
能な状戦 あるいは取り出し不可能な状態にするディス
ク交換制御手段と、前記ディスク交換制御手段における
前記情報記録媒体の取り出しの可否状態を保存するディ
スクロック状態保存手段と、前記上位装置からデータ書
き込み指令を受け取ると、前記上位装置から転送された
記録データを前記ディスク装置に転送して前記情報記録
媒体に記録すると共に 前記ディスクキャッシュにも同
様に前記記録データを書き込むことを行し\ 前記デー
タ書き込み指令の実行終了を前記上位装置に通知するラ
イトスルー記録手段と、前記データ書き込み指令を受け
取ると、前記記録データを前記ディスクキャッシュにの
み記録した後に前記データ書き込み指令の実行終了を通
知するキャッシュ記録手段と、前記ディスクキャッシュ
内のデータを前記ディスク装置に転送して前記情報記録
媒体に記録するライトバック記録手段とを備えた情報記
録再生装置であも 作  用 本発明の情報記録再生装置は、 上記した構或からなり
、ディスク制御装置が上位装置からのデータ書き込み指
令を受け取った場合に ディスクロック状態保存手段が
ディスク装置から情報記録媒体が取り出せる状態を保存
しているときは 上位装置から転送された記録データを
ディスク装置に転送して情報記録媒体に記録すると共に
 ディスクキャッシュにも同様に記録データを書きこヘ
その眞 データ書き込み指令の実行終了を上位装置に通
知すも また 同じくディスク制御装置が上位装置から
のデータ書き込み指令を受け取った場合で、ディスクロ
ック状態保存手段が取り出せない状態を保存していると
き{表 記録データをディスクキャッシュにのみ記録し
た後にデータ書き込み指令の実行終了を上位装置に通知
して、その後ディスクキャッシュ内のデータをディスク
装置に転送して情報記録媒体に記録するものであム実施
例 以下本発明の一実施例の情報記録再生装置について、図
面を参照しながら説明すも 第l図は本発明の一実施例における情報記録再生装置の
構戊図を示すものであも 第1図において、番号1 ,
 2 . 3 1′!..第2図の同一番号と同じブロ
ックを示L4はディスク装置6およびディスクキャッシ
ュ5を制御してデータの記録再生を高速{1iするディ
スク制御装145はディスク装置6へのCPUIからの
データアクセスを高速化するためデータを前もって読み
だして記憶しておくディスクキャッシ:L,6はディス
ク9がを交換可能なディスク装置 7は上位装置からの
指令に基づいてディスク装置6からディスク9を取り出
せる状態、 あるいは取り出せない状態にすることと、
ディスク9が取り出せる状態か否かを判別することを行
うロック処理餓 8(戴 ディスク装置6におけるディ
スク9の取り出しの可否状態を保存するロック状態保存
レジス久 9はデータを記録あるいは再生する情報記録
媒体であるディスクである, 以上のように構戒された本実施例の情報記録再生装置に
ついて、以下そのデータ書き込み動作を説明する。な耘
 データ読み出し動作は、 従来例と同様に行えるので
省略し九 まず、ディスク制御装置4がCPUIからの指令に基づ
いてディスク装置6からディスク9が取り出せない状態
にするときの一連の動作並びにディスク装置6からディ
スク9が取り出せない状態におけるデータ書き込み動作
を説明すもC P U 1 i友  ディスク9をディ
スク装置6から取り出せない状態にする指令をディスク
制御装置4に送出すも ロック処理部7は、 ディスク
装置6からディスク9を取り出せない状態にするととも
に ディスク9が取り出せない状態であることをロック
状態保存レジスタ8に保存すん次に書き込み時の動作で
ある#tCPUlディスク制御装置4にデータ書き込み
指令を出し主記憶2からデータを転送すも ロック処理
部7バ ロック状態保存レジスタ8を参照してディスク
9がディスク装置6から取り出せない状態であると判断
すると、ディスク制御装置4は、 主記憶2からチャネ
ル3経由で転送されたデータをディスクキャッシュ5に
書き込へ データ書き込み指令の実行終了をCPUIに
通知すも ディスク制御装置4(上 ディスクキャッシ
ュ5のデータ置換機構がディスクキャッシュ5に新しく
データを入れるために空き領域が必要になったとき、あ
るいは当該データが不要になったときなどのディスクキ
ャッシュ5の内容とディスク装置6の内容を一致させた
いと判断したとき、ディスクキャッシュ5のデータがデ
ィスク装置6に転送されてディスク9に書き戻されも 
(いわゆ衣 ライトバック書き込みを行う。) 次にディスク9をディスク装置6から取り出せない状態
か板 取り出せる状態にするときの一連の動作について
説明する。ディスク制御装置41友ディスク9をディス
ク装置6から取り出せる状態にする指令をCPUIから
受け取ったとき、まずディスクキャッシュ5内にあって
ディスク9には未記録データをディスク装置6に転送し
てディスク9に書き込む。その後ロック処理部7カ( 
ディスク9が取り出せる状態であることをロック状態保
存レジスタ8に保存するとともに ディスク9をディス
ク装置6から取り出し可能な状態にすもすなわ板 ディ
スク9が取り出せないとき?&ディスクキャッシュ5の
容量とデータ置換アルゴリズムを適切に選択することに
よって、ディスクキャッシュ5からディスク装置6内の
ディスク9への実際のデータ記録回数が大幅に減少でき
、書き込み動作を高速に行うことができも たとえ1ヱ
書換え頻度の最も高いディレクトリ部をディスクキャッ
シュ5に常駐すればこの効果はきわめて大きくなること
は言うまでもな賎 次に 情報記録再生装置に電源が投入されたとき、ある
いはディスク制御装置4がCPUIからの指令に基づい
てディスク9をディスク装置6から取り出せる状態にし
ているときのデータ書き込み動作を説明すも ここで、
情報記録再生装置に電源が投入されたとき、ロック状態
保存レジスタ8はディスク9が取り出せる状態であると
設定されているとすも C P U I li  ディスク制御装置4にデータ
書き込み指令を出し 主記憶2からデータを転送すムロ
ック処理部7バ ロック状態保存レジスタ8を参照して
ディスク9がディスク装置6から取り出せる状態である
と判断すると、ディスク制御装置41ヨ  主記憶2か
らチャネル3経由で転送されたデータをディスク装置6
に転送してディスク9に記録すると共に ディスクキャ
ッシュ5にも記録した後、データ書き込み指令の実行終
了をCPUlに通知すも (いわゆム ライトスルー書
き込みを行う。) すなわ板 ディスク9が取り出し可能なときは、直ちに
データをディスク装置6に転送して確実にディスク9に
記録すも このように本発明の実施例の情報記録再生装置によれ(
戴 ディスクキャッシュを用いてデータアクセスを高速
化する場合において、ディスクを交換を禁止することで
、書き込み時においてもキャシュの効果を低下させるこ
となく、ディスク交換によるデータの不確実な書き込み
を防ぐことかでき る。
1X Priority is given to writing Banyu data to the disk cache 11 using the write-back method (flow shown in 104 in the same figure), and free space is required for the data replacement mechanism of the disk cache 1l to write new data into the disk cache 11. When it is determined that the contents of the disk cache 1l should match the contents of the disk device l2, such as when the data is no longer needed, or when the data is no longer needed, the data in the disk cache l1 is transferred to the disk device l.
2 and write to disk L3 (Flow shown in Figure 105) Problems to be Solved by the Invention However, in the above-mentioned write-back method,
If the disk l3 is replaced before the data in the disk cache 11 is recorded on the disk unit @+2, there is a problem that the data will not be recorded correctly on the disk 13.On the other hand, in the write-through method, the write-back method The power that data is not lost when replacing disks like (
Since the disk control device 10 records data in the disk device 12 every time it receives a data write command from the CPUI, the data write operation takes time.The present invention takes this into account. The purpose of the present invention is to provide an information recording and reproducing device that can regulate the exchange of information recording media, correctly record data on the information recording media, and perform high-speed data access to the data recording section. Means for Solving the Problem In order to achieve the above object, the present invention provides a data recording unit that records and reproduces data on an exchangeable information recording medium, and a cache that temporarily stores data to be recorded on the information recording medium. The present invention also provides an information recording/reproducing apparatus comprising an information recording medium ejection control means for preventing the information recording medium from being taken out from the data recording section. A disk drive for playback, a disk cache for temporarily storing the data, and a disk control device for controlling data recording and playback operations for the disk drive and the disk cache.
The disk control device includes a disk exchange control means for placing the disk device in a state in which the information recording medium can be taken out or in a state in which the information recording medium cannot be taken out based on a command from a higher-level device; a disk lock state storage means for storing a state of whether or not the recording medium can be ejected; and upon receiving a data write command from the host device, the recording data transferred from the host device is transferred to the disk device and written to the information recording medium. write-through recording means for notifying the host device of completion of execution of the data write command; Cache recording means that notifies completion of execution of the data write command after recording data only in the disk cache; and write-back recording means that transfers data in the disk cache to the disk device and records it on the information recording medium. The information recording and reproducing apparatus of the present invention has the above-described structure, and when the disk control apparatus receives a data write command from the host device, the disk lock state saving means When the information recording medium is stored in a state where the information recording medium can be taken out from the disk device, the recorded data transferred from the host device is transferred to the disk device and recorded on the information recording medium, and the recorded data is also written to the disk cache in the same way. However, when the disk control device receives a data write command from the host device and the disk lock state storage means stores a state that cannot be retrieved, the host device is notified that the execution of the data write command has ended. {Table: After recording the recorded data only in the disk cache, the host device is notified of the completion of the data write command, and then the data in the disk cache is transferred to the disk device and recorded on the information recording medium. EXAMPLE Hereinafter, an information recording and reproducing apparatus according to an embodiment of the present invention will be explained with reference to the drawings. In the figure, number 1,
2. 3 1′! .. .. L4 indicates the same block as the same number as in FIG. A disk cache that reads and stores data in advance for storage: L, 6 is a disk device in which the disk 9 can be replaced; 7 is a state in which the disk 9 can be taken out from the disk device 6 based on a command from a host device, or to make it impossible to remove it, and
A lock processing register 8 (Dai) is used to determine whether or not the disk 9 can be ejected; a lock state storage register 9 is an information recording medium for recording or reproducing data; The data writing operation of the information recording and reproducing apparatus of this embodiment, which is a disk with the above-mentioned precautions, will be explained below.The data reading operation is omitted because it can be performed in the same manner as in the conventional example. First, a series of operations when the disk control device 4 makes it impossible to take out the disk 9 from the disk device 6 based on a command from the CPUI, and a data writing operation when the disk 9 cannot be taken out from the disk device 6 will be explained. Although the CPU 1 sends a command to the disk control device 4 to make the disk 9 unremovable from the disk drive 6, the lock processing unit 7 makes it impossible to take out the disk 9 from the disk drive 6, and also prevents the disk 9 from being ejected from the disk drive 6. After saving the state that the data cannot be retrieved in the lock state storage register 8, the data write command is sent to the #tCPUl disk control device 4, which is the operation at the time of writing, and the data is transferred from the main memory 2. When determining that the disk 9 cannot be removed from the disk device 6 by referring to the state save register 8, the disk control device 4 writes the data transferred from the main memory 2 via the channel 3 to the disk cache 5. When the data replacement mechanism of the disk cache 5 needs free space to put new data into the disk cache 5, or when the data is no longer needed. When it is determined that the contents of the disk cache 5 and the contents of the disk device 6 should match, for example, when 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 bringing the disk 9 into a state where it cannot be taken out from the disk device 6 or a state where it can be taken out will be described. When the disk control device 41 receives a command from the CPU to set the friend disk 9 in a state where it can be taken out from the disk device 6, it first transfers the data that is in the disk cache 5 but is not recorded on the disk 9 to the disk device 6 and stores it in the disk 9. Write. After that, 7 lock processing units (
This board stores the fact that the disk 9 can be taken out in the lock state storage register 8, and also makes the disk 9 ready to be taken out from the disk device 6. What if the disk 9 cannot be taken out? & By appropriately selecting the capacity of the disk cache 5 and the data replacement algorithm, the number of times data is actually recorded from the disk cache 5 to the disk 9 in the disk device 6 can be significantly reduced, and write operations can be performed at high speed. Even if it were possible, it goes without saying that this effect would be extremely large if the directory section with the highest rewriting frequency was resident in the disk cache 5. The data writing operation when the disk 9 is ready to be taken out from the disk device 6 based on a command from the CPU will be explained below.
When the power is turned on to the information recording and reproducing device, the lock state storage register 8 is set to indicate that the disk 9 can be taken out, and the CPU issues a data write command to the disk controller 4 to write data into the main memory. When the block processor 7 determines that the disk 9 can be taken out from the disk device 6 by referring to the lock state storage register 8, the data is transferred from the main memory 2 to the disk controller 41 via the channel 3. The data is transferred to disk device 6.
After transferring the data to disk 9 and recording it on disk 9, it also records it on disk cache 5, and notifies the CPU that the execution of the data write command has ended (performing what is called write-through writing).In other words, disk 9 can be removed. In such a case, the data is immediately transferred to the disk device 6 and recorded on the disk 9 reliably.
Dai: When speeding up data access using a disk cache, is it possible to prevent data from being written unreliably due to disk swapping by prohibiting disk swapping without reducing the effectiveness of the cache even during writing? can.

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

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

第1図は本発明における実施例の情報記録再生装置の構
或阻 第2図は従来の情報記録再生装置の構或@ !3
図は同従来例のデータ書き込みの動作説明図であん 1・・・ホストコンピュータCPU,2・・・主記像3
・・・チャネ/L<  4・・・ディスク制御装[5・
・・ディスクキャッシュ、 6・・・ディスク装[7・
・・ロック処理志 8・・・ロック状態保存レジスタ、
 9・・・ディスク。
Fig. 1 shows the structure of an information recording/reproducing apparatus according to an embodiment of the present invention, and Fig. 2 shows the structure of a conventional information recording/reproducing apparatus. 3
The figure is an explanatory diagram of the data writing operation of the conventional example.
...Channel/L< 4...Disk control unit [5.
... Disk cache, 6... Disk storage [7.
...Lock processing intention 8...Lock state saving register,
9...disc.

Claims (7)

【特許請求の範囲】[Claims] (1)交換可能な情報記録媒体にデータを記録再生する
データ記録部と、前記情報記録媒体に記録すべきデータ
を一時的に記憶するキャッシュと、前記情報記録媒体を
前記データ記録部から取り出せないようにする情報記録
媒体取り出し制御手段とからなり、前記情報記録媒体取
り出し制御手段は、前記情報記録媒体に記録すべきデー
タが前記情報記録媒体には記録されておらず、前記キャ
ッシュにのみ記録されている場合に前記情報記録媒体を
取り出せないようにすることを特徴とする情報記録再生
装置。
(1) A data recording unit that records and reproduces data on a replaceable information recording medium, a cache that temporarily stores data to be recorded on the information recording medium, and the information recording medium cannot be removed from the data recording unit. information recording medium retrieval control means for controlling the information recording medium, and the information recording medium retrieval control means is configured to detect that data to be recorded on the information recording medium is not recorded on the information recording medium, but is recorded only on the cache. An information recording/reproducing apparatus characterized in that the information recording medium cannot be removed when the information recording medium is in use.
(2)情報記録媒体取り出し制御手段における情報記録
媒体の取り出しの可否状態を記憶するロック状態保存手
段と、前記ロック状態保存手段の記憶内容によってデー
タの記録手段を制御するキャッシュ制御手段とを設置け
、前記キャッシュ制御手段は、前記ロック状態保存手段
が前記情報記録媒体が取り出せる状態を記憶していると
き、記録すべきデータを前記情報記録媒体に記録すると
共に、キャッシュにも書き込みを行うようにし、前記ロ
ック状態保存手段が前記情報記録媒体が取り出せない状
態を記憶しているときは、データ記録方式を上位装置か
ら前記キャッシュへの転送と、前記キャッシュから前記
情報記録媒体への転送の2段階に分け、上位装置から前
記キャッシュへの転送を先行し、次に前記キャッシュか
ら前記情報記録媒体へデータを転送することを特徴とす
る請求項1記載の情報記録再生装置。
(2) Install a lock state storage means for storing the status of whether or not the information recording medium can be taken out in the information storage medium ejection control means, and a cache control means for controlling the data recording means based on the storage contents of the lock state storage means. , the cache control means records the data to be recorded on the information recording medium and also writes it into the cache when the lock state storage means stores a state in which the information recording medium can be taken out; When the lock state storage means stores a state in which the information recording medium cannot be removed, the data recording method is divided into two stages: transfer from the host device to the cache, and transfer from the cache to the information recording medium. 2. The information recording and reproducing apparatus according to claim 1, wherein the data is divided, the data is first transferred from the host device to the cache, and then the data is transferred from the cache to the information recording medium.
(3)交換可能なディスク状の情報記録媒体にデータを
記録再生するディスク装置と、前記データを一時的に記
憶するディスクキャッシュと、前記ディスク装置および
前記ディスクキャッシュに対するデータ記録再生動作を
制御するディスク制御装置とからなり、前記ディスク制
御装置は、上位装置からの指令に基づいて前記ディスク
装置を、前記情報記録媒体が取り出し可能な状態、ある
いは取り出し不可能な状態にするディスク交換制御手段
と、前記ディスク交換制御手段における前記情報記録媒
体の取り出しの可否状態を保存するディスクロック状態
保存手段と、前記上位装置からデータ書き込み指令を受
け取ると、前記上位装置から、前記データ書き込み指令
の実行終了を前記上位装置に通知するライトスルー記録
手段と、前記データ書き込み指令を受け取ると、前記記
録データを前記ディスクキャッシュにのみ記録した後に
前記データ書き込み指令の実行終了を通知するキャッシ
ュ記録手段と、前記ディスクキャッシュ内のデータを前
記ディスク装置に転送して前記情報記録媒体に記録する
ライトバック記録手段とを具備し、前記ディスクロック
状態保存手段が前記ディスク装置から前記情報記録媒体
が取り出せる状態を保存しているとき、前記ディスク制
御装置は前記ライトスルー記録手段を用い、前記ディス
クロック状態保存手段が取り出せない状態を保存してい
るときは、前記ディスク制御装置は前記キャッシュ記録
手段と前記ライトバック記録手段を用いることを特徴と
する情報記録再生装置。
(3) A disk device that records and reproduces data on a replaceable disk-shaped information recording medium, a disk cache that temporarily stores the data, and a disk that controls data recording and reproduction operations for the disk device and the disk cache. a control device, the disk control device includes a disk exchange control means for placing the disk device in a state in which the information recording medium can be removed or in a state in which the information recording medium cannot be removed based on a command from a host device; a disk lock state storage means for storing a state of whether or not the information recording medium can be ejected in the disk exchange control means; and upon receiving a data write command from the host device, the host device instructs the host device to terminate the execution of the data write command. a write-through recording means for notifying the device; a cache recording means for notifying the end of execution of the data write command after recording the record data only in the disk cache upon receiving the data write command; write-back recording means for transferring data to the disk device and recording it on the information recording medium, and the disk lock state storage means stores a state in which the information recording medium can be taken out from the disk device; The disk control device uses the write-through recording means, and when the disk lock state storage means stores a state that cannot be retrieved, the disk control device uses the cache recording means and the write-back recording means. Information recording and reproducing device featuring features.
(4)ディスクロック状態保存手段が情報記録媒体を交
換不可能な状態として保持しているとき、この状態から
前記情報記録媒体を交換可能な状態にする指令を、ディ
スク制御装置が上位装置から受け取ったとき、ライトバ
ック記録手段は、ディスクキャッシュ内にあって前記情
報記録媒体には未記録データを前記情報記録媒体に記録
することを特徴とする請求項4記載の情報記録再生装置
(4) When the disk lock state storage means holds the information recording medium in a non-exchangeable state, the disk control device receives a command from the host device to change the information recording medium from this state to a replaceable state. 5. The information recording and reproducing apparatus according to claim 4, wherein the write-back recording means records data that is present in a disk cache and is not recorded on the information recording medium on the information recording medium.
(5)ライトバック記録手段は、ディスクロック状態保
存手段が情報記録媒体を交換不可能な状態として保持し
ているときで、ディスクキャッシュの内容と前記情報記
録媒体の内容を一致させたいと判断したときに、ディス
クキャッシュ内にあって前記情報記録媒体には未記録デ
ータを前記情報記録媒体に記録することを特徴とする請
求項3または4記載の情報記録再生装置。
(5) When the disk lock state storage means holds the information recording medium in an unreplaceable state, the write-back recording means determines that it is desired to match the contents of the disk cache with the contents of the information recording medium. 5. The information recording and reproducing apparatus according to claim 3, wherein the information recording and reproducing apparatus records data that is in a disk cache and is not recorded on the information recording medium at times.
(6)ライトバック記録手段は、ディスクロック状態保
存手段が情報記録媒体を交換不可能な状態として保持し
ているときで、ディスクキャッシュに新しくデータを入
れるために空き領域が必要になったときに、ディスクキ
ャッシュ内にあって前記情報記録媒体には未記録データ
を前記情報記録媒体に記録することを特徴とする請求項
3、4または5記載の情報記録再生装置。
(6) Write-back recording means is used when the disk lock state storage means holds the information recording medium in a non-replaceable state and when free space is needed to store new data in the disk cache. 6. The information recording and reproducing apparatus according to claim 3, wherein data which is in a disk cache and which is not recorded on the information recording medium is recorded on the information recording medium.
(7)ライトバック記録手段は、ディスクロック状態保
存手段が情報記録媒体を交換不可能な状態として保持し
ているときで、ディスクキャッシュ内のデータが不要に
なったときに、前記ディスクキャッシュ内にあって前記
情報記録媒体には未記録データを前記情報記録媒体に記
録することを特徴とする請求項3、4または5記載の情
報記録再生装置。
(7) The write-back recording means stores data in the disk cache when the disk lock state storage means holds the information recording medium in an unreplaceable state and the data in the disk cache is no longer needed. 6. The information recording and reproducing apparatus according to claim 3, wherein unrecorded data is recorded on said information recording medium.
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 true JPH03208145A (en) 1991-09-11
JP2684803B2 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)

Citations (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

Patent Citations (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

Also Published As

Publication number Publication date
JP2684803B2 (en) 1997-12-03

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
JPH05313980A (en) Information recording method
JPH0378649B2 (en)
RU2005100843A (en) THE INFORMATION MEDIA TO WHICH THE DATA OF THE DISC DRIVE IS WRITTEN AND THE METHOD FOR RECORDING INFORMATION ON THE INFORMATION MEDIA
JPS60179857A (en) Control system of cache device
JPH03208145A (en) Information recording and reproducing device
JP2003241904A5 (en)
JPH04111113A (en) Hard disk emulator
JP3539802B2 (en) Information storage device
JP3179372B2 (en) WRITE CACHE CONTROL METHOD AND RECORDING MEDIUM RECORDING MEDIUM DISCHARGE SWITCH CONTROL PROGRAM FOR WRITE CACHE
JPH05274089A (en) Access controller for data recording and reproducing device
JP2752750B2 (en) Auto changer
JP2623238B2 (en) Information playback method
JPH11306190A (en) Video server system
JP3412498B2 (en) Optical disc playback device
JPH08161748A (en) Disk recording/reproducing system, and data erasure control method
JPH05108485A (en) Defective/alternate track controlling system for disk cache controller
JPH08249129A (en) Information recording and reproducing device
JPH05119931A (en) Information storage device
JPH05241963A (en) Information recording and reproducing device
JPH025265A (en) Alternation processing system for optical disk device capable of erasion and rerecording
JPS63222365A (en) Backup system for magnetic disk device
JPH0895712A (en) External storage device
JP2002197781A (en) Information recording and reproducing apparatus and information recording/reproducing method
JPS62121904A (en) Control system for streaming magnetic tape device

Legal Events

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