JPH02254679A - System for recording and reproducing information - Google Patents

System for recording and reproducing information

Info

Publication number
JPH02254679A
JPH02254679A JP7510189A JP7510189A JPH02254679A JP H02254679 A JPH02254679 A JP H02254679A JP 7510189 A JP7510189 A JP 7510189A JP 7510189 A JP7510189 A JP 7510189A JP H02254679 A JPH02254679 A JP H02254679A
Authority
JP
Japan
Prior art keywords
data
sector
recording
sectors
information
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
JP7510189A
Other languages
Japanese (ja)
Inventor
Shoichiro Funato
舟戸 昭一郎
Tamotsu Ito
保 伊藤
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP7510189A priority Critical patent/JPH02254679A/en
Publication of JPH02254679A publication Critical patent/JPH02254679A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To record and reproduce data without causing the delay of a data transfer even when plural defective sectors exist by providing a means to temporarily store the data, a means to store the position information of the defective sector and a means to store the position information of an alternate source sector. CONSTITUTION:To a recording medium, the fixed number of alternate sectors are provided for each data area in which a recording unit sector composed of data and additional information to indicate the condition of the data is composed of a definite number, and a buffer memory 72 to store the data, a defective sector position information storage part 75 to store the position information of the defective sector and an alternate source position information storage part 76 to store the position information of the alternate source of the alternate sector are provided in a recording and reproducing device 78. For example, for a data format, one block is composed of a data area 1 composed of the definite number of recording sectors and an alternate area 2 composed of plural recording sectors to execute the alternate recording of the defective sector at the data area 1. Thus, even when plural defective sectors exist, without causing the delay of the data transfer, the data can be recorded and reproduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、記録媒体への情報記録再生方式に関し、特に
、光ディスク等の記録媒体を用い九記録装置において、
複数の不良セクタをもつ場合に、代替処理を含む記録デ
ータの再生を効率よく行なう情報記録再生方式に関する
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a method for recording and reproducing information on a recording medium, and in particular, in a recording apparatus using a recording medium such as an optical disk,
The present invention relates to an information recording and reproducing method that efficiently reproduces recorded data including alternative processing when there are multiple defective sectors.

〔従来の技術〕[Conventional technology]

従来、ディスク記録装置において、不良セクタを含むデ
ータ領域の情報記録再生方式は、例えば、特開昭65−
69070号公報に記載されるものがある〇この方式は
、データをセクタごとに記録する場合に、セクタが不良
セクタであると認識されたなら、セクタのデータを予め
用意されている代替セクタへ記録し、不良セクタおよび
そのデータを代替した代替セクタの位置情報を位置情報
記憶部に記憶させる0このデータ領域を再生する場合に
は、位置情報記憶部を参照することによシ、不良セクタ
を読み出すことなく、不良セクタの判別及び不良セクタ
の代替セクタの位置情報がわかる。すなわち、データ領
域の不良セクタをアクセスすることなく、直接代替セク
タをアクセスすることで複数の不良セクタがあってもデ
ータの再生に遅延が生じないとされている。
Conventionally, in a disk recording device, an information recording/reproducing method for a data area including a bad sector has been disclosed, for example, in Japanese Unexamined Patent Publication No. 1986-
There is a method described in Publication No. 69070. This method records data in each sector, and if a sector is recognized as a bad sector, the data in the sector is recorded in a pre-prepared alternative sector. Then, store the location information of the defective sector and the alternative sector that replaced its data in the location information storage unit.0 When reproducing this data area, read out the bad sector by referring to the location information storage unit. It is possible to identify a bad sector and to know the location information of a replacement sector for the bad sector without any trouble. That is, by directly accessing a substitute sector without accessing a bad sector in the data area, there is no delay in data reproduction even if there are a plurality of bad sectors.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術では、第4図に示すようなデータ領域のセ
クタA〜Fのデータを転送する場合、不良セクタB、E
を直接読まずに B/ 、 B/ の代替セクタを直接
シークする。すなわち、ドライブのアドレスをA−B’
 →C→D→l’ −Fと変えてデータを読み出す。
In the above conventional technology, when transferring data in sectors A to F of a data area as shown in FIG.
Directly seek alternative sectors of B/ and B/ without reading directly. In other words, the address of the drive is A-B'
→C→D→l' -F and read the data.

従って、不良セクタがある場合、通常のデータ領域から
代替領域ヘシークし、代替セクタの処理が終った後、再
びデータ領域をシークする。この動作は、不良セクタが
ある度にくり返されるから、複数の不良セクタがある場
合、通常のデータ領域と代替領域とのシークを何度もく
シ返し、データ転送の遅延を引き起こす。
Therefore, if there is a bad sector, seek is performed from the normal data area to the alternative area, and after processing of the alternative sector is completed, the data area is sought again. This operation is repeated every time there is a bad sector, so if there are multiple bad sectors, seeking between the normal data area and the alternative area is repeated many times, causing a delay in data transfer.

本発明の目的は、複数の不良セクタがあっても、シーク
のくシ返しによるデータ転送の遅延を引き起こすことな
く、データの記録、再生を行なうことができる情報記録
再生方式を提供することKある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information recording and reproducing method that can record and reproduce data even if there are a plurality of defective sectors without causing a delay in data transfer due to repeating a seek. .

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は、記録媒体に、データとデータの状態を示す
付加情報からなる記録単位セクタが一定個数で構成され
るデータ領域ごとに、固定数の代替セクタを設け、記録
再生装置に、データを記憶スルバッファメモリと、不良
セクタの位置情報を記憶する不良セクタ位置情報記憶部
と、代替セクタの代替元の位置情報を記憶する代替元位
置情報記憶部とを設けることによって達成される。
The above purpose is to provide a fixed number of alternative sectors in a recording medium for each data area, which consists of a fixed number of recording unit sectors consisting of data and additional information indicating the state of the data, and to store data in a recording/reproducing device. This is achieved by providing a replacement buffer memory, a bad sector location information storage section that stores location information of a bad sector, and a replacement source location information storage section that stores replacement source location information of a replacement sector.

