JP2000215623A - Information recording/reproducing apparatus - Google Patents

Information recording/reproducing apparatus

Info

Publication number
JP2000215623A
JP2000215623A JP1836599A JP1836599A JP2000215623A JP 2000215623 A JP2000215623 A JP 2000215623A JP 1836599 A JP1836599 A JP 1836599A JP 1836599 A JP1836599 A JP 1836599A JP 2000215623 A JP2000215623 A JP 2000215623A
Authority
JP
Japan
Prior art keywords
data
sector
recording
buffer
storing
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
JP1836599A
Other languages
Japanese (ja)
Inventor
Koichi Machida
晃一 町田
Shinji Sasaki
真司 佐々木
Motoyuki Itou
基志 伊藤
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 JP1836599A priority Critical patent/JP2000215623A/en
Publication of JP2000215623A publication Critical patent/JP2000215623A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enable next recording without waiting for rotation of a disk by using, when a sector recording means fails in the recording operation, a recovery pipeline control means in place of an ordinary pipeline control means. SOLUTION: When irregularity is detected during recording to an optical disk A7, a retry pipeline means A5b executes in parallel, upon detection of such error, the re-calculation of IED, EDC by data ID, IED, EDC coding means and partial ECC coding by the partial ECC coding means A4d. In the retry pipeline means A5b, re-scrambling is omitted and only the required ECC coding is executed to shorten the time until the recording becomes possible with the means in comparison with the ordinary pipeline A5a. Therefore, the time until the next recording becomes possible from detection of error becomes shorter than the recording time of one block.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、セクタ単位に記録
および再生される情報記憶媒体に対して情報を記録再生
する情報記録再生装置に関するものであり、特にユーザ
データに対してスクランブルを施した後で、パリティを
付加して記録する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording / reproducing apparatus for recording / reproducing information on / from an information storage medium which is recorded / reproduced on a sector-by-sector basis. The present invention relates to an apparatus for recording with parity added.

【0002】[0002]

【従来の技術】セクタ構造を有する情報記録媒体の代表
的なものは光ディスクであり、近年、DVDを始めとす
る光ディスクの大容量化に伴い、動画像記録などの様々
な応用が考えられ、また、その可能性が期待されてい
る。
2. Description of the Related Art An optical disk is a typical information recording medium having a sector structure. In recent years, with the increase in the capacity of optical disks such as DVDs, various applications such as moving image recording have been considered. The possibility is expected.

【0003】光ディスクドライブは、ユーザデータを光
ディスク媒体に送出する場合、通常は媒体の特性や利用
形態に応じて、エネルギー拡散や情報保護のためのデー
タスクランブル処理、ECC(エラー訂正符号)の符号
化処理、変調処理からなる一連のエンコード動作を行
う。
[0003] When sending user data to an optical disk medium, the optical disk drive usually performs data scrambling for energy diffusion and information protection, and encoding of an ECC (error correction code) according to the characteristics and use form of the medium. A series of encoding operations including processing and modulation processing are performed.

【0004】図13は従来における情報記録再生装置の
一例を示す構成図である。
FIG. 13 is a block diagram showing an example of a conventional information recording / reproducing apparatus.

【0005】上位装置D1に接続された光ディスクドラ
イブは、ドライブ全体を制御するマイクロプロセッサD
5、上位装置D1とコマンドやデータの送受信を制御す
るバス制御回路D2、光ディスクD7に対してデータ記
録を行うデータ記録部D6、記録データを一時的に格納
するバッファ部D3、バッファメモリD3のデータ転送
制御及びデータ加工を行うバッファ制御部D4から構成
される。
An optical disk drive connected to the host device D1 is a microprocessor D that controls the entire drive.
5, a bus control circuit D2 for controlling transmission and reception of commands and data to and from the host device D1, a data recording unit D6 for recording data on the optical disk D7, a buffer unit D3 for temporarily storing recording data, and data in a buffer memory D3. It comprises a buffer control unit D4 for performing transfer control and data processing.

【0006】以下、図13で示した情報記録再生装置の
動作を説明する。
Hereinafter, the operation of the information recording / reproducing apparatus shown in FIG. 13 will be described.

【0007】マイクロプロセッサD5は、内部に格納さ
れた制御プログラムにしたがって、以下の処理を行う。
The microprocessor D5 performs the following processing according to a control program stored therein.

【0008】第1ステージとして以下の処理を実行す
る。まず、上位装置D1からバス制御回路D2を介し
て、ユーザデータを受信し、バッファメモリD3に格納
する。
The following processing is executed as the first stage. First, user data is received from the host device D1 via the bus control circuit D2 and stored in the buffer memory D3.

【0009】次に、データID,IED,EDC付加手
段D4aにより、上位装置D1から指示されたアドレス
情報を、図15に示すようなデータIDとして、バッフ
ァメモリD3のユーザデータに付加する。更に、アドレ
ス情報とユーザデータからから、IEDとEDCを計算
し、バッファメモリD3のユーザデータに付加する。こ
うして作成したデータを16個集め、図17に示すよう
に1つのユーザブロックとする。
Next, the data ID, IED, and EDC adding means D4a adds the address information specified by the host device D1 to the user data in the buffer memory D3 as a data ID as shown in FIG. Further, IED and EDC are calculated from the address information and the user data, and are added to the user data in the buffer memory D3. Sixteen pieces of data created in this way are collected into one user block as shown in FIG.

【0010】次に、スクランブル手段D4bによって、
データIDのアドレス情報に応じて一意に決まるスクラ
ンブルパターンをユーザデータに適応して、スクランブ
ル済みのユーザブロックを生成する。
[0010] Next, by the scrambling means D4b,
A scramble pattern uniquely determined according to the address information of the data ID is applied to the user data to generate a scrambled user block.

【0011】次に、第2ステージとして、ECC符号化
手段D4cによって、スクランブル済みのユーザブロッ
クに対して、図16に示すようなパリティを演算した
後、図17に示すバッファメモリD3のパリティデータ
領域に書き込む。
Next, as a second stage, the parity as shown in FIG. 16 is calculated for the scrambled user block by the ECC encoding means D4c, and then the parity data area of the buffer memory D3 shown in FIG. Write to.

【0012】次に、第3ステージとして、データ記録部
D6はスクランブル済みのユーザブロックとパリティブ
ロックに変調を施した後、光ディスクD7に出力する。
Next, as a third stage, the data recording unit D6 modulates the scrambled user block and parity block, and outputs the result to the optical disk D7.

【0013】通常パイプライン手段D5aは、上記第1
ステージから第3ステージを順次並列に実行していくこ
とにより、連続変調動作を行いながら記録媒体へ記録デ
ータを出力する。図14にその実行の様子を示す。
Normally, the pipeline means D5a is provided with the first
By sequentially executing the stage to the third stage in parallel, the recording data is output to the recording medium while performing the continuous modulation operation. FIG. 14 shows the state of the execution.

【0014】[0014]

