JPH02278572A - Alternative block processing system - Google Patents

Alternative block processing system

Info

Publication number
JPH02278572A
JPH02278572A JP10087489A JP10087489A JPH02278572A JP H02278572 A JPH02278572 A JP H02278572A JP 10087489 A JP10087489 A JP 10087489A JP 10087489 A JP10087489 A JP 10087489A JP H02278572 A JPH02278572 A JP H02278572A
Authority
JP
Japan
Prior art keywords
defect list
list
data
written
block
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
JP10087489A
Other languages
Japanese (ja)
Inventor
Haruki Hayashi
林 春樹
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10087489A priority Critical patent/JPH02278572A/en
Publication of JPH02278572A publication Critical patent/JPH02278572A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a time for reloading a defect list by updating only the third defect list when a defective block is generated, transiting data to the second defect list in the case of overflow and preparing the new secondary defect list. CONSTITUTION:In addition to a primary defect list 11 and a secondary defect list 12, a third defect list 13 is provided on an optical disk medium as a control area to be used in an optical disk controller 1. The address of the defective block, which is detected before loading to a user, is written to the list 11 and the address of the defective block, which is generated after the loading, and the address of an alternative block are written to the list 12 as a pair. The list 13 has data structure same as that of the list 12 and the number of the data for the list 13 is enough smaller than that of the list 12. When the defective block is newly generated, only the list 13 is updated and when the list 13 is turned to the overflow, the data of the list 13 are moved to the list 12 and sorted. Then, the new secondary defect list 12 is prepared and the third defect list 13 is cleared.

Description

【発明の詳細な説明】 [概 要] 光ディスク装置において書込みデータが正常に記録され
なかったときの交代処理に関し、新たに不良ブロックが
発生したことによる欠陥リストの書き換えの回数を削減
することを目的とし、 ユーザ出荷前に検出した不良ブロックのア(パレスを書
き込んだ一次欠陥すストと、ユーザに出荷後発生した不
良ブロックのアドレスと該不良ブロックに代わりデータ
を書き込んだ交代ブロックのアドレスを対として書き込
んだ二次欠陥リストを光ディスク媒体上に備えて管理す
る光ディスクの交代処理において、前記一次欠陥リスト
および二次欠陥リストに加えて、二次欠陥リストと同一
のデータ構造を持ちこれより充分小さなデータ数を持つ
第三の欠陥リストを備えると共に、光ディスク制御装置
に、前記一次欠陥リストおよび二次欠陥リストを読み込
み格納する領域に加えて第三の欠陥リストを読み込み格
納する領域を備え、新たに不良ブロックが発生したとき
、前記第三の欠陥リストに空きがある場合には該第三の
欠陥リストのみを更新し、第三の欠陥リストがオーバフ
ローした場合には、前記二次欠陥リストに第三の欠陥リ
ストのデータを移し、二次欠陥リストの元のデータと該
移されたデータとを併ゼでソートして、新たな二次欠陥
リス1〜を作成し、第三の欠陥リストをクリアするよう
に構成する。
[Detailed Description of the Invention] [Summary] The purpose of this invention is to reduce the number of times a defect list is rewritten due to the occurrence of a new defective block, regarding replacement processing when write data is not normally recorded in an optical disk device. Then, the address of the defective block detected before shipment to the user (the address of the primary defective block in which the address was written), the address of the defective block that occurred after shipment to the user, and the address of the replacement block in which data was written in place of the defective block are paired. In an optical disc replacement process in which a written secondary defect list is prepared and managed on the optical disc medium, in addition to the primary defect list and secondary defect list, data that has the same data structure as the secondary defect list and is sufficiently smaller is added to the primary defect list and the secondary defect list. In addition, the optical disk control device is provided with an area for reading and storing the third defect list in addition to an area for reading and storing the primary defect list and the secondary defect list. When a block occurs, if there is space in the third defect list, only the third defect list is updated, and if the third defect list overflows, the third defect list is added to the secondary defect list. Transfer the data of the defect list, sort the original data of the secondary defect list and the transferred data by combining them, create new secondary defect lists 1~, and clear the third defect list. Configure it to do so.

[産業上の利用分野] 本発明は、光ディスク装置において書込めデータが正常
に記録されなかったときの交代処理に関する。
[Industrial Field of Application] The present invention relates to replacement processing when write data is not normally recorded in an optical disc device.

光ディスク装置では、書込みコマンドによって媒体にデ
ータを書き込んだ後にそれが正しく書けたかどうかをチ
エツクを行う。チエツクのときにデータが誤り検出訂正
コード(ECC)によっても訂正不能となった(これを
訂正不能データチエツクと呼ぶ)ならば、予め準備しで
ある交代領域の未使用ブロックを探し、そこにデータを
書き込む。読出し時には、読出し動作を行ったときにデ
ータチエツクが発生ずると、交代領域にデータが書かれ
ている可能性があるので、交代領域から該当ブロックを
探し出しデータを読み出す。これが交代処理であり、交
代処理では、交代領域の効率的な探索処理が要求される
In an optical disk device, after writing data to a medium using a write command, a check is performed to see if the data was written correctly. If the data becomes uncorrectable even with the error detection and correction code (ECC) during the check (this is called an uncorrectable data check), an unused block in the replacement area prepared in advance is searched for and the data is stored there. Write. At the time of reading, if a data check occurs when a read operation is performed, there is a possibility that data has been written in the alternate area, so the corresponding block is searched from the alternate area and the data is read out. This is the replacement process, and the replacement process requires efficient search processing for the replacement area.

[従来の技術] 光ディスク装置では、書込みコマンドによって媒体にデ
ータを書き込んだ後にそれが正しく書けたかどうかかを
チエツクを行い、チエツクのときにデータがECCによ
っても訂正不能となったならば、未使用の交代ブロック
を探し、そこにデータを書き込゛む。その場合に、磁気
ディスク装置の場合に行われているように、ID()ラ
ックアドレス、セクタアドレス等の識別情報)部を使用
して不良ブロックのアドレスと交代ブロックのアドレス
および不良/交代を示すフラグを書き込んで、これによ
って不良ブロックと交代ブロックのリンクを取ることは
行われない。現在のとごろ、磁気ディスクと違いID部
を書き直すことが出来ないためである。
[Prior Art] In an optical disk device, after writing data to a medium using a write command, a check is performed to see if the data was written correctly. If the data becomes uncorrectable even by ECC during the check, it is considered unused. Find a replacement block and write data there. In that case, as is done in the case of magnetic disk drives, the ID (identification information such as rack address, sector address, etc.) section is used to indicate the address of the defective block, the address of the replacement block, and the defect/replacement. No flags are written to link bad blocks to replacement blocks. This is because, unlike magnetic disks, the ID section cannot be rewritten these days.

