JPH10177764A - Optical disk recording device - Google Patents

Optical disk recording device

Info

Publication number
JPH10177764A
JPH10177764A JP33656496A JP33656496A JPH10177764A JP H10177764 A JPH10177764 A JP H10177764A JP 33656496 A JP33656496 A JP 33656496A JP 33656496 A JP33656496 A JP 33656496A JP H10177764 A JPH10177764 A JP H10177764A
Authority
JP
Japan
Prior art keywords
data
recording
transfer
buffer memory
host computer
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
JP33656496A
Other languages
Japanese (ja)
Inventor
Masato Azuma
正人 東
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP33656496A priority Critical patent/JPH10177764A/en
Publication of JPH10177764A publication Critical patent/JPH10177764A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform optimum buffer memory control in accordance with trans fer capability of a host computer side in a DRAW type optical disk recording device. SOLUTION: The number of data transferred together from a host 101 to an optical disk recording device 102 is stored in a buffer control section 109, when a buffer memory 108 is filled by data from the host 101, a disk recording control section 110 starts recording in a disk 111. After start of recording, data of the buffer 108 is reduced, when a space for the number of data transferred together from the host 101 is produced, a buffer control section 109 permits transfer of the next data to the host 101. After finish of transferring data, the buffer 108 is filled, the maximum margin for holding continuity of recording data in a disk can be obtained, while as the host 101 can transfer all data equivalent to one time at once, transfer for the shortest time can be performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、光ディスク記録装
置等に関するものであり、特に記録データのバッファリ
ングに特徴を持つものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical disk recording apparatus and the like, and more particularly, to a method for buffering recorded data.

【0002】[0002]

【従来の技術】記録可能な光ディスク装置の一例とし
て、CD−WO(追記型)光ディスクの記録装置がある
が、このCD−WO記録装置はホストコンピュータに接
続され、記録すべきデータは、ホストコンピュータから
バス形式の高速インターフェイスで転送されるのが一般
的である。特にCD−WOの場合、記録データは一定速
度で連続してディスクに記録されなければならず、しか
も消去ができないので、データ転送は途切れなく一定速
度を保つよう制御されなければならない。記録途中でデ
ータが途切れると、その一連のデータは使用できなくな
り、もう一度最初から記録し直しなる。
2. Description of the Related Art As an example of a recordable optical disk device, there is a recording device for a CD-WO (write-once) optical disk. This CD-WO recording device is connected to a host computer, and data to be recorded is stored in the host computer. In general, the data is transferred by a bus-type high-speed interface. In particular, in the case of a CD-WO, recording data must be continuously recorded on a disk at a constant speed, and since data cannot be erased, data transfer must be controlled so as to maintain a constant speed without interruption. If the data is interrupted during the recording, the series of data cannot be used, and the recording is restarted from the beginning.

【0003】このデータ転送の連続性を保つため、ホス
トコンピュータ側が常に記録すべきデータを用意する必
要があり、ホストコンピュータが記録データを作成しな
がら、並行して転送する、いわゆる、オンザフライ方式
を採っている。すなわち、ホストコンピュータとCD−
WOの間に半導体メモリのデータバッファを入れ、ホス
トからのデータを一度データバッファに記憶させ、デー
タバッファからCD−WOディスクに供給する方法が用
いられている。しかしホストコンピュータ側の転送能力
に合わせた最適なバッファの制御は行われていなかっ
た。
In order to maintain the continuity of the data transfer, it is necessary for the host computer to always prepare data to be recorded. The host computer employs a so-called on-the-fly system in which the recording data is transferred in parallel while creating the recording data. ing. That is, the host computer and the CD-
A method is used in which a data buffer of a semiconductor memory is inserted between WOs, data from a host is once stored in the data buffer, and the data is supplied from the data buffer to a CD-WO disk. However, optimal control of the buffer according to the transfer capability of the host computer has not been performed.

【0004】[0004]

【発明が解決しようとする課題】データ転送の連続性を
保つためには、ホストコンピュータ側が常に記録すべき
データを用意しておく必要がある。現在のCD−WO記
録では、オンザフライ方式といって、ホストコンピュー
タが記録データを作成しながら、並行して転送する方法
が用いられている。
In order to maintain the continuity of data transfer, the host computer must always prepare data to be recorded. In the current CD-WO recording, a method in which a host computer creates recording data and transfers the recording data in parallel is called an on-the-fly method.