【発明が解決しようとする課題】ところで、光ディスク
への記録時にアドレスエラー等の異常検出などにより記
録ができないときには記録媒体中の別の箇所に記録する
ことになるが、動画記録などのようにリアルタイム性が
要求されるような場合には、交替領域ではなく元の記録
場所から近い場所(通常、記録媒体上の次のブロック)
に可能な限り早く記録することが重要である。このよう
なブロックスリッピングによる欠陥管理方式は、後藤ら
による国際公開98/14938号で提案されている。
When recording on an optical disc cannot be performed due to detection of an error such as an address error or the like, recording is performed at another location in the recording medium. When the property is required, it is not a replacement area but a place close to the original recording location (usually the next block on the recording medium)
It is important to record as soon as possible. Such a defect management method by block slipping is proposed in WO 98/14938 by Goto et al.

【0015】しかしながら、従来例の通常パイプライン
手段D5aでは、記録場所の変更、すなわちデータID
の変更が発生した場合に、スクランブルのパターンが影
響を受けるため、上記第1ステージからやり直す必要が
あり、図14に示すように、記録可能になるまでに多く
の時間(t5〜t7)を所要し、ディスクの回転待ちが
発生するという問題点があった。
However, in the conventional ordinary pipeline means D5a, the recording location is changed, that is, the data ID is changed.
When the change occurs, the scramble pattern is affected, and it is necessary to start over from the first stage. As shown in FIG. 14, it takes a lot of time (t5 to t7) until recording becomes possible. However, there has been a problem that a disk rotation wait occurs.

【0016】本発明は、この点に鑑みなされたもので、
記録場所が変更された時に、記録可能になるまでの時間
を短縮するあるいはなくすことによって、ディスクの回
転待ちなしに次の記録を開始することを目的とする。
The present invention has been made in view of this point.
An object of the present invention is to start the next recording without waiting for the rotation of the disk by shortening or eliminating the time until recording becomes possible when the recording location is changed.

【0017】[0017]

【課題を解決するための手段】請求項1記載の本発明の
情報記録再生装置は、上述の目的を達成するために、上
位装置に接続され、セクタ単位に記録および再生される
情報記憶媒体に対して、一時的にデータを保持するバッ
ファと、上位装置よりユーザデータを受け取り、前記バ
ッファに格納するデータ受信手段と、前記ユーザデータ
に対応するセクタの番号と属性からなるセクタ識別情報
を前記バッファに格納するID付加手段と、前記セクタ
識別情報の番号を参照して、前記ユーザデータをスクラ
ンブルデータに加工して前記バッファに格納するスクラ
ンブル手段と、前記セクタ識別情報と前記スクランブル
データに対するエラー訂正符号を生成して前記バッファ
に格納するECC符号化手段と、前記セクタ識別情報の
属性をセクタ番号不正であることを示す値に書き換えて
前記バッファに格納するID付替え手段と、前記識別情
報の値に影響を受けるエラー訂正符号のみを生成して前
記バッファに格納する部分ECC符号化手段と、前記バ
ッファに保持されたデータを前記情報記憶媒体に記録す
るセクタ記録手段と、前記データ受信手段と前記ID付
加手段と前記スクランブル手段と前記ECC符号化手段
と前記セクタ記録手段とを所定の順序で動作させる通常
パイプライン制御手段と、前記ID付替え手段と前記部
分ECC符号化手段と前記セクタ記録手段とを所定の順
序で動作させるリカバリパイプライン制御手段と、を備
え、前記セクタ記録手段が記録の動作に失敗した場合
に、前記通常パイプライン制御手段の代わりに、前記リ
カバリパイプライン制御手段を用いることを特徴とす
る。
In order to achieve the above object, an information recording / reproducing apparatus according to the present invention is connected to a higher-level apparatus and is provided on an information storage medium which is recorded and reproduced in sector units. A buffer for temporarily holding data, data receiving means for receiving user data from a higher-level device and storing the data in the buffer, and sector identification information comprising a sector number and an attribute corresponding to the user data in the buffer. ID scrambling means for processing the user data into scrambled data by referring to the number of the sector identification information and storing the scrambled data in the buffer; and an error correction code for the sector identification information and the scrambled data. ECC encoding means for generating and storing in the buffer the attribute of the sector identification information ID replacement means for rewriting to a value indicating positive and storing in the buffer, partial ECC encoding means for generating only an error correction code affected by the value of the identification information and storing in the buffer, A sector recording unit for recording the data held in the buffer on the information storage medium; and a data receiving unit, the ID adding unit, the scrambling unit, the ECC encoding unit, and the sector recording unit in a predetermined order. Recovery pipeline control means for operating the ID replacement means, the partial ECC encoding means, and the sector recording means in a predetermined order, wherein the sector recording means performs recording. Use the recovery pipeline control means instead of the normal pipeline control means when the operation of And wherein the door.

【0018】請求項2記載のまた、本発明の情報記録再
生装置は、上述の目的を達成するために、上位装置に接
続され、セクタ単位に記録および再生される情報記憶媒
体に対して、一時的にデータを保持するバッファと補助
部分バッファと、上位装置よりユーザデータを受け取
り、前記バッファに格納するデータ受信手段と、前記ユ
ーザデータに対応するセクタの番号と属性からなるセク
タ識別情報を前記バッファに格納するID付加手段と、
前記セクタ識別情報の番号を参照して、前記ユーザデー
タをスクランブルデータに加工して前記バッファに格納
するスクランブル手段と、前記セクタ識別情報と前記ス
クランブルデータに対するエラー訂正符号を生成して前
記バッファに格納するECC符号化手段と、前記セクタ
識別情報の属性をセクタ番号不正であることを示す値に
書き換えて前記補助部分バッファに格納するID付替え
手段と、前記識別情報の値に影響を受けるエラー訂正符
号のみを生成して前記補助部分バッファに格納する部分
ECC符号化手段と、前記バッファに保持されたデー
タ、もしくは、一部を前記補助部分バッファに保持され
たデータで置き換えたデータを前記情報記憶媒体に記録
するセクタ記録手段と、前記データ受信手段と前記ID
付加手段と前記スクランブル手段と前記ECC符号化手
段と前記ID付替え手段と前記部分ECC符号化手段と
前記セクタ記録手段とを所定の順序で動作させるパイプ
ライン制御手段と、を備え、前記セクタ記録手段は、記
録の動作に失敗した場合に、前記補助部分バッファに保
持されたデータを用いることを特徴としている。する。
According to a second aspect of the present invention, there is provided an information recording / reproducing apparatus for temporarily storing an information storage medium which is connected to a higher-level apparatus and which records and reproduces data in sector units. A data buffer for storing data, an auxiliary partial buffer, a data receiving means for receiving user data from a higher-level device and storing the data in the buffer, and a sector identification information comprising a sector number and an attribute corresponding to the user data in the buffer. ID adding means stored in the
A scrambler for processing the user data into scrambled data by referring to the number of the sector identification information and storing the scrambled data in the buffer; and generating an error correction code for the sector identification information and the scrambled data and storing the error correction code in the buffer. ECC encoding means, ID rewriting means for rewriting the attribute of the sector identification information to a value indicating that the sector number is invalid and storing the value in the auxiliary partial buffer, and error correction affected by the value of the identification information A partial ECC encoding unit for generating only a code and storing the code in the auxiliary partial buffer; and storing the data held in the buffer or data obtained by partially replacing the data with the data held in the auxiliary partial buffer. Sector recording means for recording on a medium, the data receiving means and the ID
Pipeline control means for operating the adding means, the scrambling means, the ECC encoding means, the ID changing means, the partial ECC encoding means, and the sector recording means in a predetermined order; The means is characterized in that when the recording operation fails, the data held in the auxiliary partial buffer is used. I do.