読出し時には、読出し動作を行ったときに、データチエ
ツクが発生ずると、交代領域にデータが書かれている可
能性があるので、交代領域の先頭からデータを順番に読
んでいって該当ブロックを探し出す。交代領域の最後ま
で行っても交代ブロックが見つからないときには、書い
たときには正常で読み出すまでの間に何らかの異常があ
ってデ−タチエツクになったと判断する。この場合には
、上位装置のソフトアエアに対してデータチエツクが生
じたことを報告する。
When reading, if a data check occurs when a read operation is performed, there is a possibility that data has been written in the alternate area, so data is read in order from the beginning of the alternate area to find the corresponding block. . If the replacement block is not found even after reaching the end of the replacement area, it is determined that the writing was normal, but some abnormality occurred before the data was read, resulting in a data check. In this case, the occurrence of a data check is reported to the software of the host device.

最近、l5O(国際標準機構)は、光磁気ディスクのよ
うに書き換え可能な光ディスクの交代処理のために、従
来の交代処理方式に加えてマツプ方式を規格化した。マ
ツプ方式では、第5図に示すように、一次欠陥リスト(
I’rimary De4ccL Lis t)と二次
欠陥リスト(Secondary Defect I、
1st)とユーザエリアに、ブロックが分けられる。ユ
ザエリアはまた、一次エリアと交代エリアに分けられる
Recently, the International Standards Organization (I5O) has standardized the map method in addition to the conventional replacement processing method for replacement processing of rewritable optical disks such as magneto-optical disks. In the map method, as shown in Figure 5, the primary defect list (
I'rimary De4ccL List) and Secondary Defect List (Secondary Defect I,
The block is divided into 1st) and user area. The user area is also divided into a primary area and a replacement area.

一次欠陥すスl’ (Primary Defect 
Li5t)には、媒体出荷時の不良ブロックのアドレス
が書かれている。これは交代ブロックを割り当てるので
はなく、そのブロックを使用しないことにして、全体の
アドレスを一つ後ろにずらすことになる。
Primary Defect
Li5t) contains the address of the defective block at the time of shipment of the medium. This does not allocate a replacement block, but instead decides not to use that block and shifts the entire address one place later.