【0005】この従来の方法においては、ホスト側に記
録データ作成のための大容量のハードディスクを準備し
なくて済むので、経済的であるが、ホストコンピュータ
は記録データの作成と転送を並行して行うため、記録デ
ータの作成に十分時間をとるためには転送時間を最短に
しなければならない。
[0005] This conventional method is economical because it is not necessary to prepare a large-capacity hard disk for creating recording data on the host side, but the host computer creates and transfers recording data in parallel. Therefore, the transfer time must be minimized in order to take enough time to create the recording data.

【0006】また、記録データを一度に転送するために
は光ディスク記録装置側のバッファに十分な空き領域を
確保し、空き領域が多い状態で待機すると、逆にバッフ
ァが完全に空きに成り易くデータが途切れる要因とな
る。
In order to transfer the recording data at one time, a sufficient free area is secured in the buffer on the optical disk recording apparatus side, and when the standby is performed in a state where the free area is large, the buffer is liable to become completely empty. Is a factor that is interrupted.

【0007】更に、バッファに十分な空きが無いときに
データ転送を開始するとデータ転送の途中でバッファが
満杯になり、それ以降はディスクへの記録が進んでバッ
ファに空きが生じるのを待つことになるが、ホストはデ
ータ転送途中で待つ間、次の記録データの作成ができな
くなるという問題があった。
Further, if data transfer is started when there is not enough free space in the buffer, the buffer becomes full in the middle of the data transfer, and after that, recording on the disk proceeds to wait for free space in the buffer. However, there is a problem that the host cannot prepare the next recording data while waiting during the data transfer.

【0008】[0008]

【課題を解決するための手段】前記課題を解決するため
に、本発明の光ディスク記録装置は、ホストコンピュー
タからの一度に転送する転送データ数を記憶する手段
と、前記バッファメモリの空き容量を検出する手段を有
し、前記バッファメモリの空き容量が前記転送データ数
より少ない場合は、前記ホストコンピュータからバッフ
ァメモリへの記録データの転送を禁止し、前記バッファ
メモリの空き容量が前記転送データ数と一致、または大
きいとき、前記ホストコンピュータからの記録データの
転送を行うことを特徴としたものである。
In order to solve the above-mentioned problems, an optical disk recording apparatus according to the present invention comprises means for storing the number of data to be transferred at one time from a host computer, and detecting the free space in the buffer memory. Means for performing, when the free space of the buffer memory is smaller than the number of transfer data, the transfer of the recording data from the host computer to the buffer memory is prohibited, and the free space of the buffer memory is equal to the number of transfer data. When they are equal to or larger than each other, the recording data is transferred from the host computer.

【0009】本発明によれば、バッファメモリに転送さ
れる記録データ数分の空きが出来たタイミングにおい
て、ホストコンピュータからデータ転送を開始する制御
を行うことによって、ホストコンピュータからの所要の
全データを最短時間でバッファメモリに転送することが
出来る光ディスク記録装置を実現出来る。
According to the present invention, at the timing when a space corresponding to the number of recording data to be transferred to the buffer memory is created, the control to start the data transfer from the host computer is performed, so that all the necessary data from the host computer can be transferred. An optical disk recording device that can transfer data to the buffer memory in the shortest time can be realized.

【0010】[0010]

