JPH10106170A - Optical disk information recording system - Google Patents

Optical disk information recording system

Info

Publication number
JPH10106170A
JPH10106170A JP25672496A JP25672496A JPH10106170A JP H10106170 A JPH10106170 A JP H10106170A JP 25672496 A JP25672496 A JP 25672496A JP 25672496 A JP25672496 A JP 25672496A JP H10106170 A JPH10106170 A JP H10106170A
Authority
JP
Japan
Prior art keywords
sector
data
ecc block
optical disk
ecc
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
JP25672496A
Other languages
Japanese (ja)
Inventor
Atsushi Ishihara
淳 石原
Masaki Morikawa
正樹 森川
Izumi Kawakami
和泉 川上
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP25672496A priority Critical patent/JPH10106170A/en
Publication of JPH10106170A publication Critical patent/JPH10106170A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten the certifying processing time by making user data recordable without performing read modification. SOLUTION: At the time of performing write operation, a specific pattern is written in each data ID of all sectors of an optical disk, and a dummy data is written in a user data part. An ECC corresponding to this dummy data is calculated and imparted. Then, each ECC block is read in, and an initial defective sector is detected, and then an LBA excluding the defective sector is recorded in a management area to constitute the resultant ECC block. Stored sector information on a disk of a file is recorded in the management area, and this can be recognized by a host computer. Consequently, upon receipt of a write instruction to a sector from the host computer, the ECC block containing this sector is read to become an ECC error, while, whether the data ID is the specific pattern written at the certifying time or not is discriminated to distinguish it from a read error, and a data is put in a specified sector, while dummy data are written and buried in unspecified sectors.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は光ディスクシステム
に関し、特に複数のセクタでECCを生成し、それをE
CCブロックとして扱い、ECCブロック単位でデータ
を書き換えることができる光ディスク情報記録システム
に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an optical disk system, and more particularly, to generating an ECC in a plurality of sectors,
The present invention relates to an optical disc information recording system that can be treated as a CC block and rewrite data in ECC block units.

【0002】[0002]

【従来の技術】多量の画像情報を扱うマルチメディア用
途などにおいては、需要の複雑化と必要な情報量の増大
に伴い、より大きなサイズの情報を保持でき、かつ情報
アクセスを素早く行える手段が必要となっている。その
ような情報保持手段として代表的なものに光ディスクが
ある。
2. Description of the Related Art In multimedia applications that handle a large amount of image information, as the demand becomes complicated and the amount of required information increases, a means capable of holding larger-sized information and quickly accessing information is required. It has become. A typical example of such information holding means is an optical disk.

【0003】このような光ディスクに類するものとして
は、音楽などの記録媒体として発展してきたコンパクト
ディスク(CD)、コンピュータデータなどの記録媒体
として発展してきたCDROM、又映画(動画)などの
記録媒体として発展してきたレーザディスク(LD)が
現在普及している。
[0003] Examples of such optical disks include compact disks (CDs) that have developed as recording media for music and the like, CDROMs that have developed as recording media for computer data, and recording media for movies (moving images). Laser disks (LDs) that have been developed are now widely used.

【0004】大容量及び高速・柔軟な情報アクセス性に
対応する光ディスクの新たな形態として、デジタルビデ
オディスク(以下DVDディスクと呼ぶ)が開発されて
いる。容量についていえば、DVDディスクの規格の一
例では、0. 6mm厚の透明基板(ポリカーボネート
製)を2枚貼り合わせたディスク容量は、両面合わせて
およそ10Gバイトある。片面あたりおよそ5Gバイト
の容量になるが、MPEG(Moving Picture Expert Gr
oup )規格により動画圧縮すると、片面で約135分の
映画を収録できるようになる。
A digital video disk (hereinafter referred to as a DVD disk) has been developed as a new type of optical disk capable of supporting a large capacity and high-speed and flexible information accessibility. In terms of capacity, in an example of the DVD disc standard, the disc capacity of two 0.6 mm thick transparent substrates (made of polycarbonate) is approximately 10 GB on both sides. The capacity is about 5 GB per side, but MPEG (Moving Picture Expert Gr.)
oup) Compressing a moving image according to the standard allows a movie of about 135 minutes to be recorded on one side.

【0005】このような高密度媒体に対してデータをリ
ード/ライトする場合、データ中のエラーを訂正するた
めにECC(error correction code) が用いられてい
る。データにはECCが付加され、ECCブロックとし
て処理される。
When data is read / written from or to such a high-density medium, an ECC (error correction code) is used to correct an error in the data. ECC is added to the data and processed as an ECC block.

【0006】ECCブロックは図1に示すように、約2
Kバイトのデータが各々記録される16個のセクタから
なり、各セクタごとにアドレスデータとしてのセクタI
D1〜ID16が付与され、ECCブロックに記録され
たデータを訂正するためのエラー訂正コードとして、横
方向のECC1と縦方向のECC2が記録されている。
このECC1及び2は、光ディスクの欠陥によりデータ
が再生できなくなることを防止するために冗長語として
データに付与されるエラー訂正コードである。
[0006] As shown in FIG.
Each sector consists of 16 sectors in which K bytes of data are recorded. Each sector has sector I as address data.
D1 to ID16 are assigned, and ECC1 in the horizontal direction and ECC2 in the vertical direction are recorded as error correction codes for correcting data recorded in the ECC block.
The ECCs 1 and 2 are error correction codes added to the data as redundant words in order to prevent the data from being unable to be reproduced due to a defect in the optical disk.

【0007】各セクタは172バイト、12行のデータ
及び各行ごとに10バイト構成の横方向のECC1が付
与されているとともに、縦方向のデータに対して縦方向
のECC2が付与されている。
Each sector has 172 bytes, 12 rows of data, and a horizontal ECC 1 of 10 bytes for each row, and a vertical ECC 2 for vertical data.

【0008】図2はセクタの構成を示す。各セクタはそ
のセクタの物理ブロックアドレスを含むヘッダ50及び
リード・ライトデータ部(R/W)51から構成されて
いる。リード・ライトデータ部51はホストから受信し
た論理ブロックアドレス(LBA)を含むDATA I
D52と、RSV53と、ユーザデータ54と、ECC
55から構成されている。
FIG. 2 shows the structure of a sector. Each sector includes a header 50 including a physical block address of the sector and a read / write data section (R / W) 51. The read / write data unit 51 includes a DATA I including a logical block address (LBA) received from the host.
D52, RSV 53, user data 54, ECC
55.

【0009】このように複数のセクタで1組のECCが
付与される方式の書換型光ディスクにおいて、ECCブ
ロックより少ないセクタ数を書き換える場合、そのセク
タを含むECCブロックを光ディスク装置内のバッファ
メモリに一旦読み込み、書換セクタのデータをバッファ
メモリ上で書き換えた後、新たなECCを生成し光ディ
スクに書き戻す必要がある。この操作をリードモデファ
イライト(read modifywrite) という。
In a rewritable optical disk in which one set of ECC is provided in a plurality of sectors as described above, when rewriting the number of sectors smaller than the ECC block, the ECC block including the sector is temporarily stored in a buffer memory in the optical disk device. After rewriting the data in the read / rewrite sector on the buffer memory, it is necessary to generate a new ECC and write it back to the optical disk. This operation is called read modify write.

【0010】図3はこのリードモデファイライトを説明
するための図であり、光ディスクにリード・ライトされ
るECCブロック及び各セクタの構成を示す。ECCが
生成され付加される方式の光ディスクシステムでは、基
本的に1セクタのみのデータを読み出しエラー訂正を行
う必要がある場合でも、当該セクタを含むECCブロッ
ク全体を読み出し、そのECCによりエラー訂正を行う
必要がある。図3の構成の光ディスクに対し、ホストコ
ンピュータからセクタnの読み出しコマンドを受けたと
き、セクタn〜セクタn+15までを光ディスク装置内
のデータバッファに読み込んだ後、セクタn部分にデー
タの誤りがある場合、ECCを用いてセクタnのエラー
訂正を行いホストコンピュータに転送する。
FIG. 3 is a diagram for explaining this read-modify-write, and shows the structure of an ECC block and each sector read / written from / on an optical disk. In an optical disc system in which an ECC is generated and added, even if it is basically necessary to read data of only one sector and perform error correction, the entire ECC block including the sector is read and error correction is performed by the ECC. There is a need. When a read command for sector n is received from the host computer with respect to the optical disk having the configuration shown in FIG. 3, after reading sectors n to n + 15 into the data buffer in the optical disk device, there is a data error in the sector n portion. , The error of sector n is corrected using ECC, and the data is transferred to the host computer.