【0019】請求項3記載のまた、本発明の情報記録再
生装置は、上述の目的を達成するために、上位装置に接
続され、セクタ単位に記録および再生される情報記憶媒
体に対して、一時的にデータを保持するバッファと、上
位装置よりユーザデータを受け取り、前記バッファに格
納するデータ受信手段と、第一のセクタに記録するデー
タに前記ユーザデータを加工するものと、第一のセクタ
より所定セクタ後方の第二のセクタに記録するデータに
前記ユーザデータを加工するものとの少なくとも2つ以
上のパイプライン制御手段と、いずれかのパイプライン
制御手段が加工したデータを前記情報記録媒体に記録す
るセクタ記録手段と、を備え、前記パイプライン制御手
段は、それぞれ、前記ユーザデータに対応するセクタの
番号と属性からなるセクタ識別情報を前記バッファに格
納する複数のID付加手段と、前記セクタ識別情報の番
号を参照して、前記ユーザデータをスクランブルデータ
に加工して前記バッファに格納する複数のスクランブル
手段と、前記セクタ識別情報と前記スクランブルデータ
に対するエラー訂正符号を生成して前記バッファに格納
する複数のECC符号化手段と、を備え、前記セクタ記
録手段が記録の動作に失敗する毎に、前記セクタ記録手
段が用いているデータを加工する前記パイプライン制御
手段を切り替えることを特徴としている。する。
According to a third aspect of the present invention, there is provided an information recording / reproducing apparatus according to the present invention, wherein the information recording / reproducing apparatus is connected to a higher-level apparatus and temporarily stores and reproduces information in a sector unit. A buffer for holding data, a data receiving means for receiving user data from a higher-level device and storing the data in the buffer, a means for processing the user data into data to be recorded in a first sector, At least two or more pipeline control means for processing the user data into data to be recorded in a second sector behind a predetermined sector, and the data processed by any one of the pipeline control means is stored in the information recording medium. Sector recording means for recording, wherein the pipeline control means comprises a sector number and an attribute corresponding to the user data, respectively. A plurality of ID adding means for storing sector identification information in the buffer; a plurality of scrambling means for processing the user data into scrambled data by referring to the number of the sector identification information and storing the scrambled data in the buffer; A plurality of ECC encoding means for generating identification information and an error correction code for the scrambled data and storing the same in the buffer, each time the sector recording means fails in a recording operation, Switching the pipeline control means for processing the existing data. I do.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照しながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0021】(実施の形態1)図1は、本発明の実施の
形態1における情報記録再生装置の構成を示すブロック
図である。
(Embodiment 1) FIG. 1 is a block diagram showing a configuration of an information recording / reproducing apparatus according to Embodiment 1 of the present invention.

【0022】光ディスクドライブは、ドライブ全体を制
御するマイクロプロセッサA5、上位装置A1とコマン
ドやデータの送受信を制御するバス制御回路A2、光デ
ィスクA7に対するデータ記録を行うデータ記録部A
6、記録データを一時的に格納するバッファメモリA
3、バッファメモリA3のデータ転送制御及びデータ加
工を行うバッファ制御部A4を含む。
The optical disk drive includes a microprocessor A5 for controlling the entire drive, a bus control circuit A2 for controlling transmission and reception of commands and data to and from the host device A1, and a data recording unit A for recording data on the optical disk A7.
6. Buffer memory A for temporarily storing recording data
3. It includes a buffer control unit A4 that controls data transfer and data processing of the buffer memory A3.

【0023】マイクロプロセッサA5は、内部に格納さ
れた制御プログラムにしたがって、以下の制御を行う。
The microprocessor A5 performs the following control according to a control program stored therein.

【0024】通常パイプライン手段A5aは、まず、第
1ステージとして以下の手順を実行する。まず、上位装
置A1からバス制御回路A2を介してユーザデータをバ
ッファメモリA3に受信する。データID,IED,E
DC付加手段A5aは、上位装置A1から指示されたア
ドレス情報を含むデータIDをバッファメモリA3上の
ユーザデータに付加するとともにIED,EDCを計算
してユーザデータに付加し、ユーザブロックを生成す
る。スクランブル手段A5bは、データIDのアドレス
情報に応じて一意に決まるスクランブルパターンを、ユ
ーザデータに適応してスクランブル済みのユーザブロッ
クを生成する。
The normal pipeline means A5a first executes the following procedure as the first stage. First, user data is received from the host device A1 to the buffer memory A3 via the bus control circuit A2. Data ID, IED, E
The DC adding unit A5a adds a data ID including the address information specified by the host device A1 to the user data in the buffer memory A3, calculates IED and EDC, and adds the IED and EDC to the user data to generate a user block. The scrambling means A5b generates a scrambled user block by applying a scrambling pattern uniquely determined according to the address information of the data ID to the user data.

【0025】次に、第2ステージとして、ECC符号化
手段A5cは、スクランブル済みのユーザブロックに対
してパリティを演算した後、バッファメモリA3のパリ
ティデータ領域に書き込む。
Next, as a second stage, the ECC encoder A5c calculates a parity for the scrambled user block, and then writes the parity in the parity data area of the buffer memory A3.

【0026】次に、第3ステージとして、データ記録部
はスクランブル済みのユーザブロックとパリティブロッ
クに変調を施した後、記録媒体に出力する。
Next, as a third stage, the data recording section modulates the scrambled user block and parity block, and outputs the result to a recording medium.

【0027】通常パイプライン手段A5aは、上記第1
ステージから第3ステージを順次並列に実行していくこ
とにより、連続変調動作を行いながら記録媒体へ記録デ
ータを出力する。図2にその実行の様子を示す。
Normally, the pipeline means A5a is provided with the first
By sequentially executing the stage to the third stage in parallel, the recording data is output to the recording medium while performing the continuous modulation operation. FIG. 2 shows the state of the execution.

【0028】光ディスクA7への記録時にアドレスエラ
ー等の異常を検出して、記録できない場合、エラーを検
出してすぐに、リトライパイプライン手段A5bは、デ
ータID,IED,EDC符号化手段A5aによるIE
D,EDCの再計算と、部分ECC符号化手段A5dに
よる部分ECC符号化を並列に実行する。図2にその実
行の様子を示す。データID,IED,EDC付加手段
A5aは、記録しようとしたユーザブロック(ブロック
1)の図3に示す、データIDの先頭1バイト目のデー
タフィールド情報のブロックスリッピングビットをセッ
トし、IED,EDCを再計算し、ユーザブロックのデ
ータIDのデータフィールド情報,IED,EDCを書
き換える。同様に、次のユーザブロック(ブロック2)
のデータIDのデータフィールド情報,IED,EDC
を書き換える。部分ECC符号化手段A5dは、ブロッ
ク1のデータIDのデータフィールド情報,IED,E
DCの書き換えが終了した時点で、図4に示すように、
ブロック1のデータIDのデータフィールド情報,IE
D,EDCのみに対してECC符号化を行い、パリティ
ブロックの一部を書き換える。
If an error such as an address error is detected during recording on the optical disk A7 and recording is not possible, immediately after the error is detected, the retry pipeline means A5b uses the data ID, IED and EDC encoding means A5a to execute the IE.
The recalculation of D and EDC and the partial ECC encoding by the partial ECC encoding means A5d are executed in parallel. FIG. 2 shows the state of the execution. The data ID, IED, EDC adding means A5a sets the block slipping bit of the data field information of the first byte of the data ID of the user block (block 1) to be recorded, as shown in FIG. The recalculation is performed, and the data field information, IED, and EDC of the data ID of the user block are rewritten. Similarly, the next user block (block 2)
Field information of data ID of IED, EDC
Is rewritten. The partial ECC encoding means A5d includes data field information of the data ID of block 1, IED, E
When the rewriting of DC is completed, as shown in FIG.
Data field information of data ID of block 1, IE
ECC encoding is performed only on D and EDC, and a part of the parity block is rewritten.

