JP2956757B2 - Optical disk drive - Google Patents

Optical disk drive

Info

Publication number
JP2956757B2
JP2956757B2 JP10307897A JP10307897A JP2956757B2 JP 2956757 B2 JP2956757 B2 JP 2956757B2 JP 10307897 A JP10307897 A JP 10307897A JP 10307897 A JP10307897 A JP 10307897A JP 2956757 B2 JP2956757 B2 JP 2956757B2
Authority
JP
Japan
Prior art keywords
optical disk
data
cache
rewritable
area
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
JP10307897A
Other languages
Japanese (ja)
Other versions
JPH10293655A (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 JP10307897A priority Critical patent/JP2956757B2/en
Publication of JPH10293655A publication Critical patent/JPH10293655A/en
Application granted granted Critical
Publication of JP2956757B2 publication Critical patent/JP2956757B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、光ディスク装置に
関し、特に複数台の光ディスクドライブを備える光ディ
スク装置に関する。
The present invention relates to an optical disk device, and more particularly to an optical disk device having a plurality of optical disk drives.

【0002】[0002]

【従来の技術】光ディスク装置は、ハードディスク装置
などに比較してデータアクセスが遅いため、高速化とし
て、例えば特公平2−96253のようにホストメモリ
を使用したキャッシュにより高速化が図られてきた。
2. Description of the Related Art Since an optical disk device has a slower data access than a hard disk device or the like, the speed has been increased by using a cache using a host memory as in Japanese Patent Publication No. 2-96253.

【0003】[0003]

【発明が解決しようとする課題】しかし、この手法で
は、ホストメモリを消費してしまう上、ホストシステム
ごとにキャッシュ機能を実現するための開発が必要とな
る、という不都合があった。さらに、従来例では、ホス
トシステムだけでキャッシュ機能を実現していたため、
従来の光ディスク装置ではキャッシュ機能を実現するた
めにホストシステムのメモリを消費していた、という不
都合があった。
However, this method has the disadvantages that it consumes host memory and requires development for realizing a cache function for each host system. Furthermore, in the conventional example, since the cache function was realized only by the host system,
The conventional optical disk device has a disadvantage that the memory of the host system is consumed to realize the cache function.

【0004】[0004]

【発明の目的】本発明は、係る従来例の有する不都合を
改善し、特に、ホストシステムのメモリを使用せずに光
ディスク装置でキャッシュ機能を実現することのできる
光ディスク装置を提供することを、その目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to improve the disadvantages of the prior art and, in particular, to provide an optical disk device which can realize a cache function in an optical disk device without using a memory of a host system. Aim.

【0005】[0005]

【課題を解決するための手段】そこで、本発明では、
換可能な光ディスク媒体又は書換不可な光ディスク媒体
に記録されたデータを読み出す複数の光ディスクドライ
ブと、前記光ディスクドライブを制御する制御部とを備
えたている。そして、制御部が、前記複数台の光ディス
クドライブに書換可能な光ディスクが装着されている場
合に当該書換可能な光ディスク媒体の未使用領域を他の
光ディスクドライブに装着された書換不可の光ディスク
ドライブのデータキャッシュ領域に設定するキャッシュ
設定機能と、前記データキャッシュ領域を前記書換可能
な光ディスクの使用者が使用していない連続した領域に
割り当てる機能と、上位装置から出力されたデータの格
納先が前記データキャッシュ領域である場合には当該デ
ータの格納先に格納されたキャッシュ領域を他の未使用
領域に移動させるキャッシュ領域移動制御機能とを備え
た、という構成を採っている。これにより前述した目的
を達成しようとするものである。すなわち、制御部が、
装置内の書換可能媒体の未使用領域をキャッシュ領域と
して使用するため、ホスト装置側でキャッシュメモリを
用いなくとも再読み出しが高速化する。また、キャッシ
ュ領域移動制御機能により、ホストシステムからのアク
セスを正常に行いながら、未使用領域がなくなるまでキ
ャッシュ機能を維持することができる。
Therefore SUMMARY OF THE INVENTION In the present invention, writing
Rewritable or non-rewritable optical disk media
Multiple optical disk drives that read data recorded on
And a control unit for controlling the optical disk drive.
I have. Then, the control unit controls the plurality of optical discs.
If a rewritable optical disk is loaded in the drive
The unused area of the rewritable optical disc medium
Non-rewritable optical disk installed in optical disk drive
Cache set in the data cache area of the drive
Setting function and the data cache area can be rewritten
To a continuous area not used by the user of the
The function to be assigned and the case of the data output from the host
If the destination is the data cache area, the data
Cache area stored in the data storage destination
Cache area move control function to move to the area
Was, adopts a configuration that. This aims to achieve the above-mentioned object. That is, the control unit:
Since the unused area of the rewritable medium in the apparatus is used as a cache area, re-reading is speeded up without using a cache memory on the host apparatus side. Also, cash
The access control from the host system
Key until all unused areas are exhausted.
The cache function can be maintained.

【0006】[0006]

【発明の実施の形態】次の、本発明の実施例について図
面を参照して詳細に説明する。図1に示すように、光デ
ィスク装置3は、書換可能な光ディスク媒体5又は書換
不可な光ディスク媒体6に記録されたデータを読み出す
複数の光ディスクドライブ1a,1b…と、この光ディ
スクドライブ1a,1b…を制御する制御部2とを備え
ている。この制御部2は、ホストインタフェース4を介
してホストシステム7とデータの送受信を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described in detail with reference to the drawings. As shown in FIG. 1, the optical disk device 3 includes a plurality of optical disk drives 1a, 1b... For reading data recorded on a rewritable optical disk medium 5 or a non-rewritable optical disk medium 6, and the optical disk drives 1a, 1b. And a control unit 2 for controlling. The control unit 2 transmits and receives data to and from the host system 7 via the host interface 4.

【0007】本実施形態では、制御部2は、複数台の光
ディスクドライブのうち少なくとも1台以上に書換可能
な光ディスクが装着されている場合に当該書換可能な光
ディスク媒体の未使用領域を他の光ディスクドライブに
装着された書換不可の光ディスクドライブのデータキャ
ッシュ領域に設定するキャッシュ設定機能2Aを備え
た。
In this embodiment, when at least one of the plurality of optical disk drives has a rewritable optical disk mounted thereon, the control unit 2 replaces the unused area of the rewritable optical disk medium with another optical disk drive. A cache setting function 2A for setting a data cache area of a non-rewritable optical disk drive mounted on the drive is provided.

【0008】一般的に光ディスク装置で使用される書換
不可媒体(例えばCD−ROMなど)は、読みとり時間
が書換可能媒体(例えば光磁気ディスク)に比較して遅
くなっている。そこで、複数台の光ディスクドライブの
中のどれか(図1では1b)に書換不可媒体6が装着さ
れ、別の光ディスクドライブ(図1では1a)に書換可
能媒体5が装着された場合、制御部2は、書換可能媒体
5の使用領域10以外の未使用領域12の一部をキャッ
シュ領域11として確保し、書換不可媒体6のキャッシ
ュ領域として使用する。書換可能媒体5からの読み出し
は、書換不可媒体6より高速のため、キャッシュとして
効果が確保される。
In general, a non-rewritable medium (for example, a CD-ROM) used in an optical disk device has a longer read time than a rewritable medium (for example, a magneto-optical disk). When the rewritable medium 6 is mounted on one of the plurality of optical disk drives (1b in FIG. 1) and the rewritable medium 5 is mounted on another optical disk drive (1a in FIG. 1), the control unit 2 secures a part of the unused area 12 other than the used area 10 of the rewritable medium 5 as the cache area 11 and uses it as the cache area of the non-rewritable medium 6. Since reading from the rewritable medium 5 is faster than reading from the non-rewritable medium 6, the effect as a cache is ensured.

【0009】この制御部は、書換不可の光ディスクから
データを読み出したときに当該データをデータキャッシ
ュ領域に格納するキャッシュデータ作成機能を備えると
よい。これにより、一旦書換不可の光ディスク6からデ
ータを読み出したときには当該データがキャッシュさ
れ、次回の読み出しが高速となる。
The control section preferably has a cache data creation function of storing data in a data cache area when data is read from a non-rewritable optical disk. As a result, when data is once read from the non-rewritable optical disk 6, the data is cached, and the next reading becomes faster.

【0010】図2に示すように、キャッシュ設定機能2
Aは、データキャッシュ領域を書換可能な光ディスクの
使用者が使用していない連続した領域に割り当てる機能
を備えるとよい。この場合、キャッシュデータの読み出
しが連続して行われるため、ホストシステム7からの読
み出しがより高速となる。キャッシュ設定機能2Aは、
図2に示すように、書換可能媒体5の開始アドレスから
終了アドレスまでの間で、使用者が開始アドレスから記
録を行っている場合、キャッシュ領域を最終アドレスか
ら開始アドレスへ向けた一定領域に設定すると良い。こ
の場合、使用者によってキャッシュ領域11が使用され
る可能性をより遅らせることができるため、キャッシュ
機能を最大限使用することができる。
[0010] As shown in FIG.
A preferably has a function of allocating a data cache area to a continuous area that is not used by the user of the rewritable optical disk. In this case, since the reading of the cache data is performed continuously, the reading from the host system 7 becomes faster. The cache setting function 2A
As shown in FIG. 2, when the user is recording from the start address between the start address and the end address of the rewritable medium 5, the cache area is set to a fixed area from the last address to the start address. Good. In this case, since the possibility that the cache area 11 is used by the user can be further delayed, the cache function can be used to the maximum.

【0011】さらに、本実施形態では、制御部が、上位
装置から出力されたデータの格納先がデータキャッシュ
領域である場合には当該データの格納先に格納されたキ
ャッシュ領域を他の未使用領域に移動させるキャッシュ
領域移動制御機能を備える。これにより、ホストシステ
ムからのアクセスを正常に行いながら、未使用領域がな
くなるまでキャッシュ機能を維持することができる。た
だし、光ディスク媒体は容量が大きいため、使用領域1
0から離れた所にキャッシュ領域11を確保しておけ
ば、ホストシステム7からのアクセスがこの部分にヒッ
トする比率は低くなる。
Further, in this embodiment, when the storage destination of the data output from the host device is a data cache area, the control unit replaces the cache area stored in the storage destination of the data with another unused area. And a cache area transfer control function for moving the cache area. As a result, the cache function can be maintained while the access from the host system is performed normally until the unused area is exhausted. However, since the capacity of the optical disk medium is large, the used area 1
If the cache area 11 is secured at a position distant from 0, the rate at which access from the host system 7 hits this portion is reduced.

【0012】次に、本発明の実施例の動作について、図
3のフローチャートを参照して説明する。制御部2はホ
ストインターフェース4を介して、光ディスクドライブ
1a,1bとホストシステム7とのデータの送受信を制
御している。また、制御部2は、光ディスクドライブ1
a,1bに装着された媒体も管理している。従って、制
御部2は、各光ディスクドライブ1a,1bにどのよう
な媒体が装着されどのように媒体が使われているかを知
ることができる。このため、まず、書換可能な光ディス
ク5が光ディスクドライブ1に装着されているか否かを
確認する(ステップS1)。装着されている場合には、
この光ディスク5に一定容量以上の連続した空き容量が
あるか否かを確認する(ステップS2)。さらに、連続
した空き容量がある場合には、当該領域をデータキャッ
シュ領域に設定する(ステップS3)。
Next, the operation of the embodiment of the present invention will be described with reference to the flowchart of FIG. The control unit 2 controls transmission and reception of data between the optical disk drives 1 a and 1 b and the host system 7 via the host interface 4. Further, the control unit 2 includes an optical disk drive 1
It also manages the media mounted on a and 1b. Therefore, the control unit 2 can know what medium is mounted on each of the optical disk drives 1a and 1b and how the medium is used. For this reason, first, it is confirmed whether or not the rewritable optical disk 5 is mounted on the optical disk drive 1 (step S1). If fitted,
It is checked whether or not the optical disk 5 has a continuous free space equal to or larger than a certain capacity (step S2). If there is a continuous free space, the area is set as a data cache area (step S3).

【0013】その後、書換不可の媒体6からの読み出し
があった場合には、当該読み出されたデータをデータキ
ャッシュ領域に格納し、次回このデータへのアクセスが
あった場合には当該キャッシュ領域に格納されたデータ
を読み出す。書換可能媒体5の読み出し速度は書換不可
媒体の読み出し速度よりも早いため、書換不可媒体6か
ら読み出すよりも高速に読み出しが行われる。
Thereafter, when data is read from the non-rewritable medium 6, the read data is stored in the data cache area, and when the data is accessed next time, the data is stored in the cache area. Read the stored data. Since the reading speed of the rewritable medium 5 is faster than the reading speed of the non-rewritable medium, reading is performed faster than reading from the non-rewritable medium 6.

【0014】上述したように本実施形態によると、光デ
ィスク装置内でキャッシュを実現しているため、ホスト
システムのメモリを使用しなくてもキャッシュが実現で
きる。
As described above, according to the present embodiment, since the cache is realized in the optical disk device, the cache can be realized without using the memory of the host system.

【0015】[0015]

【発明の効果】本発明は以上のように構成され機能する
ので、これによると、制御部が、装置内の書換可能媒体
の未使用領域をキャッシュ領域として使用するため、ホ
スト装置側でキャッシュメモリを用いなくとも再読み出
しを高速に行うことができ、従って、実質的にホストシ
ステムのメモリを増やすことができ、さらに、キャッシ
ュ領域移動制御機能により、ホストシステムからのアク
セスを正常に行いながら、未使用領域がなくなるまでキ
ャッシュ機能を維持することができる、という従来にな
い優れた光ディスク装置を提供することができる。
According to the present invention, the control unit uses the unused area of the rewritable medium in the apparatus as a cache area. without using the re-read it can be performed at high speed, therefore, Ki out to increase the memory substantially host system, further, cache
The access control from the host system
Key until all unused areas are exhausted.
It is possible to provide an unprecedented excellent optical disk device capable of maintaining the cache function .

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

【図1】本発明の光ディスク装置の一実施形態を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of an optical disk device of the present invention.

【図2】図1に示す一実施形態のキャッシュ実現例の示
す説明図である。
FIG. 2 is an explanatory diagram showing a cache implementation example of the embodiment shown in FIG. 1;

【図3】図1に示す構成での動作例を示すフローチャー
トである。
FIG. 3 is a flowchart showing an operation example in the configuration shown in FIG. 1;

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

1 光ディスクドライブ 2 制御部 3 光ディスク装置 4 ホストイターフェース 5 書換可能媒体 6 書換不可媒体 7 ホストシステム 10 使用領域 11 キャッシュ領域 12 未使用領域 DESCRIPTION OF SYMBOLS 1 Optical disk drive 2 Control part 3 Optical disk device 4 Host interface 5 Rewritable medium 6 Non-rewritable medium 7 Host system 10 Used area 11 Cache area 12 Unused area

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 書換可能な光ディスク媒体又は書換不可
な光ディスク媒体に記録されたデータを読み出す複数の
光ディスクドライブと、前記光ディスクドライブを制御
する制御部とを備えた光ディスク装置において、 前記制御部が、前記複数台の光ディスクドライブに書換
可能な光ディスクが装着されている場合に当該書換可能
な光ディスク媒体の未使用領域を他の光ディスクドライ
ブに装着された書換不可の光ディスクドライブのデータ
キャッシュ領域に設定するキャッシュ設定機能と、前記
データキャッシュ領域を前記書換可能な光ディスクの使
用者が使用していない連続した領域に割り当てる機能
と、 上位装置から出力されたデータの格納先が前記デー
タキャッシュ領域である場合には当該データの格納先に
格納されたキャッシュ領域を他の未使用領域に移動させ
るキャッシュ領域移動制御機能とを備えたことを特徴と
る光ディスク装置。
1. A rewritable optical disk medium or rewritable.
Read out data recorded on various optical disc media
Optical disk drive and controlling the optical disk drive
An optical disk drive having a control unit that performs writing to the plurality of optical disk drives.
Rewritable when a readable optical disc is loaded
The unused area of a new optical disk medium to another optical disk drive.
Data of a non-rewritable optical disk drive attached to the drive
A cache setting function for setting a cache area,
Use a rewritable optical disk for the data cache area.
Function to assign to continuous area not used by user
And a cache area movement control function for moving the cache area stored at the data storage destination to another unused area when the storage destination of the data output from the host device is the data cache area. optical disc device you <br/> characterized in that the.
【請求項2】 前記制御部が、前記書換不可の光ディス
クからデータを読み出したときに当該データを前記デー
タキャッシュ領域に格納するキャッシュデータ作成機能
を備えたことを特徴とする請求項1記載の光ディスク装
置。
2. The optical disk according to claim 1, wherein the control unit has a cache data creation function of storing the data in the data cache area when the data is read from the non-rewritable optical disk. apparatus.
JP10307897A 1997-04-21 1997-04-21 Optical disk drive Expired - Lifetime JP2956757B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10307897A JP2956757B2 (en) 1997-04-21 1997-04-21 Optical disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10307897A JP2956757B2 (en) 1997-04-21 1997-04-21 Optical disk drive

Publications (2)

Publication Number Publication Date
JPH10293655A JPH10293655A (en) 1998-11-04
JP2956757B2 true JP2956757B2 (en) 1999-10-04

Family

ID=14344614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10307897A Expired - Lifetime JP2956757B2 (en) 1997-04-21 1997-04-21 Optical disk drive

Country Status (1)

Country Link
JP (1) JP2956757B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002109831A (en) 2000-09-29 2002-04-12 Toshiba Corp Recording and reproducing device
US8023384B2 (en) 2007-04-13 2011-09-20 International Business Machines Corporation Computer program product for controlling an apparatus for accessing dual-path optical recording media
US7693030B2 (en) 2007-04-13 2010-04-06 International Business Machines Corporation Dual-path optical recording media and an apparatus for accessing thereof

Also Published As

Publication number Publication date
JPH10293655A (en) 1998-11-04

Similar Documents

Publication Publication Date Title
US5535355A (en) Controller for a storage device which allows either prestored or user defined firmware to be executed
JP3568110B2 (en) Cache memory control method, computer system, hard disk drive, and hard disk controller
US6523086B1 (en) Method for improving performance of read cache of magnetic disk drive
JPH0830397A (en) Information storage device
KR100367295B1 (en) An apparatus and method for writing a region code in a DVD driver
EP0567170A1 (en) Optical disk with rewritable and write-once areas
JP2956757B2 (en) Optical disk drive
US6108289A (en) Optical disc recording apparatus for overwriting information on a previously recorded packet of an optical disc
JP3539802B2 (en) Information storage device
JPH01303547A (en) Control system for information memory
JPH06314172A (en) Information recording and reproducing device
JP2665180B2 (en) Disk cache buffer allocation method
JPH0793886A (en) Information storage device
JPH05197502A (en) Magnetic tape controller
JP3839201B2 (en) Data recording / reproducing apparatus, data recording / reproducing method, and computer-readable recording medium
JPH1049312A (en) Magnetic disk drive
JP3986754B2 (en) Information recording / reproducing apparatus and information recording / reproducing method
JP2684803B2 (en) Information recording / reproducing device
JP3183253B2 (en) Dynamic capacity increase method and dynamic capacity increase method for disk device
US20030086343A1 (en) Method for data reproducing from an optical storage device
KR100309107B1 (en) Method for controlling memory
KR100341804B1 (en) Method for reducing buffer under-run
JPH1186512A (en) Data rewriting method for optical disk
JPH10106143A (en) Optical disk recording and reproducing device
JPH09114674A (en) Hard disk 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: 19990623