JP2005322308A - Device and method for recording/reproducing - Google Patents

Device and method for recording/reproducing Download PDF

Info

Publication number
JP2005322308A
JP2005322308A JP2004139259A JP2004139259A JP2005322308A JP 2005322308 A JP2005322308 A JP 2005322308A JP 2004139259 A JP2004139259 A JP 2004139259A JP 2004139259 A JP2004139259 A JP 2004139259A JP 2005322308 A JP2005322308 A JP 2005322308A
Authority
JP
Japan
Prior art keywords
data
recording
read request
external device
temporary storage
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
JP2004139259A
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 JP2004139259A priority Critical patent/JP2005322308A/en
Publication of JP2005322308A publication Critical patent/JP2005322308A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device for recording/reproducing, capable of improving a data transfer rate as a storage device. <P>SOLUTION: This device is provided with temporary storage means for temporarily storing data, and designed to record data transmitted from an external device by the temporary storing means, or to transmit data reproduced from a recording medium to the external device by the temporary storage means. When a writing/reading request is given from the external device, a free space is detected in the temporary storing means. When the free space is equal to or less than a predetermined threshold value, the temporary storage means or recording/reproducing means is controlled to secure the free space in the temporary storage means, and a response is made to the writing/reading request from the external device immediately before the passage of waiting time for a response to the writing/reading request preset in the external device. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、記録再生装置及び方法に関し、特に外部機器から与えられるデータをバッファリングするためのキャッシュメモリを有する記録再生装置に適用して好適なものである。   The present invention relates to a recording / reproducing apparatus and method, and is particularly suitable for application 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, in general, in a computer data storage device using a disk medium as a recording medium, a cache memory for buffering data transferred from a personal computer is provided therein, and the data from the computer is stored in the cache. A technique is employed in which data is temporarily stored in a memory and then recorded on a disk medium at a predetermined timing.

そしてこのようなデータストレージ機器においては、パーソナルコンピュータからの書込み要求及び読出し要求に対しては、可能な限り早く応答することが望ましいとされている。   In such a data storage device, it is desirable to respond to a write request and a read request from a personal computer as soon as possible.

この場合データストレージ機器は、パーソナルコンピュータのホストからの書込み要求及び読出し要求に対して可能な限り早く応答して、当該データストレージ機器内のキャッシュメモリ内への書込み又はキャッシュメモリ内からの読み出しを行うことで、パーソナルコンピュータ及びデータストレージ機器間のスループットを向上させることによって、ストレージデバイスとしてのデータ転送速度を向上し得るようになされている。   In this case, the data storage device responds to the write request and read request from the host of the personal computer as soon as possible, and writes to or reads from the cache memory in the data storage device. Thus, the data transfer speed as a storage device can be improved by improving the throughput between the personal computer and the data storage device.

しかしながらキャッシュメモリ内にデータが大量に蓄積されている場合においては、データストレージ機器は、パーソナルコンピュータからの新たな書込み要求又は読出し要求の際に、それらを処理するための記憶領域をキャッシュメモリ内に確保できないことがある。   However, when a large amount of data is stored in the cache memory, the data storage device stores a storage area in the cache memory for processing a new write request or read request from the personal computer. It may not be secured.

そのためデータストレージ機器は、このような場合にはパーソナルコンピュータからの要求を処理するための記憶領域を確保するため、キャッシュメモリ内の記録すべきデータをディスクメディアに記録する処理を先に行なわなければならない。   Therefore, in such a case, the data storage device must first perform the process of recording the data to be recorded in the cache memory on the disk medium in order to secure a storage area for processing the request from the personal computer. Don't be.

このときキャッシュメモリ及びディスクメディア間のデータ転送速度が遅い場合には、この記録処理を行っている最中に、パーソナルコンピュータが設定するデータストレージ機器が応答すべき応答時間を過ぎる場合がある。   At this time, if the data transfer speed between the cache memory and the disk medium is low, the response time that the data storage device set by the personal computer should respond may pass during the recording process.

そしてデータストレージ機器がパーソナルコンピュータからの要求に対して、当該パーソナルコンピュータが設定する時間までに応答しない場合には、パーソナルコンピュータは、データストレージ機器に対してタイムアウトによるリセットコマンドを発行する。   If the data storage device does not respond to the request from the personal computer by the time set by the personal computer, the personal computer issues a reset command due to a timeout to the data storage device.

この場合データストレージ機器は、リセットコマンドに基づいてキャッシュメモリ上のデータをすべて消去させる等の処理や、ディスクメディアを一旦停止し、また当該ディスクメディアに再アクセスさせる等の処理をしなければならず、再び起動するまでに膨大な時間がかかり、この結果データ転送速度が格段に悪くなる問題がある。   In this case, the data storage device must perform processing such as erasing all data on the cache memory based on the reset command, and processing such as temporarily stopping the disk medium and re-accessing the disk medium. However, it takes an enormous amount of time to start again, and as a result, there is a problem that the data transfer speed is greatly deteriorated.

このようにデータストレージ機器は、パーソナルコンピュータからの書込み要求又は読出し要求に対して、可能な限り早く応答したとしても、パーソナルコンピュータからリセットコマンドを発行されると、最終的なデータ転送速度が低下するという結果となる。   As described above, even if the data storage device responds to the write request or read request from the personal computer as soon as possible, the final data transfer speed is reduced when the reset command is issued from the personal computer. As a result.

このためデータストレージ機器は、パーソナルコンピュータからタイムアウトによりリセットコマンドが発行されるのを可能な限り防止しなければならないこととなる。   For this reason, the data storage device must prevent the reset command from being issued from the personal computer due to a timeout as much as possible.

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

かかる課題を解決するために本発明においては、データを一時記憶する一時記憶手段を有し、外部機器から送信されたデータを一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生されたデータを一時記憶手段を介して外部機器に送信する記録再生装置において、一時記憶手段から読み出されるデータを記録媒体に記録し、又は記録媒体から再生されるデータを一時記憶手段を介して外部機器に読み出す記録再生手段と、一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して応答する制御手段とを設け、当該制御手段は、外部機器からの書込み又は読出し要求が与えられると、一時記憶手段内の空き記憶領域を検出し、空き記憶領域が所定の閾値以下のときには、一時記憶手段内の空き記憶領域を確保するように一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して、予め外部機器に設定された当該書込み又は読出し要求に対する応答の待ち時間経過直前に外部機器に応答するようにした。   In order to solve such a problem, the present invention has a temporary storage means for temporarily storing data, and the data transmitted from the external device is recorded on the recording medium via the temporary storage means or reproduced from the recording medium. In a recording / reproducing apparatus for transmitting the read data to the external device via the temporary storage means, the data read from the temporary storage means is recorded on the recording medium, or the data reproduced from the recording medium is sent via the temporary storage means to the external device And a recording / reproducing means to be read out, a temporary storage means and / or a recording / reproducing means, and a control means for responding to a write or read request from an external device. When a read request is given, the free storage area in the temporary storage means is detected, and when the free storage area is below a predetermined threshold, Control the temporary storage means and / or recording / reproducing means so as to secure a storage area, and in response to a write or read request from the external device, a waiting time for a response to the write or read request previously set in the external device Added a response to the external device just before the progress.

これにより、当該書込み又は読出し要求に対する応答の待ち時間を引き延ばし、その間に一時記憶手段内の記憶領域に格納されている記録すべきデータを記録媒体に記録し、当該一時記憶手段内の記憶領域を確保することによって、外部機器からリセットコマンドが発行される頻度を格段的に低減することができる。   Thereby, the waiting time for the response to the write or read request is extended, and the data to be recorded stored in the storage area in the temporary storage means is recorded on the recording medium during that time, and the storage area in the temporary storage means is saved. By ensuring, the frequency with which the reset command is issued from the external device can be remarkably reduced.

またかかる課題を解決するために本発明においては、データを一時記憶する一時記憶手段を有し、外部機器から送信されたデータを一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生されたデータを一時記憶手段を介して外部機器に送信する記録再生方法において、外部機器からの書込み又は読出し要求が与えられると、一時記憶手段内の空き記憶領域を検出する第1のステップと、空き記憶領域が所定の閾値以下のときには、一時記憶手段内の空き記憶領域を確保するように一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して、予め外部機器に設定された当該書込み又は読出し要求に対する応答の待ち時間経過直前に外部機器に応答する第2のステップとを設けるようにした。   In order to solve such a problem, the present invention has temporary storage means for temporarily storing data, and data transmitted from an external device is recorded on the recording medium via the temporary storage means or reproduced from the recording medium. In a recording / reproducing method for transmitting recorded data to an external device via a temporary storage unit, when a write or read request is given from the external device, a first step of detecting a free storage area in the temporary storage unit; When the free storage area is equal to or less than a predetermined threshold, the temporary storage means and / or the recording / reproducing means are controlled so as to secure the free storage area in the temporary storage means, and in response to a write or read request from an external device in advance. A second step of responding to the external device immediately before the response waiting time for the write or read request set in the external device elapses

これにより、当該書込み又は読出し要求に対する応答の待ち時間を引き延ばし、その間に一時記憶手段内の記憶領域に格納されている記録すべきデータを記録媒体に記録し、当該一時記憶手段内の記憶領域を確保することによって、外部機器からリセットコマンドが発行される頻度を格段的に低減することができる。   Thereby, the waiting time for the response to the write or read request is extended, and the data to be recorded stored in the storage area in the temporary storage means is recorded on the recording medium during that time, and the storage area in the temporary storage means is saved. By ensuring, the frequency with which the reset command is issued from the external device can be remarkably reduced.

