JP2003338131A - Storage device, reproducing device, information storage system, storage method, program, and recording medium - Google Patents

Storage device, reproducing device, information storage system, storage method, program, and recording medium

Info

Publication number
JP2003338131A
JP2003338131A JP2002142715A JP2002142715A JP2003338131A JP 2003338131 A JP2003338131 A JP 2003338131A JP 2002142715 A JP2002142715 A JP 2002142715A JP 2002142715 A JP2002142715 A JP 2002142715A JP 2003338131 A JP2003338131 A JP 2003338131A
Authority
JP
Japan
Prior art keywords
information
read
recording medium
data
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.)
Pending
Application number
JP2002142715A
Other languages
Japanese (ja)
Inventor
Shuji Horikawa
修司 堀川
Tomohiro Koda
朋弘 甲田
Motoyuki Takai
基行 高井
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2002142715A priority Critical patent/JP2003338131A/en
Publication of JP2003338131A publication Critical patent/JP2003338131A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently read a disk. <P>SOLUTION: When information to be read from the disk are temporarily stored in a cache memory in response to a plurality of times of reading requests to the cache memory, separated situations in the disk among the plurality of pieces of information to be read from the disk in response to the requests are detected. For example, whether a difference between addresses in the disk is not more than a prescribed value or not is detected. When the plurality of pieces of information are physically separated a little, reading is performed from the disk by one continuous reading trace including unnecessary data in the separated part. That is, the plurality of necessary pieces of information are read as an operation by which the reading trace with respect to the track of a disk recording medium is not interrupted by track access. <P>COPYRIGHT: (C)2004,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、記憶装置と、該記
憶装置を備えた再生装置と、上記記憶装置を含む情報記
憶システムと、記憶方法と、上記記憶装置又は記憶方法
を実現するプログラムと、上記プログラムを格納した記
録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device, a reproducing device having the storage device, an information storage system including the storage device, a storage method, and a program for implementing the storage device or the storage method. The present invention relates to a recording medium storing the above program.

【0002】[0002]

【従来の技術】光ディスク、光磁気ディスクなどのメデ
ィアを用いるデータストレージ機器の開発が多様化して
おり、またデータストレージの目的たるデータも多様化
していることから、汎用的に各種データに対応できるデ
ータストレージ機器が各種提案されている。例えば光デ
ィスク、光磁気ディスクなどのメディアを用いる機器で
は、いわゆるAV(オーディオ・ビジュアル)機器と呼
ばれる、音楽データや映像データのストレージ(記録再
生)を行う機器や、パーソナルコンピュータ周辺機器と
してのストレージデバイスとしてパーソナルコンピュー
タで用いる各種データ(テキストデータ、オーディオデ
ータ、ビデオデータ、各種プログラムファイル、アプリ
ケーションデータ等)を保存する機器などが実用化され
ている。
2. Description of the Related Art The development of data storage devices that use media such as optical disks and magneto-optical disks has been diversified, and the data intended for data storage has also been diversified. Various storage devices have been proposed. For example, in a device using a medium such as an optical disk and a magneto-optical disk, it is used as a so-called AV (audio / visual) device for storing (recording / reproducing) music data and video data, and as a storage device as a personal computer peripheral device. A device for storing various data (text data, audio data, video data, various program files, application data, etc.) used in a personal computer has been put into practical use.

【0003】ここで近年、AV機器とパーソナルコンピ
ュータ周辺機器の両方に対応できるディスクメディアも
開発されており、記録再生装置としては、例えば単体で
はAV機として機能すると共にパーソナルコンピュータ
やネットワーク等と接続することで、PC周辺機器と同
様のストレージデバイスとしても機能できるようにする
ものも開発されている。
In recent years, a disk medium compatible with both AV equipment and personal computer peripheral equipment has been developed. As a recording / reproducing apparatus, for example, it functions as an AV machine by itself and is connected to a personal computer or a network. Therefore, a device that can function as a storage device similar to a PC peripheral device has also been developed.

【0004】なお説明上、音楽コンテンツ、映像コンテ
ンツ等の時間的連続性のあるデータを「AVデータ」と
呼び、ネットワークやパーソナルコンピュータ等で扱わ
れる制御データ、プログラムデータ、テキストデータ等
の各種データを「PCデータ」と呼ぶこととする。
For the sake of explanation, data having temporal continuity such as music contents and video contents is called "AV data", and various data such as control data, program data and text data handled by a network or a personal computer is called. It is called "PC data".

【0005】[0005]

【発明が解決しようとする課題】ところで、ネットワー
クやパーソナルコンピュータに接続できるAV機器を考
えるときには、汎用性,高速性が求められる。従来、A
V用ストレージ機器では,時間的に連続するAVデータ
の記録/再生が途切れなければ問題なく,それ以上の高
速化の追求よりは,消費電力その他の利便性の追求が求
められていた。しかしながら、機器をネットワークに接
続してデータをダウンロードするような利用方法が求め
られるようになると、PCデータのような各種設定を読
み書きしつつ,AVデータを数十倍〜数千倍の速さで読
み書きするような、高速性、汎用性が求められるものと
なる。
By the way, when considering an AV device that can be connected to a network or a personal computer, versatility and high speed are required. Conventionally, A
With V storage devices, there is no problem unless recording / playback of AV data that is temporally continuous is interrupted, and there has been a demand for power consumption and other convenience rather than for higher speeds. However, when there is a demand for a method of connecting a device to a network and downloading data, while reading and writing various settings such as PC data, AV data can be transmitted several tens to several thousand times faster. It requires high speed and versatility such as reading and writing.

【0006】ここで一般的なデータパスを考えると、デ
ィスク等の記録媒体に対して記録再生されるデータは、
多くの場合はキャッシュメモリを一時的に経由するよう
にされている。このキャッシュメモリについては、PC
データとAVデータでは利用目的が異なっていた。
Considering a general data path, the data recorded / reproduced on / from a recording medium such as a disc is
In many cases, the cache memory is temporarily passed. About this cache memory, PC
The purpose of use was different between data and AV data.

【0007】PCデータ用途のストレージデバイスにお
けるキャッシュの一般的な考え方としては、過去にディ
スク等から読み込んだデータをキャッシュに保持してお
き、ディスクからのデータ読出要求が発生した場合に
は、キャッシュ内のデータにヒットすることでストレー
ジデバイスでのディスクの読み書きを不要とすることで
要求に対する応答性を高速化する役割が大きい。そして
キャッシュヒットした時は、高速に応答できるが、キャ
ッシュヒットしなかったときはキャッシュヒットした場
合に比べて大幅に遅くなるため、キャッシュヒットの確
率を高くすることが機器の応答性向上に重要である。こ
のためにはキャッシュに確保するデータをできるだけ理
想的にランダムに散らすことでコリジョン発生を最小化
し、検索を高速化するハッシュアルゴリズムが用いられ
る。このハッシュアルゴリズムでは、結果としてキャッ
シュメモリ上のデータの断片化を促進してしまうが、要
求されたデータに対して所定のアルゴリズムでキャッシ
ュ上のアドレスが特定できるため、検索性がよいもので
ある。
The general idea of a cache in a storage device for PC data is that data read from a disk or the like in the past is held in the cache, and if a data read request from the disk occurs, the cache is stored. By hitting the above data, the read / write of the disk in the storage device becomes unnecessary, and the role of speeding up the response to the request is great. And when there is a cache hit, the response is fast, but when there is no cache hit, it is much slower than when there is a cache hit, so increasing the probability of a cache hit is important for improving the responsiveness of the device. is there. For this purpose, a hash algorithm that minimizes collisions and speeds up search by randomly distributing the data to be secured in the cache as ideally as possible is used. This hash algorithm, as a result, promotes fragmentation of the data in the cache memory, but the searchability is good because the address in the cache can be specified by the predetermined algorithm for the requested data.

【0008】一方、AVデータ用途の記録再生機器にお
けるキャッシュの一般的な考え方としては、できるだけ
先読みしてデータを溜め込んでおくことによって,スト
レージデバイスでの処理の遅れを吸収すること、及び、
モーター等の電源を落とすことで省電力を図るためのバ
ッファとしての役割が大きい。時系列的に連続するAV
データは、先読み妥当性の極めて高いデータがあらかじ
め分っているため、キャッシュの大部分を先読み用エリ
アとして使うことになる。またAVデータはPCデータ
に比べてデータサイズがが巨大で連続性が高いため、キ
ャッシュ領域を確保し続けるためにリングバッファ方式
を採用する場合が多い。そしてこのようなAVデータ用
途の場合は、上記のようにキャッシュ上でデータの断片
化が進むハッシュアルゴリズムは最適とはいえない。
On the other hand, the general idea of the cache in the recording / reproducing device for AV data is to prefetch as much as possible and store the data to absorb the delay of the processing in the storage device.
It plays a large role as a buffer for saving power by turning off the power source of the motor, etc. AV continuous in time series
Most of the cache is used as a read-ahead area because the data has a very high read-ahead validity. Further, since AV data has a larger data size and higher continuity than PC data, a ring buffer method is often adopted in order to keep a cache area. In the case of such AV data use, the hash algorithm in which the data fragmentation progresses on the cache as described above is not optimal.

【0009】また特に、記録媒体としてディスクを用い
たストレージデバイスを考えると、複数の読み書き処理
について、できるだけアドレスを連続にし、これを1回
の読み書きで処理することができれば、高速化,省電力
化を図ることができる。つまり、例えばスパイラル状に
形成されるディスク上のトラックに対して、連続した走
査(光ビームのトレース)により記録再生ができるよう
にすれば、頻繁なトラックジャンプやアクセス、ディス
ク回転待ち時間等を解消できるためである。しかしなが
ら上記ハッシュアルゴリズムによりキャッシュ上でデー
タが断片化することは、このようにアドレスを連続にし
て記録再生を行うことが困難になり、従ってAVデータ
を対象としてディスクに記録再生するという用途の場
合、ハッシュアルゴリズムは最適とはいえない。
Further, in particular, considering a storage device using a disk as a recording medium, if a plurality of read / write processes can be made to have consecutive addresses as much as possible and can be processed in one read / write operation, the speed and power consumption are reduced. Can be achieved. In other words, if tracks can be recorded and reproduced by continuous scanning (light beam tracing), for example, on a spirally formed track on a disk, frequent track jumps, access, disk rotation waiting time, etc. can be eliminated. Because you can. However, the fragmentation of data on the cache by the above hash algorithm makes it difficult to record / reproduce with continuous addresses in this way, and therefore, in the case of use for recording / reproducing AV data on a disc, The hash algorithm is not optimal.

【0010】このようにPCデータとAVデータのキャ
ッシュ目的の違いから、PCデータとAVデータの両方
に対応するストレージ機器を考えた場合、キャッシュ処
理が最適化しにくいという問題が生ずる。即ち、AVデ
ータの高速記録再生機能を実現しつつ、PCデータも効
率よく読み書きできるようにして、高速応答性、低消費
電力を実現することは困難であった。
As described above, due to the difference in the purpose of caching PC data and AV data, when a storage device that supports both PC data and AV data is considered, it is difficult to optimize cache processing. That is, it has been difficult to realize high-speed response and low power consumption by efficiently reading and writing PC data while realizing a high-speed recording / reproducing function of AV data.

【0011】また、ディスクからデータを読み出してキ
ャッシュメモリに書き込む場合には、ディスクに対する
読出動作として効率的な処理が求められる。特にディス
クに対する読出動作は、メモリ素子間の書込/読出やデ
ータの転送に比べれば非常に時間を要するものであるた
め、ディスクに対する読出動作の効率化はシステム性能
を左右するものとなり、ディスクからのデータ読出の効
率化も求められている。
When data is read from the disk and written in the cache memory, efficient processing is required as a read operation for the disk. Particularly, since the read operation for the disk requires much time compared to the write / read and the data transfer between the memory elements, the efficiency of the read operation for the disk affects the system performance. There is also a demand for more efficient data reading.

【0012】[0012]

【課題を解決するための手段】そこで本発明では、ネッ
トワーク/パーソナルコンピュータに適応したストレー
ジ機器となるとともにAV機器としても機能する機器を
考慮し、AVデータの高速記録再生機能、PCデータの
効率性を確保し、高速応答性、低消費電力、さらには低
コストを実現するキャッシュ制御方式を提案したうえ
で、ディスク等の記録媒体に対する読出動作の効率化も
実現することを目的とする。
Therefore, in the present invention, in consideration of a storage device adapted to a network / personal computer and a device which also functions as an AV device, a high-speed recording / reproducing function of AV data and efficiency of PC data are considered. It is an object of the present invention to provide a cache control method that ensures high speed response, low power consumption, and low cost, and also realizes efficient read operation for a recording medium such as a disk.

【0013】本発明の記憶装置は、記録媒体から読み出
される情報を一時記憶する一時記憶手段と、上記記録媒
体に対する情報の読出動作の実行を制御する読出制御手
段と、複数の要求に応じて上記記録媒体から読み出すべ
き複数の情報間の上記記録媒体上での離間状況を検出す
る検出手段と、上記検出手段の検出結果に応じて、上記
読み出すべき複数の情報と該各情報の間の不要情報を含
めて、上記読出制御手段に対し、上記記録媒体からの情
報読出及び上記一時記憶手段への一時記憶を指示する一
時記憶制御手段とを備える。また、上記一時記憶制御手
段は、上記読み出すべき複数の情報間の離間状況とし
て、上記記録媒体上のアドレス差が所定値以下であるこ
とが上記検出手段に検出されたとき、上記読み出すべき
複数の情報と該各情報の間の不要情報を含めて、上記読
出制御手段に対し、上記記録媒体からの情報読出及び上
記一時記憶手段への一時記憶を指示する。また上記記録
媒体はディスク記録媒体であり、上記読出制御手段は、
上記一時記憶制御手段からの上記不要情報を含む複数の
情報の読出指示に対応して、上記ディスク記録媒体のト
ラックに対する読出トレースがトラックアクセスにより
中断されることのない読出動作として実行されるように
制御する。
The storage device of the present invention comprises: a temporary storage means for temporarily storing information read from a recording medium; a read control means for controlling execution of an information read operation for the recording medium; Detecting means for detecting a separation state on the recording medium between a plurality of pieces of information to be read from a recording medium, and unnecessary information between the plurality of pieces of information to be read and the respective pieces of information according to a detection result of the detecting means And a temporary storage control means for instructing the read control means to read information from the recording medium and temporarily store the information in the temporary storage means. The temporary storage control means may detect the plurality of pieces of information to be read when the detection means detects that the address difference on the recording medium is equal to or less than a predetermined value as the separation state between the plurality of pieces of information to be read. The read control means is instructed to read information from the recording medium and temporarily store it in the temporary storage means, including information and unnecessary information between the information. The recording medium is a disk recording medium, and the read control means is
In response to a read instruction of a plurality of information including the unnecessary information from the temporary storage control means, the read trace for the track of the disk recording medium is executed as a read operation which is not interrupted by the track access. Control.

【0014】本発明の再生装置は、記録媒体に対して情
報の読出を行う読出手段と、上記読出手段によって上記
記録媒体から読み出される情報を一時記憶する一時記憶
手段と、上記読出手段による上記記録媒体に対する情報
の読出動作の実行を制御する読出制御手段と、複数の要
求に応じて上記記録媒体から読み出すべき複数の情報間
の上記記録媒体上での離間状況を検出する検出手段と、
上記検出手段の検出結果に応じて、上記読み出すべき複
数の情報と該各情報の間の不要情報を含めて、上記読出
制御手段に対し、上記記録媒体からの情報読出及び上記
一時記憶手段への一時記憶を指示する一時記憶制御手段
とを備える。
In the reproducing apparatus of the present invention, the reading means for reading information from the recording medium, the temporary storage means for temporarily storing the information read from the recording medium by the reading means, and the recording by the reading means. Read control means for controlling execution of an operation of reading information from a medium, and detection means for detecting a separation state on the recording medium between a plurality of pieces of information to be read from the recording medium in response to a plurality of requests,
Depending on the detection result of the detection means, the read control means, including the plurality of pieces of information to be read and unnecessary information between the pieces of information, is read out from the recording medium and stored in the temporary storage means. And temporary storage control means for instructing temporary storage.

【0015】本発明の、例えば記憶装置と情報処理装置
とから成るような情報記憶システムは、記録媒体から読
み出される情報を一時記憶する一時記憶手段と、上記記
録媒体に対する情報の読出動作の実行を制御する読出制
御手段と、複数の要求に応じて上記記録媒体から読み出
すべき複数の情報間の上記記録媒体上での離間状況を検
出する検出手段と、上記検出手段の検出結果に応じて、
上記読み出すべき複数の情報と該各情報の間の不要情報
を含めて、上記読出制御手段に対し、上記記録媒体から
の情報読出及び上記一時記憶手段への一時記憶を指示す
る一時記憶制御手段と、上記記録媒体に対する情報の読
出のために、上記記録媒体に対するアクセス位置を示す
アドレスを、上記一時記憶制御手段に通知する読出要求
手段とを備える。
An information storage system according to the present invention, which comprises, for example, a storage device and an information processing device, executes temporary storage means for temporarily storing information read from a recording medium, and information read operation for the recording medium. Read control means for controlling, detecting means for detecting a separation state on the recording medium between a plurality of pieces of information to be read from the recording medium in response to a plurality of requests, and depending on a detection result of the detecting means,
Temporary storage control means for instructing the reading control means to read information from the recording medium and temporarily store in the temporary storage means, including the plurality of pieces of information to be read and unnecessary information between the pieces of information. Read request means for notifying the temporary storage control means of an address indicating an access position to the recording medium for reading information from the recording medium.

【0016】本発明の記憶方法は、記録媒体から情報を
読み出して一時記憶手段に一時記憶する際に、複数の要
求に応じて上記記録媒体から読み出すべき複数の情報間
の上記記録媒体上での離間状況を検出し、その検出結果
に応じて、上記読み出すべき複数の情報と該各情報の間
の不要情報を含めて、上記記録媒体からの情報読出及び
上記一時記憶手段への一時記憶を行う。
According to the storage method of the present invention, when information is read from a recording medium and temporarily stored in the temporary storage means, a plurality of pieces of information to be read from the recording medium in response to a plurality of requests are recorded on the recording medium. A separation state is detected, and information is read from the recording medium and temporarily stored in the temporary storage means, including the plurality of pieces of information to be read and unnecessary information between the pieces of information, according to the detection result. .

【0017】本発明のプログラムは、記録媒体から情報
を読み出して一時記憶手段に一時記憶する際に、複数の
要求に応じて上記記録媒体から読み出すべき複数の情報
間の上記記録媒体上での離間状況を検出し、その検出結
果に応じて、上記読み出すべき複数の情報と該各情報の
間の不要情報を含めて、上記記録媒体からの情報読出及
び上記一時記憶手段への一時記憶を実行させるようにす
るプログラムである。
According to the program of the present invention, when information is read from a recording medium and temporarily stored in the temporary storage means, a plurality of pieces of information to be read from the recording medium in response to a plurality of requests are separated from each other on the recording medium. A situation is detected, and information is read from the recording medium and temporarily stored in the temporary storage means, including the plurality of pieces of information to be read and unnecessary information between the pieces of information, according to the detection result. It is a program to do.

【0018】本発明の記録媒体は、記録媒体から情報を
読み出して一時記憶手段に一時記憶する際に、複数の要
求に応じて上記記録媒体から読み出すべき複数の情報間
の上記記録媒体上での離間状況を検出し、その検出結果
に応じて、上記読み出すべき複数の情報と該各情報の間
の不要情報を含めて、上記記録媒体からの情報読出及び
上記一時記憶手段への一時記憶を実行させるプログラム
を記録した記録媒体である。
In the recording medium of the present invention, when information is read from the recording medium and temporarily stored in the temporary storage means, a plurality of pieces of information to be read from the recording medium in response to a plurality of requests are recorded on the recording medium. Detecting a separation state, and executing information reading from the recording medium and temporary storage in the temporary storage means, including the plurality of pieces of information to be read and unnecessary information between the pieces of information, according to the detection result. It is a recording medium on which a program to be recorded is recorded.

【0019】即ち本発明では、複数回の要求に対応し
て、記録媒体(ディスク)から読み出される情報を一時
記憶手段(キャッシュメモリ)に一時記憶させる際に、
その複数の要求に応じて上記記録媒体から読み出すべき
複数の情報間の上記記録媒体上での離間状況を検出す
る。例えばディスク上でのアドレス差が所定値以下であ
るか否かを検出する。そして複数の情報の離間が物理的
に小さいときには、その離間部分の不要データを含めた
1回の連続的な読出トレースにより、ディスクからの読
出を行うようにする。つまり必要とされる複数の情報の
読出が、ディスク記録媒体のトラックに対する読出トレ
ースがトラックアクセスにより中断されることのない動
作として実行できるようにする。
That is, according to the present invention, when the information read from the recording medium (disk) is temporarily stored in the temporary storage means (cache memory) in response to a plurality of requests,
In response to the plurality of requests, the state of separation on the recording medium between the plurality of pieces of information to be read from the recording medium is detected. For example, it is detected whether the address difference on the disc is less than or equal to a predetermined value. When the distance between the plurality of pieces of information is physically small, the disk is read by one continuous read trace including unnecessary data in the separated portion. That is, reading of a plurality of required information can be performed as an operation in which the reading trace for the track of the disk recording medium is not interrupted by the track access.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明していく。説明は次の順序で行う。 1.記録再生装置の構成 2.ディスク及びストレージ部の構成 3.基本的なキャッシュ制御方式 4.ライト/リード動作 5.キャッシュ検索処理 6.ディスクに対する読出制御
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below. The description will be given in the following order. 1. 1. Configuration of recording / reproducing apparatus Configuration of disk and storage unit 3. Basic cache control method 4. Write / read operation 5. Cache search process 6. Read control for disk

【0021】1.記録再生装置の構成 実施の形態としての記録再生装置は、一例として、磁界
変調方式でデータ記録が行われる光磁気ディスクである
ミニディスク(MD)方式のディスクに対する記録再生
装置とする。但し、既に普及している音楽用途のミニデ
ィスクのみではなく、より高密度記録を可能とし、コン
ピュータユースの各種データのストレージに利用できる
高密度ディスクについても対応可能な記録再生装置であ
る。
1. Configuration of Recording / Reproducing Apparatus The recording / reproducing apparatus as an embodiment is, for example, a recording / reproducing apparatus for a mini disk (MD) type disk which is a magneto-optical disk on which data is recorded by a magnetic field modulation method. However, the recording / reproducing apparatus is not limited to the mini-discs that are already in widespread use, but is also applicable to a high-density disc that enables higher-density recording and can be used for storage of various data for computer use.

【0022】図1により本例の記録再生装置の構成を説
明する。図1においては、本例の記録再生装置1が、例
えばパーソナルコンピュータ(或いはネットワーク)1
00として外部の機器との間でデータ通信可能な機器と
して示している。例えば記録再生装置1は、パーソナル
コンピュータ100とUSBケーブル等の伝送路101
で接続されることで、パーソナルコンピュータ100に
対する外部ストレージ機器として機能できる。また、パ
ーソナルコンピュータ100を介したり、或いは直接ネ
ットワークと接続できる機能を備えるなどしてネットワ
ーク接続されることで、音楽や各種データをダウンロー
ドし、記録再生装置1においてストレージ部2に装填さ
れたディスクに保存できるものともなる。
The configuration of the recording / reproducing apparatus of this example will be described with reference to FIG. In FIG. 1, a recording / reproducing apparatus 1 of this example is, for example, a personal computer (or network) 1
00 is shown as a device capable of data communication with an external device. For example, the recording / reproducing apparatus 1 includes a personal computer 100 and a transmission line 101 such as a USB cable.
By connecting with the personal computer 100, the personal computer 100 can function as an external storage device. Also, music or various data is downloaded via the personal computer 100 or by being connected to the network by having a function of directly connecting to the network, and the music and various data are downloaded to a disc loaded in the storage unit 2 in the recording / reproducing apparatus 1. It can also be saved.