次欠陥リスト(Secondary Defect L
i5t)は、ユーザに出荷された後で新たに発生した欠
陥ブロックに対処するもので、不良ブロックのアドレス
と交代ブロックのアドレスの両方がベアで書いであるリ
ストである。光ディスク制御装置は、媒体が光ディスク
装置にローディングされてレディ状態になったときに、
両欠陥リストの値を読み取って、以降の書込み、読出し
時の処理に利用する。
Secondary Defect L
i5t) is used to deal with newly generated defective blocks after being shipped to users, and is a list in which both the address of the defective block and the address of the replacement block are written bare. When a medium is loaded into an optical disk device and becomes ready, the optical disk control device
The values of both defect lists are read and used for subsequent writing and reading processing.

第5図に示す例では、1,2,3.4が不良ブロックで
、ブロック101.102.103.104がそれぞれ
の交代ブロックである。これらのうち、ブロック3だけ
が出荷前に検出された不良ブロックであり、ブロック3
のアドレスは一次欠陥リストに書かれ、その交代ブロッ
ク103ばブロック3の次のブロックに書き込まれる。
In the example shown in FIG. 5, blocks 1, 2, and 3.4 are defective blocks, and blocks 101, 102, 103, and 104 are replacement blocks. Among these, only block 3 is a defective block detected before shipment, and block 3
The address of is written to the primary defect list and written to the replacement block 103, which is the next block after block 3.

ブロックI、2.4の交代ブロックは交代エリアに書き
込まれ、二次欠陥リストにブロック1と101.2と1
02.4と104のアドレスがベアで書かれる。
The replacement blocks of block I, 2.4 are written to the replacement area and blocks 1, 101.2 and 1 are written to the secondary defect list.
Addresses 02.4 and 104 are written bare.

第6図は、一次欠陥リストの構成を示す図である。FIG. 6 is a diagram showing the structure of the primary defect list.

このリストでは、一つのデータは4バイトで構成され、
不良ブロックのアドレスが小さい順に入っている。最初
の4バイト(ハイド番号0〜3)は、リス1の先頭を示
す符号(00,は16進のOO)、一次欠陥リストであ
ることを示す識別子01H、リストの長さの上位バイト
、および下位ハイドから成るリスト情報が書かれている
。各不良バイトのアドレスは、第1ハイドに不良ブロッ
クのトラック番号の上位バイト、第2ハイ1〜にその中
位バイト、第3バイトにその下位バイ1−1第4バイト
にセクタ番号が書かれる。
In this list, one data consists of 4 bytes,
Addresses of bad blocks are listed in descending order. The first 4 bytes (hyde numbers 0 to 3) are the code indicating the beginning of squirrel 1 (00, is OO in hexadecimal), the identifier 01H indicating that it is a primary defect list, the upper byte of the list length, and List information consisting of lower hides is written. The address of each bad byte is written in the upper byte of the track number of the bad block in the first hide, the middle byte in the second high byte, the lower byte 1-1 in the third byte, and the sector number in the fourth byte. .

第7図は、二次欠陥リストの構成を示す図である。FIG. 7 is a diagram showing the structure of the secondary defect list.

このリストでは、一つのデータは8バイトで構成され、
不良ブロックのアドレス4バイトと、交代ブロックのア
ドレス4バイトが対(ベア)で入っている。最初の8ハ
イド(バイト番号0〜7)は、第6図の場合と同様なリ
スト情報が書かれている。パイ1〜番号8〜11にはユ
ーザで最初に発生した不良ブロックのアドレスが、続い
てハイド番号12〜15にはそれに対する交代ブロック
のアドレスが書かれている。アドレスの内容は、第6図
の場合と同様である。
In this list, one data consists of 8 bytes,
The 4-byte address of the defective block and the 4-byte address of the replacement block are included as a pair (bare). List information similar to that in FIG. 6 is written in the first 8 hides (byte numbers 0 to 7). Pies 1 to 8 to 11 contain the addresses of the first defective blocks that occur in the user, and hide numbers 12 to 15 contain the addresses of replacement blocks. The contents of the address are the same as in the case of FIG.

〔発明が解決しようとする課題] 上記に説明した一次欠陥リストと二次欠陥リス]・を用
いた交代処理においては、一次欠陥リストは書き換える
必要はないが、二次欠陥リストは新たに不良ブロックが
発生するたびに書き直す必要がある。
[Problem to be Solved by the Invention] In replacement processing using the above-described primary defect list and secondary defect list, it is not necessary to rewrite the primary defect list, but the secondary defect list is updated with new defective blocks. needs to be rewritten every time it occurs.

