JP2005316835A - Recording device and method - Google Patents

Recording device and method Download PDF

Info

Publication number
JP2005316835A
JP2005316835A JP2004135611A JP2004135611A JP2005316835A JP 2005316835 A JP2005316835 A JP 2005316835A JP 2004135611 A JP2004135611 A JP 2004135611A JP 2004135611 A JP2004135611 A JP 2004135611A JP 2005316835 A JP2005316835 A JP 2005316835A
Authority
JP
Japan
Prior art keywords
data
recording
cache
storage area
disk
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
JP2004135611A
Other languages
Japanese (ja)
Inventor
Shunsuke Kudo
俊介 工藤
Shuji Horikawa
修司 堀川
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 JP2004135611A priority Critical patent/JP2005316835A/en
Publication of JP2005316835A publication Critical patent/JP2005316835A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recording device and a recording method which allow a data transfer rate as a storage device to be improved. <P>SOLUTION: In the recording device and the recording method wherein data transferred from an external apparatus per first data unit are temporarily stored in a temporary storage means, read out from the temporary storage means per second data unit and recorded in a recording medium, a frequency in access from the external apparatus to each storage area of the temporary storage means is detected, and data held in storage areas to which the frequencies in access are lower than a prescribed threshold are recorded in the recording medium preferentially to data held in storage areas to which the frequencies in access are equal to or higher than the threshold. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、記録装置及び方法に関し、特に外部機器から与えられるデータをバッファリングするためのキャッシュメモリを有する記録再生装置に適用して好適なものである。   The present invention relates to a recording apparatus and method, and is particularly suitable when applied to a recording / reproducing apparatus having a cache memory for buffering data provided from an external device.

近年、CD(Compact Disc)、MD(Mini Disc)、DVD(Digital Versatile Disc)及びブルーレイディスク(Blue-Ray Disc)などの種々のディスクメディアが開発され、オーディオデータや、ビデオデータ又はその他のコンピュータデータなどの記録媒体として広く普及している。   In recent years, various disc media such as CD (Compact Disc), MD (Mini Disc), DVD (Digital Versatile Disc), and Blu-ray Disc (Blue-Ray Disc) have been developed, and audio data, video data, or other computer data. Are widely used as recording media.

これらディスクメディアに対応する記録再生装置としては、例えば単体の機器として用いられ、CDやMD等に対してオーディオデータ等を記録再生する装置や、コンピュータ周辺機器としてパーソナルコンピュータ等のホスト機器に接続され、ホスト機器からのコマンドに応じて各種データの記録再生を行うストレージ機器が知られている。   As a recording / playback apparatus corresponding to these disk media, for example, it is used as a single device, and is connected to a host device such as a personal computer as a computer peripheral device or a device that records and plays back audio data etc. with respect to a CD or MD. A storage device that records and reproduces various data in response to a command from a host device is known.

さらに近年に至っては、単体としてもコンピュータ周辺機器としても使用できる記録再生装置が本願特許出願人により開発されている(例えば特許文献1参照)。この記録再生装置は、MDを記録媒体とするもので、単体でMDプレーヤとして利用でき、ホスト機器と接続することでデータストレージ機器としても利用できるものである。
特開2003−100018公報
In recent years, a recording / reproducing apparatus that can be used alone or as a computer peripheral device has been developed by the present applicant (see, for example, Patent Document 1). This recording / reproducing apparatus uses an MD as a recording medium, can be used alone as an MD player, and can also be used as a data storage device by connecting to a host device.
JP 2003-100018 A

ところで、一般的にディスクメディアを記録媒体とするコンピュータのデータストレージ機器においては、コンピュータから転送されるデータをバッファリングするためのキャッシュメモリがその内部に設けられ、かかるコンピュータからのデータをこのキャッシュメモリに一旦蓄積してから、その後所定のタイミングでディスクメディアに記録する手法が採用されている。   By the way, generally, in a data storage device of a computer using a disk medium as a recording medium, a cache memory for buffering data transferred from the computer is provided therein, and the data from the computer is stored in the cache memory. In this case, a method is used in which the data is once stored in the disk medium and then recorded on the disk medium at a predetermined timing.

この場合において、パーソナルコンピュータからストレージ機器に対して与えられるデータの書込み要求はセクタ単位であるのに対し、キャッシュメモリにおけるデータの管理は、ディスクメディアに対する最小書込み単位であるクラスタ単位で行われる。   In this case, the data write request given from the personal computer to the storage device is in units of sectors, whereas the data management in the cache memory is performed in units of clusters, which is the minimum unit for writing to the disk media.

このためストレージ機器においては、あるクラスタのデータをキャッシュメモリからディスクメディアに記録中に再びコンピュータから同じクラスタへの書込み要求が与えられた場合、キャッシュメモリ上で中途半端に上書きされたデータがディスクメディアに記録されるのを避けるため、現在ディスクメディアに記録中のデータの記録処理が完了するまで、パーソナルコンピュータからのデータ転送を待たせるという動作仕様が採用される場合が多い。   For this reason, in a storage device, if a computer receives a write request to the same cluster again while recording data from a cache memory to the disk media, the data overwritten halfway on the cache memory In order to avoid data recording, an operation specification is often employed in which data transfer from a personal computer is waited until recording processing of data currently being recorded on a disk medium is completed.

しかしながら、キャッシュメモリからディスクメディアへのデータの記録速度が遅いストレージ機器においては、この待ち時間がストレージデバイスとしてのデータ転送速度を大きく下げる要因となっており、このためこのような待ち時間の発生を防止し得る何らかの改善が望まれている。   However, in storage devices where the recording speed of data from cache memory to disk media is slow, this waiting time is a factor that greatly reduces the data transfer speed as a storage device. Some improvement that can be prevented is desired.

本発明は以上の点を考慮してなされたもので、ストレージデバイスとしてのデータ転送速度を向上させ得る記録装置及び方法を提案しようとするものである。   The present invention has been made in consideration of the above points, and intends to propose a recording apparatus and method capable of improving the data transfer speed as a storage device.

かかる課題を解決するため本発明においては、外部機器から第1のデータ単位で転送されるデータを一時記憶手段に一時記憶し、当該データを第2のデータ単位で一時記憶手段から読み出して記録媒体に記録する記録装置において、一時記憶手段から読み出されて転送されるデータを記録媒体に記録する記録手段と、一時記憶手段及び又は記録手段を制御する制御手段とを設け、制御手段が、一時記憶手段の各記憶領域に対する外部機器からのアクセス頻度を検出し、アクセス頻度が所定の閾値以上の記憶領域に保持されたデータに優先して、アクセス頻度が閾値よりも少ない記憶領域に保持されたデータを記録媒体に記録するように、一時記憶手段及び又は記録手段を制御するようにした。   In order to solve this problem, in the present invention, data transferred from an external device in a first data unit is temporarily stored in a temporary storage unit, and the data is read out from the temporary storage unit in a second data unit and recorded. In the recording apparatus for recording, the recording means for recording the data read and transferred from the temporary storage means on the recording medium, and the control means for controlling the temporary storage means and / or the recording means are provided. The access frequency from the external device to each storage area of the storage means is detected, and the access frequency is held in a storage area with a frequency lower than the threshold in preference to the data held in the storage area with a predetermined threshold or more. The temporary storage means and / or the recording means are controlled so as to record the data on the recording medium.

この結果この記録装置では、一時記憶手段における外部機器からのアクセス頻度が高い記憶領域に保持されたデータを記録媒体に記録する際に行われる外部機器からのその記憶領域に対するデータ書込みの制限の発生を抑制することができ、またその記憶領域に保持されたデータのディスクへの書込み効率を向上させることができる。   As a result, in this recording apparatus, when data stored in a storage area that is frequently accessed from the external device in the temporary storage means is recorded on the recording medium, data writing from the external device to the storage area is restricted. And the efficiency of writing data held in the storage area to the disk can be improved.

また本発明においては、外部機器から第1のデータ単位で転送されるデータを一時記憶手段に一時記憶し、当該データを第2のデータ単位で一時記憶手段から読み出して記録媒体に記録する記録方法において、一時記憶手段の各記憶領域に対する外部機器からのアクセス頻度を検出する第1のステップと、アクセス頻度が所定の閾値以上の記憶領域に保持されたデータに優先して、アクセス頻度が閾値よりも少ない記憶領域に保持されたデータを記録媒体に記録する第2のステップとを設けるようにした。   In the present invention, a recording method for temporarily storing data transferred from an external device in a first data unit in a temporary storage means, and reading the data from the temporary storage means in a second data unit and recording it on a recording medium In the first step of detecting the access frequency from the external device to each storage area of the temporary storage means, the access frequency is higher than the threshold in preference to the data held in the storage area whose access frequency is equal to or higher than a predetermined threshold. And a second step of recording data held in a small storage area on a recording medium.

この結果この記録方法によれば、一時記憶手段における外部機器からのアクセス頻度が高い記憶領域に保持されたデータを記録媒体に記録する際に行われる外部機器からのその記憶領域に対するデータ書込みの制限の発生を抑制することができ、またその記憶領域に保持されたデータのディスクへの書込み効率を向上させることができる。   As a result, according to this recording method, restrictions on data writing from the external device to the storage area performed when recording data held in the storage area of the temporary storage means that is frequently accessed from the external device on the recording medium. Can be suppressed, and the efficiency of writing data held in the storage area to the disk can be improved.

本発明によれば、外部機器から第1のデータ単位で転送されるデータを一時記憶手段に一時記憶し、当該データを第2のデータ単位で一時記憶手段から読み出して記録媒体に記録する記録装置において、一時記憶手段から読み出されて転送されるデータを記録媒体に記録する記録手段と、一時記憶手段及び又は記録手段を制御する制御手段とを設け、制御手段が、一時記憶手段の各記憶領域に対する外部機器からのアクセス頻度を検出し、アクセス頻度が所定の閾値以上の記憶領域に保持されたデータに優先して、アクセス頻度が閾値よりも少ない記憶領域に保持されたデータを記録媒体に記録するように、一時記憶手段及び又は記録手段を制御するようにしたことにより、一時記憶手段における外部機器からのアクセス頻度が高い記憶領域に保持されたデータを記録媒体に記録する際に行われる外部機器からのその記憶領域に対するデータ書込みの制限の発生を抑制することができ、またその記憶領域に保持されたデータのディスクへの書込み効率を向上させることができ、かくしてストレージデバイスとしてのデータ転送速度を向上させ得る記録装置を実現できる。   According to the present invention, a recording apparatus that temporarily stores data transferred from an external device in a first data unit in a temporary storage unit, reads the data from the temporary storage unit in a second data unit, and records the data on a recording medium. A recording means for recording the data read and transferred from the temporary storage means on the recording medium, and a temporary storage means and / or a control means for controlling the recording means. The access frequency from the external device to the area is detected, and the data held in the storage area with the access frequency less than the threshold is prioritized over the data held in the storage area with the access frequency equal to or higher than the predetermined threshold. Storage area with high access frequency from external device in temporary storage means by controlling temporary storage means and / or recording means to record It is possible to suppress the occurrence of restrictions on data writing to the storage area from an external device performed when recording the retained data on a recording medium, and the efficiency of writing data retained in the storage area to the disk Thus, a recording apparatus that can improve the data transfer speed as a storage device can be realized.

また本発明によれば、外部機器から第1のデータ単位で転送されるデータを一時記憶手段に一時記憶し、当該データを第2のデータ単位で一時記憶手段から読み出して記録媒体に記録する記録方法において、一時記憶手段の各記憶領域に対する外部機器からのアクセス頻度を検出する第1のステップと、アクセス頻度が所定の閾値以上の記憶領域に保持されたデータに優先して、アクセス頻度が閾値よりも少ない記憶領域に保持されたデータを記録媒体に記録する第2のステップとを設けるようにしたことにより、一時記憶手段における外部機器からのアクセス頻度が高い記憶領域に保持されたデータを記録媒体に記録する際に行われる外部機器からのその記憶領域に対するデータ書込みの制限の発生を抑制することができ、またその記憶領域に保持されたデータのディスクへの書込み効率を向上させることができ、かくして記録再生装置のストレージデバイスとしてのデータ転送速度を向上させ得る記録方法を実現できる。   According to the invention, the data transferred from the external device in the first data unit is temporarily stored in the temporary storage means, and the data is read from the temporary storage means in the second data unit and recorded on the recording medium. In the method, a first step of detecting an access frequency from an external device to each storage area of the temporary storage means, and an access frequency is a threshold value in preference to data held in a storage area having an access frequency equal to or higher than a predetermined threshold value The second step of recording data held in a smaller storage area on the recording medium is provided, so that the data held in the storage area that is frequently accessed from an external device in the temporary storage means is recorded. It is possible to suppress the occurrence of restrictions on data writing to the storage area from an external device when recording on the medium, and the storage area The write efficiency of the disk held data can be improved, thus possible to realize a recording method capable of improving the data transfer rate as a storage device for recording and reproducing apparatus.

以下図面について、本発明の一実施の形態を詳述する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

(1)本実施の形態による記録再生装置の構成
図1において、1は全体として本実施の形態による記録再生装置を示し、ミニディスク(MD)方式のディスクを記録媒体として、データの記録再生を行い得るようになされている。ただし、この記録再生装置1は、既に普及している音楽用途のミニディスクのみではなく、より高密度記録を可能とし、コンピュータユースの各種データのストレージに利用できる高密度ディスク(次世代ディスクとも言う)についても対応し得るようになされている。
(1) Configuration of Recording / Reproducing Device According to the Present Embodiment In FIG. 1, reference numeral 1 denotes a recording / reproducing device according to the present embodiment as a whole. It is made to be able to do. However, the recording / reproducing apparatus 1 is not only a mini-disc for music use, but also a high-density disc (also referred to as a next-generation disc) that enables higher-density recording and can be used for storage of various data for computer use. ) Can be dealt with.