【発明の実施の形態】本発明の請求項1に記載の光ディ
スク記録は、光ディスクに記録すべきデータを保持する
ホストコンピュータとの間で情報の転送を行うインター
フェイスと、前記ホストコンピュータからインターフェ
イスを介して転送される記録データを記憶するバッファ
メモリを有し、前記バッファメモリに記憶された記録デ
ータを光ディスクに記録する光ディスク記録装置におい
て、前記ホストコンピュータから光ディスク記憶装置へ
のライトコマンド中に含まれる転送データ数を記憶する
手段と、前記バッファメモリの空き容量を検出する手段
を有し、前記バッファメモリの空き容量が前記転送デー
タ数より少ない場合は、前記ホストコンピュータからバ
ッファメモリへの記録データの転送を禁止し、前記バッ
ファメモリの空き容量が前記転送データ数と一致、また
は大きいとき、前記ホストコンピュータからの記録デー
タの転送を行うことを特徴としたものであり、バッファ
メモリに転送される一度に転送される記録データ数分の
空きが出来たタイミングにおいて、ホストコンピュータ
からデータ転送を開始する制御を行うことによって、ホ
ストコンピュータからの所要の全データを最短時間でバ
ッファメモリに転送することが出来る光ディスク記録装
置を実現出来る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An optical disk recording according to a first aspect of the present invention includes an interface for transferring information to and from a host computer holding data to be recorded on the optical disk, and an interface from the host computer via the interface. An optical disk recording apparatus having a buffer memory for storing recording data to be transferred to the optical disk storage apparatus for recording the recording data stored in the buffer memory on an optical disk, the transfer included in a write command from the host computer to the optical disk storage apparatus. Means for storing the number of data, and means for detecting the free space in the buffer memory, wherein when the free space in the buffer memory is smaller than the number of data to be transferred, transfer of the recording data from the host computer to the buffer memory. Is prohibited and the buffer memory is free. When the amount is equal to or larger than the number of transfer data, the transfer of the record data from the host computer is performed, and the space corresponding to the number of record data transferred at one time to be transferred to the buffer memory is transferred. By performing control to start data transfer from the host computer at the timing when the data is obtained, it is possible to realize an optical disk recording device capable of transferring all required data from the host computer to the buffer memory in the shortest time.

【0011】次に、本発明の請求項2に記載の光ディス
ク記録装置は、光ディスクに記録すべきデータを保持す
るホストコンピュータとの間で情報の転送を行うインタ
ーフェイスと、前記ホストコンピュータからインターフ
ェイスを介して転送される記録データを記憶するバッフ
ァメモリを有し、前記バッファメモリに記憶された記録
データを光ディスクに記録する光ディスク記録装置にお
いて、前記ホストコンピュータから光ディスク装置への
一度に転送される記録データのデータ数を1パケットと
して計数し、そのパケットのデータ量を記憶する手段
と、前記バッファメモリの空き容量を検出する手段を有
し、前記バッファメモリの空き容量が前記1パケットよ
り少ない場合は、前記ホストコンピュータからの記録デ
ータの転送を禁止し、前記バッファメモリの空き容量が
前記1パケットのデータ量と一致、または大きいとき、
前記ホストコンピュータからの記録データの転送を行う
ことを特徴としたものであり、光ディスク装置側でデー
タ転送のインターバルを計測しておき、そのインターバ
ルが予め定められた時間より長いとき、そこで区切り、
その間のブロック数のデータ量を1パケットと設定する
ことにより、ライトコマンドのブロック数情報と一度に
転送されるデータ数が異なる場合でも最適な制御が実現
出来る。
Next, an optical disk recording apparatus according to a second aspect of the present invention provides an interface for transferring information to and from a host computer holding data to be recorded on an optical disk, and an interface from the host computer via the interface. An optical disk recording device having a buffer memory for storing the recording data to be transferred to the optical disk device and recording the recording data stored in the buffer memory on an optical disk; Means for counting the number of data as one packet, storing the data amount of the packet, and means for detecting the free space of the buffer memory, and when the free space of the buffer memory is smaller than the one packet, Prohibit transfer of recording data from host computer When the free space of the buffer memory is consistent with data of the one packet, or greater,
The recording data is transferred from the host computer, wherein an interval of data transfer is measured on the optical disk device side, and when the interval is longer than a predetermined time, the data is separated there.
By setting the data amount of the number of blocks in the meantime to one packet, optimal control can be realized even when the number of data transferred at a time is different from the block number information of the write command.

【0012】(実施の形態1)以下に、本発明の請求項
1及び請求項2に記載の実施の形態について、図1から
図3を用いて説明する。
(Embodiment 1) An embodiment according to claims 1 and 2 of the present invention will be described below with reference to FIGS. 1 to 3.