一次欠陥リストは、出荷前に発生した不良ブロックのア
ドレスを小さい順に書き込んであるから問題ないが、二
次欠陥リストでは、新たに不良ブロックが発生ずるたび
に、不良ブロックのアドレスをキーとしてソート(分類
)し直す必要がある。
There is no problem in the primary defect list because the addresses of defective blocks that have occurred before shipment are written in ascending order, but in the secondary defect list, each time a new defective block occurs, it is sorted using the address of the defective block as a key ( classification) is necessary.

欠陥リストがソートされていないと、リード/ライトの
コマンドを受は取る毎に、リストの始めから終わりまで
検索する必要がある。ソートされていれば、周知のバイ
ナリサーチ(2等分探索)によって検索を開始して処理
ブロックのアドレスが欠陥リストのアドレスより小さく
なったところでIJ−めればよく、検索処理に要する時
間が大きく違ってくるからである。
If the defect list is not sorted, the list must be searched from beginning to end each time a read/write command is received. If it is sorted, you can start the search using the well-known binary search (binary search) and start IJ when the address of the processing block becomes smaller than the address of the defect list, which will increase the time required for the search process. This is because it will be different.

しかし、ソートを行うには時間が大きくかかり、不良ブ
ロックが発生するたびにソートを行うのは、大きな負担
になるという問題がある。
However, sorting takes a lot of time, and sorting every time a bad block occurs is a big burden.

本発明が解決しようとする課題は、このような従来の問
題点を解消した交代ブロック処理方式を提供することに
ある。
The problem to be solved by the present invention is to provide an alternate block processing method that eliminates such conventional problems.

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

第1図は、本発明の構成と原理を示す図である。 FIG. 1 is a diagram showing the configuration and principle of the present invention.

図において、11は一次欠陥リストであり、ユーザ出荷
前に検出した不良ブロックのアドレスを書き込む。
In the figure, numeral 11 is a primary defect list in which addresses of defective blocks detected before shipment to the user are written.

12は二次欠陥リストであり、ユーザに出荷後発生した
不良ブロックのアドレスと該不良ブロックに代わりデー
タを書き込んだ交代ブロックのアドレスを対として書き
込む。
Reference numeral 12 denotes a secondary defect list, in which the address of a defective block that has occurred after shipment to the user and the address of a replacement block into which data has been written in place of the defective block are written as a pair.

13は制御エリアに設けられた第三の欠陥リストであり
、二次欠陥リスト12と同一のデータ構造を持ちこれよ
り充分少ないデータ数(例えば、10ブロック分)を持
つ。
A third defect list 13 is provided in the control area, and has the same data structure as the secondary defect list 12, but has a sufficiently smaller number of data (for example, 10 blocks).

一次欠陥リスト11、二次欠陥リスト12および第の欠
陥リス[3は光ディスク媒体上に書き込まれる。
The primary defect list 11, the secondary defect list 12 and the second defect list [3 are written on the optical disc medium.

6]、 62.63は共に光ディスク制御装置内にある
メモリ領域であり、61は二次欠陥リスト11を読み込
み格納し、62は二次欠陥リスト12を読み込み格納し
、63は第三の欠陥リス1〜13を読み込み格納する。
6], 62 and 63 are memory areas in the optical disk control device, 61 reads and stores the secondary defect list 11, 62 reads and stores the secondary defect list 12, and 63 stores the third defect list. 1 to 13 are read and stored.

〔作 用〕[For production]

本発明では、一次欠陥領域リスト11と二次欠陥リスト
12に加えて、第三の欠陥リスト13を設ける。
In the present invention, in addition to the primary defect area list 11 and the secondary defect list 12, a third defect list 13 is provided.

即ち、光ディスク媒体−」−に光ディスク制御装置で使
用できる制御領域を設け、その中の一部に第:の欠陥リ
スト13を設ける。第三の欠陥リスト13は、次欠陥す
ス目2と同一のデータ構造を持ちこれより充分小さいデ
ータ数(例えば、不良/交代ブロックアドレスの10個
分)とする。
That is, a control area that can be used by the optical disk control device is provided on the optical disk medium, and a defect list 13 is provided in a part of the control area. The third defect list 13 has the same data structure as the next defect number 2 and has a sufficiently smaller number of data (for example, 10 defective/replacement block addresses).

ユーザ出荷後最初の状態では、二次欠陥リスト11と第
三の欠陥リスト13はリスト情報の他は空白であり、書
き込むべき不良/交代ブロックのりス1−J二のアドレ
スはOであるが、新たに不良フ゛ロンクが発生し、交代
ブロックに書かれたときは、光ディスク制御装置は、ま
ず第三の欠陥リスト13に書き込む。この第三の欠陥リ
スト13に載った不良/交代ブロックのリストとのアド
レスが、成る値(例えば10)になったとき(成る個数
になったとき)、二次欠陥リスト12に第三の欠陥リス
ト・13のデータを移し、二次欠陥リスト12の元のデ
ータとこの移されてきたデータとをOLせでソー1− 
 (fillち、マージ)して、新たな二次欠陥リスト