〔作用〕[Effect]

データバッファメモリにデータを記憶してからデータ転
送を行なうので、データ読み出し途中で不良セクタがあ
った場合も、−旦、不良セクタの誤ったデータをデータ
バッファメモリへ記憶しておいて、代替処理の時、正し
いデータと入れかえる0これにより不良セクタが見つか
る度に代替処理を実行せずにすむので、シークのくり返
しによるデータ転送の遅延を生じない〇 また、不良セクタを見つけた時、不良セクタが読み出そ
うとするデータ領域の何番目のセクタであるかを示す位
置情報を内部メモリ内の不良セクタ位置情報記憶部へ記
憶しておく。これにより、不良セクタに対応する代替セ
クタを1個ずつシークせず、代替領域の先頭をシークし
、不良セクタ位置情報と代替領域の位置情報とを順次比
較して正しい代替処理を行なえるので、代替セクタのシ
ーク回数が減り、データ転送の遅延を防ぐことができる
Since data is transferred after storing data in the data buffer memory, even if a bad sector is found during data read, the erroneous data in the bad sector is first stored in the data buffer memory and alternative processing is performed. 0 This eliminates the need to perform alternative processing every time a bad sector is found, so there is no delay in data transfer due to repeated seeks.Also, when a bad sector is found, it is replaced with the correct data. Position information indicating which sector of the data area to be read is stored in a bad sector position information storage section in the internal memory. As a result, instead of seeking the alternative sectors corresponding to the bad sector one by one, it is possible to seek to the beginning of the alternative area and sequentially compare the bad sector position information and the alternative area position information to perform correct alternative processing. The number of seeks for alternative sectors is reduced, and data transfer delays can be prevented.

さらに、セクタ順によらずランダムに書かれ丸データの
ために1回で代替処理が終了しない場合でも、1回目の
代替処理時に代替元情報を内部メモリ内の代替元位置情
報記憶部に記憶するので、もう−度、代替領域を読み出
せば、正しい代替処理が可能となる。すなわち、最悪で
も交替領域を2度シークするだけですむのでデータ転送
の遅延を抑えることができる。
Furthermore, even if the substitution process cannot be completed in one go because the data is written randomly regardless of sector order and is round, the substitution source information is stored in the substitution source location information storage section in the internal memory during the first substitution process. If the replacement area is read out again, correct replacement processing can be performed. That is, in the worst case, it is only necessary to seek the spare area twice, so that delays in data transfer can be suppressed.

〔実施例〕〔Example〕

以下1本発明の一実施例を図面を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第7図は、本発明に係る情報記録再生方式のシステムブ
ロック図である。
FIG. 7 is a system block diagram of the information recording and reproducing method according to the present invention.

情報記録再生システム7Bは、光ディスク等の記録媒体
とドライブからなるドライブ部71、データを記憶する
データバッファメモリ72および内部メモリ77と、コ
ントローラ74とを有して構成される。
The information recording and reproducing system 7B includes a drive section 71 consisting of a recording medium such as an optical disk and a drive, a data buffer memory 72 and an internal memory 77 for storing data, and a controller 74.

本システムは、コントローラ74の制御によシ、各ブロ
ック間のデータ転送を行なう。また、外部制御を行なう
ホスト75と情報記録再生システム78との間のデータ
転送もコントローラ74によって制御される・ 内部メモリ77は、不良セクタがあった場合に、その不
良セクタの位置情報を記憶する不良セクタ位置情報記憶
部75、および、代替領域における代替セクタの代替先
の位置情報を記憶する代替元位置情報記憶部76を含ん
でいる。
This system transfers data between each block under the control of a controller 74. Data transfer between the host 75 that performs external control and the information recording and reproducing system 78 is also controlled by the controller 74. The internal memory 77 stores the location information of the bad sector if there is a bad sector. It includes a defective sector location information storage section 75 and a replacement source location information storage section 76 that stores location information of the replacement destination of the replacement sector in the replacement area.

第8図は、本発明における記録媒体のデータフォーマッ
トの1例である。
FIG. 8 is an example of a data format of a recording medium according to the present invention.

記録媒体83は、データ領域81と不良セクタのデータ
を代替する代替領域82を1つのブロックとして構成し
、そのブロックが順次配置されている。
The recording medium 83 includes a data area 81 and an alternative area 82 for replacing data in a defective sector as one block, and the blocks are arranged sequentially.

第1図は、本発明の一実施例を示すデータフォーマット
である。
FIG. 1 is a data format showing one embodiment of the present invention.