【0013】図1(a)において、101はホストコン
ピュータ、102は光ディスク記録装置、103はイン
ターフェイスバスであり、ホストコンピュータ101と
光ディスク記録装置102をインターフェイスバス10
3で接続した構成になっている。CPU106はメイン
メモリ105を使って記録データを作成し、インターフ
ェイス制御部104からインターフェイスバス103を
介して光ディスク記録装置102のインターフェイス制
御部107へデータを転送する。記録データはバッファ
メモリ108に記憶され、そこからバッファ制御部10
9によってディスク記録制御部110へ送られ、磁気デ
ィスク111に記録される。インターフェイスバス10
3は、図1(b)に示すようにデータバスの他に複数の
制御信号CTLから成るが、制御信号のなかのREQ信
号とACK信号のハンドシェイクによってデータ転送の
タイミングを制御している。
In FIG. 1A, 101 is a host computer, 102 is an optical disk recording device, and 103 is an interface bus. The host computer 101 and the optical disk recording device 102 are connected to an interface bus 10.
3 is connected. The CPU 106 creates recording data using the main memory 105, and transfers the data from the interface control unit 104 to the interface control unit 107 of the optical disc recording device 102 via the interface bus 103. The recording data is stored in the buffer memory 108, from which the buffer control unit 10
9 is sent to the disk recording control unit 110 and recorded on the magnetic disk 111. Interface bus 10
Reference numeral 3 includes a plurality of control signals CTL in addition to the data bus as shown in FIG. 1B, and the data transfer timing is controlled by the handshake of the REQ signal and the ACK signal among the control signals.

【0014】本発明の要部であるバッファ制御部109
の詳細ブロック図を図2に示す。図2において、201
はアドレスバス、202はデータバスを表し、各構成要
素とバッファメモリを接続している。制御CPU203
では、ホストコンピュータからのデータ転送の制御、転
送データ数の計数、バッファメモリ108の記憶データ
の管理、空き容量の監視、ディスク記録制御部110へ
の記録指示等を行う。a1レジスタ204には、バッフ
ァメモリ108の記録データ記憶領域の先頭を示すアド
レス値を格納する。a2レジスタ205には、ホストコ
ンピュータから一度に転送されるデータ数に等しい空き
領域を残した状態の、バッファメモリ108のアドレス
値を格納する。ブロックカウンタ206は、ライトコマ
ンドのブロック数情報を格納する。バッファメモリ10
8は、(a0−a3)範囲が全領域で、a0をボトム、
a3をトップとすると、(a0−a1)範囲が記録デー
タ領域、(a2−a3)がホストコンピュータから一度
に転送されるデータ数に等しい領域となる。ブロックカ
ウンタ206の値は、(a2−a3)の示すブロック数
に等しい。この構成において、a1=a2となるか、a
1<a2のとき、ホストからのデータ転送を行い、a1
>a2のとき転送を禁止するように制御する。
A buffer control unit 109 which is a main part of the present invention.
2 is shown in FIG. In FIG.
Represents an address bus, and 202 represents a data bus, which connects each component to a buffer memory. Control CPU 203
Then, control of data transfer from the host computer, counting of the number of transfer data, management of data stored in the buffer memory 108, monitoring of free space, recording instructions to the disk recording control unit 110, and the like are performed. The a1 register 204 stores an address value indicating the head of the recording data storage area of the buffer memory 108. The a2 register 205 stores the address value of the buffer memory 108 in a state where a free area equal to the number of data transferred at one time from the host computer is left. The block counter 206 stores block number information of the write command. Buffer memory 10
8, the (a0-a3) range is the entire region, a0 is the bottom,
If a3 is the top, the (a0-a1) range is the recording data area, and (a2-a3) is the area equal to the number of data transferred at one time from the host computer. The value of the block counter 206 is equal to the number of blocks indicated by (a2-a3). In this configuration, a1 = a2 or a
When 1 <a2, data transfer from the host is performed and a1
When> a2, control is performed to prohibit transfer.

【0015】本実施の形態のa1レジスタ204、a2
レジスタ205、ブロックカウンタ206等について
は、バッファメモリ108の一部を代用することも可能
である。
A1 register 204, a2 of the present embodiment
For the register 205, the block counter 206, and the like, a part of the buffer memory 108 can be used instead.