【0029】次の記録場所(記録媒体上の次のブロッ
ク)への記録時、つまり第3ステージ実行時には通常パ
イプライン手段A5aによって、エラー検出直前の状態
から、上記第1ステージと第2ステージの並列実行を再
開する。
At the time of recording to the next recording location (the next block on the recording medium), that is, at the time of executing the third stage, the normal pipeline means A5a changes the state immediately before the error detection to the first stage and the second stage. Resume parallel execution.

【0030】上述したように、リトライパイプライン手
段A5bでは、再スクランブルを省略し、最低限必要な
ECC符号化しか実行しないことで、通常パイプライン
A5aに比べて、手段記録可能になるまでの時間が大幅
に短い。従って、エラーを検出してから、次に記録可能
になるまでの時間が、1ブロックの記録時間に比べて短
いので、記録開始してから、時間T(1ブロックの記録
時間 − エラー発生から記録可能になるまでの時間)
以内にエラーを検出すれば、回転待ちになしに次の記録
場所(記録媒体上次のブロック)への記録が可能とな
る。
As described above, the retry pipeline means A5b omits the re-scrambling and executes only the minimum necessary ECC encoding, so that the retry pipeline means A5b has a shorter time until the means can be recorded than the normal pipeline A5a. Is significantly shorter. Therefore, the time from the detection of an error until the next recording becomes possible is shorter than the recording time of one block. Time until it becomes possible)
If an error is detected within this time, recording on the next recording location (the next block on the recording medium) becomes possible without waiting for rotation.

【0031】(実施の形態2)図5は、本発明の実施の
形態2における情報記録再生装置の構成を示すブロック
図である。
(Embodiment 2) FIG. 5 is a block diagram showing a configuration of an information recording / reproducing apparatus according to Embodiment 2 of the present invention.

【0032】光ディスクドライブは、ドライブ全体を制
御するマイクロプロセッサB5、上位装置B1とコマン
ドやデータの送受信を制御するバス制御回路B2、光デ
ィスクB7に対するデータ記録を行うデータ記録部B
6、記録データを一時的に格納するバッファメモリB
3、バッファメモリB3のデータ転送制御及びデータ加
工を行うバッファ制御部B4を含む。
The optical disk drive includes a microprocessor B5 for controlling the entire drive, a bus control circuit B2 for controlling transmission and reception of commands and data to and from the host device B1, and a data recording unit B for recording data on the optical disk B7.
6. Buffer memory B for temporarily storing recording data
3. Includes a buffer control unit B4 that controls data transfer and data processing of the buffer memory B3.

【0033】バッファメモリB3は、補助バッファB3
aを含み、図6のように配置される。
The buffer memory B3 includes an auxiliary buffer B3
a and are arranged as shown in FIG.

【0034】マイクロプロセッサB5は、内部に格納さ
れた制御プログラムにしたがって、以下の制御を行う。
The microprocessor B5 performs the following control according to a control program stored therein.

【0035】通常パイプライン手段B5aは、まず、第
1ステージとして以下の手順を実行する。まず、上位装
置B1からバス制御回路B2を介してユーザデータをバ
ッファメモリB3に受信する。データID,IED,E
DC付加手段B4aは、上位装置から指示されたアドレ
ス情報を含むデータIDをバッファメモリB3上のユー
ザデータに付加するとともにIED,EDCを計算して
ユーザデータに付加し、ユーザブロックを生成する。次
に、スクランブル手段B4bは、データIDのアドレス
情報に応じて一意に決まるスクランブルパターンを、ユ
ーザデータに適応してスクランブル済みのユーザブロッ
クを生成する。
The normal pipeline means B5a first executes the following procedure as the first stage. First, user data is received from the host device B1 to the buffer memory B3 via the bus control circuit B2. Data ID, IED, E
The DC adding unit B4a adds a data ID including the address information specified by the host device to the user data in the buffer memory B3, calculates IED and EDC, and adds the IED and EDC to the user data to generate a user block. Next, the scrambler B4b generates a scrambled user block by applying a scramble pattern uniquely determined according to the address information of the data ID to the user data.

【0036】次に、第2ステージとして、ECC符号化
手段B4dは、スクランブル済みのユーザブロックに対
してパリティを演算した後、バッファメモリB3のパリ
ティデータ領域に書き込む。
Next, as a second stage, the ECC encoder B4d calculates a parity for the scrambled user block, and then writes the parity in the parity data area of the buffer memory B3.

【0037】次に第3ステージとして、データ記録部B
6はスクランブル済みのユーザブロックとパリティブロ
ックに変調を施した後、記録媒体に出力する。
Next, as a third stage, the data recording section B
Numeral 6 modulates the scrambled user block and parity block and outputs the result to a recording medium.

【0038】通常パイプライン手段B5aは、上記第1
ステージから第3のステージを順次並列に実行していく
ことにより、連続変調動作を行いながら記録媒体へ記録
データを出力する。図7にその実行の様子を示す。
Normally, the pipeline means B5a is provided with the first
By sequentially and sequentially executing the stages from the stage to the third stage, the recording data is output to the recording medium while performing the continuous modulation operation. FIG. 7 shows the state of the execution.

【0039】補助パイプライン手段B5bは、補助バッ
ファB3a上で以下の2つのステージの並列動作を行
う。まず、第1’ステージとして、データID,IE
D,EDC付加手段B4aは、IED,EDCの計算が
終了した直後のユーザブロックの図3に示す、データI
Dの先頭1バイト目のデータフィールド情報のブロック
スリッピングビットをセットし、補助バッファB3aに
格納するとともに、IED,EDCの再計算を実行し、
その結果を補助バッファB3aに格納する。第2’ステ
ージとして、部分ECC符号化手段B4aは、図4に示
すように、補助バッファ上のデータIDの先頭1バイ
ト,IED,EDC対してECC符号化を行い、補助バ
ッファB3aに格納する。図7にその実行の様子を示
す。
The auxiliary pipeline means B5b performs the following two stages of parallel operation on the auxiliary buffer B3a. First, as the first stage, data ID, IE
The D and EDC adding means B4a outputs the data I shown in FIG. 3 of the user block immediately after the IED and EDC calculations are completed.
A block slipping bit of the data field information of the first byte of D is set, stored in the auxiliary buffer B3a, and IED and EDC are recalculated.
The result is stored in the auxiliary buffer B3a. As the second 'stage, as shown in FIG. 4, the partial ECC encoding means B4a performs ECC encoding on the first byte, IED, and EDC of the data ID on the auxiliary buffer, and stores it in the auxiliary buffer B3a. FIG. 7 shows the state of the execution.