【0011】またECCブロック長よりも少ないセクタ
にデータを記録する場合、前述したようにそのセクタを
含むECCブロックを一旦光ディスク装置内のバッファ
メモリに読み込み、書換えセクタのデータをバッファメ
モリ上で置き換えた後、新たなECCを生成、付加し光
ディスクにECCブロックを書き戻す。図3で例えばセ
クタnにデータを記録する場合、セクタn〜n+15セ
クタまでを光ディスク装置内のデータバッファに読み込
んだ後、セクタn部分のデータをホストコンピュータか
ら受け取ったユーザデータと置き換え、新たなECCを
生成しセクタn〜セクタn+15を記録する。
When data is recorded in a sector smaller than the ECC block length, as described above, the ECC block including the sector is temporarily read into the buffer memory in the optical disk device, and the data in the rewritten sector is replaced on the buffer memory. Thereafter, a new ECC is generated and added, and the ECC block is written back to the optical disc. In FIG. 3, for example, when data is recorded in sector n, after reading sectors n to n + 15 into a data buffer in the optical disk device, the data in sector n is replaced with user data received from the host computer, and a new ECC is performed. And records sector n to sector n + 15.

【0012】また、光ディスクの欠陥セクタを予め認識
するためにサーティファイ処理が行われる。図4はこの
サーティファイ処理を説明するための図である。先ず、
図4(a)に示すように光ディスク全面にダミーデータ
及び対応するECCがライトされる(1Pass目)。
次に図4(b)のように光ディスク全面をリードし、E
CCによるエラーチェックを行い、欠陥セクタを検出す
る(2Pass目)。図4(b)はサーティファイ処理
で仮にECCブロック(m)の2番目のセクタとECC
ブロック(m+1)の3番目のセクタが欠陥セクタとな
った場合を示す。欠陥セクタを検出した場合、その欠陥
セクタはユーザデータの記録に使用できないため、図4
(c)のように、その欠陥セクタを含むECCブロック
から後ろのECCブロックにずれが生じることになる。
Further, a certification process is performed in order to recognize a defective sector of the optical disk in advance. FIG. 4 is a diagram for explaining this certification processing. First,
As shown in FIG. 4A, dummy data and a corresponding ECC are written on the entire surface of the optical disk (first pass).
Next, the entire surface of the optical disk is read as shown in FIG.
An error check is performed by the CC to detect a defective sector (second pass). FIG. 4B shows that the second sector of the ECC block (m) and the ECC
The case where the third sector of the block (m + 1) is a defective sector is shown. When a defective sector is detected, the defective sector cannot be used for recording user data.
As shown in (c), a shift occurs from the ECC block including the defective sector to the succeeding ECC block.

【0013】このようなサーティファイ処理においては
図4(c)に示すように、欠陥セクタを除くセクタにダ
ミーデータを再記録し、ECCを新たに生成しECCブ
ロックを完結する必要がある。つまりサーティファイ処
理では光ディスク全面を3回トレース(3Pass)す
る必要がある。
In such a certification process, as shown in FIG. 4C, it is necessary to re-record dummy data in a sector except for a defective sector, newly generate an ECC, and complete an ECC block. That is, in the certification process, it is necessary to trace (3 Pass) the entire surface of the optical disc three times.

【0014】[0014]

【発明が解決しようとする課題】光ディスクの全くの未
記録ECCブロックにユーザデータを記録する場合、リ
ードモデファイライトを行うと、光ディスクにはECC
が付加されていないので、全てのセクタで訂正不能が発
生する。従来はこの問題を解決するため前述のサーティ
ファイ処理を行う必要があった。
When user data is recorded in a completely unrecorded ECC block of an optical disk, a read-modify-write operation causes an ECC to be recorded on the optical disk.
Are not added, so that correction is impossible in all sectors. Conventionally, it was necessary to perform the above-mentioned certification processing in order to solve this problem.

【0015】例えばECCブロックnの全セクタが事前
に未記録とわかっている場合、ECCブロックnの全セ
クタのデータを読み込む必要は無く、記録動作のみで済
むはづであるが、従来の方法では記録の前に読み込み動
作を行わないと、未記録か否か区別が付かないためデー
タの読み込みをする必要があり、このため処理時間が増
大する。
For example, if all the sectors of the ECC block n are known to be unrecorded in advance, it is not necessary to read the data of all the sectors of the ECC block n, and only the recording operation is required. If the reading operation is not performed before the recording, it is not possible to distinguish whether or not the data is unrecorded, so that it is necessary to read the data, and the processing time increases.

【0016】又、全面未記録状態で出荷された光ディス
クに、一旦全面にダミーデータを記録した後、全面を読
み出し欠陥セクタを検出し、使用不能セクタを使用可能
セクタから除外するサーティファイ処理を行った場合、
最初にダミーデータを記録したECCブロックに欠陥セ
クタがあると前述したようにECCブロックが完結しな
くなる。この状態の光ディスクにユーザデータを記録す
る場合も、未記録状態と同様に訂正不能が発生すること
になる。この問題を避けるため欠陥セクタを確定後、再
度欠陥セクタを除いて全面にダミーデータを記録し全て
のECCブロックを完結させる必要があった。
Further, after dummy data has been once recorded on the entire surface of the optical disk which has been shipped in an unrecorded state, the entire surface is read, a defective sector is detected, and a certification process for excluding unusable sectors from usable sectors is performed. If
If there is a defective sector in the ECC block where the dummy data is recorded first, the ECC block will not be completed as described above. Even when user data is recorded on the optical disc in this state, correction failure occurs as in the case of the unrecorded state. In order to avoid this problem, after determining the defective sector, it is necessary to record dummy data on the entire surface again except for the defective sector and complete all ECC blocks.

【0017】しかし大容量の光ディスクではサーティフ
ァイ処理で上記のように3回にわたって全面をトレース
するために非常に長い時間を要することになる。本発明
は未記録ECCブロックを含む光ディスクまたはサーテ
ィファイ処理を行っていない全面未記録の光ディスク
に、リードモデファイを行わずにユーザデータを記録可
能にすることにより前述の課題を解決することを目的と
する。
However, in the case of a large-capacity optical disk, it takes a very long time to trace the entire surface three times in the certifying process as described above. An object of the present invention is to solve the above-described problem by enabling user data to be recorded on an optical disk including an unrecorded ECC block or an optical disk that has not been subjected to the certifying process and that has not been subjected to the certifying process, without performing read modification. .

【0018】[0018]

【課題を解決するための手段】本発明による光ディスク
情報記録システムは、ECCを用いてエラー訂正を行い
光ディスクに対してデータのリード・ライトを行う光デ
ィスク装置と、該光ディスク装置に接続されたホスト装
置を含むシステムであって、前記ホスト装置は書き換え
ようとするセクタを含むECCブロックが未使用ブロッ
クの場合に第1のライトコマンドを使用し、該ECCブ
ロックが使用済みセクタを含むブロックの場合に第2の
ライトコマンドを使用して前記光ディスク装置に対して
データライトを指示する手段を有し、前記光ディスク装
置は、前記ホストからライトコマンドを受信した場合、
該ライトコマンドが前記第1のライトコマンドの場合、
ECCブロック内のホスト指定のセクタにユーザデータ
を記録し、該ECCブロック内の他のセクタにダミーデ
ータを記録する手段と、該ライトコマンドが前記第2の
ライトコマンドの場合、ホスト指定のセクタが含まれる
ECCブロックを前記光ディスクから読み込み、エラー
チェックを行い、エラーが発生しなかった場合にECC
ブロック内のホスト指定のセクタにユーザデータを記録
し、該ECCブロック内の他のセクタデータは変更せず
に記録する手段を有することを特徴とする。
An optical disk information recording system according to the present invention comprises: an optical disk apparatus for performing error correction using ECC to read / write data from / on an optical disk; and a host apparatus connected to the optical disk apparatus. Wherein the host device uses a first write command when the ECC block including the sector to be rewritten is an unused block, and uses the first write command when the ECC block is a block including a used sector. Means for instructing the optical disk device to write data by using a write command of 2. When the optical disk device receives a write command from the host,
When the write command is the first write command,
Means for recording user data in a host-specified sector in the ECC block and recording dummy data in another sector in the ECC block; and when the write command is the second write command, the host-specified sector The included ECC block is read from the optical disk, an error check is performed, and if no error occurs, the ECC
A feature is provided in which user data is recorded in a sector designated by the host in the block, and other sector data in the ECC block is recorded without being changed.