また本実施の形態による記録再生装置1は、外部機器(以下、パーソナルコンピュータとする)2とUSBケーブル3を介して接続することで、パーソナルコンピュータ2に対する外部ストレージ機器として機能し得るようになされている。また、パーソナルコンピュータ2を介したり、或いは直接ネットワークと接続できる機能を搭載するなどしてネットワーク接続することで、音楽や各種データをダウンロードし、これをディスク4に保存できるものともなる。   The recording / reproducing apparatus 1 according to the present embodiment can function as an external storage device for the personal computer 2 by being connected to an external device (hereinafter referred to as a personal computer) 2 via a USB cable 3. Yes. Also, music and various data can be downloaded and stored in the disk 4 by connecting to the network via the personal computer 2 or by installing a function that can be directly connected to the network.

一方、この記録再生装置1はパーソナルコンピュータ2等に接続しなくとも、例えばオーディオ機器として機能する。例えば他のオーディオ機器等から入力された音楽データをディスク4に記録したり、ディスク4に記録された音楽データ等を再生出力することができる。   On the other hand, the recording / reproducing apparatus 1 functions as, for example, an audio device without being connected to the personal computer 2 or the like. For example, music data input from another audio device or the like can be recorded on the disc 4, and music data recorded on the disc 4 can be reproduced and output.

すなわち本実施の形態による記録再生装置1は、パーソナルコンピュータ2等に接続することで汎用的なデータストレージ機器として利用でき、かつ単体でもオーディオ記録再生機器としても利用できる装置である。   That is, the recording / reproducing apparatus 1 according to the present embodiment is an apparatus that can be used as a general-purpose data storage device by being connected to the personal computer 2 or the like, and can be used as a single unit or as an audio recording / reproducing device.

なお以下においては、パーソナルコンピュータ2の被接続機器とされてデータ記録再生がおこなわれる動作状態を「ストレージモード」、パーソナルコンピュータ2と接続されずに単体でオーディオ記録再生を行う動作状態を「オーディオモード」と呼ぶこととする。   In the following description, the operation state in which data recording / playback is performed as a connected device of the personal computer 2 is referred to as “storage mode”, and the operation state in which audio recording / playback is performed independently without being connected to the personal computer 2 is referred to as “audio mode”. ".

ここで、本実施の形態による記録再生装置1の構成の説明に先立って、この記録再生装置1が対応する、光磁気記録による次世代ディスクの概要について説明しておく。   Here, prior to the description of the configuration of the recording / reproducing apparatus 1 according to the present embodiment, an outline of a next-generation disk by magneto-optical recording, to which the recording / reproducing apparatus 1 corresponds, will be described.

まず、このような次世代ディスクは、現行のパーソナルコンピュータとの親和性が図れるように、ファイル管理システムとしてFAT(File Allocation Table)システムを使って、オーディオデータのようなコンテンツデータを記録再生するものである。また、現行のMDシステムに対して、エラー訂正方式や変調方式等の改善を行うことで、データの記録容量の増大を図るとともにデータの信頼性を高めている。   First, such next-generation discs use a FAT (File Allocation Table) system as a file management system to record and play back content data such as audio data so that it can be compatible with current personal computers. It is. In addition, the current MD system is improved by an error correction method, a modulation method, and the like, thereby increasing the data recording capacity and improving the data reliability.

次世代ディスクの記録再生のフォーマットとしては、現在2種類の仕様が開発されている。説明上、これらを第1の次世代MD、第2の次世代MDと呼ぶこととする。   Two types of specifications are currently being developed as recording and playback formats for next-generation discs. For the sake of explanation, these will be referred to as a first next generation MD and a second next generation MD.

第1の次世代MDは、現行のMDシステムで用いられているディスクと全く同様のディスクを用いるようにした仕様であり、第2の次世代MDは、現行のMDシステムで用いられているディスクと外形は同様であるが、磁気超解像(MSR)技術を使うことにより、線記録方向の記録密度を上げて、記録容量をより増大した仕様である。   The first next-generation MD is a specification that uses a disk that is exactly the same as the disk used in the current MD system, and the second next-generation MD is a disk that is used in the current MD system. The outer shape is the same, but by using magnetic super-resolution (MSR) technology, the recording density in the linear recording direction is increased and the recording capacity is further increased.

現行のMDシステム(オーディオ用MDやMD−DATA)では、カートリッジに収納された直径64mmの光磁気ディスクが記録媒体として用いられている。ディスクの厚みは1.2mmであり、その中央に11mmの径のセンターホールが設けられている。カートリッジの形状は、長さ68mm、幅72mm、厚さ5mmである。   In the current MD system (audio MD or MD-DATA), a magneto-optical disk having a diameter of 64 mm housed in a cartridge is used as a recording medium. The disc has a thickness of 1.2 mm, and a center hole having a diameter of 11 mm is provided at the center thereof. The cartridge has a length of 68 mm, a width of 72 mm, and a thickness of 5 mm.

第1及び第2の次世代MDの仕様でも、これらディスクの形状やカートリッジの形状は、すべて同じである。リードイン領域の開始位置についても、第1及び第2の次世代MDのディスクも、半径位置29mmから始まり、現行のMDシステムで使用されているディスクと同様である。つまり、従来のMDシステムとの外形上での互換性が確保されているものである。   In the specifications of the first and second next generation MDs, the shape of the disk and the shape of the cartridge are all the same. Regarding the start position of the lead-in area, the first and second next-generation MD disks start from a radial position of 29 mm and are the same as the disks used in the current MD system. That is, compatibility with the conventional MD system on the outer shape is ensured.

トラックピッチについては、第2の次世代MDでは、1.25μmとされ、現行のMDシステムのディスクを流用する第1の次世代MDでは、トラックピッチは1.6μmとされている。ビット長は、第1の次世代MDが0.44μm/ビットとされ、第2の次世代MDが0.16μm/ビットとされる。冗長度は、第1及び第2の次世代MDともに、20.50%である。   The track pitch is set to 1.25 μm in the second next generation MD, and the track pitch is set to 1.6 μm in the first next generation MD that uses the disk of the current MD system. The bit length of the first next generation MD is 0.44 μm / bit, and the second next generation MD is 0.16 μm / bit. The redundancy is 20.50% for both the first and second next generation MDs.

第2の次世代MD仕様のディスクでは、磁気超解像技術を使うことにより、線密度方向の記録容量を向上するようにしている。磁気超解像技術は、所定の温度になると、切断層が磁気的にニュートラルな状態になり、記録層に転写されていた磁壁が転写されることで、微少なマークがビームスポットの中に見えるようになることを利用したものである。   In the second generation MD specification disk, the recording capacity in the linear density direction is improved by using a magnetic super-resolution technique. In the magnetic super-resolution technology, when a predetermined temperature is reached, the cut layer becomes magnetically neutral, and the magnetic wall transferred to the recording layer is transferred, so that a minute mark can be seen in the beam spot. It is a thing using what becomes.

具体的に、第2の次世代MD仕様のディスクでは、透明基板上に、少なくとも情報を記録する記録層となる磁性層と、切断層と、情報再生用の磁性層とが積層される。切断層は、交換結合力調整用層となる。所定の温度になると、切断層が磁気的にニュートラルな状態になり、記録層に転写されていた磁壁が再生用の磁性層に転写される。これにより、微少なマークがビームスポットの中に見えるようになる。なお、記録時には、レーザパルス磁界変調技術を使うことで、微少なマークを生成することができる。   Specifically, in the second generation MD disc, a magnetic layer serving as a recording layer for recording information, a cutting layer, and a magnetic layer for reproducing information are stacked on a transparent substrate. The cutting layer is an exchange coupling force adjusting layer. When the temperature reaches a predetermined temperature, the cut layer becomes magnetically neutral, and the domain wall transferred to the recording layer is transferred to the reproducing magnetic layer. As a result, minute marks can be seen in the beam spot. At the time of recording, a minute mark can be generated by using a laser pulse magnetic field modulation technique.

また、第2の次世代MD仕様のディスクでは、デトラックマージン、ランドからのクロストーク、ウォブル信号のクロストーク、フォーカスの漏れを改善するために、グルーブを深くし、グルーブの傾斜を鋭くしている。即ち第2の次世代MD仕様のディスクでは、グルーブの深さは例えば160nmから180nmであり、グルーブの傾斜は例えば60度から70度であり、グルーブの幅は例えば600nmから700nmである。   In the second generation MD disc, the groove is deepened and the groove is sharpened to improve detrack margin, crosstalk from the land, crosstalk of the wobble signal, and focus leakage. Yes. That is, in the second next-generation MD specification disk, the groove depth is, for example, 160 nm to 180 nm, the groove inclination is, for example, 60 degrees to 70 degrees, and the groove width is, for example, 600 nm to 700 nm.

光学的仕様については、第1の次世代MDの仕様では、レーザ波長λが780nmとされ、光学ヘッドの対物レンズの開口率NAが0.45とされている。第2の次世代MDの仕様も同様に、レーザ波長λが780nmとされ、光学ヘッドの開口率NAが0.45とされている。   Regarding the optical specification, in the specification of the first next generation MD, the laser wavelength λ is 780 nm, and the aperture ratio NA of the objective lens of the optical head is 0.45. Similarly, in the specifications of the second next generation MD, the laser wavelength λ is 780 nm, and the aperture ratio NA of the optical head is 0.45.

また記録方式としては、第1の次世代MDでは、グルーブ(ディスクの盤面上の溝)をトラックとして記録再生に用いるグルーブ記録方式が採用され、第2の次世代MDではグルーブ記録方式及び磁壁移動検出(DWDD)方式が採用されている。   As the recording system, the first next generation MD employs a groove recording system that uses a groove (groove on the disk surface of the disk) as a track for recording and reproduction, and the second next generation MD employs a groove recording system and domain wall motion. A detection (DWDD) method is employed.

さらに、エラー訂正符号化方式としては、現行のMDシステムでは、ACIRC(Advanced Cross Interleave Reed-Solomon Code)による畳み込み符号が用いられていたが、第1及び第2の次世代MDの仕様では、RS−LDC(Reed Solomon−Long Distance Code)とBIS(Burst Indicator Subcode)とを組み合わせたブロック完結型の符号が用いられている。このブロック完結型のエラー訂正符号を採用することにより、リンキングセクタが不要になる。LDCとBISとを組み合わせたエラー訂正方式では、バーストエラーが発生したときに、BISによりエラーロケーションが検出できる。このエラーロケーションを使って、LDCコードにより、イレージャ訂正を行うことができる。   Furthermore, as an error correction coding system, convolutional codes based on ACIRC (Advanced Cross Interleave Reed-Solomon Code) have been used in the current MD system, but in the specifications of the first and second next generation MDs, RS A block-complete code combining a Reed Solomon-Long Distance Code (LDC) and a Burst Indicator Subcode (BIS) is used. By employing this block completion type error correction code, a linking sector is not required. In an error correction method combining LDC and BIS, an error location can be detected by BIS when a burst error occurs. Using this error location, erasure correction can be performed by the LDC code.

アドレス方式としては、シングルスパイラルによるグルーブを形成したうえで、このグルーブの両側に対してアドレス情報としてのウォブルを形成したウォブルドグルーブ方式が採用されている。このようなアドレス方式は、ADIP(Address in Pregroove)と呼ばれている。   As an addressing method, a wobbled groove method is used in which a single spiral groove is formed and wobbles as address information are formed on both sides of the groove. Such an address system is called ADIP (Address in Pregroove).

ADIPの仕様については、現行のMDシステムと同様であるが、現行のMDシステムでは、2352バイトからなるセクタを記録再生のアクセス単位としているのに対して、第1及び第2の次世代MDの仕様では、64Kバイトを記録再生のアクセス単位(レコーディングブロック)としている。   The specification of ADIP is the same as that of the current MD system. However, in the current MD system, a sector of 2352 bytes is used as an access unit for recording and reproduction, whereas the first and second next generation MDs are used. In the specification, 64 Kbytes are used as a recording / reproducing access unit (recording block).

また、現行のMDシステムでは、エラー訂正符号としてACIRCと呼ばれる畳み込み符号が用いられているのに対して、第1及び第2の次世代MDの仕様では、LDCとBISとを組み合わせたブロック完結型の符号が用いられている。   In the current MD system, a convolutional code called ACIRC is used as an error correction code, whereas in the specifications of the first and second next generation MDs, a block completion type combining LDC and BIS. Is used.

そこで、現行のMDシステムのディスクを流用する第1の次世代MDの仕様では、ADIP信号の扱いを、現行のMDシステムのときとは異なるようにしている。また、第2の次世代MDでは、第2の次世代MDの仕様により合致するように、ADIP信号の仕様に変更を加えている。   Therefore, in the specification of the first next generation MD that uses the disk of the current MD system, the handling of the ADIP signal is made different from that in the current MD system. In the second next-generation MD, the specification of the ADIP signal is changed so as to match the specification of the second next-generation MD.

変調方式については、現行のMDシステムでは、EFM(8 to 14 Modulation)が用いられているのに対して、第1及び第2の次世代MDの仕様では、RLL(1,7)PP(RLL;Run Length Limited ,PP;Parity Preserve/Prohibit rmtr(repeated minimum transition runlength))(以下、1−7pp変調と称する)が採用されている。また、データの検出方式は、第1の次世代MDではパーシャルレスポンスPR(1,2,1)MLを用い、第2の次世代MDではパーシャルレスポンスPR(1,−1)MLを用いたビタビ復号方式とされている。   As for the modulation method, EFM (8 to 14 Modulation) is used in the current MD system, whereas RLL (1, 7) PP (RLL) is used in the specifications of the first and second next generation MDs. Run Length Limited, PP; Parity Preserve / Prohibit rmtr (repeated minimum transition run length)) (hereinafter referred to as 1-7pp modulation). Further, the data detection method is Viterbi using partial response PR (1, 2, 1) ML in the first next generation MD and using partial response PR (1, -1) ML in the second next generation MD. It is a decoding method.

また、ディスク駆動方式はCLV(Constant Linear Velocity)で、その線速度は、第1の次世代MDの仕様では、2.7m/秒とされ、第2の次世代MDの仕様では、1.98m/秒とされる。なお、現行のMDシステムの仕様では、60分ディスクで1.2m/秒、74分ディスクで1.4m/秒とされている。   The disk drive system is CLV (Constant Linear Velocity), and the linear velocity is 2.7 m / second in the first next generation MD specification, and 1.98 m in the second next generation MD specification. Per second. In the specification of the current MD system, it is 1.2 m / second for a 60-minute disk and 1.4 m / second for a 74-minute disk.