【0023】一方、この記録再生装置1はパーソナルコ
ンピュータ100等に接続しなくとも、例えばオーディ
オ機器として機能する。例えば他のオーディオ機器等か
ら入力された音楽データをディスクに記録したり、ディ
スクに記録された音楽データ等を再生出力することがで
きる。即ち本例の記録再生装置1は、パーソナルコンピ
ュータ100等に接続されることで汎用的なデータスト
レージ機器として利用でき、かつ単体ではオーディオ記
録再生機器としても利用できる装置である。
On the other hand, the recording / reproducing apparatus 1 functions as an audio device, for example, without being connected to the personal computer 100 or the like. For example, music data input from another audio device or the like can be recorded on the disc, and music data recorded on the disc can be reproduced and output. That is, the recording / reproducing apparatus 1 of this example can be used as a general-purpose data storage device by being connected to the personal computer 100 or the like, and can also be used as an audio recording / reproducing device by itself.

【0024】記録再生装置1は、ストレージ部2、キャ
ッシュメモリ3、USBインターフェース4、入出力処
理部5、表示部6、操作部7、システムコントローラ
8、ROM9、RAM10、キャッシュ管理メモリ1
1、NV−RAM12を備える。
The recording / reproducing apparatus 1 includes a storage unit 2, a cache memory 3, a USB interface 4, an input / output processing unit 5, a display unit 6, an operation unit 7, a system controller 8, a ROM 9, a RAM 10, a cache management memory 1.
1, NV-RAM 12 is provided.

【0025】ストレージ部2は、装填されたディスクに
対する記録/再生を行う。本例で用いるいわゆるミニデ
ィスク方式のディスク及びそれに対応するストレージ部
2の構成については後述する。
The storage unit 2 performs recording / reproduction on the loaded disc. The so-called mini disk type disk used in this example and the configuration of the storage unit 2 corresponding thereto will be described later.

【0026】キャッシュメモリ3は、ストレージ部2で
ディスクに記録するデータ、或いはストレージ部2によ
ってディスクから読み出されたデータについてのバッフ
ァリングを行うキャッシュメモリである。例えばD−R
AM2より構成される。キャッシュメモリへのデータの
書込/読出は、システムコントローラ(CPU)8にお
いて起動されるタスクによって制御される。
The cache memory 3 is a cache memory for buffering the data recorded on the disk by the storage unit 2 or the data read from the disk by the storage unit 2. For example D-R
It is composed of AM2. Writing / reading of data to / from the cache memory is controlled by a task activated in the system controller (CPU) 8.

【0027】USBインターフェース4は、例えばパー
ソナルコンピュータ100とUSBケーブルとしての伝
送路101で接続された際の、データ伝送のための処理
を行う。入出力処理部5は、例えば記録再生装置1が単
体でオーディオ機器として機能する場合に記録再生デー
タの入出力のための処理を行う。
The USB interface 4 performs processing for data transmission when it is connected to the personal computer 100 via the transmission path 101 as a USB cable, for example. The input / output processing unit 5 performs processing for inputting / outputting recording / reproducing data when the recording / reproducing apparatus 1 functions as an audio device by itself, for example.

【0028】システムコントローラ8は、記録再生装置
1内の全体の制御を行うと共に、接続されたパーソナル
コンピュータ100との間の通信制御を行う。ROM9
にはシステムコントローラ8の動作プログラムや固定パ
ラメータ等が記憶される。RAM10はシステムコント
ローラ8によるワーク領域として用いられ、また各種必
要な情報の格納領域とされる。例えばストレージ部2に
よってディスクから読み出された各種管理情報や特殊情
報を記憶する。例えばP−TOCデータ、U−TOCデ
ータ、プレイリストデータ、FATデータ、ユニークI
D、ハッシュ値等を記憶する。P−TOCデータ、U−
TOCデータはミニディスクに記録されている音楽トラ
ック等の管理情報である。また後述もするが本例の記録
再生装置1が対応できるミニディスク方式に準拠した高
密度ディスクは、P−TOC、U−TOCによる管理形
式のうえに、FATファイルシステムを構築したもので
ある。またプレイリストは、高密度ディスクにおいてA
TRAC方式などによる音楽データ等のアドレス等を管
理する情報であって、FATシステム上の1つのファイ
ルとして記録されるものである。高密度ディスクが装填
された場合には、これらFATやプレイリストの情報も
読み込むことになる。ユニークID、ハッシュ値等はパ
ーソナルコンピュータ100等との間でのデータ伝送に
際しての認証処理や暗号化/復号に用いられる情報であ
る。
The system controller 8 controls the entire recording / reproducing apparatus 1 and controls communication with the connected personal computer 100. ROM9
The operation program of the system controller 8, fixed parameters, and the like are stored in. The RAM 10 is used as a work area by the system controller 8 and also as an area for storing various necessary information. For example, the storage unit 2 stores various management information and special information read from the disk. For example, P-TOC data, U-TOC data, playlist data, FAT data, Unique I
D, hash value, etc. are stored. P-TOC data, U-
The TOC data is management information such as music tracks recorded on the mini disc. Further, as will be described later, the high-density disc conforming to the mini-disc system, which the recording / reproducing apparatus 1 of the present example can support, is a management format by P-TOC and U-TOC, and a FAT file system is constructed. The playlist is A for high-density discs.
This is information for managing addresses and the like of music data in the TRAC system and is recorded as one file on the FAT system. When a high-density disc is loaded, the FAT and play list information is also read. The unique ID, hash value, and the like are information used for authentication processing and encryption / decryption during data transmission with the personal computer 100 or the like.

【0029】キャッシュ管理メモリ11は、例えばS−
RAMで構成され、キャッシュメモリ3の状態を管理す
る情報が格納される。システムコントローラ8はキャッ
シュ管理メモリ11を参照しながらデータキャッシュ処
理の制御を行う。キャッシュ管理メモリ11の情報につ
いては後述する。NV−RAM(不揮発性RAM)12
は、電源オフ時にも消失させないデータの格納領域とし
て用いられる。
The cache management memory 11 is, for example, S-
It is composed of a RAM and stores information for managing the state of the cache memory 3. The system controller 8 controls the data cache process while referring to the cache management memory 11. The information in the cache management memory 11 will be described later. NV-RAM (nonvolatile RAM) 12
Is used as a data storage area that is not lost even when the power is turned off.

【0030】表示部6は、システムコントローラ8の制
御に基づいて、ユーザーに対して提示すべき各種情報の
表示を行う。例えば動作状態、モード状態、楽曲等のデ
ータの名称情報、トラックナンバ、時間情報、その他の
情報表示を行う。操作部7には、ユーザーの操作のため
の各種操作子として、操作キーやジョグダイヤルなどが
形成される。ユーザーは記録・再生、データ通信のため
の所要の動作を操作部7を操作して指示する。システム
コントローラ8は操作部7によって入力された操作情報
に基づいて所定の制御処理を行う。
The display section 6 displays various information to be presented to the user under the control of the system controller 8. For example, operation status, mode status, name information of data such as music, track number, time information, and other information are displayed. Operation keys, a jog dial, and the like are formed on the operation unit 7 as various operators for user operations. The user operates the operation unit 7 to instruct necessary operations for recording / reproduction and data communication. The system controller 8 performs a predetermined control process based on the operation information input by the operation unit 7.

【0031】パーソナルコンピュータ100等が接続さ
れた際の、システムコントローラ8による制御は例えば
次のようになる。システムコントローラ8は、USBイ
ンターフェース4を介して接続されたパーソナルコンピ
ュータ100との間で通信可能とされ、書込要求、読出
要求等のコマンドの受信やステイタス情報その他の必要
情報の送信などを行う。システムコントローラ8は、例
えばディスクがストレージ部2に装填されることに応じ
て、ディスクからの管理情報等の読出をストレージ部2
に指示し、キャッシュメモリ3を介して取り込んでRA
M10に格納させる。P−TOC、U−TOCの管理情
報を読み込ませることで、システムコントローラ8はデ
ィスクのトラック記録状態を把握できる。またCATを
読み込ませることによりデータトラック内の高密度デー
タクラスタ構造を把握でき、パーソナルコンピュータ1
00からのデータトラックに対するアクセス要求に対応
できる状態となる。またユニークIDやハッシュ値によ
り、ディスク認証その他の処理を行ったり、或いはこれ
らの値をパーソナルコンピュータ100に送信して処理
させることができる。
The control by the system controller 8 when the personal computer 100 or the like is connected is as follows, for example. The system controller 8 is communicable with the personal computer 100 connected via the USB interface 4, and receives commands such as a write request and a read request and transmits status information and other necessary information. The system controller 8 reads the management information and the like from the disk when the disk is loaded in the storage section 2, for example.
To the RA and load it via the cache memory 3
Store in M10. By reading the management information of P-TOC and U-TOC, the system controller 8 can grasp the track recording state of the disc. Further, by reading the CAT, the high density data cluster structure in the data track can be grasped, and the personal computer 1
The access request from 00 to the data track is ready. Further, the unique ID or the hash value can be used to perform disk authentication or other processing, or to send these values to the personal computer 100 for processing.

【0032】パーソナルコンピュータ100からの或る
データの読出要求があった場合は、システムコントロー
ラ8はストレージ部2に、当該データの読出を実行させ
る。読み出されたデータはキャッシュメモリ3に書き込
まれる。但し、既に当該要求されたデータが既にキャッ
シュメモリ3に格納されていた場合は、ストレージ部2
による読出は必要ない。いわゆるキャッシュヒットであ
る。そしてシステムコントローラ8はキャッシュメモリ
3に書き込まれているデータを読み出させ、USBイン
ターフェース4を介してパーソナルコンピュータ100
に送信させる制御を行う。
When there is a request for reading certain data from the personal computer 100, the system controller 8 causes the storage section 2 to execute the reading of the data. The read data is written in the cache memory 3. However, if the requested data has already been stored in the cache memory 3, the storage unit 2
Is not required to be read. This is a so-called cache hit. Then, the system controller 8 causes the data written in the cache memory 3 to be read out, and the personal computer 100 is accessed via the USB interface 4.
Control to send to.

【0033】パーソナルコンピュータ100からの或る
データの書込要求があった場合は、システムコントロー
ラ8は、伝送されてくるデータをキャッシュメモリ3に
格納させる。そして、キャッシュメモリ3に格納された
データをストレージ部2によってディスクに記録させ
る。なお、ディスクへのデータ記録は、クラスタという
単位が最小単位で行われるものとされる。例えばクラス
タは32FATセクターである。もし、パーソナルコン
ピュータ100等が記録要求したデータ量が数セクター
などであって1クラスタに満たない場合、ブロッキング
と呼ばれる処理が行われる。即ちシステムコントローラ
8は、ストレージ部2に、まず当該FATセクターを含
むクラスタの読出を実行させる。読み出されたクラスタ
データはキャッシュメモリ3に書き込まれる。そしてシ
ステムコントローラ8は、パーソナルコンピュータ10
0からのFATセクターのデータ(記録データ)をUS
Bインターフェース4を介してキャッシュメモリ3に供
給させ、格納されているクラスタデータに対して、該当
するFATセクターのデータの書換を実行させる。そし
てシステムコントローラ8は、必要なFATセクターが
書き換えられた状態でキャッシュメモリ3に記憶されて
いるクラスタデータを、記録データとしてストレージ部
2に転送させる。ストレージ部2では、当該クラスタ単
位のデータをディスクに書き込む。
When there is a request for writing certain data from the personal computer 100, the system controller 8 causes the cache memory 3 to store the transmitted data. Then, the storage unit 2 records the data stored in the cache memory 3 on the disk. It should be noted that data recording on the disc is performed with a cluster unit as a minimum unit. For example, the cluster is 32 FAT sectors. If the amount of data requested to be recorded by the personal computer 100 or the like is several sectors and the amount is less than one cluster, a process called blocking is performed. That is, the system controller 8 first causes the storage unit 2 to read the cluster including the FAT sector. The read cluster data is written in the cache memory 3. The system controller 8 is the personal computer 10
FAT sector data (record data) from 0 to US
The data is supplied to the cache memory 3 via the B interface 4, and the stored cluster data is rewritten to the data of the corresponding FAT sector. Then, the system controller 8 transfers the cluster data stored in the cache memory 3 in a state where the necessary FAT sector is rewritten, to the storage unit 2 as recording data. The storage unit 2 writes the cluster unit data to the disk.

【0034】なお、以上は例えばパーソナルコンピュー
タ100との伝送を伴うデータの記録再生のための制御
であり、例えばミニディスク方式のオーディオデータな
どのの記録再生時のデータ転送は、入出力処理部5を介
して行われる。入出力処理部5は、例えば入力系とし
て、ライン入力回路/マイクロホン入力回路等のアナロ
グ音声信号入力部、A/D変換器や、デジタルオーディ
オデータ入力部を備える。またATRAC圧縮エンコー
ダ/デコーダを備える。さらに出力系として、デジタル
オーディオデータ出力部や、D/A変換器及びライン出
力回路/ヘッドホン出力回路等のアナログ音声信号出力
部を備える。
The above is the control for recording / reproducing data accompanying the transmission with the personal computer 100, for example, the data transfer at the time of recording / reproduction of audio data of the mini disk system is performed by the input / output processing unit 5. Done through. The input / output processing unit 5 includes, for example, an analog audio signal input unit such as a line input circuit / microphone input circuit, an A / D converter, and a digital audio data input unit as an input system. It also comprises an ATRAC compression encoder / decoder. Further, as an output system, a digital audio data output section and an analog audio signal output section such as a D / A converter and a line output circuit / headphone output circuit are provided.

【0035】入出力処理部5を介した処理としてディス
クにオーディオデータが記録されるのは、例えば入力T
INとして入出力処理部5にデジタルオーディオデータ
(又はアナログ音声信号)が入力される場合である。入
力されたリニアPCMデジタルオーディオデータ、或い
はアナログ音声信号で入力されA/D変換器で変換され
て得られたリニアPCMオーディオデータは、ATRA
C圧縮エンコードされてキャッシュメモリ3に蓄積され
る。そして所定タイミング(ADIPクラスタ相当のデ
ータ単位)でキャッシュメモリ3から読み出されてスト
レージ部2に転送される。ストレージ部2では、転送さ
れてくる圧縮データを所定の変調方式で変調してディス
クに記録する。
Audio data is recorded on the disc as a process via the input / output processing unit 5, for example, the input T
This is a case where digital audio data (or analog audio signal) is input to the input / output processing unit 5 as IN. The input linear PCM digital audio data or the linear PCM audio data input by the analog audio signal and converted by the A / D converter is ATRA.
It is C-compressed and encoded and stored in the cache memory 3. Then, it is read from the cache memory 3 and transferred to the storage unit 2 at a predetermined timing (a data unit corresponding to an ADIP cluster). The storage unit 2 modulates the transferred compressed data by a predetermined modulation method and records it on the disk.

【0036】ディスクからミニディスク方式のオーディ
オデータが再生される場合は、ストレージ部2は再生デ
ータをATRAC圧縮データ状態に復調してキャッシュ
メモリ3に転送する。そしてキャッシュメモリ3から読
み出されて入出力処理部5に転送される。入出力処理部
5は、供給されてくる圧縮オーディオデータに対してA
TRAC圧縮デコードを行ってリニアPCMオーディオ
データとし、デジタルオーディオデータ出力部から出力
する。或いはD/A変換器によりアナログ音声信号とし
てライン出力/ヘッドホン出力を行う。
When the mini-disc audio data is reproduced from the disc, the storage unit 2 demodulates the reproduced data into an ATRAC compressed data state and transfers it to the cache memory 3. Then, it is read from the cache memory 3 and transferred to the input / output processing unit 5. The input / output processing unit 5 sets A for the supplied compressed audio data.
TRAC compression decoding is performed to obtain linear PCM audio data, which is output from the digital audio data output unit. Alternatively, the D / A converter performs line output / headphone output as an analog audio signal.

【0037】なお、この図1の記録再生装置1の構成は
一例であり、例えば入出力処理部5は、オーディオデー
タだけでなく、ビデオデータに対応する入出力処理系を
備えるようにしてもよい。また、パーソナルコンピュー
タ100との接続はUSBでなく、IEEE1394等
の他の外部インターフェイスが用いられても良い。
The configuration of the recording / reproducing apparatus 1 of FIG. 1 is an example, and for example, the input / output processing unit 5 may be provided with an input / output processing system for not only audio data but also video data. . Further, the connection with the personal computer 100 is not limited to USB, and other external interface such as IEEE 1394 may be used.

【0038】2.ディスク及びストレージ部の構成 本実施の形態の記録再生装置1で記録媒体とされるディ
スクは、例えばミニディスク方式のディスクである。特
に従前の音楽用のミニディスクだけではなく、コンピュ
ータユースの各種データを記録できる高密度ディスクに
も対応する。
2. Configuration of Disk and Storage Unit The disk used as a recording medium in the recording / reproducing apparatus 1 of the present embodiment is, for example, a mini disk type disk. In particular, it supports not only conventional mini discs for music, but also high-density discs that can record various data for computer use.

【0039】ここで図2に、オーディオ用ミニディスク
(及びMD−DATA)と、高密度ディスクの規格を比
較して示す。ミニディスク(及びMD−DATA)のフ
ォーマットとしては、トラックピッチは1.6μm、ビ
ット長は0.59μm/bitとなる。また、レーザ波
長λ=780nmとされ、光学ヘッドの開口率NA=
0.45とされる。記録方式としては、グルーブ記録方
式を採っている。つまり、グルーブ(ディスク盤面上の
溝)をトラックとして記録再生に用いるようにしてい
る。アドレス方式としては、シングルスパイラルによる
グルーブ(トラック)を形成したうえで、このグルーブ
の両側に対してアドレス情報としてのウォブルを形成し
たウォブルドグルーブを利用する方式を採るようにされ
ている。なお、本明細書では、ウォブリングにより記録
される絶対アドレスをADIP(Address in Pregroov
e)とも呼ぶ。
FIG. 2 shows a comparison between the standards of the audio mini disc (and MD-DATA) and the high density disc. As a format of the mini disk (and MD-DATA), the track pitch is 1.6 μm and the bit length is 0.59 μm / bit. Further, the laser wavelength λ = 780 nm, and the numerical aperture NA of the optical head =
It is set to 0.45. As a recording method, a groove recording method is adopted. That is, the groove (groove on the disc surface) is used as a track for recording and reproduction. As an address method, a method is used in which a groove (track) is formed by a single spiral and then a wobbled groove in which wobbles are formed as address information on both sides of this groove is used. In this specification, the absolute address recorded by wobbling is referred to as ADIP (Address in Pregroov
Also called e).

【0040】記録データの変調方式としてはEFM(8
−14変換)方式を採用している。また、誤り訂正方式
としてはACIRC(Advanced Cross Interleave Reed-
Solomon Code) が採用され、データインターリーブには
畳み込み型を採用している。データの冗長度は46.3
%となる。
The recording data modulation method is EFM (8
-14 conversion) method is adopted. As an error correction method, ACIRC (Advanced Cross Interleave Reed-
Solomon Code) is adopted, and convolutional type is adopted for data interleaving. Data redundancy is 46.3
%.

【0041】また、データの検出方式はビットバイビッ
ト方式である。ディスク駆動方式としてはCLV(Const
ant Linear Verocity)が採用されており、CLVの線速
度としては、1.2m/sとされる。そして、記録再生
時の標準のデータレートとしては、133kB/sとさ
れ、記録容量としては、164MB(MD−DATAで
は140MB)となる。またクラスタというデータ単位
がデータの最小書換単位とされるが、このクラスタは、
32個のメインセクターと4個のリンクセクターによる
36セクターで構成される。
The data detection method is a bit-by-bit method. CLV (Const
ant linear velocity) is adopted, and the linear velocity of CLV is 1.2 m / s. The standard data rate during recording and reproduction is 133 kB / s, and the recording capacity is 164 MB (140 MB for MD-DATA). Also, the data unit called cluster is the minimum rewriting unit of data.
It consists of 36 main sectors with 32 main sectors and 4 link sectors.

【0042】一方、高密度ディスクは、トラックピッチ
は1.6μm、ビット長は0.44μm/bitとされ
る。また、レーザ波長λ=780nm、光学ヘッドの開
口率NA=0.45、記録方式はグルーブ記録方式、ア
ドレス方式はシングルスパイラルによるグルーブ(トラ
ック)を形成したうえで、このグルーブの両側に対して
アドレス情報としてのウォブルを形成したウォブルドグ
ルーブを利用する方式を採る。つまりこれらの点ではオ
ーディオ用ミニディスクと同様であり、ディスクドライ
ブ装置での光学系の構成やADIPアドレス読出方式、
サーボ処理については同様となることから互換性が維持
される。
On the other hand, the high density disc has a track pitch of 1.6 μm and a bit length of 0.44 μm / bit. The laser wavelength λ = 780 nm, the aperture ratio NA of the optical head = 0.45, the recording method is a groove recording method, and the address method is a groove (track) formed by a single spiral. A method of using a wobbled groove in which a wobble as information is formed is adopted. In other words, these points are the same as those of the audio mini-disc, and the configuration of the optical system in the disc drive device, the ADIP address reading method,
Since the servo processing is the same, compatibility is maintained.

【0043】記録データの変調方式としては、高密度記
録に適合するとされるRLL(1,7)PP方式(RL
L;Run Length Limited、PP:Parity preserve/Proh
ibitrmtr(repeated minimum transition runlength))
が採用され、誤り訂正方式としては、より訂正能力の高
いBIS(Burst Indicator Subcode)付きのRS−L
DC(Reed Solomon−Long Distance Code)方式を用い
ている。データインターリーブにはブロック完結型が採
用される。データの冗長度は20.50%とされる。ま
たデータの検出方式はパーシャルレスポンスPR(1,
2,1)MLを用いたビタビ復号方式とされる。なおR
LL(1−7)変調及びRS−LDC誤り訂正方式につ
いては、例えば「特開平11−346154号公報」
や、「国際特許公開公報WO 00/07300」など
に開示されている技術である。
As a recording data modulation method, the RLL (1,7) PP method (RL
L; Run Length Limited, PP: Parity preserve / Proh
ibitrmtr (repeated minimum transition runlength))
RS-L with BIS (Burst Indicator Subcode), which has a higher correction capability, is adopted as the error correction method.
The DC (Reed Solomon-Long Distance Code) method is used. A block complete type is adopted for data interleaving. The data redundancy is set to 20.50%. The data detection method is the partial response PR (1,
2, 1) Viterbi decoding method using ML. R
Regarding the LL (1-7) modulation and the RS-LDC error correction method, for example, "Japanese Patent Laid-Open No. 11-346154" is used.
Alternatively, the technology is disclosed in International Patent Publication WO 00/07300.