【0019】上記光ディスク情報記録システムによれ
ば、ホスト装置がファイル管理上初めて使用するECC
ブロック内のセクタへのライトコマンドと、既に使用履
歴のあるECCブロック内へのライトコマンドを区別し
て、光ディスク装置にコマンドを送信する。未使用EC
Cブロック内のセクタにユーザデータを記録するコマン
ドを光ディスク装置が受け取った場合、リードモデファ
イライトを実行せずホスト装置から転送されたユーザデ
ータにダミーデータを付加し、1ECCブロック分のデ
ータ長とした上で目的のECCブロックに記録動作を行
う。
According to the above optical disc information recording system, the ECC used by the host device for the first time in file management is used.
The command is transmitted to the optical disc device by distinguishing the write command to the sector in the block and the write command to the ECC block which has already been used. Unused EC
When the optical disk device receives a command for recording user data in a sector in the C block, dummy data is added to the user data transferred from the host device without performing read-modify-write, thereby obtaining a data length of one ECC block. The recording operation is performed on the target ECC block.

【0020】また、本発明による光ディスク装置は、E
CCを用いてエラー訂正を行い光ディスクに対してデー
タのリード・ライトを行い、外部ホスト装置とデータ通
信を行う光ディスク装置であって、前記光ディスクの欠
陥セクタを予め認識するためにサーティファイ処理を行
い、前記光ディスク上の各ECCブロック内に特定パタ
ーンを記録する手段と、前記ホスト装置からライトコマ
ンドを受信した場合、前記光ディスク上の指定されたセ
クタを含むECCブロックをリードする手段と、リード
した前記ECCブロックについてエラーチェックを行う
エラー処理手段と、前記エラー処理手段によりエラーが
検出された場合、前記ECCブロックに前記特定パター
ンが記録されているか判断する判断手段と、前記判断手
段により前記特定パターンの記録が判断された場合、前
記ECCブロック内の指定セクタにライトデートを記録
し、指定外セクタにダミーデータを記録する手段を具備
する。
Further, the optical disk device according to the present invention
An optical disk device that performs error correction using CC, performs data read / write with respect to the optical disk, and performs data communication with an external host device, performs a certification process to recognize a defective sector of the optical disk in advance, Means for recording a specific pattern in each ECC block on the optical disc, means for reading an ECC block including a specified sector on the optical disc when a write command is received from the host device, Error processing means for performing an error check on a block; determining means for determining whether the specific pattern is recorded in the ECC block when an error is detected by the error processing means; recording of the specific pattern by the determining means Is determined, the ECC block Of recording the write date to the specified sector, comprising means for recording dummy data in the unspecified sector.

【0021】更に本発明による第2の光ディスク装置
は、ECCを用いてエラー訂正を行い光ディスクに対し
てデータのリード・ライトを行い、外部ホスト装置とデ
ータ通信を行う光ディスク装置であって、前記ホスト装
置からライトコマンドを受信した場合、前記光ディスク
上の指定されたセクタを含むECCブロックをリードす
る手段と、リードした前記ECCブロックについてエラ
ーチェックを行うエラー処理手段と、前記エラー処理手
段によりエラーが検出された場合、前記ECCブロック
がブランク領域となっているか判断する判断手段と、前
記判断手段により前記ECCブロックがブランク領域と
判断された場合、前記ECCブロック内の指定セクタに
ライトデートを記録し、指定外セクタにダミーデータを
記録する手段を具備する。
Further, a second optical disk apparatus according to the present invention is an optical disk apparatus which performs error correction using ECC, reads / writes data from / to an optical disk, and performs data communication with an external host device. When a write command is received from the device, a means for reading an ECC block including a designated sector on the optical disk, an error processing means for performing an error check on the read ECC block, and an error detected by the error processing means If it is determined that the ECC block is a blank area, and if the determining means determines that the ECC block is a blank area, a write date is recorded in a designated sector in the ECC block, Equipped with means for recording dummy data in non-designated sectors That.

【0022】[0022]

【発明の実施の形態】以下、この発明による光ディスク
情報記録システムの実施の形態を図面を参照して説明す
る。図5はDVD等の光ディスク1に対しレーザ光を用
いてデータをリード/ライトし本発明が適用される光デ
ィスク装置25を示す。光ディスク1のトラックには、
データの記録単位としてのECCブロック及びそのセク
タ毎に、予めそれらのアドレスデータが記録されてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an optical disk information recording system according to the present invention will be described below with reference to the drawings. FIG. 5 shows an optical disk apparatus 25 to which data is read / written from / to an optical disk 1 such as a DVD using a laser beam and to which the present invention is applied. On the track of the optical disc 1,
For each ECC block as a data recording unit and its sector, its address data is recorded in advance.

【0023】図5において、光ディスク1は、スピンド
ルモータ3によって例えば一定の線速度(CLV)で回
転される。このモータはスピンドルモータドライバ4に
よって駆動されている。光ディスク1に対するデータの
リード/ライトは、DVDヘッド2によって行われる。
このDVDヘッド2は、リニアモータ7の可動部に固定
されており、このリニアモータ7はDVD LM(リニ
アモータ)ドライバ9により駆動される。リニアモータ
7がDVD リニアモータ(LM)ドライバ9によって
駆動されることにより、DVDヘッド2は光ディスク1
の半径方向に移動される。
In FIG. 5, the optical disk 1 is rotated by a spindle motor 3 at a constant linear velocity (CLV), for example. This motor is driven by a spindle motor driver 4. Reading / writing data from / on the optical disc 1 is performed by the DVD head 2.
The DVD head 2 is fixed to a movable portion of a linear motor 7, and the linear motor 7 is driven by a DVD LM (linear motor) driver 9. When the linear motor 7 is driven by the DVD linear motor (LM) driver 9, the DVD head 2
Is moved in the radial direction.

【0024】DVDヘッド2には、図示しない対物レン
ズが設けられており、この対物レンズはDVD アクチ
ュエータ(act.)ドライバ8によってフォーカシン
グ方向(レンズの光軸方向)及びトラッキング方向(レ
ンズの光軸と直交する方向)に移動される。
The DVD head 2 is provided with an objective lens (not shown). The objective lens is actuated by a DVD actuator (act.) Driver 8 in a focusing direction (optical axis direction of the lens) and a tracking direction (optical axis direction of the lens). (In the direction perpendicular to).

【0025】又、DVDヘッド2には記録・再生用半導
体レーザ発振器(図示されず)が設けられており、この
レーザ発振器はLDコントローラ5により制御され、記
録・再生用レーザビームを発生する。半導体レーザ発振
器により発生されたレーザビームは光ディスク1上に照
射され、この光ディスク1からの反射光はDVDヘッド
2内に設けられた光検出器により光電変換され、DVD
プリアンプ6に導かれ電圧増幅される。
The DVD head 2 is provided with a recording / reproducing semiconductor laser oscillator (not shown), which is controlled by an LD controller 5 to generate a recording / reproducing laser beam. The laser beam generated by the semiconductor laser oscillator is irradiated onto the optical disk 1, and the reflected light from the optical disk 1 is photoelectrically converted by a photodetector provided in the DVD head 2, and
The voltage is guided to the preamplifier 6 and amplified.

【0026】DVDプリアンプ6の出力信号には、フォ
ーカシング及びトラッキングに関する信号が含まれ、こ
の出力信号はDVDサーボプリプロセッサ11に導かれ
る。DVDサーボプリプロセッサ11はDVDサーボ1
4においてフォーカス及びトラッキングサーボを行うの
に必要となるフォーカスエラー信号サンプルホールド、
トラッキングサーボエラー信号サンプルホールド、RO
M部再生用DPD方式トラッキングエラー信号の生成、
各サーボ回路のヘッダー部分でのホールド用のタイミン
グ生成、及びシーク時のトラックカウントパルス生成を
行っている。
The output signal of the DVD preamplifier 6 includes signals relating to focusing and tracking, and this output signal is guided to the DVD servo preprocessor 11. DVD servo preprocessor 11 is DVD servo 1
4, a focus error signal sample and hold required for performing focus and tracking servo,
Tracking servo error signal sample hold, RO
Generation of a DPD tracking error signal for reproducing the M part,
The generation of hold timing at the header portion of each servo circuit and the generation of a track count pulse at the time of seek are performed.