現行のMDシステムで用いられるディスクをそのまま流用する第1の次世代MDの仕様では、ディスク1枚当たりのデータ総記録容量は約300Mバイト(80分ディスクを用いた場合)になる。変調方式がEFM変調から1−7pp変調とされることで、ウィンドウマージンが0.5から0.666となり、この点で、1.33倍の高密度化が実現できる。   In the specification of the first next-generation MD in which a disk used in the current MD system is used as it is, the total data recording capacity per disk is about 300 Mbytes (when an 80-minute disk is used). By changing the modulation method from EFM modulation to 1-7pp modulation, the window margin is changed from 0.5 to 0.666, and in this respect, a 1.33 times higher density can be realized.

また、エラー訂正方式として、ACIRC方式からBISとLDCを組み合わせたものとしたことで、データ効率が上がり、この点で、1.48倍の高密度化が実現できる。総合的には、全く同様のディスクを使って、現行のMDシステムに比べて、約2倍のデータ容量が実現されたことになる。   Further, since the error correction method is a combination of BIS and LDC from the ACIRC method, the data efficiency is improved, and in this respect, 1.48 times higher density can be realized. Overall, a data capacity of about twice that of the current MD system was realized using exactly the same disk.

これに対し磁気超解像を利用した第2の次世代MDの仕様のディスクでは、更に線密度方向の高密度化が図られ、データ総記録容量は、約1Gバイトになる。なお、データレートは第1の次世代MDでは4.4Mビット/秒であり、第2の次世代MDでは、9.8Mビット/秒である。   On the other hand, in the disc of the second next generation MD specification using magnetic super-resolution, the recording density is further increased in the linear density direction, and the total data recording capacity is about 1 Gbyte. The data rate is 4.4 Mbit / sec in the first next generation MD, and 9.8 Mbit / sec in the second next generation MD.

図2(A)は、第1の次世代MDのディスクの構成を示すものである。第1の次世代MDのディスクは、現行のMDシステムのディスクをそのまま流用したものである。すなわち、透明のポリカーボネート基板上に、誘電体膜と、磁性膜と、誘電体膜と、反射膜とを積層して構成される。さらに、その上に保護膜が積層される。   FIG. 2A shows the configuration of the first next-generation MD disk. The first next-generation MD disc is a diverted version of the current MD system disc. That is, a dielectric film, a magnetic film, a dielectric film, and a reflective film are laminated on a transparent polycarbonate substrate. Further, a protective film is laminated thereon.

第1の次世代MDのディスクでは、この図2(A)に示すようにディスクの内周のリードイン領域に、P−TOC(プリマスタードTOC(Table Of Contents))領域が設けられる。ここは、物理的な構造としてはプリマスタード領域となり、エンボスピットによりコントロール情報等がP−TOC情報として記録されていることになる。   In the first next-generation MD disk, as shown in FIG. 2A, a P-TOC (pre-mastered TOC (Table Of Contents)) area is provided in the lead-in area on the inner periphery of the disk. This is a pre-mastered area as a physical structure, and control information and the like are recorded as P-TOC information by embossed pits.

そして、このようにP−TOC領域が設けられるリードイン領域の外周は、レコーダブル領域(光磁気記録可能な領域)とされ、記録トラックの案内溝としてグルーブが形成された記録再生可能領域となっている。このレコーダブル領域の内周には、U−TOC(ユーザTOC)が設けられる。   The outer periphery of the lead-in area in which the P-TOC area is provided in this way is a recordable area (a magneto-optical recording area), which is a recordable / reproducible area in which a groove is formed as a guide groove for a recording track. ing. A U-TOC (user TOC) is provided on the inner periphery of the recordable area.

この場合のU−TOCは、現行のMDシステムでディスクの管理情報を記録するために用いられているU−TOCと同様の構成のものである。確認のために述べておくと、U−TOCは、現行のMDシステムにおいては、トラック(オーディオトラック/データトラック)の曲順、記録、消去などに応じて書き換えられる管理情報であり、各トラック(トラックを構成するパーツ)について、開始位置、終了位置や、モードを管理するものである。   The U-TOC in this case has the same configuration as the U-TOC used for recording disc management information in the current MD system. For confirmation, the U-TOC is management information that can be rewritten according to the order of tracks (audio tracks / data tracks), recording, erasing, etc. in the current MD system. The start position, end position, and mode are managed for the parts constituting the track.

また、U−TOCの外周には、アラートトラックが設けられる。アラートトラックは、このディスクが第1の次世代MD方式で使用され、現行のMDシステムのプレーヤでは再生できないことを示す警告音が記録された警告トラックである。   An alert track is provided on the outer periphery of the U-TOC. The alert track is a warning track on which a warning sound indicating that this disc is used in the first next generation MD system and cannot be reproduced by a player of the current MD system is recorded.

図2(B)は、第1の次世代MDの仕様のディスクのレコーダブル領域の構成を示すものである。この図2(B)からも明らかなように、レコーダブル領域の先頭(内周側)には、U−TOCおよびアラートトラックが設けられる。U−TOCおよびアラートトラックが含まれる領域は、現行のMDシステムのプレーヤでも再生できるように、EFMでデータが変調されて記録される。   FIG. 2B shows the configuration of the recordable area of the disc of the first next generation MD specification. As is clear from FIG. 2B, a U-TOC and an alert track are provided at the beginning (inner peripheral side) of the recordable area. In the area including the U-TOC and the alert track, the data is modulated by EFM and recorded so that it can be reproduced by a player of the current MD system.

そして、このEFM変調でデータが変調されて記録される領域の外周には、次世代MD1方式の1−7pp変調によりデータが変調されて記録される領域が設けられる。EFM変調によりデータが変調されて記録される領域と、1−7pp変調によりデータが変調されて記録される領域との間は所定の距離の間だけ離間されており、ガードバンドが設けられている。このようなガードバンドが設けられるため、現行のMDプレーヤに第1の次世代MDの仕様のディスクが装着されて、不具合が発生されることが防止される。   An area where data is modulated and recorded by 1-7pp modulation of the next generation MD1 system is provided on the outer periphery of the area where the data is modulated and recorded by the EFM modulation. The area where data is modulated and recorded by EFM modulation and the area where data is modulated and recorded by 1-7pp modulation are separated by a predetermined distance, and a guard band is provided. . Since such a guard band is provided, it is possible to prevent a malfunction from being caused by mounting the disc of the first next generation MD specification on the current MD player.

1−7pp変調によりデータが変調されて記録される領域の先頭(内周側)には、DDT(Disc Description Table)領域と、セキュアトラックが設けられる。DDT領域には、物理的に欠陥のあるセクタ(レコーディングブロック)に対する交替セクタ処理をするために設けられる。DDT領域には、さらに、ディスクIDが記録される。ディスクIDは、記録媒体毎に固有の識別コードであって、例えば所定に発生された乱数に基づく。   A DDT (Disc Description Table) area and a secure track are provided at the beginning (inner circumference side) of an area where data is modulated and recorded by 1-7pp modulation. The DDT area is provided for performing a replacement sector process for a physically defective sector (recording block). A disc ID is further recorded in the DDT area. The disk ID is an identification code unique to each recording medium, and is based on a predetermined random number, for example.

また、スクラッチパッドとしての領域や、SRB(Serial Recording Bitmap)と呼ばれる、記録したクラスタに対応したビットを「1」とするビットマップが記録される。セキュアトラックは、コンテンツの保護を図るための情報が格納される。   In addition, a bit map corresponding to a recorded cluster called “1” is recorded as a scratch pad area or SRB (Serial Recording Bitmap). The secure track stores information for protecting the content.

さらに、1−7pp変調でデータが変調されて記録される領域には、FAT(File Allocation Table)領域が設けられる。このFAT領域は、FATシステムでデータを管理するための領域である。   Furthermore, a FAT (File Allocation Table) area is provided in an area where data is modulated and recorded by 1-7pp modulation. This FAT area is an area for managing data in the FAT system.

FATシステムは、汎用のパーソナルコンピュータで使用されているFATシステムに準拠したデータ管理を行うものである。FATシステムは、ルートにあるファイルやディレクトリのエントリポイントを示すディレクトリと、FATクラスタの連結情報が記述されたFATテーブルとを用いて、FATチェーンによりファイル管理を行うものである。   The FAT system performs data management conforming to the FAT system used in general-purpose personal computers. The FAT system performs file management by a FAT chain using a directory indicating entry points of files and directories at the root and a FAT table in which FAT cluster connection information is described.

このような第1の次世代MDの仕様のディスクにおいて、上述のU−TOC領域には、アラートトラックの開始位置の情報と、1−7pp変調でデータが変調されて記録される領域の開始位置の情報が記録されるものとなる。   In such a disc of the first next generation MD specification, in the above-mentioned U-TOC area, information on the start position of the alert track and the start position of the area where the data is modulated by 1-7pp modulation and recorded This information is recorded.

ここで、現行のMDシステムのプレーヤに、上述の構成による第1の次世代MDのディスクが装着されると、U−TOC領域が読み取られ、U−TOCの情報から、アラートトラックの位置が分かり、アラートトラックがアクセスされ、アラートトラックの再生が開始される。   Here, when a first next-generation MD disc having the above-described configuration is loaded into a player of the current MD system, the U-TOC area is read, and the position of the alert track is known from the U-TOC information. , The alert track is accessed and the playback of the alert track is started.

アラートトラックには、このディスクが第1の次世代MD方式で使用され、現行のMDシステムのプレーヤでは再生できないことを示す警告音が記録されている。この警告音から、このディスクが現行のMDシステムのプレーヤでは使用できないことが通知される。なお、この場合の警告音としては、「このプレーヤでは使用できません」というような言語による警告とすることができる。勿論、ブザー音とするようにしても良い。   In the alert track, a warning sound is recorded indicating that this disc is used in the first next generation MD system and cannot be reproduced by a player of the current MD system. This warning sound informs that this disc cannot be used with the current MD system player. Note that the warning sound in this case may be a warning in a language such as “cannot be used with this player”. Of course, a buzzer sound may be used.

一方、第1の次世代MDに準拠したプレーヤに対し、第1の次世代MDのディスクが装着された場合、U−TOC領域が読み取られ、U−TOCの情報から1−7pp変調でデータが記録された領域の開始位置が分かり、上述したDDT、セキュアトラック、FAT領域が読み取られる。上述のように1−7pp変調のデータの領域では、U−TOCではなくFATシステムによるデータ管理が行われる。   On the other hand, when the disc of the first next generation MD is mounted on the player compliant with the first next generation MD, the U-TOC area is read, and the data is 1-7pp modulated from the U-TOC information. The start position of the recorded area is known, and the above-described DDT, secure track, and FAT area are read. As described above, in the 1-7pp modulation data area, data management is performed by the FAT system, not by the U-TOC.

図3(A)は、第2の次世代MDのディスクの構成を示すものである。この場合もディスクは、透明のポリカーボネート基板上に誘電体膜、磁性膜、誘電体膜、反射膜、さらにその上層に保護膜を積層してなる。   FIG. 3A shows the configuration of a second next-generation MD disk. Also in this case, the disk is formed by laminating a dielectric film, a magnetic film, a dielectric film, a reflective film on a transparent polycarbonate substrate, and a protective film on the upper layer.

そして、第2の次世代MDのディスクの場合では、図示するようにディスクの内周のリードイン領域には、ADIP信号により、コントロール情報が記録されるものとなる。   In the case of the second next-generation MD disc, as shown in the figure, control information is recorded in the lead-in area on the inner periphery of the disc by an ADIP signal.

第2の次世代MDのディスクには、リードイン領域にはエンボスピットによるP−TOCは設けられておらず、その代わりに、ADIP信号によるコントロール情報が用いられる。リードイン領域の外周からレコーダブル領域が開始され、記録トラックの案内溝としてグルーブが形成された記録再生可能領域となっている。このレコーダブル領域には、1−7pp変調方式によりデータが変調されて記録される。   In the second next-generation MD disc, the lead-in area is not provided with a P-TOC by embossed pits, and instead, control information by an ADIP signal is used. The recordable area starts from the outer periphery of the lead-in area, and is a recordable / reproducible area in which a groove is formed as a guide groove for a recording track. In this recordable area, data is modulated and recorded by the 1-7 pp modulation method.

あるディスクが第1の次世代MDであるか第2の次世代MDであるかは、リードインの情報から判断できる。すなわち、リードインにエンボスピットによるP−TOCが検出されれば、現行のMDまたは第1の次世代MDのディスクであると判断できる。リードインにADIP信号によるコントロール情報が検出され、エンボスピットによるP−TOCが検出されなければ、第2の次世代MDであると判断できる。   Whether a disc is the first next generation MD or the second next generation MD can be determined from the lead-in information. That is, if a P-TOC due to an embossed pit is detected in the lead-in, it can be determined that the disc is the current MD or the first next-generation MD. If control information based on the ADIP signal is detected in the lead-in and the P-TOC due to the embossed pit is not detected, it can be determined that the second next-generation MD.

なお第1及び第2の次世代MDの判別は、このような方法に限定されるものではない。オントラックのときとオフトラックのときとのトラッキングエラー信号の位相から判別することも可能である。勿論、カートリッジ等にディスク識別用の検出孔等を設けるようにしても良い。   The discrimination between the first and second next generation MDs is not limited to such a method. It is also possible to discriminate from the phase of the tracking error signal between on-track and off-track. Of course, a detection hole for disc identification may be provided in the cartridge or the like.

第2の次世代MDの仕様のディスクのレコーダブル領域の構成としては、図3(B)に示すように、全て1−7pp変調方式によりデータが変調されて記録される領域が形成される。そして、この1−7pp変調方式によりデータが変調されて記録される領域の先頭(内周側)には、DDT領域及びセキュアトラックが設けられる。   As the configuration of the recordable area of the disc of the second next generation MD specification, as shown in FIG. 3B, an area where data is modulated and recorded by the 1-7pp modulation method is formed. A DDT area and a secure track are provided at the head (inner circumference side) of an area where data is modulated and recorded by the 1-7pp modulation method.