【0016】ライトコマンド構成は、図3に示すように
ライトコマンド301と記録データ302から成る。ラ
イトコマンド内のXブロックはこれから転送するデータ
がXブロックあることを示す。1ブロック単位の記録デ
ータ302は、CD−DAやCD−ROMデータのよう
に種類によって異なるが、2048バイトから2352
バイト程度の容量で1ブロック単位となる。制御CPU
203はライトコマンドを受信したとき、ブロック数X
をブロックカウンタ206に格納する。さらにブロック
数Xと1ブロックあたりのバイト数からデータ容量を計
算し、a2のアドレス値を算出する。計算例として、1
ブロックが2352バイトの場合、a2=a3−(Xブ
ロック×2352)となる。
The write command configuration includes a write command 301 and recording data 302 as shown in FIG. The X block in the write command indicates that there is an X block of data to be transferred. The recording data 302 in one block unit differs depending on the type like CD-DA or CD-ROM data, but is from 2048 bytes to 2352 bytes.
The capacity is on the order of one block with a capacity of about a byte. Control CPU
203 is the number of blocks X when the write command is received.
Is stored in the block counter 206. Further, the data capacity is calculated from the number of blocks X and the number of bytes per block, and the address value of a2 is calculated. As a calculation example, 1
When the block is 2352 bytes, a2 = a3− (X block × 2352).

【0017】ライトコマンドに続いてデータ転送が実行
されると、データはバッファメモリ108に蓄積され
る。1ブロック受信するとa1の値が1増加する。バッ
ファメモリ108にある程度蓄積されると、CPU20
3はディスク記録制御部110へ記録開始を指示する。
ディスク記録制御部110は、バッファメモリ108か
らデータを読み出し、ディスクへ記録する。1ブロック
記録すると、a1の値が1減少する。ホストからのデー
タ転送で、満杯になったバッファメモリ108は、a1
=a3の状態となるが、ディスクへの記録が進んでa1
の値がa2まで減少すると、CPU203はインターフ
ェイス制御部を通じて、ホストからの次のデータ転送要
求を許可する。
When data transfer is executed following the write command, data is stored in the buffer memory 108. When one block is received, the value of a1 increases by one. When some data is stored in the buffer memory 108, the CPU 20
3 instructs the disc recording control unit 110 to start recording.
The disk recording control unit 110 reads data from the buffer memory 108 and records the data on the disk. When one block is recorded, the value of a1 decreases by one. The buffer memory 108 which is full due to the data transfer from the host is a1
= A3, but recording on the disk proceeds and a1
Decreases to a2, the CPU 203 permits the next data transfer request from the host through the interface control unit.

【0018】ホストは再びライトコマンドを送信する
が、この時の転送ブロック数がXブロックならすぐにデ
ータ転送を開始する。しかしこの転送ブロック数がYブ
ロックであり、Xブロックと異なる場合、CPU203
はブロック数Yをブロックカウンタ206に格納し、a
2=a3−(Yブロック×2352)のようにa2の値
も更新される。新しいa2が、a2<a1の関係になっ
ていたらCPU203は再びデータ転送を禁止し、バッ
ファメモリ108のデータがディスクに記録されてa1
値が減少するのを待つ。再びa2=a1になったら、デ
ータ転送を許可する。この制御を実行することで、ライ
トコマンド毎に転送ブロック数が変化しても柔軟に対応
できる。
The host transmits the write command again, but immediately starts data transfer if the number of transfer blocks at this time is X blocks. However, if the number of transfer blocks is Y blocks and different from X blocks, the CPU 203
Stores the number of blocks Y in the block counter 206, and a
The value of a2 is also updated as 2 = a3− (Y block × 2352). If the new a2 satisfies the relationship of a2 <a1, the CPU 203 inhibits the data transfer again, and the data in the buffer memory 108 is recorded on the disk and a1
Wait for the value to decrease. When a2 = a1 again, data transfer is permitted. By executing this control, it is possible to flexibly cope with a change in the number of transfer blocks for each write command.