同図に示すデータフォーマットは、一定個数の記録セク
タで構成されるデータ領域1と、データ領域1での不良
セクタの代替記録を行なう複数個の記録セクタで構成さ
れる代替領域2とで、1つのブロックを構成する。この
ブロックが、記録媒体上に順次配置されている。また、
各記録セクタは、データ部11とコントロールワード1
2とから成り立っている。さらに、コントロールワード
12は、そのセクタが属する媒体中のトラフ・り番号0
のセクタ番号0を論理アドレス0として始まる一連の論
理アドレスを示す6バイトの自己論理ID13%そのセ
クタが不良セクタであっ九場合の予想される代替先のト
ラック番号とセクタ番号を示す5バイトの予想代替先物
理ID14、代替先に記録されるデータの本来のトラッ
ク番号とセクタ番号を示す3バイトの代替先ID15、
代替処理の回数を示す1バイトの代替回数値16、おヨ
ヒ、コントロールワードのみで完結する2バイトのEC
C17から構成される。
The data format shown in the figure consists of a data area 1 consisting of a fixed number of recording sectors, and an alternative area 2 consisting of a plurality of recording sectors for performing alternative recording of defective sectors in data area 1. consists of two blocks. These blocks are sequentially arranged on the recording medium. Also,
Each recording sector consists of a data section 11 and a control word 1.
It is made up of 2. Furthermore, the control word 12 indicates the trough number 0 in the medium to which the sector belongs.
6-byte self-logical ID indicating a series of logical addresses starting with sector number 0 as logical address 013% 5-byte prediction indicating the track number and sector number of the expected replacement destination if the sector is a bad sector. Alternative destination physical ID 14, 3-byte alternate destination ID 15 indicating the original track number and sector number of data recorded in the alternative destination,
A 1-byte substitution count value 16 indicating the number of substitution processes, a 2-byte EC completed with only a control word.
Consists of C17.

第5図は5本発明の一実施例のデータ書き込みのフロー
チャートである。第2因は、不良セクタ位置情報記憶部
75および代替元位置情報記憶部76の記憶データの配
置例である。また、第7図は、本発明の一実施例の情報
記録再生装置のブロック図である〇 以下、第2図と第5図、および第7図に従い、本発明の
一実施例のデータ書き込み動作について、説明する◇ 始めに、ステップ100において、所定の初期条件を設
定した上でルーチンを開始する。次に、ステップ101
で、ホスト73からの、書き込むためのデータをデータ
バッファメモリ72へ格納し、ステップ102でメディ
ア上のデータ領域にある目的セクタへシークする。
FIG. 5 is a flowchart of data writing according to an embodiment of the present invention. The second factor is an example of the arrangement of data stored in the bad sector location information storage section 75 and the replacement source location information storage section 76. FIG. 7 is a block diagram of an information recording and reproducing apparatus according to an embodiment of the present invention. Below, according to FIGS. 2, 5, and 7, data writing operations according to an embodiment of the present invention ◇ First, in step 100, a routine is started after predetermined initial conditions are set. Next, step 101
Then, the data to be written from the host 73 is stored in the data buffer memory 72, and in step 102, seek is performed to the target sector in the data area on the medium.

次に、ステップ103で、1セクタ分のデータをメディ
アへ書き込む。ステップ104で、データバッファメモ
リ中の誉き込むべきすべてのデータがメディアに書き込
まれ丸かどうかを判別する。
Next, in step 103, one sector worth of data is written to the medium. In step 104, it is determined whether all the data to be written in the data buffer memory has been written to the medium and is round.