この場合も上述のDDT領域には、物理的に欠陥のあるセクタ(レコーディングブロック)に対する交替セクタ処理を行うための領域とされる。またDDT領域には、上述したディスクIDが記録される。また上述したスクラッチパッド領域やSRBが設けられる。さらにセキュアトラックには、この場合もコンテンツの保護を図るための情報が格納される。   Also in this case, the above-mentioned DDT area is an area for performing a replacement sector process on a physically defective sector (recording block). In the DDT area, the above-mentioned disc ID is recorded. Further, the above-described scratch pad area and SRB are provided. Further, in this case, information for protecting the content is stored in the secure track.

また、1−7pp変調でデータが変調されて記録される領域には、FAT領域も設けられる。FAT領域は、FATシステムでデータを管理するための領域である。FATシステムは、汎用のパーソナルコンピュータで使用されているFATシステムに準拠したデータ管理を行うものである。   Further, a FAT area is also provided in an area where data is modulated and recorded by 1-7pp modulation. The FAT area is an area for managing data in the FAT system. The FAT system performs data management conforming to the FAT system used in general-purpose personal computers.

そして、このような第2の次世代MDのディスクにおいては、この図3(B)からも明らかなように、U−TOC領域は設けられていない。つまり第2の次世代MDのディスクについては、次世代MDに準拠したプレーヤのみでの使用が想定されているものである。   In the second next-generation MD disc as described above, as is apparent from FIG. 3B, the U-TOC area is not provided. That is, the second next-generation MD disc is assumed to be used only by a player compliant with the next-generation MD.

次世代MDに準拠したプレーヤでは、第2の次世代MDのディスクが装着されると、所定の位置にあるDDT領域、セキュアトラック及びFAT領域が読み取られ、FATシステムを使ってデータの管理が行われることになる。   In a player compliant with the next-generation MD, when a second next-generation MD disc is loaded, the DDT area, secure track, and FAT area at a predetermined position are read, and data management is performed using the FAT system. It will be.

FATシステムで管理され、図2(B)及び図3(B)のデータ領域に記録されるデータとしては、データファイル、トラックインフォメーションファイル(TIF)、鍵情報ファイル、MACリストファイルなどがある。   Data managed by the FAT system and recorded in the data area of FIGS. 2B and 3B includes a data file, a track information file (TIF), a key information file, a MAC list file, and the like.

データファイルは、例えばオーディオデータやコンピュータユースのデータなどのデータファイルである。   The data file is a data file such as audio data or computer use data.

またトラックインフォメーションファイル(TIF)は、オーディオデータファイルに納められた音楽データを管理するための各種の情報が記述されたファイルである。トラックインフォメーションファイルには、楽曲の再生順を示すプレイオーダテーブル、ユーザーが指定した再生順を管理するプログラムドプレイオーダテーブル、楽曲のアルバム単位等のグループかを管理するグループインフォメーションテーブル、各トラック(楽曲)に関する情報が記述されるトラックインフォメーションテーブル、各トラックのパーツを管理するパーツインフォメーションテーブル、各トラックに付加される文字情報を管理するネームテーブルを有する。   The track information file (TIF) is a file in which various information for managing music data stored in an audio data file is described. The track information file includes a play order table that indicates the playback order of the music, a programmed play order table that manages the playback order specified by the user, a group information table that manages whether the music is in groups of albums, etc. ), A part information table for managing parts of each track, and a name table for managing character information added to each track.

さらに鍵情報ファイルは、暗号化方式における鍵のバージョン情報を示すデータが記述される。さらにMACリストファイルは、改竄チェックのためのMAC値が記述される。   Furthermore, the key information file describes data indicating key version information in the encryption method. Further, the MAC list file describes the MAC value for tampering check.

説明を図1に戻し、本実施の形態による記録再生装置1内部の全体構成について説明する。   Returning to FIG. 1, the overall configuration of the recording / reproducing apparatus 1 according to this embodiment will be described.

図1において、USBインターフェース10は、ホスト機器として接続されたパーソナルコンピュータ2とUSBケーブル3で接続された際のデータ伝送のための処理を行う。   In FIG. 1, a USB interface 10 performs processing for data transmission when connected to a personal computer 2 connected as a host device with a USB cable 3.

またキャッシュメモリ11は、例えばD−RAM(Dynamic-RAM(Random Access Memory))より構成され、ストレージ部12に装填されたディスク4に書き込むデータ、或いはストレージ部12によってディスク4から読み出されたデータについてのバッファリングを行う。   The cache memory 11 is composed of, for example, a D-RAM (Dynamic-RAM (Random Access Memory)), and data to be written to the disk 4 loaded in the storage unit 12 or data read from the disk 4 by the storage unit 12. Do buffering for.

ストレージ部12は、現行MDと、上述した第1及び第2の次世代MDとに対応した記録再生手段であり、記録モード時には、キャッシュメモリ11から転送されるデータに対してEFM変調方式又は1−7pp変調方式で変調してディスク4に書き込む。またストレージ部12は、再生モード時には、ディスク4から読み出したデータをEFM復調方式又は1−7pp復調方式で復調してキャッシュメモリ11に転送する。   The storage unit 12 is a recording / reproducing unit corresponding to the current MD and the first and second next-generation MDs described above. In the recording mode, the storage unit 12 applies EFM modulation scheme or 1 to data transferred from the cache memory 11. Modulate by -7pp modulation method and write to disk 4. In the reproduction mode, the storage unit 12 demodulates the data read from the disk 4 using the EFM demodulation method or the 1-7pp demodulation method and transfers the data to the cache memory 11.

システムコントローラ13は、USBインターフェース10を介してパーソナルコンピュータ2からの書込み要求や読出し要求などの各種コマンドを受信し、このコマンドに応じてキャッシュメモリ11及びストレージ部12を制御するなどの各種制御処理を実行する。   The system controller 13 receives various commands such as a write request and a read request from the personal computer 2 via the USB interface 10 and performs various control processes such as controlling the cache memory 11 and the storage unit 12 according to the commands. Execute.

例えばシステムコントローラ13は、パーソナルコンピュータ13から送信されるアドレス及びデータ長を指定したデータの書込み要求をUSBインターフェース10を介して受信すると、これに応じてUSBインターフェース10及びキャッシュメモリ11を制御することにより、その後パーソナルコンピュータ13から送信されるそのデータをUSBインターフェース10を介してキャッシュメモリ11に入力して一時記憶させる。そしてシステムコントローラ13は、この後キャッシュメモリ11及びストレージ部12を制御することにより、このキャッシュメモリ11に一時記憶されたデータをストレージ部12に転送させてディスク4上の指定されたアドレス位置に書き込ませる。   For example, when the system controller 13 receives a data write request specifying the address and data length transmitted from the personal computer 13 via the USB interface 10, the system controller 13 controls the USB interface 10 and the cache memory 11 accordingly. Thereafter, the data transmitted from the personal computer 13 is input to the cache memory 11 via the USB interface 10 and temporarily stored. The system controller 13 then controls the cache memory 11 and the storage unit 12 to transfer the data temporarily stored in the cache memory 11 to the storage unit 12 and write it to the designated address position on the disk 4. Make it.

またシステムコントローラ13は、パーソナルコンピュータ13から送信されるアドレス及びデータ長を指定したデータの読出し要求をUSBインターフェース10を介して受信すると、これに応じてストレージ部12及びキャッシュメモリ11を制御することにより、指定されたデータをディスク4から読み出させてキャッシュメモリ11に転送させ、これを当該キャッシュメモリ11に一時記憶させる。そしてシステムコントローラ13は、この後キャッシュメモリ11及びUSBインターフェース10を制御することにより、このキャッシュメモリ11に一時記憶されたデータをUSBインターフェース10を介してパーソナルコンピュータ2に送信させる。   When the system controller 13 receives a data read request specifying the address and data length transmitted from the personal computer 13 via the USB interface 10, the system controller 13 controls the storage unit 12 and the cache memory 11 accordingly. The designated data is read from the disk 4 and transferred to the cache memory 11 and temporarily stored in the cache memory 11. The system controller 13 then controls the cache memory 11 and the USB interface 10 to transmit data temporarily stored in the cache memory 11 to the personal computer 2 via the USB interface 10.

入出力処理部14は、例えば記録再生装置1が単体でオーディオ機器として機能する場合に記録再生データの入出力のための処理を行う。   The input / output processing unit 14 performs processing for input / output of recording / playback data, for example, when the recording / playback apparatus 1 functions alone as an audio device.

この入出力処理部14は、例えば入力系として、ライン入力回路/マイクロホン入力回路等のアナログ音声信号入力部、アナログ/ディジタル変換器や、デジタルオーディオデータ入力部及びATRAC圧縮エンコーダ/デコーダを有する。ATRAC圧縮エンコーダ/デコーダは、ATRAC方式によるオーディオデータの圧縮/伸長処理を実行するための回路である。なお、もちろんのこと、本実施の形態の記録再生装置1としては、例えばMP3などの他のフォーマットによる圧縮オーディオデータが記録再生可能な構成を採ってもよく、この場合には、これらの圧縮オーディオデータのフォーマットに対応したエンコーダ/デコーダを設ければよい。   The input / output processing unit 14 includes, for example, an analog audio signal input unit such as a line input circuit / microphone input circuit, an analog / digital converter, a digital audio data input unit, and an ATRAC compression encoder / decoder as an input system. The ATRAC compression encoder / decoder is a circuit for executing compression / decompression processing of audio data by the ATRAC system. Of course, the recording / reproducing apparatus 1 of the present embodiment may adopt a configuration capable of recording / reproducing compressed audio data in another format such as MP3. In this case, these compressed audio data may be used. An encoder / decoder corresponding to the data format may be provided.

また本実施の形態としては、ビデオデータに関しては特に記録再生可能なフォーマットの限定は行わないが、例えばMPEG(Moving Pictures Experts Group)4などが考えられる。そして、入出力処理部14としては、このようなフォーマットに対応したエンコーダ/デコーダを設ければよいこととなる。   In the present embodiment, video data is not limited to a format that can be recorded / reproduced. For example, MPEG (Moving Pictures Experts Group) 4 can be considered. As the input / output processing unit 14, an encoder / decoder corresponding to such a format may be provided.

さらに入出力処理部14は、出力系として、デジタルオーディオデータ出力部や、ディジタル/アナログ変換器及びライン出力回路/ヘッドホン出力回路等のアナログ音声信号出力部を有する。   Further, the input / output processing unit 14 includes an analog audio signal output unit such as a digital audio data output unit, a digital / analog converter, and a line output circuit / headphone output circuit as an output system.

そして、この場合の入出力処理部14内には、暗号処理部(図示せず)が設けられる。暗号処理部においては、例えばディスクに記録すべきAVデータについて、所定のアルゴリズムによる暗号化処理を施すようにされる。また、例えばディスクから読み出されたAVデータについて暗号化が施されている場合には、必要に応じて暗号解読のための復号処理を実行するようにもされている。   In this case, an encryption processing unit (not shown) is provided in the input / output processing unit 14. In the encryption processing unit, for example, the AV data to be recorded on the disk is encrypted by a predetermined algorithm. For example, when the AV data read from the disk is encrypted, a decryption process for decryption is executed as necessary.

入出力処理部14を介した処理として、ディスクにオーディオデータが記録されるのは、例えば入力TINとして入出力処理部14にデジタルオーディオデータ(又はアナログ音声信号)が入力される場合である。入力されたリニアPCMデジタルオーディオデータ、或いはアナログ音声信号で入力されアナログ/ディジタル変換器で変換されて得られたリニアPCMオーディオデータは、必要に応じてATRAC圧縮エンコードされてキャッシュメモリ11に蓄積される。そして所定タイミング(ADIPクラスタ相当のデータ単位)でキャッシュメモリ11から読み出されてストレージ部12に転送される。ストレージ部12では、転送されてくる圧縮データを所定の変調方式で変調してディスク4に書き込む。   Audio data is recorded on the disc as processing via the input / output processing unit 14 when, for example, digital audio data (or an analog audio signal) is input to the input / output processing unit 14 as an input TIN. The input linear PCM digital audio data or the linear PCM audio data obtained by converting the analog audio signal and converting it by the analog / digital converter is subjected to ATRAC compression encoding as necessary and stored in the cache memory 11. . Then, the data is read from the cache memory 11 and transferred to the storage unit 12 at a predetermined timing (data unit corresponding to an ADIP cluster). In the storage unit 12, the transferred compressed data is modulated by a predetermined modulation method and written to the disk 4.

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

ROM(Read Only Memory)15Aには、システムコントローラ13の動作プログラムや固定パラメータ等が記憶される。またRAM15Bは、システムコントローラ13によるワーク領域として用いられ、また各種必要な情報の格納領域とされる。例えばストレージ部12によってディスク4から読み出された各種管理情報や特殊情報、例えば上述したP−TOCデータ、U−TOCデータ、FATデータ等、楽曲トラックの管理情報については、キャッシュメモリ11に取り込まれ、ストレージモード時にはその後パーソナルコンピュータに転送されるが、システムコントローラ13は、それらの管理情報のうち、必要な情報をRAM15Bに取り込んで処理することが行われる。   A ROM (Read Only Memory) 15A stores an operation program of the system controller 13, fixed parameters, and the like. The RAM 15B is used as a work area by the system controller 13 and is a storage area for various necessary information. For example, various management information and special information read from the disk 4 by the storage unit 12, such as the above-described P-TOC data, U-TOC data, FAT data, etc., are stored in the cache memory 11. In the storage mode, the data is then transferred to the personal computer. However, the system controller 13 takes necessary information out of the management information into the RAM 15B for processing.

キャッシュ管理メモリ16は、例えばS−RAM(Static-RAM)で構成され、キャッシュメモリ11の状態を管理する情報が格納される。システムコントローラ13はキャッシュ管理メモリ16を参照しながらデータキャッシュ処理の制御を行う。   The cache management memory 16 is composed of, for example, an S-RAM (Static-RAM), and stores information for managing the state of the cache memory 11. The system controller 13 controls data cache processing while referring to the cache management memory 16.

表示部17は、システムコントローラ13の制御に基づいて、ユーザーに対して提示すべき各種情報の表示を行う。例えば動作状態、モード状態、楽曲等の名称などの文字データ、トラックナンバー、時間情報、その他の情報表示を行う。   The display unit 17 displays various information to be presented to the user based on the control of the system controller 13. For example, character data such as operation state, mode state, name of music, track number, time information, and other information are displayed.