さらにかかる課題を解決するために本発明においては、データを一時記憶する一時記憶手段を有し、外部機器から送信されたデータを一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生されたデータを一時記憶手段を介して外部機器に送信する記録再生装置において、一時記憶手段から読み出されるデータを記録媒体に記録し、又は記録媒体から再生されるデータを一時記憶手段を介して外部機器に読み出す記録再生手段と、一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して応答する制御手段とを設け、当該制御手段は、外部機器からの読出し要求が与えられると、読出し要求が与えられたデータの連続性を検出し、当該読出し要求が与えられたデータの連続長があるデータ長を越えたときには、新たに連続するデータを読出し要求が与えられたときに、読出し要求が与えられたデータよりも所定のデータ長だけ長いデータを記録媒体から再生させるように上記記録再生手段を制御するようにした。   Further, in order to solve such a problem, the present invention has a temporary storage means for temporarily storing data, and records data transmitted from an external device on the recording medium via the temporary storage means or reproduces it from the recording medium. In a recording / reproducing apparatus for transmitting recorded data to an external device via a temporary storage unit, data read from the temporary storage unit is recorded on a recording medium, or data reproduced from the recording medium is externally transmitted via a temporary storage unit A recording / reproducing unit to be read out to the device, a temporary storage unit and / or a recording / reproducing unit, and a control unit to respond to a write or read request from the external device are provided. When a request is given, it detects the continuity of the data to which the read request is given, and the data with the continuous length of the data to which the read request is given When a request to read new continuous data is given, the recording / reproducing means is controlled so that data longer than the data for which the read request is given is reproduced from the recording medium. I tried to do it.

これにより、さらに新たに連続したデータを読出し要求されたときに、読出し要求されたデータを記録媒体から読み出すことなく、一時記憶手段内から当該データを外部機器に送信することができる。   Thus, when a new continuous data read request is made, the data can be transmitted from the temporary storage means to the external device without reading the read requested data from the recording medium.

以上のように本発明によれば、データを一時記憶する一時記憶手段を有し、外部機器から送信されたデータを一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生されたデータを一時記憶手段を介して外部機器に送信する記録再生装置において、一時記憶手段から読み出されるデータを記録媒体に記録し、又は記録媒体から再生されるデータを一時記憶手段を介して外部機器に読み出す記録再生手段と、一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して応答する制御手段とを設け、当該制御手段は、外部機器からの書込み又は読出し要求が与えられると、一時記憶手段内の空き記憶領域を検出し、空き記憶領域が所定の閾値以下のときには、一時記憶手段内の空き記憶領域を確保するように一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して、予め外部機器に設定された当該書込み又は読出し要求に対する応答の待ち時間経過直前に外部機器に応答するようにしたことにより、当該書込み又は読出し要求に対する応答の待ち時間を引き延ばし、その間に一時記憶手段内の記憶領域に格納されている記録すべきデータを記録媒体に記録し、当該一時記憶手段内の記憶領域を確保することによって、外部機器からリセットコマンドが発行される頻度を格段的に低減することができ、かくしてストレージデバイスとしてのデータの転送速度を向上し得る記録再生装置が実現できる。   As described above, according to the present invention, the data having the temporary storage means for temporarily storing the data, the data transmitted from the external device being recorded on the recording medium via the temporary storage means, or the data reproduced from the recording medium In a recording / reproducing apparatus that transmits data to an external device via a temporary storage unit, data read from the temporary storage unit is recorded on a recording medium, or data reproduced from the recording medium is read to an external device via the temporary storage unit A recording / reproducing means, a temporary storage means and / or a recording / reproducing means, and a control means for responding to a write or read request from an external device are provided, and the control means is a write or read request from an external device. Is detected, the free storage area in the temporary storage means is detected, and when the free storage area is below a predetermined threshold, the free storage area in the temporary storage means is confirmed. The temporary storage means and / or the recording / reproducing means are controlled so that the external device immediately before the elapse of the waiting time of the response to the write or read request set in the external device in advance in response to the write or read request from the external device. By extending the response time to the write or read request, the data to be recorded stored in the storage area in the temporary storage means is recorded on the recording medium, and the temporary storage is performed. By securing the storage area in the means, the frequency with which the reset command is issued from the external device can be remarkably reduced, and thus a recording / reproducing apparatus capable of improving the data transfer speed as a storage device can be realized. .

また以上のように本発明によれば、データを一時記憶する一時記憶手段を有し、外部機器から送信されたデータを一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生されたデータを一時記憶手段を介して外部機器に送信する記録再生方法において、外部機器からの書込み又は読出し要求が与えられると、一時記憶手段内の空き記憶領域を検出する第1のステップと、空き記憶領域が所定の閾値以下のときには、一時記憶手段内の空き記憶領域を確保するように一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して、予め外部機器に設定された当該書込み又は読出し要求に対する応答の待ち時間経過直前に外部機器に応答する第2のステップとを設けるようにしたようにしたことにより、当該書込み又は読出し要求に対する応答の待ち時間を引き延ばし、その間に一時記憶手段内の記憶領域に格納されている記録すべきデータを記録媒体に記録し、当該一時記憶手段内の記憶領域を確保することによって、外部機器からリセットコマンドが発行される頻度を格段的に低減することができ、かくしてストレージデバイスとしてのデータの転送速度を向上し得る記録再生方法が実現できる。   Further, as described above, according to the present invention, the temporary storage unit that temporarily stores the data is provided, and the data transmitted from the external device is recorded on the recording medium via the temporary storage unit or reproduced from the recording medium. In a recording / reproducing method for transmitting data to an external device via a temporary storage means, a first step of detecting an empty storage area in the temporary storage means when a write or read request is given from the external device; When the area is equal to or less than a predetermined threshold, the temporary storage means and / or the recording / reproducing means are controlled so as to secure a free storage area in the temporary storage means, and in response to a write or read request from an external device in advance A second step of responding to the external device immediately before the response waiting time for the write or read request set in step 2 is provided. This increases the waiting time for the response to the write or read request, and records the data to be recorded stored in the storage area in the temporary storage means on the recording medium during that time, and secures the storage area in the temporary storage means By doing so, the frequency with which the reset command is issued from the external device can be remarkably reduced, and thus a recording / reproducing method capable of improving the data transfer speed as the storage device can be realized.

さらに以上のように本発明によれば、データを一時記憶する一時記憶手段を有し、外部機器から送信されたデータを一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生されたデータを一時記憶手段を介して外部機器に送信する記録再生装置において、一時記憶手段から読み出されるデータを記録媒体に記録し、又は記録媒体から再生されるデータを一時記憶手段を介して外部機器に読み出す記録再生手段と、一時記憶手段及び又は記録再生手段を制御すると共に、外部機器からの書込み又は読出し要求に対して応答する制御手段とを設け、当該制御手段は、外部機器からの読出し要求が与えられると、読出し要求が与えられたデータの連続性を検出し、当該読出し要求が与えられたデータの連続長があるデータ長を越えたときには、新たに連続するデータを読出し要求が与えられたときに、読出し要求が与えられたデータよりも所定のデータ長だけ長いデータを記録媒体から再生させるように上記記録再生手段を制御するようにしたことにより、さらに新たに連続したデータを読出し要求されたときに、読出し要求されたデータを記録媒体から読み出すことなく、一時記憶手段内から当該データを外部機器に送信することができ、これにより記録媒体にアクセスする時間を短縮することができ、かくしてストレージデバイスとしてのデータの転送速度を向上し得る記録再生装置が実現できる。   Furthermore, as described above, according to the present invention, there is a temporary storage means for temporarily storing data, and the data transmitted from the external device is recorded on the recording medium via the temporary storage means or reproduced from the recording medium. In a recording / reproducing apparatus that transmits data to an external device via a temporary storage unit, the data read from the temporary storage unit is recorded on a recording medium, or the data reproduced from the recording medium is transmitted to the external device via a temporary storage unit. There is provided a recording / reproducing means for reading, a temporary storage means and / or a recording / reproducing means, and a control means for responding to a write or read request from an external device. When given, the read request detects the continuity of the given data, and when the read request exceeds the given data length The recording / reproducing means is controlled so that, when a request to read out new continuous data is given, the data longer than the data given the read request by a predetermined data length is reproduced from the recording medium. Thus, when a new continuous data read request is made, the data can be transmitted from the temporary storage means to the external device without reading the read requested data from the recording medium. A recording / reproducing apparatus capable of reducing the time for accessing the medium and thus improving the data transfer speed as a storage device can be realized.

以下図面について、本発明の一実施の形態を詳述する。   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に記録された音楽データ等を再生出力することができる。   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 a disc, 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 transtion 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 transtion 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 Verocity)で、その線速度は、第1の次世代MDの仕様では、2.7m/秒とされ、第2の次世代MDの仕様では、1.98m/秒とされる。なお、現行のMDシステムの仕様では、60分ディスクで1.2m/秒、74分ディスクで1.4m/秒とされている。   Further, the disk drive system is CLV (Constant Linear Verocity), and the linear velocity is 2.7 m / sec 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 (record) on disk 4. In the reproduction mode, the storage unit 12 demodulates the data read (reproduced) from the disk 4 by 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 written 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.

ディスク4からミニディスク方式のオーディオデータが再生される場合は、ストレージ部12は再生データをATRAC圧縮データ状態に復調してキャッシュメモリ11に転送する。そしてキャッシュメモリ11から読み出されて入出力処理部14に転送される。入出力処理部14は、供給されてくる圧縮オーディオデータに対してATRAC圧縮デコードを行ってリニアPCMオーディオデータとし、デジタルオーディオデータ出力部から出力する。或いはディジタル/アナログ変換器によりアナログ音声信号としてライン出力/ヘッドホン出力を行う。   When mini-disc type audio data is reproduced from the disk 4, the storage unit 12 demodulates the reproduced data into the ATRAC compressed data state and transfers it 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)キャッシュメモリの書込み及び読出し制御
次に、この記録再生装置1における記録モード時のキャッシュメモリ11の書込み及び読出し制御について説明する。
(2) Cache Memory Write / Read Control Next, the cache memory 11 write / read control in the recording mode in the recording / reproducing apparatus 1 will be described.

この記録再生装置1では、データの書込み及び読出しは、すべてクラスタ単位で行われる。これは、上述のように第1及び第2の次世代MDの仕様では、1クラスタ分のデータ量である64Kバイトを記録再生のアクセス単位(レコーディングブロック)としているからである。従って、パーソナルコンピュータ2、キャッシュメモリ11及びストレージ部12間でのデータのやり取りや、キャッシュメモリ11におけるデータの管理単位もこのクラスタ単位で行われることとなる。   In the recording / reproducing apparatus 1, data writing and reading are all performed in cluster units. 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). Accordingly, data exchange among the personal computer 2, the cache memory 11, and the storage unit 12, and a data management unit in the cache memory 11 are also performed in units of clusters.