書き込むべきすべてのデータの書き込みが終了した時は
、ステップ105へ進み、まだ書き込まれていないデー
タがある時は、ステップ103へ戻るO ステップ105で、メディア上に書き込まれたデータ領
域の先頭セクタ(データバッ7アメモリの先頭データが
記録されている)ヘシークし、ステップ106へ進む。
When all the data to be written has been written, the process advances to step 105, and if there is data that has not been written yet, the process returns to step 103.In step 105, the first sector ( Seek to the data buffer (in which the first data of the memory is recorded) and proceed to step 106.

次に、ステップ106で、誉き込まれたデータとデータ
バッファメモリ72に格納されているデータとを、1セ
クタ単位でベリファイする。その結果、ステップ107
において、そのセクタが不良セクタでないと認識された
場合は、ステップ109へ進み、そうでない場合は、ス
テップ108へ進む。ステップ108において、不良セ
クタの位置情報を不良セクタ位置情報記憶部75に記憶
する。
Next, in step 106, the written data and the data stored in the data buffer memory 72 are verified in units of sectors. As a result, step 107
If the sector is recognized as not being a bad sector, the process proceeds to step 109; otherwise, the process proceeds to step 108. In step 108, the location information of the bad sector is stored in the bad sector location information storage section 75.

本実施例においては、第1図のデータ領域1の誓き込み
を行ない、不良セクタ5. 4. 5. 6が発見され
た時、これらの不良セクタの位置情軸(例えば、書き込
みを行なったデータ領域の先頭セクタをOとして、以下
、各セクタにシーケンシャルに1.2,5,4. ・・
・のセクタ位置番号を割りあてる)を、不良セクタ位置
情報記憶部75へ記憶する。例えば、第1図に示され九
不良セクタ5.4,5.6のセクタ位置管号が、それぞ
れ、2、 5. 8. 9であった場合は、第2図(a
)の不良セクタ位置情報記憶部75の例のように記憶さ
れる。
In this embodiment, data area 1 in FIG. 1 is committed, and bad sectors 5. 4. 5. When 6 is found, the location axis of these bad sectors (for example, the first sector of the data area where writing is performed is O, and the following is sequentially 1, 2, 5, 4, etc. for each sector.
.) is stored in the bad sector location information storage section 75. For example, the sector position numbers of the nine bad sectors 5.4 and 5.6 shown in FIG. 1 are 2 and 5.6, respectively. 8. If it is 9, then Figure 2 (a
) is stored as in the example of the bad sector location information storage unit 75.

なお、不良セクタ位置情報記憶部75の残りの部分には
、セクタ位置番号と容易に区別できる数値(本実施例で
は、rF”(16進数))を記憶する。
Note that the remaining portion of the bad sector location information storage section 75 stores a numerical value (rF" (hexadecimal number) in this embodiment) that can be easily distinguished from the sector location number.

不良セクタ位置情報記憶部75に位置情報を記憶した後
、ステップ109へ進み、全セクタのベリファイを終了
したかどうか判別する。全セクタノヘリファイが終了し
ていない時は、ステップ106へ戻り、終了していたら
ステップ110へ進む。
After storing the location information in the bad sector location information storage section 75, the process proceeds to step 109, where it is determined whether verification of all sectors has been completed. If all sectors have not been completed, the process returns to step 106, and if it has been completed, the process proceeds to step 110.

ステップ110において、ベリファイの結果、不良セク
タがあったかどうかを不良セクタ位置情報記憶部75の
自答よ)判別する。不良セクタがない場合は、ステップ
115へ進み、データ書き込み動作を終了する。不良セ
クタがあった場合には、ステップ111へ進み代替領域
にシークする。
In step 110, it is determined whether or not there is a defective sector as a result of the verification (based on the self-response of the defective sector location information storage section 75). If there is no defective sector, the process advances to step 115 and the data write operation ends. If there is a bad sector, the process advances to step 111 and seeks to an alternative area.

次に、ステップ112において、不良セクタ位置情報記
憶部75を参照し、不良セクタに本来書かれるべきだっ
たデータをデータバッファメモリ72より=み出し、ス
テップ115において、そのデータを代替セクタへ沓き
込む。次に、ステップ114において、不良セクタ位置
情報記憶部75に記憶されているすべての不良セクタに
対する代替処理が終了したかどうかを判別する0すべて
の代替処理が終了したなら、ステップ115へ進み、デ
ータ書き込み動作を終了する・未処理の不良セクタがあ
る場合は、ステップ112へ戻り、ステップ112〜1
14をくり返す〇 本実施例のデーj11にき込みで、注意しなけれはなら
ないのは、データ領域1中の不良セクタが、前述したよ
うな不良セクタ5. 4. 5. 6であった場合、デ
ータ領域1をすべて1回で誓き込みを行なった場合は、
代替領域に書き込まれる不良セクタの順序は、不良セク
タ3,4,5.6の順になるが、例えば、データ領域1
を図1に示すよりなα*/’orの3つに分割して、β
、α、rの順に5つの領域の省き込みを行なった場合は
、代替領域に誉き込まれる不良セクタの順序は、不良セ
クタ5,5,4.6の順になる仁とである。
Next, in step 112, the bad sector location information storage unit 75 is referred to, and the data that was originally supposed to be written in the bad sector is extracted from the data buffer memory 72, and in step 115, the data is transferred to an alternative sector. It's crowded. Next, in step 114, it is determined whether or not the alternative processing for all the bad sectors stored in the bad sector location information storage unit 75 has been completed.If all the alternative processing has been completed, the process proceeds to step 115, where the data End the write operation. If there is an unprocessed bad sector, return to step 112 and repeat steps 112 to 1.
Repeat step 14. When writing data to data j11 in this embodiment, it must be noted that the bad sector in data area 1 is not the bad sector 5. as described above. 4. 5. 6, if you pledge all data area 1 at once,
The order of bad sectors written to the alternative area is bad sectors 3, 4, 5.6, but for example, data area 1
Divide into three parts α*/'or shown in Figure 1, and β
When five areas are omitted in the order of , α, and r, the order of bad sectors to be transferred to the replacement area is 5, 5, 4.6.

以上、述べてきたように、本発明の実施例によれば、デ
ータ領域に複数の不良セクタがあっても不良セクタの位
置情報を記憶することでデータ領域の書き込みおよびベ
リファイの終了した後、複数の不良セクタの代替処理が
1回のシークでできるので、データ領域1と代替領域2
とのシークのくり返しKよるデータ転送の遅延を生じな
い。
As described above, according to the embodiments of the present invention, even if there are multiple bad sectors in the data area, by storing the position information of the bad sectors, after writing and verifying the data area, multiple Alternative processing for bad sectors can be done with one seek, so data area 1 and alternative area 2
There is no delay in data transfer due to repeated seek K.

第6図は、本発明の一実施例を示すデータ読み出し動作
のフローチャートである0第5図は、データバッファメ
モリ72のメモリマツプである。
FIG. 6 is a flowchart of a data read operation showing one embodiment of the present invention. FIG. 5 is a memory map of the data buffer memory 72.

以下、第6図、第2図、第3図および第7図を用いて本
発明の一実施例の読み出し動作について説明する。
The read operation of one embodiment of the present invention will be described below with reference to FIGS. 6, 2, 3, and 7.

マス、ステップ200において、読み出し動作の準備を
行ない、ステップ201において、メディア上の目的セ
クタデ−タする。次に、ステップ202で、1セクタ分
データを読み出す0ステシbK 205で、セクタデー
タにエラーがあるかどうかを判定し、エラーなしの場合
は、ステップ205へ進み、エラー、!1シの場合は、
ステップ204へ進む。ステップ204で、不良セクタ
の位置情報、本実施例においては、データ書き込みの時
と同様に読み出したデータ領域の先頭セクタからシーケ
ンシャルに各セクタにっけ九番号(以下、位置情報と呼
ぶ)、を不良セクタ位置情報記憶部75に記憶する〇 次に、ステップ205において、データバッファメモリ
に格納可能な個数のセクタの読み出し動作が終了したか
どうかを判別する。読み出し動作が終了した場合は、ス
テップ206へ進み、まだ、終了していない場合は、ス
テップ202へ戻るO 読み出されたデータは、第5図に示すようなデータバッ
ファメモリ72へ格納される。データバッファメモリ7
2のうち、第5図の斜線で示す部分は、そのセクタが不
良セクタであるため誤ったデータが格納されている。従
って、代替処理によって、第5図の斜線部分へ正常なデ
ータを格納する。
In step 200, preparations are made for a read operation, and in step 201, target sector data on the medium is read. Next, in step 202, data for one sector is read out. In step 205, it is determined whether or not there is an error in the sector data. If there is no error, the process proceeds to step 205, and the error! In the case of 1 shi,
Proceed to step 204. In step 204, the position information of the defective sector, in this embodiment, the nine-digit number (hereinafter referred to as position information) of each sector is sequentially written from the first sector of the read data area in the same way as when writing data. Storing in the defective sector location information storage section 75 Next, in step 205, it is determined whether the reading operation of the number of sectors that can be stored in the data buffer memory has been completed. If the read operation has been completed, the process advances to step 206; if it has not yet been completed, the process returns to step 202.The read data is stored in the data buffer memory 72 as shown in FIG. Data buffer memory 7
2, the hatched portion in FIG. 5 is a defective sector, and therefore incorrect data is stored therein. Therefore, normal data is stored in the shaded area in FIG. 5 through alternative processing.

次に、ステップ206で、不良セクタがあったかどうか
を判別する。不良セクタがなければ、ステップ220へ
進み、データ読み出し動作を終了する。不良セクタがあ
る場合は、ステップ207へ進み、代替領域の先頭へシ
ークする。
Next, in step 206, it is determined whether there is a bad sector. If there is no defective sector, the process advances to step 220 and the data read operation ends. If there is a bad sector, the process advances to step 207 and seeks to the beginning of the alternative area.

但し、読み出すデータ領域が、代替領域2の直前のセク
タまでであるなら、続けて代替領域を読み出せるのでス
テップ207の代替領域のシークが必要ない場合もある
◎ 次のステップ208からステップ219において、代替
処理を行なうが、それは以下の様な手)W4で行なう。
However, if the data area to be read is up to the sector immediately before the alternative area 2, the alternative area can be read continuously, so seeking the alternative area in step 207 may not be necessary. In the next step 208 to step 219, Alternative processing is performed using W4 as shown below.