【0019】(実施の形態2)次に、本発明の請求項2
に記載の発明の実施の形態について、図4を用いて説明
する。
(Embodiment 2) Next, claim 2 of the present invention
The embodiment of the invention described in (1) will be described with reference to FIG.

【0020】図4はインターフェイスバス103のデー
タ転送時の動作のタイミングチャートを表している。図
4(a)のタイムチャートはライトコマンドとそれに続
く記録データ列を表し、REQとACKのハンドシェイ
クで転送を行う。CPU203はライトコマンドを受信
すると転送されるブロック数をブロックカウンタ206
に格納してチェックし、前述のようにバッファメモリ1
08の状況に応じて、最適な時期にインターフェイス制
御部107を介してホストにREQを発行する。ホスト
はデータをデータバスに出力し、信号が確定したらAC
Kを発行する。インターフェイス制御部107はACK
を受けてデータを取り込み、以下これを繰り返す。例え
ば4MB/secで転送する場合、周期T1=250n
secとなり、1ブロックあたり2352バイトでは、
588μsecかかる。
FIG. 4 is a timing chart showing the operation of the interface bus 103 during data transfer. The time chart in FIG. 4A shows a write command and a recording data sequence following the write command, and transfer is performed by handshaking REQ and ACK. Upon receiving the write command, the CPU 203 counts the number of blocks to be transferred to the block counter 206.
In the buffer memory 1 as described above.
REQ is issued to the host via the interface control unit 107 at an optimal time according to the situation of 08. The host outputs data to the data bus.
Issue K. The interface control unit 107 receives ACK
Then, the data is fetched, and this is repeated. For example, when transferring at 4 MB / sec, the cycle T1 = 250n
sec, and 2352 bytes per block,
It takes 588 μsec.

【0021】図4(b)のタイムチャートは、ブロック
単位の転送の状況を表している。T2はブロック間のイ
ンターバルを表しており、ホストの能力によって値は異
なるが、同じホストを使用している限りは一定間隔であ
る。したがって1ブロック当たりの転送時間Tb+T2
が1ブロック転送の総時間となる。
The time chart of FIG. 4B shows the state of transfer in block units. T2 represents an interval between blocks, and the value differs depending on the capability of the host, but is a constant interval as long as the same host is used. Therefore, the transfer time per block Tb + T2
Is the total time of one block transfer.

【0022】図2のタイマ207はCPU203に接続
されており、TbおよびT2を計測することができる。
CPU203は、転送が始まるとTbおよびT2を計測
し、同時に同じTb+T2間隔で何ブロック受信したか
をカウントする。T2の間隔が予め定められた通常値よ
り長い場合、CPU203は、そこでカウントを打ち切
り、そのカウント数を一度に転送されるデータ数として
ブロックカウンタ206に格納し、そのブロック数を1
パケットとし、バッファメモリ108の最適制御を行う
ことができる。
The timer 207 in FIG. 2 is connected to the CPU 203 and can measure Tb and T2.
When the transfer starts, the CPU 203 measures Tb and T2, and simultaneously counts how many blocks have been received at the same Tb + T2 interval. When the interval of T2 is longer than a predetermined normal value, the CPU 203 stops counting there, stores the count as the number of data transferred at one time in the block counter 206, and sets the number of blocks to 1
Packets can be optimally controlled in the buffer memory 108.

【0023】すなわち、光ディスク記録装置の方で、パ
ケットの大きさを判定して設定することが出来、ライト
コマンド内に含まれるブロック数情報と一度に転送され
るデータ数が異なる場合でも、バッファメモリ108の
空き容量及び転送時間の制御を最適化することが出来
る。
That is, the size of the packet can be determined and set by the optical disk recording apparatus, and even if the number of data transferred at one time differs from the number of blocks included in the write command, the buffer memory can be used. It is possible to optimize the control of the free space and the transfer time of the 108.

【0024】[0024]