13を作成し、第三の欠陥リスト13をクリアする。こ
れらの光ディスク制御装置で行う処理は媒体上の欠陥リ
ストIL 12.13の複写である自装置内の記憶領域
6162、63上で行われ、直ちに媒体」−の欠陥リス
ト1112、13に複写される。以後、不良ブロックが
発生したときは、第三の欠陥リスト13に空きエリアが
あれば、第三の欠陥リスト13のみを更新し、第三の欠
陥リス目3がオーバフローしたときは、二次欠陥リスト
12に第三の欠陥リスト13のデータを移し、二次欠陥
リスト12の元のデータとマージして、新たな二次欠陥
リスト13を作成し、第三の欠陥リスト13をクリアす
る。
In the initial state after shipment to the user, the secondary defect list 11 and the third defect list 13 are blank except for the list information, and the address of the defective/replacement block paste 1-J2 to be written is O. When a new defective fron occurs and is written to a replacement block, the optical disk control device first writes it to the third defect list 13. When the address of the list of defective/replacement blocks listed in the third defect list 13 reaches a value (for example, 10) (when the number of blocks corresponds), the third defect is added to the secondary defect list 12. Move the data of list 13 and OL the original data of secondary defect list 12 and this transferred data to see 1-
(fill, merge) to create a new secondary defect list 13 and clear the third defect list 13. The processing performed by these optical disk control devices is carried out on storage areas 6162 and 63 within the own device, which are copies of the defect list IL 12.13 on the medium, and are immediately copied to the defect list 1112 and 13 of the medium. . After that, when a bad block occurs, if there is a free area in the third defect list 13, only the third defect list 13 is updated, and when the third defect list 3 overflows, it is updated as a secondary defect. The data of the third defect list 13 is transferred to the list 12 and merged with the original data of the secondary defect list 12 to create a new secondary defect list 13, and the third defect list 13 is cleared.

このような構成を採ることにより、不良ブロンクの発生
毎にソートする必要はなくなり、第三の欠陥リスト13
のデータ数が10ブロック分であれば、ソートの回数は
1/IOに減らずことができる。
By adopting such a configuration, there is no need to sort every time a defective bronch occurs, and the third defect list 13
If the number of data is 10 blocks, the number of sorting operations can be performed without reducing to 1/IO.

リード時において、不良ブロックのアドレスを検索する
ときは、二次欠陥リス1司2は前述のパイナリザーチに
より高速に検索でき、第三の欠陥リスト13は始めから
終わりまで検索するが個数が極めて少数であるから検索
時間は少ない。第三の欠陥リスト13も不良ブロック発
生のたびにソートしてアドレスの小さい順に並べておい
ても良い(個数が少ないからソート時間は少なくて済む
)。
At the time of reading, when searching for the address of a defective block, the secondary defect list 12 can be searched quickly by the above-mentioned pinar search, and the third defect list 13 is searched from beginning to end, but the number of defects is extremely small. There is less time to search. The third defect list 13 may also be sorted every time a defective block occurs and arranged in descending order of address (since the number is small, the sorting time can be shortened).

〔実施例] 第2図は、本発明の一実施例における光ディスク制御装
置の構成を示す図である。
[Embodiment] FIG. 2 is a diagram showing the configuration of an optical disc control device in an embodiment of the present invention.

第3図および第4図は、本発明の一実施例における欠陥
リストの状態を示す図である。
3 and 4 are diagrams showing the state of the defect list in one embodiment of the present invention.

図において、1は光ディスク制御装置である。In the figure, 1 is an optical disc control device.