また本実施の形態において、例えばディスク4が次世代ディスクである場合には、このディスク4に対し楽曲データに対応づけて画像データが記憶されていることが想定されているが、表示部17は、ディスク4のロード時や再生時等においてシステムコントローラ13の制御に基づき、このように対応づけられた画像データの表示を行うようにすることも考えられる。   In the present embodiment, for example, when the disk 4 is a next-generation disk, it is assumed that image data is stored in association with the music data on the disk 4, but the display unit 17 It is also conceivable to display the image data correlated in this way based on the control of the system controller 13 when the disk 4 is loaded or played back.

操作部18には、ユーザーの操作のための各種操作子として、各種操作ボタンやジョグダイヤルなどが形成される。ユーザーは、この操作部18に対する操作により記録再生装置1に対する所要の動作指示を行う。システムコントローラ13は操作部18によって入力された操作情報に基づいて所定の制御処理を行う。   Various operation buttons, a jog dial, and the like are formed in the operation unit 18 as various operators for user operations. The user gives a required operation instruction to the recording / reproducing apparatus 1 by operating the operation unit 18. The system controller 13 performs predetermined control processing based on the operation information input by the operation unit 18.

なお、これまでに説明した記録再生装置1の構成はあくまでも一例であり、例えば入出力処理部14に、オーディオデータだけでなく、ビデオデータに対応する入出力処理系を設けるようにしてもよい。またパーソナルコンピュータ2との接続はUSBでなく、IEEE(Institute of Electrical and Electronic Engineers)1394等の他の外部インターフェースが用いられても良い。さらに操作部18としては、リモートコントローラ上に先に例示したものと同様の操作子を設けるようにすることも可能である。   Note that the configuration of the recording / reproducing apparatus 1 described so far is merely an example, and for example, the input / output processing unit 14 may be provided with an input / output processing system corresponding to not only audio data but also video data. Further, the connection with the personal computer 2 is not USB, but other external interfaces such as IEEE (Institute of Electrical and Electronic Engineers) 1394 may be used. Further, as the operation unit 18, it is possible to provide an operation element similar to that exemplified above on the remote controller.

(2)キャッシュメモリ11の読書き制御
次に、この記録再生装置1におけるストレージモード時のキャッシュメモリ11の読書き制御について説明する。
(2) Read / Write Control of Cache Memory 11 Next, read / write control of the cache memory 11 in the storage mode in the recording / reproducing apparatus 1 will be described.

この記録再生装置1では、パーソナルコンピュータ2からのデータの書込み要求がセクタ単位で行われるのに対して、ディスク4へのデータの読み書きはクラスタ単位で行われる。これは、上述のように第1及び第2の次世代MDの仕様では、1クラスタ分のデータ量である64Kバイトを記録再生のアクセス単位(レコーディングブロック)としているからである。従って、キャッシュメモリ11及びストレージ部12間でのデータのやり取りや、キャッシュメモリ11におけるデータの管理単位もこのクラスタ単位で行われることとなる。   In this recording / reproducing apparatus 1, data write requests from the personal computer 2 are made in units of sectors, whereas data read / write to the disk 4 is made in units of clusters. This is because, as described above, in the specifications of the first and second next-generation MDs, 64 Kbytes, which is the data amount for one cluster, is used as a recording / reproducing access unit (recording block). Therefore, the exchange of data between the cache memory 11 and the storage unit 12 and the management unit of data in the cache memory 11 are also performed in this cluster unit.

ここで、仮に1クラスタを16セクタとすると、キャッシュメモリ11内のデータ構成は図4に示すようになる。そして、パーソナルコンピュータ2からディスク4上のアドレス(セクタ)及びデータ長を指定してセクタ単位で送信されるデータは、キャッシュメモリ11内のそのときそのセクタが属するクラスタと対応付けられた16セクタ分の記憶容量を有する記憶領域(以下、これをキャッシュと呼ぶ)11〜11内のそのセクタと対応する位置に格納される。 Here, assuming that one cluster is 16 sectors, the data structure in the cache memory 11 is as shown in FIG. The data transmitted from the personal computer 2 by specifying the address (sector) and data length on the disk 4 in units of sectors is the data corresponding to 16 sectors in the cache memory 11 associated with the cluster to which the sector belongs at that time. Is stored in a location corresponding to the sector in the storage area (hereinafter referred to as a cache) 11 0 to 11 n .

例えば、そのときキャッシュメモリ11内ディスク上の「0」番のクラスタと対応付けられたキャッシュ11に既に「0」番のセクタのデータが格納されている状態において、次にパーソナルコンピュータ2から「5」番のセクタに対する書込要求が与えられた場合、「0」番のセクタ及び「5」番のセクタは同じ「0」番のクラスタに属することから、そのデータは、「0」番のクラスタと対応付けられたキャッシュ11における「5」番のセクタと対応付けられた位置に格納されることとなる。 For example, in the case a state in which data of a sector already in the cache 11 0 associated with number "0" of the cluster on the cache memory 11 disk number "0" is stored, then from the personal computer 2 " When a write request is given to the sector “5”, the sector “0” and the sector “5” belong to the same “0” cluster. It will be stored in the position associated with "5" number of sectors in the cache 11 0 associated with the cluster.

また、このようなキャッシュメモリ11へのデータの書き込みが行われると、その後そのデータは、クラスタ単位で(すなわちキャッシュ11〜11を単位として)キャッシュメモリ11から読み出されてストレージ部12に転送され、当該クラスタ単位でディスク4に記録される。 When data is written to the cache memory 11, the data is then read from the cache memory 11 in units of clusters (that is, in units of the caches 11 0 to 11 n ) and stored in the storage unit 12. The data is transferred and recorded on the disk 4 in units of the cluster.

この場合において、キャッシュメモリ11からデータが読み出されてストレージ部12に転送されている間は、中途半端に上書きされたデータがディスク4に書き込まれることを防止するために、そのデータが読み出されているキャッシュ11〜11へのデータの書き込みがロック(制限)される。同様に、パーソナルコンピュータ2からキャッシュメモリ11へのデータの転送が行われている間も、キャッシュメモリ11内のそのデータが格納されているキャッシュ11〜11からストレージ部12へのデータの読み出しがロックされる。そしていずれの場合も、その後データの転送が完了することで、かかるロックが解除される。 In this case, while the data is read from the cache memory 11 and transferred to the storage unit 12, the data is read out to prevent the data overwritten halfway from being written to the disk 4. has been that cache 11 write data to 0 to 11 n is locked (limited). Similarly, while data is being transferred from the personal computer 2 to the cache memory 11, data is read from the caches 11 0 to 11 n storing the data in the cache memory 11 to the storage unit 12. Is locked. In either case, the lock is released by completing the data transfer thereafter.

システムコントローラ13は、このようなキャッシュメモリ11の読書き制御を行うための手段として、図5に示すように、キャッシュメモリ11内の各キャッシュ11〜11にそれぞれ対応させて、16ビットのディスクアドレス欄20、2ビットのUSB入出力管理フラグ格納欄20、同じく2ビットの読出し/書込み管理フラグ格納欄20、1ビットの書込未完了フラグ格納欄20及び32ビットのファイル格納欄20が設けられたキャッシュ管理テーブル20をキャッシュ管理メモリ16(図1)内に有している。 As a means for performing such read / write control of the cache memory 11, the system controller 13 corresponds to each of the caches 11 0 to 11 n in the cache memory 11 as shown in FIG. disk address field 20 1, 2 USB output control flag storage field 20 of two bits, also 2-bit read / write control flag storage column 20 3, 1-bit write incompletion flag storage column 20 4 and 32-bit file cache management memory 16 to the cache management table 20 storage column 20 5 is provided has a (FIG. 1).

そしてシステムコントローラ13は、キャッシュメモリ11の各キャッシュ11〜11に格納されているデータを書き込むべきディスク4上のアドレス(セクタ)をキャッシュ管理テーブル20のディスクアドレス欄20に書き込んで管理すると共に、パーソナルコンピュータ2からそのキャッシュ11〜11へのデータの書き込みが行われている場合にはUSB入出力管理フラグ格納欄20に入力フラグを格納し、そのキャッシュ11〜11からパーソナルコンピュータ2へのデータの読み出しが行われている場合にはUSB入出力管理フラグ格納欄20に出力フラグを格納するようにして、そのキャッシュ11〜11へのパーソナルコンピュータ2によるデータの読み書きの有無を管理する。 The system controller 13 manages write disk 4 on the address to write the data stored in the cache 11 0 to 11 n of the cache memory 11 (sector) to the disk address field 20 1 of the cache management table 20 together, it stores the input flag to the USB output management flag storage column 20 2 when the writing of data from the personal computer 2 to the cache 11 0 to 11 n have been made, from the cache 11 0 to 11 n If the read data to the personal computer 2 is being carried out so as to store the output flag to the USB output management flag storage column 20 2, the data by the personal computer 2 to the cache 11 0 to 11 n Manages reading / writing.

またシステムコントローラ13は、そのキャッシュ11〜11に格納されたデータをストレージ部12に転送中である場合には読出し/書込み管理フラグ格納欄20に出力フラグを格納し、ディスク4に記録されたデータをそのキャッシュ11〜11に記録中である場合には読出し/書込み管理フラグ格納欄12に入力フラグを格納するようにして、そのキャッシュ11〜11に対するストレージ部12によるデータの読み書きの有無を管理する。 The system controller 13 stores the output flag to read / write control flag storage field 20 3 in the case is being transferred the data stored in the cache 11 0 to 11 n in the storage unit 12, recorded on the disk 4 data that if the cache 11 is recorded in the 0 to 11 n is so as to store the input flag to read / write control flag storage column 12 3, by the storage section 12 for that cache 11 0 to 11 n Manage whether data is read or written.

さらにシステムコントローラ13は、パーソナルコンピュータから転送されてそのキャッシュ11〜11に格納されているデータを未だディスク4に書き込んでいない状態のときに書込未完了フラグ格納欄20に書込み未完了フラグを格納するようにして、そのキャッシュ11〜11に格納されたデータのディスク4への記録の有無を管理すると共に、そのキャッシュ11〜11内にセクタ単位で有効なデータが格納されているときにファイルフラグ格納欄20にファイル格納フラグを格納するようにして、そのキャッシュ11〜11に有効なデータが格納されているか否かをセクタ単位で管理する。 Further, the system controller 13 is still writing unfinished write incompletion flag storage column 20 4 in a state that has not been written to the disk 4 the data stored is transferred to the cache 11 0 to 11 n from the personal computer The flag is stored to manage whether or not the data stored in the caches 11 0 to 11 n is recorded on the disk 4, and valid data is stored in the caches 11 0 to 11 n in units of sectors. so as to store the file storage flag in a file flag storage field 20 5 when being manages whether a valid data in the cache 11 0 to 11 n are stored in sectors.

かくしてシステムコントローラ13は、パーソナルコンピュータ2からディスク4上のアドレス(セクタ)及びデータ長を指定して書込み要求が与えられた場合、このキャッシュ管理テーブル20を参照して、そのアドレス(セクタ)を含むクラスタと対応付けられたキャッシュ11〜11が存在するか否かを判断すると共に、存在するときにはさらにそのキャッシュ11〜11に格納されたデータがストレージ部12に転送中であるか否かを判断する。そしてシステムコントローラ13は、このときそのキャッシュ11〜11に格納されたデータがストレージ部12に転送中であった場合には、かかるパーソナルコンピュータ2からの書込み要求を受け付けないようにして、そのキャッシュ11〜11へのパーソナルコンピュータ2からのデータの書き込みをロックする。 Thus, when a write request is given from the personal computer 2 by designating an address (sector) and data length on the disk 4, the system controller 13 refers to the cache management table 20 and includes the address (sector). It is determined whether or not the caches 11 0 to 11 n associated with the clusters exist, and if they exist, whether or not the data stored in the caches 11 0 to 11 n is being transferred to the storage unit 12. Determine whether. If the data stored in the caches 11 0 to 11 n is being transferred to the storage unit 12 at this time, the system controller 13 does not accept the write request from the personal computer 2 and The writing of data from the personal computer 2 to the caches 11 0 to 11 n is locked.

またシステムコントローラ13は、キャッシュメモリ11に格納されたデータをディスク4に書き込ませる際には、キャッシュ管理テーブル20に基づいて、そのときパーソナルコンピュータ2からのデータの書き込みが行われているキャッシュ11〜11を避けて、他のキャッシュ11〜11に格納されているデータをディスク4に書き込むようにキャッシュメモリ11及びストレージ部12を制御するようにして、そのキャッシュ11〜11へのパーソナルコンピュータ2からのデータの書き込みをロックする。 The system controller 13, the cache data stored in the memory 11 when causing written to disk 4, based on the cache management table 20, then the cache write data from the personal computer 2 is being carried out 11 0 avoiding to 11 n, and the data stored in another cache 11 0 to 11 n so as to control the cache memory 11 and the storage unit 12 to write to the disc 4, to the cache 11 0 to 11 n The writing of data from the personal computer 2 is locked.

このようにしてシステムコントローラ13は、キャッシュメモリ11からデータが読み出されてストレージ部12に転送されている間や、パーソナルコンピュータ2からキャッシュメモリ11へのデータの転送が行われている間にそのキャッシュからのデータの読み書きを行わないようにキャッシュ11〜11及びストレージ部12等を制御する。 In this way, the system controller 13 reads the data from the cache memory 11 and transfers it to the storage unit 12 or while transferring data from the personal computer 2 to the cache memory 11. The caches 11 0 to 11 n and the storage unit 12 are controlled so as not to read and write data from the cache.

ところで、パーソナルコンピュータ2のOS(Operating System)が例えばWindows(登録商標) XPのようにFATを用いてファイルを管理するものである場合、パーソナルコンピュータ2からディスク4へのファイルの書き込みを行う毎に、図6に示すように、
1.ディスク4に記録されているFAT1及びFAT2それぞれへの1セクタ分の書込み要求
2.ディスク4に記録されているディレクトリエントリへの2セクタ分の書込み要求
3.ディスク4へのファイルの実データの書込み要求
という3つの書込み要求が発生する。
By the way, when the OS (Operating System) of the personal computer 2 manages files using FAT such as Windows (registered trademark) XP, for example, every time the file is written from the personal computer 2 to the disk 4. As shown in FIG.
1. 1. Write request for one sector to each of FAT1 and FAT2 recorded on the disk 4 2. Write request for two sectors to the directory entry recorded on the disc 4 Three write requests such as a request to write actual data of a file to the disk 4 are generated.