【0027】DVDサーボ14はDVDサーボプリプロ
セッサ11からの出力信号を基に、フォーカシング及び
トラッキングサーボをかけ、DVDアクチュエータドラ
イバ8を制御する。これにより、DVDヘッド2から発
生された光ビームは光ディスク1上で常時ジャストフォ
ーカスとされ、光ビームの中心は光ディスク1上の各ト
ラックの中心に一致する。
The DVD servo 14 performs focusing and tracking servo based on the output signal from the DVD servo preprocessor 11 and controls the DVD actuator driver 8. As a result, the light beam generated from the DVD head 2 is always just focused on the optical disc 1, and the center of the light beam coincides with the center of each track on the optical disc 1.

【0028】又、フォーカシング、トラッキングを行っ
た状態で、DVDプリアンプ6の出力信号は、光ディス
ク1のトラック上(あるいはランド)に形成されたピッ
ト(記録データ)からの反射率の変化が反映されてい
る。この信号は、DVD−RF処理部10に供給され2
値化される。更にDVD−RF処理部10において、現
在アクセスされているセクタのセクタIDを含むECC
ブロックのデータが復調される。
In a state where focusing and tracking are performed, the output signal of the DVD preamplifier 6 reflects a change in reflectance from pits (recording data) formed on tracks (or lands) of the optical disc 1. I have. This signal is supplied to the DVD-RF processor 10 and
Valued. Further, in the DVD-RF processing unit 10, the ECC including the sector ID of the sector currently being accessed is
The data of the block is demodulated.

【0029】このDVD−RF処理部10で復調された
復調データはDRAM12に格納され、DVD−RAM
/ROMプロセッサ13によりECCを用いたエラー訂
正が行われた後、インターフェース回路(ATAPI又
はSCSI)16を介して外部装置としてのホスト装置
30に出力される。又、DVD−RAM/ROMプロセ
ッサ13はホスト装置30からインターフェース回路1
6を介して送信されたデータを一旦DRAM12に格納
しECCを付加し、LDコントローラ5に出力する。
The demodulated data demodulated by the DVD-RF processing unit 10 is stored in the DRAM 12 and is stored in the DVD-RAM
After error correction using ECC is performed by the / ROM processor 13, the data is output to the host device 30 as an external device via the interface circuit (ATAPI or SCSI) 16. Also, the DVD-RAM / ROM processor 13 sends the interface circuit 1 from the host device 30.
6 is temporarily stored in the DRAM 12, added with ECC, and output to the LD controller 5.

【0030】LDコントローラ5は入力されたデータに
対応する制御信号をDVDヘッド2に出力する。この制
御信号に応じてDVDヘッド内に設けられたレーザ発振
器がレーザビームを発生し、データが光ディス1にライ
トされる。
The LD controller 5 outputs a control signal corresponding to the input data to the DVD head 2. In response to this control signal, a laser oscillator provided in the DVD head generates a laser beam, and data is written to the optical disc 1.

【0031】又、DVD−RAM/ROMプロセッサ1
3はホストから受信した各データのLBA(logical blo
ck address) に対応する実際のPBA(physical block
address)を求め、このPBAに対応するトラックまでD
VDヘッド2を移動するために、DVDサーボ14に対
してDVDヘッド移動制御信号を出力する。
A DVD-RAM / ROM processor 1
3 is an LBA (logical blo) of each data received from the host.
actual PBA (physical block) corresponding to ck address)
address) and D up to the track corresponding to this PBA
In order to move the VD head 2, a DVD head movement control signal is output to the DVD servo 14.

【0032】DRAM15はホスト装置30へのデータ
又はホスト装置30からのデータを一時的に蓄えるため
のメモリで、このメモリに蓄えられたデータは、ホスト
装置30又はDVD−RAM/ROMプロセッサ13の
処理速度に応じて読出される。
The DRAM 15 is a memory for temporarily storing data to the host device 30 or data from the host device 30. The data stored in this memory is processed by the host device 30 or the DVD-RAM / ROM processor 13. It is read according to the speed.

【0033】イジョクトスイッチ(E−SW)20は光
ディスク1を装置から取り出すためのスイッチで、DV
D−RAM/ROMプロセッサ13に接続されている。
このスイッチ20が押されると、DVD−RAM/RO
Mプロセッサ13はローディングモータ(LM)7を制
御して光ヘッド1が収納されたトレイ(図示されず)を
装置から突出させる。
An eject switch (E-SW) 20 is a switch for taking out the optical disk 1 from the apparatus, and is a DV switch.
It is connected to a D-RAM / ROM processor 13.
When this switch 20 is pressed, the DVD-RAM / RO
The M processor 13 controls the loading motor (LM) 7 to cause a tray (not shown) in which the optical head 1 is stored to protrude from the apparatus.

【0034】ホームポジションセンサ(HPS)21は
起動時にDVDヘッド2を所定位置(光ディスク1の最
も内周付近)に位置づけるためのセンサである。このホ
ームポジションセンサ21の検知信号を基に、DVDサ
ーボ14はDVDヘッド2を前記所定位置に移動するた
めにDVDリニアモータドライバ9を制御する。
The home position sensor (HPS) 21 is a sensor for positioning the DVD head 2 at a predetermined position (near the innermost circumference of the optical disc 1) at the time of startup. Based on the detection signal of the home position sensor 21, the DVD servo 14 controls the DVD linear motor driver 9 to move the DVD head 2 to the predetermined position.

【0035】ディップスイッチ(D−SW)19は、光
ディスク装置25のインターフェースの上のID番号や
光ディスク装置25自体の動作モードを決めるのに用い
られる。
The DIP switch (D-SW) 19 is used to determine an ID number on the interface of the optical disk device 25 and an operation mode of the optical disk device 25 itself.

【0036】CPU17はROM18に格納されたプロ
グラムに基づいて、この光ディスク装置25を総合的に
制御するプロセッサである。ROM18は例えばフラッ
シュEEPROMにより構成され、本発明によるデータ
リード/ライト処理用プログラムを含んでいる。
The CPU 17 is a processor that comprehensively controls the optical disk device 25 based on a program stored in the ROM 18. The ROM 18 is constituted by, for example, a flash EEPROM and includes a data read / write processing program according to the present invention.

【0037】図6は本発明を実施するホスト装置30を
示す。プロセッサ部31はメモリ部32に格納されたプ
ログラムに基づいてホスト装置30を総合的に制御し、
本発明が適用される光ディスクドライブ25にデータの
リード・ライトを指示する。
FIG. 6 shows a host device 30 embodying the present invention. The processor unit 31 comprehensively controls the host device 30 based on the program stored in the memory unit 32,
It instructs the optical disk drive 25 to which the present invention is applied to read / write data.

【0038】メモリ部32はROM(read only memory)
32a及びRAM(random access memory)32bにより
構成されている。ROMにはホスト装置30全体の制御
を行うためのプログラム等が格納されている。RAMに
は補助記憶装置等から入力されたプログラム、データ及
び実行中のプログラムの中間結果が格納される。本発明
による光ディスク情報記録システムの制御動作はプログ
ラムとしてROM32a又はRAM32bに格納するこ
とができる。
The memory section 32 is a ROM (read only memory)
32a and a random access memory (RAM) 32b. The ROM stores programs and the like for controlling the entire host device 30. The RAM stores programs, data and intermediate results of programs being executed, which are input from an auxiliary storage device or the like. The control operation of the optical disk information recording system according to the present invention can be stored as a program in the ROM 32a or the RAM 32b.

【0039】入出力制御部48はプロセッサ部31から
の指示に基づき、メモリ部32と入出力機器49又は入
出力インターフェース制御部46間のデータ転送を制御
する。ハードディスク制御部34、フレキシブルディス
ク制御部36は各々ハードディスク35、フレキシブル
ディスク37に対するデータのリード・ライトを制御
し、ディスプレイ制御部38はディスプレイ39へ表示
データを転送する。インターフェース制御部46は本発
明が適用される光ディスクドライブ25とのインターフ
ェースを制御する。これらハードディスク制御部34、
フレキシブルディスク制御部36、ディスプレイ制御部
38及びインターフェース制御部46では、高速データ
転送が必要なためDMAコントローラ33によるDMA
方式のデータ転送が採用されている。
The input / output control unit 48 controls data transfer between the memory unit 32 and the input / output device 49 or the input / output interface control unit 46 based on an instruction from the processor unit 31. The hard disk controller 34 and the flexible disk controller 36 control reading and writing of data from and to the hard disk 35 and the flexible disk 37, respectively, and the display controller 38 transfers display data to the display 39. The interface control unit 46 controls an interface with the optical disk drive 25 to which the present invention is applied. These hard disk control units 34,
In the flexible disk control unit 36, the display control unit 38, and the interface control unit 46, high-speed data transfer is required.
A method of data transfer is employed.