最初に、不良セクタ位置情報記憶部75の先頭の位置情
報を見て、第5図に示したデータバッファメモリ72の
アドレスをセットする。バッファメモリのアドレスは、
セクタ位置番号よυ決まり。
First, the head position information of the defective sector position information storage section 75 is checked and the address of the data buffer memory 72 shown in FIG. 5 is set. The buffer memory address is
The sector position number is determined by υ.

例えば、セクタ位置番号0のときは、バッファメモリア
ドレスは0、セクタ位gt査号1のときはバッファメモ
リアドレスは200H,(16進数)となる。つま)、
セクタ位置番号0の時をアドレス0として、セクタ位置
番号が、1増えるごとにアドレスを200H(16進数
)増す。但し、本実施例における1セクタの大きさは5
12バイト(16進数で200)とする。
For example, when the sector position number is 0, the buffer memory address is 0, and when the sector position gt code is 1, the buffer memory address is 200H (hexadecimal). wife),
When the sector position number is 0, the address is 0, and each time the sector position number increases by 1, the address is increased by 200H (hexadecimal number). However, the size of one sector in this example is 5
It is 12 bytes (200 in hexadecimal).

次に、ステップ208において、バッファメモリのセッ
トされたアドレスへ、代替領域の先頭のセクタのデータ
を読み込む。ステップ209においてそのセクタデータ
の中のコントロールワード12の代替元ID15より、
代替元の位置情報を求め、位置情報と不良セクタ情報記
憶部75の先頭の位置情報と比較する。その結果、両者
、の位置情報が一致した時は、代替処理OKとして、ス
テップ210へ進み、不良セクタ情報記憶部75の先頭
の位置情報をクリア(例えば、データ゛’ F F ”
(16進数)を書き込む)する。ステップ209の位置
情報比較で一致しなかっら、ステップ211へ進む。ま
た、ステップ209で、位置情報が一致して、ステップ
210へ進んだ場合もステップ210が終了したらステ
ップ211へ進む。
Next, in step 208, data in the first sector of the alternative area is read into the set address of the buffer memory. In step 209, from the alternative source ID 15 of the control word 12 in the sector data,
The location information of the replacement source is obtained, and the location information is compared with the top location information of the bad sector information storage section 75. As a result, when the position information of both matches, it is determined that the alternative processing is OK and the process proceeds to step 210, where the head position information of the bad sector information storage section 75 is cleared (for example, the data ``F F''
(write hexadecimal number)). If there is no match in the position information comparison in step 209, the process advances to step 211. Further, even if the position information matches in step 209 and the process proceeds to step 210, the process proceeds to step 211 after step 210 is completed.

ステップ211では、ステップ2[]9で求めた代替元
位置情報を代替元位置情報記憶部76へ記憶する。
In step 211, the replacement source position information obtained in step 2[]9 is stored in the replacement source position information storage section 76.

次に、ステップ212へ進み、代替セクタすべてのチエ
ツクが終了したかどうか判別する。代替セクタすべての
チエツクが終了したならば、ステップ213へ進む。某
替セクタチエツクが、まだ、終了していなければ、ステ
ップ208へ戻る。ステップ208〜211において、
n番目の不良セクタ位置情報記憶部75の位置情報と比
較されるのは、n番目の代替セクタである。
Next, the process proceeds to step 212, where it is determined whether all alternative sectors have been checked. When all alternative sectors have been checked, the process advances to step 213. If the certain alternative sector check has not yet been completed, the process returns to step 208. In steps 208-211,
It is the n-th alternative sector that is compared with the location information in the n-th bad sector location information storage section 75.