【0044】またディスク駆動方式はCLV(Constant
Linear Verocity)又はZCAV(Zone Constant Angu
lar Verocity)で、その標準線速度としては2.7m/
sとされ、記録再生時の標準線速度でのデータレートと
しては4.9Mbit/sとされる。そして、記録容量
としては297MBを得ることができる。変調方式がE
FMからRLL(1,7)PP方式とされることでウイ
ンドウマージンが0.5から0.666となり、この点
で、1.33倍の高密度化が実現できる。また物理フォ
ーマットとしてCIRC方式から、BIS付きのRS−
LDC方式とセクター構造の差異とビタビ復号を用いる
方式とされることで、データ効率は53.7%から7
9.5%となり、この点で1.48倍の高密度化が実現
できる。これらにより総合的には1.97倍(約2倍)
のデータ容量が実現される。つまり記録容量は297M
Bという、オーディオ用ミニディスクの約2倍とでき
る。データの最小書換単位は、64KBとなる。
The disk drive system is CLV (Constant
Linear Verocity) or ZCAV (Zone Constant Angu)
lar Verocity) and its standard linear velocity is 2.7 m /
s, and the data rate at the standard linear velocity during recording and reproduction is 4.9 Mbit / s. As a recording capacity, 297 MB can be obtained. Modulation method is E
By adopting the FM to RLL (1,7) PP method, the window margin is changed from 0.5 to 0.666, and in this respect, 1.33 times higher density can be realized. In addition, from the CIRC system as the physical format, RS- with BIS
The data efficiency is 53.7% to 7 due to the difference between the LDC method and the sector structure and the method using Viterbi decoding.
This is 9.5%, and a 1.48 times higher density can be realized in this respect. Overall, 1.97 times (about 2 times)
The data capacity of is realized. In other words, recording capacity is 297M
It can be double the size of a mini disc for audio called B. The minimum data rewriting unit is 64 KB.

【0045】ディスク上のエリア構造を図3に模式的に
示す。図3に示すように、ディスクの最内周側はP−T
OC(プリマスタードTOC)領域とされ、ここは物理
的な構造としてはプリマスタードエリアとなる。即ち、
エンボスピットによる再生専用データが記録されるエリ
アであり、その再生専用データとして管理情報であるP
−TOCが記録される。
The area structure on the disc is schematically shown in FIG. As shown in FIG. 3, the innermost side of the disc is PT
It is an OC (pre-mastered TOC) area, which is a pre-mastered area as a physical structure. That is,
This is an area in which reproduction-only data is recorded by embossed pits, and P is the management information as the reproduction-only data.
-TOC is recorded.

【0046】プリマスタードエリアより外周はレコーダ
ブルエリア(光磁気記録可能な領域)とされ、記録トラ
ックの案内溝としてのグルーブが形成された記録再生可
能領域となっている。このレコーダブルエリアの最内周
側はU−TOC領域とされる。なおU−TOC領域で
は、プリマスタードエリアとの緩衝エリアや、レーザー
光の出力パワー調整等のために用いられるパワーキャリ
ブレーションエリアが設けられ、またU−TOC領域内
の特定の3クラスタの区間にU−TOCデータが3回繰
り返し記録される。U−TOCの内容の詳細については
省略するが、プログラムエリアに記録されている各トラ
ックのアドレス、フリーエリアのアドレス等が記録さ
れ、また各トラックに付随するトラックネーム、記録日
時などの情報が記録できるようにU−TOCセクターが
規定されている。
The outer periphery of the premastered area is a recordable area (a magneto-optically recordable area), and is a recordable / reproducible area in which a groove as a guide groove for a recording track is formed. The innermost side of the recordable area is the U-TOC area. In the U-TOC area, a buffer area with the pre-mastered area and a power calibration area used for adjusting the output power of the laser light are provided, and in the section of specific 3 clusters in the U-TOC area. U-TOC data is recorded repeatedly three times. Although details of the contents of the U-TOC are omitted, the address of each track recorded in the program area, the address of the free area, etc. are recorded, and information such as the track name and recording date and time attached to each track is recorded. The U-TOC sector is defined so that it can be done.

【0047】レコーダブルエリアにおいてU−TOC領
域より外周側にアラートトラック及びデータエリアが形
成される。アラートトラックは、このディスクが高密度
ディスクであって、従前のミニディスクプレーヤでは再
生できないことを示す警告音が記録された警告トラック
である。データエリアは、オーディオデータやコンピュ
ータユースのデータなどの記録に用いられるエリアとな
る。即ち、通常の音楽用ミニディスクの場合であれば、
データエリアに1又は複数の音楽トラックが記録され
る。高密度ディスクの場合は、データエリアが各種デー
タのストレージ領域として用いられるものとなる。
In the recordable area, an alert track and a data area are formed on the outer peripheral side of the U-TOC area. The alert track is a warning track in which a warning sound indicating that this disc is a high-density disc and cannot be reproduced by a conventional mini disc player is recorded. The data area is an area used for recording audio data and computer use data. That is, in the case of a normal music mini disk,
One or more music tracks are recorded in the data area. In the case of a high density disc, the data area is used as a storage area for various data.

【0048】図4によりディスクの管理構造を説明す
る。図4(b)は、音楽用ミニディスクシステムでの管
理構造を示している。この場合、管理情報としては、P
−TOC、U−TOCが記録される。P−TOCは書き
換え不能な情報としてピットにより記録される。このP
−TOCには、ディスクの基本的な管理情報として、デ
ィスクの総容量、U−TOC領域におけるU−TOC位
置、パワーキャリブレーションエリアの位置、データエ
リアの開始位置、データエリアの終了位置(リードアウ
ト位置)などが記録されている。
The management structure of the disk will be described with reference to FIG. FIG. 4B shows a management structure in the music mini disk system. In this case, the management information is P
-TOC and U-TOC are recorded. P-TOC is recorded by pits as non-rewritable information. This P
-TOC includes basic management information of the disc, such as the total capacity of the disc, the U-TOC position in the U-TOC area, the position of the power calibration area, the start position of the data area, and the end position of the data area (readout). (Position) etc. are recorded.

【0049】一方、レコーダブルエリアに記録されるU
−TOCは、トラック(オーディオトラック/データト
ラック)の記録、消去などに応じて書き換えられる管理
情報であり、各トラック(トラックを構成するパーツ)
について開始位置、終了位置、やモードを管理する。ま
た、データエリアにおいて未だトラックが記録されてい
ないフリーエリア、つまり書込可能領域としてのパーツ
も管理する。例えば図示するようにデータエリア内に、
ATRACデータとして3曲のオーディオトラックが記
録されている場合、U−TOCでは、3つのトラックを
それぞれスタートアドレス、エンドアドレス、モード情
報、さらには記録日時や名称情報を管理することにな
る。
On the other hand, U recorded in the recordable area
-TOC is management information that is rewritten according to recording and erasing of tracks (audio tracks / data tracks), and each track (parts that make up the track)
Manage start position, end position, and mode. It also manages a free area in which no track is recorded in the data area, that is, a part as a writable area. For example, in the data area as shown,
When three audio tracks are recorded as ATRAC data, the U-TOC manages the start address, end address, mode information, recording date and name information of each of the three tracks.

【0050】高密度ディスクの場合は図4(a)のよう
になる。高密度ディスクの場合も、U−TOC及びP−
TOCは、従前のミニディスクシステムに準拠する方式
で記録される。そして図4(a)のデータエリアには、
1つの高密度データトラックを示しているが、U−TO
Cでは、この高密度データトラックを1つのトラックと
して管理する状態となっている。つまりU−TOCから
は、ディスク上における、データトラックの全体として
の1又は複数のパーツ位置を管理するものとなる。な
お、上述したアラートトラックの位置もU−TOCに管
理される。
In the case of a high density disc, it becomes as shown in FIG. Even in the case of high density disc, U-TOC and P-
The TOC is recorded by a method that complies with the conventional mini disk system. And in the data area of FIG. 4 (a),
One high density data track is shown, U-TO
In C, the high-density data track is managed as one track. In other words, the U-TOC manages the position of one or more parts of the data track as a whole on the disc. The position of the alert track described above is also managed by the U-TOC.

【0051】高密度データトラックは、RS−LDC及
びRLL(1−7)PP方式で変調された高密度データ
によって形成されるトラックとされる。高密度データト
ラック内には、該データトラックに含まれる高密度デー
タクラスタを管理するクラスタアトリビュートテーブル
(CAT:Cluster AttributeTable)が記録される。C
ATでは、データトラックを構成する高密度データクラ
スタのそれぞれについての属性(公開可能/不可、正常
/不良等)を管理する。
The high-density data track is a track formed by high-density data modulated by RS-LDC and RLL (1-7) PP system. A cluster attribute table (CAT) that manages a high-density data cluster included in the data track is recorded in the high-density data track. C
The AT manages attributes (open / not open, normal / defective, etc.) for each of the high-density data clusters forming the data track.

【0052】このデータトラック内で公開不可とされる
高密度データクラスタを用いて、著作権保護等のために
用いられる、ディスクに固有のユニークID(UID)
や、データ改竄チェックのためのハッシュ値(hash)が
記録される。もちろんこれ以外にも、各種の非公開情報
が記録されても良い。この公開不可とされる領域には、
特別に許可された機器のみが限定的にアクセスすること
ができるものとする。
A unique ID (UID) unique to the disc, which is used for copyright protection and the like, by using a high-density data cluster that cannot be disclosed in this data track.
Also, a hash value (hash) for checking data tampering is recorded. Of course, other than this, various kinds of non-public information may be recorded. In the area that cannot be published,
Only specially authorized equipment shall have limited access.

【0053】データトラック内で公開可能とされる高密
度データクラスタによる領域(エクスポータブルエリ
ア)は、例えばUSBやSCSIなどの汎用データイン
ターフェースを経由して、外部のコンピュータなどがア
クセスし、記録領域として利用できる領域とされる。例
えばこの図4(a)の場合、エクスポータブルエリアに
は、FAT及びFAT管理のデータファイルによる、F
ATファイルシステムが構築されている状態を示してい
る。つまり、エクスポータブルエリアに記録されるデー
タは、U−TOCによっては管理されず、FATなどの
汎用的な管理情報により管理される形態となり、ミニデ
ィスクシステムに準拠しない外部のコンピュータなどに
よって認識可能なデータとなる。
An area (exportable area) formed by a high-density data cluster that can be disclosed in the data track is accessed by an external computer or the like via a general-purpose data interface such as USB or SCSI and is used as a recording area. It is considered as a usable area. For example, in the case of FIG. 4A, in the exportable area, the FAT and the FAT management data file
The state where the AT file system is constructed is shown. That is, the data recorded in the exportable area is not managed by the U-TOC but is managed by general-purpose management information such as FAT, and can be recognized by an external computer that does not comply with the mini disk system. It becomes data.

【0054】ATRAC方式等の音楽データ等がFAT
システム上で記録される場合は、その音楽データ等のフ
ァイルを管理する管理情報としてプレイリストが記録さ
れる。このプレイリストはFATシステム上の1つのフ
ァイルとしてきろくされるものであり、記録再生装置1
のシステムコントローラは、音楽データファイルの再生
時にはプレイリストからアドレス等を把握するものとな
る。
Music data such as ATRAC system is FAT
When recorded on the system, a playlist is recorded as management information for managing files such as music data. This playlist is created as one file on the FAT system, and the recording / reproducing apparatus 1
The system controller of (1) grasps the address and the like from the playlist when reproducing the music data file.

【0055】なお、このような構造のデータトラック
が、ディスク上に複数記録される場合もある。その場
合、各データトラックが、それぞれ1つのトラックとし
てU−TOCから管理され、それぞれのデータトラック
内のエクスポータブルエリア内のデータについては、F
AT等により管理される。例えば各データトラックがそ
れぞれ独自にFATファイルシステムを持つものとな
る。あるいは、複数のデータトラックに渡って一つのF
ATファイルシステムが記録されるようにしてもよい。
In some cases, a plurality of data tracks having such a structure are recorded on the disc. In this case, each data track is managed by the U-TOC as one track, and the data in the exportable area in each data track is F
Managed by AT, etc. For example, each data track has its own FAT file system. Alternatively, one F can be used across multiple data tracks.
The AT file system may be recorded.

【0056】また、ユニークID等の情報は、データト
ラック内であって、FAT管理されないデータとする例
を述べたが、FAT管理されない情報とするなら、どの
ような論理形態で記録されてもよい。例えばU−TOC
から直接的に管理されるトラックとして、非公開情報用
のトラックを設けるようにしたり、あるいはU−TOC
/P−TOC内に記録してもよい。更に、U−TOC領
域内で、U−TOCに使用されていない部分を用いて、
非公開情報用の記録領域を設けてもよい。
Further, the information such as the unique ID has been described as an example in which the data is not FAT managed in the data track. However, if the information is not FAT managed, it may be recorded in any logical form. . For example U-TOC
A track for private information should be provided as a track directly managed by the U-TOC.
It may be recorded in / P-TOC. Furthermore, in the U-TOC area, by using a part not used for U-TOC,
A recording area for private information may be provided.

【0057】なお、説明上、従前のミニディスクを「音
楽用ミニディスク」と呼ぶが、いわゆるMD−DATA
として知られているミニディスクも、この音楽用ミニデ
ィスクの範疇となる。また、高密度ディスクに対してデ
ータファイルとして音楽データが記録されることも当然
にあり得る。例えばネットワークやパーソナルコンピュ
ータからの音楽ファイルのダウンロードの場合などであ
る。
For the sake of explanation, the conventional mini disc is called a "music mini disc".
The mini disc known as is also in the category of this music mini disc. Further, it is naturally possible that music data is recorded as a data file on the high density disc. For example, when downloading a music file from a network or a personal computer.

【0058】図1に示したストレージ部2は、以上のよ
うな音楽用ミニディスクと汎用データ記録媒体としての
高密度ディスクに対応できるディスクドライブ部とされ
る。このストレージ部2の構成例を図5に示す。
The storage unit 2 shown in FIG. 1 is a disc drive unit capable of supporting the above-mentioned music mini disc and high-density disc as a general-purpose data recording medium. FIG. 5 shows an example of the configuration of this storage unit 2.

【0059】図示するディスク90は、上述した音楽用
ミニディスク或いは高密度ディスクである。ストレージ
部2においては、装填されたディスク90をスピンドル
モータ29によってCLV方式で回転駆動させる。この
ディスク90に対しては記録/再生時に光学ヘッド19
によってレーザ光が照射される。光学ヘッド19は、記
録時には記録トラックをキュリー温度まで加熱するため
の高レベルのレーザ出力を行ない、また再生時には磁気
カー効果により反射光からデータを検出するための比較
的低レベルのレーザ出力を行なう。このため、光学ヘッ
ド19には、ここでは詳しい図示は省略するがレーザ出
力手段としてのレーザダイオード、偏光ビームスプリッ
タや対物レンズ等からなる光学系、及び反射光を検出す
るためのディテクタが搭載されている。光学ヘッド19
に備えられる対物レンズとしては、例えば2軸機構によ
ってディスク半径方向及びディスクに接離する方向に変
位可能に保持されている。
The illustrated disc 90 is the above-mentioned music mini disc or high-density disc. In the storage unit 2, the loaded disk 90 is rotationally driven by the spindle motor 29 by the CLV method. The optical head 19 is used for recording / reproducing with respect to the disk 90.
Is irradiated with laser light. The optical head 19 outputs a high level laser output for heating the recording track to the Curie temperature during recording, and a relatively low level laser output for detecting data from the reflected light by the magnetic Kerr effect during reproduction. . Therefore, although not shown in detail here, the optical head 19 is equipped with a laser diode as a laser output means, an optical system including a polarization beam splitter and an objective lens, and a detector for detecting reflected light. There is. Optical head 19
As the objective lens provided in the disk, for example, it is held by a biaxial mechanism so as to be displaceable in the disk radial direction and the direction in which the disk comes in and out of contact with the disk.

【0060】また、ディスク90を挟んで光学ヘッド1
9と対向する位置には磁気ヘッド18が配置されてい
る。磁気ヘッド18は記録データによって変調された磁
界をディスク90に印加する動作を行なう。また、図示
しないが光学ヘッド19全体及び磁気ヘッド18をディ
スク半径方向に移動させためスレッドモータ及びスレッ
ド機構が備えられている。
Further, the optical head 1 with the disk 90 sandwiched therebetween.
A magnetic head 18 is arranged at a position opposed to 9. The magnetic head 18 operates to apply a magnetic field modulated by the recording data to the disk 90. Although not shown, a sled motor and a sled mechanism are provided for moving the entire optical head 19 and the magnetic head 18 in the radial direction of the disk.

【0061】このストレージ部2では、光学ヘッド1
9、磁気ヘッド18による記録再生ヘッド系、スピンド
ルモータ29によるディスク回転駆動系のほかに、記録
処理系、再生処理系、サーボ系等が設けられる。記録処
理系では、音楽用ミニディスクに対する記録時に第1の
変調方式の変調(EFM変調・ACIRCエンコード)
を行う部位と、高密度ディスクに対する記録時に第2の
変調方式(RLL(1−7)PP変調、RS−LDCエ
ンコード)の変調を行う部位が設けられる。再生処理系
では、音楽用ミニディスク(及び高密度ディスクのU−
TOC)の再生時に第1の変調方式に対する復調(EF
M復調・ACIRCデコード)を行う部位と、高密度デ
ィスクの再生時に第2の変調方式に対する復調(パーシ
ャルレスポンスPR(1,2,1)及びビタビ復号を用
いたデータ検出に基づくRLL(1−7)復調、RS−
LDCデコード)を行う部位が設けられる。
In this storage unit 2, the optical head 1
9. In addition to the recording / reproducing head system using the magnetic head 18 and the disk rotation driving system using the spindle motor 29, a recording processing system, a reproducing processing system, a servo system, and the like are provided. In the recording processing system, modulation of the first modulation method (EFM modulation / ACIRC encoding) is performed at the time of recording on a mini disc for music.
And a part for performing modulation of the second modulation method (RLL (1-7) PP modulation, RS-LDC encoding) at the time of recording on a high density disc. In the playback processing system, music mini discs (and high-density discs U-
When reproducing TOC, demodulation (EF) for the first modulation method
M demodulation / ACIRC decoding) and demodulation (partial response PR (1,2,1) for the second modulation method when reproducing a high density disc and RLL (1-7 based on data detection using Viterbi decoding) ) Demodulation, RS-
A part for performing LDC decoding) is provided.

【0062】光学ヘッド19のディスク90に対するレ
ーザ照射によりその反射光として検出された情報(フォ
トディテクタによりレーザ反射光を検出して得られる光
電流)は、RFアンプ21に供給される。RFアンプ2
1では入力された検出情報に対して電流−電圧変換、増
幅、マトリクス演算等を行い、再生情報としての再生R
F信号、トラッキングエラー信号TE、フォーカスエラ
ー信号FE、グルーブ情報(ディスク90にトラックの
ウォブリングにより記録されているADIP情報)等を
抽出する。
Information (photocurrent obtained by detecting the laser reflected light by the photodetector) detected as the reflected light by the laser irradiation of the optical head 19 onto the disk 90 is supplied to the RF amplifier 21. RF amplifier 2
In 1, the input detection information is subjected to current-voltage conversion, amplification, matrix calculation, etc. to reproduce R as reproduction information.
An F signal, a tracking error signal TE, a focus error signal FE, groove information (ADIP information recorded on the disk 90 by track wobbling) and the like are extracted.

【0063】音楽用ミニディスク再生時には、RFアン
プで得られた再生RF信号は、EFM復調部24及びA
CIRCデコーダ25で処理される。即ち再生RF信号
は、EFM復調部24で2値化されてEFM信号列とさ
れた後、EFM復調され、さらにACIRCデコーダ2
5で誤り訂正及びデインターリーブ処理される。即ちこ
の時点でATRAC圧縮データの状態となる。そして音
楽用ミニディスク再生時には、セレクタ26はB接点側
が選択されており、当該復調されたATRAC圧縮デー
タがディスク90からの再生データとして出力される。
この場合、図1のキャッシュメモリ3に圧縮データが供
給されることになる。
At the time of reproducing the mini disk for music, the reproduced RF signal obtained by the RF amplifier is supplied to the EFM demodulation unit 24 and A.
It is processed by the CIRC decoder 25. That is, the reproduced RF signal is binarized by the EFM demodulation unit 24 to form an EFM signal sequence, then EFM demodulated, and further, the ACIRC decoder 2
In step 5, error correction and deinterleave processing is performed. That is, at this point, the ATRAC compressed data state is set. Then, at the time of reproducing the mini disc for music, the B contact side is selected in the selector 26, and the demodulated ATRAC compressed data is output as the reproduction data from the disc 90.
In this case, the compressed data is supplied to the cache memory 3 of FIG.

【0064】一方、高密度ディスク再生時には、RFア
ンプで得られた再生RF信号は、RLL(1−7)PP
復調部22及びRS−LDCデコーダ25で処理され
る。即ち再生RF信号は、RLL(1−7)PP復調部
22において、PR(1,2,1)及びビタビ復号を用
いたデータ検出によりRLL(1−7)符号列としての
再生データを得、このRLL(1−7)符号列に対して
RLL(1−7)復調処理が行われる。そして更にRS
−LDCデコーダ23で誤り訂正及びデインターリーブ
処理される。そして高密度ディスク再生時には、セレク
タ26はA接点側が選択されており、当該復調されたデ
ータがディスク90からの再生データとして出力され
る。この場合、図1のキャッシュメモリ3に復調データ
が供給されることになる。
On the other hand, when reproducing a high density disc, the reproduced RF signal obtained by the RF amplifier is RLL (1-7) PP.
It is processed by the demodulation unit 22 and the RS-LDC decoder 25. That is, the reproduced RF signal is reproduced in the RLL (1-7) PP demodulation unit 22 by data detection using PR (1,2,1) and Viterbi decoding to obtain reproduced data as an RLL (1-7) code string. RLL (1-7) demodulation processing is performed on this RLL (1-7) code string. And further RS
-Error correction and deinterleave processing are performed by the LDC decoder 23. During reproduction of the high density disc, the A contact side of the selector 26 is selected and the demodulated data is output as reproduction data from the disc 90. In this case, the demodulated data will be supplied to the cache memory 3 of FIG.

【0065】RFアンプ21から出力されるトラッキン
グエラー信号TE、フォーカスエラー信号FEはサーボ
回路27に供給され、グルーブ情報はADIPデコーダ
30に供給される。
The tracking error signal TE and the focus error signal FE output from the RF amplifier 21 are supplied to the servo circuit 27, and the groove information is supplied to the ADIP decoder 30.

【0066】ADIPデコーダ30は、グルーブ情報に
対してバンドパスフィルタにより帯域制限してウォブル
成分を抽出した後、FM復調、バイフェーズ復調を行っ
てADIPアドレスを抽出する。抽出された、ディスク
上の絶対アドレス情報であるADIPアドレスは図1に
示したシステムコントローラ8に供給される。システム
コントローラ8ではADIPアドレスに基づいて、所要
の制御処理を実行する。またグルーブ情報はスピンドル
サーボ制御のためにサーボ回路27に供給される。
The ADIP decoder 30 extracts a wobble component by band-limiting the groove information with a bandpass filter, and then performs FM demodulation and bi-phase demodulation to extract an ADIP address. The extracted ADIP address, which is the absolute address information on the disc, is supplied to the system controller 8 shown in FIG. The system controller 8 executes a required control process based on the ADIP address. The groove information is also supplied to the servo circuit 27 for spindle servo control.

