JP2006260710A - Data recording method, data recording control circuit and data recorder - Google Patents
Data recording method, data recording control circuit and data recorder Download PDFInfo
- Publication number
- JP2006260710A JP2006260710A JP2005079434A JP2005079434A JP2006260710A JP 2006260710 A JP2006260710 A JP 2006260710A JP 2005079434 A JP2005079434 A JP 2005079434A JP 2005079434 A JP2005079434 A JP 2005079434A JP 2006260710 A JP2006260710 A JP 2006260710A
- Authority
- JP
- Japan
- Prior art keywords
- data
- control command
- area control
- area
- command
- 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
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
本発明は、所要のデータを記録可能とした光ディスクなどの記録媒体へのデータ記録方法、及びデータ記録制御回路、及びデータ記録装置に関するものである。 The present invention relates to a data recording method, a data recording control circuit, and a data recording apparatus on a recording medium such as an optical disc capable of recording required data.
従来、データの書込みが可能な記録媒体として、CD−R(Compact Disk-Recordable)やCD−RW(Compact Disk-ReWritable)などの光ディスクからなる記録媒体が知られており、昨今では、パーソナルコンピュータやテレビ映像録画機などの大容量のデータを取り扱う装置において、このような記録媒体にデータを記録可能としたデータ記録装置を搭載あるいは外部接続して、所要のデータのディスクによる保管あるいは受渡しを可能としている。 Conventionally, as recording media on which data can be written, recording media made of optical disks such as CD-R (Compact Disk-Recordable) and CD-RW (Compact Disk-ReWritable) have been known. In devices that handle large volumes of data, such as TV video recorders, a data recording device capable of recording data on such a recording medium is installed or externally connected, so that required data can be stored or delivered on a disk. Yes.
光ディスクのような記録媒体を使用するデータ記録装置では、所要のデータを光ディスクの連続の記録ブロックに書込むために、データの転送制御を行っているホストから転送されたデータを、SDRAM(Synchronous Dynamic RAndom Memory)などで構成した記憶手段に一旦記録して、適宜の記録ブロックに編集可能としている(例えば、特許文献1参照。)。 In a data recording apparatus that uses a recording medium such as an optical disk, in order to write required data in a continuous recording block of the optical disk, data transferred from a host that performs data transfer control is transferred to SDRAM (Synchronous Dynamic Random Memory) or the like is temporarily recorded and can be edited into an appropriate recording block (for example, see Patent Document 1).
記憶手段はエリア単位に分割して使用するようにしており、各エリアは、図4に示すように、データ処理コマンドを収める第1コマンド領域101と、ポインタ処理コマンドを収める第2コマンド領域102と、所要のデータを収めるデータ領域103で構成している。
The storage means is used by being divided into area units. As shown in FIG. 4, each area has a
データ処理コマンドとは、データの初期化を含めて、該当するエリアにおいてどのような処理を行うかを定義しているものである。ポインタ処理コマンドとは、割り込み/中断処理を含めて、該当するエリアの処理の前後においてどのようにポインタを移動させるかを定義しているものである。以下において、データ処理コマンドとポインタ処理コマンドとを合わせて「エリア制御コマンド」と呼ぶ。 The data processing command defines what processing is to be performed in the corresponding area including data initialization. The pointer processing command defines how to move the pointer before and after the processing of the corresponding area, including interrupt / interrupt processing. Hereinafter, the data processing command and the pointer processing command are collectively referred to as “area control command”.
なお、各エリアにデータを格納する場合には、第1コマンド領域101及び第2コマンド領域102に所要のエリア制御コマンドが格納されている必要があるものの、ホストから転送されるデータにはエリア制御コマンドが無いことがあり、そのため、図5に示すように、各エリアへのデータの格納前に、データ記録装置のファームウェアによって、ホストから転送されたデータ201に対応したエリア制御コマンド202を生成して、データ201とともにエリア制御コマンド202を所定のエリアに格納するようにしている。
Note that when data is stored in each area, the
また、記録媒体のうち、特にCD−Rの場合は、トラック情報などを記録するPMA(Program Memory Area)、データの記録開始位置を示すリードインエリア(Lead-in area)、所要のデータが記録されるプログラムエリア(Program area)、データの記録終了位置を示すリードアウトエリア(Lead-out area)の4つのデータエリアで構成されており、各エリアを構成するデータは、メインデータとサブコードデータの2つで構成している。さらに、メインデータは、同期信号データと、ヘッダーデータと、ユーザデータと、EDC(Error Detecting Code)データと、ZEROデータと、Pパリティデータと、Qパリティデータとで構成している。 Of the recording media, particularly in the case of a CD-R, a PMA (Program Memory Area) for recording track information, a lead-in area indicating a data recording start position, and necessary data are recorded. Are composed of four data areas, a program area and a lead-out area indicating the data recording end position. The data constituting each area is main data and subcode data. It consists of two. Further, the main data is composed of synchronization signal data, header data, user data, EDC (Error Detecting Code) data, ZERO data, P parity data, and Q parity data.
このようなCD−Rに対してDAO(Disc At Once)方式、およびSAO(Session At Once)方式と呼ばれる書込方式においては、書込データの転送前にキューシートと呼ばれる転送予定情報がホストからデータ記録装置に転送され、このキューシートに基づいてデータの書込みが行われるようになっている。 In a writing method called DAO (Disc At Once) method and SAO (Session At Once) method for such a CD-R, transfer schedule information called a cue sheet is transferred from the host before the write data is transferred. The data is transferred to the data recording device, and data is written based on the cue sheet.
しかも、DAO方式でデータの書き込みを行う際には、ホストから転送されてくるデータが、プログラムエリアのユーザデータだけである場合があり、このような場合には、データ記録装置においてキューシートから所要のデータ及びエリア制御コマンドを生成し、データとともにエリア制御コマンドを記憶手段の所定のエリアに格納している。 Moreover, when data is written by the DAO method, the data transferred from the host may be only the user data in the program area. In such a case, the data recording apparatus requires the data from the cue sheet. Data and an area control command are generated, and the area control command is stored together with the data in a predetermined area of the storage means.
なお、キューシートには、書き込みを行うトラック/インデックスの情報が格納されており、特に各トラック/インデックスの開始時間情報が記録されているので、トラック/インデックス間の開始時間の差分を求めることによって、各トラック/インデックス間の転送するデータの量、すなわちセクタ数を算出することができる。 The cue sheet stores the information of the track / index to be written, and particularly the start time information of each track / index. Therefore, by calculating the difference in the start time between the tracks / indexes. The amount of data to be transferred between each track / index, that is, the number of sectors can be calculated.
ここで、ホストから転送されて記憶手段に一旦記憶されるデータは連続的に記憶手段に格納されるため、そのままではデータに対応したエリア制御コマンドの設定または変更のタイミングを確認することができないので、エリア処理が終了した段階で割り込み/中断が発生するようにエリア制御コマンドに割り込み/中断処理の命令を格納している。 Here, since the data transferred from the host and temporarily stored in the storage means is continuously stored in the storage means, the timing of setting or changing the area control command corresponding to the data cannot be confirmed as it is. An interrupt / interrupt processing instruction is stored in the area control command so that an interrupt / interruption occurs when the area processing ends.
そして、割り込み/中断処理の実行時にファームウェアによってエリア処理の終了タイミングの確認や、エリア処理数をカウントすることによりエリアのデータがどのトラック/インデックスのデータであるかの検知を行って、該当するエリア制御コマンドの設定を可能としている。
しかしながら、このようにエリア処理の終了にともなって逐次中断処理を行った場合には、データ転送の処理速度が遅くなるという不具合があった。 However, when sequential interruption processing is performed in accordance with the end of area processing as described above, there is a problem that the processing speed of data transfer becomes slow.
しかも、エリア処理の終了にともなってファームウェアで所要の処理を実行する場合には、データ転送の処理速度がファームウェアの実行速度に規制されて高倍速の対応が困難であり、ファームウェアを高速化するには高性能のCPUリソースが必要となって、高コスト化及び高消費電力化するという問題があった。 In addition, when the required processing is executed by the firmware at the end of the area processing, the data transfer processing speed is restricted by the firmware execution speed and it is difficult to cope with the high speed. Has a problem of high cost and high power consumption because it requires high-performance CPU resources.
本発明者らはこのような現状に鑑み、エリア制御コマンドの更新を、データ転送の中断を生じることなくリアルタイムで実行可能とすることによりデータ転送の高速化を図るべく研究開発を行い、本発明を成すに至ったものである。 In view of this situation, the present inventors have conducted research and development to increase the speed of data transfer by enabling area control command updates in real time without interruption of data transfer. It has come to make.
本発明のデータ記録方法では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶して、その後、データを読出して記録媒体に記録するデータ記録方法において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数のテーブルを生成し、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶することとした。 In the data recording method of the present invention, in the data recording method in which the data to be recorded on the recording medium is temporarily stored in a predetermined area of the storage means together with the area control command, and then the data is read and recorded on the recording medium. A table of the area control commands to be sequentially output and the number of areas for storing the area control commands is generated from the transfer schedule information transferred in advance before the start, and the area control commands are stored together with the data to be stored in the storage means based on the table. It was decided to.
また、本発明のデータ記録方法では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶して、その後、データを読出して記録媒体に記録するデータ記録方法において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドの第1のテーブルを生成するとともに、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報の第2のテーブルを生成し、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出して、記憶手段に記憶するデータとともにエリア制御コマンドを記憶することとした。 In the data recording method of the present invention, the data to be recorded on the recording medium is temporarily stored together with the area control command in a predetermined area of the storage means, and then the data is read and recorded on the recording medium. A first table of area control commands to be sequentially output is generated from the transfer schedule information transferred in advance before the start of the transfer, and a second table of time information for designating the timing for switching and outputting each area control command. The amount of data generated and stored in the storage unit together with the predetermined area control command is calculated from the time information in the second table, and the area control command is stored together with the data stored in the storage unit.
また、本発明のデータ記録制御回路では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録制御回路において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数を記憶したテーブルと、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けた。さらに、コマンド設定部には、エリア数をデクリメント処理するカウンタを設けるとともに、このカウンタの値が所定値となったところでエリア制御コマンドを更新するコマンド更新部を設けたことにも特徴を有するものである。 In the data recording control circuit of the present invention, in the data recording control circuit configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage unit, the data recording control circuit transfers the data before starting the data transfer. A table for storing area control commands to be sequentially output and the number of areas for storing the area control commands, and a command setting unit for storing the area control commands together with data to be stored in the storage unit based on the tables. Provided. Further, the command setting unit is provided with a counter for decrementing the number of areas, and a command update unit for updating the area control command when the value of the counter reaches a predetermined value. is there.
また、本発明のデータ記録制御回路では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録制御回路において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドを記憶した第1のテーブルと、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を記憶した第2のテーブルと、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出する算出手段と、この算出手段で算出された算出結果に基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けた。さらに、コマンド設定部には、算出結果をデクリメント処理するカウンタを設けるとともに、このカウンタの値が所定値となったところでエリア制御コマンドを更新するコマンド更新部を設けたことにも特徴を有するものである。 In the data recording control circuit of the present invention, in the data recording control circuit configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage unit, the data recording control circuit transfers the data before starting the data transfer. The first table storing area control commands to be output sequentially from the transfer schedule information, the second table storing time information for specifying the timing for switching and outputting each area control command, and the second table The calculation means for calculating the amount of data stored in the storage means together with the predetermined area control command from the time information in the memory, and the area control command is stored together with the data stored in the storage means based on the calculation result calculated by the calculation means A command setting unit is provided. Further, the command setting unit is provided with a counter for decrementing the calculation result, and a command update unit for updating the area control command when the value of the counter reaches a predetermined value. is there.
また、本発明のデータ記録装置では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録装置において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数を記憶したテーブルと、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けた。 In the data recording apparatus of the present invention, in the data recording apparatus configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage means, the transfer transferred in advance before starting the data transfer A table that stores area control commands that are sequentially output from the schedule information and the number of areas that store the area control commands, and a command setting unit that stores the area control commands together with data stored in the storage unit based on the table are provided. .
また、本発明のデータ記録装置では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録制御装置において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドを記憶した第1のテーブルと、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を記憶した第2のテーブルと、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出する算出手段と、この算出手段で算出された算出結果に基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けた。 In the data recording apparatus of the present invention, the data to be recorded on the recording medium is temporarily stored in the predetermined area of the storage means together with the area control command, and transferred in advance before the data transfer is started. In the second table, a first table storing area control commands to be sequentially output from the transfer schedule information, a second table storing time information for designating timing for switching and outputting each area control command, and the second table. Calculation means for calculating the amount of data stored in the storage means together with a predetermined area control command from the time information, and storing the area control command together with data stored in the storage means based on the calculation result calculated by the calculation means A command setting section was provided.
請求項1記載の発明によれば、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶して、その後、データを読出して記録媒体に記録するデータ記録方法において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数のテーブルを生成し、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶することによって、リアルタイムでエリア制御コマンドを更新しながらデータを転送でき、しかも途中で中断することなくデータを転送できるのでデータ転送の高速化を図ることができる。しかも、比較的低いCPUリソースでも高倍速化を図ることができる。 According to the first aspect of the present invention, there is provided a data recording method for temporarily storing data to be recorded on a recording medium together with an area control command in a predetermined area of the storage means, and thereafter reading the data and recording the data on the recording medium. A table of area control commands to be sequentially output and the number of areas for storing the area control commands is generated from the transfer schedule information transferred in advance before starting the transfer of the area, and the area control command together with the data to be stored in the storage means based on this table By storing the data, the data can be transferred while updating the area control command in real time, and the data can be transferred without being interrupted, so that the data transfer can be speeded up. In addition, high speed can be achieved even with relatively low CPU resources.
請求項2記載の発明によれば、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶して、その後、データを読出して記録媒体に記録するデータ記録方法において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドの第1のテーブルを生成するとともに、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報の第2のテーブルを生成し、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出して、記憶手段に記憶するデータとともにエリア制御コマンドを記憶することによって、データ転送の高速化を図ることができるだけでなく、所定のデータの量の算出を自動的に行うことによって転送開始までの時間を短縮することができる。 According to the second aspect of the present invention, in the data recording method for temporarily storing the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage means, and then reading the data and recording it on the recording medium, A first table of area control commands to be sequentially output is generated from the transfer schedule information transferred in advance before the start of the transfer, and a second table of time information for designating the timing for switching and outputting each area control command. Data transfer by generating and calculating the amount of data stored in the storage means together with the predetermined area control command from the time information in this second table and storing the area control command together with the data stored in the storage means In addition to speeding up the process, it automatically calculates the amount of data It is possible to reduce the time to start the transfer by Ukoto.
請求項3記載の発明によれば、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録制御回路において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数を記憶したテーブルと、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けたことによって、リアルタイムでエリア制御コマンドを更新しながらデータを転送でき、しかも途中で中断することなくデータを転送できるのでデータ転送の高速化を図ることができる。しかも、比較的低いCPUリソースでも高倍速化を図ることができる。 According to the third aspect of the present invention, in the data recording control circuit configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage means, the data is transferred in advance before the data transfer is started. A table that stores area control commands that are sequentially output from the transfer schedule information and the number of areas that store the area control commands, and a command setting unit that stores the area control commands together with the data stored in the storage means based on this table are provided. As a result, the data can be transferred while updating the area control command in real time, and the data can be transferred without being interrupted, so that the data transfer can be speeded up. In addition, high speed can be achieved even with relatively low CPU resources.
請求項4記載の発明によれば、請求項3記載のデータ記録制御回路において、コマンド設定部には、エリア数をデクリメント処理するカウンタを設けるとともに、このカウンタの値が所定値となったところでエリア制御コマンドを更新するコマンド更新部を設けたことによって、エリア制御コマンドの更新を確実に実行できる。 According to a fourth aspect of the present invention, in the data recording control circuit according to the third aspect, the command setting unit is provided with a counter for decrementing the number of areas, and the area when the counter value reaches a predetermined value. By providing the command update unit for updating the control command, the area control command can be reliably updated.
請求項5記載の発明によれば、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録制御回路において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドを記憶した第1のテーブルと、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を記憶した第2のテーブルと、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出する算出手段と、この算出手段で算出された算出結果に基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けたことによって、データ転送の高速化を図ることができるだけでなく、所定のデータの量の算出を自動的に行うことによって転送開始までの時間を短縮することができる。 According to the fifth aspect of the present invention, in the data recording control circuit configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage means, the data is transferred in advance before starting the data transfer. In the second table, a first table storing area control commands to be sequentially output from the transfer schedule information, a second table storing time information for designating timing for switching and outputting each area control command, and the second table. Calculation means for calculating the amount of data stored in the storage means together with a predetermined area control command from the time information, and storing the area control command together with data stored in the storage means based on the calculation result calculated by the calculation means By providing a command setting unit, data transfer speed can be increased. Only Not, it is possible to shorten the time until the start transfer by automatically calculates the amount of predetermined data.
請求項6記載の発明によれば、請求項5記載のデータ記録制御回路において、コマンド設定部には、算出結果をデクリメント処理するカウンタを設けるとともに、このカウンタの値が所定値となったところでエリア制御コマンドを更新するコマンド更新部を設けたことによって、エリア制御コマンドの更新を確実に実行できる。 According to a sixth aspect of the present invention, in the data recording control circuit according to the fifth aspect, the command setting unit is provided with a counter for decrementing the calculation result, and the area when the value of the counter reaches a predetermined value. By providing the command update unit for updating the control command, the area control command can be reliably updated.
請求項7記載の発明によれば、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録装置において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数を記憶したテーブルと、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けたことによって、高速なデータ転送を可能としたデータ記録装置を提供可能とすることができる。 According to the seventh aspect of the present invention, in the data recording apparatus configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage means, the transfer that has been transferred in advance before the start of the data transfer A table that stores area control commands that are sequentially output from the schedule information and the number of areas that store the area control commands, and a command setting unit that stores the area control commands together with data stored in the storage unit based on the table are provided. As a result, it is possible to provide a data recording apparatus that enables high-speed data transfer.
請求項8記載の発明によれば、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶するように構成したデータ記録制御装置において、データの転送開始前にあらかじめ転送した転送予定情報から、順次出力するエリア制御コマンドを記憶した第1のテーブルと、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を記憶した第2のテーブルと、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出する算出手段と、この算出手段で算出された算出結果に基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶させるコマンド設定部を設けたことによって、高速なデータ転送を可能としたデータ記録装置を提供可能とすることができる。 According to the eighth aspect of the invention, in the data recording control apparatus configured to temporarily store the data to be recorded on the recording medium together with the area control command in a predetermined area of the storage means, the data is transferred in advance before the data transfer is started. In the second table, a first table storing area control commands to be sequentially output from the transfer schedule information, a second table storing time information for designating timing for switching and outputting each area control command, and the second table. Calculation means for calculating the amount of data stored in the storage means together with a predetermined area control command from the time information, and storing the area control command together with data stored in the storage means based on the calculation result calculated by the calculation means Data recording that enables high-speed data transfer by providing a command setting section It may be possible to provide a device.
本発明のデータ記録方法、及びデータ記録制御回路、及びデータ記録装置では、記録媒体に記録するデータをエリア制御コマンドとともに記憶手段の所定のエリアに一旦記憶して、その後、データを読出して記録媒体に記録するデータ記録方法、及びデータ記録制御回路、及びデータ記録装置であって、データの転送開始前にあらかじめ転送した転送予定情報を用いて順次出力するエリア制御コマンドのテーブルを生成しておき、このテーブルに基づいて記憶手段に記憶するデータとともにエリア制御コマンドを記憶するように構成しているものである。 In the data recording method, the data recording control circuit, and the data recording apparatus of the present invention, the data to be recorded on the recording medium is temporarily stored together with the area control command in a predetermined area of the storage means, and then the data is read and recorded on the recording medium A data recording method, a data recording control circuit, and a data recording device for recording in a table of area control commands to be sequentially output using the transfer schedule information transferred in advance before the start of data transfer; The area control command is stored together with the data stored in the storage means based on this table.
特に、エリア制御コマンドのテーブルを生成する場合には、エリア制御コマンドとそのエリア制御コマンドを格納するエリア数をセットとしたテーブルを生成することにより、エリア数のカウント処理によってエリア制御コマンドの更新タイミングを容易に検出することができるので、リアルタイムでエリア制御コマンドを更新しながらデータを転送できる。 In particular, when generating a table of area control commands, an area control command update timing is generated by counting the number of areas by generating a table with the area control command and the number of areas storing the area control command as a set. Therefore, it is possible to transfer data while updating the area control command in real time.
しかも、従来のデータ転送のように途中で中断することなくデータを転送できるのでデータ転送の高速化を図ることができる。さらに、ファームウェアによる処理を不要とすることができるので、比較的低いCPUリソースでも極めて容易に高倍速化を図ることができる。 In addition, since the data can be transferred without interruption in the middle as in the conventional data transfer, the data transfer speed can be increased. Furthermore, since processing by firmware can be made unnecessary, it is possible to increase the speed very easily even with relatively low CPU resources.
または、エリア制御コマンドのテーブルを生成する場合に、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報の第2のテーブルを生成して、この第2のテーブルにおける時間情報から所定のエリア制御コマンドとともに記憶手段に記憶されるデータの量を算出するようにした場合には、従来のデータ転送のように途中で中断することなくデータを転送できるのでデータ転送の高速化を図ることができるだけでなく、所定のデータの量の算出を自動的に行うことによってデータの転送開始までの時間の短縮化を図ることができ、データ転送処理のさらなる高速化を図ることができる。 Alternatively, when generating a table of area control commands, a second table of time information for designating the timing for switching and outputting each area control command is generated, and a predetermined area is determined from the time information in the second table. When the amount of data stored in the storage means together with the control command is calculated, the data can be transferred without interruption in the middle as in the conventional data transfer, so that the data transfer can be speeded up. In addition, by automatically calculating the amount of predetermined data, it is possible to shorten the time until the start of data transfer, and to further increase the speed of the data transfer process.
また、当然ながら、リアルタイムでエリア制御コマンドを更新しながらデータを転送できるとともに、ファームウェアによる処理を不要とすることができるので、比較的低いCPUリソースでも極めて容易に高倍速化を図ることができる。 Naturally, the data can be transferred while updating the area control command in real time, and the processing by the firmware can be eliminated. Therefore, the high speed can be increased very easily even with a relatively low CPU resource.
ここで、第2のテーブルは、転送予定情報を記憶手段に記憶させることによりテーブルとして用いることができる。 Here, the second table can be used as a table by storing the transfer schedule information in the storage means.
以下において、図面に基づいて本発明の実施形態を説明する。図1は、第1実施形態のデータ記録装置におけるデータ記録制御回路10の説明図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an explanatory diagram of a data
データ記録制御回路10は、ホストから転送されたデータHDに、後述するように所要のエリア制御コマンドを付加して、そのエリア制御コマンドとデータHDとをSDRAM(Synchronous Dynamic RAndom Memory)などで構成した記憶手段であるメモリMに一旦記録させているものであり、メモリに記憶されたエリア制御コマンドとデータHDを逐次読出して、所要の記録媒体に記録可能としているものである。
The data
特に、本実施形態では、データの転送にあたって、キューシートと呼ばれる転送予定情報があらかじめ転送される形態の記録媒体へのデータ記録であって、具体的には記録媒体はCD−R(Compact Disk-Recordable)またはCD−RW(Compact Disk-ReWritable)である。 In particular, in the present embodiment, when transferring data, the transfer schedule information called a cue sheet is recorded on a recording medium in a form in which the information is transferred in advance. Specifically, the recording medium is a CD-R (Compact Disk- Recordable) or CD-RW (Compact Disk-ReWritable).
メモリMは、その一部をリングバッファとして使用するようにしており、メモリMの所要の領域にエリア制御コマンドとデータHDとを記憶するとともに、あらかじめ転送された転送予定情報を記憶するようにしており、しかも、本実施形態では、あらかじめ転送された転送予定情報に基づいて順次出力するエリア制御コマンドとそのエリア制御コマンドを格納するエリア数からなる情報をテーブルTとして、メモリMの所要の領域に記憶している。 A part of the memory M is used as a ring buffer. The memory M stores an area control command and data HD in a required area of the memory M, and stores transfer schedule information transferred in advance. In addition, in the present embodiment, information including area control commands to be sequentially output based on the transfer schedule information transferred in advance and the number of areas for storing the area control commands is set as a table T in a required area of the memory M. I remember it.
テーブルTにおけるスタートアドレスはあらかじめ設定しており、このスタートアドレス部分からテーブルT用のデータが記憶されるようにしている。 The start address in the table T is set in advance, and data for the table T is stored from this start address portion.
データ記録制御回路10は、エリア制御コマンドを格納するとともに格納数のカウントを行うコマンド設定部11と、所要のエリア制御コマンドとそのエリア制御コマンドを格納するエリア数の情報をコマンド設定部11に格納させるコマンド更新部12と、コマンド設定部11に格納されたエリア制御コマンドをホストから転送されたデータHDに付加する加算機13と、テーブルTからの所要のエリア制御コマンドとそのエリア制御コマンドを格納するエリア数の情報の読出しを制御するデータアクセスコントローラ14とで構成している。
The data
コマンド設定部11には、データアクセスコントローラ14で読出されたエリア制御コマンドを格納するコマンドレジスタ11aと、データアクセスコントローラ14で読出された所定のエリア制御コマンドのエリア数を格納するとともにホストから転送されたデータHDの転送にともなってデクリメント処理するカウンタ11bを設けている。
The
コマンド更新部12には、データアクセスコントローラ14が読出しを行うアドレス情報を格納したネクストアドレスレジスタ12aと、読出しの最終のアドレス情報を記憶したエンドアドレスレジスタ12bとを設けている。
The
ネクストアドレスレジスタ12aには、最初に上記したテーブルTのスタートアドレスが記録されており、コマンド設定部11のカウンタ11bが”0”になったところで次に読出しを行うテーブルTのアドレスに更新され、データアクセスコントローラ14に次のエリア制御コマンドとそのエリア制御コマンドを格納するエリア数とを読出させている。
In the
なお、データアクセスコントローラ14が読出しを行うアドレスがエンドアドレスレジスタ12bに記憶されたアドレスを超えた場合には、データアクセスコントローラ14への読出命令の出力を行わないようにしている。
When the address from which the
このように、データ記録制御回路10は、転送予定情報から生成したテーブルTを用いることにより、ホストから転送されたデータHDとともに所要のエリア制御コマンドをメモリMの所要のアドレスにリアルタイムで記憶させることができ、転送速度の高速化を図ることができる。
As described above, the data recording
なお、本実施形態のデータ記録制御回路10では、メモリMにあらかじめテーブルTを記憶させる際に、所要のエリア制御コマンドを格納するエリア数の算出が必要であり、テーブルTの生成に多大な時間を要する場合がある。
In the data recording
そこで、図2に示す第2実施形態のデータ記録制御回路20を有するデータ記録装置では、メモリMに、あらかじめ転送された転送予定情報から順次出力するエリア制御コマンドのみを第1テーブルt1として記憶するとともに、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を第2のテーブルt2として記憶して、第1テーブルt1と第2テーブルt2とを生成している。
Therefore, in the data recording apparatus having the data recording
ここで、第2テーブルは、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報のみを記憶してもよいし、その時間情報が含まれている転送予定情報をそのまま記憶してもよい。第2テーブルが転送予定情報をそのまま記憶した場合には、所要のアドレスのデータの読出し時に、各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報部分以外をマスクして読出すことにより、容易に所要の時間情報を読出すことができる。 Here, the second table may store only time information for designating the timing of switching and outputting each area control command, or may store transfer schedule information including the time information as it is. . When the second table stores the transfer schedule information as it is, by reading out the data at the required address by masking and reading other than the time information part that specifies the timing to switch and output each area control command, The required time information can be easily read out.
第2実施形態のデータ記録制御回路20も、エリア制御コマンドを格納するとともに格納数のカウントを行うコマンド設定部21と、所要のエリア制御コマンドとそのエリア制御コマンドを格納するエリア数の情報をコマンド設定部21に格納させるコマンド更新部22と、コマンド設定部21に格納されたエリア制御コマンドをホストから転送されたデータHDに付加する加算機23と、テーブルt1からの所要のエリア制御コマンドの読出しを制御するデータアクセスコントローラ24とで構成しており、さらに、テーブルt2から読出した所要のエリア制御コマンドの切換タイミングを指定する時間情報からセクタ数を算出してそのエリア制御コマンドを格納するエリア数とするセクタ数演算器30を設けている。
The data
コマンド設定部21には、データアクセスコントローラ14で読出されたエリア制御コマンドを格納するコマンドレジスタ21aと、セクタ数演算器30で算出されたセクタ数に基づくエリア数を格納するとともにホストから転送されたデータHDの転送にともなってデクリメント処理するカウンタ21bを設けている。
The
コマンド更新部22には、データアクセスコントローラ24が読出しを行うアドレス情報を格納したネクストアドレスレジスタ22aと、読出しの最終のアドレス情報を記憶したエンドアドレスレジスタ22bとを設けている。
The
ネクストアドレスレジスタ22aには、最初に上記した第1テーブルt1及び第2テーブルt2のスタートアドレスが記録されており、コマンド設定部21のカウンタ21bが”0”になったところで次に読出しを行う各テーブルt1,t2のアドレスに更新され、データアクセスコントローラ24及びセクタ数演算器30に次のエリア制御コマンド及び時間情報を読出させている。
In the
なお、データアクセスコントローラ24またはセクタ数演算器30が読出しを行うアドレスがエンドアドレスレジスタ22bに記憶されたアドレスを超えた場合には、データアクセスコントローラ24及びセクタ数演算器30への読出命令の出力を行わないようにしている。
Note that if the address to which the
セクタ数演算器30は、図3に示すように、メモリMの第2テーブルt2から読出された所要のエリア制御コマンドの切換タイミングを指定する時間情報、すなわちトラック/インデックス情報を記憶するトラック/インデックス情報記憶部31と、このトラック/インデックス情報記憶部31で記憶したデータがトラック/インデックス情報出あるかどうかを判定するアドレス判定部32と、トラック/インデックス情報記憶部31で記憶したデータがプログラムエリアのトラックであるかどうかを判定するトラック判定部33と、トラック/インデックス情報記憶部31で記憶したデータを時間情報に変換して記憶する第1時間情報記憶部34と、この第1時間情報記憶部34で記憶されていた1つ前の時間情報を記憶する第2時間情報記憶部36と、この第2時間情報記憶部36と第1時間情報記憶部34との差分からセクタ数を算出する差分演算器35と、コマンド更新部22からの入力に基づいて第2テーブルt2からのデータ読出しを制御する読出制御部37とから構成している。
As shown in FIG. 3, the
アドレス判定部32では、トラック/インデックス情報記憶部31で記憶したデータがトラック/インデックス情報出でなかった場合には、読出制御部37に所要の読出しを再度行わせるようにしている。すなわち、転送予定情報には、トラック/インデックス情報だけでなくトラック中に挿入する情報(ISRC)等も含まれている可能性があるので、このようなトラック/インデックス情報以外の情報を排除可能としている。
In the
トラック判定部33では、トラック/インデックス情報記憶部31で記憶したデータがリードインエリアを示すものであった場合には、読出制御部37に所要の読出しを再度行わせるようにしており、またリードアウトエリアを示すものであった場合には、読出制御部37に処理を停止させるようにしている。
When the data stored in the track / index
差分演算器35は、第1時間情報記憶部34と第2時間情報記憶部36に記憶された時間情報の差分によって算出したセクタ情報を、エリア制御コマンドのエリア数情報としてコマンド設定部21のカウンタ21bに入力させる用にしている。
The
第2時間情報記憶部36には、差分演算器35でのセクタ数算出の終了後に、第1時間情報記憶部34に記憶されていた時間情報を記憶させるようにしている。
The second time
読出制御部37では、読出しを行うアドレス情報を格納したネクストアドレスレジスタと、読出しの最終のアドレス情報を記憶したエンドアドレスレジスタとを設けている。ネクストアドレスレジスタには、第2テーブルt2のスタートアドレスをあらかじめ記録しており、データ読出しにともなってアドレス情報を逐次更新するようにしている。
The
特に、第2テーブルt2の読出開始時には、第2時間情報記憶部36には差分演算器35で必要とされる時間情報が記憶されていないことにより、差分演算器35での演算が不可能となっている。そこで、読出制御部37では、第2テーブルt2の読出開始時にデータアクセスを2回行うことで第2時間情報記憶部36への時間情報の格納を行って、正常なセクタ数の算出を可能としている。
In particular, at the start of reading the second table t2, the time information required by the
このように構成したセクタ数演算器30を具備したデータ記録制御回路20とすることによって、ホストから転送されるデータHDの転送の開始前に必要となる時間を削減でき、速やかにホストから転送されるデータHDの転送を開始できるので、転送効率を大きく向上させることができる。
By using the data recording
なお、上記したようにセクタ数演算器30を用いることによって、所定のトラック/インデックス間のセクタ数を算出することはできるが、通常、トラックの先頭のセクタでは相対時間の初期化のための別のエリア制御コマンドを必要とする場合があり、この場合には、トラック番号が変わる場合に、先頭の1セクタだけ異なるエリア制御コマンドを挿入しなければならない。
As described above, the
そこで、セクタ数演算器30のトラック判定部33には、一つ前のトラック番号を記憶しておくトラック番号記憶手段と、トラック番号が変わった場合にデータアクセスコントローラ24に更新要求を行う更新制御手段を設けることによって、転送予定情報に含まれる相対時間用のエリア制御コマンドにも対応可能とすることができる。
Therefore, the
M メモリ
HD ホストから転送されたデータ
T テーブル
t1 第1テーブル
t2 第2テーブル
10,20 データ記録制御回路
11,21 コマンド設定部
11a,21a コマンドレジスタ
11b,21b カウンタ
12,22 コマンド更新部
12a,22a ネクストアドレスレジスタ
12b,22b エンドアドレスレジスタ
13,23 加算器
14,24 データアクセスコントローラ
30 セクタ数演算器
M memory
Data T table transferred from HD host
t1 1st table
t2 2nd table
10,20 Data recording control circuit
11,21 Command setting section
11a, 21a Command register
11b, 21b counter
12,22 Command update part
12a, 22a Next address register
12b, 22b End address register
13,23 Adder
14,24 Data access controller
30 Sector number calculator
Claims (8)
前記データの転送開始前にあらかじめ転送した転送予定情報から、順次出力する前記エリア制御コマンドとそのエリア制御コマンドを格納するエリア数のテーブルを生成し、このテーブルに基づいて前記記憶手段に記憶するデータとともに前記エリア制御コマンドを記憶することを特徴とするデータ記録方法。 In a data recording method for temporarily storing data to be recorded on a recording medium together with an area control command in a predetermined area of a storage unit, and then reading the data and recording it on the recording medium.
Data to be stored in the storage means based on the area control command to be sequentially output and the number of areas for storing the area control command are generated from the transfer schedule information transferred in advance before the data transfer is started. A data recording method characterized by storing the area control command.
前記データの転送開始前にあらかじめ転送した転送予定情報から、順次出力する前記エリア制御コマンドの第1のテーブルを生成するとともに、前記各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報の第2のテーブルを生成し、
この第2のテーブルにおける前記時間情報から所定の前記エリア制御コマンドとともに前記記憶手段に記憶されるデータの量を算出して、前記記憶手段に記憶するデータとともに前記エリア制御コマンドを記憶することを特徴とするデータ記録方法。 In a data recording method for temporarily storing data to be recorded on a recording medium together with an area control command in a predetermined area of a storage unit, and then reading the data and recording it on the recording medium.
The first table of the area control commands to be sequentially output is generated from the transfer schedule information transferred in advance before the start of the data transfer, and the time information specifying the timing for switching and outputting each area control command 2 table,
The amount of data stored in the storage unit together with the predetermined area control command is calculated from the time information in the second table, and the area control command is stored together with the data stored in the storage unit. Data recording method.
前記データの転送開始前にあらかじめ転送した転送予定情報から、順次出力する前記エリア制御コマンドとそのエリア制御コマンドを格納するエリア数を記憶したテーブルと、
このテーブルに基づいて前記記憶手段に記憶するデータとともに前記エリア制御コマンドを記憶させるコマンド設定部
を設けたことを特徴とするデータ記録制御回路。 In a data recording control circuit configured to temporarily store data to be recorded on a recording medium together with an area control command in a predetermined area of the storage means,
From the transfer schedule information transferred in advance before the start of the transfer of data, a table storing the area control command to be sequentially output and the number of areas for storing the area control command,
A data recording control circuit comprising a command setting unit for storing the area control command together with data stored in the storage means based on the table.
このカウンタの値が所定値となったところで前記エリア制御コマンドを更新するコマンド更新部を設けたことを特徴とする請求項3記載のデータ記録制御回路。 The command setting unit includes a counter for decrementing the number of areas,
4. The data recording control circuit according to claim 3, further comprising a command update unit that updates the area control command when the value of the counter reaches a predetermined value.
前記データの転送開始前にあらかじめ転送した転送予定情報から、順次出力する前記エリア制御コマンドを記憶した第1のテーブルと、
前記各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を記憶した第2のテーブルと、
この第2のテーブルにおける前記時間情報から所定の前記エリア制御コマンドとともに前記記憶手段に記憶されるデータの量を算出する算出手段と、
この算出手段で算出された算出結果に基づいて前記記憶手段に記憶するデータとともに前記エリア制御コマンドを記憶させるコマンド設定部
を設けたことを特徴とするデータ記録制御回路。 In a data recording control circuit configured to temporarily store data to be recorded on a recording medium together with an area control command in a predetermined area of the storage means,
A first table storing the area control commands to be sequentially output from the transfer schedule information transferred in advance before the transfer of the data;
A second table storing time information for designating timing for switching and outputting each area control command;
Calculating means for calculating the amount of data stored in the storage means together with the predetermined area control command from the time information in the second table;
A data recording control circuit comprising a command setting unit for storing the area control command together with data stored in the storage unit based on a calculation result calculated by the calculation unit.
このカウンタの値が所定値となったところで前記エリア制御コマンドを更新するコマンド更新部を設けたことを特徴とする請求項5記載のデータ記録制御回路。 The command setting unit includes a counter for decrementing the calculation result,
6. The data recording control circuit according to claim 5, further comprising a command update unit that updates the area control command when the value of the counter reaches a predetermined value.
前記データの転送開始前にあらかじめ転送した転送予定情報から、順次出力する前記エリア制御コマンドとそのエリア制御コマンドを格納するエリア数を記憶したテーブルと、
このテーブルに基づいて前記記憶手段に記憶するデータとともに前記エリア制御コマンドを記憶させるコマンド設定部
を設けたことを特徴とするデータ記録装置。 In a data recording apparatus configured to temporarily store data to be recorded on a recording medium together with an area control command in a predetermined area of the storage means,
From the transfer schedule information transferred in advance before the start of the transfer of data, a table storing the area control command to be sequentially output and the number of areas for storing the area control command,
A data recording apparatus comprising a command setting unit for storing the area control command together with data stored in the storage means based on the table.
前記データの転送開始前にあらかじめ転送した転送予定情報から、順次出力する前記エリア制御コマンドを記憶した第1のテーブルと、
前記各エリア制御コマンドを切り換えて出力するタイミングを指定する時間情報を記憶した第2のテーブルと、
この第2のテーブルにおける前記時間情報から所定の前記エリア制御コマンドとともに前記記憶手段に記憶されるデータの量を算出する算出手段と、
この算出手段で算出された算出結果に基づいて前記記憶手段に記憶するデータとともに前記エリア制御コマンドを記憶させるコマンド設定部
を設けたことを特徴とするデータ記録装置。 In a data recording control device configured to temporarily store data to be recorded on a recording medium together with an area control command in a predetermined area of the storage means,
A first table storing the area control commands to be sequentially output from the transfer schedule information transferred in advance before the transfer of the data;
A second table storing time information for designating timing for switching and outputting each area control command;
Calculating means for calculating the amount of data stored in the storage means together with the predetermined area control command from the time information in the second table;
A data recording apparatus comprising: a command setting unit that stores the area control command together with data stored in the storage unit based on a calculation result calculated by the calculation unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005079434A JP2006260710A (en) | 2005-03-18 | 2005-03-18 | Data recording method, data recording control circuit and data recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005079434A JP2006260710A (en) | 2005-03-18 | 2005-03-18 | Data recording method, data recording control circuit and data recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006260710A true JP2006260710A (en) | 2006-09-28 |
Family
ID=37099759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005079434A Pending JP2006260710A (en) | 2005-03-18 | 2005-03-18 | Data recording method, data recording control circuit and data recorder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006260710A (en) |
-
2005
- 2005-03-18 JP JP2005079434A patent/JP2006260710A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009277298A (en) | Apparatus and method for digital signal reproducing and apparatus and method for digital signal recording | |
US20120092975A1 (en) | Method of performing read/write process on recording medium, parameter adjustment method, storage device, computer system, and storage medium employing the methods | |
TW200540835A (en) | Optical disc recording system | |
JP2004103127A (en) | Rearranging method of sectors of information recording medium and information storage device | |
KR100997474B1 (en) | Recording method of magnetic-disk apparatus and magnetic-disk apparatus | |
KR100406455B1 (en) | Optical disk driving apparatus | |
US20050259542A1 (en) | Reproduction device and method, recording medium, and program | |
JP2006260710A (en) | Data recording method, data recording control circuit and data recorder | |
JP4305262B2 (en) | Ring buffer control method, ring buffer device, and data recording / reproducing device | |
JP4715493B2 (en) | Memory control device and memory control method | |
KR101146975B1 (en) | Method for mirroring optical disk | |
KR20060043844A (en) | Method and apparatus for recording data on the recording medium | |
JP4285404B2 (en) | Data control apparatus and buffer data remaining amount detection method | |
KR100618790B1 (en) | Successive writing method for enhancing performance of recording medium and circuit thereof | |
JP2006085797A (en) | Optical disk device and alternation processing method of optical disk device | |
JP2005235323A (en) | Information recording medium, information recording method, information recording apparatus | |
JP5380556B2 (en) | Disk storage device and data restoration method | |
JP2005310282A (en) | Method and device for managing disk medium | |
JP2008181595A (en) | Disk medium recording and reproducing device, multi-stream readout program, and multi-stream readout method | |
JP2009211746A (en) | Optical disc recording apparatus | |
JP2008262673A (en) | Non-chronological av-stream recording | |
JP2007052920A (en) | Signal processing circuit | |
JP2007011536A (en) | Recording apparatus | |
JP2007012202A (en) | Error correction processor, error correction processing method and reproduction device | |
JP2008204515A (en) | Disk reading device |