次に、ステップ211において、不良セクタの代替処理
が終了したかどうか、すなわち、不良セクタ位置情報記
憶部75がすべてクリア(すべて’FF” (16X数
))されているかどうかを判別する。不良セクタ位置情
報記憶部75がすべてクリアされている場合は、代替処
理はすべて終了したとしてステップ220へ進み、デー
タ読み出し動作を終了する。−万、不良セクタ位置情報
記憶部75にクリアされていない位置情報がある場合は
、2度目の代替処理の為、ステップ214へ進む。
Next, in step 211, it is determined whether the replacement process for the bad sector has been completed, that is, whether the bad sector location information storage unit 75 has been cleared (all 'FF' (16X number)). If all of the location information storage section 75 has been cleared, it is assumed that all alternative processing has been completed, and the process proceeds to step 220, where the data reading operation ends. If there is, the process advances to step 214 for second alternative processing.

上記、2通シの場合の不良セクタ位置情報記憶部75と
代替元位置情報記憶部76の例を第2図(a)、 (b
)にそれぞれ示す。
Examples of the defective sector location information storage unit 75 and the replacement source location information storage unit 76 in the case of the above two transfers are shown in FIGS. 2(a) and 2(b).
) are shown respectively.

第2図(a)に示すように1不良セクタの位置情報と代
替元位置情報が一致する時は、代替処理は1回で終了す
る〇一方、第2図(b)のように不良セクタの位置情報
と代替元の位置情報が一致しない場合は、第3図のデー
タバッファメモリ72の斜線部5,4,5.6に他のセ
クタのデータが読み込まれる0従って、正しいデータを
読み込むために、もう−度、代替処理を行なう。
As shown in Figure 2(a), when the location information of one bad sector and the replacement source location information match, the replacement process is completed in one time.On the other hand, as shown in Figure 2(b), if the location information of one bad sector If the location information of the replacement source and the location information of the replacement source do not match, data of other sectors is read into the shaded areas 5, 4, 5.6 of the data buffer memory 72 in FIG. 3. Therefore, in order to read the correct data, Then, perform the alternative processing again.

2度目の代替処理は、以下のように行なう◎ステップ2
14において、代替元位置情報記憶部76を参照して、
不良セクタ位置情報記憶部75の位置情報の配置を並び
かえる。つまり、第2図(b)を例にすると、不良セク
タ位置情報記憶部75の位置情報2. 3. 8. 9
を代替元位置情報記憶部76を参照して、8,9,2.
5の順に並べかえる〇 次に、ステップ215で、2度目の代替領域リードの為
のメディアの物理アドレスを再セットする。
The second alternative process is performed as follows ◎Step 2
14, with reference to the alternative source position information storage section 76,
The arrangement of location information in the bad sector location information storage section 75 is rearranged. That is, taking FIG. 2(b) as an example, position information 2. 3. 8. 9
8, 9, 2.
Rearrange in the order of 5〇Next, in step 215, the physical address of the medium for the second alternate area read is reset.

次に、 ステップ216において、ステップ215でセ
ットされたメディア上の目的セクタヘシークする。次に
、ステップ217において、不良セクタ位置情報記憶部
75の位置情報より、ブールバッファメモリ72のアド
レスをセットする。
Next, in step 216, the target sector on the medium set in step 215 is sought. Next, in step 217, the address of the Boolean buffer memory 72 is set based on the position information of the defective sector position information storage section 75.

この時、バッファメモリ72のアドレスは、ステップ2
14において、不良セクタ位置情報記憶部75の配置が
、代替領域の代替セクタの配置と一致する為に、読み込
まれる代替セクタに対応する正しいアドレスとなってい
る。従って、必ず正しい代替処理が行なわれる。
At this time, the address of the buffer memory 72 is
In step 14, since the arrangement of the defective sector position information storage section 75 matches the arrangement of the alternative sector in the alternative area, the correct address corresponds to the alternative sector to be read. Therefore, correct alternative processing is always performed.

次に、ステップ218において、代替処理の終了した不
良セクタの位を番号を不良セクタ位置情報記憶部75よ
シ消去(代りに″FF“(16真数))を書き込む)す
る。次に、ステップ219へ進み、不良セクタ位置情報
記憶部75に記憶されている不良セクタすべての代替処
理が終了したかどうかを判別する。ステップ219の結
果、代替処理が終了していたならば、ステップ220へ
進み、データの読み出し動作を終了し、まだ、代替処理
が終了していない場合は、ステップ217へ。
Next, in step 218, the number of the bad sector for which the replacement process has been completed is erased from the bad sector location information storage unit 75 ("FF" (16 antilog) is written instead). Next, the process advances to step 219, and it is determined whether the replacement processing for all the bad sectors stored in the bad sector location information storage section 75 has been completed. If the result of step 219 is that the alternative processing has been completed, the process proceeds to step 220, where the data reading operation is completed, and if the alternative processing has not yet been completed, the process proceeds to step 217.

戻る。return.

以上、述べ喪ように、本実施例によれば、複数の不良セ
クタがあっても、データバッファメモリ72と不良セク
タ位置情報記憶部75を設けるととによp1不良セクタ
があるたびに代替領域をシークする必要がなくなυ、シ
ークのくシ返しKよるデータ転送の遅延を防ぐことがで
きる〇また、データ領域の記録時に、データ領域をいく
つかのブロックに分けて記録したために、代替領域の代
替セクタが、代替元のセクタアドレスの小さい順に並ん
でいないような場合でも、代替処理時に代替セクタの代
替元位置情報を記憶する代替元位置情報記憶部76を設
けることKよ)、最悪の場合でも代替領域を2度読み出
すことで正常な代替処理を行なうことが可能となる。
As mentioned above, according to the present embodiment, even if there are a plurality of bad sectors, by providing the data buffer memory 72 and the bad sector position information storage section 75, each time there is a p1 bad sector, an alternative area is provided. It is no longer necessary to seek υ, and delays in data transfer due to seek return K can be prevented. Also, since the data area is divided into several blocks when recording, the alternative area Even if the replacement sectors are not arranged in descending order of replacement source sector addresses, a replacement source location information storage section 76 is provided to store replacement source location information of the replacement sectors during replacement processing. Even in this case, normal replacement processing can be performed by reading the replacement area twice.