【0067】サーボ回路27は、例えばグルーブ情報に
対して再生クロック(デコード時のPLL系クロック)
との位相誤差を積分して得られる誤差信号に基づき、C
LVサーボ制御のためのスピンドルエラー信号を生成す
る。またサーボ回路27は、スピンドルエラー信号や、
上記のようにRFアンプ21から供給されたトラッキン
グエラー信号、フォーカスエラー信号、或いはシステム
コントローラ8からのトラックジャンプ指令、アクセス
指令等に基づいて各種サーボ制御信号(トラッキング制
御信号、フォーカス制御信号、スレッド制御信号、スピ
ンドル制御信号等)を生成し、モータドライバ28に対
して出力する。即ち上記サーボエラー信号や指令に対し
て位相補償処理、ゲイン処理、目標値設定処理等の必要
処理を行って各種サーボ制御信号を生成する。
The servo circuit 27 reproduces a clock (PLL system clock at the time of decoding) for the groove information, for example.
C based on the error signal obtained by integrating the phase error between
A spindle error signal for LV servo control is generated. Further, the servo circuit 27 sends a spindle error signal,
As described above, various servo control signals (tracking control signal, focus control signal, sled control) based on the tracking error signal, the focus error signal supplied from the RF amplifier 21, or the track jump command, the access command from the system controller 8 and the like. Signal, spindle control signal, etc.) and output to the motor driver 28. That is, various servo control signals are generated by performing necessary processing such as phase compensation processing, gain processing, and target value setting processing on the servo error signals and commands.

【0068】モータドライバ28では、サーボ回路27
から供給されたサーボ制御信号に基づいて所要のサーボ
ドライブ信号を生成する。ここでのサーボドライブ信号
としては、二軸機構を駆動する二軸ドライブ信号(フォ
ーカス方向、トラッキング方向の2種)、スレッド機構
を駆動するスレッドモータ駆動信号、スピンドルモータ
29を駆動するスピンドルモータ駆動信号となる。この
ようなサーボドライブ信号により、ディスク90に対す
るフォーカス制御、トラッキング制御、及びスピンドル
モータ29に対するCLV制御が行われることになる。
In the motor driver 28, the servo circuit 27
A required servo drive signal is generated based on the servo control signal supplied from. The servo drive signal here is a biaxial drive signal (two types of focus direction and tracking direction) for driving the biaxial mechanism, a sled motor drive signal for driving the sled mechanism, and a spindle motor drive signal for driving the spindle motor 29. Becomes With such a servo drive signal, focus control, tracking control for the disc 90 and CLV control for the spindle motor 29 are performed.

【0069】ディスク90に対して記録動作が実行され
る際には、キャッシュメモリ3からデータが供給され
る。音楽用ミニディスク記録時には、セレクタ16がB
接点に接続され、従ってACIRCエンコーダ14及び
EFM変調部15が機能することになる。この場合、オ
ーディオ処理部10からの圧縮データはACIRCエン
コーダ14でインターリーブ及びエラー訂正コード付加
が行われた後、EFM変調部15でEFM変調が行われ
る。そしてEFM変調データがセレクタ16を介して磁
気ヘッドドライバ17に供給され、磁気ヘッド18がデ
ィスク90に対してEFM変調データに基づいた磁界印
加を行うことでデータ記録が行われる。
When the recording operation is executed on the disk 90, the data is supplied from the cache memory 3. When recording a mini disc for music, the selector 16 is set to B
The ACIRC encoder 14 and the EFM modulator 15 are connected to the contacts, and thus function. In this case, the compressed data from the audio processing unit 10 is interleaved and the error correction code is added by the ACIRC encoder 14, and then the EFM modulation unit 15 performs the EFM modulation. Then, the EFM-modulated data is supplied to the magnetic head driver 17 via the selector 16, and the magnetic head 18 applies a magnetic field to the disk 90 based on the EFM-modulated data to perform data recording.

【0070】高密度ディスク記録時には、セレクタ16
がA接点に接続され、従ってRS−LDCエンコーダ1
2及びRLL(1−7)PP変調部13が機能すること
になる。この場合、メモリ転送コントローラ3からの高
密度データはRS−LDCエンコーダ12でインターリ
ーブ及びRS−LDC方式のエラー訂正コード付加が行
われた後、RLL(1−7)PP変調部13でRLL
(1−7)変調が行われる。そしてRLL(1−7)符
号列としての記録データがセレクタ16を介して磁気ヘ
ッドドライバ17に供給され、磁気ヘッド18がディス
ク90に対して変調データに基づいた磁界印加を行うこ
とでデータ記録が行われる。
When recording on a high density disc, the selector 16
Is connected to the A contact, and thus the RS-LDC encoder 1
2 and the RLL (1-7) PP modulator 13 will function. In this case, the high-density data from the memory transfer controller 3 is interleaved by the RS-LDC encoder 12 and an error correction code is added by the RS-LDC method, and then the RLL (1-7) PP modulator 13 performs the RLL.
(1-7) Modulation is performed. Then, the recording data as the RLL (1-7) code string is supplied to the magnetic head driver 17 via the selector 16, and the magnetic head 18 applies a magnetic field to the disk 90 based on the modulation data, thereby recording data. Done.

【0071】レーザドライバ/APC20は、上記のよ
うな再生時及び記録時においてレーザダイオードにレー
ザ発光動作を実行させるが、いわゆるAPC(Automati
c Lazer Power Control)動作も行う。即ち、図示して
いないが、光学ヘッド19内にはレーザパワーモニタ用
のディテクタが設けられ、そのモニタ信号がレーザドラ
イバ/APC20にフィードバックされる。レーザドラ
イバ/APC20は、モニタ信号として得られる現在の
レーザパワーを、設定されているレーザパワーと比較し
て、その誤差分をレーザ駆動信号に反映させることで、
レーザダイオードから出力されるレーザパワーが、設定
値で安定するように制御している。なお、レーザパワー
としては、再生レーザパワー、記録レーザパワーとして
の値がシステムコントローラ8によって、レーザドライ
バ/APC20内部のレジスタにセットされる。
The laser driver / APC 20 causes the laser diode to perform the laser emission operation during the reproduction and recording as described above.
c Lazer Power Control) also operates. That is, although not shown, a detector for laser power monitoring is provided in the optical head 19, and the monitor signal is fed back to the laser driver / APC 20. The laser driver / APC 20 compares the current laser power obtained as the monitor signal with the set laser power and reflects the error in the laser drive signal,
The laser power output from the laser diode is controlled to be stable at the set value. As the laser power, the values of the reproduction laser power and the recording laser power are set in the register inside the laser driver / APC 20 by the system controller 8.

【0072】以上の各動作(アクセス、各種サーボ、デ
ータ書込、データ読出の各動作)は、システムコントロ
ーラ8からの指示に基づいて実行される。
The above operations (accesses, various servos, data writing, and data reading) are executed based on instructions from the system controller 8.

【0073】3.基本的なキャッシュ制御方式 上記図1により説明したように記録再生装置1はAV機
器としてディスク90に対してオーディオデータ(AV
データ)の記録再生を行うとともに、パーソナルコンピ
ュータ(又はネットワーク)100に接続されてPCデ
ータやAVデータの記録再生を行うことができる機器と
される。そしてディスク90に読み書きされるデータは
キャッシュメモリ3を経由するものとなる。
3. Basic Cache Control Method As described above with reference to FIG. 1, the recording / reproducing apparatus 1 serves as an AV device for the audio data (AV
In addition to recording / reproducing data), the device is connected to a personal computer (or network) 100 to record / reproduce PC data or AV data. Then, the data read from and written to the disk 90 passes through the cache memory 3.

【0074】本例では、キャッシュメモリ3は、キャッ
シュ領域が所定単位Nで分割されて制御される。図6
は、キャッシュ領域がNクラスタ×Mブロックに分割設
定された状態を示している。図6に一枡で示す1つの領
域(セル)は1クラスタ(32KByte)の領域と
し、全体としてはN×Mクラスタの領域としている。そ
して説明の便宜のために縦一列にNクラスタを示し、こ
のNクラスタが1つの分割単位(ブロック)としてMブ
ロックが設定されているとする。このように、キャッシ
ュメモリ3におけるキャッシュ領域は、論理的に、Nク
ラスタ×Mブロックに分割設定される。
In this example, the cache area of the cache memory 3 is divided into predetermined units N and controlled. Figure 6
Indicates a state in which the cache area is divided and set into N clusters × M blocks. One area (cell) indicated by a box in FIG. 6 is an area of one cluster (32 KBytes), and is an area of N × M clusters as a whole. For convenience of explanation, it is assumed that N clusters are shown in a vertical column and that M blocks are set as one division unit (block). In this way, the cache area in the cache memory 3 is logically divided and set to N clusters × M blocks.

【0075】キャッシュメモリ3上のアドレス(キャッ
シュアドレス)は、キャッシュID(Cid)として連
続する。図7には、N=8とした場合の、各セルのアド
レスCidを示している。即ちアドレスCidとして
は、物理的には各セルについてCid=0〜Cid=8
(M−1)+7までが連続して付与されているが、これ
がN=8として設定されることで、Cid=0〜7、8
〜15、16〜23・・・8(M−1)〜8(M−1)
+7まで、8個のセル毎に1ブロックとして分割し、こ
れが連続する状態で管理される。
Addresses on the cache memory 3 (cache addresses) are consecutive as cache IDs (Cid). FIG. 7 shows the address Cid of each cell when N = 8. That is, as the address Cid, physically, Cid = 0 to Cid = 8 for each cell.
(M-1) +7 are continuously given, but by setting this as N = 8, Cid = 0 to 7, 8
~ 15, 16-23 ... 8 (M-1) to 8 (M-1)
Up to +7, every eight cells are divided into one block, which is managed in a continuous state.

【0076】このようなキャッシュ領域に対して、デー
タを書き込む場合は、データ属性(具体的にはデータの
ディスク90上のアドレス等)をNで割った余り値を起
点として順番にセルを割り当てる。図7のようにN=8
とした場合、各ブロックにおいては余り「0」〜余り
「7」に相当するセルが存在するものとなるが、ポイン
タcntの値で指定されたブロックにおいて余り値が対
応するセルが、そのデータに対応するセルとなる。起点
となるセルを含むブロックは、単純にカウントアップさ
れるポインタcntの値で指定される。このポインタc
ntは、カウントアップされていくことで各ブロックを
順次指定していくポインタである。なお、ポインタcn
tは、最後のブロック「(M−1)N」に達したら、次
に最初のブロック「0N」を指定する値にリセットされ
ることで、キャッシュ領域を長大なデータに対応できる
リングバッファのように用いることもできるようにして
いる。
When data is written to such a cache area, cells are sequentially allocated starting from the remainder value obtained by dividing the data attribute (specifically, the address of the data on the disk 90) by N. N = 8 as shown in FIG.
In this case, cells corresponding to the remainders “0” to “7” exist in each block, but the cells corresponding to the remainder value in the block designated by the value of the pointer cnt are included in the data. It becomes the corresponding cell. The block including the cell serving as the starting point is designated by the value of the pointer cnt that is simply counted up. This pointer c
nt is a pointer that sequentially designates each block as it is counted up. Note that the pointer cn
When t reaches the last block “(M−1) N”, t is reset to a value that specifies the first block “0N”, so that the cache area can be used as a ring buffer capable of handling long data. It can also be used for.

【0077】つまり基本的に、ディスク90上でのアド
レス(adrs)が連続していたならば、図中の左上のセル
から縦方向にキャッシュを埋めていき、一番下に達した
らポインタcntを1進める。これを繰り返してポイン
タcntが一番右端(最終ブロック)に達したらポイン
タcntを左端(先頭ブロック)に戻す。
That is, basically, if the addresses (adrs) on the disk 90 are continuous, the cache is filled vertically from the upper left cell in the figure, and when the bottom is reached, the pointer cnt is set. Go forward one. By repeating this, when the pointer cnt reaches the rightmost end (final block), the pointer cnt is returned to the left end (first block).

【0078】以上のことを具体的にのべると、ディスク
90に対して読み書き要求されたデータのディスク上の
アドレス(adrs)に対して、以下の式によりキャッシュ
ID(Cid)を割り当てるものとなる。 Cid= (N× cnt) + remainer(adrs ÷ N)
Specifically, the cache ID (Cid) is assigned to the address (adrs) on the disk of the data requested to be read from or written to the disk 90 by the following formula. Cid = (N x cnt) + remainer (adrs ÷ N)

【0079】このようなキャッシュアドレスCidの割
当の具体例を図8〜図11に示す。図8〜図11におい
てはキャッシュ領域の各セルのアドレスCidは示して
いないが図7に示したとおりとする。今、ディスク90
上でのアドレス(adrs)=25、26、27としての3
クラスタ分のデータの書込又は読出要求が発生したとす
る。
Specific examples of such allocation of the cache address Cid are shown in FIGS. Although the address Cid of each cell in the cache area is not shown in FIGS. 8 to 11, it is assumed to be as shown in FIG. Now disk 90
Address as above (adrs) = 3 as 25, 26, 27
It is assumed that a request for writing or reading data for the cluster has occurred.

【0080】なお、上述した高密度ディスクでの「クラ
スタ」単位と、キャッシュ領域でいう「クラスタ」単位
は、ディスクフォーマットや機器の設計などの都合で、
必ずしも一致しないが、ここでは説明の簡略化のために
一致している場合で述べ、ディスク上での1クラスタの
データが、キャッシュ領域の1つセルに格納されるもの
とする。もちろん一致していなくても、所要のアドレス
換算演算が行われることで、本例のキャッシュ制御方式
は実現できるものである。
The "cluster" unit in the above-mentioned high-density disk and the "cluster" unit in the cache area are, for convenience of the disk format and the design of the device,
Although not necessarily coincident with each other, it is assumed here that they coincide with each other for simplification of description, and it is assumed that one cluster of data on the disk is stored in one cell of the cache area. Of course, even if they do not match, the cache control method of this example can be realized by performing the required address conversion calculation.

【0081】まずキャッシュ領域に書き込むデータのア
ドレス(adrs)=25であり、キャッシュ領域はN=8
で分割設定され、また現在ポインタcnt=0でブロッ
ク「0N」を指定しているとすると、上記式は Cid= (8×0) + remainer(25÷8) となり、remainer(25÷8)として余り値「1」が導か
れる。つまりキャッシュ領域でのアドレスCid=
「1」が割り当てられ、図8に示すようにアドレスadrs
=25のデータが、キャッシュアドレスCid「1」の
セルに書き込まれる。続く、アドレス(adrs)=26、
27の各データも、それぞれ余り値「2」「3」とな
り、キャッシュアドレスCid「2」「3」のセルに連
続的に書き込まれる。
First, the address (adrs) of the data to be written in the cache area is 25, and the cache area is N = 8.
If the block "0N" is specified with the pointer cnt = 0 at the present, the above formula becomes Cid = (8 × 0) + remainer (25 ÷ 8), and it becomes the retainer (25 ÷ 8). The remainder value "1" is derived. That is, the address Cid = in the cache area
"1" is assigned and the address adrs is displayed as shown in FIG.
= 25 data is written to the cell with the cache address Cid “1”. Continued, address (adrs) = 26,
The respective data of 27 also have residual values “2” and “3”, respectively, and are continuously written in the cells of the cache addresses Cid “2” and “3”.

【0082】次に、アドレス(adrs)=32、33、3
4としての3クラスタ分のデータの書込又は読出要求が
発生したとする。すると、アドレス(adrs)=32のN
で除した余り値は「0」であるが、この場合、ブロック
「0N」の残りのセルはCid=4,5,6,7であ
り、Cid=0のセルをすぎているため、ポインタcn
tがインクリメントされてcnt=1となる。従って上
記式は、 Cid= (8×1) + remainer(32÷8) となり、アドレスCid=8とされて、図9に示すよう
にアドレスadrs=32のデータが、キャッシュアドレス
Cid「8」のセルに書き込まれる。続く、アドレス
(adrs)=33、34の各データも、それぞれCid=
9、10が算出され、キャッシュアドレスCid「9」
「10」のセルに書き込まれる。この場合、Cid=
4,5,6,7のセルは、無効セルとされる。
Next, address (adrs) = 32, 33, 3
It is assumed that a request for writing or reading data for 3 clusters as No. 4 has occurred. Then, N of address (adrs) = 32
The remainder value divided by is 0, but in this case, the remaining cells of the block “0N” are Cid = 4,5,6,7, and past the cells of Cid = 0, so the pointer cn
t is incremented to cnt = 1. Therefore, the above formula becomes Cid = (8 × 1) + remainer (32 ÷ 8), and the address Cid = 8 is set. As shown in FIG. 9, the data at the address adrs = 32 becomes the cache address Cid “8”. Written to cell. The following data at addresses (adrs) = 33 and 34 also have Cid =
9, 10 are calculated, and the cache address Cid “9”
It is written in the cell of "10". In this case, Cid =
The cells of 4, 5, 6, and 7 are invalid cells.

【0083】更に次にアドレス(adrs)=14、15、
16としての3クラスタ分のデータの書込又は読出要求
が発生したとすると、これらのデータは、同様にしてC
id=14,15,16のセルが割り当てられ、図9に
示すように書き込まれる。以下、同様に、アドレス(ad
rs)=50、51、52、53としての4クラスタ分の
データの書込又は読出要求、アドレス(adrs)=45、
46、47、48としての4クラスタ分のデータの書込
又は読出要求が発生し、それぞれCidが割り当てられ
てキャッシュ領域に書き込まれた状態を図10に示して
いる。
Further next, addresses (adrs) = 14, 15,
If a request to write or read data for 3 clusters as 16 is issued, these data are similarly stored in C
The cells with id = 14, 15, 16 are allocated and written as shown in FIG. Similarly, the address (ad
rs) = 50, 51, 52, 53, data write or read request for 4 clusters, address (adrs) = 45,
FIG. 10 shows a state in which a write or read request for data of four clusters as 46, 47, and 48 is generated, and Cids are respectively assigned and written in the cache area.

【0084】以上の例は、例えば3クラスタ程度など、
比較的短いデータサイズのデータの書込又は読出要求発
生時の例であるが、AVデータのように長大なデータの
場合も同様となる。例えばポインタcnt=5であった
際に、アドレス(adrs)=100、101、102・・
・・として長大なデータの書込又は読出要求が発生した
場合には、図11に示すように、まずアドレス(adrs)
=100のデータについて上記式によりCid=44が
割り当てられ、このCid=44のセルから図示するよ
うに順次連続して割り当てて書き込まれていくことにな
る。
In the above example, for example, about 3 clusters,
This is an example when a write or read request for data of a relatively short data size occurs, but the same applies to the case of long data such as AV data. For example, when the pointer cnt = 5, the address (adrs) = 100, 101, 102 ...
.. When a request for writing or reading a large amount of data is generated, as shown in FIG.
Cid = 44 is assigned to the data of = 100 by the above formula, and the cells of Cid = 44 are sequentially assigned and written as shown in the drawing.

【0085】なお、AVデータの場合のように大きいサ
イズの連続データの書込/読出要求は、実際には複数回
に分けられて発生するが、アドレス(adrs)が連続する
データが順次書込/読出要求されるものであるため、結
果的に図11のように書き込まれていくことになる。
Although a write / read request for continuous data of a large size as in the case of AV data is actually generated by being divided into a plurality of times, data having consecutive addresses (adrs) is sequentially written. / Because it is a read request, it will be written as a result as shown in FIG.

【0086】このようなキャッシュ制御方式では、次の
ような利点が得られるものとなる。まず連続したアドレ
ス(adrs)に対して,キャッシュメモリ上でも連続性が確
保される。ただし図8〜図10の場合でわかるように、
アドレス(adrs)が連続していない場合には,最大N−
1クラスタ(セル)の隙間が生じる。
With such a cache control system, the following advantages can be obtained. First, continuity is ensured on the cache memory for consecutive addresses (adrs). However, as can be seen from FIGS. 8 to 10,
If the addresses (adrs) are not consecutive, maximum N-
A gap of 1 cluster (cell) is generated.

【0087】また、キャッシュを検索する時には、要求
されたアドレス(adrs)からキャッシュアドレスCid
を求め,そこを起点に左方向に1周するよう検索すれば
よく、キャッシュ検索の際に検索回数(検索対象のセル
数)が,全てのセルを検索する場合の1/N回で済み、
検索処理が高速化できる。このキャッシュ検索処理につ
いては後述する。
When searching the cache, the cache address Cid is changed from the requested address (adrs).
It is only necessary to search for one round to the left from that point as the starting point, and the number of searches (the number of search target cells) at the time of cache search is 1 / N of the case of searching all cells,
The search process can be speeded up. This cache search process will be described later.

【0088】また、キャッシュアドレスCidの割当処
理は、上述の式で示す単純な演算処理で可能である。特
に従来のハッシュアルゴリズムによる割当処理と比較す
れば著しく簡単な演算である。これは演算プログラムの
簡略化、処理負担の軽減、及び演算の迅速化を実現でき
るものとなる。特にNの値を上記「8」のように2のべ
き乗の値とすることにより、CPU(システムコントロ
ーラ8)によるキャッシュアドレスCid算出の高速化
を図ることができる。
Further, the cache address Cid allocation processing can be performed by the simple arithmetic processing shown by the above equation. In particular, it is a remarkably simple operation as compared with the allocation processing by the conventional hash algorithm. This makes it possible to simplify the calculation program, reduce the processing load, and speed up the calculation. In particular, by setting the value of N to a power of 2 as in the above “8”, it is possible to speed up the calculation of the cache address Cid by the CPU (system controller 8).

【0089】そしてこのようなキャッシュ制御方式で
は、PCデータのようになるべくキャッシュヒットの可
能性を高くし、更に検索性を向上させることで応答性を
向上させるというキャッシュの目的と、ディスク90上
で連続して書き込む(又は読み出す)データをキャッシ
ュメモリ3上でも連続させることでディスク90への書
込/読出動作を効率化させ、さらにAVデータのように
大きなデータサイズの連続的なバッファリングという目
的にも適したものとなる。
In such a cache control method, the possibility of a cache hit is increased as much as PC data, and the responsiveness is improved by improving the searchability. By making data to be written (or read) continuously on the cache memory 3 as well, the write / read operation to / from the disk 90 is made efficient, and the purpose is to continuously buffer a large data size such as AV data. It will be suitable for.

【0090】ところで、キャッシュアドレスCidの割
り当てがN×Mのキャッシュ領域で1周したら、2周目
では、無効セルとして残った隙間にキャッシュアドレス
Cid割り当てるようにすることも考えられる。ただ
し、このようにすると、キャッシュデータの断片化を促
進するため,一周したらキャッシュ満タンと判断し登録
抹消を始める、という使い方をするのであってもよい。
By the way, if the cache address Cid is allocated once in the N × M cache area, the cache address Cid may be allocated in the gap left as an invalid cell in the second cycle. However, in this case, in order to promote fragmentation of the cache data, it may be used to judge that the cache is full after one round and start deregistration.

【0091】なお、登録抹消とは、データが書き込まれ
たセル(データが存在し、書込に使用できないセルとし
て登録されたセル)を、データ書込可能な空のセルに戻
すことである。キャッシュメモリ3に書き込まれたデー
タは、少なくともディスク90への書込を行うまでは必
要なデータである。キャッシュメモリ3のデータをディ
スク90に書き込むことを「フラッシュ」と呼ぶが、フ
ラッシュされていないデータを有するセルは、書き込み
できないセルとして「登録」される状態となる。そし
て、少なくともフラッシュされたセルについて、登録抹
消が行われる。但し、フラッシュが登録抹消の条件では
ない。例えばキャッシュヒットを考慮すれば、登録され
たセルはできるだけ長く登録抹消せずにデータを確保し
ておくことが好ましい。その一方でキャッシュ領域は有
限であるため、いつまでも登録状態にしておくことはで
きない。このような事情から、キャッシュの状態、容
量、要求発生状況、書込要求されるデータサイズなどに
応じて、登録抹消は随時行われるものとなっている。
Deletion of registration means returning a cell in which data has been written (a cell registered as a cell that has data and cannot be used for writing) to an empty cell in which data can be written. The data written in the cache memory 3 is necessary data at least until writing to the disk 90. Writing the data of the cache memory 3 to the disk 90 is called “flash”, but a cell having data that has not been flushed is in a state of being “registered” as a cell that cannot be written. Then, deregistration is performed on at least the flushed cell. However, flash is not a condition for deregistration. Considering a cache hit, for example, it is preferable to reserve data in a registered cell without deregistering it as long as possible. On the other hand, since the cache area is limited, it cannot be kept in the registered state forever. Under such circumstances, the registration deletion is performed at any time according to the cache status, capacity, request generation status, write-requested data size, and the like.