【0040】光ディスクB7への記録時にアドレスエラ
ー等の異常を検出して、記録できない場合、上記2つの
並列動作(通常パイプライン手段による並列動作と補助
パイプライン手段による並列動作)は中断するが、次の
記録場所(記録媒体上の次のブロック)への記録時、エ
ラー検出直前の状態から、上記2つの並列動作が再開さ
れる。この時及びその次のブロック記録時には、出力切
替手段B5cによって、補助バッファB3aに格納され
たデータIDのデータフィールド情報、IED、EDC
及びそれらのパリティがデータ記録部に出力される。
If recording is not possible by detecting an error such as an address error during recording on the optical disk B7, the above two parallel operations (parallel operation by normal pipeline means and parallel operation by auxiliary pipeline means) are interrupted. At the time of recording to the next recording location (the next block on the recording medium), the two parallel operations are restarted from the state immediately before error detection. At this time and at the time of the next block recording, the output switching means B5c causes the data field information of the data ID stored in the auxiliary buffer B3a, IED, EDC
And their parities are output to the data recording unit.

【0041】このように、データIDのデータフィール
ド情報,IED,EDC及びそれらのパリティの出力を
補助バッファB3aに切り替えているので、エラーを検
出してから、すぐにでも記録可能である。従って、1ブ
ロックの記録開始から終了までの間のどのタイミングで
エラーを検出しても、回転待ちになしに次の記録場所
(記録媒体上次のブロック)への記録が可能となる。
As described above, since the output of the data field information of the data ID, IED, EDC, and their parity is switched to the auxiliary buffer B3a, recording can be performed immediately after an error is detected. Therefore, even if an error is detected at any time from the start to the end of recording of one block, recording on the next recording location (the next block on the recording medium) can be performed without waiting for rotation.

【0042】(実施の形態3)図8は、本発明の実施の
形態3における情報記録再生装置の構成を示すブロック
図である。
(Embodiment 3) FIG. 8 is a block diagram showing a configuration of an information recording / reproducing apparatus according to Embodiment 3 of the present invention.

【0043】光ディスクドライブは、ドライブ全体を制
御するマイクロプロセッサC5、上位装置C1とコマン
ドやデータの送受信を制御するバス制御回路C2、光デ
ィスクC7に対するデータ記録を行うデータ記録部C
6、記録データを一時的に格納するバッファメモリC
3、バッファメモリC3のデータ転送制御及びデータ加
工を行うバッファ制御部C4を含む。
The optical disk drive includes a microprocessor C5 for controlling the entire drive, a bus control circuit C2 for controlling transmission and reception of commands and data to and from the host device C1, and a data recording unit C for recording data on the optical disk C7.
6. Buffer memory C for temporarily storing recording data
3. Includes a buffer controller C4 that controls data transfer and data processing of the buffer memory C3.

【0044】バッファメモリC3は、領域1、領域2、
領域3からなり、図9に示すように、それぞれにユーザ
データ領域とパリティデータ領域が存在する。
The buffer memory C3 includes the area 1, the area 2,
The region 3 includes a user data region and a parity data region, as shown in FIG.

【0045】マイクロプロセッサC5は、内部に格納さ
れた制御プログラムにしたがって、以下の制御を行う。
The microprocessor C5 performs the following control according to a control program stored therein.

【0046】3段パイプライン手段C5aは、以下の3
段の並列動作を図10に示すように実行する。記録時に
エラーが1回も発生していない状態(t4以前)につい
て説明する。
The three-stage pipeline means C5a includes the following three steps:
The parallel operation of the stages is performed as shown in FIG. A state in which no error has occurred at the time of recording (before t4) will be described.

【0047】第1段の並列動作は、まず、第1段の第1
ステージとして以下の手順を実行する。上位装置C1か
らバス制御回路C2を介してユーザデータをバッファメ
モリC3の領域1に受信する。データID,IED,E
DC付加手段1C4aは、上位装置C1から指示された
アドレス情報を含むデータIDを領域1のユーザデータ
に付加するとともにIED,EDCを計算してユーザデ
ータに付加し、ユーザブロックを生成する。次に、スク
ランブル手段1C4bは、データIDのアドレス情報に
応じて一意に決まるスクランブルパターンを、ユーザデ
ータに適応してスクランブル済みのユーザブロックを生
成する。
The parallel operation of the first stage firstly includes the first operation of the first stage.
Perform the following steps as a stage. The user data is received in the area 1 of the buffer memory C3 from the host device C1 via the bus control circuit C2. Data ID, IED, E
The DC adding unit 1C4a adds a data ID including the address information specified by the higher-level device C1 to the user data in the area 1, calculates IED and EDC, adds the IED and EDC to the user data, and generates a user block. Next, the scrambler 1C4b generates a scrambled user block by applying a scramble pattern uniquely determined according to the address information of the data ID to the user data.

【0048】次に、第1段の第2ステージとして、EC
C符号化手段1C4cは、領域1のスクランブル済みの
ユーザブロックに対してパリティを演算した後、領域1
のパリティデータ領域に書き込む。
Next, as a second stage of the first stage, EC
The C encoding unit 1C4c calculates the parity of the scrambled user block in the area 1 and then calculates the parity in the area 1
Is written to the parity data area.

【0049】次に、第3ステージとして、データ記録部
C6は領域1のスクランブル済みのユーザブロックとパ
リティブロックに変調を施した後、光ディスクC7に出
力する。
Next, as a third stage, the data recording unit C6 modulates the scrambled user block and parity block in the area 1, and outputs the modulated data to the optical disk C7.

【0050】第2段の並列動作は、1ブロック先のアド
レス情報に基づいてデータIDを生成し、第1ステージ
と第2ステージを実行する。まず、第2段の第1ステー
ジとして以下の手順を実行する。バッファ制御部C4は
バッファメモリC3の領域1に受信されたユーザデータ
を領域2にコピーする。データID,IED,EDC付
加手段2C4dは、上位装置C1から指示されたアドレ
スの1ブロック先を示すアドレス情報を含むデータID
を領域2のユーザデータに付加するとともにIED,E
DCを計算してユーザデータに付加し、ユーザブロック
を生成する。次に、スクランブル手段2C4eは、デー
タIDのアドレス情報に応じて一意に決まるスクランブ
ルパターンを、ユーザデータに適応してスクランブル済
みのユーザブロックを生成する。
In the second stage parallel operation, a data ID is generated based on the address information one block ahead, and the first and second stages are executed. First, the following procedure is executed as the first stage of the second stage. The buffer control unit C4 copies the user data received in the area 1 of the buffer memory C3 to the area 2. The data ID, IED, and EDC adding means 2C4d is a data ID including address information indicating one block ahead of the address specified by the higher-level device C1.
Is added to the user data in area 2 and IED, E
The DC is calculated and added to the user data to generate a user block. Next, the scrambler 2C4e generates a scrambled user block by applying a scramble pattern uniquely determined according to the address information of the data ID to the user data.

【0051】次に、第2段の第2ステージとして、EC
C符号化手段2C4fは、領域2のスクランブル済みの
ユーザブロックに対してパリティを演算した後、領域2
のパリティデータ領域に書き込む。
Next, as a second stage of the second stage, EC
The C encoding unit 2C4f calculates the parity of the scrambled user block in the area 2 and then calculates the parity in the area 2
Is written to the parity data area.