ここで、キャッシュメモリ11内の構成は図4に示すようになり、パーソナルコンピュータ2からディスク4上のアドレス(address)及びデータ長(length)を指定してクラスタ単位で送信されるデータは、キャッシュメモリ11内の36クラスタ分のデータの記憶容量を有する記憶領域(以下、これをキャッシュと呼ぶ)19のうち所定の位置に格納される。   Here, the configuration in the cache memory 11 is as shown in FIG. 4, and the data transmitted from the personal computer 2 in cluster units by designating the address (address) and data length (length) on the disk 4 is cache data. The data is stored in a predetermined position in a storage area 19 (hereinafter referred to as a cache) 19 having a storage capacity for 36 clusters of data in the memory 11.

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

実際上システムコントローラ13は、図5に示すように、パーソナルコンピュータ2から11番のクラスタから1クラスタ分のデータ長(address 11,length 1)のデータの書込み要求(WRITE)が与えられた場合には、キャッシュメモリ11内に要求されたクラスタ分のキャッシュ19を確保し、パーソナルコンピュータ2に応答を返すことによって、パーソナルコンピュータ2から送信される11番のクラスタのデータをキャッシュメモリ11内に格納させる。   In practice, as shown in FIG. 5, the system controller 13 receives a data write request (WRITE) of data length (address 11, length 1) for one cluster from the 11th cluster from the personal computer 2. Secures a cache 19 for the requested cluster in the cache memory 11 and returns a response to the personal computer 2 to store the data of the eleventh cluster transmitted from the personal computer 2 in the cache memory 11. .

またシステムコントローラ13は、図5のように続いてパーソナルコンピュータ2から12〜15番のクラスタを1クラスタ分のデータ長(address 12,length 1/address 13,length 1/address 14,length 1/address 15,length 1)のデータで順次書込み要求(WRITE)が与えられた場合には、同様にパーソナルコンピュータ2に応答を返すことによって、パーソナルコンピュータ2から送信される12〜15番のクラスタのデータをキャッシュメモリ11内に順次格納させる。   Further, as shown in FIG. 5, the system controller 13 adds the 12th to 15th clusters from the personal computer 2 to the data length of one cluster (address 12, length 1 / address 13, length 1 / address 14, length 1 / address 15, when a sequential write request (WRITE) is given to the data of length 1), similarly, by returning a response to the personal computer 2, the data of the 12th to 15th clusters transmitted from the personal computer 2 is obtained. The cache memory 11 is sequentially stored.

一方、ディスク4からクラスタ単位で読み出されるデータは、ストレージ部12を介してキャッシュメモリ11に転送されて、キャッシュメモリ11内のキャッシュ19のうち所定の位置に格納される。   On the other hand, data read from the disk 4 in cluster units is transferred to the cache memory 11 via the storage unit 12 and stored in a predetermined position in the cache 19 in the cache memory 11.

また、このようなキャッシュメモリ11へのデータの読出しが行われると、その後そのデータはキャッシュメモリ11からクラスタ単位でパーソナルコンピュータ2に読み出される。   When data is read from the cache memory 11, the data is then read from the cache memory 11 to the personal computer 2 in units of clusters.

このときシステムコントローラ13には、パーソナルコンピュータ2からディスク4上のアドレス(address)及びデータ長(length)を指定して読出し要求が与えられたときに、読出し要求されたデータがある一定のデータ長を越えて連続する場合には、要求されるアドレスからのデータ長よりも所定のクラスタ分だけ余分にキャッシュメモリ11内に読み出すクラスタ先読み機能が搭載されている。   At this time, when a read request is given to the system controller 13 by designating the address (address) and data length (length) on the disk 4 from the personal computer 2, the read requested data has a certain data length. In the case where the data continues beyond the required address, a cluster prefetching function is provided that reads the data into the cache memory 11 by a predetermined amount more than the data length from the required address.

そしてシステムコントローラ13は、このようなキャッシュメモリ11のクラスタ先読み機能制御を行うための手段として、図6に示すように、パーソナルコンピュータ2からの読出し要求格納欄20A、ディスク4からの読出し格納欄20B及び連続データ長格納欄20Cが設けられた連続データ長管理テープル20をキャッシュ管理メモリ16(図1)内に有している。   As a means for performing such cluster pre-read function control of the cache memory 11, the system controller 13 reads the read request storage column 20 A from the personal computer 2 and the read storage column 20 B from the disk 4 as shown in FIG. The cache management memory 16 (FIG. 1) has a continuous data length management table 20 provided with a continuous data length storage column 20C.

システムコントローラ13は、読出し要求されるアドレス(address)とデータ長(length)を連続データ長管理テープル20のパーソナルコンピュータ2からの読出し要求格納欄20Aに書き込んで管理すると共に、パーソナルコンピュータ2から読出し要求が与えられた場合には、そのアドレス(address)とデータ長(length)から読出し要求されたデータの連続性(連続データ長)を検出し、その連続データ長を連続データ長管理テープル20の連続データ長格納欄20Cに書き込んで連続データ長が予め設定された閾値を越えていないかを管理する。   The system controller 13 writes and manages the address (address) and data length (length) requested to be read in the read request storage column 20A from the personal computer 2 of the continuous data length management table 20, and also reads the read request from the personal computer 2. Is detected, the continuity (continuous data length) of the data requested to be read is detected from the address (address) and data length (length), and the continuous data length is detected as a continuation of the continuous data length management table 20. It is written in the data length storage column 20C to manage whether or not the continuous data length exceeds a preset threshold value.

またシステムコントローラ13は、その後ディスク4から読み出すアドレス(address)とデータ長(length)を連続データ長管理テープル20のディスク4からの読出し格納欄20Bに書き込んで管理する。   Further, the system controller 13 manages the address (address) and data length (length) read from the disk 4 by writing them into the read storage column 20B from the disk 4 of the continuous data length management table 20 after that.

かくしてシステムコントローラ13は、パーソナルコンピュータ2からの読出し要求が与えられた場合、この連続データ長管理テーブル20を参照して、連続データ長が予め設定された閾値を越えていないか否かを判断する。そしてシステムコントローラ13は、要求された連続データ長が閾値を越えた場合には、今後も連続したデータの読出し要求が与えられるであろうと仮定し、要求されるアドレス(クラスタ)からのデータ長よりも所定のクラスタ分だけ先読みしてキャッシュメモリ11内に読み出す。   Thus, when a read request is given from the personal computer 2, the system controller 13 refers to the continuous data length management table 20 and determines whether or not the continuous data length exceeds a preset threshold value. . Then, the system controller 13 assumes that when the requested continuous data length exceeds the threshold value, a continuous data read request will be given in the future, and from the data length from the requested address (cluster). Are pre-read for a predetermined cluster and read into the cache memory 11.

例えば、システムコントローラ13は、クラスタ先読み機能を行う閾値を10クラスタ分のデータ長のデータに設定し、また閾値を越えた場合には要求されるデータ長のデータよりも5クラスタ分だけ先読みさせる。   For example, the system controller 13 sets the threshold for performing the cluster prefetching function to data having a data length of 10 clusters, and if the threshold is exceeded, prefetches data for the required data length by 5 clusters.

このとき、図6に示すように、パーソナルコンピュータ2から20番のクラスタから5クラスタ分のデータ長(address 20,length 5)のデータの読出し要求(READ)が与えられたときに、連続データ長が15となり閾値を越えるので、20番のクラスタから5クラスタ分のデータ長よりも5クラスタ分だけ先読みし、20番のクラスタから10クラスタ分のデータ長(address 20,length 10)のデータをディスク4からキャッシュメモリ11内に読み出す。   At this time, as shown in FIG. 6, when a data read request (READ) of data length (address 20, length 5) for five clusters is given from the 20th cluster from the personal computer 2, the continuous data length 15 exceeds the threshold, so the data length of 5 clusters from the 20th cluster is read ahead by 5 clusters, and the data of 10 clusters from the 20th cluster (address 20, length 10) is stored on the disk. 4 is read into the cache memory 11.

ここで、パーソナルコンピュータ2から読出し要求されているのは20番のクラスタから5クラスタ分のデータ長のデータのみであるので、実際には20番のクラスタから10クラスタ分のデータ長のデータがキャッシュメモリ11内に格納されているが、ここではパーソナルコンピュータ2には当該20番のクラスタから5クラスタ分のデータ長のデータのみを読み出すようになされている。   Here, since the data requested to be read from the personal computer 2 is only data having a data length of 5 clusters from the 20th cluster, data having a data length of 10 clusters from the 20th cluster is actually cached. Although stored in the memory 11, here, the personal computer 2 reads only data having a data length of 5 clusters from the 20th cluster.

そして、この後パーソナルコンピュータ2から25番のクラスタから5クラスタ分のデータ長(address 20,length 5)のデータの読出し要求(READ)が与えられたときには、当該データは既に先読みされてキャッシュメモリ11内に格納されているので、ディスク4にアクセスしてディスク4から当該データを読み出させることなくキャッシュメモリ11からパーソナルコンピュータ2に25番のクラスタから5クラスタ分のデータ長のデータを読み出すようになされている。   Thereafter, when a read request (READ) of data length (address 20, length 5) for five clusters is given from the 25th cluster from the personal computer 2, the data is already prefetched and the cache memory 11 Therefore, data having a data length of 5 clusters from the 25th cluster is read from the cache memory 11 to the personal computer 2 without accessing the disk 4 and reading the data from the disk 4. Has been made.

このようにして、読出し要求されるアドレス(address)とデータ長(length)から連続データ長を検出し、その連続データ長が閾値を越えた場合には、要求されるアドレス(クラスタ)からのデータ長よりも所定のクラスタ分だけ先読みしてキャッシュメモリ11内に読み出すことによって、その後連続したデータを要求された場合にディスク4にアクセスして当該ディスク4から読み出させることなくキャッシュメモリ11からパーソナルコンピュータ2に要求されるアドレス(クラスタ)からのデータ長のデータを読み出させることができる。   In this way, when the continuous data length is detected from the address (address) and data length (length) requested to be read and the continuous data length exceeds the threshold, data from the requested address (cluster) is detected. By pre-reading a predetermined number of clusters over the length and reading it into the cache memory 11, when continuous data is subsequently requested, the disk 4 is accessed and read from the cache memory 11 without being read from the disk 4. Data having a data length from an address (cluster) required by the computer 2 can be read.