【0092】キャッシュメモリ3におけるデータ書込状
態や書き込まれたデータの属性は、キャッシュ管理メモ
リ11にキャッシュ管理データによって管理される。キ
ャッシュ管理データにおいては、図12(a)に示すよ
うに、各キャッシュアドレスCid(つまり各セル)に
対応して管理情報を有するものとされる。そして各キャ
ッシュアドレスCidに対応して、図12(b)に示す
ようにアドレスCid、FATクラスタ番号(adrs)、
フラッシュ情報、キャッシュセクター情報を管理する。
The data writing state in the cache memory 3 and the attribute of the written data are managed in the cache management memory 11 by the cache management data. As shown in FIG. 12A, the cache management data has management information corresponding to each cache address Cid (that is, each cell). Then, corresponding to each cache address Cid, as shown in FIG. 12B, the address Cid, the FAT cluster number (adrs),
It manages flash information and cache sector information.

【0093】FATクラスタ番号(adrs)とは、そのキ
ャッシュアドレスCidに書き込まれたデータの属性と
して、ディスク90上でのアドレスを示すものとされ
る。上述したようにディスク90としての高密度ディス
クはFATシステムによって管理されたデータを記録す
るものであるため、それに対応してFATクラスタ番号
として(adrs)値を記憶するようにされる。つまり本実
施の形態の例では、FATクラスタ番号がディスクから
の書込又は読出要求の際のアドレスとして指定されるも
のとしている。例えば上記図8のようにCid「1」の
セルに、FATクラスタ番号としてのアドレス(adrs)
=「25」が書き込まれた場合は、Cid「1」の管理
情報として、FATクラスタ番号(adrs)=「25」と
登録される。
The FAT cluster number (adrs) indicates the address on the disk 90 as an attribute of the data written in the cache address Cid. As described above, since the high density disc as the disc 90 records data managed by the FAT system, the (adrs) value is stored as the FAT cluster number correspondingly. That is, in the example of the present embodiment, the FAT cluster number is designated as an address when a write or read request is made from the disk. For example, as shown in FIG. 8, the address (adrs) as the FAT cluster number is added to the cell with Cid “1”.
When “= 25” is written, the FAT cluster number (adrs) = “25” is registered as the management information of Cid “1”.

【0094】フラッシュ情報とは、そのキャッシュアド
レスCidのデータがフラッシュされたか否かを示す情
報である。そのキャッシュアドレスCidにデータが書
き込まれることに応じて「未書込」を示す値とされ、フ
ラッシュされることに応じて「ディスク書込済」を示す
値に更新される。
The flush information is information indicating whether or not the data of the cache address Cid has been flushed. When the data is written in the cache address Cid, the value is set to "unwritten", and when the data is flushed, the value is updated to "disk written".

【0095】キャッシュセクター情報とは、キャッシュ
アドレスCidの各セクターについてデータの書込の有
無を示す情報とされる。1つのキャッシュアドレスCi
dは1クラスタの領域のセルに付与されており、1クラ
スタは32セクターで構成されるとすると、例えばキャ
ッシュセクター情報は、32セクターにそれぞれ1ビッ
トが対応する32ビットのフラグ情報とされて、各セク
ターについてのデータ有無を示すようにされる。
The cache sector information is information indicating whether or not data is written for each sector of the cache address Cid. One cache address Ci
d is added to cells in the region of 1 cluster, and if 1 cluster is composed of 32 sectors, for example, the cache sector information is 32 bit flag information in which 1 bit corresponds to 32 sectors, The presence or absence of data for each sector is indicated.

【0096】例えばこのようにキャッシュ管理データが
構成されることで、システムコントローラ8はキャッシ
ュ管理メモリ11におけるキャッシュ管理データを参照
することで、キャッシュ領域の各セルの状態を把握し、
フラッシュ処理、登録抹消処理、ポインタcntのカウ
ント処理等の必要なキャッシュ制御を行うことができ
る。また後述するキャッシュ検索は、実際にはこのキャ
ッシュ管理データを検索するものである。
For example, by configuring the cache management data in this way, the system controller 8 refers to the cache management data in the cache management memory 11 to grasp the state of each cell in the cache area,
It is possible to perform necessary cache control such as flush processing, deregistration processing, and pointer cnt counting processing. Further, the cache search described later actually searches this cache management data.

【0097】4.ライト/リード動作 ここで、上記のように制御されるキャッシュメモリ3を
介して行われる記録再生時の動作の流れを説明してお
く。図13はディスク90へのデータ書込要求発生時
(ディスクライト時)、図14、図15はディスク90
からのデータ読出要求発生時(ディスクリード時)の流
れを示している。なお図14はキャッシュヒットしなか
った場合、図15はキャッシュヒットした場合である。
4. Write / Read Operation Here, the flow of operation at the time of recording / reproduction performed via the cache memory 3 controlled as described above will be described. FIG. 13 shows a data write request to the disk 90 (when a disk is written), and FIGS. 14 and 15 show the disk 90.
3 shows the flow when a data read request is issued from the disk (when a disk is read). Note that FIG. 14 shows a case where no cache hit occurs, and FIG. 15 shows a case where a cache hit occurs.

【0098】各図においては、録再管理タスク又はP
C、ファイルタスク又はUSBタスク、キャッシュタス
ク、ドライブタスクの処理を示している。録再管理タス
ク、ファイルタスク、USBタスク、キャッシュタス
ク、ドライブタスクは、それぞれシステムコントローラ
8(CPU)において起動されるタスクである。PCと
は図1にパーソナルコンピュータ(又はネットワーク)
100として示した外部処理である。
In each figure, the recording / reproduction management task or P
Processing of C, file task or USB task, cache task, drive task is shown. The recording / reproducing management task, the file task, the USB task, the cache task, and the drive task are tasks activated by the system controller 8 (CPU). PC is a personal computer (or network) in Fig. 1.
The external processing is shown as 100.

【0099】ドライブタスクは、ストレージ部2におけ
る記録再生動作やキャッシュメモリ3とストレージ部2
の間のデータ転送の制御を行う機能を有する。キャッシ
ュタスクは、キャッシュメモリ3に対する制御、即ち、
キャッシュアドレスCidの計算を始めとするキャッシ
ュ制御を行う機能を持つ。USBタスクは、USBイン
ターフェース4とパーソナルコンピュータ100との間
のデータ通信及びそのためのキャッシュメモリ3に対す
る書込/読出を制御する機能を有する。ファイルタスク
は、入出力処理部5を介して入出力されるデータについ
てのFATクラスタによる管理/変換や、FATやプレ
イリストに基づくアドレス検出等を行う機能を有する。
録再管理タスクは、入出力処理部5を介してのオーディ
オデータの入出力、即ち記録再生装置1の単体でのディ
スク90への記録再生をユーザー操作に基づいて指示す
る機能を有する。
The drive task includes a recording / reproducing operation in the storage unit 2 and the cache memory 3 and the storage unit 2.
It has a function of controlling data transfer between the two. The cache task controls the cache memory 3, that is,
It has a function of performing cache control including calculation of the cache address Cid. The USB task has a function of controlling data communication between the USB interface 4 and the personal computer 100 and writing / reading to / from the cache memory 3 for that purpose. The file task has a function of performing management / conversion by the FAT cluster for data input / output via the input / output processing unit 5 and address detection based on FAT or playlist.
The recording / reproducing management task has a function of instructing input / output of audio data via the input / output processing unit 5, that is, recording / reproducing to / from the disc 90 by the recording / reproducing apparatus 1 alone based on a user operation.

【0100】上述したように、ディスク90へのデータ
の記録再生としては、記録再生装置1が単体でAV機器
として用いられる場合と、パーソナルコンピュータ(又
はネットワーク)100に接続されて、それらに対する
ストレージ機器として用いられる場合の2通りがある。
パーソナルコンピュータ100に接続される場合は、例
えばパーソナルコンピュータ100がディスク90に対
するデータの書込要求、読出要求を発生させる。この場
合は、USBタスク、キャッシュタスク、ドライブタス
クが機能して、データの書込又は読出が行われる。
As described above, for recording / reproducing data to / from the disc 90, the recording / reproducing apparatus 1 is used alone as an AV device, or is connected to the personal computer (or network) 100 and is a storage device for them. There are two types when used as.
When connected to the personal computer 100, for example, the personal computer 100 issues a data write request and a data read request for the disk 90. In this case, the USB task, cache task, and drive task function to write or read data.

【0101】一方、記録再生装置1はAV機器として機
能でき、例えばユーザ操作に応じてオーディオデータ等
の記録再生が実行できるが、その場合は、操作部7から
のユーザーの記録操作、再生操作に応じて、システムコ
ントローラ8上で起動されている録再管理タスクがディ
スク90に対するデータの書込要求、読出要求を発生さ
せる。この場合は、ファイルタスク、キャッシュタス
ク、ドライブタスクが機能して、データの書込又は読出
が行われる。
On the other hand, the recording / reproducing apparatus 1 can function as an AV device and can record / reproduce audio data or the like in accordance with a user's operation. In response, the recording / reproducing management task activated on the system controller 8 issues a data write request and a data read request for the disk 90. In this case, the file task, cache task, and drive task function to write or read data.

【0102】あくまでここで説明する範囲としてのデー
タキャッシュに関する動作や伝送する情報は、録再管理
タスクとパーソナルコンピュータ100で同様であり、
またファイルタスクとUSBタスクは同様となるため、
これらを共通に説明する。なお、パーソナルコンピュー
タ100等ではディスク90上のアドレス(adrs)を論
理アドレスで扱い、ドライブタスクではディスク90上
のアドレス(adrs)を物理アドレスとして扱う。このた
め実際には論理/物理アドレス変換タスクが、例えばU
SBタスクとキャッシュタスクの間に介在され、キャッ
シュタスク、ドライブタスクでは物理アドレスによりア
ドレス(adrs)を、USBタスクやパーソナルコンピュ
ータ100側では論理アドレスによりアドレス(adrs)
を、それぞれ扱うことになるが、説明の簡略化のため、
論理/物理アドレス変換については省略する。
The operation regarding the data cache and the information to be transmitted, which are the ranges described here, are the same between the recording / reproducing management task and the personal computer 100.
Since the file task and USB task are the same,
These are commonly explained. It should be noted that the personal computer 100 or the like handles the address (adrs) on the disk 90 as a logical address, and the drive task handles the address (adrs) on the disk 90 as a physical address. Therefore, in practice, a logical / physical address conversion task, for example, U
It is interposed between the SB task and the cache task, and the cache task and the drive task use the physical address (adrs), and the USB task and the personal computer 100 side use the logical address (adrs).
Will be treated respectively, but for simplification of explanation,
The logical / physical address conversion is omitted.

【0103】まず図13でディスクライト時を説明す
る。手順W1では、録再管理タスク(又はPC)が書込
要求(ライト要求)を発生させると共に書込データを転
送する。ライト要求としては、ディスク90での書込の
起点となるアドレス(adrs)及びデータ長(length)の
情報を含む。そして書込データ(Wdata)を転送する。
ファイルタスク(又はUSBタスク)は、ライト要求が
発生し、入出力処理部5(又はUSBインターフェース
4)に書込データ(Wdata)が供給されてくると、手順
W11として、キャッシュタスクに対してキャッシュ書
込要求を行う。このキャッシュ書込要求ではアドレス
(adrs)及びデータ長(length)の情報をキャッシュタ
スクに伝える。キャッシュタスクは、手順W21におい
て、アドレス(adrs)に基づいて上述した式「Cid=
(N× cnt) + remainer(adrs ÷ N)」によりキャッ
シュアドレスCidを算出し、手順W22として算出し
たキャッシュアドレスCidをファイルタスク(又はU
SBタスク)に伝える。即ちキャッシュメモリ3におい
て書込データ(Wdata)を書き込むべきキャッシュアド
レスを伝える。
First, the disk write operation will be described with reference to FIG. In step W1, the recording / reproduction management task (or PC) issues a write request (write request) and transfers write data. The write request includes information on the address (adrs) and the data length (length) that are the starting points of writing on the disk 90. Then, the write data (Wdata) is transferred.
When a write request is generated and the write data (Wdata) is supplied to the input / output processing unit 5 (or USB interface 4), the file task (or USB task) caches the cache task as the procedure W11. Make a write request. In this cache write request, information on the address (adrs) and the data length (length) is transmitted to the cache task. In step W21, the cache task uses the expression “Cid =” described above based on the address (adrs).
(N × cnt) + remainer (adrs ÷ N) ”, and the cache address Cid calculated in step W22 is used for the file task (or U).
SB task). That is, the cache memory 3 transmits the cache address to which the write data (Wdata) should be written.

【0104】これに応じてファイルタスク(又はUSB
タスク)は、手順W12として、書込データ(Wdata)
を指定されたキャッシュアドレスCidを起点としてキ
ャッシュメモリ3に書き込んでいく処理を行う。そして
キャッシュ書込が完了したら、手順W13として、キャ
ッシュタスクに対してキャッシュ書込完了を通知する。
またこのとき、キャッシュ書込完了の時点で、録再管理
タスク(又はPC)に対しては書込完了を通知する。例
えばパーソナルコンピュータ100や録再管理タスク
は、一度ライト要求を送信した後は、そのライト要求に
対するライト完了がコマンドOKの通知とされ、そのコ
マンドOKとされた後に、次のライト要求が可能とな
る。従って、パーソナルコンピュータ100や録再管理
タスクは、連続的にライト要求を行う場合は、この時点
で次のライト要求を発生させることが可能となる。
In response to this, the file task (or USB
Task) is write data (Wdata) as procedure W12.
Is written in the cache memory 3 starting from the designated cache address Cid. Then, when the cache writing is completed, in step W13, the cache writing is notified to the cache task.
At this time, when the cache writing is completed, the recording / reproducing management task (or PC) is notified of the writing completion. For example, the personal computer 100 and the recording / reproducing management task, after transmitting the write request once, notify the completion of the write to the write request as the notification of the command OK, and after the command OK, the next write request becomes possible. . Therefore, when the personal computer 100 and the recording / reproducing management task continuously make write requests, the next write request can be generated at this point.

【0105】ファイルタスク(又はUSBタスク)から
のキャッシュ書込完了の通知があると、キャッシュタス
クは手順W23として、ドライブタスクに対してディス
ク90への書込要求を行う。ドライブタスクは手順W3
1として、キャッシュタスクからの書込要求に応じて、
キャッシュメモリ3に保持された書込データ(Wdata)
を読み出してストレージ部2に転送し、指定されたアド
レス(adrs)から記録するように制御することになる。
そしてストレージ部2においてディスク90へのデータ
書込が完了したら、手順W32としてキャッシュタスク
に対してディスク書込完了を通知する。ここまでの処理
により、書込データ(Wdata)のディスク90への書込
が完了する。
When the cache write completion is notified from the file task (or USB task), the cache task requests the drive task to write to the disk 90 in step W23. Drive task is procedure W3
1, in response to a write request from the cache task,
Write data (Wdata) held in the cache memory 3
Is read out, transferred to the storage unit 2, and recorded from the specified address (adrs).
Then, when the data writing to the disk 90 is completed in the storage unit 2, the completion of the disk writing is notified to the cache task as procedure W32. By the processing up to this point, the writing of the write data (Wdata) to the disc 90 is completed.

【0106】なお、このようにキャッシュメモリ3に格
納されたデータをディスク90に書き込むフラッシュ動
作は、ライト要求毎に実行する必要はなく、所定のフラ
ッシュタイミングにおいて実行されればよい。例えばキ
ャッシュメモリ3に書き込まれたデータを或る程度の時
間フラッシュさせないでおき、所要の時点でまとめてフ
ラッシュすることで、フラッシュ動作を効率化できる。
特にディスク90に対する書込動作を効率化できる。
The flash operation for writing the data stored in the cache memory 3 to the disk 90 in this way does not have to be executed for each write request, and may be executed at a predetermined flash timing. For example, the data written in the cache memory 3 may not be flushed for a certain period of time, and may be collectively flushed at a required time point, so that the flush operation can be made efficient.
In particular, the write operation on the disk 90 can be made efficient.

【0107】ところで、キャッシュメモリ3の状態は上
述したようにキャッシュ管理データで管理されるが、上
記手順W12で書込データ(Wdata)のキャッシュメモ
リ3への書込が行われることに応じて、キャッシュ管理
データでは、該当キャッシュアドレスCidについて図
12に示したFATクラスタ番号(adrs)が書き込ま
れ、またキャッシュセクター情報が更新される。またキ
ャッシュメモリ3に格納された書込データ(Wdata)
が、手順W31でディスク90へ書き込まれる(即ちフ
ラッシュされる)ことに応じて、その書込データ(Wdat
a)が格納されていたキャッシュアドレスCidはフラ
ッシュ済みとなるようにキャッシュ管理データのフラッ
シュ情報が更新される。
By the way, the state of the cache memory 3 is managed by the cache management data as described above. In the cache management data, the FAT cluster number (adrs) shown in FIG. 12 is written for the corresponding cache address Cid, and the cache sector information is updated. Also, write data (Wdata) stored in the cache memory 3
Is written (that is, flushed) to the disk 90 in step W31, the write data (Wdat
The flush information of the cache management data is updated so that the cache address Cid in which a) was stored is flushed.

【0108】次に図14でディスクリード時の動作を説
明する。これはキャッシュヒットしなかった場合であ
る。手順R1で、録再管理タスク(又はPC)は読出要
求(リード要求)を発生させる。リード要求としては、
ディスク90での読出の起点となるアドレス(adrs)及
びデータ長(length)の情報を含む。ファイルタスク
(又はUSBタスク)は、リード要求が発生すると、手
順R11として、キャッシュタスクに対してキャッシュ
読出要求を行う。このキャッシュ読出要求ではアドレス
(adrs)及びデータ長(length)の情報をキャッシュタ
スクに伝える。キャッシュタスクは、手順R21におい
て、アドレス(adrs)に基づいて上述した式「Cid=
(N× cnt) + remainer(adrs ÷ N)」によりキャッ
シュアドレスCidを算出し、そのキャッシュアドレス
Cidを起点として、上述したN×Mのマトリクス設定
されたキャッシュ領域における余り値が同一の行での検
索を行う。この検索処理は後述する。ここで、キャッシ
ュ検索を行っても、要求されたアドレス(adrs)のデー
タが発見されなかったとする。即ちキャッシュヒットし
なかったため、キャッシュタスクは続いて手順R22
で、ドライブタスクに対してディスク90からの読出要
求を行う。このとき、ディスクから読み出すべきアドレ
ス(adrs)、データ長(length)、及び読み出したデー
タを書き込ませるキャッシュメモリ3のキャッシュアド
レスCidを通知する。ドライブタスクは手順R31と
して、キャッシュタスクからの書込要求に応じて、スト
レージ部2が指定されたアドレス(adrs)から指定され
たデータ長(length)のデータ再生を行うように制御す
る。そして読み出されたデータは、指定されたキャッシ
ュアドレスCidに基づいて、キャッシュメモリ3に書
き込んでいく。そしてドライブタスクは、ストレージ部
2におけるディスク90からのデータ読出、及びキャッ
シュメモリ3への書込が完了したら、手順R32として
キャッシュタスクに対してディスク読出完了を通知す
る。
Next, the operation at the time of disc reading will be described with reference to FIG. This is when there is no cache hit. In step R1, the recording / reproduction management task (or PC) issues a read request (read request). As a lead request,
It includes information of an address (adrs) and a data length (length) which are the starting points of reading on the disk 90. When a read request is issued, the file task (or USB task) makes a cache read request to the cache task as procedure R11. In this cache read request, information of address (adrs) and data length (length) is transmitted to the cache task. In the procedure R21, the cache task uses the expression "Cid =" based on the address (adrs).
(N × cnt) + remainer (adrs ÷ N) ”, and the cache address Cid is calculated. Do a search. This search process will be described later. Here, it is assumed that the data of the requested address (adrs) is not found even if the cache search is performed. That is, since no cache hit occurs, the cache task continues with the procedure R22.
Then, a read request from the disk 90 is issued to the drive task. At this time, the address (adrs) to be read from the disk, the data length (length), and the cache address Cid of the cache memory 3 into which the read data is written are notified. In step R31, the drive task controls the storage unit 2 to reproduce the data of the specified data length (length) from the specified address (adrs) in response to the write request from the cache task. Then, the read data is written in the cache memory 3 based on the designated cache address Cid. Then, when the data reading from the disk 90 in the storage unit 2 and the writing to the cache memory 3 are completed, the drive task notifies the cache task of the disk reading completion as procedure R32.

【0109】するとキャッシュタスクは手順R23で、
上記手順R11でのキャッシュ読出要求に対応したレス
ポンスとして、読出を行うべきキャッシュアドレスCi
dを通知する。即ちドライブタスクによって読出データ
(Rdata)が書き込まれたキャッシュアドレスCidを
通知するものとなる。
Then, the cache task executes the procedure R23.
As a response corresponding to the cache read request in the above procedure R11, the cache address Ci to be read is to be read.
Notify d. That is, the cache address Cid in which the read data (Rdata) is written by the drive task is notified.

【0110】これに応じてファイルタスク(又はUSB
タスク)は、手順R12として、指定されたキャッシュ
アドレスCidから読出データ(Rdata)を読み出し、
入出力処理部5又はパーソナルコンピュータ100側に
転送していく。そしてキャッシュ読出及び転送が完了し
たら、手順R13として、録再管理タスク(又はPC)
に対して読出完了を通知する。なお実際には、手順R1
3の読出完了の通知は手順R12のデータの転送と同時
に行われる場合もある。
In response to this, the file task (or USB
Task) reads the read data (Rdata) from the specified cache address Cid in step R12,
The data is transferred to the input / output processing unit 5 or the personal computer 100 side. When the cache read and transfer are completed, the recording / reproduction management task (or PC) is executed as procedure R13.
Notify the completion of reading. Actually, the procedure R1
In some cases, the notification of the completion of reading in step 3 is given at the same time as the data transfer in step R12.

【0111】例えばパーソナルコンピュータ100や録
再管理タスクは、読出完了の通知に応じて次のリード要
求が可能となる。ところで、オーディオデータのように
連続した長大なデータであって、また入出力処理部5か
らの出力として時間的な連続性を保たなければならない
場合、読出完了の通知を待って新たに続きのデータを要
求するのでは間に合わないおそれもあり、またストレー
ジ部2での再生動作としては、ディスク90上で連続し
ているデータであるにもかかわらず、一旦読出を停止し
てリード要求を待って再度読出を開始するということ
は、非常に非効率的な動作となり、余分な電力消費も多
くなる。そこで通常、ドライブタスク側では例えばキャ
ッシュタスクの指示に基づいて、ストレージ部2の読出
動作として先読み動作を行わせ、まだ要求されていない
データについてもキャッシュメモリ3へバッファリング
していくようにしている。
For example, the personal computer 100 or the recording / reproducing management task can make the next read request in response to the read completion notification. By the way, when the data is continuous and long data such as audio data, and it is necessary to maintain temporal continuity as an output from the input / output processing unit 5, a new completion of the reading is waited for after the notification of the reading completion. Requesting data may not be in time, and as the reproducing operation in the storage unit 2, even if the data is continuous on the disk 90, the reading is temporarily stopped and the read request is waited for. Starting reading again is a very inefficient operation and consumes extra power. Therefore, normally, on the drive task side, a pre-read operation is performed as a read operation of the storage unit 2 based on, for example, an instruction of the cache task, and data not requested yet is also buffered in the cache memory 3. .