本実施例では、代替セクタが不良セクタでないものとし
て処理を行なっているが、代替セクタが不良セクタの場
合は、その代替セクタに対する第2の代替セクタを設け
ることで本実施例と同様の効果を得ることができる。
In this embodiment, processing is performed on the assumption that the alternative sector is not a bad sector, but if the alternative sector is a bad sector, a second alternative sector is provided for the alternative sector to obtain the same effect as in this embodiment. Obtainable.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、複数の不良セクタがあった場合でも、
不良セクタの位置情報を記憶しておき、データは、不良
セクタのデータも含めて、データバッファメモ’)II
C記憶して、データ領域の読み出し終了後、代替領域を
シークして複数の不良セクタの代替処理を行なえるため
、代替領域とデータ領域を倒産もシークしなおす必要が
なく、従来より平均データ転送速度をあげることができ
る。
According to the present invention, even if there are multiple bad sectors,
The location information of the bad sector is memorized, and the data, including the data of the bad sector, is stored in a data buffer memo') II
After C memorization and reading of the data area is completed, it is possible to seek an alternative area and perform alternative processing for multiple bad sectors, so there is no need to seek again the alternative area and data area even if the area goes bankrupt, and the average data transfer is lower than before. You can increase the speed.

また、代替領域の読み出し中に、代替セクタの代替元位
置情報を記憶しておくために、1度目の代替処理が正し
く行なわれていなくても、2度目の代替領域読み出しで
正しい代替処理が行なえる。
In addition, since the replacement source position information of the replacement sector is memorized while reading the replacement area, even if the first replacement processing is not performed correctly, the correct replacement processing cannot be performed the second time the replacement area is read. Ru.