【0040】キーボード制御部40及びマウス制御部は
42は、マン・マシンインターフェースの入力装置とし
て機能するキーボード41、マウス43を各々制御す
る。プリンタ制御部44は、活字方式又はドット方式で
構成されるプリンタ45を制御する。これら入出力制御
部48を構成する各制御部は、バス47を介してプロセ
ッサ部31及びメモリ部32とデータをやり取りする。
The keyboard control unit 40 and the mouse control unit 42 respectively control a keyboard 41 and a mouse 43 functioning as input devices of a man-machine interface. The printer control unit 44 controls a printer 45 configured by a type system or a dot system. Each control unit constituting the input / output control unit 48 exchanges data with the processor unit 31 and the memory unit 32 via the bus 47.

【0041】図7〜図10は上記したようなシステムに
おいて実行される本発明によるサーティファイ処理及び
データ記録方式を説明するための図である。図7はサー
ティファイを2パスで終了し、この状態でライトを実行
する場合を示す。図7(a)に示すように先ず、光ディ
スク1上の全セクタのDATA ID52(図2参照)
に特定パターンが書き込まれ、ユーザデータ部54にダ
ミーデータが書き込まれ、そのダミーデータに対応する
ECCが計算されて付与される。次に図7(b)に示す
ように、各ECCブロックを読み込みエラーチェックを
行い、初期欠陥セクタを検出する。次に図7(c)のよ
うに欠陥セクタを除いてECCブロックが構成される。
これは管理領域に欠陥セクタを除いたLBAを記録する
ことにより行われる。この管理領域は光ディスク1上の
所定の位置に設けられる領域で、どのファイルが光ディ
スク上のどのセクタに格納されているかという情報が記
録されている。このためホストコンピュータは光ディス
クのどのセクタにユーザデータが記録されているかを知
ることが可能である。図7(d)のように、ホストから
或セクタに対するライトコマンドが受信されると、その
セクタを含むECCブロックがリードされ、ECCエラ
ーとなるが、DATA ID部がサーティファイ時に書
いた特定パターンとなっているかを判断することによ
り、通常のリードエラーと区別できる。従って図7
(d)のように指定セクタにホストからのデータを入
れ、指定外セクタをダミーデータで埋めライトする。
FIGS. 7 to 10 are diagrams for explaining a certifying process and a data recording method according to the present invention, which are executed in the above-described system. FIG. 7 shows a case where the certification is completed in two passes and the write is executed in this state. As shown in FIG. 7A, first, DATA IDs 52 of all sectors on the optical disk 1 (see FIG. 2).
Is written in the user data section 54, and an ECC corresponding to the dummy data is calculated and given. Next, as shown in FIG. 7B, each ECC block is read and an error check is performed to detect an initial defective sector. Next, as shown in FIG. 7C, an ECC block is formed excluding the defective sector.
This is performed by recording the LBA excluding the defective sector in the management area. This management area is an area provided at a predetermined position on the optical disk 1, and records information on which file is stored in which sector on the optical disk. Therefore, the host computer can know in which sector of the optical disk the user data is recorded. As shown in FIG. 7D, when a write command for a certain sector is received from the host, an ECC block including the sector is read and an ECC error occurs. By judging whether the error has occurred, it can be distinguished from a normal read error. Therefore, FIG.
As shown in (d), data from the host is put in the designated sector, and the non-designated sector is filled with dummy data and written.

【0042】図8はサーティファイ無しでデータライト
を実行する場合を示す。図8(a)のように、ホストか
ら或セクタに対するライトコマンドが受信されると、そ
のセクタを含むECCブロックがリードされ、ECCエ
ラーとなるが、ブランク状態であることを光ディスク1
上の管理領域により判断し、通常のリードエラーとの判
別を行う。次に図8(b)のように指定セクタにホスト
からのデータを入れ、指定外セクタをダミーデータで埋
めライトする。
FIG. 8 shows a case where data write is executed without certification. As shown in FIG. 8A, when a write command for a certain sector is received from the host, an ECC block including the sector is read and an ECC error occurs.
Judgment is made based on the above management area, and a normal read error is determined. Next, as shown in FIG. 8B, data from the host is put in the designated sector, and the non-designated sector is filled with dummy data and written.

【0043】図9はサーティファイを2パスで終了し、
リードモデファイ無しのライトコマンドを受信した場合
を示す。先ず、図9(a)のように、光ディスク1上の
全セクタのDATA ID52に特定パターンが書き込
まれ、ユーザデータ部54にダミーデータが書き込ま
れ、そのダミーデータに対応するECCが計算されて付
与される。次に図9(b)に示すように、各ECCブロ
ックを読み込みエラーチェックを行い、初期欠陥セクタ
を検出する。次に図9(c)のように欠陥セクタを除い
てECCブロックが構成される。これは管理領域に欠陥
セクタを除いたLBAを記録することにより行われる。
この場合、ホストは管理領域を参照することにより未記
録のECCブロックを認識し、未記録のECCブロック
の先頭LBAを指定して書き込みコマンドをCPU17
に送信する。そして図9(d)のように指定セクタにホ
ストからのデータを入れ、指定外セクタをダミーデータ
で埋めライトする。
FIG. 9 shows that the certification is completed in two passes.
This shows a case where a write command without read modification is received. First, as shown in FIG. 9A, a specific pattern is written to DATA IDs 52 of all sectors on the optical disk 1, dummy data is written to the user data section 54, and an ECC corresponding to the dummy data is calculated and assigned. Is done. Next, as shown in FIG. 9B, each ECC block is read and an error check is performed to detect an initial defective sector. Next, as shown in FIG. 9C, an ECC block is formed excluding the defective sector. This is performed by recording the LBA excluding the defective sector in the management area.
In this case, the host recognizes the unrecorded ECC block by referring to the management area, and specifies the start LBA of the unrecorded ECC block and issues a write command to the CPU 17.
Send to Then, as shown in FIG. 9D, data from the host is put in the designated sector, and the non-designated sector is filled with dummy data and written.

【0044】図10はサーティファイ無し及びリードモ
ディファイ無しのライトコマンドを受信した場合を示
す。この場合も、ホストは管理領域を参照することによ
り未記録のECCブロックを認識し、未記録のECCブ
ロックの先頭LBAを指定して書き込みコマンドをCP
U17に送信する。そして図10(b)のように指定セ
クタにホストからのデータを入れ、指定外セクタをダミ
ーデータで埋めライトする。
FIG. 10 shows a case where a write command without certify and without read modify is received. In this case as well, the host recognizes the unrecorded ECC block by referring to the management area, specifies the head LBA of the unrecorded ECC block, and issues a write command to the CP.
Transmit to U17. Then, as shown in FIG. 10B, data from the host is put in the designated sector, and the non-designated sector is filled with dummy data and written.

【0045】次に本発明によるサーティファイ処理及び
データ記録方式の動作を図11〜図13のフローチャー
トを参照して説明する。図11はホスト装置30が従来
通りのコマンドを光ディスク装置25に発送してユーザ
データを記録する場合の動作を示す。先ずCPU17は
ホスト装置30から受信したライトデータのライト長を
判定し(ステップS1)、ECCブロック長より長けれ
ば(Noの場合)、ライト開始ブロックがECCブロッ
クの先頭か判断する(ステップS2)。ECCブロック
の先頭でなければ、先ず端数セクタを記録するために、
端数セクタ数を算出し(ステップS3)、ECCブロッ
クの先頭であればフローはステップS11に移行する。
Next, the operation of the certifying process and the data recording method according to the present invention will be described with reference to the flowcharts of FIGS. FIG. 11 shows an operation when the host device 30 sends a conventional command to the optical disk device 25 to record user data. First, the CPU 17 determines the write length of the write data received from the host device 30 (step S1), and if longer than the ECC block length (No), determines whether the write start block is the head of the ECC block (step S2). If it is not the head of the ECC block, first, to record a fractional sector,
The number of fractional sectors is calculated (step S3), and if it is the head of the ECC block, the flow moves to step S11.