【0052】第3段の並列動作は、2ブロック先のアド
レス情報に基づいてデータIDを生成し、第1ステージ
と第2ステージを実行する。まず、第3段の第1ステー
ジとして以下の手順を実行する。バッファ制御部C4は
バッファメモリC3の領域1に受信されたユーザデータ
を領域3にコピーする。データID,IED,EDC付
加手段3C4gは、上位装置から指示されたアドレスの
2ブロック先を示すアドレス情報を含むデータIDを領
域3のユーザデータに付加するとともにIED,EDC
を計算してユーザデータに付加し、ユーザブロックを生
成する。次に、スクランブル手段3C4hは、データI
Dのアドレス情報に応じて一意に決まるスクランブルパ
ターンを、ユーザデータに適応してスクランブル済みの
ユーザブロックを生成する。
In the third stage parallel operation, a data ID is generated based on the address information two blocks ahead, and the first stage and the second stage are executed. First, the following procedure is executed as the first stage of the third stage. The buffer control unit C4 copies the user data received in the area 1 of the buffer memory C3 to the area 3. The data ID, IED, EDC adding means 3C4g adds a data ID including address information indicating two blocks ahead of the address specified by the higher-level device to the user data in the area 3, and adds IED, EDC
Is calculated and added to the user data to generate a user block. Next, the scramble means 3C4h outputs the data I
The scramble pattern uniquely determined according to the address information of D is adapted to the user data to generate a scrambled user block.

【0053】次に、第3段の第2ステージとして、EC
C符号化手段3C4iは、領域3のスクランブル済みの
ユーザブロックに対してパリティを演算した後、領域3
のパリティデータ領域に書き込む。
Next, as the second stage of the third stage, EC
The C encoding means 3C4i calculates parity for the scrambled user block in the area 3, and then calculates
Is written to the parity data area.

【0054】図10においてブロックn:mと記述して
いるのは、nは0から始まるユーザブロック番号、mは
データID内のアドレス情報が、エラーが1回も発生し
ていない場合に比べて、mブロック先までずれているこ
とを示す。
In FIG. 10, the block n: m is described as follows: n is the user block number starting from 0, and m is the address information in the data ID as compared with the case where no error has occurred. , M blocks ahead.

【0055】記録時にエラーが発生していない場合であ
れば、領域1のユーザブロックとパリティブロックがデ
ータ記録部C6に出力され第3ステージが実行される
が、図10のように、t4からt5の間に、記録媒体へ
の記録時にアドレスエラー等の異常を検出して、記録で
きない場合、次の記録動作開始時(t5)に領域2のユ
ーザブロックとパリティブロックが選択され、データ記
録部C6に出力され第3ステージが実行される。この時
(t5〜)、t4からt5の間に選択されていた領域1
に対する第1段の第1ステージでは、ブロック1を、3
ブロック先のアドレス情報によりデータIDを生成し
て、IED、EDCの計算、スクランブルを実行する。
If no error has occurred during recording, the user block and parity block in area 1 are output to the data recording section C6 and the third stage is executed, but as shown in FIG. During the recording, if an error such as an address error is detected during recording on the recording medium and recording cannot be performed, the user block and parity block in the area 2 are selected at the start of the next recording operation (t5), and the data recording section C6 is selected. And the third stage is executed. At this time (t5), the region 1 selected between t4 and t5
In the first stage of the first stage,
A data ID is generated based on the address information of the block destination, and IED and EDC are calculated and scrambled.

【0056】つまり、直前(t4〜t5)に選択されて
いた領域に対する第1ステージの実行ブロック番号を
n、アドレス情報のずれをmとすると、t5(エラーを
検出した直後の並列動作開始時)からはブロックn−2
を、(m+3)ブロック先のアドレス情報によりデータ
IDを生成して、第1ステージを実行するように変更す
る。
That is, assuming that the execution block number of the first stage with respect to the area selected immediately before (t4 to t5) is n and the deviation of the address information is m, t5 (at the start of the parallel operation immediately after the error is detected) From block n-2
Is changed to generate the data ID based on the address information of the (m + 3) block ahead and execute the first stage.

【0057】また、エラーがn回発生している場合は、
領域((n mod 3)+1)のユーザブロックとパ
リティブロックが記録部C6に出力され第3ステージが
実行される。
If the error has occurred n times,
The user block and the parity block in the area ((n mod 3) +1) are output to the recording unit C6, and the third stage is executed.

【0058】3段パイプライン手段C5aは、上記3段
の並列動作を順次並列に実行していくことにより、連続
変調動作を行いながら光ディスクC7へ記録データを出
力する。
The three-stage pipeline means C5a outputs the recording data to the optical disk C7 while performing the continuous modulation operation by sequentially executing the three-stage parallel operation in parallel.

【0059】エラーが2ブロック連続して発生した場合
の例を図10に示す。
FIG. 10 shows an example of a case where an error occurs continuously for two blocks.

【0060】エラーが1つおきに計2ブロック発生した
場合にの例を図11に示す。
FIG. 11 shows an example in which a total of two blocks occur every other error.

【0061】このように、常に、先のブロックのアドレ
ス情報を含むのデータIDによりIED,EDCの計算
及びそれらのパリティの計算をしておくことによって、
データIDの異なるユーザブロックをエラーを検出して
から、すぐにでも記録可能である。従って、1ブロック
の記録開始から終了までの間のどのタイミングでエラー
を検出しても、回転待ちになしに次の記録場所(記録媒
体上次のブロック)への記録が可能となる。
As described above, the calculation of IED and EDC and the calculation of their parity are always performed by the data ID including the address information of the previous block.
It is possible to record a user block having a different data ID immediately after detecting an error. Therefore, even if an error is detected at any time from the start to the end of recording of one block, recording on the next recording location (the next block on the recording medium) can be performed without waiting for rotation.

【0062】[0062]

【発明の効果】以上のように、本発明によれば、記録場
所が変更された時に、記録可能になるまでの時間を短縮
するあるいはなくすことによって、ディスクの回転待ち
なしに次の記録を開始することができる。
As described above, according to the present invention, when the recording location is changed, the next recording can be started without waiting for the rotation of the disk by shortening or eliminating the time until recording becomes possible. can do.

【0063】このため、動画像の記録などリアルタイム
性が要求されるシステムにおいて、記録媒体への記録が
できなかったときに別の箇所へ記録する場合でも速やか
に記録媒体への記録を行うことで転送レートの低下を低
く抑えることができる。
For this reason, in a system that requires real-time performance such as recording of a moving image, even when recording on a recording medium cannot be performed at another location, recording on the recording medium can be performed quickly. A decrease in the transfer rate can be kept low.

【0064】このため、より高い転送レートにおいて
も、ユーザデータをディスクにリアルタイム記録でき
る。
Therefore, the user data can be recorded on the disk in real time even at a higher transfer rate.

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

【図1】本発明の実施の形態1における情報記録再生装
置の構成図
FIG. 1 is a configuration diagram of an information recording / reproducing apparatus according to Embodiment 1 of the present invention.

【図2】本発明の実施の形態1における情報記録再生装
置の動作説明図
FIG. 2 is an explanatory diagram of an operation of the information recording / reproducing apparatus according to the first embodiment of the present invention.