2はマイクロプロセッサ(M P (1)であり、光デ
ィスク制御装置全体の動作を制御する。欠陥リストのソ
ート、マージ等もM P U 2が制御し“(行う。
2 is a microprocessor (M P (1)) which controls the operation of the entire optical disk control device. M P U 2 also controls sorting, merging, etc. of the defect list.

3は制御記憶(C3)であり、M P U 2の実行す
るマイクロプログラムを格納する。
Reference numeral 3 denotes a control memory (C3), which stores a microprogram executed by the MPU 2.

4は媒体から読み出した欠陥リストを格納する欠陥リス
ト格納メモリであり、41は二次欠陥リストを格納し、
42は二次欠陥リストを格納し、43は第三の欠陥リス
トを格納する。
4 is a defect list storage memory that stores the defect list read from the medium; 41 stores a secondary defect list;
42 stores a secondary defect list, and 43 stores a third defect list.

5は上位インタフェース回路であり、ホスト剖算機との
インタフェースを行う。
5 is a host interface circuit, which interfaces with the host computer.

6は下位インタフェース回路であり、光ディスク装置と
のインタフェースを行う。
Reference numeral 6 denotes a lower interface circuit, which interfaces with the optical disk device.

7はデータ転送バッファであり、ボスI・計算機から光
ディスク装置、またはその逆方向の転送データを一時保
持する。
A data transfer buffer 7 temporarily holds data transferred from the boss I/computer to the optical disk device or vice versa.

8は上位インタフェース制御回路であり、上位インタフ
ェース回路を制御する。
8 is a higher-level interface control circuit, which controls the higher-level interface circuit.

9ば下位インタフェース制御回路であり、下位インタフ
ェース回路を制御する。
9 is a lower-order interface control circuit, which controls the lower-order interface circuit.

10はエラー訂正処理回路であり、誤り検出訂正コート
によりデータのエラーを検出し訂正可能なエラーを訂正
する。
10 is an error correction processing circuit which detects data errors using an error detection and correction coat and corrects correctable errors.

光ディスク制御装置1は、図示してない光ディスク装置
に光ディスク媒体が七ソ1へされて、レディ状態になっ
たとき、光ディスク装置にリードコマンドを送り、光デ
ィスク媒体−にの一次欠陥リス1〜、二次欠陥リストお
よび制御領域内の第三の欠陥リストを読み出して、それ
ぞれ対応する欠陥リスト格納メモリ61.、62.63
に格納する。
When an optical disk medium is transferred to an optical disk device (not shown) and becomes ready, the optical disk control device 1 sends a read command to the optical disk device and checks the primary defect lists 1 to 2 of the optical disk device. The next defect list and the third defect list in the control area are read out from the corresponding defect list storage memory 61. , 62.63
Store in.

本実施例における第三の欠陥リストは、第3図に示すよ
うに10個分の不良/交代ブロックのアドレスが格納で
きる。
The third defect list in this embodiment can store addresses of 10 defective/replacement blocks as shown in FIG.

いま、第三の欠陥リストの状態が、第31m(a)に示
すようになっているものとする。即ち、不良ブロックア
ドレスD1〜D8と交代ブへックアドレスA1−八〇が
、8個までを格納されている。未使用のところには、a
ll“′00″′のデータが入っている。
It is now assumed that the state of the third defect list is as shown in No. 31m(a). That is, up to eight defective block addresses D1-D8 and replacement block addresses A1-80 are stored. For unused areas, a
Contains data of ll"'00"'.

いま、ライトコマンドが発行されて、アドレスD9に書
き込んだデータを書込み後読み出して結果、エラー訂正
処理回路10で訂正不能なエラーを生じていて、交代ブ
ロック△9を割り当てたとする。そのときに、第三の欠
陥リストは、第3図(b)に示すような状態となる。第
三の欠陥リストば、欠陥リスト格納メモリ63で書き換
えられた時点て、光ディスク媒体−にの第三の欠陥リス
j・も書き換えられる。
Now, assume that a write command is issued, and as a result of writing and reading the data written to address D9, an error that cannot be corrected by the error correction processing circuit 10 occurs, and a replacement block Δ9 is allocated. At that time, the third defect list is in a state as shown in FIG. 3(b). When the third defect list is rewritten in the defect list storage memory 63, the third defect list j. on the optical disk medium is also rewritten.

その後、ライトコマンドを実行中に、次の不良ブロック
D1.Oが検出されて、交代ブロックAIOを割り当て
たときは、第三の欠陥リストは、第3図FC)に示すよ
うな状態となる。
After that, while executing the write command, the next bad block D1. When AIO is detected and a replacement block AIO is allocated, the third defect list becomes as shown in FIG. 3 (FC).

上記の状態となった時点で、光ディスク制御装置1は、
二次欠陥リストのデータと第三の欠陥リストのデータと
のマージを行う。その結果は、第4図に示すような状態
となる。即ら、第三の欠陥リストは第4図(a)に示す
ように全てクリアされ、一次欠陥リストは第4図(b)
に示すように、第三の欠陥リス1〜の不良ブロックアド
レスD1〜DIO1交代ブロックアドレスA1〜AIO
が二次欠陥リストの几のデータと統合され、アドレスの
小さい順に並べられる。光ディスク制御装置の欠陥リス
ト格納領域62 、63−にで作成された第4図に示す
状態の第三の欠陥リストおよび二次欠陥リスj・にょっ
て、光ディスク媒体上のそれぞれのリストも書き換えら
れる。
When the above state is reached, the optical disc control device 1:
The data of the secondary defect list and the data of the third defect list are merged. The result is a state as shown in FIG. That is, the third defect list is completely cleared as shown in FIG. 4(a), and the primary defect list is cleared as shown in FIG. 4(b).
As shown in , the defective block addresses D1 to DIO1 of the third defective list 1 to
is integrated with the data in the secondary defect list and arranged in ascending order of address. According to the third defect list and secondary defect list shown in FIG. 4 created in the defect list storage areas 62 and 63 of the optical disk control device, each list on the optical disk medium is also rewritten. .

〔発明の効果1 以−Lの説明から明らかなように本発明によれば、不良
ブロック発生のたびにソートを行って二次欠陥リストを
書き換えるごとなく、ソーI・の回数を大幅に削減して
コマンド処理時間を短縮するという著しい工業的効果が
ある。
[Effect 1 of the Invention As is clear from the explanations given below, according to the present invention, the number of saw Is can be significantly reduced without having to sort and rewrite the secondary defect list every time a defective block occurs. This has a significant industrial effect of reducing command processing time.

【図面の簡単な説明】 第1図は本発明の構成と原理を示す図、第2図は本発明
の一実施例における光ディスク制御装置の構成を示す図
、 第3図および第4図は本発明の一実施例における欠陥リ
ストの状態を示す図、 第5図はマツプ方式における4媒体十のデータ格納領域
構成を示す図、 第6図は−・次欠陥リストの構成を示す図、第7図は二
次欠陥リストの構成を示す図である。 図において、 1は光ディスク制御装置、 2はM P [J、3ば制
御記憶、 4 、41.、42.43は欠陥リスト格納領域、5は
上位インタフェース回路、 6は下位インタフェース回路、 7はデータ転送ハンファ、 8は上位インタフェース制イ卸回路、 9は下位インタフ、エース制御回路、 10ばエラー訂正処理回路、11は一次欠陥リスト、1
2は二次欠陥リスト、  13は第三の欠陥リスト、を
示ず。 痔 区 雁
[BRIEF DESCRIPTION OF THE DRAWINGS] Fig. 1 is a diagram showing the configuration and principle of the present invention, Fig. 2 is a diagram showing the configuration of an optical disc control device in an embodiment of the present invention, and Figs. FIG. 5 is a diagram showing the data storage area configuration of four media in the map method; FIG. 6 is a diagram showing the configuration of the next defect list; FIG. The figure shows the structure of the secondary defect list. In the figure, 1 is an optical disk control device, 2 is M P [J, 3 is a control memory, 4, 41 . , 42.43 is the defect list storage area, 5 is the upper interface circuit, 6 is the lower interface circuit, 7 is the data transfer circuit, 8 is the upper interface control circuit, 9 is the lower interface, Ace control circuit, and 10 is the error correction circuit. processing circuit, 11 is a primary defect list, 1
No. 2 shows the secondary defect list, and No. 13 shows the third defect list. Hemorrhoids Kugan

Claims (1)

【特許請求の範囲】 ユーザ出荷前に検出した不良ブロックのアドレスを書き
込んだ一次欠陥リスト(11)と、ユーザに出荷後発生
した不良ブロックのアドレスと該不良ブロックに代わり
データを書き込んだ交代ブロックのアドレスを対として
書き込んだ二次欠陥リスト(12)を光ディスク媒体上
に備えて管理する光ディスクの交代処理において、 前記一次欠陥リスト(11)および二次欠陥リスト(1
2)に加えて、二次欠陥リスト(12)と同一のデータ
構造を持ちこれより充分小さなデータ数を持つ第三の欠
陥リスト(13)を備えると共に、光ディスク制御装置
(1)に、前記一次欠陥リスト(11)および二次欠陥
リスト(12)を読み込み格納する領域(41)、(4
2)に加えて第三の欠陥リスト(13)を読み込み格納
する領域(43)を備え、新たに不良ブロックが発生し
たとき、前記第三の欠陥リスト(13)に空きがある場
合には該第三の欠陥リスト(13)のみを更新し、第三
の欠陥リスト(13)がオーバフローした場合には、前
記二次欠陥リスト(12)に第三の欠陥リスト(13)
のデータを移し、二次欠陥リスト(12)の元のデータ
と該移されたデータとを併せてソートして、新たな二次
欠陥リスト(13)を作成し、第三の欠陥リスト(13
)をクリアするように構成したことを特徴とする交代ブ
ロック処理方式。
[Claims] A primary defect list (11) in which addresses of defective blocks detected before shipment to the user are written, addresses of defective blocks that have occurred after shipment to the user, and replacement blocks in which data is written in place of the defective blocks. In an optical disk replacement process in which a secondary defect list (12) in which addresses are written as pairs is provided on the optical disk medium and managed, the primary defect list (11) and the secondary defect list (12) are managed.
In addition to 2), a third defect list (13) having the same data structure as the secondary defect list (12) and a sufficiently smaller number of data is provided, and the optical disk control device (1) Areas (41) and (4) for reading and storing the defect list (11) and secondary defect list (12).
In addition to 2), an area (43) for reading and storing a third defect list (13) is provided, and when a new defective block occurs, if there is space in the third defect list (13), the area (43) is provided to read and store a third defect list (13). If only the third defect list (13) is updated and the third defect list (13) overflows, the third defect list (13) is added to the secondary defect list (12).
The original data of the secondary defect list (12) and the transferred data are sorted together to create a new secondary defect list (13), and a third defect list (13) is created.
).
JP10087489A 1989-04-20 1989-04-20 Alternative block processing system Pending JPH02278572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10087489A JPH02278572A (en) 1989-04-20 1989-04-20 Alternative block processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10087489A JPH02278572A (en) 1989-04-20 1989-04-20 Alternative block processing system

Publications (1)

Publication Number Publication Date
JPH02278572A true JPH02278572A (en) 1990-11-14

Family

ID=14285468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10087489A Pending JPH02278572A (en) 1989-04-20 1989-04-20 Alternative block processing system

Country Status (1)

Country Link
JP (1) JPH02278572A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001006511A1 (en) * 1999-07-16 2001-01-25 Koninklijke Philips Electronics N.V. Recording medium with write protected defect list
JP2003514330A (en) * 1999-11-10 2003-04-15 トムソン ライセンシング ソシエテ アノニム Method for tracking defective sectors on rewritable disk media
US6701465B1 (en) 1999-07-06 2004-03-02 Fujitsu Limited Method and apparatus for management of defect information in a disk system
JP2007164929A (en) * 2005-12-16 2007-06-28 Fujitsu Ltd Storage medium management device, program, and method
JP2007164928A (en) * 2005-12-16 2007-06-28 Fujitsu Ltd Storage medium management device, program, and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6701465B1 (en) 1999-07-06 2004-03-02 Fujitsu Limited Method and apparatus for management of defect information in a disk system
WO2001006511A1 (en) * 1999-07-16 2001-01-25 Koninklijke Philips Electronics N.V. Recording medium with write protected defect list
CN1319065C (en) * 1999-07-16 2007-05-30 皇家菲利浦电子有限公司 Recording medium with write protected defect list
JP2003514330A (en) * 1999-11-10 2003-04-15 トムソン ライセンシング ソシエテ アノニム Method for tracking defective sectors on rewritable disk media
JP2007164929A (en) * 2005-12-16 2007-06-28 Fujitsu Ltd Storage medium management device, program, and method
JP2007164928A (en) * 2005-12-16 2007-06-28 Fujitsu Ltd Storage medium management device, program, and method

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
US7961569B2 (en) Information recording device capable of high speed physical reformatting and recording
EP0645031B1 (en) Method and apparatus for writing files on nonerasable storage medium
JPH0318208B2 (en)
US6363457B1 (en) Method and system for non-disruptive addition and deletion of logical devices
JPH02281474A (en) Auto changer device for storage medium
JPH10301721A (en) Method for processing defective sector of information storage medium, and information storing and reproducing device
WO1999039347A1 (en) Automatic replacing method in reading and magnetic disc drive using the method
JPH02278572A (en) Alternative block processing system
US6854038B2 (en) Global status journaling in NVS
JP3437502B2 (en) Dynamic defect management method for rewritable optical disk
JPH04245072A (en) Disk device with data management information area on medium
JP2000047832A (en) Disk array device and its data control method
JPH0235663A (en) Alternate processing system for magneto-optical disk device
JPH04311218A (en) External storage controller
JPH02197938A (en) Restoring system for draw type optical disk directory
JPH0541037A (en) Digital data recording and reproducing device
JPS6013360A (en) Storage device
JPH02282977A (en) Alternate block processing system
KR0150144B1 (en) Automatic control method of disk recording error
JPS5928247A (en) Optical disk processor
JPH0191375A (en) Magnetic disk controller
JPH02165354A (en) Auxiliary storage device
JPH04157670A (en) Magnetic disk drive
JPH04311217A (en) External storage controller