【0046】ステップS1で、受信したライトデータの
ライト長がECCブロック長より短い場合(Yesの場
合)、CPU17はDVD−RAM/ROMプロセッサ
13を介してライト指定されたブロックが含まれるEC
Cブロックをリードし(ステップS4)、ECCによる
エラーが発生したか判断する(ステップS5)。エラー
が無ければ、リードしたECCブロックにライトデータ
を置換する(ステップS6)。ステップS5でエラーが
有った場合、CPU17はDATA ID部の内容がサ
ーティファイ時の特定パターンか判断する(ステップS
7)。図7(d)がこの状態を示し、指定セクタをリー
ドすると、ECCエラーが発生するが、DATA ID
部の特定パターンにより通常のリードエラーと区別され
る。
At step S1, if the write length of the received write data is shorter than the ECC block length (Yes), the CPU 17 sends an EC containing the block designated to be written via the DVD-RAM / ROM processor 13.
The C block is read (step S4), and it is determined whether an error due to ECC has occurred (step S5). If there is no error, the write data is replaced with the read ECC block (step S6). If there is an error in step S5, the CPU 17 determines whether the content of the DATA ID portion is a specific pattern at the time of certification (step S5).
7). FIG. 7D shows this state. When a specified sector is read, an ECC error occurs.
It is distinguished from a normal read error by a specific pattern of the section.

【0047】ステップS7で”No”の場合、更にブラ
ンク領域であるかステップS9で判断される。図8
(a)及び8(b)がこの状態を示し、指定セクタをリ
ードすると、ECCエラーが発生するが、CPU17は
光ディスク1上の管理領域によりブランク状態であるこ
とを判断し通常のリードエラーとの判別を行う。ステッ
プS9でブランク領域ではなかった場合、ホスト装置3
0にエラー発生を出力する(ステップS10)。
If "No" in step S7, it is further determined in step S9 whether or not the area is a blank area. FIG.
(A) and 8 (b) show this state. When a designated sector is read, an ECC error occurs. However, the CPU 17 determines that the area is blank due to the management area on the optical disk 1 and determines that a normal read error has occurred. Make a determination. If it is not a blank area in step S9, the host device 3
An error occurrence is output to 0 (step S10).

【0048】ステップS8では、図7(d)又は8
(b)のように、ECCブロック内のホスト装置30に
より指定されたセクタ以外のセクタをダミーデータで埋
め、そのECCブロックをライトする。以上の動作はス
テップS11〜S13に示すように、ライト実行長がラ
イト指定長に達するまで繰り返される。
In step S8, FIG.
As shown in (b), sectors other than the sector specified by the host device 30 in the ECC block are filled with dummy data, and the ECC block is written. The above operation is repeated until the write execution length reaches the designated write length, as shown in steps S11 to S13.

【0049】次にホスト装置30がユーザデータを記録
する際に、記録済みのECCブロックかを判断しコマン
ドを区別して発行する場合を図12及び13を参照して
説明する。先ずホスト装置30は光ディスク1の管理領
域を参照して、ライトするセクタを含むECCブロック
が未使用の場合、リードモディファイをする必要がない
と判断し、光ディスク装置25にリードモディファイを
しないでユーザデータをライトするようコマンドを発行
する。
Next, a case in which the host device 30 determines whether the ECC block is a recorded ECC block and issues a command when the user data is recorded, with reference to FIGS. 12 and 13, will be described. First, the host device 30 refers to the management area of the optical disc 1 and determines that there is no need to perform read-modify when the ECC block including the sector to be written is not used. Issue a command to write

【0050】即ち図12のようにホスト装置30は先ず
ライトするセクタのLBAとデータ長を算出する(ステ
ップS20)。次に、光ディスク1の中でホスト装置3
0が管理している管理領域と、ライトするセクタとを比
較する(ステップS21)。
That is, as shown in FIG. 12, the host device 30 first calculates the LBA and data length of the sector to be written (step S20). Next, the host device 3 in the optical disc 1
Then, the management area managed by 0 is compared with the sector to be written (step S21).

【0051】ステップS22ではライトするセクタが管
理領域に含まれているか、即ちライトするセクタを含む
ECCブロック内に既に記録済みのセクタがあるか判断
する。ステップS22で”No”の場合、ホスト装置3
0はリードモディファイ無しを示し通常のライトコマン
ドとは別のコマンドを光ディスク装置25に発行する。
ステップS22で”Yes”の場合、通常のライトコマ
ンド(リードモディファイ有り)を光ディスク装置25
に発行する。その後ホスト装置30はユーザデータが全
て光ディスク1にライトされるまで以上の動作を繰り返
す。
In step S22, it is determined whether or not the sector to be written is included in the management area, that is, whether or not an already recorded sector exists in the ECC block including the sector to be written. If “No” in the step S22, the host device 3
0 indicates that there is no read modify, and issues a command different from the normal write command to the optical disk device 25.
If “Yes” in the step S22, the normal write command (with read modification) is
Issue to Thereafter, the host device 30 repeats the above operation until all the user data is written to the optical disk 1.

【0052】なお、ステップS23及びS24のように
未サーティファイ光ディスクを含めてユーザデータを記
録するセクタを含むECCブロックが初めて使用される
のか否かを区別する手段としてフラグを用いることがで
きる。即ち、対象のECCブロックに記録済みのセクタ
が含まれる場合、ライトコマンドに”リードモディファ
イライト実行フラグ”を付加し(フラグON)、記録済
みのセクタが全く含まれていない未使用ECCブロック
への記録コマンドでは”リードモディファイライト実行
フラグ”を付加せず(フラグOFF)区別することもで
きる。
As in steps S23 and S24, a flag can be used as means for discriminating whether an ECC block including a sector for recording user data including an uncertified optical disk is used for the first time. That is, if the target ECC block includes a recorded sector, a “read-modify-write execution flag” is added to the write command (flag ON), and an unused ECC block containing no recorded sector is added. The recording command can be distinguished without adding the “read-modify-write execution flag” (flag OFF).

【0053】次にホスト装置30から前述したようにリ
ードモデファイが必要かどうかを区別してライトコマン
ドが発行された場合に、光ディスク装置25が行う動作
を図13のフローチャートを参照して説明する。
Next, the operation performed by the optical disk device 25 when the write command is issued from the host device 30 while discriminating whether or not the read modify is necessary as described above will be described with reference to the flowchart of FIG.

【0054】先ずCPU17はホスト装置30から受信
したライトデータのライト長を判定し(ステップS3
0)、ECCブロック長より長ければ(Noの場合)、
ライト開始ブロックがECCブロックの先頭か判断する
(ステップS31)。ECCブロックの先頭でなけれ
ば、先ず端数セクタを記録するために、端数セクタ数を
算出し(ステップS32)、先頭であればフローはステ
ップS39に移行する。
First, the CPU 17 determines the write length of the write data received from the host device 30 (step S3).
0), if it is longer than the ECC block length (No),
It is determined whether the write start block is the head of the ECC block (step S31). If it is not the head of the ECC block, first, the fraction sector number is calculated to record the fraction sector (step S32). If it is the head, the flow moves to step S39.

【0055】ステップS33では、CPU17はホスト
装置30から受信したライトコマンドがリードモデファ
イを必要とするコマンドか否か判断する。リードモディ
ファイが必要ない場合、CPU17は図9(d)又は1
0(b)に示すようにホスト装置30により指定されセ
クタにユーザデータをライトし、そのECCブロック内
の指定外セクタにダミーデータをライトする。
In step S33, the CPU 17 determines whether the write command received from the host device 30 is a command that requires read modify. When the read modify is not necessary, the CPU 17 executes FIG.
As shown in 0 (b), the user data is written in the sector specified by the host device 30, and the dummy data is written in the non-designated sector in the ECC block.

【0056】ステップS33で”Yes”の場合、CP
U17はライトの指定ブロックが含まれるECCブロッ
クをリードし(ステップS35)、ECCエラーチェッ
クを行う(ステップS36)。ステップ36でエラーが
発生した場合、CPU17はホスト装置30にエラーが
発生したことを知らせ、エラーが発生しなかった場合、
リードしたECCブロックの指定されたセクタにライト
データを書き込み、他のセクタは元の内容のままライト
する。以上の動作はステップS39〜S41に示すよう
に、ライト実行長がライト指定長に達するまで繰り返さ
れる。
If "Yes" in step S33, the CP
U17 reads the ECC block including the designated block for writing (step S35) and performs an ECC error check (step S36). If an error has occurred in step 36, the CPU 17 notifies the host device 30 that an error has occurred.
Write data is written to the specified sector of the read ECC block, and the other sectors are written with the original contents. The above operations are repeated until the write execution length reaches the designated write length, as shown in steps S39 to S41.