【図3】本発明の実施の形態1、2におけるセクタの構
成図
FIG. 3 is a configuration diagram of a sector according to the first and second embodiments of the present invention.

【図4】本発明の実施の形態1、2の部分ECC符号化
の説明図
FIG. 4 is an explanatory diagram of partial ECC encoding according to the first and second embodiments of the present invention.

【図5】本発明の実施の形態2における情報記録再生装
置の構成図
FIG. 5 is a configuration diagram of an information recording / reproducing apparatus according to Embodiment 2 of the present invention.

【図6】本発明の実施の形態2におけるバッファメモリ
の構成図
FIG. 6 is a configuration diagram of a buffer memory according to a second embodiment of the present invention.

【図7】本発明の実施の形態2における情報記録再生装
置の動作説明図
FIG. 7 is an explanatory diagram of an operation of the information recording / reproducing apparatus according to the second embodiment of the present invention.

【図8】本発明の実施の形態3における情報記録再生装
置の構成図
FIG. 8 is a configuration diagram of an information recording / reproducing apparatus according to Embodiment 3 of the present invention.

【図9】本発明の実施の形態3におけるバッファモリの
構成図
FIG. 9 is a configuration diagram of a buffer memory according to a third embodiment of the present invention.

【図10】本発明の実施の形態1における情報記録再生
装置の動作説明図
FIG. 10 is an explanatory diagram of an operation of the information recording / reproducing device according to the first embodiment of the present invention.

【図11】本発明の実施の形態1における情報記録再生
装置の動作説明図
FIG. 11 is an explanatory diagram of an operation of the information recording / reproducing device according to the first embodiment of the present invention.

【図12】本発明の実施の形態1における情報記録再生
装置の動作説明図
FIG. 12 is an explanatory diagram of an operation of the information recording / reproducing device according to the first embodiment of the present invention.

【図13】従来例における情報記録再生装置の構成図FIG. 13 is a configuration diagram of an information recording / reproducing apparatus in a conventional example.

【図14】従来例の情報記録再生装置の動作説明図FIG. 14 is a diagram illustrating the operation of a conventional information recording / reproducing apparatus.

【図15】一般的なセクタの構成図FIG. 15 is a configuration diagram of a general sector.

【図16】一般的なECC符号化の説明図FIG. 16 is an explanatory diagram of general ECC encoding.

【図17】一般的なバッファメモリの構成図FIG. 17 is a configuration diagram of a general buffer memory;

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

A1,B1,C1,D1 上位装置 A2,B2,C2,D2 バス制御装置 A3,B3,C3,D3 バッファメモリ B3a 補助バッファ A4,B4,C4,D4 バッファ制御部 A4a,B4a,C4a,C4d,C4g,D4a デ
ータID,IED,EDC付加手段 A4b,B4b,C4b,C4e,C4h,D4b ス
クランブル手段 A4c,B4c,C4c,C4f,C4i,D4c E
CC符号化手段 A4d,B4d 部分ECC符号化手段 A5,B5,C5,D5 マイクロプロセッサ A5a,B5a,C5a,D5a 通常パイプライン手
段 A5b リトライパイプライン手段 B5b 補助パイプライン手段 B5c 出力切替手段 C5a 3段パイプライン手段 A6,B6,C6,D6 データ記録部 A7,B7,C7,D7 光ディスク
A1, B1, C1, D1 Host device A2, B2, C2, D2 Bus controller A3, B3, C3, D3 Buffer memory B3a Auxiliary buffer A4, B4, C4, D4 Buffer controller A4a, B4a, C4a, C4d, C4g , D4a Data ID, IED, EDC addition means A4b, B4b, C4b, C4e, C4h, D4b Scrambling means A4c, B4c, C4c, C4f, C4i, D4c E
CC encoding means A4d, B4d Partial ECC encoding means A5, B5, C5, D5 Microprocessor A5a, B5a, C5a, D5a Normal pipeline means A5b Retry pipeline means B5b Auxiliary pipeline means B5c Output switching means C5a Three-stage pipe Line means A6, B6, C6, D6 Data recording unit A7, B7, C7, D7 Optical disk

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 上位装置に接続され、セクタ単位に記録
および再生される情報記憶媒体に対して、 一時的にデータを保持するバッファと、 上位装置よりユーザデータを受け取り、前記バッファに
格納するデータ受信手段と、 前記ユーザデータに対応するセクタの番号と属性からな
るセクタ識別情報を前記バッファに格納するID付加手
段と、 前記セクタ識別情報の番号を参照して、前記ユーザデー
タをスクランブルデータに加工して前記バッファに格納
するスクランブル手段と、 前記セクタ識別情報と前記スクランブルデータに対する
エラー訂正符号を生成して前記バッファに格納するEC
C符号化手段と、 前記セクタ識別情報の属性をセクタ番号不正であること
を示す値に書き換えて前記バッファに格納するID付替
え手段と、 前記識別情報の値に影響を受けるエラー訂正符号のみを
生成して前記バッファに格納する部分ECC符号化手段
と、 前記バッファに保持されたデータを前記情報記憶媒体に
記録するセクタ記録手段と、 前記データ受信手段と前記ID付加手段と前記スクラン
ブル手段と前記ECC符号化手段と前記セクタ記録手段
とを所定の順序で動作させる通常パイプライン制御手段
と、 前記ID付替え手段と前記部分ECC符号化手段と前記
セクタ記録手段とを所定の順序で動作させるリカバリパ
イプライン制御手段とを備え、 前記セクタ記録手段が記録の動作に失敗した場合に、前
記通常パイプライン制御手段の代わりに、前記リカバリ
パイプライン制御手段を用いることを特徴とする情報記
録再生装置。
1. A buffer for temporarily storing data in an information storage medium connected to a higher-level device and recorded and reproduced in sector units, and data for receiving user data from the higher-level device and storing the data in the buffer Receiving means; ID adding means for storing sector identification information comprising a sector number and an attribute corresponding to the user data in the buffer; and processing the user data into scrambled data by referring to the sector identification information number. And an EC for generating an error correction code for the sector identification information and the scrambled data and storing the same in the buffer.
C encoding means, ID rewriting means for rewriting the attribute of the sector identification information to a value indicating that the sector number is invalid and storing it in the buffer, and only error correction codes affected by the value of the identification information A partial ECC encoding unit for generating and storing the data in the buffer; a sector recording unit for recording data held in the buffer on the information storage medium; a data receiving unit, the ID adding unit, the scrambling unit; A normal pipeline control means for operating the ECC encoding means and the sector recording means in a predetermined order, a recovery for operating the ID replacement means, the partial ECC encoding means and the sector recording means in a predetermined order. Pipeline control means, wherein when the sector recording means fails in the recording operation, the normal pipeline control means is provided. Alternatively, the information recording and reproducing apparatus, characterized by using said recovery pipeline control means.
【請求項2】 上位装置に接続され、セクタ単位に記録
および再生される情報記憶媒体に対して、 一時的にデータを保持するバッファと補助部分バッファ
と、 上位装置よりユーザデータを受け取り、前記バッファに
格納するデータ受信手段と、 前記ユーザデータに対応するセクタの番号と属性からな
るセクタ識別情報を前記バッファに格納するID付加手
段と、 前記セクタ識別情報の番号を参照して、前記ユーザデー
タをスクランブルデータに加工して前記バッファに格納
するスクランブル手段と、 前記セクタ識別情報と前記スクランブルデータに対する
エラー訂正符号を生成して前記バッファに格納するEC
C符号化手段と、 前記セクタ識別情報の属性をセクタ番号不正であること
を示す値に書き換えて前記補助部分バッファに格納する
ID付替え手段と、 前記識別情報の値に影響を受けるエラー訂正符号のみを
生成して前記補助部分バッファに格納する部分ECC符
号化手段と、 前記バッファに保持されたデータ、もしくは、一部を前
記補助部分バッファに保持されたデータで置き換えたデ
ータを前記情報記憶媒体に記録するセクタ記録手段と、 前記データ受信手段と前記ID付加手段と前記スクラン
ブル手段と前記ECC符号化手段と前記ID付替え手段
と前記部分ECC符号化手段と前記セクタ記録手段とを
所定の順序で動作させるパイプライン制御手段とを備
え、 前記セクタ記録手段は、記録の動作に失敗した場合に、
前記補助部分バッファに保持されたデータを用いること
を特徴とする情報記録再生装置。
2. An information storage medium which is connected to a host device and which records and reproduces data in sector units, a buffer for temporarily holding data and an auxiliary partial buffer; A data receiving unit that stores the user data in the buffer; an ID adding unit that stores sector identification information including a sector number and an attribute corresponding to the user data in the buffer; Scrambling means for processing into scrambled data and storing the same in the buffer; EC for generating the sector identification information and an error correction code for the scrambled data and storing the same in the buffer
C encoding means; ID rewriting means for rewriting the attribute of the sector identification information to a value indicating that the sector number is invalid and storing it in the auxiliary partial buffer; and error correction code affected by the value of the identification information. A partial ECC encoding unit that generates only the data and stores the data in the auxiliary partial buffer; and the data stored in the buffer or data in which a part of the data is replaced with the data stored in the auxiliary partial buffer. The data receiving means, the ID adding means, the scrambling means, the ECC encoding means, the ID replacement means, the partial ECC encoding means, and the sector recording means in a predetermined order. Pipeline control means for operating in the, the sector recording means, when the recording operation has failed,
An information recording / reproducing apparatus using data held in the auxiliary partial buffer.
【請求項3】 上位装置に接続され、セクタ単位に記録
および再生される情報記憶媒体に対して、 一時的にデータを保持するバッファと、 上位装置よりユーザデータを受け取り、前記バッファに
格納するデータ受信手段と、 第一のセクタに記録するデータに前記ユーザデータを加
工するものと、第一のセクタより所定セクタ後方の第二
のセクタに記録するデータに前記ユーザデータを加工す
るものとの少なくとも2つ以上のパイプライン制御手段
と、 いずれかのパイプライン制御手段が加工したデータを前
記情報記録媒体に記録するセクタ記録手段とを備え、 前記パイプライン制御手段は、それぞれ、 前記ユーザデータに対応するセクタの番号と属性からな
るセクタ識別情報を前記バッファに格納する複数のID
付加手段と、 前記セクタ識別情報の番号を参照して、前記ユーザデー
タをスクランブルデータに加工して前記バッファに格納
する複数のスクランブル手段手段と、 前記セクタ識別情報と前記スクランブルデータに対する
エラー訂正符号を生成して前記バッファに格納する複数
のECC符号化手段手段と、を備え、 前記セクタ記録手段が記録の動作に失敗する毎に、前記
セクタ記録手段が用いているデータを加工する前記パイ
プライン制御手段を切り替えることを特徴とする情報記
録再生装置。
3. A buffer for temporarily storing data in an information storage medium which is connected to a higher-level device and is recorded and reproduced in units of a sector; and data for receiving user data from the higher-level device and storing the data in the buffer. Receiving means for processing the user data into data to be recorded in a first sector; and processing the user data into data to be recorded in a second sector that is a predetermined sector behind the first sector. Two or more pipeline control means, and sector recording means for recording data processed by any one of the pipeline control means on the information recording medium, wherein each of the pipeline control means corresponds to the user data. A plurality of IDs for storing in the buffer sector identification information comprising a sector number to be performed and an attribute.
Adding means, a plurality of scrambling means for processing the user data into scrambled data with reference to the number of the sector identification information and storing the scrambled data in the buffer; and an error correction code for the sector identification information and the scrambled data. A plurality of ECC encoding means for generating and storing the data in the buffer, wherein each time the sector recording means fails in the recording operation, the pipeline control processing the data used by the sector recording means. An information recording / reproducing apparatus characterized by switching means.
JP1836599A 1999-01-27 1999-01-27 Information recording/reproducing apparatus Pending JP2000215623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1836599A JP2000215623A (en) 1999-01-27 1999-01-27 Information recording/reproducing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1836599A JP2000215623A (en) 1999-01-27 1999-01-27 Information recording/reproducing apparatus