ここで本実施の形態においては、システムコントローラ13は、かかる原理に基づいてクラスタ先読み機能を行う閾値を0に設定し、また閾値を越えた場合には要求されるアドレス(クラスタ)からのデータ長のデータよりも4クラスタ分のデータ長のデータだけ先読みさせる。   Here, in the present embodiment, the system controller 13 sets the threshold value for performing the cluster prefetching function to 0 based on this principle, and if the threshold value is exceeded, the data length from the required address (cluster) is set. Only the data having a data length of 4 clusters is read ahead of the data.

すなわちシステムコントローラ13は、パーソナルコンピュータ2から読出し要求が与えられると、要求されるアドレス(クラスタ)からのデータ長のデータよりも4クラスタ分のデータ長のデータだけ先読みして、当該データをキャッシュメモリ11内に読み出すようになされている。   That is, when a read request is given from the personal computer 2, the system controller 13 pre-reads data having a data length of 4 clusters rather than data having a data length from the requested address (cluster) and stores the data in the cache memory. 11 is read out.

実際上システムコントローラ13は、図7に示すように、パーソナルコンピュータ2から11番のクラスタから1クラスタ分のデータ長(address 11,length 1)のデータの読出し要求(READ)が与えられた場合には、11〜15番のクラスタのデータをディスク4からキャッシュメモリ11内に読み出させ、パーソナルコンピュータ2に応答を返すことによって、11番のクラスタのデータをパーソナルコンピュータ2に送信させる。   In practice, as shown in FIG. 7, the system controller 13 receives a data read request (READ) having a data length (address 11, length 1) of one cluster from the 11th cluster from the personal computer 2. Reads data of the 11th to 15th clusters from the disk 4 into the cache memory 11 and returns a response to the personal computer 2 to transmit the data of the 11th cluster to the personal computer 2.

またシステムコントローラ13は、続いてパーソナルコンピュータ2から12〜15番のクラスタを1クラスタ分のデータ長(address 12,length 1/address 13,length 1/address 14,length 1/address 15,length 1)のデータで順次読出し要求が与えられた場合には、ディスク4にアクセスして当該ディスク4から読み出させることなく、パーソナルコンピュータ2に順次応答を返すことによって、12〜15番のクラスタのデータを順次パーソナルコンピュータ2に送信させる。   In addition, the system controller 13 continues to the data length of one cluster from the 12th to 15th clusters from the personal computer 2 (address 12, length 1 / address 13, length 1 / address 14, length 1 / address 15, length 1). If a sequential read request is given with the data of the above, the data of the clusters Nos. 12 to 15 are returned by sequentially returning a response to the personal computer 2 without accessing the disk 4 and reading it from the disk 4. The data is sequentially transmitted to the personal computer 2.

他方、システムコントローラ13は、キャッシュメモリ11内に格納されているクラスタのデータをディスク4に書き込ませているときに、パーソナルコンピュータ2から読出し要求が与えられた場合には、ディスク4への書込みを中断してパーソナルコンピュータ2からの読出し要求に優先して応答し得るようになされている。   On the other hand, the system controller 13 writes data to the disk 4 when a read request is given from the personal computer 2 while the cluster data stored in the cache memory 11 is written to the disk 4. It is possible to interrupt and respond preferentially to a read request from the personal computer 2.

このときシステムコントローラ13は、図8に示すように、キャッシュメモリ11内に格納されている11番〜15番のクラスタのデータをディスク4に書き込ませているときに、パーソナルコンピュータ2から16番のクラスタから1クラスタ分のデータ長(address 11,length 1)のデータの読出し要求(READ)が与えられた場合には、11番〜15番のクラスタのデータの転送を中断する。   At this time, as shown in FIG. 8, the system controller 13 writes the data of the 11th to 15th clusters stored in the cache memory 11 to the disk 4 from the personal computer 2 to the 16th. When a data read request (READ) of data length (address 11, length 1) for one cluster is given from the cluster, the data transfer of the 11th to 15th clusters is interrupted.

そしてシステムコントローラ13は、この後16〜20番のクラスタのデータをディスク4からキャッシュメモリ11内に読み出させ、パーソナルコンピュータ2に応答を返すことによって、11番のクラスタのデータをパーソナルコンピュータ2に送信させる。   Then, the system controller 13 reads the data of the 16th to 20th clusters from the disk 4 into the cache memory 11 and returns a response to the personal computer 2, thereby transferring the data of the 11th cluster to the personal computer 2. Send it.

このようにしてシステムコントローラ13は、パーソナルコンピュータ2からの読出し要求に対して、当該パーソナルコンピュータ2を待たせることなく応答を返し、読出し要求されたデータをパーソナルコンピュータ2に送信させることによって、パーソナルコンピュータ2及びキャッシュメモリ11間のスループットを向上させることができる。   In this way, the system controller 13 returns a response to the read request from the personal computer 2 without causing the personal computer 2 to wait, and causes the personal computer 2 to transmit the read-requested data. 2 and the cache memory 11 can be improved in throughput.

(3)逼迫モード時におけるキャッシュメモリの書込み及び読出し制御
ところで、キャッシュメモリ11内のキャッシュ19にデータが大量に格納されている場合には、パーソナルコンピュータ2からの新たな書込み要求又は読出し要求があっても、キャッシュメモリ11内の空きキャッシュ19’が確保できないことがある。そしてこの場合、当該書込み要求又は読出し要求に対して応答できずに、パーソナルコンピュータ2からの書込み又は読出し要求を待たすこととなり、ついにはパーソナルコンピュータ2からタイムアウトによるリセットコマンドが発行されることとなる。
(3) Cache memory writing and reading control in tight mode When a large amount of data is stored in the cache 19 in the cache memory 11, there is a new writing request or reading request from the personal computer 2. However, the free cache 19 ′ in the cache memory 11 may not be secured. In this case, a response to the write request or read request cannot be made, and a write or read request from the personal computer 2 is awaited. Finally, a reset command due to a timeout is issued from the personal computer 2. .

そこでこの記録再生装置1には、上述のような書込み及び読出し制御を「通常モード」とすると、キャッシュメモリ11内の空きキャッシュ19’に応じて、当該空きキャッシュ19’がある所定のキャッシュ値になった場合には、書込み及び読出し制御を「逼迫モード」に切り替えるようになされている。   Therefore, in the recording / reproducing apparatus 1, when the above-described write and read control is set to the “normal mode”, the free cache 19 ′ is set to a predetermined cache value according to the free cache 19 ′ in the cache memory 11. When it becomes, the writing and reading control are switched to the “tight mode”.

このとき、この「逼迫モード」に切り替えるための手段として、システムコントローラ13は、キャッシュメモリ11内の空きキャッシュ19’を検出するようになされている。そしてシステムコントローラ13は、当該空きキャッシュ19’がある所定の閾値以下になった場合には、パーソナルコンピュータ2からの書込み又は読出し要求に対して、タイムアウトが発生する直前まで応答を返さずに、その間にキャッシュメモリ11内に格納されている書込むべきクラスタのデータをディスク4に書き込ませる。   At this time, the system controller 13 detects a free cache 19 ′ in the cache memory 11 as means for switching to the “tight mode”. When the free cache 19 ′ falls below a predetermined threshold value, the system controller 13 does not return a response to the write or read request from the personal computer 2 until a time-out occurs, The cluster data to be written stored in the cache memory 11 is written to the disk 4.

また、その場合の閾値は、一度に書込むべきデータのうち最大の連続データ長のデータをディスク4に書込む時間と、逼迫モード時にパーソナルコンピュータ2からの書込み要求又は読出し要求に対して応答を返す時間とによって設定される。   In this case, the threshold value is a response time to a write request or a read request from the personal computer 2 in the tight mode, and the time for writing the data having the maximum continuous data length to the disk 4 among the data to be written at a time. Set by the time to return.

そこで、一度に書込むべきデータのうち最大の連続データ長のデータをディスク4に書込む時間をXとし、逼迫モード時にパーソナルコンピュータ2からの書込み要求又は読出し要求に対して応答を返す時間をYとすると、閾値Zは、割り切れる場合には、次式   Therefore, the time for writing the data having the maximum continuous data length to the disk 4 among the data to be written at once is X, and the time for returning a response to the write request or read request from the personal computer 2 in the tight mode is Y. Then, if the threshold value Z is divisible,

Figure 2005322308
Figure 2005322308

により算出され、割り切れない場合には、XをYで割ったときの値に対して、小数点以下の部分を切り捨て、整数部分のみを解とする次式 If the value is not divisible by X, the following formula is used, where X is divided by Y, the fractional part is rounded down, and the integer part is the solution.

Figure 2005322308
Figure 2005322308

により算出できることから、キャッシュメモリ11内の空きキャッシュ19’がこの閾値Zに達した場合に逼迫モードに切り替えることが分かる。 Thus, it can be seen that when the free cache 19 'in the cache memory 11 reaches the threshold value Z, the mode is switched to the tight mode.

なお、逼迫モード時においては、上述のようにキャッシュメモリ11内に格納されているクラスタのデータをディスク4に書き込ませているときに、パーソナルコンピュータ2から読出し要求が与えられた場合にも、ディスク4への書込みを中断せずに記録させる。   In the tight mode, when the cluster data stored in the cache memory 11 is written to the disk 4 as described above, even when a read request is given from the personal computer 2, the disk Write to 4 without interruption.

例えば、本実施の形態の場合には、一度に書込むべきデータのうち最大の連続データ長のデータは12クラスタ分のデータであり、そのときの時間は20秒である。   For example, in the case of the present embodiment, the maximum continuous data length data among the data to be written at one time is data for 12 clusters, and the time at that time is 20 seconds.

また、パーソナルコンピュータ2が設定する記録再生装置1が応答すべき応答時間は通常5秒と設定されているので、安全をみて逼迫モード時にシステムコントローラ13がパーソナルコンピュータ2からの書込み要求又は読出し要求に対して応答を返す時間を4秒と設定する。   Further, since the response time that the recording / playback apparatus 1 set by the personal computer 2 should respond to is normally set to 5 seconds, the system controller 13 responds to a write request or a read request from the personal computer 2 in the tight mode for safety. The response return time is set to 4 seconds.

このような場合には、X=20、Y=4であることから、上述の(2)式に基づいて、閾値Zは4となる。従ってキャッシュメモリ11内の空きキャッシュ19’が4キャッシュ以下になった場合に逼迫モードに切り替えるようになされている。   In such a case, since X = 20 and Y = 4, the threshold value Z is 4 based on the above equation (2). Therefore, when the free cache 19 'in the cache memory 11 becomes 4 caches or less, the mode is switched to the tight mode.