【発明の効果】以上のように、本発明の光ディスク記録
装置によれば、ホストからの転送データ量を計測、保持
することによりバッファメモリを最大限利用することが
でき、バッファが空きになるまでの時間余裕を最大にで
きる。またホストからのデータ転送を開始するとき、バ
ッファメモリに転送データ分の空き領域を設けているた
め、最短時間で転送することができホストはデータ転送
以外の処理時間を最大限に活用でき、CPUの使用効率
を向上することが出来る。
As described above, according to the optical disk recording apparatus of the present invention, the buffer memory can be used to the maximum extent by measuring and holding the amount of data transferred from the host, and until the buffer becomes empty. Time can be maximized. In addition, when data transfer from the host is started, an empty area for the transfer data is provided in the buffer memory, so that the transfer can be performed in the shortest time, and the host can make the most of the processing time other than the data transfer, and Use efficiency can be improved.

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

【図1】本発明の実施形態を示す光ディスク記録装置の
全体構成図
FIG. 1 is an overall configuration diagram of an optical disc recording apparatus showing an embodiment of the present invention.

【図2】同光ディスク記録装置のバッファメモリ制御部
のブロック構成図
FIG. 2 is a block diagram of a buffer memory control unit of the optical disc recording apparatus.

【図3】同光ディスク記録装置のデータ転送に使用する
コマンドを模式的に示す図
FIG. 3 is a diagram schematically showing commands used for data transfer of the optical disc recording apparatus.

【図4】同光ディスク記録装置のデータ転送方式を示す
タイムチャート
FIG. 4 is a time chart showing a data transfer method of the optical disc recording apparatus.

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

101 ホストコンピュータ 102 光ディスク記録装置 103 インターフェイスバス 104、107 インターフェイス制御部 108 バッファメモリ 109 バッファ制御部 204 a1レジスタ 205 a2レジスタ 206 ブロックカウンタ 207 タイマ 101 Host Computer 102 Optical Disk Recording Device 103 Interface Bus 104, 107 Interface Control Unit 108 Buffer Memory 109 Buffer Control Unit 204 a1 Register 205 a2 Register 206 Block Counter 207 Timer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 光ディスクに記録すべきデータを保持す
るホストコンピュータとの間で情報の転送を行うインタ
ーフェイスと、前記ホストコンピュータからインターフ
ェイスを介して転送される記録データを記憶するバッフ
ァメモリを有し、前記バッファメモリに記憶された記録
データを光ディスクに記録する光ディスク記録装置にお
いて、 前記ホストコンピュータから光ディスク記憶装置へのラ
イトコマンド中に含まれる転送データ数を記憶する手段
と、前記バッファメモリの空き容量を検出する手段を有
し、前記バッファメモリの空き容量が前記転送データ数
より少ない場合は、前記ホストコンピュータからバッフ
ァメモリへの記録データの転送を禁止し、前記バッファ
メモリの空き容量が前記転送データ数と一致、または大
きいとき、前記ホストコンピュータからの記録データの
転送を行うことを特徴とする光ディスク記録装置。
1. An interface for transferring information to and from a host computer holding data to be recorded on an optical disc, and a buffer memory for storing recording data transferred from the host computer via the interface, An optical disk recording apparatus for recording the recording data stored in the buffer memory on an optical disk, comprising: a unit for storing a transfer data number included in a write command from the host computer to the optical disk storage device; Means for detecting, when the free space of the buffer memory is smaller than the number of transfer data, the transfer of the recording data from the host computer to the buffer memory is prohibited, and the free space of the buffer memory becomes equal to the number of transfer data. Matches or is greater than Optical disk recording apparatus characterized by the transfer of recording data from the serial host computer.
【請求項2】 光ディスクに記録すべきデータを保持す
るホストコンピュータとの間で情報の転送を行うインタ
ーフェイスと、前記ホストコンピュータからインターフ
ェイスを介して転送される記録データを記憶するバッフ
ァメモリを有し、前記バッファメモリに記憶された記録
データを光ディスクに記録する光ディスク記録装置にお
いて、 前記ホストコンピュータから光ディスク装置への一度に
転送される記録データのデータ数を1パケットとして計
数し、そのパケットのデータ量を記憶する手段と、前記
バッファメモリの空き容量を検出する手段を有し、前記
バッファメモリの空き容量が前記1パケットより少ない
場合は、前記ホストコンピュータからの記録データの転
送を禁止し、前記バッファメモリの空き容量が前記1パ
ケットのデータ量と一致、または大きいとき、前記ホス
トコンピュータからの記録データの転送を行うことを特
徴とする光ディスク記録装置。
2. An interface for transferring information to and from a host computer holding data to be recorded on an optical disc, and a buffer memory for storing recording data transferred from the host computer via the interface, In an optical disk recording device for recording the recording data stored in the buffer memory on an optical disk, the number of recording data transferred at one time from the host computer to the optical disk device is counted as one packet, and the data amount of the packet is calculated. Means for storing, and means for detecting free space in the buffer memory, wherein when the free space in the buffer memory is smaller than the one packet, transfer of recording data from the host computer is prohibited, The free space of the packet is When data quantity match, or greater, the optical disc recording apparatus characterized by the transfer of recording data from the host computer.
JP33656496A 1996-12-17 1996-12-17 Optical disk recording device Pending JPH10177764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33656496A JPH10177764A (en) 1996-12-17 1996-12-17 Optical disk recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33656496A JPH10177764A (en) 1996-12-17 1996-12-17 Optical disk recording device