Publications (1)

Publication Number Publication Date
JP2000215623A true JP2000215623A (en) 2000-08-04

Family

ID=11969684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1836599A Pending JP2000215623A (en) 1999-01-27 1999-01-27 Information recording/reproducing apparatus

Country Status (1)

Country Link
JP (1) JP2000215623A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839135A (en) * 2019-12-04 2020-02-25 厦门市美亚柏科信息股份有限公司 Recovery method and system for DV or HDV video file

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110839135A (en) * 2019-12-04 2020-02-25 厦门市美亚柏科信息股份有限公司 Recovery method and system for DV or HDV video file
CN110839135B (en) * 2019-12-04 2022-05-27 厦门市美亚柏科信息股份有限公司 Recovery method and system for DV or HDV video file

Similar Documents

Publication Publication Date Title
US7191382B2 (en) Methods and apparatus for correcting data and error detection codes on the fly
JP2000057713A (en) Method for managing defect of optical disk and optical disk device and optical disk
JPS605023B2 (en) memory system
US7818524B2 (en) Data migration systems and methods for independent storage device expansion and adaptation
JPH0773602A (en) Optical disk device
JP2006268673A (en) Memory control unit and error control method for storage device
US7761770B2 (en) Disk controller architecture to allow on-the-fly error correction and write disruption detection
JP2001331377A (en) Processing method for reproduction error, and disk device using the same
JP2001142650A (en) Method and device for controlling array disk
JP2000215623A (en) Information recording/reproducing apparatus
JP5381519B2 (en) A storage control device, a storage system, and an access method for detecting an erroneous calculation of a write position on a disk.
JP2004185477A (en) Optical storage medium array device and data transfer method
JP2004079011A (en) Data reproducing method and data reproducing device
JP7056867B2 (en) Control devices, control programs, and control methods
JPH01307063A (en) Optical disk recording and reproducing device
JP3924491B2 (en) Optical disc apparatus and data recording system using the same
JP2845770B2 (en) Disk array device
JP2004206291A (en) Data storage device and data storage method
JPH04311218A (en) External storage controller
JPS63121171A (en) Control system for optical disk device
JPS63237264A (en) Information recording system
JPH10301722A (en) Error correcting method for controller for large capacity storage device and error detecting method therefor
JPH07211016A (en) Disc memory device and method thereof for recording data
JP2004199740A (en) Information reproducing device, information recording/reproducing device, information reproducing method and information recording/reproducing method
JP2000322327A (en) File restoring device and information storing medium