実際上システムコントローラ13は、図9に示すように、パーソナルコンピュータ2から11番のクラスタから1クラスタ分のデータ長(address 11,length 1)のデータの書込み要求(WRITE)が与えられた場合には、キャッシュメモリ11内に要求されたクラスタ分のキャッシュ19を確保し、パーソナルコンピュータ2に応答を返すことによって、パーソナルコンピュータ2から送信される11番のクラスタのデータをキャッシュメモリ11内に格納させる。   In practice, as shown in FIG. 9, the system controller 13 receives a data write request (WRITE) of data length (address 11, length 1) for one cluster from the 11th cluster from the personal computer 2. Secures a cache 19 for the requested cluster in the cache memory 11 and returns a response to the personal computer 2 to store the data of the eleventh cluster transmitted from the personal computer 2 in the cache memory 11. .

このときシステムコントローラ13は、キャッシュメモリ11内の空きキャッシュ19’が4キャッシュ以下になったことを検出して、逼迫モードに切り替え、例えば、一度に書込むべきデータのうちの最大の連続データ長のデータである12クラスタ分のデータのディスク4への書き込みを開始させる。   At this time, the system controller 13 detects that the free cache 19 'in the cache memory 11 has become 4 caches or less, and switches to the tight mode, for example, the maximum continuous data length of data to be written at once. The writing of data for 12 clusters, which is the above-described data, to the disk 4 is started.

またシステムコントローラ13は、続いてパーソナルコンピュータ2から12番のクラスタから1クラスタ分のデータ長(address 12,length 1)のデータの書込み要求(WRITE)が与えられた場合には、パーソナルコンピュータ2に4秒後に応答を返すことによって、パーソナルコンピュータ2から送信される12番のクラスタのデータをキャッシュメモリ11内に格納させる。   When the system controller 13 subsequently receives a data write request (WRITE) of data length (address 12, length 1) for one cluster from the 12th cluster from the personal computer 2, the system controller 13 sends the data to the personal computer 2. By returning a response after 4 seconds, the data of the twelfth cluster transmitted from the personal computer 2 is stored in the cache memory 11.

さらにシステムコントローラ13は、パーソナルコンピュータ2から13〜15番のクラスタを1クラスタ分のデータ長(address 13,length 1/address 14,length 1/address 15,length 1)のデータで書込み要求(WRITE)が順次与えられた場合には、同様にパーソナルコンピュータ2に順次4秒後に応答を返すことによって、パーソナルコンピュータ2から送信される13〜15番のクラスタのデータをキャッシュメモリ11内に順次格納させる。   Further, the system controller 13 writes a write request (WRITE) with the data of the data length (address 13, length 1 / address 14, length 1 / address 15, length 1) of one cluster from the personal computer 2 to the 13th to 15th clusters. Are sequentially given to the personal computer 2 in the same manner, the data of the 13th to 15th clusters transmitted from the personal computer 2 are sequentially stored in the cache memory 11 by sequentially returning a response after 4 seconds.

そしてシステムコントローラ13は、図10に示すように、続いてパーソナルコンピュータ2から16番のクラスタから1クラスタ分のデータ長(address 16,length 1)のデータの書込み要求(WRITE)が与えられた場合には、パーソナルコンピュータ2に4秒後に応答を返す。   When the system controller 13 subsequently receives a data write request (WRITE) of data length (address 16, length 1) for one cluster from the 16th cluster from the personal computer 2, as shown in FIG. Returns a response to the personal computer 2 after 4 seconds.

この時点で、ディスク4への書込みを開始した12クラスタ分のデータの書込みが終了するので、かくしてシステムコントローラ13は、パーソナルコンピュータ2から送信される16番のクラスタのデータを、ディスク4に書き込まれて上書き可能となった、例えば、101番のクラスタのデータが格納されているキャッシュ19に上書きして格納させることができる。   At this point, the writing of data for 12 clusters that started writing to the disk 4 is completed, and thus the system controller 13 has written the data of the 16th cluster transmitted from the personal computer 2 to the disk 4. For example, the data can be overwritten and stored in the cache 19 in which the data of the cluster No. 101 is stored.

一方、システムコントローラ13は、図11に示すように、パーソナルコンピュータ2から11番のクラスタから1クラスタ分のデータ長(address 11,length 1)のデータの読出し要求(READ)が与えられた場合には、11〜15番のクラスタのデータをディスク4からキャッシュメモリ11内に読み出す。   On the other hand, as shown in FIG. 11, the system controller 13 receives a data read request (READ) of data length (address 11, length 1) for one cluster from the 11th cluster from the personal computer 2. Reads the data of the 11th to 15th clusters from the disk 4 into the cache memory 11.

このときシステムコントローラ13は、キャッシュメモリ11内の空きキャッシュ19’が4キャッシュ以下になったことを検出して、逼迫モードに切り替え、上述と同様に12クラスタ分のデータ長のデータのディスク4への書込みを開始させる。   At this time, the system controller 13 detects that the free cache 19 ′ in the cache memory 11 has become 4 caches or less, switches to the tight mode, and transfers the data to the disk 4 having a data length of 12 clusters as described above. Start writing.

この後システムコントローラ13は、パーソナルコンピュータ2に4秒後に応答を返すことによって、11番のクラスタのデータをパーソナルコンピュータ2に送信させる。   Thereafter, the system controller 13 returns the response to the personal computer 2 after 4 seconds, thereby causing the personal computer 2 to transmit the data of the 11th cluster.

またシステムコントローラ13は、図11のように続いてパーソナルコンピュータ2から12〜15番のクラスタを1クラスタ分のデータ長(address 12,length 1/address 13,length 1/address 14,length 1/address 15,length 1)のデータで読出し要求(READ)が順次与えられた場合には、同様にパーソナルコンピュータ2に順次4秒後に応答を返すことによって、12〜15番のクラスタのデータをパーソナルコンピュータ2に順次送信させる。   As shown in FIG. 11, the system controller 13 adds the 12th to 15th clusters from the personal computer 2 to the data length of one cluster (address 12, length 1 / address 13, length 1 / address 14, length 1 / address 15, when a read request (READ) is sequentially given with data of 1), similarly, a response is sequentially returned to the personal computer 2 after 4 seconds, whereby the data of the 12th to 15th clusters are transferred to the personal computer 2. Are sent sequentially.

この時点で、ディスク4への書込みを開始した12クラスタ分のデータの書込みが終了するので、かくしてシステムコントローラ13は、図12に示すように、続いてパーソナルコンピュータ2から16番のクラスタを1クラスタ分のデータ長(address 16,length 1)のデータの読出し要求(READ)が与えられた場合には、16〜20番のクラスタのデータをディスク4からキャッシュメモリ11内に読み出させ、パーソナルコンピュータ2に応答を返すことによって、16番のクラスタのデータをパーソナルコンピュータ2に送信させることができる。   At this point, the writing of data for 12 clusters that have started to be written to the disk 4 is completed. Thus, as shown in FIG. 12, the system controller 13 subsequently switches the cluster No. 16 from the personal computer 2 to one cluster. When a data read request (READ) with a data length of 16 minutes (address 16, length 1) is given, the data of the 16th to 20th clusters are read from the disk 4 into the cache memory 11 and the personal computer By returning a response to 2, the data of the cluster No. 16 can be transmitted to the personal computer 2.

(4)書込み及び読出し要求応答処理手順
ここで、上述のようなシステムコントローラ13による書込み要求応答処理手順は、ROM内に格納された制御プログラムに基づき、図13に示す書込み要求応答処理手順RT1に従って行われる。
(4) Write and Read Request Response Processing Procedure Here, the write request response processing procedure by the system controller 13 as described above is based on the write request response processing procedure RT1 shown in FIG. 13 based on the control program stored in the ROM. Done.

すなわちシステムコントローラ13は、パーソナルコンピュータ2から書込み要求が与えられると、書込み要求応答処理手順RT1をステップSP0において開始し、続くステップSP1においてキャッシュメモリ11内に空きキャッシュ19’があるか否かを判断する。そしてシステムコントローラ13は、このステップSP1において肯定結果を得るとステップSP5に進み、これに対して否定結果を得るとステップSP2に進んで、書込むべきクラスタのデータをディスク4に書込み中であるか否かを判断する。   That is, when a write request is given from the personal computer 2, the system controller 13 starts the write request response processing procedure RT1 at step SP0, and determines whether or not there is a free cache 19 'in the cache memory 11 at the subsequent step SP1. To do. If the system controller 13 obtains a positive result in step SP1, it proceeds to step SP5. If it obtains a negative result, it proceeds to step SP2, and whether the cluster data to be written is being written to the disk 4. Judge whether or not.

そしてシステムコントローラ13は、このステップSP2において肯定結果を得るとステップSP3に進んで、そのままの状態で待機させた後、ステップSP1に戻り、これに対して否定結果を得るとステップSP4に進んで、書込むべきクラスタのデータのディスク4への書込みを開始させて、ステップSP1に戻る。   If the system controller 13 obtains a positive result in step SP2, the system controller 13 proceeds to step SP3, waits in that state, then returns to step SP1, and if it obtains a negative result, it proceeds to step SP4. Writing of the cluster data to be written to the disk 4 is started, and the process returns to step SP1.

またシステムコントローラ13は、この後ステップSP5に進んで、逼迫モードであるか否かを判断する。そしてシステムコントローラ13は、このステップSP5において肯定結果を得るとステップSP10に進み、これに対して肯定結果を得るとステップSP6に進んで、書込むべきクラスタのデータをディスク4に書込み中であるか否かを判断する。   Further, the system controller 13 thereafter proceeds to step SP5 and determines whether or not the compression mode is set. If the system controller 13 obtains a positive result in step SP5, it proceeds to step SP10. If it obtains an affirmative result, it proceeds to step SP6, and whether the cluster data to be written is being written to the disk 4. Judge whether or not.

そしてシステムコントローラ13は、このステップSP6において否定結果を得るとステップSP7に進んで、そのままの状態で待機させ、これに対して肯定結果を得るとステップSP4に進んで、書込むべきクラスタのデータのディスク4への書込みを開始させる。   If the system controller 13 obtains a negative result in step SP6, it proceeds to step SP7 and waits as it is. If it obtains an affirmative result, it proceeds to step SP4 and stores the data of the cluster to be written. Writing to the disk 4 is started.