【0112】例えば手順R31で要求されたデータをデ
ィスク90から読み出してキャッシュメモリ3へ書き込
んだ際には、引き続きディスク90から連続的に読出を
実行させ、それぞれキャッシュメモリ3へ連続して書き
込んでいく。もちろんディスク90上でのアドレス(ad
rs)は連続したものであるため、キャッシュメモリ3上
でのキャッシュアドレスCidとしても連続したアドレ
スに書き込んで行くようにされることになる。このよう
な先読み動作により、図11に示したようなバッファリ
ングが行われていく。そして特にオーディオデータの場
合、次に要求されるデータが、先に要求されたデータに
連続する続きのデータとされる蓋然性は非常に高い。従
って先読みバッファリングを行っておけば、次のリード
要求の際には、次に説明するキャッシュヒットによりデ
ータを非常に迅速に転送することができる。これによ
り、入出力処理部5が時間的に連続してデータ出力する
ような場合でも、それに間に合うように入出力処理部5
に対して読出データを供給できる。
For example, when the data requested in the procedure R31 is read from the disk 90 and written to the cache memory 3, the disk 90 is continuously read continuously, and the data is continuously written to the cache memory 3. . Of course, the address on the disk 90 (ad
Since rs) is continuous, the cache address Cid on the cache memory 3 is also written to continuous addresses. By such a prefetch operation, the buffering as shown in FIG. 11 is performed. In particular, in the case of audio data, it is highly probable that the next requested data will be a continuous data following the previously requested data. Therefore, if the read-ahead buffering is performed, the data can be transferred very quickly by the cache hit described below when the next read request is made. As a result, even when the input / output processing unit 5 outputs data continuously in terms of time, the input / output processing unit 5 should be in time.
Can be supplied with read data.

【0113】なお、キャッシュメモリ3の状態を管理す
るキャッシュ管理データでは、上記手順W32で読出デ
ータ(Rdata)のキャッシュメモリ3への書込が行われ
ることに応じて、該当キャッシュアドレスCidについ
て図12に示したFATクラスタ番号(adrs)が書き込
まれ、またキャッシュセクター情報が更新される。
In the cache management data for managing the state of the cache memory 3, the read data (Rdata) is written in the cache memory 3 in the above procedure W32, and the cache address Cid shown in FIG. The FAT cluster number (adrs) shown in is written and the cache sector information is updated.

【0114】ところで、上記手順R31で読出完了の通
知があった後に、パーソナルコンピュータ100や録再
管理タスクは次のリード要求が可能となると述べたが、
例えば録再管理タスクの指示に基づくファイルタスクに
よっては、録再管理タスクに読出完了の通知がなされる
前にキャッシュタスクに対して連続的にキャッシュ読出
要求を発行する場合がある。例えばファイルタスクが、
キャッシュタスクに対するキャッシュ読出要求と、キャ
ッシュ読出要求にかかるキャッシュメモリ3からのデー
タ読出の対応を管理していることで、或るキャッシュ読
出要求に対するキャッシュタスクからの応答が未着の時
点で、さらに次のキャッシュ読出要求を発行できる。こ
のような連続的な複数のキャッシュ読出要求に対して
は、キャッシュタスクは順次手順R21以降の処理を行
っていけばよいわけであるが、本例ではキャッシュタス
クが連続する複数回のキャッシュ読出要求の内容を判断
して効率的なディスク読出動作が実行できるようにして
いる。これについては後述する。
By the way, it has been stated that the personal computer 100 and the recording / reproducing management task can make the next read request after the completion of the read notification in step R31.
For example, depending on the file task based on the instruction of the recording / reproducing management task, the cache read request may be continuously issued to the cache task before the reading completion notification is given to the recording / reproducing management task. For example, the file task
By managing the correspondence between the cache read request for the cache task and the data read from the cache memory 3 related to the cache read request, when the response from the cache task for a certain cache read request has not arrived yet, Can issue a cache read request. For such a plurality of consecutive cache read requests, the cache task only needs to sequentially perform the processing after the procedure R21, but in this example, the cache task makes a plurality of consecutive cache read requests. The disc reading operation can be executed efficiently by judging the contents of the above. This will be described later.

【0115】また、パーソナルコンピュータ100の場
合でも、リード要求に関する動作アルゴリズムの設計に
よっては、リード要求を連続的に発行できるようにする
こともできる。或いは、例えばUSBタスクがキャッシ
ュタスクに対してキャッシュ読出要求を発行した直後に
パーソナルコンピュータ100に対してリード完了を通
知するような処理を実行すれば、パーソナルコンピュー
タ100が図14の手順R13での読出完了通知を待た
ないで次のリード要求を発行することも可能となる。即
ち、キャッシュタスクから見れば、連続した複数回のキ
ャッシュ読出要求を受け取る場合もあり得るのである
が、後述するように、このときにドライブタスクに対す
るディスク読出要求を、複数のキャッシュ読出要求に対
応させることで、効率的なディスク読出が可能となる。
Further, even in the case of the personal computer 100, the read requests can be continuously issued depending on the design of the operation algorithm for the read requests. Alternatively, for example, if the USB task executes a process of notifying the personal computer 100 of the read completion immediately after issuing the cache read request to the cache task, the personal computer 100 performs the read in the procedure R13 of FIG. It is also possible to issue the next read request without waiting for the completion notification. That is, from the perspective of the cache task, it may be possible to receive a plurality of consecutive cache read requests. However, as described later, at this time, the disk read request for the drive task is made to correspond to the plurality of cache read requests. As a result, efficient disc reading becomes possible.

【0116】次に図15でディスクリード時の動作とし
て、キャッシュヒットした場合の動作を説明する。手順
R1で、録再管理タスク(又はPC)がリード要求を発
生させ、手順R11でファイルタスク(又はUSBタス
ク)がキャッシュタスクに対してキャッシュ読出要求を
行うことは図14の場合と同様である。キャッシュタス
クは、手順R21において、アドレス(adrs)に基づい
て上述した式「Cid= (N× cnt) + remainer(adrs
÷ N)」によりキャッシュアドレスCidを算出し、
そのキャッシュアドレスCidを起点として、上述した
N×Mのマトリクス設定されたキャッシュ領域における
余り値が同一の行での検索を行う。ここで、キャッシュ
検索結果として、要求されたアドレス(adrs)のデータ
がキャッシュメモリ3内に存在したとすると、キャッシ
ュタスクは手順R23で、上記手順R11でのキャッシ
ュ読出要求に対応したレスポンスとして、読出を行うべ
きキャッシュアドレスCidを通知する。即ち過去の或
る時点においてドライブタスクによって読出データ(Rd
ata)が書き込まれたキャッシュアドレスCidを通知
するものとなる。
Next, as a disk read operation, an operation in the case of a cache hit will be described with reference to FIG. It is the same as in the case of FIG. 14 that the recording / reproduction management task (or PC) issues a read request in step R1 and the file task (or USB task) issues a cache read request to the cache task in step R11. . In the procedure R21, the cache task uses the expression “Cid = (N × cnt) + remainer (adrs) based on the address (adrs) in the procedure R21.
÷ N) ”to calculate the cache address Cid,
With the cache address Cid as a starting point, a search is performed on the rows having the same residual value in the above-described N × M matrix-set cache areas. Assuming that the data of the requested address (adrs) exists in the cache memory 3 as the cache search result, the cache task reads in step R23 as a response corresponding to the cache read request in step R11. Is notified of the cache address Cid to be executed. That is, the read data (Rd
The cache address Cid in which ata) is written is notified.

【0117】これに応じてファイルタスク(又はUSB
タスク)は、手順R12として、指定されたキャッシュ
アドレスCidから読出データ(Rdata)を読み出し、
入出力処理部5又はパーソナルコンピュータ100側に
転送していく。そしてキャッシュ読出及び転送が完了し
たら、手順R13として、録再管理タスク(又はPC)
に対して読出完了を通知する。
In response to this, the file task (or USB
Task) reads the read data (Rdata) from the specified cache address Cid in step R12,
The data is transferred to the input / output processing unit 5 or the personal computer 100 side. When the cache read and transfer are completed, the recording / reproduction management task (or PC) is executed as procedure R13.
Notify the completion of reading.

【0118】このように、リード要求にかかる読出デー
タ(Rdata)が、既にキャッシュメモリ3内に格納され
ている場合は、ストレージ部2における読出動作を必要
とせずに、入出力処理部5又はパーソナルコンピュータ
100側に要求された読出データ(Rdata)を供給する
ことが可能となり、上述したキャッシュヒットしなかっ
た場合に比べて、応答性は非常によいものとなる。
As described above, when the read data (Rdata) required for the read request is already stored in the cache memory 3, the read operation in the storage unit 2 is not required and the input / output processing unit 5 or the personal computer is not required. The requested read data (Rdata) can be supplied to the computer 100 side, and the responsiveness becomes very good as compared with the case where no cache hit occurs as described above.

【0119】5.キャッシュ検索処理 上記のようにキャッシュタスクが実行するキャッシュ検
索処理について説明する。即ち要求されたデータがキャ
ッシュメモリ3内に存在するか否かを判別する処理であ
る。
5. Cache Search Process The cache search process executed by the cache task as described above will be described. That is, this is a process of determining whether or not the requested data exists in the cache memory 3.

【0120】上述したようにキャッシュ領域をN×Mの
マトリクス管理する本例の場合、キャッシュ領域におい
てデータが記録されるセル(キャッシュアドレスCi
d)は、ディスク90上でのアドレス(adrs)が指定さ
れた際に「Cid= (N× cnt) + remainer(adrs ÷
N)」の演算で求められる。ここで、ポインタcntの
値は、データをキャッシュメモリ3に書き込む時点での
カウント値であり、検索時の値とは必ずしも一致せず、
検索時に(N× cnt)の値は特定できないが、或るアドレ
ス(adrs)のデータを記憶するキャッシュアドレスCi
dは、remainer(adrs ÷ N)としての余り値を求める項
で規定されることになる。
In the case of the present example in which the N × M matrix management of the cache area is performed as described above, cells (cache address Ci
d) is “Cid = (N × cnt) + remainer (adrs ÷ when the address (adrs) on the disk 90 is designated.
N) ”. Here, the value of the pointer cnt is the count value at the time of writing the data in the cache memory 3, and does not always match the value at the time of search.
The value of (N × cnt) cannot be specified at the time of search, but the cache address Ci for storing the data of a certain address (adrs)
d will be defined by the term for obtaining the remainder value as remaining (adrs ÷ N).