Publications (1)

Publication Number Publication Date
JPH10177764A true JPH10177764A (en) 1998-06-30

Family

ID=18300453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33656496A Pending JPH10177764A (en) 1996-12-17 1996-12-17 Optical disk recording device

Country Status (1)

Country Link
JP (1) JPH10177764A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546411B2 (en) 2001-09-14 2009-06-09 Bruner Curtis H Digital device configuration and method
US7551382B2 (en) 2001-09-14 2009-06-23 Bruner Curtis H Digital device configuration and method
US8010625B2 (en) 2006-04-17 2011-08-30 Webstream Corporation Content storage medium making method, computer program, and content providing system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546411B2 (en) 2001-09-14 2009-06-09 Bruner Curtis H Digital device configuration and method
US7551382B2 (en) 2001-09-14 2009-06-23 Bruner Curtis H Digital device configuration and method
JP2010044853A (en) * 2001-09-14 2010-02-25 Cornice Inc Digital device configuration
US7689785B2 (en) 2001-09-14 2010-03-30 Bruner Curtis H Digital device configuration and method
US7702847B2 (en) 2001-09-14 2010-04-20 Bruner Curtis H Digital device configuration and method
US8001321B2 (en) 2001-09-14 2011-08-16 Benhov Gmbh, Llc Digital device configuration and method
US9396746B2 (en) 2001-09-14 2016-07-19 Benhov Gmbh, Llc Digital device configuration and method
US9940025B2 (en) 2001-09-14 2018-04-10 Benhov Gmbh, Llc Digital device configuration and method
US8010625B2 (en) 2006-04-17 2011-08-30 Webstream Corporation Content storage medium making method, computer program, and content providing system

Similar Documents

Publication Publication Date Title
US6191712B1 (en) Circuit for aligning logical sectors with physical sectors in a disk storage system
JP2674985B2 (en) Data read control method
US5813024A (en) Disk control method for use with a data storage apparatus having multiple disks
JPH07271513A (en) Disk control method and device therefor
JPH0830407A (en) Optical disk processor
JPH10177764A (en) Optical disk recording device
US7062682B2 (en) Data recorder and data recording method avoiding data loss due to data transfer error
KR100659915B1 (en) Method and apparatus for transferring data
EP1047061A1 (en) Disc controller, disc control system, and disc controlling method
JP2510662B2 (en) Data recording control method
JP2852935B2 (en) Information playback device
JPS5938930A (en) Optical disk controller
JP4174967B2 (en) Recording method of write once optical disc
JP2748056B2 (en) Disk controller
JP2001290605A (en) Optical disk recording system
JPS6095762A (en) Magnetic disc controller
JPH10188443A (en) Optical disk recorder
JP2951186B2 (en) Data processing device
JP3673463B2 (en) Error correction LSI device
JP2828484B2 (en) Data recording / reproducing device
JPH09231011A (en) Information storage device
JPS6359640A (en) Log information file control system
JPH04341977A (en) Data reproducing control system
JPH08137793A (en) Recording and reproducing device and data transfer control method
JPH09213003A (en) Data recording and reproducing device