さらにシステムコントローラ13は、この後ステップSP9に進んで、パーソナルコンピュータ2から書込み要求が与えられてから、4秒以内であるか否かを判断する。そしてシステムコントローラ13は、このステップSP9において肯定結果を得るとステップSP5に戻り、これに対して否定結果を得るとステップSP10に進んで、パーソナルコンピュータ2に応答を返して、パーソナルコンピュータ2から送信されるデータをキャッシュメモリ11内に格納させる。そしてシステムコントローラ13は、この後ステップSP11に進んで、この書込み要求応答処理手順RT1を終了する。   Further, the system controller 13 thereafter proceeds to step SP9 and determines whether or not it is within 4 seconds after the write request is given from the personal computer 2. If the system controller 13 obtains a positive result in step SP9, it returns to step SP5. If it obtains a negative result, it proceeds to step SP10, returns a response to the personal computer 2, and is transmitted from the personal computer 2. Data is stored in the cache memory 11. Then, the system controller 13 proceeds to step SP11 and ends this write request response processing procedure RT1.

一方、上述のようなシステムコントローラ13による読出し要求応答処理手順は、ROM内に格納された制御プログラムに基づき、図14に示す読出し要求応答処理手順RT2に従って行われる。   On the other hand, the read request response processing procedure by the system controller 13 as described above is performed according to the read request response processing procedure RT2 shown in FIG. 14 based on the control program stored in the ROM.

すなわちシステムコントローラ13は、パーソナルコンピュータ2から読出し要求が与えられると、読出し要求応答処理手順RT2をステップSP12において開始し、続くステップSP13において要求されたデータがキャッシュメモリ11内のキャッシュ19に格納されているか否かを判断する。そしてシステムコントローラ13は、このステップSP13において肯定結果を得るとステップSP19に進み、これに対して否定結果を得るとステップSP14に進んで、書込むべきクラスタのデータをディスク4に書込み中であるか否かを判断する。   That is, when a read request is given from the personal computer 2, the system controller 13 starts the read request response processing procedure RT2 in step SP12, and the requested data is stored in the cache 19 in the cache memory 11 in the subsequent step SP13. Determine whether or not. If the system controller 13 obtains a positive result in step SP13, it proceeds to step SP19. If it obtains a negative result, it proceeds to step SP14, and whether the cluster data to be written is being written to the disk 4. Judge whether or not.

そしてシステムコントローラ13は、このステップSP14において否定結果を得るとステップSP18に進み、これに対して肯定結果を得るとステップSP15に進んで、逼迫モードであるか否かを判断する。そしてシステムコントローラ13は、このステップSP15において肯定結果を得るとステップSP16に進んで、そのままの状態で待機させた後、ステップSP13に戻り、これに対してこのステップSP13において否定結果を得るとステップSP17に進んで、書込むべきクラスタのデータのディスク4への書込みを中断させた後、ステップSP13に戻る。   If the system controller 13 obtains a negative result in step SP14, it proceeds to step SP18, and if it obtains an affirmative result, it proceeds to step SP15 and determines whether or not it is a tight mode. If the system controller 13 obtains a positive result in step SP15, the system controller 13 proceeds to step SP16, waits in the same state, returns to step SP13, and on the other hand, obtains a negative result in step SP13, step SP17. Then, the writing of the cluster data to be written to the disk 4 is interrupted, and the process returns to step SP13.

またシステムコントローラ13は、この後ステップSP18に進んで、要求されたデータ及び先読みさせるデータをディスク4からキャッシュメモリ11内に読み出した後、ステップSP13に戻る。   The system controller 13 then proceeds to step SP18, reads the requested data and the data to be prefetched from the disk 4 into the cache memory 11, and then returns to step SP13.

さらにシステムコントローラ13は、この後ステップSP19〜ステップSP24において、上述の書込み要求応答処理手順RT1におけるステップSP5〜ステップSP10と同様の処理を行う。そしてシステムコントローラ13は、この後ステップSP25に進んで、この読出し要求応答処理手順RT2を終了する。   Further, the system controller 13 thereafter performs the same processing as step SP5 to step SP10 in the write request response processing procedure RT1 described above in step SP19 to step SP24. Then, the system controller 13 proceeds to step SP25, and ends this read request response processing procedure RT2.

このようにしてシステムコントローラ13は、キャッシュメモリ11及びディスク4を制御して、パーソナルコンピュータ2からの書込み要求及び読出し要求に対して応答し得るようになされている。   In this way, the system controller 13 can control the cache memory 11 and the disk 4 and respond to write requests and read requests from the personal computer 2.

(5)本実施の形態による動作及び効果
以上の構成において、パーソナルコンピュータ2からの書込み又は読出し要求が与えられると、キャッシュメモリ11内の空きキャッシュ19’を検出し、その空きキャッシュ19’があるキャッシュ値に達したか否かの判定を行い、該当する場合には、パーソナルコンピュータ2からの書込み又は読出し要求に対して、リセットコマンドを発行するために設定された応答時間直前に応答を返す。
(5) Operation and effect according to the present embodiment In the above configuration, when a write or read request is given from the personal computer 2, the free cache 19 'in the cache memory 11 is detected and the free cache 19' exists. It is determined whether or not the cache value has been reached. If applicable, a response is returned immediately before the response time set for issuing a reset command in response to a write or read request from the personal computer 2.

従って、パーソナルコンピュータ2に応答する時間を引き延ばし、その間にキャッシュメモリ11内に格納されている書込むべきデータをディスク4に書き込ませて、キャッシュメモリ11内の空きキャッシュ19’を確保することによって、パーソナルコンピュータ2からリセットコマンドが発行される頻度を格段的に低減することができる。   Therefore, by extending the time for responding to the personal computer 2 and writing the data to be written stored in the cache memory 11 to the disk 4 during that time, thereby securing a free cache 19 ′ in the cache memory 11, The frequency with which the reset command is issued from the personal computer 2 can be significantly reduced.

また、パーソナルコンピュータ2から読出し要求されるデータの連続性を検出し、そのデータがある一定以上のデータ長になったか否かの判定を行い、該当する場合には、新たに連続したデータを読出し要求されたときに、読出し要求されるデータよりも長いデータ長のデータをディスク4からストレージ部12を介してキャッシュメモリ11内に転送する。   In addition, the continuity of data requested to be read from the personal computer 2 is detected, and it is determined whether or not the data has a certain length or more. If applicable, new continuous data is read. When requested, data having a data length longer than the data requested to be read is transferred from the disk 4 to the cache memory 11 via the storage unit 12.

従って、さらに新たに連続したデータを読出し要求されたときに、読出し要求されたデータをディスク4から読み出すことなくキャッシュメモリ11からパーソナルコンピュータ2に読み出すことができる。   Accordingly, when a new continuous data read request is made, the read requested data can be read from the cache memory 11 to the personal computer 2 without being read from the disk 4.

以上の構成によれば、パーソナルコンピュータ2からの書込み又は読出し要求が与えられると、キャッシュメモリ11内の空きキャッシュ19’を検出し、その空きキャッシュ19’があるキャッシュ値に達したか否かの判定を行い、該当する場合には、パーソナルコンピュータ2からの書込み又は読出し要求に対して、リセットコマンドを発行するために設定された応答時間直前に応答を返すことにより、パーソナルコンピュータに応答する時間を引き延ばし、その間にキャッシュメモリ11内に格納されている書込むべきデータをディスク4に書き込ませて、キャッシュメモリ11内の空きキャッシュ19’を確保することによって、パーソナルコンピュータ2からリセットコマンドが発行される頻度を格段的に低減することができ、かくして記録再生装置1のストレージデバイスとしてのデータ転送速度を向上させることができる。   According to the above configuration, when a write or read request is given from the personal computer 2, the free cache 19 'in the cache memory 11 is detected, and whether or not the free cache 19' has reached a certain cache value. The time to respond to the personal computer is determined by returning a response immediately before the response time set for issuing the reset command in response to a write or read request from the personal computer 2, if applicable. The personal computer 2 issues a reset command by extending the data and writing the data to be written stored in the cache memory 11 in the meantime to the disk 4 and securing the free cache 19 'in the cache memory 11. Can you reduce the frequency dramatically? It is possible to improve the data transfer rate as a storage device of the recording and reproducing apparatus 1 in.

また、パーソナルコンピュータ2から読出し要求されるデータの連続性を検出し、そのデータがある一定以上のデータ長になったか否かの判定を行い、該当する場合には、新たに連続したデータを読出し要求されたときに、読出し要求されるデータよりも長いデータ長のデータをディスク4からストレージ部12を介してキャッシュメモリ11内に転送することにより、さらに新たに連続したデータを読出し要求されたときに、読出し要求されたデータをディスク4から読み出すことなくキャッシュメモリ11からパーソナルコンピュータ2に読み出すことができ、これによりディスク4にアクセスする時間を短縮することができ、かくして記録再生装置1のストレージデバイスとしてのデータ転送速度を向上させることができる。   In addition, the continuity of data requested to be read from the personal computer 2 is detected, and it is determined whether or not the data has a certain length or more. If applicable, new continuous data is read. When requested to read new continuous data by transferring data having a data length longer than the data requested to be read from the disk 4 to the cache memory 11 via the storage unit 12 when requested. In addition, the data requested to be read can be read from the cache memory 11 to the personal computer 2 without reading from the disk 4, thereby reducing the time for accessing the disk 4, and thus the storage device of the recording / reproducing apparatus 1. As a result, the data transfer speed can be improved.

(6)他の実施の形態
なお上述の実施の形態においては、本発明を現行MDと、上述した第1及び第2の次世代MDとに対応した記録再生装置に適用するようにした場合について述べたが、本発明はこれに限らず、これ以外の種々の記録媒体に対応した記録再生装置に広く適用することができる。
(6) 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 / reproducing apparatuses compatible with various other recording media.

また上述の実施の形態においては、外部機器としてのパーソナルコンピュータから転送されるデータを一時記憶する一時記憶手段としてD−RAMからなるキャッシュメモリ11を適用するようにした場合について述べたが、本発明はこれに限らず、キャッシュメモリ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 a personal computer as an external device has been described. The present invention is not limited to this, and various devices other than the cache memory 11 can be widely applied.