従って、パーソナルコンピュータ2に保持された複数のファイルをディスク4に書き込む場合には、FATを含んでいるクラスタや、カレントディレクトリのディレクトリエントリが格納されているクラスタに対して頻繁に1又は2セクタ分のデータの書込み要求が発生することとなる。   Therefore, when writing a plurality of files held in the personal computer 2 to the disk 4, one or two sectors are frequently used for a cluster containing FAT or a cluster storing a directory entry of the current directory. The data write request is generated.

しかしながら、上述のようにキャッシュメモリ11からデータが読み出されてストレージ部12に転送されている間は、そのデータが格納されているキャッシュ11〜11へのデータの書き込みがロックされるため、図7に示すように、次の書込要求が同じクラスタに対してあった場合に、当該書込み処理が完了するまで次のパーソナルコンピュータ2からの書込み要求を待たせることとなる。 However, while the data is read from the cache memory 11 and transferred to the storage unit 12 as described above, writing of data to the caches 11 0 to 11 n storing the data is locked. As shown in FIG. 7, when the next write request is for the same cluster, the next write request from the personal computer 2 is made to wait until the write process is completed.

よって、パーソナルコンピュータ2からキャッシュメモリ11におけるFATを含むクラスタ等と対応付けられたキャッシュ11〜11へのデータの書き込みがあったときに、直ぐにこのキャッシュ11〜11のデータをディスク4に書き込む処理を開始するものとすると、かかるパーソナルコンピュータ2からの書込み要求を待たせる事態が多発する。 Therefore, from the personal computer 2 when there is data writing to the cache 11 0 to 11 n associated with cluster or the like including a FAT in the cache memory 11, immediately disc 4 the data in this cache 11 0 to 11 n Assuming that the process of writing data to is started, a situation in which a write request from the personal computer 2 is awaited frequently occurs.

さらに、データのディスク2への書込み処理が完了した後には、かかるパーソナルコンピュータ2からの書込み要求に応じて、キャッシュメモリ11のそのキャッシュ11〜11へのデータの書き込みを受け付けるため、当該キャッシュ11〜11に格納されたデータのディスク4への書込み処理を再度行わなければならず、効率が悪い問題がある。 Further, after the data write process to the disk 2 is completed, the cache memory 11 accepts data write to the caches 11 0 to 11 n in response to the write request from the personal computer 2. The data stored in 11 0 to 11 n must be written again to the disk 4, which has a problem of poor efficiency.

そこで、この記録再生装置1においては、キャッシュメモリ11の各キャッシュ11〜11のうち、このようなFATを含んでいるクラスタやカレントディレクトリのディレクトリエントリが格納されているクラスタを保持しているキャッシュ11〜11のように頻繁にアクセスされるキャッシュ11〜11については、そのキャッシュ11〜11に対してパーソナルコンピュータ2からのデータの書き込みが行われても直ぐにはそのデータのディスク4への書込み処理を行わずに、他のキャッシュ11〜11に格納されたデータのディスク4への書込み処理を優先するようにし、これにより上述のような書込みの待ちの発生を低減させ得るようになされている。 In view of this, the recording / reproducing apparatus 1 holds, among the caches 11 0 to 11 n of the cache memory 11, a cluster including such a FAT or a cluster in which a directory entry of the current directory is stored. For the caches 11 0 to 11 n that are frequently accessed, such as the caches 11 0 to 11 n , the data immediately after the data is written to the caches 11 0 to 11 n from the personal computer 2. The writing process to the disk 4 of the data stored in the other caches 11 0 to 11 n is prioritized without performing the writing process to the disk 4, thereby causing the above-described write waiting. It can be reduced.

具体的には、この記録再生装置1の場合、「頻繁にアクセスされるキャッシュ11〜11」を検出する手段として、図5に示すように、キャッシュ管理テーブル20には各キャッシュ11〜11とそれぞれ対応させて、カウンタ欄20及びカウンタフラグ格納欄20が設けられている。 Specifically, in the case of the recording and reproducing apparatus 1, as a means of detecting the "cache 11 0 to 11 n that are frequently accessed" as shown in FIG. 5, each of the cache 11 0 in the cache management table 20 respectively 11 n to correspond, the counter column 20 6 and the counter flag storage column 20 7 is provided.

そしてシステムコントローラ13は、2セクタ以内のデータの書込み要求を受け付ける毎に、そのデータを格納するキャッシュ11〜11と対応付けられたキャッシュ管理テーブル20内のカウンタ欄20に格納されたカウント値(初期値は「0」)を「1」だけカウントアップすると共に、このカウンタ欄20に格納されたカウント値が予め定められた閾値(例えば「3」)に達したときには、キャッシュ管理テーブル20の対応するカウンタフラグ格納欄20にこれを表すフラグを格納するようになされ、かくしてこのフラグに基づいて「頻繁にアクセスされるキャッシュ11〜11」を検出するようになされている。 The system controller 13, 2 for each receiving a data write request within the sector, the count stored in the counter field 20 6 of the cache 11 0-11 cache management table 20 that is associated with n for storing the data the value (initial value is "0") as well as incremented by "1", when the count value stored in the counter field 20 6 reaches a predetermined threshold value (e.g. "3"), the cache management table It adapted to store a flag indicating this to the corresponding counter flag storage field 20 7 of 20, thus being adapted to detect the "frequently accessed cache 11 0 to 11 n" on the basis of the flag.

実際上、システムコントローラ13は、このような「頻繁にアクセスされるキャッシュ11〜11」の検出を含むパーソナルコンピュータ2からのデータの書込み要求の受付け処理を図8に示す書込み要求受付処理手順RT1に従って実行する。 In practice, the system controller 13 performs the write request acceptance processing procedure shown in FIG. 8 for accepting the data write request from the personal computer 2 including the detection of the “frequently accessed caches 11 0 to 11 n ”. Execute according to RT1.

すなわちシステムコントローラ13は、パーソナルコンピュータ2からディスク4上のアドレス(セクタ)及びデータ長を指定した書込み要求が与えられるとこの書込み要求受付処理手順RT1をステップSP0において開始し、続くステップSP1において、かかるパーソナルコンピュータ2により指定されたセクタのセクタ番号から当該セクタが属するクラスタを算出する。   That is, when a write request designating an address (sector) and data length on the disk 4 is given from the personal computer 2, the system controller 13 starts this write request acceptance processing procedure RT1 in step SP0, and in subsequent step SP1 The cluster to which the sector belongs is calculated from the sector number of the sector designated by the personal computer 2.

続いてシステムコントローラ13は、ステップSP2に進んで、キャッシュ管理テーブル20の各ディスクアドレス格納欄20に記述されているアドレスに基づいて、既にキャッシュメモリ11内のいずれかのキャッシュ11〜11がステップSP1において算出したクラスタと対応付けられているか否かを判断する。 Then the system controller 13 proceeds to step SP2, based on the address described in the disk address storage field 20 1 of the cache management table 20, one of the cache 11 already in the cache memory 11 0 to 11 n Is associated with the cluster calculated in step SP1.

そしてシステムコントローラ13は、このステップSP2において肯定結果を得ると、ステップSP3に進んで、そのクラスタと対応付けられているキャッシュ11〜11のキャッシュ番号を取得した後ステップSP6に進む。 If the system controller 13 obtains a positive result in step SP2, the system controller 13 proceeds to step SP3, acquires the cache numbers of the caches 11 0 to 11 n associated with the cluster, and then proceeds to step SP6.

これに対してシステムコントローラ13は、ステップSP2において否定結果を得ると、ステップSP4に進んで、キャッシュ管理テーブル20に基づいて、既にそのキャッシュ11〜11に格納されたデータのディスク4への書込み処理が完了しており(キャッシュ管理テーブル20の対応する書込み未完了フラグ欄20に書込み未完了フラグが格納されておらず)、かつ現在データの読み書きが行われていない(キャッシュ管理テーブル20の対応するUSB入出力管理フラグ格納欄20及び読出し/書込み管理フラグ格納欄20のいずれにも入力フラグ又は出力フラグが格納されていない)キャッシュ11〜11を検索する。 On the other hand, when the system controller 13 obtains a negative result in step SP2, the system controller 13 proceeds to step SP4 and, based on the cache management table 20, transfers the data already stored in the caches 11 0 to 11 n to the disk 4. has write process is completed (not corresponding write incomplete flag in the write incompletion flag column 20 4 cache management table 20 are stored), and not performed read and write current data (cache management table 20 the corresponding USB output control flag storage column 20 2 and the input flag or output flag to either of the read / write control flag storage column 20 3 is not stored) to search for cache 11 0 to 11 n.

そしてシステムコントローラ13は、そのようなキャッシュ11〜11を検出すると、そのキャッシュ11〜11を、そのときパーソナルコンピュータ2から書込み要求が与えられたデータを格納すべきキャッシュ11〜11として割り当ててそのキャッシュ11〜11のキャッシュ番号を取得し、この後ステップSP5に進んで、キャッシュ管理テーブル20におけるそのキャッシュ11〜11と対応するカウンタ欄20に格納されているカウンタ値を「0」にした後、ステップSP6に進む。 The system controller 13 detects such a cache 11 0-11 n, the cache 11 0 to 11 n, the cache 11 0-11 to store the data write request is given from the personal computer 2 at that time assigned as n obtains the cache number of the cache 11 0 to 11 n, the process proceeds to step SP5 after this, is stored in the counter field 20 6 corresponding to the cache 11 0 to 11 n in the cache management table 20 After setting the counter value to “0”, the process proceeds to step SP6.

さらにシステムコントローラ13は、ステップSP6に進むと、そのときパーソナルコンピュータ2から与えられた書込み要求において指定されたデータ長が2セクタ以下であるか否かを判断する。   Further, when proceeding to step SP6, the system controller 13 determines whether or not the data length specified in the write request given from the personal computer 2 is 2 sectors or less.

そしてシステムコントローラ13は、このステップSP6において否定結果を得るとステップSP11に進み、これに対して肯定結果を得るとステップSP7に進んで、キャッシュ管理テーブル20におけるステップSP3又はステップSP4においてキャッシュ番号を取得したキャッシュ11〜11と対応付けられたカウンタフラグ欄20内にフラグが格納されているか否かを判断する。 If the system controller 13 obtains a negative result in step SP6, it proceeds to step SP11. If it obtains an affirmative result, it proceeds to step SP7, and acquires the cache number in step SP3 or step SP4 in the cache management table 20. flag to determine whether it is stored in the cache 11 0 to 11 n and the associated counter flag column 20 7.

そしてシステムコントローラ13は、このステップSP7において肯定結果を得るとステップSP11に進み、これに対して否定結果を得るとステップSP8に進んで、キャッシュ管理テーブル20におけるそのキャッシュ11〜11と対応付けられたカウンタ欄20に格納されているカウント値を「1」だけカウントアップさせ、この後ステップSP9に進んで、そのカウント値が予め定められた閾値に達したか否かを判断する。 If the system controller 13 obtains a positive result in step SP7, it proceeds to step SP11, and if it obtains a negative result, it proceeds to step SP8 and associates it with the caches 11 0 to 11 n in the cache management table 20. the count value stored in the counter field 20 6 which is then incremented by "1", the process proceeds to the following step SP9, it is determined whether reached its threshold count value is determined in advance.

かくしてシステムコントローラ13は、このステップSP9において否定結果を得るとステップSP11に進み、これに対して肯定結果を得るとステップSP10に進んで、キャッシュ管理テーブル20のそのキャッシュ11〜11と対応付けられたカウンタフラグ格納欄20にフラグを格納した後、ステップSP11に進む。 Thus, if the system controller 13 obtains a negative result in this step SP9, it proceeds to step SP11, and if it obtains an affirmative result, it proceeds to step SP10 and associates with the caches 11 0 to 11 n of the cache management table 20. after storing the flag in the counter flag storage column 20 7 which is, proceeds to step SP11.

そしてシステムコントローラ13は、ステップSP11に進むと、キャッシュ管理テーブル20におけるそのキャッシュ11〜11と対応付けられたUSB入出力フラグ格納欄20に入力フラグを格納することにより、そのキャッシュ11〜11に対する他の読書き処理をロックする。 The system controller 13 proceeds to step SP11, by storing the input flag to the USB output flag storage column 20 2 associated with the cache 11 0 to 11 n in the cache management table 20, the cache 11 0 ~ 11 Lock other read / write operations for n .

続いてシステムコントローラ13は、ステップSP12に進んで、そのキャッシュ11〜11に対するパーソナルコンピュータ2からのデータの転送が終了するのを待ち受け、やがて当該データの転送が終了するとステップSP13に進んで、キャッシュ管理テーブル20におけるそのキャッシュ11〜11と対応付けられたUSB入出力フラグ格納欄20に格納された入力フラグを取り下げることにより、そのキャッシュ11〜11のロックを解除する。そしてシステムコントローラ13は、この後ステップSP14に進んで、この書込み要求受付処理手順RT1を終了する。 Subsequently, the system controller 13 proceeds to step SP12 and waits for the completion of data transfer from the personal computer 2 to the caches 11 0 to 11 n. When the data transfer ends, the process proceeds to step SP13. by withdrawing the input flag stored the cache 11 0 to 11 n to the USB output flag storage column 20 2 associated with the cache management table 20, to unlock the cache 11 0 to 11 n. Then, the system controller 13 proceeds to step SP14 and ends this write request acceptance processing procedure RT1.