【0057】[0057]

【発明の効果】未使用のECCブロックにデータを記録
する場合、READ−MODIFY−WRITEを行う
必要が無く記録動作のみで良い。従ってWRITE処理
に要する時間を短縮できる。またサーティファイしてな
いディスクをそのまま使用できるため、サーティファイ
処理を省くことができる。また、光ディスクをサーティ
ファイする場合でも、欠陥セクタを検出した時点でサー
ティファイを終了できるため、従来のように全面3回ト
レースする必要がなく、2回のトレースで済むためサー
ティファイ処理の時間を短縮できる。
When recording data in an unused ECC block, there is no need to perform READ-MODIFY-WRITE, and only the recording operation is required. Therefore, the time required for the WRITE process can be reduced. Further, since a disk that has not been certified can be used as it is, the certification processing can be omitted. Further, even when the optical disk is certified, the certification can be completed when a defective sector is detected, so that it is not necessary to trace the entire surface three times as in the related art, and the tracing process can be shortened because only two traces are required.

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

【図1】ECCブロックのデータ構成図。FIG. 1 is a data configuration diagram of an ECC block.

【図2】ECCブロック内セクタのデータ構成図。FIG. 2 is a data configuration diagram of a sector in an ECC block.

【図3】リードモデファイライトを説明するための図。FIG. 3 is a diagram for explaining a read modify write.

【図4】サーティファイ処理を説明するための図。FIG. 4 is a diagram for explaining a certification process.

【図5】光ディスク1に対しレーザ光を用いてデータを
リード・ライトし本発明が適用される光ディスク装置を
示す。
FIG. 5 shows an optical disk apparatus to which data is read / written from / to an optical disk 1 using a laser beam and to which the present invention is applied.

【図6】本発明を実施するホスト装置30を示す。FIG. 6 shows a host device 30 embodying the present invention.

【図7】本発明によるサーティファイ処理及びデータ記
録方式を説明するための図であり、サーティファイを2
パスで終了し、この状態でライトを実行する場合を示
す。
FIG. 7 is a diagram for explaining a certification process and a data recording method according to the present invention.
The case where the process ends with a pass and the write is executed in this state is shown.

【図8】本発明によるサーティファイ処理及びデータ記
録方式を説明するための図であり、サーティファイ無し
でデータライトを実行する場合を示す図。
FIG. 8 is a diagram for explaining a certify process and a data recording method according to the present invention, and shows a case where data write is performed without certify;

【図9】本発明によるサーティファイ処理及びデータ記
録方式を説明するための図であり、サーティファイを2
パスで終了し、リードモデファイ無しのライトコマンド
を受信した場合を示す。
FIG. 9 is a diagram for explaining a certification process and a data recording method according to the present invention.
This shows a case where a write command without read modification has been received, ending with a pass.

【図10】本発明によるサーティファイ処理及びデータ
記録方式を説明するための図であり、サーティファイ無
し及びリードモディファイ無しのライトコマンドを受信
した場合を示す。
FIG. 10 is a diagram for explaining a certify process and a data recording method according to the present invention, and shows a case where a write command without certify and without read modify is received.

【図11】ホスト装置30が従来通りのコマンドを光デ
ィスク装置25に発送してユーザデータを記録する場合
の動作を示すフローチャート。
FIG. 11 is a flowchart showing an operation when the host device 30 sends a conventional command to the optical disk device 25 to record user data.

【図12】ホスト装置30がユーザデータを記録する際
に、記録済みのECCブロックかを判断しコマンドを区
別して発行する動作を示すフローチャート。
FIG. 12 is a flowchart showing an operation in which the host device 30 determines whether a block is a recorded ECC block and discriminates and issues a command when recording user data.

【図13】ホスト装置30からリードモデファイが必要
かどうかを区別してライトコマンドが発行された場合
に、光ディスク装置25が行う動作を示すフローチャー
ト。
FIG. 13 is a flowchart showing an operation performed by the optical disk device 25 when a write command is issued from the host device 30 while discriminating whether read modification is necessary.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ECCを用いてエラー訂正を行い光ディ
スクに対してデータのリード・ライトを行う光ディスク
装置と、該光ディスク装置に接続されたホスト装置を含
むシステムであって、 前記ホスト装置は書き換えようとするセクタを含むEC
Cブロックが未使用ブロックの場合に第1のライトコマ
ンドを使用し、該ECCブロックが使用済みセクタを含
むブロックの場合に第2のライトコマンドを使用して前
記光ディスク装置に対してデータライトを指示する手段
を有し、 前記光ディスク装置は、前記ホストからライトコマンド
を受信した場合、該ライトコマンドが前記第1のライト
コマンドの場合、ECCブロック内のホスト指定のセク
タにユーザデータを記録し、該ECCブロック内の他の
セクタにダミーデータを記録する手段と、該ライトコマ
ンドが前記第2のライトコマンドの場合、ホスト指定の
セクタが含まれるECCブロックを前記光ディスクから
読み込み、エラーチェックを行い、エラーが発生しなか
った場合にECCブロック内のホスト指定のセクタにユ
ーザデータを記録し、該ECCブロック内の他のセクタ
データは変更せずに記録する手段を有することを特徴と
する光ディスク情報記録システム。
1. A system comprising: an optical disk device for performing error correction using ECC to read / write data from / on an optical disk; and a host device connected to the optical disk device. EC containing sector
When the C block is an unused block, a first write command is used, and when the ECC block is a block including a used sector, a second write command is used to instruct the optical disc device to write data. The optical disc device, when receiving a write command from the host, when the write command is the first write command, records user data in a host-specified sector in an ECC block, Means for recording dummy data in another sector in the ECC block; and when the write command is the second write command, reading an ECC block including a host-specified sector from the optical disc, performing error checking, If no error occurs, the user data is stored in the sector specified by the host in the ECC block. An optical disc information recording system, comprising means for recording data without changing other sector data in the ECC block.
【請求項2】 前記ホスト装置は書き換えようとするセ
クタを含むECCブロックが未使用ブロックか否かを前
記光ディスクの中で、前記ホスト装置が管理している管
理領域を参照することにより判断する手段を有すること
を特徴とする請求項1記載のシステム。
2. The host device determines whether or not an ECC block including a sector to be rewritten is an unused block by referring to a management area managed by the host device in the optical disc. The system of claim 1, comprising:
【請求項3】 前記ライトコマンドはフラグを含み、前
記ホスト装置は前記第1及び第2ライトコマンドの区別
をこのフラグのオン・オフにより行う手段を有すること
を特徴とする請求項1記載のシステム。
3. The system according to claim 1, wherein said write command includes a flag, and said host device has means for distinguishing said first and second write commands by turning on / off said flag. .
【請求項4】 前記光ディスク装置は、複数のセクタで
各ECCブロックを構成し、前記ECCブロック単位で
データのリード・ライトを行う手段を有することを特徴
とする請求項1記載のシステム。
4. The system according to claim 1, wherein the optical disk device comprises a unit for configuring each ECC block by a plurality of sectors and reading / writing data in units of the ECC block.
【請求項5】 ECCを用いてエラー訂正を行い光ディ
スクに対してデータのリード・ライトを行い、外部ホス
ト装置とデータ通信を行う光ディスク装置であって、 前記光ディスクの欠陥セクタを予め認識するためにサー
ティファイ処理を行い、前記光ディスク上の各ECCブ
ロック内に特定パターンを記録する手段と、 前記ホスト装置からライトコマンドを受信した場合、前
記光ディスク上の指定されたセクタを含むECCブロッ
クをリードする手段と、 リードした前記ECCブロックについてエラーチェック
を行うエラー処理手段と、 前記エラー処理手段によりエラーが検出された場合、前
記ECCブロックに前記特定パターンが記録されている
か判断する判断手段と、 前記判断手段により前記特定パターンの記録が判断され
た場合、前記ECCブロック内の指定セクタにライトデ
ートを記録し、指定外セクタにダミーデータを記録する
手段と、を具備することを特徴とする光ディスク装置。
5. An optical disk device for performing error correction using ECC to read / write data from / to an optical disk and to perform data communication with an external host device. Means for performing a certification process and recording a specific pattern in each ECC block on the optical disc; and means for reading an ECC block including a designated sector on the optical disc when a write command is received from the host device. An error processing unit that performs an error check on the read ECC block; a determination unit that determines whether the specific pattern is recorded in the ECC block when an error is detected by the error processing unit; When the recording of the specific pattern is determined, Serial recording the write date to the specified sector in the ECC block, the optical disk apparatus characterized by comprising, means for recording dummy data in the unspecified sector.
【請求項6】 ECCを用いてエラー訂正を行い光ディ
スクに対してデータのリード・ライトを行い、外部ホス
ト装置とデータ通信を行う光ディスク装置であって、 前記ホスト装置からライトコマンドを受信した場合、前
記光ディスク上の指定されたセクタを含むECCブロッ
クをリードする手段と、 リードした前記ECCブロックについてエラーチェック
を行うエラー処理手段と、 前記エラー処理手段によりエラーが検出された場合、前
記ECCブロックがブランク領域となっているか判断す
る判断手段と、 前記判断手段により前記ECCブロックがブランク領域
と判断された場合、前記ECCブロック内の指定セクタ
にライトデートを記録し、指定外セクタにダミーデータ
を記録する手段と、を具備することを特徴とする光ディ
スク装置。
6. An optical disk device for performing error correction using an ECC to read / write data from / to an optical disk and performing data communication with an external host device, and when a write command is received from the host device, Means for reading an ECC block including a designated sector on the optical disc; error processing means for performing an error check on the read ECC block; and when the error processing means detects an error, the ECC block is left blank. Determining means for determining whether the area is an area; and when the determining means determines that the ECC block is a blank area, a write date is recorded in a designated sector in the ECC block and dummy data is recorded in a non-designated sector. Optical disc device characterized by comprising: .
【請求項7】 複数のセクタで各ECCブロックを構成
し、前記ECCブロック単位でデータのリード・ライト
を行う手段を更に有することを特徴とする請求項5又は
6記載の光ディスク装置。
7. The optical disk device according to claim 5, wherein each ECC block is constituted by a plurality of sectors, and further comprising means for reading and writing data in units of the ECC block.
JP25672496A 1996-09-27 1996-09-27 Optical disk information recording system Pending JPH10106170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25672496A JPH10106170A (en) 1996-09-27 1996-09-27 Optical disk information recording system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25672496A JPH10106170A (en) 1996-09-27 1996-09-27 Optical disk information recording system