さらに上述の実施の形態においては、パーソナルコンピュータ2からの書込み又は読出し要求が与えられると、キャッシュメモリ11内の空きキャッシュ19’を検出し、当該空きキャッシュ19’が所定の閾値以下のときに「逼迫モード」と判定するようにした場合について述べたが、本発明はこれに限らず、例えば、書込み又は読出し要求が与えられたときに、キャッシュメモリ11内に格納されているクラスタのデータや、書込み又は読出し要求が与えられる時間間隔や、単位時間当たりの空きキャッシュ19’のキャッシュ値を検出するようにしても良く、かかる「逼迫モード」の判定基準としてこれ以外の判定基準を適用するようにしても良い。   Furthermore, in the above-described embodiment, when a write or read request is given from the personal computer 2, the free cache 19 ′ in the cache memory 11 is detected, and when the free cache 19 ′ is below a predetermined threshold, “ Although the case where it is determined to be `` tight mode '' has been described, the present invention is not limited to this, for example, when a write or read request is given, the cluster data stored in the cache memory 11, The time interval at which a write or read request is given, or the cache value of the free cache 19 'per unit time may be detected, and other determination criteria are applied as the determination criteria for such "tight mode". May be.

さらに上述の実施の形態においては、閾値は一度に書込むべきデータのうち最大の連続データ長のデータをディスク4に書込む時間と、逼迫モード時にパーソナルコンピュータ2からの要求に対して応答を返す時間とによって設定される場合について述べたが、本発明はこれに限らず、例えば、一度に書込むべきデータのうち最大の連続データ長のデータをディスク4に書込む時間を、ディスク4の振動による音飛びやレーザパワー調整等によりディスク4が使用不能となることによってディスク4が待たせる最長の時間に設定し、当該時間に基づいて閾値を設定するようにしても良い。   Further, in the above-described embodiment, the threshold value returns a response to the request from the personal computer 2 in the time for writing the data having the maximum continuous data length to the disk 4 among the data to be written at once and the tight mode. Although the present invention is not limited to this, the present invention is not limited to this. For example, the time for writing the data having the maximum continuous data length among the data to be written at once to the disk 4 is the vibration of the disk 4. It is also possible to set the longest time that the disk 4 waits when the disk 4 becomes unusable due to sound skipping or laser power adjustment, and to set the threshold based on the time.

さらに上述の実施の形態においては、システムコントローラ13は、要求された連続データ長が閾値を越えた場合には、要求されるアドレス(クラスタ)からのデータ長よりも所定のクラスタ分だけ先読みしてキャッシュメモリ11内に読み出し、そのデータ長は逼迫モードに切り替える閾値と同じ値にした場合について述べたが、本発明はこれに限らず、
当該逼迫モードに切り替える閾値以下のデータ長を先読みするようにしても良い
Further, in the above-described embodiment, when the requested continuous data length exceeds the threshold, the system controller 13 reads ahead by a predetermined cluster amount from the data length from the requested address (cluster). The case where data is read into the cache memory 11 and the data length is set to the same value as the threshold value for switching to the tight mode has been described.
A data length equal to or less than the threshold value for switching to the tight mode may be prefetched.

さらに上述の実施の形態においては、パーソナルコンピュータ2が設定する記録再生装置1が応答すべき応答時間は通常5秒と設定されているので、安全をみて逼迫モード時にシステムコントローラ13がパーソナルコンピュータ2からの要求に対して応答を返す時間を4秒と設定した場合について述べたが、本発明はこれに限らず、この種々のエラー等を加味した上でパーソナルコンピュータ2からの書込み及び読込み要求に対して応答を返す時間を設定するようにしても良い。   Further, in the above-described embodiment, the response time to be responded by the recording / playback apparatus 1 set by the personal computer 2 is normally set to 5 seconds. Therefore, for safety, the system controller 13 is disconnected from the personal computer 2 in the tight mode. However, the present invention is not limited to this, and the present invention is not limited to this. In consideration of these various errors, etc., the write and read requests from the personal computer 2 are handled. It is also possible to set a time for returning a response.

さらに上述の実施の形態においては、パーソナルコンピュータ2、キャッシュメモリ11及びストレージ部12間でのデータのやり取りや、キャッシュメモリ11におけるデータの管理単位もこのクラスタ単位で行われる場合について述べたが、本発明はこれに限らず、例えば、パーソナルコンピュータ2、キャッシュメモリ11及びストレージ部12間で管理単位の違なったデータのやり取り等、この他種々のデータのやり取りやデータの管理単位に適用するようにしても良い。   Further, in the above-described embodiment, a case has been described in which data exchange between the personal computer 2, the cache memory 11 and the storage unit 12 and a data management unit in the cache memory 11 are performed in cluster units. The invention is not limited to this. For example, the invention may be applied to various other data exchanges and data management units such as data exchanges with different management units among the personal computer 2, the cache memory 11, and the storage unit 12. May be.

本発明は、光磁気ディスクにデータを記録再生する記録再生装置の他、種々のディスクメディアにデータを記録再生する記録再生装置に適用することができる。   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 basic 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 structure and data format of a 1st next generation MD disc. 第2の次世代MDのディスクの構成及びデータフォーマットを示す平面図及び概念図である。It is the top view and conceptual diagram which show the structure and data format of a 2nd next generation MD disc. キャッシュメモリの構成の説明に供する概念図である。It is a conceptual diagram with which it uses for description of a structure of a cache memory. キャッシュメモリの書込み制御の説明に供する概念図である。It is a conceptual diagram with which it uses for description of the write control of a cache memory. データ長管理テーブルの説明に供する概念図である。It is a conceptual diagram with which it uses for description of a data length management table. キャッシュメモリの読出し制御の説明に供する概念図である。It is a conceptual diagram with which it uses for description of read-out control of cache memory. キャッシュメモリの読出し優先制御の説明に供する概念図である。It is a conceptual diagram with which it uses for description of read priority control of a cache memory. 逼迫モード時におけるキャッシュメモリの書込み制御の説明に供する概念図である。It is a conceptual diagram with which it uses for description of the write control of the cache memory in the tight mode. 逼迫モード時におけるキャッシュメモリの書込み制御(2)の説明に供する概念図である。It is a conceptual diagram with which it uses for description of the write control (2) of the cache memory at the time of tight mode. 逼迫モード時におけるキャッシュメモリの読出し制御の説明に供する概念図である。It is a conceptual diagram with which it uses for description of read-out control of the cache memory at the time of tight mode. 逼迫モード時におけるキャッシュメモリの読出し制御(2)の説明に供する概念図である。It is a conceptual diagram with which it uses for description of read-out control (2) of the cache memory in tight mode. 書込み要求応答処理手順を示すフローチャートである。It is a flowchart which shows a write request response process sequence. 読出し要求応答処理手順を示すフローチャートである。It is a flowchart which shows a read request response process sequence.

符号の説明Explanation of symbols

1……記録再生装置、2……パーソナルコンピュータ、4……ディスク、11……キャッシュメモリ、12……ストレージ部、13……システムコントローラ、16……キャッシュ管理メモリ、19……キャッシュ、20……連続データ長管理テーブル、RT1……書込み要求応答処理手順、RT2……読出し要求応答処理手順。
DESCRIPTION OF SYMBOLS 1 ... Recording / reproducing apparatus, 2 ... Personal computer, 4 ... Disk, 11 ... Cache memory, 12 ... Storage part, 13 ... System controller, 16 ... Cache management memory, 19 ... Cache, 20 ... ... continuous data length management table, RT1 ... write request response processing procedure, RT2 ... read request response processing procedure.

Claims (11)