一方、システムコントローラ13は、このようなパーソナルコンピュータ14からの書込み要求に対するデータの受付け処理と並行してキャッシュメモリ11からディスク4への記録処理を実行するが、このとき図9に示すディスク書込み処理手順RT2に従い、キャッシュ管理テーブル20を参照して、ディスク4に書き込むべきデータを保持しているキャッシュ11〜11(すなわちキャッシュ管理テーブル20の書込未完了フラグ格納欄20に書込未完了フラグが格納されているキャッシュ11〜11)のうち、カウンタフラグ格納欄20にフラグが格納されていないキャッシュ11〜11に格納されているデータを優先的にディスク4に書き込ませる。 On the other hand, the system controller 13 executes a recording process from the cache memory 11 to the disk 4 in parallel with the data receiving process in response to the write request from the personal computer 14, and at this time, the disk write process shown in FIG. Following the procedure RT2, by referring to the cache management table 20, the cache 11 0 to 11 n (i.e. the write incompletion flag storage column 20 4 of the cache management table 20 that holds data to be written to the disk 4 Shokomihitsuji completion flag is one of the cache 11 0 to 11 n) that is stored, write the data in the counter flag storage field 20 7 flag is stored in the cache 11 0 to 11 n that are not stored in the preferentially disk 4 Make it.

すなわちシステムコントローラ13は、例えばパーソナルコンピュータ2からの書込み要求が与えられるとこのディスク書込み処理手順RT2をステップSP20において開始し、続くステップSP21において、キャッシュ管理テーブル20に基づいて、対応するカウンタフラグ格納欄20にフラグが格納されていないキャッシュ11〜11のうち、ディスク4に書き込むべきデータを保持しているキャッシュ11〜11を検索する。 That is, for example, when a write request is given from the personal computer 2, the system controller 13 starts this disk write processing procedure RT2 in step SP20, and in the subsequent step SP21, based on the cache management table 20, the corresponding counter flag storage column is started. 20 7 out of the cache 11 0 to 11 n that flag is not stored in, search for cache 11 0 to 11 n which holds the data to be written to the disk 4.

続いてシステムコントローラ13は、ステップSP22に進んで、キャッシュ管理テーブル20の対応するカウンタフラグ格納欄20にフラグが格納されていないキャッシュ11〜11のうち、ディスク4に記録すべきデータを保持しているものが存在したか否かを判断する。 Subsequently, the system controller 13 proceeds to step SP22, among corresponding counter flag storage field 20 7 cache 11 0-11 flag is not stored in the n of the cache management table 20, data to be recorded on the disk 4 It is determined whether or not there is what is held.

そしてシステムコントローラ13は、このステップSP22において肯定結果を得るとステップSP26に進み、これに対して否定結果を得るとステップSP23に進んで、キャッシュ管理テーブル20の対応するカウンタフラグ格納欄20にフラグが格納されているキャッシュ11〜11のうち、ディスク4に書き込むべきデータを保持しているキャッシュ11〜11を検索する。 Then the system controller 13 proceeds to step SP26 upon obtaining a positive result at step SP22, proceeds to the step SP23 yields a negative result, the flag in the corresponding counter flag storage field 20 7 of the cache management table 20 There one of the cache 11 0 to 11 n that are stored, retrieves the cache 11 0 to 11 n which holds the data to be written to the disk 4.

続いてシステムコントローラ13は、ステップSP24に進んで、キャッシュ管理テーブル20の対応するカウンタフラグ格納欄20にフラグが格納されているキャッシュ11〜11のうち、ディスク4に記録すべきデータを保持しているものが存在したか否かを判断する。 Subsequently, the system controller 13 proceeds to step SP24, among corresponding counter flag storage field 20 7 cache 11 0 to 11 n which flag is stored in the cache management table 20, data to be recorded on the disk 4 It is determined whether or not there is what is held.

ここでこのステップSP24において否定結果を得ることは、キャッシュメモリ11内の各キャッシュ11〜11にそれぞれ格納されたデータのすべてをディスク4に書き込み終えたことを意味する。かくしてこのときシステムコントローラ13は、ステップSP25に進んで、このディスク書込み処理手順RT2を終了する。 Here, obtaining a negative result in step SP24 means that all of the data respectively stored in the caches 11 0 to 11 n in the cache memory 11 has been written to the disk 4. Thus, at this time, the system controller 13 proceeds to step SP25, and ends this disk write processing procedure RT2.

これに対してステップSP24において肯定結果を得ることは、キャッシュメモリ11内のいずれかのキャッシュ11〜11に格納されたデータを未だディスク4に書き込み終えていないことを意味する。かくしてこのときシステムコントローラ13は、ステップSP26に進んで、キャッシュ管理テーブル20に基づいて、そのキャッシュ11〜11が、パーソナルコンピュータ2との間でのデータの読み書き以外の他の読書き処理がロックされているか否か(キャッシュ管理テーブル20の対応するUSB入出力フラグ格納欄20に入力フラグ又は出力フラグのいずれかが格納されているか否か)を判断する。 On the other hand, obtaining a positive result in step SP24 means that the data stored in any one of the caches 11 0 to 11 n in the cache memory 11 has not yet been written to the disk 4. Thus, at this time, the system controller 13 proceeds to step SP26, and based on the cache management table 20, the caches 11 0 to 11 n perform other read / write processes other than data read / write with the personal computer 2. determines whether it is locked (whether either the input flag or output flag corresponding to the USB output flag storage section 20 2 of the cache management table 20 are stored).

そしてシステムコントローラ13は、このステップSP26において否定結果を得るとステップSP21に戻り、これに対して肯定結果を得るとステップSP27に進んで、そのキャッシュ11〜11と対応付けられたキャッシュ管理テーブル20の読出し/書込み管理フラグ格納欄20に出力フラグを格納することにより、そのキャッシュ11〜11に対する他の読書き処理をロックする一方、その後キャッシュメモリ11及びストレージ部12を制御することにより、そのキャッシュ11〜11に格納されているデータをストレージ部12に転送させてディスク4内のパーソナルコンピュータ2により指定されたアドレス(クラスタ)に書き込ませる。 If the system controller 13 obtains a negative result in step SP26, it returns to step SP21, and if it obtains an affirmative result, it proceeds to step SP27 and cache management table associated with the caches 11 0 to 11 n. by storing output flag to read / write control flag storage field 20 3 of 20, while locking the processing-out other reading for that cache 11 0 to 11 n, to then control the cache memory 11 and the storage section 12 As a result, the data stored in the caches 11 0 to 11 n is transferred to the storage unit 12 and written to the address (cluster) designated by the personal computer 2 in the disk 4.

そしてシステムコントローラ13は、この後ステップSP28に進んで、かかるキャッシュ11〜11に格納されたデータのストレージ部12への転送が完了するのを待ち受け、やがて当該転送が完了するとステップSP29に進んで、キャッシュ管理テーブル20のそのキャッシュ11〜11と対応付けられた読出し/書込み管理フラグ格納欄20に格納されている出力フラグを降ろすことにより、そのキャッシュ11〜11への他の読書き処理のロックを解除する。 Then, the system controller 13 proceeds to step SP28 and waits for the transfer of the data stored in the caches 11 0 to 11 n to the storage unit 12 to be completed. When the transfer is completed, the process proceeds to step SP29. in other by unloading the output flag stored in the cache 11 0 to 11 n and the associated read / write control flag storage field 20 3 of the cache management table 20, to the cache 11 0 to 11 n Unlock the reading / writing process of.

さらにシステムコントローラ13は、その後ステップSP30に進んで、キャッシュ管理テーブル20のそのキャッシュ11〜11と対応付けられたカウンタフラグ格納欄20に格納されているフラグを降ろし、その後ステップSP31に進んで、当該キャッシュ11〜11と対応付けられたキャッシュ管理テーブル20のカウンタ欄20に格納されているカウンタ値が0よりも大きいか否かを判断する。 Further, the system controller 13 then proceeds to step SP30, down the flag stored in the counter flag storage column 20 7 associated with the cache 11 0 to 11 n of the cache management table 20, then proceeds to step SP31 in, it is determined whether the counter value stored in the counter field 20 6 of the cache 11 0-11 cache management table 20 that is associated with the n is greater than 0.

そしてシステムコントローラ13は、このステップSP31において肯定結果を得るとステップSP21に戻り、これに対して肯定結果を得るとステップSP32に進んで、キャッシュ管理テーブル20のそのキャッシュ11〜11と対応付けられたカウンタ欄20内に格納されているカウンタ値を「1」だけ下げた後、ステップSP21に戻る。 If the system controller 13 obtains an affirmative result in step SP31, it returns to step SP21. If it obtains an affirmative result, it proceeds to step SP32 and associates it with the caches 11 0 to 11 n of the cache management table 20. the resulting counter column 20 counter value stored in the 6 after lowering by "1", the flow returns to step SP21.

そしてシステムコントローラ13は、この後ステップSP24において肯定結果を得るまで、ステップSP21〜ステップSP24及びステップSP26〜ステップSP32について同様の処理を繰り返す。   The system controller 13 thereafter repeats the same processing for step SP21 to step SP24 and step SP26 to step SP32 until a positive result is obtained in step SP24.

このようにしてシステムコントローラ13は、頻繁にアクセスされるキャッシュ11〜11に格納されたデータに優先して、他のキャッシュ11〜11に格納されたデータをディスク4に書き込ませるようになされている。 In this way, the system controller 13 causes the data stored in the other caches 11 0 to 11 n to be written to the disk 4 in preference to the data stored in the frequently accessed caches 11 0 to 11 n. Has been made.

(3)本実施の形態の動作及び効果
以上の構成において、キャッシュメモリ11の各キャッシュ11〜11について、パーソナルコンピュータ2から2セクタ以上のデータの書込み要求を受け付けた回数をカウントし、このカウント値に基づいて、キャッシュメモリ11に一時記憶されたデータをストレージ部12に転送してディスク4に書き込む際にそのキャッシュ11〜11が「頻繁にアクセスされるキャッシュ11〜11」であるか否かの判定を行い、該当する場合にはそのキャッシュ11〜11に格納されたデータに優先して、他のキャッシュ11〜11に格納されたデータをストレージ部12に転送してディスク4に記録する。
(3) Operation and effect of the present embodiment In the above configuration, the number of data write requests received from the personal computer 2 for each of the caches 11 0 to 11 n of the cache memory 11 is counted. When the data temporarily stored in the cache memory 11 is transferred to the storage unit 12 and written to the disk 4 based on the count value, the caches 11 0 to 11 n become “frequently accessed caches 11 0 to 11 n ”. a judgment of whether or not, where applicable in preference to the data stored in the cache 11 0 to 11 n, the data stored in another cache 11 0 to 11 n in the storage section 12 Transfer and record on disk 4.

従って、この記録再生装置1では、例えばFATを含んでいるクラスタや、カレントディレクトリのディレクトリエントリが格納されているクラスタと対応付けられたキャッシュ11〜11に保持されたデータをストレージ部12に転送する際の当該キャッシュ11〜11のロックが抑制されるため、パーソナルコンピュータ2からのそのキャッシュ11〜11に対する書込み要求を待たせる頻度を格段的に低減させることができ、またそのようなキャッシュ11〜11に保持されたデータのディスク4への書込み効率を向上させることができる。 Therefore, in the recording / reproducing apparatus 1, for example, data held in the caches 11 0 to 11 n associated with the cluster including the FAT or the cluster storing the directory entry of the current directory is stored in the storage unit 12. Since the lock of the caches 11 0 to 11 n at the time of transfer is suppressed, the frequency of waiting for a write request from the personal computer 2 to the caches 11 0 to 11 n can be significantly reduced. It is possible to improve the writing efficiency of the data held in the caches 11 0 to 11 n to the disk 4.

またこの記録再生装置1では、このようなキャッシュ11〜11に保持されたデータをディスク4に記録した後に、キャッシュ管理テーブル20の当該キャッシュ11〜11と対応付けられたカウンタ欄20に格納されているカウンタ値を初期化することなく、1だけ下げるようにしているため、この後再度そのキャッシュ11〜11に対してパーソナルコンピュータ2から2セクタ以上のデータの書込み要求があった場合に直ちにキャッシュ管理テーブル20の対応するカウンタフラグ格納欄20にフラグが格納されることとなり、キャッシュメモリ11のキャッシュとしての本来の役割である、頻繁にアクセスされるデータを残すという機能を格段的に向上させることができる。 In the recording / reproducing apparatus 1, after data stored in the caches 11 0 to 11 n is recorded on the disk 4, the counter column 20 associated with the caches 11 0 to 11 n of the cache management table 20 is recorded. Since the counter value stored in 6 is reduced by 1 without being initialized, a request for writing data of 2 sectors or more from the personal computer 2 to the caches 11 0 to 11 n is performed again thereafter. flag corresponding counter flag storage field 20 7 immediately cache management table 20 when there will be is stored, function of leaving an original role as a cache of the cache memory 11, the data that is frequently accessed Can be significantly improved.

以上の構成によれば、キャッシュメモリ11の各キャッシュ11〜11について、パーソナルコンピュータ2から2セクタ以上のデータの書込み要求を受け付けた回数をカウントし、このカウント値に基づいてそのキャッシュ11〜11が「頻繁にアクセスされるキャッシュ11〜11」に該当する場合には、そのキャッシュ11〜11に格納されたデータに優先して、他のキャッシュ11〜11に格納されたデータをストレージ部12に転送してディスク4に記録するようにしたことにより、パーソナルコンピュータ2からのそのキャッシュ11〜11に対する書込み要求を待たせる頻度を格段的に低減させることができると共に、そのようなキャッシュ11〜11に保持されたデータのディスク4への書込み効率を向上させることができ、かくして記録再生装置1のストレージデバイスとしてのデータ転送速度を向上させることができる。 According to the above configuration, for each of the caches 11 0 to 11 n of the cache memory 11, the number of times data write requests for two or more sectors are received from the personal computer 2 is counted, and the cache 11 0 is based on this count value. If the to 11 n corresponds to the "frequently accessed cache 11 0 to 11 n 'is in preference to the cache 11 0 to 11 n are stored in the data, the other cache 11 0 to 11 n By transferring the stored data to the storage unit 12 and recording it on the disk 4, the frequency of waiting for a write request to the caches 11 0 to 11 n from the personal computer 2 can be significantly reduced. it is possible, di of the data held in such cache 11 0 to 11 n Writing efficiency to the disk 4 can be improved, and thus the data transfer speed of the recording / reproducing apparatus 1 as a storage device can be improved.

(4)他の実施の形態
なお上述の実施の形態においては、本発明を現行MDと、上述した第1及び第2の次世代MDとに対応した記録再生装置に適用するようにした場合について述べたが、本発明はこれに限らず、これ以外の記録媒体に対応した記録装置に広く適用することができる。
(4) Other Embodiments In the above-described embodiment, the present invention is applied to the recording / reproducing apparatus corresponding to the current MD and the first and second next-generation MDs described above. As described above, the present invention is not limited to this, and can be widely applied to recording apparatuses compatible with other recording media.