これにより、代替領域の代替セクタが、代替元位ttw
号の小さい順に並んでいないような場合でも代替領域の
7−り回数が少ない(#L大2回)ために従来より平均
データ転送速度をあげることができる。
As a result, the alternative sector of the alternative area is set to the alternative origin ttw
Even when the numbers are not arranged in ascending order, the average data transfer speed can be increased compared to the conventional method because the number of times the substitute area is retried is small (2 times for #L).

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

第1図は本発明の一実施例を示すデータフォーマット説
明図、第2図は本発明の一実施例における代替処理時の
記憶部の内容を示すための説明図、第3図は本発明の一
実施例のデータロ己憶部の内容を示すメモリマツプ説明
図、第4図は従来の代替方式を説明するためのチータフ
オーマント説明図、第5図は本発明の一実施例の代替処
理方式を示すデータ書き込み時のフローチャート、第6
図は本発明の一実施例の代替処理方式を示すデータ読み
出し時のフローチャート、第7図は本発明に係る情報記
録再生装置のシステム構成を示すブロック図、第8図は
記憶媒体を示すフォーマット説明図である。 1・・・データ領域、2・・・代替領域、5,4,5゜
6・・・不良セクタ、7,8,9.10・・・代替セク
タ、11・・・データ部、12・・・コントロールワー
ド、15・°°現在のセクタの自己論理ID、14・・
ご予想代替先ID、15・・・代替先ID、16・・・
代替回数値、17・・・コントロールワードのみで完結
するFCC,18,19,20,21・・・不良セクタ
位置情報、22.23,24.25・・・代替元位置情
報、71・・・ドライブ、72・・・データバッファメ
モリ、75・・・ホスト、74・・・コントローラ、7
5・・・不良セクタ位置情報記憶部、76・・・代替元
位置情報記憶部、77・・・内部メモリ、78・・・情
報記録再生システム、81・・・データ領域、82・・
・代替領域、83・・・情報記録媒体。
FIG. 1 is a data format explanatory diagram showing one embodiment of the present invention, FIG. 2 is an explanatory diagram showing the contents of the storage unit during alternative processing in one embodiment of the present invention, and FIG. FIG. 4 is an explanatory diagram of a memory map showing the contents of the data storage unit of one embodiment. FIG. 4 is an explanatory diagram of a cheater force for explaining a conventional alternative method. FIG. 5 is an illustration of an alternative processing method of an embodiment of the present invention. 6th flowchart for writing data shown in FIG.
FIG. 7 is a block diagram showing the system configuration of the information recording/reproducing apparatus according to the present invention. FIG. 8 is a format explanation showing the storage medium. It is a diagram. 1...Data area, 2...Alternative area, 5,4,5゜6...Bad sector, 7,8,9.10...Alternative sector, 11...Data section, 12...・Control word, 15・°°Self logical ID of current sector, 14...
Expected replacement ID, 15...Alternative ID, 16...
Alternative count value, 17...FCC completed with only control word, 18, 19, 20, 21... Bad sector location information, 22.23, 24.25... Alternative source location information, 71... Drive, 72... Data buffer memory, 75... Host, 74... Controller, 7
5... Bad sector position information storage section, 76... Alternative source location information storage section, 77... Internal memory, 78... Information recording and reproducing system, 81... Data area, 82...
- Alternative area, 83... Information recording medium.

Claims (1)

【特許請求の範囲】 1、記録トラックを持ち、かつ、各トラックが予じめ設
定された複数個の記録単位であるセクタに分割されてい
る記録媒体に対して、記録、再生を行なう情報記録再生
方式において、 データを一時記憶しておく手段と、不良セクタの位置情
報を記憶する手段と、代替元セクタの位置情報を記憶す
る手段とを有することを特徴とする情報記録再生方式。 2、記録媒体に、データとデータの状態を示す付加情報
からなる記録単位セクタが一定個数で構成されるデータ
領域ごとに、固定数の代替セクタを設け、 記録再生装置に、データを記憶するバッファメモリと、
不良セクタの位置情報を記憶する不良セクタ位置情報記
憶部と、代替セクタの代替元の位置情報を記憶する代替
元位置情報記憶部とを設けて構成することを特徴とする
情報記録再生方式。 3、前記データの状態を示す付加情報が、代替元の位置
情報を含むものである請求項2記載の情報記録再生方式
。 4、記録トラックを持ち、かつ、各トラックが予じめ設
定された複数個の記録単位であるセクタに分割されてい
る記録媒体に対して、記録、再生を行なう情報記録再生
方式において、 データを一時記憶しておく手段と、不良セクタの位置情
報を記憶する手段と、代替元セクタの位置情報を記憶す
る手段とを有し、 前記データを一時記憶しておく手段は、複数個のセクタ
のデータを記憶可能な容量を有し、該記録手段に格納さ
れる複数のセクタのデータについて、不良セクタデータ
の代替処理を実行する構成としたことを特徴とする情報
記録再生方式。 5、複数個のセクタ単位にデータの記録領域を分割して
なる記録媒体に対し、データの書き込みまたは読み出し
を行なう際、書き込みデータまたは読み出しデータをバ
ッファメモリを用いて一時記憶保持し、前記記録媒体に
対するデータの書き込みまたは読み出し中に、不良セク
タがあった場合、当該不良セクタの位置情報を記憶し、
該位置情報を用いて前記バッファメモリ内に保持されて
いる不良セクタデータについて、代替処理をまとめて実
行することを特徴とする情報記録再生方式。
[Claims] 1. Information recording that performs recording and reproduction on a recording medium that has recording tracks and each track is divided into sectors that are a plurality of preset recording units. An information recording and reproducing method comprising: means for temporarily storing data; means for storing positional information of a defective sector; and means for storing positional information of a replacement source sector. 2. A fixed number of alternative sectors are provided on the recording medium for each data area that is composed of a fixed number of recording unit sectors consisting of data and additional information indicating the state of the data, and a buffer for storing the data is provided on the recording/reproducing device. memory and
An information recording/reproducing method comprising: a bad sector location information storage unit that stores location information of a bad sector; and a replacement source location information storage unit that stores location information of a replacement source of a replacement sector. 3. The information recording and reproducing method according to claim 2, wherein the additional information indicating the state of the data includes location information of the replacement source. 4. In an information recording and reproducing method that records and reproduces data on a recording medium that has recording tracks and each track is divided into sectors that are a plurality of preset recording units. It has a means for temporarily storing data, a means for storing positional information of a defective sector, and a means for storing positional information of a replacement source sector, and the means for temporarily storing data is a means for storing positional information of a plurality of sectors. 1. An information recording/reproducing method, characterized in that the information recording/reproducing method has a capacity capable of storing data, and is configured to perform replacement processing for defective sector data with respect to data in a plurality of sectors stored in the recording means. 5. When writing or reading data to a recording medium in which the data recording area is divided into multiple sectors, the written data or read data is temporarily stored and held using a buffer memory, and the data is stored in the recording medium. If a bad sector is found while writing or reading data to, the location information of the bad sector is memorized,
An information recording and reproducing method characterized in that alternative processing is collectively executed for bad sector data held in the buffer memory using the position information.
JP7510189A 1989-03-29 1989-03-29 System for recording and reproducing information Pending JPH02254679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7510189A JPH02254679A (en) 1989-03-29 1989-03-29 System for recording and reproducing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7510189A JPH02254679A (en) 1989-03-29 1989-03-29 System for recording and reproducing information

Publications (1)

Publication Number Publication Date
JPH02254679A true JPH02254679A (en) 1990-10-15

Family

ID=13566445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7510189A Pending JPH02254679A (en) 1989-03-29 1989-03-29 System for recording and reproducing information

Country Status (1)

Country Link
JP (1) JPH02254679A (en)

Similar Documents

Publication Publication Date Title
US5319627A (en) Method for managing a defect in an optical disk by assigning logical addresses based upon cumulative number of defects in the disk
US6625096B1 (en) Optical disk recording and reproduction method and apparatus as well as medium on which optical disk recording and reproduction program is recorded
JPH0563861B2 (en)
JPH02263362A (en) Method for accessing data on recording medium and data recorder using this method
US5887128A (en) Method and apparatus for redundant disk storage system with offset
JPH04243061A (en) Flexible magnetic disk device
KR20010040467A (en) Automatic replacing method in reading and magnetic disc drive using the method
JPH03142760A (en) Information recording and reproducing device
JPH0316712B2 (en)
JPS63104284A (en) Disk file access system
JPH10240453A (en) Disk array device
JPH02254679A (en) System for recording and reproducing information
JPS5898806A (en) Controlling system for rotary storage device
JPS63113984A (en) Optical disk control system
JPH0235663A (en) Alternate processing system for magneto-optical disk device
JP2616097B2 (en) Information recording / reproducing device
JP2776558B2 (en) Bad sector replacement method for disk drive.
JPH0628779A (en) Method for recording and controlling data in disk device
JPS63306567A (en) Rotary type storage device
JPH0541037A (en) Digital data recording and reproducing device
JPS59221810A (en) Alternate sector device in magnetic storage device
JPH10208399A (en) Information recording method
JPS63316371A (en) Write once type storage device
JPH02236865A (en) Information recording and reproducing device
JPS59180811A (en) Ecc control system