データを一時記憶する一時記憶手段を有し、外部機器から送信された上記データを上記一時記憶手段を介して記録媒体に記録し、又は上記記録媒体から再生された上記データを上記一時記憶手段を介して上記外部機器に送信する記録再生装置において、
上記一時記憶手段から読み出される上記データを上記記録媒体に記録し、又は上記記録媒体から再生される上記データを上記一時記憶手段を介して上記外部機器に読み出す記録再生手段と、
上記一時記憶手段及び又は上記記録再生手段を制御すると共に、上記外部機器からの書込み又は読出し要求に対して応答する制御手段と
を具え、
上記制御手段は、
上記外部機器からの書込み又は読出し要求が与えられると、上記一時記憶手段内の空き記憶領域を検出し、上記空き記憶領域が所定の閾値以下のときには、上記一時記憶手段内の空き記憶領域を確保するように上記一時記憶手段及び又は上記記録再生手段を制御すると共に、上記外部機器からの書込み又は読出し要求に対して、予め上記外部機器に設定された当該書込み又は読出し要求に対する応答の待ち時間経過直前に上記外部機器に応答する
ことを特徴とする記録再生装置。
Temporary storage means for temporarily storing data, the data transmitted from an external device is recorded on a recording medium via the temporary storage means, or the data reproduced from the recording medium is stored on the temporary storage means In a recording / reproducing apparatus that transmits to the external device via
Recording / reproducing means for recording the data read from the temporary storage means on the recording medium or reading the data reproduced from the recording medium to the external device via the temporary storage means;
A control means for controlling the temporary storage means and / or the recording / reproducing means and responding to a write or read request from the external device,
The control means includes
When a write or read request is given from the external device, the free storage area in the temporary storage unit is detected, and when the free storage area is equal to or less than a predetermined threshold, the free storage area in the temporary storage unit is secured. The temporary storage means and / or the recording / reproducing means are controlled so that a waiting time elapses in response to the write or read request set in advance in the external device in response to the write or read request from the external device. A recording / reproducing apparatus characterized by responding to the external device immediately before.
上記制御手段は、
上記記録媒体が使用不能となる最長の時間と、上記外部機器からの書込み又は読出し要求に対する応答の待ち時間とに基づいて算出される空き記憶領域を閾値とする
ことを特徴とする請求項1に記載の記録再生装置。
The control means includes
The free storage area calculated based on the longest time when the recording medium becomes unusable and the waiting time for a response to a write or read request from the external device is used as a threshold value. The recording / reproducing apparatus as described.
上記制御手段は、
上記外部機器から書き込まれた上記記録媒体に記録すべきデータを当該記録媒体に記録させており、かつ上記空き記憶領域が所定の閾値より大きいときに、上記外部機器からの読出し要求が与えられると、上記記録媒体に記録すべきデータの上記記録媒体への記録を中断し、読出し要求が与えられたデータを上記記録媒体から再生させて上記一時記憶手段に一時記憶し、当該読出し要求に対して応答する
ことを特徴とする請求項1に記載の記録再生装置。
The control means includes
When a read request is given from the external device when the data to be recorded on the recording medium written from the external device is recorded on the recording medium and the free storage area is larger than a predetermined threshold value The recording of the data to be recorded on the recording medium is interrupted, the data to which the read request is given is reproduced from the recording medium, temporarily stored in the temporary storage means, and in response to the read request The recording / reproducing apparatus according to claim 1, which responds.
上記制御手段は、
上記外部機器からの読出し要求が与えられると、読出し要求が与えられたデータの連続性を検出し、上記読出し要求が与えられたデータの連続長があるデータ長を越えたときには、新たに連続するデータを読出し要求が与えられたときに、上記読出し要求が与えられたデータよりも所定のデータ長だけ長いデータを上記記録媒体から再生させるように上記記録再生手段を制御する
ことを特徴とする請求項2に記載の記録再生装置。
The control means includes
When a read request is given from the external device, the continuity of the data to which the read request is given is detected, and when the continuous length of the data to which the read request is given exceeds a certain data length, it continues newly. The recording / reproducing means is controlled so that, when a data read request is given, the data longer than the data for which the read request is given by a predetermined data length is reproduced from the recording medium. Item 3. The recording / reproducing apparatus according to Item 2.
上記制御手段は、
上記読出し要求が与えられたデータよりも、上記算出される空き記憶領域以下のデータ長だけ長いデータを上記記録媒体から再生させるように上記記録再生手段を制御する
ことを特徴とする請求項4に記載の記録再生装置。
The control means includes
5. The recording / reproducing means is controlled to reproduce data from the recording medium that is longer than the data to which the read request is given by a data length equal to or less than the calculated free storage area. The recording / reproducing apparatus as described.
データを一時記憶する一時記憶手段を有し、外部機器から送信された上記データを上記一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生された上記データを上記一時記憶手段を介して上記外部機器に送信する記録再生方法において、
上記外部機器からの書込み又は読出し要求が与えられると、上記一時記憶手段内の空き記憶領域を検出する第1のステップと、
上記空き記憶領域が所定の閾値以下のときには、上記一時記憶手段内の空き記憶領域を確保するように上記一時記憶手段及び又は上記記録再生手段を制御すると共に、上記外部機器からの書込み又は読出し要求に対して、予め上記外部機器に設定された当該書込み又は読出し要求に対する応答の待ち時間経過直前に上記外部機器に応答する第2のステップと
を具えることを特徴とする記録再生方法。
Temporary storage means for temporarily storing data, the data transmitted from an external device is recorded on a recording medium via the temporary storage means, or the data reproduced from the recording medium is stored via the temporary storage means In the recording / playback method for transmitting to the external device,
A first step of detecting a free storage area in the temporary storage means when a write or read request is given from the external device;
When the free storage area is equal to or less than a predetermined threshold, the temporary storage means and / or the recording / reproducing means are controlled to secure a free storage area in the temporary storage means, and a write or read request from the external device And a second step of responding to the external device immediately before the response waiting time for the write or read request set in advance in the external device elapses.
上記第2のステップでは、
上記記録媒体が使用不能となる最長の時間と、上記外部機器からの書込み又は読出し要求に対する応答の待ち時間とに基づいて算出される空き記憶領域を閾値とする
ことを特徴とする請求項6に記載の記録再生方法。
In the second step,
The free storage area calculated based on the longest time that the recording medium is unusable and the waiting time for a response to a write or read request from the external device is used as a threshold value. The recording / reproducing method described.
上記第2のステップでは、
上記外部機器から書き込まれた上記記録媒体に記録すべきデータを当該記録媒体に記録させており、かつ上記空き記憶領域が所定の閾値より大きいときに、上記外部機器からの読出し要求が与えられると、上記記録媒体に記録すべきデータの上記記録媒体への記録を中断し、読出し要求が与えられたデータを上記記録媒体から再生させて上記一時記憶手段に一時記憶し、当該読出し要求に対して応答する
ことを特徴とする請求項6に記載の記録再生方法。
In the second step,
When a read request is given from the external device when the data to be recorded on the recording medium written from the external device is recorded on the recording medium and the free storage area is larger than a predetermined threshold value The recording of the data to be recorded on the recording medium is interrupted, the data to which the read request is given is reproduced from the recording medium, temporarily stored in the temporary storage means, and in response to the read request The recording / reproducing method according to claim 6, wherein a response is made.
上記第2のステップでは、
上記外部機器からの読出し要求が与えられると、読出し要求が与えられたデータの連続性を検出し、上記読出し要求が与えられたデータの連続長があるデータ長を越えたときには、新たに連続するデータを読出し要求が与えられたときに、上記読出し要求が与えられたデータよりも所定のデータ長だけ長いデータを上記記録媒体から再生する
ことを特徴とする請求項7に記載の記録再生方法。
In the second step,
When a read request is given from the external device, the continuity of the data to which the read request is given is detected, and when the continuous length of the data to which the read request is given exceeds a certain data length, it continues newly. 8. The recording / reproducing method according to claim 7, wherein when a data read request is given, data having a predetermined data length longer than the data for which the read request is given is reproduced from the recording medium.
上記第2のステップでは、
上記読出し要求が与えられたデータよりも、上記算出される空き記憶領域以下のデータ長だけ長いデータを上記記録媒体から再生する
ことを特徴とする請求項9に記載の記録再生方法。
In the second step,
10. The recording / reproducing method according to claim 9, wherein data longer than the calculated free storage area by a data length less than the data to which the read request is given is reproduced from the recording medium.
データを一時記憶する一時記憶手段を有し、外部機器から送信された上記データを上記一時記憶手段を介して記録媒体に記録し、又は記録媒体から再生された上記データを上記一時記憶手段を介して上記外部機器に送信する記録再生装置において、
上記一時記憶手段から読み出される上記データを上記記録媒体に記録し、又は上記記録媒体から再生される上記データを上記一時記憶手段を介して上記外部機器に読み出す記録再生手段と、
上記一時記憶手段及び又は上記記録再生手段を制御すると共に、上記外部機器からの書込み又は読出し要求に対して応答する制御手段と
を具え、
上記制御手段は、
上記外部機器からの読出し要求が与えられると、読出し要求が与えられたデータの連続性を検出し、上記読出し要求が与えられたデータの連続長があるデータ長を越えたときには、新たに連続するデータを読出し要求が与えられたときに、上記読出し要求が与えられたデータよりも所定のデータ長だけ長いデータを上記記録媒体から再生させるように上記記録再生手段を制御する
ことを特徴とする記録再生装置。
Temporary storage means for temporarily storing data, the data transmitted from an external device is recorded on a recording medium via the temporary storage means, or the data reproduced from the recording medium is stored via the temporary storage means In the recording / reproducing apparatus for transmitting to the external device
Recording / reproducing means for recording the data read from the temporary storage means on the recording medium or reading the data reproduced from the recording medium to the external device via the temporary storage means;
A control means for controlling the temporary storage means and / or the recording / reproducing means and responding to a write or read request from the external device,
The control means includes
When a read request is given from the external device, the continuity of the data to which the read request is given is detected, and when the continuous length of the data to which the read request is given exceeds a certain data length, it continues newly. The recording / reproducing means is controlled to reproduce data from the recording medium that is longer than the data for which the read request is given by a predetermined data length when the data read request is given. Playback device.
JP2004139259A 2004-05-07 2004-05-07 Device and method for recording/reproducing Pending JP2005322308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004139259A JP2005322308A (en) 2004-05-07 2004-05-07 Device and method for recording/reproducing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004139259A JP2005322308A (en) 2004-05-07 2004-05-07 Device and method for recording/reproducing

Publications (1)

Publication Number Publication Date
JP2005322308A true JP2005322308A (en) 2005-11-17

Family

ID=35469475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004139259A Pending JP2005322308A (en) 2004-05-07 2004-05-07 Device and method for recording/reproducing

Country Status (1)

Country Link
JP (1) JP2005322308A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7721026B2 (en) 2006-12-12 2010-05-18 Kabushiki Kaisha Toshiba Interface controller, method for controlling read access, and information processing apparatus provided with the interface controller
CN111694504A (en) * 2019-03-15 2020-09-22 杭州宏杉科技股份有限公司 Method and device for processing read request

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7721026B2 (en) 2006-12-12 2010-05-18 Kabushiki Kaisha Toshiba Interface controller, method for controlling read access, and information processing apparatus provided with the interface controller
CN111694504A (en) * 2019-03-15 2020-09-22 杭州宏杉科技股份有限公司 Method and device for processing read request
CN111694504B (en) * 2019-03-15 2023-03-31 杭州宏杉科技股份有限公司 Method and device for processing read request

Similar Documents

Publication Publication Date Title
US20070086284A1 (en) Storage medium initialization method, and recording and reproducing method and apparatus
JP4285375B2 (en) Recording / reproducing apparatus, recording / reproducing method, and program
JP4085430B2 (en) Reproducing apparatus and recording / reproducing apparatus
US7376061B2 (en) Reproducing apparatus, reproducing method, and contents recording method
JP2004192685A (en) Data editing method and data editing device
CA2423499A1 (en) Track management method and apparatus for managing tracks on a storage medium
JP2005322308A (en) Device and method for recording/reproducing
JP2006114199A (en) Recording and reproducing apparatus and method thereof
JP2005316835A (en) Recording device and method
JP2005044465A (en) Recording device and method
JP2006040408A (en) Information processor and its setting method
US7110328B2 (en) Recording and reproducing apparatus for recording and reproducing information to and from a magneto-optical storage medium
JP2005322004A (en) Data cache device
JP2005317148A (en) Data recording device and method, data reproducing device and method
JP4264651B2 (en) Playback device and playback method
JP4269841B2 (en) Recording apparatus and method
JP4214886B2 (en) Recording apparatus, recording method, recording program, and recording medium
JP2005302072A (en) Recording/reproducing device and management information readout method
JP2005339695A (en) Recording and reproducing device and method
JP2005322309A (en) Recording device and method
JP2006059465A (en) Recording and reproducing device and method, program, and recording medium
JP4403784B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP2005228380A (en) Reproducing device
JP2005182970A (en) Recording/reproducing device, and buffer memory management method
JP2005032379A (en) Device and method for recording