また上述の実施の形態においては、外部機器としてのパーソナルコンピュータ2から転送されるデータを一時記憶する一時記憶手段としてD−RAMからなるキャッシュメモリ11を適用するようにした場合について述べたが、本発明はこれに限らず、メモリ以外の種々のデバイスを広く適用することができる。   In the above-described embodiment, the case where the cache memory 11 composed of D-RAM is applied as temporary storage means for temporarily storing data transferred from the personal computer 2 as an external device has been described. The invention is not limited to this, and various devices other than the memory can be widely applied.

さらに上述の実施の形態においては、キャッシュメモリ11におけるパーソナルコンピュータ2から2セクタ以内のデータの書込み要求を受け付けた回数が閾値以上のキャッシュ11〜11を「頻繁にアクセスされるキャッシュ11〜11」と判定するようにした場合について述べたが、本発明はこれに限らず、かかる「頻繁にアクセスされるキャッシュ11〜11」の判定基準としてこれ以外の判定基準を適用するようにしても良い。 Further, in the above-described embodiment, the caches 11 0 to 11 n whose number of data write requests within two sectors within the cache memory 11 are received from the personal computer 2 are equal to or greater than a threshold value are referred to as “frequently accessed caches 110 to 11 n ”has been described, but the present invention is not limited to this, and other determination criteria may be applied as the determination criteria for such“ frequently accessed caches 11 0 to 11 n ”. Anyway.

さらに上述の実施の形態においては、システムコントローラ13が、キャッシュメモリ11の各キャッシュ11〜11に対するパーソナルコンピュータ2のアクセス頻度として、当該キャッシュ11〜11に対するパーソナルコンピュータ2からのデータの書込み要求を受け付けた回数を検出するようにした場合について述べたが、本発明はこれに限らず、例えば書込み要求が与えられる時間間隔や、単位時間当たりの回数をアクセス頻度として検出するようにしても良い。 Furthermore, in the above-described embodiment, the system controller 13, as the access frequency of the personal computer 2 for each cache 11 0 to 11 n of the cache memory 11, the data from the personal computer 2 with respect to the cache 11 0 to 11 n write Although the case where the number of received requests is detected has been described, the present invention is not limited to this. For example, the time interval at which a write request is given or the number of times per unit time may be detected as the access frequency. good.

さらに上述の実施の形態においては、例えばFATを含んでいるクラスタや、カレントディレクトリのディレクトリエントリが格納されているクラスタと対応付けられたキャッシュ11〜11に保持されたデータをストレージ部12に転送してディスク4に記録した後にキャッシュ管理テーブル20における対応するカウンタ欄20に格納されたカウンタ値を1だけ下げるようにした場合について述べたが、本発明はこれに限らず、2以上下げるようにしても良い。 Further, in the above-described embodiment, for example, the data held in the caches 11 0 to 11 n associated with the cluster including the FAT or the cluster storing the directory entry of the current directory is stored in the storage unit 12. it has dealt with the case where the lower the corresponding counter field 20 6 stored in the counter values in the transfer to the cache management table 20 after recording on the disc 4 by one, the present invention is not limited to this, lowered 2 or more You may do it.

本発明は、光磁気ディスクにデータを記録再生する記録再生装置の他、種々のディスクメディアにデータを記録再生する記録再生装置に適用することができる。   The present invention can be applied to a recording / reproducing apparatus for recording / reproducing data on various disk media in addition to a recording / reproducing apparatus for recording / reproducing data on / from a magneto-optical disk.

本実施の形態による記録再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the recording / reproducing apparatus by this Embodiment. 第1の次世代MDのディスク構成及びデータフォーマットを示す平面図及び概念図である。It is the top view and conceptual diagram which show the disk structure and data format of 1st next generation MD. 第2の次世代MDのディスク構成及びデータフォーマットを示す平面図及び概念図である。It is the top view and conceptual diagram which show the disk structure and data format of 2nd next generation MD. キャッシュメモリにおけるデータ管理方法の説明に供する概念図である。It is a conceptual diagram with which it uses for description of the data management method in a cache memory. キャッシュ管理テーブルの説明に供する概念図である。It is a conceptual diagram with which it uses for description of a cache management table. パーソナルコンピュータからの書込み要求例を示す図表である。It is a graph which shows the example of a write request from a personal computer. キャッシュのロックの説明に供する概念図である。It is a conceptual diagram with which it uses for description of the lock of a cache. 書込み要求受付処理手順を示すフローチャートである。It is a flowchart which shows a write request reception process procedure. ディスク書込み処理手順を示すフローチャートである。It is a flowchart which shows a disk writing processing procedure.

符号の説明Explanation of symbols

1……記録再生装置、2……パーソナルコンピュータ、4……ディスク、11……キャッシュメモリ、11〜11……キャッシュ、12……ストレージ部、13……システムコントローラ、16……キャッシュ管理メモリ、20……キャッシュ管理テーブル、RT1……書込み要求受付処理手順、RT2……ディスク書込み処理手順。
1 ...... recording and reproducing apparatus, 2 ...... personal computer, 4 ...... disk, 11 ...... cache memory, 11 0 to 11 n ...... cache, 12 ...... storage unit, 13 ...... system controller, 16 ...... cache management Memory 20... Cache management table, RT1... Write request acceptance processing procedure, RT2.

Claims (8)

外部機器から第1のデータ単位で転送されるデータを一時記憶する一時記憶手段を有し、当該一時記憶手段に一時記憶した上記データを第2のデータ単位で読み出して記録媒体に記録する記録装置において、
上記一時記憶手段から読み出されて転送される上記第2のデータ単位の上記データを上記記録媒体に記録する記録手段と、
上記一時記憶手段及び又は上記記録手段を制御する制御手段と
を具え、
上記制御手段は、
上記一時記憶手段における上記データを上記第2のデータ単位で一時記憶する各記憶領域に対する上記外部機器からのアクセス頻度を検出し、上記アクセス頻度が所定の閾値以上の上記記憶領域に保持された上記データに優先して、上記アクセス頻度が上記閾値よりも少ない上記記憶領域に保持された上記データを上記記録媒体に記録するように、上記一時記憶手段及び又は上記記録手段を制御する
ことを特徴とする記録装置。
A recording apparatus having temporary storage means for temporarily storing data transferred from an external device in a first data unit, and reading the data temporarily stored in the temporary storage means in a second data unit and recording it on a recording medium In
Recording means for recording the data of the second data unit read and transferred from the temporary storage means on the recording medium;
A control means for controlling the temporary storage means and / or the recording means,
The control means includes
The access frequency from the external device to each storage area for temporarily storing the data in the temporary storage means in the second data unit is detected, and the access frequency is held in the storage area having a predetermined threshold value or more. Prior to data, the temporary storage means and / or the recording means are controlled so as to record the data held in the storage area where the access frequency is lower than the threshold value on the recording medium. Recording device.
上記制御手段は、
上記一時記憶手段の各上記記憶領域に対する上記外部機器からの上記アクセス頻度として、当該記憶領域に対する上記外部機器からの上記データの書込み要求を受け付けた回数を検出する
ことを特徴とする請求項1に記載の記録装置。
The control means includes
The number of times of receiving the data write request from the external device to the storage area is detected as the access frequency from the external device to each storage area of the temporary storage unit. The recording device described.
上記第1のデータ単位は、セクタであり、
上記第2のデータ単位は、クラスタであり、
上記制御手段は、
上記一時記憶手段の各上記記憶領域に対する上記外部機器からの上記アクセス頻度として、当該記憶領域に対する上記外部機器からの2セクタ以内の上記データの上記書込み要求を受け付けた回数を検出する
ことを特徴とする請求項2に記載の記録装置。
The first data unit is a sector;
The second data unit is a cluster,
The control means includes
As the access frequency from the external device to each storage area of the temporary storage means, the number of times that the write request for the data within two sectors from the external device to the storage area is received is detected. The recording apparatus according to claim 2.
上記制御手段は、
上記アクセス頻度が所定の閾値以上の上記記憶領域に保持された上記データを上記記録媒体に記録したときは、当該記憶領域に対する上記外部機器からの2セクタ以内の上記データの上記書込み要求を受け付けた回数のカウント値を所定数下げる
ことを特徴とする請求項2に記載の記録装置。
The control means includes
When the data held in the storage area with the access frequency equal to or higher than a predetermined threshold is recorded on the recording medium, the write request for the data within two sectors from the external device to the storage area is accepted. The recording apparatus according to claim 2, wherein the count value of the number of times is lowered by a predetermined number.
外部機器から第1のデータ単位で転送されるデータを一時記憶手段に一時記憶し、当該データを第2のデータ単位で上記一時記憶手段から読み出して記録媒体に記録する記録方法において、
上記一時記憶手段の上記データを上記第2のデータ単位で一時記憶する各記憶領域に対する上記外部機器からのアクセス頻度を検出する第1のステップと、
上記アクセス頻度が所定の閾値以上の上記記憶領域に保持された上記データに優先して、上記アクセス頻度が上記閾値よりも少ない上記記憶領域に保持された上記データを上記記録媒体に記録する第2のステップと
を具えることを特徴とする記録方法。
In a recording method in which data transferred from an external device in a first data unit is temporarily stored in a temporary storage unit, and the data is read from the temporary storage unit in a second data unit and recorded on a recording medium.
A first step of detecting an access frequency from the external device to each storage area for temporarily storing the data in the temporary storage unit in the second data unit;
The data stored in the storage area having the access frequency less than the threshold is recorded on the recording medium in preference to the data held in the storage area having the access frequency equal to or higher than a predetermined threshold. A recording method comprising the steps of:
上記第1のステップでは、
上記一時記憶手段の各上記記憶領域に対する上記外部機器からの上記アクセス頻度として、当該記憶領域に対する上記外部機器からの上記データの書込み要求を受け付けた回数を検出する
ことを特徴とする請求項5に記載の記録方法。
In the first step,
6. The number of times of receiving the data write request from the external device to the storage area is detected as the access frequency from the external device to each storage area of the temporary storage unit. The recording method described.
上記第1のデータ単位は、セクタであり、
上記第2のデータ単位は、クラスタであり、
上記第1のステップでは、
上記一時記憶手段の各上記記憶領域に対する上記外部機器からの上記アクセス頻度として、当該記憶領域に対する上記外部機器からの2セクタ以内の上記データの上記書込み要求を受け付けた回数を検出する
ことを特徴とする請求項6に記載の記録方法。
The first data unit is a sector;
The second data unit is a cluster,
In the first step,
As the access frequency from the external device to each storage area of the temporary storage means, the number of times that the write request for the data within two sectors from the external device to the storage area is received is detected. The recording method according to claim 6.
上記第2のステップでは、
上記アクセス頻度が所定の閾値以上の上記記憶領域に保持された上記データを上記記録媒体に記録したときは、当該記憶領域に対する上記外部機器からの2セクタ以内の上記データの上記書込み要求を受け付けた回数のカウント値を所定数下げる
ことを特徴とする請求項6に記載の記録方法。
In the second step,
When the data held in the storage area with the access frequency equal to or higher than a predetermined threshold is recorded on the recording medium, the write request for the data within two sectors from the external device to the storage area is accepted. The recording method according to claim 6, wherein the count value of the number of times is lowered by a predetermined number.
JP2004135611A 2004-04-30 2004-04-30 Recording device and method Pending JP2005316835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004135611A JP2005316835A (en) 2004-04-30 2004-04-30 Recording device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004135611A JP2005316835A (en) 2004-04-30 2004-04-30 Recording device and method

Publications (1)

Publication Number Publication Date
JP2005316835A true JP2005316835A (en) 2005-11-10

Family

ID=35444172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004135611A Pending JP2005316835A (en) 2004-04-30 2004-04-30 Recording device and method

Country Status (1)

Country Link
JP (1) JP2005316835A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241576A (en) * 2006-03-07 2007-09-20 Matsushita Electric Ind Co Ltd Nonvolatile storage device and data writing method
US8035828B2 (en) 2006-12-19 2011-10-11 Canon Kabushiki Kaisha Apparatus, method, and program product using same window for designating print settings for entire print job and specific pages

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241576A (en) * 2006-03-07 2007-09-20 Matsushita Electric Ind Co Ltd Nonvolatile storage device and data writing method
US8035828B2 (en) 2006-12-19 2011-10-11 Canon Kabushiki Kaisha Apparatus, method, and program product using same window for designating print settings for entire print job and specific pages

Similar Documents

Publication Publication Date Title
WO2004109686A1 (en) Content data transmission system and content data transmission method
US7426158B2 (en) Management method and apparatus for a mini disc having recorded index audio data
US7203147B2 (en) Storage medium initialization method, and recording and reproducing method and apparatus
JP4265527B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND CONTENT RECORDING METHOD
US7301856B2 (en) Reproduction method and apparatus, and recording method and apparatus
KR20050083549A (en) Data edition method and data edition device
JP3888353B2 (en) Data editing apparatus and data editing method
JP2005316835A (en) Recording device and method
JP2005044465A (en) Recording device and method
JP2005322004A (en) Data cache device
US7110328B2 (en) Recording and reproducing apparatus for recording and reproducing information to and from a magneto-optical storage medium
JP2006114199A (en) Recording and reproducing apparatus and method thereof
JP4269841B2 (en) Recording apparatus and method
JP2005322308A (en) Device and method for recording/reproducing
JP4214886B2 (en) Recording apparatus, recording method, recording program, and recording medium
JP2006040408A (en) Information processor and its setting method
JP2005302072A (en) Recording/reproducing device and management information readout method
JP2005196882A (en) Disk type recording medium, data recording apparatus, data recording method, data reproducing apparatus, and data reproducing method
JP2005339695A (en) Recording and reproducing device and method
JP2005032379A (en) Device and method for recording
JP4228857B2 (en) Recording apparatus, reproducing apparatus and recording / reproducing apparatus
JP2005322309A (en) Recording device and method
JP2005317148A (en) Data recording device and method, data reproducing device and method
JP2005228380A (en) Reproducing device
JP2005018842A (en) Reproducing device and method