Publications (1)

Publication Number Publication Date
JPH10106170A true JPH10106170A (en) 1998-04-24

Family

ID=17296574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25672496A Pending JPH10106170A (en) 1996-09-27 1996-09-27 Optical disk information recording system

Country Status (1)

Country Link
JP (1) JPH10106170A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100459721B1 (en) * 2002-08-31 2004-12-03 삼성전자주식회사 Method for reading data and control system using controllable dummy read gate
WO2005062304A1 (en) * 2003-12-18 2005-07-07 Sony Corporation Recording medium, recording apparatus, reproducing apparatus, recording method, and reproducing method
JP2005235379A (en) * 2004-02-19 2005-09-02 Samsung Electronics Co Ltd Recording/reproducing method, recording/reproducing apparatus, and computer readable recording medium whereon program for performing this method is recorded
JP2005339772A (en) * 2004-05-22 2005-12-08 Samsung Electronics Co Ltd Optical recording information storage medium, recording/reproducing method, recording/reproducing apparatus and computer readable recording medium recorded with program to perform this method
JP2008009943A (en) * 2006-06-30 2008-01-17 Toshiba Corp Memory controller
KR100925523B1 (en) 2007-11-02 2009-11-06 한양대학교 산학협력단 Method Of Generating Error In Storage Device And Method Of Selecting Error Generating Location In Storage Device
US9703695B2 (en) 2013-03-22 2017-07-11 Fujitsu Limited Control device, storage device, and computer-readable recording medium having stored therein control program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100459721B1 (en) * 2002-08-31 2004-12-03 삼성전자주식회사 Method for reading data and control system using controllable dummy read gate
WO2005062304A1 (en) * 2003-12-18 2005-07-07 Sony Corporation Recording medium, recording apparatus, reproducing apparatus, recording method, and reproducing method
US7739578B2 (en) 2004-02-19 2010-06-15 Samsung Electronics, Co., Ltd. Recording and/or reproducing method, recording and/or reproducing apparatus, and computer readable recording medium storing program for performing the method
JP2005235379A (en) * 2004-02-19 2005-09-02 Samsung Electronics Co Ltd Recording/reproducing method, recording/reproducing apparatus, and computer readable recording medium whereon program for performing this method is recorded
US8572464B2 (en) 2004-02-19 2013-10-29 Samsung Electronics Co., Ltd. Recording and/or reproducing method, recording and/or reproducing apparatus, and computer readable recording medium storing program for performing the method
JP2005339772A (en) * 2004-05-22 2005-12-08 Samsung Electronics Co Ltd Optical recording information storage medium, recording/reproducing method, recording/reproducing apparatus and computer readable recording medium recorded with program to perform this method
US7945837B2 (en) 2004-05-22 2011-05-17 Samsung Electronics Co., Ltd. Optical recording medium, apparatus and method of recording/reproducing data thereon/therefrom, and computer-readable recording medium storing program to perform the method
JP2011108360A (en) * 2004-05-22 2011-06-02 Samsung Electronics Co Ltd Optical recording information storage medium, recording and reproducing method, recording and reproducing device, and computer-readable storage medium recording program for performing the method
JP2011108361A (en) * 2004-05-22 2011-06-02 Samsung Electronics Co Ltd Optical recording information storage medium, recording and reproducing method, recording and reproducing device, and computer-readable storage medium recording program for performing the method
US8522108B2 (en) 2004-05-22 2013-08-27 Samsung Electronics Co., Ltd. Optical recording medium, apparatus and method of recording/reproducing data thereon/therefrom, and computer-readable recording medium storing program to perform the method
JP2008009943A (en) * 2006-06-30 2008-01-17 Toshiba Corp Memory controller
KR100925523B1 (en) 2007-11-02 2009-11-06 한양대학교 산학협력단 Method Of Generating Error In Storage Device And Method Of Selecting Error Generating Location In Storage Device
US9703695B2 (en) 2013-03-22 2017-07-11 Fujitsu Limited Control device, storage device, and computer-readable recording medium having stored therein control program

Similar Documents

Publication Publication Date Title
US8000201B2 (en) Information recording system with information recording and reproducing apparatus having a data recorder
US7573799B2 (en) Information recording method, information recording apparatus, program and computer readable information storage medium
CN100550141C (en) Information recording method, information record carrier
US7385897B2 (en) Information recording device, information recording method, information recording program, and recording medium
KR19990055956A (en) How to respond to buffer underrun for optical disc drive
JP4335859B2 (en) Information recording / reproducing apparatus and information reproducing apparatus
JPH10106170A (en) Optical disk information recording system
US7768898B2 (en) Multi-layer information storage medium and information apparatus
JPH08273162A (en) Optical disk device
US20080212423A1 (en) Method of Ensuring Reproduction Compatibility of Information Recording Medium, and Recording and/or Reproducing Apparatus and Information Recording Medium Therefor
US6975567B2 (en) Method and apparatus for copying/moving data on optical recording medium
CN101159141B (en) Data recording and reproducing apparatus, data recording and reproducing method
JPH11339385A (en) Information reproducing method
JP2005327405A (en) Recording method, information recording device, information reproducing device, program, and recording medium
JP2007157279A (en) Information recording/reproducing apparatus and information recording method
JP3930072B2 (en) Data read / write processing system
JP4037382B2 (en) Defect management method, reproducing method, program and recording medium, information recording apparatus, and information reproducing apparatus
JPH1064066A (en) Optical disk information recording system
KR100378165B1 (en) Method for overwriting data in linking loss area
JP4343971B2 (en) Information recording method
JP2005302143A (en) Initialization method, reproducing method, program and recording medium, data structure, information recording device, and information reproducing device
KR20030083118A (en) Method for software updating of optical disc record/player
JP2005346785A (en) Recording method, information recording medium, reproducing method, information recording apparatus, and information reproducing apparatus
JP2001357608A (en) Information recording method and optical disk device
JP2005149722A (en) Information recording method, information recording apparatus, and program