【0121】例えば上記図7に示したように、N=8と
すると、N×Mのマトリクスにおいては、余り値0の行
〜余り値7の行が存在する。従って、或るアドレス(ad
rs)のデータが要求された際には、そのアドレス(adr
s)を用いたremainer(adrs ÷ N)の演算で得られる余
り値の行を検索すればよいものとなる。
For example, as shown in FIG. 7, assuming N = 8, there are rows with a remainder value of 0 to rows with a remainder value of 7 in the N × M matrix. Therefore, some address (ad
When the data of (rs) is requested, its address (adr
It is only necessary to retrieve the row of the residual value obtained by the operation of remainr (adrs ÷ N) using (s).

【0122】具体例で説明する。例えばキャッシュメモ
リ3には上記図10のようにデータが記憶されている場
合を考える。この時点でポインタcnt=4であるとす
る。ここで、アドレス(adrs)=「25」のデータが要
求されたとする。キャッシュタスクは、このとき、Ci
d= (N× cnt) + remainer(adrs ÷N)の演算を行う
ことで、図16に示すキャッシュアドレスCid=33
を得ることになる。ここで、remainer(adrs ÷ N)=2
であり、Cid=33は、余り値「2」の行のキャッシ
ュアドレスである。キャッシュタスクは、Cid=33
を起点として、図16に太枠で示した余り値2の行の各
キャッシュアドレスCidを検索していけばよい。
A specific example will be described. For example, consider a case where data is stored in the cache memory 3 as shown in FIG. It is assumed that the pointer cnt = 4 at this point. Here, it is assumed that the data of the address (adrs) = “25” is requested. At this time, the cache task is Ci
By performing the calculation of d = (N × cnt) + remainer (adrs ÷ N), the cache address Cid = 33 shown in FIG.
You will get Where remainr (adrs ÷ N) = 2
And Cid = 33 is the cache address of the row with the remainder value “2”. The cache task has Cid = 33
Starting from, each cache address Cid in the row of the remainder value 2 shown by the thick frame in FIG. 16 may be searched.

【0123】この場合、Cid=33にはデータが格納
されていない。次にCid=25もデータが格納されて
いない。次にCid=17もデータが格納されていな
い。Cid=9にはadrs=33のデータが格納されてい
る。そしてCid=1を確認した時点でadrs=25のデ
ータを発見し、キャッシュヒットと判断できる。
In this case, no data is stored in Cid = 33. Next, for Cid = 25, no data is stored. Next, no data is stored for Cid = 17. The data of adrs = 33 is stored in Cid = 9. Then, when Cid = 1 is confirmed, the data of adrs = 25 is discovered, and it can be determined that the cache hit.

【0124】なお、Cid=1も該当しなかった場合
は、次に検索対象を最終ブロック(M−1)Nの余り値
2のキャッシュアドレス(Cid=8(M−1)+1)
に進めていく。最終的に余り値2のキャッシュアドレス
の全てを検索しても該当データが存在しなかった場合は
キャッシュヒットしなかったと判断することになる。
If Cid = 1 does not apply, the search target is the cache address of the remainder value 2 of the final block (M-1) N (Cid = 8 (M-1) +1).
Proceed to. Finally, if the corresponding data does not exist even if all the cache addresses having the remainder value 2 are searched, it is determined that no cache hit has occurred.

【0125】この具体例からわかるように、キャッシュ
検索処理は、その対象となるキャッシュアドレスCid
(セル)は、全てのセルの1/Nの数とすることができ
る。即ち、通常、キャッシュ検索の場合にキャッシュ領
域の全てのキャッシュアドレスCidについて、要求さ
れたデータの有無を確認しなければならないが、その処
理を1/Nとすることができ、キャッシュ検索処理を著
しく迅速化できるものとなる。これによりデータ要求時
の応答性の向上を実現できる。なお、実際の検索はキャ
ッシュ管理データに対して行われる。即ち上記例の場
合、Cid=33、25、17・・・についての各キャ
ッシュ管理データのFATクラスタ番号を確認して行く
処理となる。
As can be seen from this specific example, the cache search process is executed by the target cache address Cid.
(Cell) may be 1 / N of all cells. That is, normally, in the case of a cache search, it is necessary to check the presence / absence of requested data for all cache addresses Cid in the cache area, but the processing can be reduced to 1 / N, and the cache search processing can be significantly performed. It can be speeded up. This makes it possible to improve the responsiveness when requesting data. The actual search is performed on the cache management data. That is, in the case of the above example, the process is to confirm the FAT cluster number of each cache management data for Cid = 33, 25, 17 ...

【0126】キャッシュタスクにおいて、このような検
索処理を実現するフローチャートを図17に示す。ステ
ップF101では、要求されたアドレス(adrs)に基づ
いてCid= (N× cnt) + remainer(adrs ÷ N)の
演算を行ってキャッシュアドレスCidを得る。上記例
の場合、この処理でキャッシュアドレスCid=33を
得ることになる。そしてステップF102を介してF1
03に進み、当該キャッシュアドレスCid(Cid=
33)についてのキャッシュ管理データを参照して、要
求されたデータ(上記例の場合adrs=25)が記憶され
ているか否かを確認する。要求データが存在しなければ
ステップF104に進んで、検索すべきキャッシュアド
レスCidの値を、Cid−Nとする。上記例の場合、
新たなキャッシュアドレスCidは、33−8=25に
より、Cid=25となり、ステップF102→F10
3と進んで、当該キャッシュアドレスCid(Cid=
25)についてのキャッシュ管理データを参照して、要
求されたデータ(上記例の場合adrs=25)が記憶され
ているか否かを確認する。このループにより、例えばad
rs=25のデータが要求された場合は、余り値「1」の
行の各セルが順次前方に検索されていくことになる。な
おステップF104では、キャッシュアドレスCidが
最初のブロック(0N)の値となったら、最後のブロッ
クの同じ余り値の行のキャッシュアドレスの値とする。
FIG. 17 shows a flow chart for realizing such a retrieval process in the cache task. In step F101, the cache address Cid is obtained by calculating Cid = (N × cnt) + remainer (adrs ÷ N) based on the requested address (adrs). In the case of the above example, the cache address Cid = 33 is obtained by this processing. Then, through step F102, F1
03, the cache address Cid (Cid =
With reference to the cache management data for 33), it is confirmed whether the requested data (adrs = 25 in the above example) is stored. If the requested data does not exist, the process proceeds to step F104, and the value of the cache address Cid to be searched is set to Cid-N. In the above example,
The new cache address Cid becomes Cid = 25 due to 33-8 = 25, and steps F102 → F10.
3, the cache address Cid (Cid =
With reference to the cache management data of 25), it is confirmed whether the requested data (adrs = 25 in the above example) is stored. With this loop, for example ad
When data of rs = 25 is requested, each cell in the row having the remainder value “1” is sequentially searched forward. In step F104, when the cache address Cid reaches the value of the first block (0N), it is set to the value of the cache address of the row having the same remainder value in the last block.

【0127】ステップF103で要求データが発見され
た場合は、ステップF105に進み、キャッシュヒット
としてそのキャッシュアドレスCidを通知することに
なる。即ち図15の手順R23として、キャッシュアド
レスCidをファイルタスク(又はUSBタスク)に通
知する。
If the requested data is found in step F103, the flow advances to step F105 to notify the cache address Cid as a cache hit. That is, in step R23 of FIG. 15, the cache address Cid is notified to the file task (or USB task).

【0128】一方、ステップF103で要求データが発
見されないまま検索が続けられ、当該余り値の行を一周
した場合は、ステップF102からF106に進み、キ
ャッシュヒットしなかったとする。この場合図14に示
した処理が行われることになる。
On the other hand, if the search is continued without finding the requested data in step F103 and the line having the surplus value is circled, the process proceeds from step F102 to F106, and it is assumed that no cache hit occurs. In this case, the processing shown in FIG. 14 is performed.

【0129】ところで、このようなキャッシュ検索処理
によりからわかるように、N×Mのマトリクス状に扱っ
てキャッシュ制御を行う場合において、Nの値が大きい
ほど、キャッシュ検索処理は効率化できる。一方、図8
〜図10で説明したキャッシュ書込動作からわかるよう
に、本例のキャッシュ制御方式でキャッシュアドレスC
idが決定されると、Nの値が大きいほど、無効セルが
多く残される可能性が高くなる。つまり本例のキャッシ
ュ制御方式では、検索速度とメモリ利用効率(断片化抑
制率)がトレードオフの関係になっている。
By the way, as can be seen from the cache search process, the cache search process can be made more efficient as the value of N is larger in the case where the cache control is performed by treating it in an N × M matrix. On the other hand, FIG.
As can be seen from the cache write operation described with reference to FIG. 10, the cache control method of this example uses the cache address C
When the id is determined, the larger the value of N, the higher the possibility that more invalid cells are left. That is, in the cache control method of this example, the search speed and the memory utilization efficiency (fragmentation suppression rate) are in a trade-off relationship.

【0130】例えば図18に模式的に示すが、図18
(a)をN=8とした場合のマトリクスであるとした場
合に、図18(b)に示すようにN値を8より小さくし
た場合は、メモリ利用効率は向上できる。即ち平均的に
見て、書込時に空き状態で残されるセルが比較的少なく
なる。その一方で、横方向のセル数、即ちブロック数M
bが多くなり、同一の余り値となるアドレスの数が多く
なるため、検索時により多数のキャッシュアドレスCi
dの検索が必要となり、検索速度は低下する。一方、図
18(c)に示すようにN値を8より大きくした場合
は、横方向のセル数、即ちブロック数Mbが少なくな
り、同一の余り値となるアドレスの数が少なくなるた
め、検索時に検索するキャッシュアドレスCidの数が
減少され、検索速度は向上する。一方、平均的に見て、
書込時に空き状態で残されるセルが多くなり、メモリ利
用効率が低下してしまう。
For example, as schematically shown in FIG.
If (a) is a matrix with N = 8 and the N value is smaller than 8 as shown in FIG. 18 (b), the memory utilization efficiency can be improved. That is, on average, the number of cells left in an empty state during writing is relatively small. On the other hand, the number of cells in the horizontal direction, that is, the number of blocks M
Since b increases and the number of addresses having the same remainder value increases, a larger number of cache addresses Ci during search
The search of d becomes necessary, and the search speed decreases. On the other hand, when the N value is larger than 8 as shown in FIG. 18C, the number of cells in the horizontal direction, that is, the number of blocks Mb decreases, and the number of addresses having the same remainder value decreases. The number of cache addresses Cid that are sometimes searched is reduced, and the search speed is improved. On the other hand, on average,
Many cells are left in an empty state at the time of writing, and the memory utilization efficiency is reduced.

【0131】このような事情から、本例のキャッシュ制
御方式においてN値の設定は、その機器の使用態様、記
録媒体、扱うデータの種別などに応じて適切な値に設定
されるとよい。また、例えば使用状態やユーザー設定に
応じて、N値の設定が変化されるようにしてもよい。ま
た、動作状況に応じてN値が自動的に最適化制御される
ようにすれば、最も好ましいキャッシュ制御を実行でき
るものとなる。
Under these circumstances, in the cache control method of this example, the N value should be set to an appropriate value according to the usage mode of the device, the recording medium, the type of data to be handled, and the like. Further, for example, the setting of the N value may be changed according to the usage state or the user setting. Further, if the N value is automatically optimized and controlled according to the operating condition, the most preferable cache control can be executed.

【0132】6.ディスクに対する読出制御 本例ではキャッシュメモリ3については上述してきたよ
うにキャッシュアドレスCidの設定や検索が行われる
が、これ自体でAVデータ、PCデータの両方に対応す
るキャッシュ制御方式として好適なものとなる。即ち、
ネットワークやパーソナルコンピュータからAVデータ
をダウンロードしたり、AV機器としてAVデータを記
録再生する場合において、データの連続性を確保したバ
ッファリングを行うことができ、高速性能を実現でき
る。また、ディスク上のアドレスをN(所定値)で除し
たときの余りに対応する位置によりキャッシュメモリ検
索を行うことができるため効率的で迅速な検索が実現さ
れる。従ってPCデータの読み書きの場合の高速応答性
も確保できる。さらにハッシュアルゴリズムのような複
雑な演算を必要としないことからキャッシュ上のアドレ
ス割当の簡易性も実現でき、処理負担の軽減、ひいては
機器の低コスト化も促進できる。また、連続なアドレス
のデータに対して,キャッシュメモリ上でも連続性が確
保されるため、ディスクへの記録再生効率も向上でき、
アクセス回数が減ることで省電効果も見込まれる。
6. Disk Read Control In this example, the cache address Cid is set and searched for the cache memory 3 as described above, but it is suitable as a cache control method for both AV data and PC data. Become. That is,
When AV data is downloaded from a network or a personal computer, or AV data is recorded / reproduced as an AV device, data continuity can be buffered and high-speed performance can be realized. Further, since the cache memory can be searched by the position corresponding to the remainder when the address on the disk is divided by N (predetermined value), efficient and quick search is realized. Therefore, it is possible to secure high-speed response when reading and writing PC data. Furthermore, since complicated calculations such as a hash algorithm are not required, the address allocation on the cache can be simplified, the processing load can be reduced, and the cost of the device can be reduced. Further, since the continuity is ensured on the cache memory for the data of consecutive addresses, the recording / reproducing efficiency on the disk can be improved,
Power saving effect can be expected by reducing the number of access.

【0133】そして本例では、このような効果に加え
て、さらにディスク90に対する読出の動作制御を工夫
することで、ストレージ部2での効率的な動作を実現す
る。即ち、ファイルタスク(又はUSBタスク)からキ
ャッシュタスクに対して複数回にわたるキャッシュ読出
要求が連続して発行された場合に、キャッシュタスク
は、その各要求にかかるデータについての、ディスク9
0上のアドレスとしての離間状況を検出し、各データが
アドレス的に近いものである場合は、その各データ間の
不要データ(要求されていないデータ)を含めて連続し
たデータとして、継続的な1回のトレースでディスク9
0から読み出されるようにするものである。
In this example, in addition to such effects, the read operation control for the disk 90 is further devised to realize an efficient operation in the storage section 2. That is, when the file task (or USB task) issues a plurality of cache read requests to the cache task in succession, the cache task uses the disk 9 for the data related to each request.
If the separation status as the address on 0 is detected and each data is close in address, continuous data including unnecessary data (data not requested) between the data is continuously generated. Disk 9 for one trace
The data is read from 0.

【0134】図14の説明の際に付言したように、例え
ばファイルタスクは、或るキャッシュ読出要求に対して
キャッシュタスクが応答する前に次のキャッシュ読出要
求を発行する場合がある。なお、パーソナルコンピュー
タからのリード要求についても、このような連続的なリ
ード要求は可能とできるが、ここでの説明上ではファイ
ルタスクがキャッシュ読出要求を連続的に発行するもの
として述べる。キャッシュタスクは、連続的にキャッシ
ュ読出要求が発行された場合に、その各キャッシュ読出
要求の対象となっている各データについてのディスク上
のアドレス(adrs)及びデータ長(length)から、各デ
ータのディスク90上の離間状況を検出する。そして、
その検出結果に応じてドライブタスクに対するディスク
読出要求を発行するものである。
As added in the explanation of FIG. 14, for example, the file task may issue the next cache read request before the cache task responds to a certain cache read request. It should be noted that even with respect to read requests from a personal computer, such continuous read requests can be possible, but in the description here, it is assumed that the file task continuously issues cache read requests. When a cache read request is issued continuously, the cache task uses the address (adrs) and data length (length) on disk for each data that is the subject of each cache read request, The separation status on the disk 90 is detected. And
It issues a disk read request to the drive task according to the detection result.

【0135】このような本例の動作を図19で模式的に
説明する。今、ファイルタスクからのキャッシュ読出要
求として図19(a)に示すようにRQ1、RQ2・・
・・RQ7が連続的に発行されたとする。なお各キャッ
シュ読出要求RQ1、RQ2・・・・RQ7が発行され
る順序はどのような順序であってもかまわない。
The operation of this example will be schematically described with reference to FIG. Now, as the cache read request from the file task, as shown in FIG. 19A, RQ1, RQ2 ...
・ ・ It is assumed that RQ7 is issued continuously. The cache read requests RQ1, RQ2, ... RQ7 may be issued in any order.

【0136】図19(a)はディスク90上のアドレス
(adrs)として、各キャッシュ読出要求の対象となって
いるデータの位置を示している。例えばキャッシュ読出
要求RQ1は、アドレス(adrs)=A1とデータ長(le
ngth)により、図示するようにディスク90上でのアド
レス(adrs)=A1〜A2に記録されているデータを要
求したものであったとして示している。アドレス(adr
s)の進行方向はスパイラル状のトラックの線方向に相
当する。即ち光学ヘッド19によるトレース方向であ
る。
FIG. 19A shows, as addresses (adrs) on the disk 90, the position of data which is the target of each cache read request. For example, the cache read request RQ1 has an address (adrs) = A1 and a data length (le
ngth), it is shown that the data recorded at the address (adrs) = A1 to A2 on the disk 90 is requested as shown in the figure. Address (adr
The traveling direction of s) corresponds to the line direction of the spiral track. That is, it is the tracing direction by the optical head 19.

【0137】ここで、キャッシュ読出要求RQ1、RQ
2として求められたデータのディスク90上の状況を見
てみると、これら要求された各データの間に、要求され
ていないデータ(不要データ)としてアドレス(adrs)
A2〜A3の部分が存在する。同様に、キャッシュ読出
要求RQ2、RQ3で要求された各データの間にはアド
レス(adrs)A4〜A5の部分が、また、キャッシュ読
出要求RQ3、RQ4で要求された各データの間にはア
ドレス(adrs)A6〜A7の部分が、それぞれ不要デー
タとして存在する。このとき、これら不要データの部分
の長さ、つまり、要求された2つのデータの離間距離
(アドレス差)dsが、以下のように所定値dsthよ
り小さいものであったとする。 要求RQ1、RQ2にかかるデータの離間距離ds=A
3−A2<dsth 要求RQ2、RQ3にかかるデータの離間距離ds=A
5−A4<dsth 要求RQ3、RQ4にかかるデータの離間距離ds=A
7−A6<dsth
Here, the cache read requests RQ1, RQ
Looking at the situation on the disk 90 of the data obtained as 2, the address (adrs) is shown as unrequested data (unnecessary data) between each of these requested data.
There are portions A2 to A3. Similarly, between the data requested by the cache read requests RQ2 and RQ3, the address (adrs) A4 to A5 is provided, and between the data requested by the cache read requests RQ3 and RQ4, the address ( adrs) A6 to A7 exist as unnecessary data. At this time, it is assumed that the length of these unnecessary data portions, that is, the separation distance (address difference) ds between the two requested data pieces is smaller than the predetermined value dsth as follows. Data separation distance ds = A for requests RQ1 and RQ2
3-A2 <dsth Data separation distance ds = A for requests RQ2 and RQ3
5-A4 <dsth Data separation distance ds = A for request RQ3, RQ4
7-A6 <dsth

【0138】一方、キャッシュ読出要求RQ4、RQ5
で要求された各データの間としての不要データ部分であ
るアドレス(adrs)A8〜A9の長さは比較的長く、要
求RQ4、RQ5にかかるデータの離間距離ds=A9
−A8≧dsthであったとする。また、要求RQ5、
RQ6にかかるデータの離間距離dsについても、ds
=A11−A10≧dsthであったとする。
On the other hand, cache read requests RQ4 and RQ5
The length of the addresses (adrs) A8 to A9, which are unnecessary data portions between the data requested by the above, is relatively long, and the data separation distance ds = A9 related to the requests RQ4 and RQ5.
It is assumed that −A8 ≧ dsth. Also, the request RQ5,
Also regarding the separation distance ds of the data related to RQ6, ds
= A11−A10 ≧ dsth.

【0139】このような場合において、キャッシュタス
クは、離間距離dsが所定値dsthより小さい部分
は、不要データに関わらずディスク90からの読出を実
行するようにする。すなわちキャッシュタスクは図19
(b)に示すように、キャッシュ読出要求RQ1〜RQ
4を包含するディスク読出要求として、アドレスA1〜
A8の範囲のディスク読出を、ドライブタスクに要求
し、ストレージ部2にディスク読出を実行させ、キャッ
シュメモリ3に書き込ませるようにする。つまり各要求
にかかるデータ間の不要データを含んで、ディスク90
に対する光学ヘッド19の1回の継続的なトレースによ
り当該範囲のディスク読出を実行させる。例えば図19
において括弧内の数値としてクラスタサイズを示してい
るが、ディスク読出要求RQ1,RQ2,RQ3,RQ
4にかかるデータ長(length)がそれぞれ2クラスタ、
5クラスタ、3クラスタ、4クラスタであり、各間隙部
分の不要データが、それぞれ1クラスタの区間であった
とすると、ディスク読出要求は、これらをあわせた17
クラスタのデータを要求するものとなる。つまりアドレ
ス(adrs)=A1、データ長(length)=17クラスタ
としてのディスク読出要求を発行する。
In such a case, the cache task executes the reading from the disk 90 for the portion where the separation distance ds is smaller than the predetermined value dsth regardless of the unnecessary data. That is, the cache task is shown in FIG.
As shown in (b), cache read requests RQ1 to RQ
As a disk read request including 4 addresses, addresses A1 to
The drive task is requested to read the disk in the range of A8, and the storage unit 2 is caused to execute the disk reading and write it in the cache memory 3. In other words, the disc 90 including unnecessary data between the data for each request
A single continuous trace of the optical head 19 with respect to .gtoreq. For example, in FIG.
, The cluster size is shown as a numerical value in parentheses, but disk read requests RQ1, RQ2, RQ3, RQ
The data length for 4 is 2 clusters each,
Assuming that there are 5 clusters, 3 clusters, and 4 clusters, and the unnecessary data in each gap part is the interval of 1 cluster, the disk read request is 17
It will request data for the cluster. That is, a disk read request for address (adrs) = A1 and data length (length) = 17 clusters is issued.

【0140】一方、キャッシュ読出要求RQ5にかかる
データついては、他の要求(RQ4,RQ6)にかかる
データとの間の離間距離が所定値dsth以上であるこ
とから、当該キャッシュ読出要求RQ5に対しては独立
的に処理し、キャッシュタスクは図19(b)に示すよ
うに、ディスク読出要求として、アドレスA9〜A10
の範囲のディスク読出をドライブタスクに要求する。
On the other hand, with respect to the data related to the cache read request RQ5, since the separation distance from the data related to the other requests (RQ4, RQ6) is the predetermined value dsth or more, the data related to the cache read request RQ5 is As shown in FIG. 19B, the cache task is processed independently and addresses A9 to A10 are sent as disk read requests.
Requests the drive task to read the disk in the range.

【0141】キャッシュ読出要求RQ6,RQ7につい
ては、対象データの離間距離が所定値dsth未満であ
るため、キャッシュタスクは、キャッシュ読出要求RQ
6、RQ7を包含するディスク読出要求として、アドレ
スA11〜A14の範囲のディスク読出を、ドライブタ
スクに要求する。
With respect to the cache read requests RQ6 and RQ7, since the separation distance of the target data is less than the predetermined value dsth, the cache task requests the cache read request RQ.
As a disk read request including 6 and RQ7, the drive task is requested to read the disk in the range of addresses A11 to A14.

【0142】つまり本例では、キャッシュタスクは、複
数のキャッシュ読出要求に応じてディスク90から読み
出すべき複数のデータ間のディスクでの離間状況(アド
レス差)を検出する。そして、その検出結果に応じて、
アドレス差が所定値dsth未満であれば、複数のキャ
ッシュ読出要求を連結して1つのディスク読出要求を発
行することで、読み出すべき複数のデータと該各データ
の間の不要データを含めてディスク90からの読出が行
われるようにするものである。一方、アドレス差が所定
値dsth以上であれば、キャッシュ読出要求の連結は
行わずに、通常どおり、キャッシュ読出要求に応じたデ
ィスク読出要求を発行する。
In other words, in this example, the cache task detects a disk separation condition (address difference) between a plurality of data to be read from the disk 90 in response to a plurality of cache read requests. And, depending on the detection result,
If the address difference is less than the predetermined value dsth, a plurality of cache read requests are concatenated and one disk read request is issued, so that the disk 90 including a plurality of data to be read and unnecessary data between the respective data is included. The reading is performed from the. On the other hand, if the address difference is equal to or greater than the predetermined value dsth, the cache read requests are not concatenated, and the disk read request is issued in accordance with the cache read request as usual.

【0143】このような制御を実行するためのキャッシ
ュタスクの処理を図20に示す。この図20の処理は、
キャッシュ読出要求に対してキャッシュヒットしない場
合に図14の手順R22において実行する処理となる。
ステップF201として、或るキャッシュ読出要求に対
してキャッシュヒットされなかった場合、処理をステッ
プF202に進め、直後に次のキャッシュ読出要求が発
行されており、それもキャッシュヒットされなかったも
のであるか否かを判別する。なお、このステップF20
2の判断のためには、多少の時間を待機したうえで、フ
ァイルタスクから連続的に複数のキャッシュ読出要求が
発行されている状況であるかを判断するようにしてもよ
い。
FIG. 20 shows the processing of the cache task for executing such control. The process of FIG. 20 is
When no cache hit occurs with respect to the cache read request, the process is executed in step R22 of FIG.
In step F201, if there is no cache hit with respect to a certain cache read request, the process proceeds to step F202, and the next cache read request is issued immediately after that, and is this also a cache hit? Determine whether or not. Note that this step F20
For the determination of 2, it may be possible to wait for some time and then determine whether or not a plurality of cache read requests are continuously issued from the file task.

【0144】連続的な複数のキャッシュ読出要求でない
場合は、ステップF207に進み、当初のキャッシュ読
出要求に対応するディスク読出要求を発行する。この場
合連続する次の要求は発行しないため、処理を終えて待
機する(リターン)。つまり図14で説明した通常の処
理となる。一方、連続的な次のキャッシュ読出要求があ
り、それがキャッシュヒットしないものであったとき
は、ステップF203で、当初のキャッシュ読出要求に
かかるデータと、続くキャッシュ読出要求にかかるデー
タについてのディスク90上でのアドレス差dsを判別
する。そして、ステップF204で、アドレス差dsが
所定値dsth未満であるか否かを判別する。
If it is not a plurality of consecutive cache read requests, the flow advances to step F207 to issue a disk read request corresponding to the original cache read request. In this case, since the next consecutive request is not issued, the processing is terminated and the system stands by (return). That is, the normal processing described in FIG. 14 is performed. On the other hand, if there is a continuous next cache read request, and there is no cache hit, then in step F203, the disk 90 for the data relating to the initial cache read request and the data relating to the subsequent cache read request. The address difference ds above is determined. Then, in step F204, it is determined whether or not the address difference ds is less than the predetermined value dsth.

【0145】アドレス差dsが所定値dsth以上であ
った場合は、ステップF206に進んで、今回のディス
ク読出要求の後に、次のディスク読出要求として発行す
ることになるキャッシュ読出要求としてレジストしてお
く。そして、ステップF207で、今回のディスク読出
要求(当初のキャッシュ読出要求に対応するディスク読
出要求)を発行した後、次のディスク読出要求の実行が
レジストされていることからステップF208からF2
02に進み、さらに次のキャッシュ読出要求が発行され
ているかを確認する。発行されていなければ、ステップ
F207で、ディスク読出要求を発行する。例えば図1
9のキャッシュ読出要求RQ5に対応するディスク読出
要求は、このような処理で発行される。
If the address difference ds is greater than or equal to the predetermined value dsth, the flow advances to step F206 to register as a cache read request to be issued as the next disk read request after the current disk read request. . Then, in step F207, after the present disk read request (disk read request corresponding to the original cache read request) is issued, execution of the next disk read request is registered, so steps F208 to F2.
In step 02, it is confirmed whether the next cache read request has been issued. If not issued, a disk read request is issued in step F207. Figure 1
The disk read request corresponding to the cache read request RQ5 of No. 9 is issued by such processing.

【0146】上記ステップF204で、アドレス差ds
が所定値dsth未満と判別された場合は、ステップF
205に進んで、要求連結処理を行う。つまり、当初の
キャッシュ読出要求と、次のキャッシュ読出要求を、1
つのキャッシュ読出要求として連結する。そしてステッ
プF202に戻り、さらに次のキャッシュ読出要求が発
行されているかを確認する。図19のキャッシュ読出要
求RQ1,RQ2,RQ3,RQ4については、各キャ
ッシュ読出要求が順次ステップF205で連結されるこ
とになる。そして、他にキャッシュ読出要求が発生して
いないか、或いは他のキャッシュ読出要求が発生してい
ても、アドレス差が所定値dsth以上となっていた場
合は、それら連結されたキャッシュ読出要求より以前の
キャッシュ読出要求に対応するディスク読出要求の発行
を終えた後の、或る時点でステップF207に進むこと
になり、その場合、連結されたキャッシュ読出要求に対
応するディスク読出要求が発行される。例えば図19で
説明したようにキャッシュ読出要求RQ1,RQ2,R
Q3,RQ4に対応して、アドレス(adrs)=A1、デ
ータ長(length)=17クラスタとしてのディスク読出
要求が発行される。
In step F204, the address difference ds
Is determined to be less than the predetermined value dsth, step F
In step 205, the request concatenation process is performed. That is, the initial cache read request and the next cache read request are 1
Connect as one cache read request. Then, the process returns to step F202, and it is confirmed whether or not the next cache read request is issued. With respect to the cache read requests RQ1, RQ2, RQ3, RQ4 in FIG. 19, the cache read requests are sequentially linked in step F205. Then, if no other cache read request is generated, or if another cache read request is generated, but the address difference is equal to or greater than the predetermined value dsth, the cache read requests before the linked cache read requests are issued. After the issuance of the disk read request corresponding to the cache read request described above is completed, the process proceeds to step F207 at a certain point in time, in which case the disk read request corresponding to the linked cache read request is issued. For example, as described with reference to FIG. 19, cache read requests RQ1, RQ2, R
Corresponding to Q3 and RQ4, a disk read request for an address (adrs) = A1 and a data length (length) = 17 clusters is issued.

【0147】キャッシュタスクがこのような処理でディ
スク読出要求を発行してくることに対して、ドライブタ
スクはディスク読出要求に応じたデータ読出動作が行わ
れるようにストレージ部2を制御する。つまりディスク
読出要求で示されたアドレス(adrs)の位置に光学ヘッ
ド19をアクセスさせ、その地点からデータ長(lengt
h)で示される範囲の読出トレースを実行させる。従っ
て、上記のように連結処理されたキャッシュ読出要求に
対応するディスク読出要求が発行された場合は、不要デ
ータ部分を含んで継続的な読出トレースが行われる。
In response to the cache task issuing a disk read request by such processing, the drive task controls the storage unit 2 so that the data read operation according to the disk read request is performed. That is, the optical head 19 is accessed at the position of the address (adrs) indicated by the disk read request, and the data length (lengt
Execute the read trace in the range indicated by h). Therefore, when a disk read request corresponding to the cache read request that has been concatenated as described above is issued, continuous read trace is performed including the unnecessary data portion.

【0148】つまり本例の制御によれば、例えば図19
(a)のようにディスク90上の近傍のデータに対する
複数のキャッシュ読出要求に対して、ディスク読出動作
は1回のトレースでまとめて読出が行われるため、各キ
ャッシュ読出要求に個別に対応してディスクアクセス及
び読出トレースを行うことに比べて、非常にディスク読
出動作が効率化されることになる。特にディスク読出動
作においては、読出動作全体に要する時間の内でアクセ
スに要する時間は大きなものであり、多少の不要データ
部分を読み込んだとしてもアクセス回数が減少されるこ
とは、全体としての読出動作の著しい高速化を実現でき
るものである。またアクセス回数の減少、及び読出の効
率化によりストレージ部2での消費電力の削減効果も得
られる。
That is, according to the control of this example, for example, as shown in FIG.
For a plurality of cache read requests for data in the vicinity on the disk 90 as shown in (a), the disk read operation is collectively read in one trace, so that each cache read request is individually handled. Compared to performing the disk access and read trace, the disk read operation will be much more efficient. Particularly in the disk read operation, the time required for access is large out of the time required for the entire read operation, and the number of accesses is reduced even if some unnecessary data is read. That is, it is possible to realize a remarkably high speed. Moreover, the effect of reducing the power consumption in the storage unit 2 can be obtained by reducing the number of accesses and improving the efficiency of reading.

【0149】なお従って、所定値dsthについては、
アクセス時間と不要データの読込時間を勘案して設定さ
れればよいものである。つまり、不要データ部分を読み
込んでも、なおアクセスを実行するよりは時短化が実現
される境界的な時間に相当するアドレス差として所定値
dsthが決められればよい。
Therefore, for the predetermined value dsth,
It may be set in consideration of the access time and the reading time of unnecessary data. That is, even if the unnecessary data portion is read, the predetermined value dsth may be determined as an address difference corresponding to a boundary time at which time reduction is realized rather than execution of access.

【0150】また、不要データ部分が読み出されてキャ
ッシュメモリ3に書き込まれることになるが、これは必
ずしも無駄な動作とはならない。即ち、この場合読み出
される不要データ部分は、要求された複数のデータの近
傍のデータである。これは不要データ部分は、後にキャ
ッシュ読出要求の対象データとなる可能性が高い。そし
て、そのようなキャッシュ読出要求が後に発行された場
合、既に対象のデータはキャッシュメモリ3に記憶され
ているため、図15で説明したキャッシュヒットにより
処理できる。つまりキャッシュ応答性の向上効果も得ら
れるものである。
Further, although the unnecessary data portion is read and written in the cache memory 3, this is not necessarily a wasteful operation. That is, the unnecessary data portion read in this case is data in the vicinity of the requested plurality of data. This is because the unnecessary data portion is likely to be the target data of the cache read request later. Then, when such a cache read request is issued later, the target data is already stored in the cache memory 3, so that it can be processed by the cache hit described in FIG. That is, the effect of improving the cache responsiveness can also be obtained.

【0151】以上、記録再生装置1及びパーソナルコン
ピュータ100等による構成によって、本発明の記憶装
置、再生装置、情報記憶システム、記憶方法としての実
施の形態を説明してきたが、本発明の記憶装置、再生装
置、情報記憶システム、記憶方法の具体的な処理手順等
は上記例に限定されず、各種の変形例が考えられる。
Although the embodiments of the storage device, the reproduction device, the information storage system, and the storage method of the present invention have been described above with the configuration of the recording / reproduction device 1 and the personal computer 100, the storage device of the present invention, The specific processing procedure of the reproducing device, the information storage system, the storage method, etc. is not limited to the above example, and various modifications can be considered.

【0152】また本発明のプログラムは、記憶装置、再
生装置、情報記憶システムにおいて上記してきた記憶方
法の動作を実行させるためのプログラムであり、該プロ
グラムにより本発明の記憶装置、再生装置、情報記憶シ
ステムを実現できるものである。さらに、そのような本
発明のプログラムが記録された本発明の記録媒体によれ
ば、本発明を実現するプログラムの提供が容易となり、
装置設計やシステム構築に好適である。該プログラムを
記録する記録媒体は、CD方式、DVD方式、MD方式
の光ディスク、光磁気ディスクや、フレキシブルディス
クのような磁気ディスク、さらにはHDD(ハードディ
スクドライブ)や、固体メモリを用いたメモリカードな
どにより実現できる。
The program of the present invention is a program for causing the storage device, the reproduction device, and the information storage system to execute the operation of the storage method described above, and the program causes the storage device, the reproduction device, and the information storage of the present invention to be executed. The system can be realized. Furthermore, according to the recording medium of the present invention in which the program of the present invention is recorded, it becomes easy to provide the program for realizing the present invention,
It is suitable for equipment design and system construction. A recording medium for recording the program is a CD type, a DVD type, an MD type optical disc, a magneto-optical disc, a magnetic disc such as a flexible disc, an HDD (hard disk drive), a memory card using a solid-state memory, or the like. Can be realized by

【0153】[0153]

【発明の効果】以上の説明から理解されるように本発明
によれば、キャッシュメモリ側に対しての複数回の読出
要求に対応して、記録媒体(ディスク)から読み出され
る情報を一時記憶手段(キャッシュメモリ)に一時記憶
させる際に、その複数の要求に応じて記録媒体から読み
出すべき複数の情報についての記録媒体上での離間状況
を検出する。例えばディスク上でのアドレス差が所定値
以下であるか否かを検出する。そして複数の情報の離間
が物理的に小さいときには、その離間部分の不要データ
を含めた1回の連続的な読出トレースにより、ディスク
からの読出を行うようにする。つまり必要とされる複数
の情報の読出が、ディスク記録媒体のトラックに対する
読出トレースがトラックアクセスにより中断されること
のない動作として実行できるようにしている。従って、
ディスク等の記録媒体に対して効率的な読出動作が実現
できるという効果がある。またそれによってディスク上
でのトラックアクセス回数も減るため、同時間の短縮及
び省電効果が得られる。さらに、不要データは、要求さ
れた必要なデータの近傍のデータであるため、後にその
不要データの要求が発生することも見込まれる。その場
合は既にキャッシュメモリに記憶済であるためキャッシ
ュヒットで対応できることになり、要求に対する応答性
も向上する。これらのことから情報ストレージシステム
としての性能を向上できる。
As can be understood from the above description, according to the present invention, information read from a recording medium (disk) is temporarily stored in response to a plurality of read requests to the cache memory side. When temporarily storing in the (cache memory), the separation state on the recording medium of the plurality of information to be read from the recording medium in response to the plurality of requests is detected. For example, it is detected whether the address difference on the disc is less than or equal to a predetermined value. When the distance between the plurality of pieces of information is physically small, the disk is read by one continuous read trace including unnecessary data in the separated portion. In other words, the required plural pieces of information can be read out as an operation in which the read trace for the track of the disk recording medium is not interrupted by the track access. Therefore,
There is an effect that an efficient read operation can be realized for a recording medium such as a disk. Further, since the number of track accesses on the disk is also reduced, the simultaneous shortening and the power saving effect can be obtained. Further, since the unnecessary data is data in the vicinity of the requested necessary data, it is expected that the unnecessary data will be requested later. In that case, since it is already stored in the cache memory, it can be dealt with by a cache hit, and the responsiveness to the request is also improved. Therefore, the performance of the information storage system can be improved.

【0154】また本発明のプログラム、又はそのプログ
ラムを記録した記録媒体によれば、上記の効果を実現す
るキャッシュ制御を行う記憶装置、情報記憶システム、
記録及び/又は再生装置を容易に実現することができ
る。
Further, according to the program of the present invention, or the recording medium recording the program, a storage device, an information storage system, which performs cache control for realizing the above effects,
The recording and / or reproducing apparatus can be easily realized.

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

【図1】本発明の実施の形態の記録再生装置のブロック
図である。
FIG. 1 is a block diagram of a recording / reproducing apparatus according to an embodiment of the present invention.

【図2】実施の形態のディスクのフォーマットの説明図
である。
FIG. 2 is an explanatory diagram of a disk format according to the embodiment.

【図3】実施の形態のディスクのエリア構造の説明図で
ある。
FIG. 3 is an explanatory diagram of an area structure of the disc according to the embodiment.

【図4】実施の形態のディスクの管理構造の説明図であ
る。
FIG. 4 is an explanatory diagram of a disc management structure according to the embodiment.

【図5】実施の形態の記録再生装置のストレージ部のブ
ロック図である。
FIG. 5 is a block diagram of a storage unit of the recording / reproducing apparatus of the embodiment.

【図6】実施の形態のキャッシュ制御方式の説明図であ
る。
FIG. 6 is an explanatory diagram of a cache control method according to the embodiment.

【図7】実施の形態のキャッシュIDの説明図である。FIG. 7 is an explanatory diagram of a cache ID according to the embodiment.

【図8】実施の形態のキャッシュへのデータ書込動作の
説明図である。
FIG. 8 is an explanatory diagram of a data write operation to a cache according to the embodiment.

【図9】実施の形態のキャッシュへのデータ書込動作の
説明図である。
FIG. 9 is an explanatory diagram of a data write operation to the cache according to the embodiment.

【図10】実施の形態のキャッシュへのデータ書込動作
の説明図である。
FIG. 10 is an explanatory diagram of a data write operation to the cache according to the embodiment.

【図11】実施の形態のキャッシュへのデータ書込動作
の説明図である。
FIG. 11 is an explanatory diagram of a data write operation to the cache according to the embodiment.

【図12】実施の形態のキャッシュ管理データの説明図
である。
FIG. 12 is an explanatory diagram of cache management data according to the embodiment.

【図13】実施の形態のディスクライト時の動作の説明
図である。
FIG. 13 is an explanatory diagram of an operation at the time of disc writing according to the embodiment.

【図14】実施の形態のディスクリード時の動作の説明
図である。
FIG. 14 is an explanatory diagram of an operation when reading a disc according to the embodiment.

【図15】実施の形態のディスクリード時のキャッシュ
ヒットの場合の動作の説明図である。
FIG. 15 is an explanatory diagram of an operation in the case of a cache hit at the time of disk read according to the embodiment.

【図16】実施の形態のキャッシュ検索処理の説明図で
ある。
FIG. 16 is an explanatory diagram of cache search processing according to the embodiment.

【図17】実施の形態のキャッシュ検索処理のフローチ
ャートである。
FIG. 17 is a flowchart of cache search processing according to the embodiment.

【図18】実施の形態のキャッシュ制御の分割単位の説
明図である。
FIG. 18 is an explanatory diagram of a division unit of cache control according to the embodiment.

【図19】実施の形態のディスクに対するデータ読出動
作の説明図である。
FIG. 19 is an explanatory diagram of a data read operation for the disc of the embodiment.

【図20】実施の形態のキャッシュタスクのディスク読
出要求処理のフローチャートである。
FIG. 20 is a flowchart of disk read request processing of the cache task according to the embodiment.

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

1 記録再生装置、2 ストレージ部、3 キャッシュ
メモリ、4 USBインターフェース、5 入出力処理
部、6 表示部、7 操作部、8 システムコントロー
ラ、9 ROM、10 RAM、11 キャッシュ管理
メモリ、12NV−RAM、100 パーソナルコンピ
ュータ/ネットワーク
1 recording / reproducing apparatus, 2 storage section, 3 cache memory, 4 USB interface, 5 input / output processing section, 6 display section, 7 operation section, 8 system controller, 9 ROM, 10 RAM, 11 cache management memory, 12 NV-RAM, 100 Personal Computer / Network

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高井 基行 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5B082 FA12 JA12 5D044 AB01 BC04 BC06 CC06 DE33 DE37 DE91 EF03 FG10 FG19 HH07    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Motoyuki Takai             6-735 Kita-Shinagawa, Shinagawa-ku, Tokyo Soni             -Inside the corporation F term (reference) 5B082 FA12 JA12                 5D044 AB01 BC04 BC06 CC06 DE33                       DE37 DE91 EF03 FG10 FG19                       HH07

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体から読み出される情報を一時記
憶する一時記憶手段と、 上記記録媒体に対する情報の読出動作の実行を制御する
読出制御手段と、 複数の要求に応じて上記記録媒体から読み出すべき複数
の情報についての上記記録媒体上での離間状況を検出す
る検出手段と、 上記検出手段の検出結果に応じて、上記読み出すべき複
数の情報と該各情報の間の不要情報を含めて、上記読出
制御手段に対し、上記記録媒体からの情報読出及び上記
一時記憶手段への一時記憶を指示する一時記憶制御手段
と、 を備えることを特徴とする記憶装置。
1. A temporary storage unit for temporarily storing information read from a recording medium, a read control unit for controlling execution of a read operation of information on the recording medium, and a read unit for reading from the recording medium in response to a plurality of requests. Detecting means for detecting a separation state of the plurality of information on the recording medium; and a plurality of pieces of information to be read and unnecessary information between the pieces of information, in accordance with a detection result of the detecting means. A storage device, comprising: a temporary storage control unit that instructs the read control unit to read information from the recording medium and temporarily store the information in the temporary storage unit.
【請求項2】 上記一時記憶制御手段は、上記読み出す
べき複数の情報の離間状況として、上記記録媒体上のア
ドレス差が所定値以下であることが上記検出手段に検出
されたとき、上記読み出すべき複数の情報と該各情報の
間の不要情報を含めて、上記読出制御手段に対し、上記
記録媒体からの情報読出及び上記一時記憶手段への一時
記憶を指示することを特徴とする請求項1に記載の記憶
装置。
2. The temporary storage control means should read out when the detecting means detects that the address difference on the recording medium is less than or equal to a predetermined value as the separation status of the plurality of pieces of information to be read out. 2. The read control means is instructed to read information from the recording medium and temporarily store the information in the temporary storage means, including a plurality of pieces of information and unnecessary information between the pieces of information. Storage device according to.
【請求項3】 上記記録媒体はディスク記録媒体であ
り、 上記読出制御手段は、上記一時記憶制御手段からの上記
複数の情報と上記不要情報を含む読出指示に対応して、
上記ディスク記録媒体のトラックに対する読出トレース
がトラックアクセスにより中断されることのない読出動
作として実行されるように制御することを特徴とする請
求項1に記載の記憶装置。
3. The recording medium is a disk recording medium, and the read control means responds to a read instruction including the plurality of information and the unnecessary information from the temporary storage control means.
2. The storage device according to claim 1, wherein a read trace for a track of the disk recording medium is controlled to be executed as a read operation that is not interrupted by a track access.
【請求項4】 記録媒体に対して情報の読出を行う読出
手段と、 上記読出手段によって上記記録媒体から読み出される情
報を一時記憶する一時記憶手段と、 上記読出手段による上記記録媒体に対する情報の読出動
作の実行を制御する読出制御手段と、 複数の要求に応じて上記記録媒体から読み出すべき複数
の情報についての上記記録媒体上での離間状況を検出す
る検出手段と、 上記検出手段の検出結果に応じて、上記読み出すべき複
数の情報と該各情報の間の不要情報を含めて、上記読出
制御手段に対し、上記記録媒体からの情報読出及び上記
一時記憶手段への一時記憶を指示する一時記憶制御手段
と、 を備えることを特徴とする再生装置。
4. A reading means for reading information from a recording medium, a temporary storage means for temporarily storing information read from the recording medium by the reading means, and a reading of information from the recording medium by the reading means. Read control means for controlling the execution of the operation; detecting means for detecting a separation state on the recording medium of a plurality of information to be read from the recording medium in response to a plurality of requests; and detection results of the detecting means. Accordingly, temporary storage for instructing the read control means to read information from the recording medium and temporarily store it in the temporary storage means, including the plurality of pieces of information to be read and unnecessary information between the pieces of information. A playback device comprising: a control unit.
【請求項5】 上記一時記憶制御手段は、上記読み出す
べき複数の情報の離間状況として、上記記録媒体上のア
ドレス差が所定値以下であることが上記検出手段に検出
されたとき、上記読み出すべき複数の情報と該各情報の
間の不要情報を含めて、上記読出制御手段に対し、上記
記録媒体からの情報読出及び上記一時記憶手段への一時
記憶を指示することを特徴とする請求項4に記載の再生
装置。
5. The temporary storage control means should be read when the detection means detects that the address difference on the recording medium is equal to or less than a predetermined value as the separation state of the plurality of pieces of information to be read. 5. The read control means is instructed to read information from the recording medium and temporarily store the information in the temporary storage means, including a plurality of pieces of information and unnecessary information between the pieces of information. The playback device according to 1.
【請求項6】 上記記録媒体はディスク記録媒体であ
り、 上記読出制御手段は、上記一時記憶制御手段からの上記
複数の情報と上記不要情報を含む読出指示に対応して、
上記ディスク記録媒体のトラックに対する読出トレース
がトラックアクセスにより中断されることのない読出動
作として実行されるように制御することを特徴とする請
求項4に記載の再生装置。
6. The recording medium is a disk recording medium, and the read control means responds to a read instruction including the plurality of information and the unnecessary information from the temporary storage control means.
5. The reproducing apparatus according to claim 4, wherein the read trace for the track of the disk recording medium is controlled so as to be executed as a read operation which is not interrupted by the track access.
【請求項7】 記録媒体から読み出される情報を一時記
憶する一時記憶手段と、 上記記録媒体に対する情報の読出動作の実行を制御する
読出制御手段と、 複数の要求に応じて上記記録媒体から読み出すべき複数
の情報についての上記記録媒体上での離間状況を検出す
る検出手段と、 上記検出手段の検出結果に応じて、上記読み出すべき複
数の情報と該各情報の間の不要情報を含めて、上記読出
制御手段に対し、上記記録媒体からの情報読出及び上記
一時記憶手段への一時記憶を指示する一時記憶制御手段
と、 上記記録媒体に対する情報の読出のために、上記記録媒
体に対するアクセス位置を示すアドレスを、上記一時記
憶制御手段に通知する読出要求手段と、 を備えることを特徴とする情報記憶システム。
7. A temporary storage means for temporarily storing information read from a recording medium, a read control means for controlling execution of a read operation of information on the recording medium, and a read control means for reading from the recording medium in response to a plurality of requests. Detecting means for detecting a separation state of the plurality of information on the recording medium; and a plurality of pieces of information to be read and unnecessary information between the pieces of information, in accordance with a detection result of the detecting means. Temporary storage control means for instructing the reading control means to read information from the recording medium and temporarily store in the temporary storage means, and an access position to the recording medium for reading information from the recording medium are shown. An information storage system, comprising: a read request unit that notifies the temporary storage control unit of an address.
【請求項8】 上記一時記憶制御手段は、上記読み出す
べき複数の情報の離間状況として、上記記録媒体上のア
ドレス差が所定値以下であることが上記検出手段に検出
されたとき、上記読み出すべき複数の情報と該各情報の
間の不要情報を含めて、上記読出制御手段に対し、上記
記録媒体からの情報読出及び上記一時記憶手段への一時
記憶を指示することを特徴とする請求項7に記載の情報
記憶システム。
8. The temporary storage control means should read the information when the detection means detects that the address difference on the recording medium is equal to or less than a predetermined value as the separation status of the plurality of pieces of information to be read. 8. The read control means is instructed to read information from the recording medium and temporarily store the information in the temporary storage means, including a plurality of pieces of information and unnecessary information between the pieces of information. Information storage system described in.
【請求項9】 上記記録媒体はディスク記録媒体であ
り、 上記読出制御手段は、上記一時記憶制御手段からの上記
複数の情報と上記不要情報を含む読出指示に対応して、
上記ディスク記録媒体のトラックに対する読出トレース
がトラックアクセスにより中断されることのない読出動
作として実行されるように制御することを特徴とする請
求項7に記載の情報記憶システム。
9. The recording medium is a disk recording medium, and the read control means responds to a read instruction including the plurality of information and the unnecessary information from the temporary storage control means.
8. The information storage system according to claim 7, wherein the read trace for the track of the disk recording medium is controlled to be executed as a read operation which is not interrupted by the track access.
【請求項10】 記録媒体から情報を読み出して一時記
憶手段に一時記憶する際に、複数の要求に応じて上記記
録媒体から読み出すべき複数の情報についての上記記録
媒体上での離間状況を検出し、その検出結果に応じて、
上記読み出すべき複数の情報と該各情報の間の不要情報
を含めて、上記記録媒体からの情報読出及び上記一時記
憶手段への一時記憶を行うことを特徴とする記憶方法。
10. When the information is read from the recording medium and temporarily stored in the temporary storage means, the separation state of the plurality of information to be read from the recording medium on the recording medium is detected in response to the plurality of requests. , Depending on the detection result,
A storage method, characterized in that the plurality of pieces of information to be read and unnecessary information between the pieces of information are read from the recording medium and temporarily stored in the temporary storage means.
【請求項11】 上記読み出すべき複数の情報の離間状
況として、上記記録媒体上のアドレス差が所定値以下で
あることが検出されたとき、上記読み出すべき複数の情
報と該各情報の間の不要情報を含めて、上記記録媒体か
らの情報読出及び上記一時記憶手段への一時記憶を行う
ことを特徴とする請求項10に記載の記憶方法。
11. When it is detected that the address difference on the recording medium is equal to or less than a predetermined value as the separation status of the plurality of pieces of information to be read, unnecessary information between the plurality of pieces of information to be read and the respective pieces of information is unnecessary. 11. The storage method according to claim 10, wherein information including information is read from the recording medium and temporarily stored in the temporary storage means.
【請求項12】 上記記録媒体はディスク記録媒体であ
り、 上記複数の情報と上記不要情報を含む読出の際には、上
記ディスク記録媒体のトラックに対する読出トレースが
トラックアクセスにより中断されることのない読出動作
として実行されるようにすることを特徴とする請求項1
0に記載の記憶方法。
12. The recording medium is a disk recording medium, and during reading including the plurality of pieces of information and the unnecessary information, a read trace with respect to a track of the disk recording medium is not interrupted by track access. 2. The read operation is executed as a read operation.
0 storage method.
【請求項13】 記録媒体から情報を読み出して一時記
憶手段に一時記憶する際に、複数の要求に応じて上記記
録媒体から読み出すべき複数の情報についての上記記録
媒体上での離間状況を検出し、その検出結果に応じて、
上記読み出すべき複数の情報と該各情報の間の不要情報
を含めて、上記記録媒体からの情報読出及び上記一時記
憶手段への一時記憶を実行させるようにするプログラ
ム。
13. When the information is read from the recording medium and temporarily stored in the temporary storage means, the separation status of the plurality of information to be read from the recording medium on the recording medium is detected in response to the plurality of requests. , Depending on the detection result,
A program for executing information reading from the recording medium and temporary storage in the temporary storage unit, including the plurality of pieces of information to be read and unnecessary information between the pieces of information.
【請求項14】 上記読み出すべき複数の情報の離間状
況として、上記記録媒体上のアドレス差が所定値以下で
あることが検出されたとき、上記読み出すべき複数の情
報と該各情報の間の不要情報を含めて、上記記録媒体か
らの情報読出及び上記一時記憶手段への一時記憶を実行
させるようにする請求項13に記載のプログラム。
14. When it is detected that the address difference on the recording medium is less than or equal to a predetermined value as the separation status of the plurality of pieces of information to be read, it is unnecessary to provide the plurality of pieces of information to be read and each piece of the information. 14. The program according to claim 13, wherein the program including information is read out from the recording medium and temporarily stored in the temporary storage means.
【請求項15】 上記記録媒体はディスク記録媒体であ
り、 上記複数の情報と上記不要情報を含む読出の際には、上
記ディスク記録媒体のトラックに対する読出トレースが
トラックアクセスにより中断されることのない読出動作
として実行されるようにする請求項13に記載のプログ
ラム。
15. The recording medium is a disk recording medium, and during reading including the plurality of pieces of information and the unnecessary information, a read trace with respect to a track of the disk recording medium is not interrupted by track access. The program according to claim 13, which is executed as a read operation.
【請求項16】 記録媒体から情報を読み出して一時記
憶手段に一時記憶する際に、複数の要求に応じて上記記
録媒体から読み出すべき複数の情報についての上記記録
媒体上での離間状況を検出し、その検出結果に応じて、
上記読み出すべき複数の情報と該各情報の間の不要情報
を含めて、上記記録媒体からの情報読出及び上記一時記
憶手段への一時記憶を実行させるプログラムを記録した
記録媒体。
16. When the information is read from the recording medium and temporarily stored in the temporary storage means, the separation status of the plurality of information to be read from the recording medium on the recording medium is detected in response to the plurality of requests. , Depending on the detection result,
A recording medium having recorded therein a program for executing information reading from the recording medium and temporary storage in the temporary storage unit, including the plurality of pieces of information to be read and unnecessary information between the pieces of information.
【請求項17】 上記プログラムは、上記読み出すべき
複数の情報の離間状況として、上記記録媒体上のアドレ
ス差が所定値以下であることが検出されたとき、上記読
み出すべき複数の情報と該各情報の間の不要情報を含め
て、上記記録媒体からの情報読出及び上記一時記憶手段
への一時記憶を実行させるようにするものであることを
特徴とする請求項16に記載の記録媒体。
17. The program, when the address difference on the recording medium is detected to be equal to or less than a predetermined value as the separation status of the plurality of pieces of information to be read, the program and the plurality of pieces of information to be read. 17. The recording medium according to claim 16, wherein the information reading from the recording medium and the temporary storage in the temporary storage means are executed including unnecessary information between the two.
【請求項18】 上記記録媒体はディスク記録媒体であ
り、 上記プログラムは、上記複数の情報と上記不要情報を含
む読出の際には、上記ディスク記録媒体のトラックに対
する読出トレースがトラックアクセスにより中断される
ことのない読出動作として実行されるようにするもので
あることを特徴とする請求項16に記載の記録媒体。
18. The recording medium is a disk recording medium, and when the program includes the plurality of pieces of information and the unnecessary information, a read trace for a track of the disk recording medium is interrupted by a track access at the time of reading. The recording medium according to claim 16, wherein the recording medium is adapted to be executed as a read operation that does not occur.
JP2002142715A 2002-05-17 2002-05-17 Storage device, reproducing device, information storage system, storage method, program, and recording medium Pending JP2003338131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002142715A JP2003338131A (en) 2002-05-17 2002-05-17 Storage device, reproducing device, information storage system, storage method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002142715A JP2003338131A (en) 2002-05-17 2002-05-17 Storage device, reproducing device, information storage system, storage method, program, and recording medium

Publications (1)

Publication Number Publication Date
JP2003338131A true JP2003338131A (en) 2003-11-28

Family

ID=29702922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002142715A Pending JP2003338131A (en) 2002-05-17 2002-05-17 Storage device, reproducing device, information storage system, storage method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP2003338131A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011751A (en) * 2004-06-24 2006-01-12 Sony Corp Information storage apparatus, control method thereof, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011751A (en) * 2004-06-24 2006-01-12 Sony Corp Information storage apparatus, control method thereof, and computer program

Similar Documents

Publication Publication Date Title
US5802028A (en) Method of data management using recorded flags to discriminate used allocation blocks and unwritten allocation blocks
US7706229B2 (en) Recording medium having different areas recorded with different modulation methods, recording apparatus, reproducing apparatus, recording method, and reproducing method
JP4007177B2 (en) Data editing method and data editing device
JP2003330797A (en) Storage device, recording and/or reproduction device, information storage system, storage method, program and recording medium
JP3888353B2 (en) Data editing apparatus and data editing method
JP2003338131A (en) Storage device, reproducing device, information storage system, storage method, program, and recording medium
JP2003338130A (en) Storage device, recording and/or reproducing device, information storage system, write/read method, program and recording medium
JP2003330798A (en) Storage device, recording and/or reproduction device, information storage system, storage method, program and recording medium
JP4292988B2 (en) Recording apparatus and method
JP2003330796A (en) Storage device, recording and/or reproduction device, information storage system, storage method, program and recording medium
US8069158B2 (en) Receiving apparatus, receiving method, receiving program, recording medium, and receiving system
JP4269841B2 (en) Recording apparatus and method
JP2006040408A (en) Information processor and its setting method
JP4345475B2 (en) Disc playback apparatus and method
JP2005228380A (en) Reproducing device
JP4158699B2 (en) Recording / reproducing apparatus and method
JP2005038532A (en) Memory control device and method, and reproducing device and method
JP2005190569A (en) Disk reproducing device and method
JP2005196882A (en) Disk type recording medium, data recording apparatus, data recording method, data reproducing apparatus, and data reproducing method
JP2005196850A (en) Data recording and reproducing apparatus and data recording and reproducing method
JP2005032397A (en) Data write-read device, reproducing device and method therefor
JPH06243578A (en) Disk device
JP2005216439A (en) Reproducing apparatus and method
JP2005302072A (en) Recording/reproducing device and management information readout method
JP2005196880A (en) Data reproducing apparatus and data reproducing method