JPH04172661A - Managing method for defect of memory medium - Google Patents

Managing method for defect of memory medium

Info

Publication number
JPH04172661A
JPH04172661A JP30083190A JP30083190A JPH04172661A JP H04172661 A JPH04172661 A JP H04172661A JP 30083190 A JP30083190 A JP 30083190A JP 30083190 A JP30083190 A JP 30083190A JP H04172661 A JPH04172661 A JP H04172661A
Authority
JP
Japan
Prior art keywords
logical address
sectors
sector
address
logical
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
JP30083190A
Other languages
Japanese (ja)
Inventor
Atsushi Niino
新納 篤
Keiji Ueki
植木 圭二
Motoyasu Ono
元康 大野
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 System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP30083190A priority Critical patent/JPH04172661A/en
Publication of JPH04172661A publication Critical patent/JPH04172661A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily convert to a physical address by obtaining an accumulating number corresponding to a logical address smaller than and nearest to the logical address to be converted by referring to a special table, and adding the logical address to be converted to the number to obtain the physical address. CONSTITUTION:A table in which an accumulating number of defective sectors detected at the time of initializing up to a logical address is corresponded to the logical address of next sector of the detector detected at the time of initializing, is formed. Conversion from the logical address to a physical address is conducted by referring to the table, the number corresponding to the logical address smaller than the logical address to be converted and nearest to the logical address is obtained, and the value obtained by adding the physical address to be converted to the number is set as the physical address. Thus, the logical address can be easily converted to the physical address.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、記憶媒体に欠陥が生じた場合の論理アドレス
を物理アドレスに変換する記憶媒体欠陥管理方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a storage medium defect management method for converting a logical address into a physical address when a defect occurs in a storage medium.

従来の技術 光ディスクなどの記憶媒体の記憶領域は、上位システム
のユーザーが使用するユーザー領域と、光デイスク出荷
の不良セクタである初期不良セクタ以外で不良になった
セクタを交替するためのスペア領域、およびその交替し
た情報を管理する管理領域からなる。この不良セクタを
管理する欠陥管理(ディフェクト・マネジメント)には
セクタ・スリッピング・ディフェクト・マネジメント(
Sector  s!ipping  Defect 
 Management   以下SDMと称す)とリ
ニア・リプレースメント・ディフェクト・マネジメント
(Linear replacement Defec
t Management  以下LDMと称す)とが
ある。
Conventional technology The storage area of a storage medium such as an optical disk consists of a user area used by the user of the host system, a spare area for replacing bad sectors other than initial bad sectors that are bad sectors shipped from optical disks, and a management area for managing the replaced information. Sector slipping defect management (defect management) is used to manage these bad sectors.
Sectors! ipping Defect
management (hereinafter referred to as SDM) and linear replacement defect management (hereinafter referred to as SDM) and linear replacement defect management (hereinafter referred to as SDM).
t Management (hereinafter referred to as LDM).

SDMは、光ディスクをユーザーが最初に使用する前に
、不良セクタを取り除く方法で、光ディスクで物理的に
管理されているトランク番号とセクタ番号に、サーティ
フィケーション(Certification:光ディ
スクの全体を消去、書き込み、ベリファイまたは、他の
手段によって、初期不良セクタを検出し、不良セクタを
補完する動作)による不良セクタとスペア領域を除いて
、上位システムからアクセスするための論理番号を割り
当てることを行う。
SDM is a method that removes bad sectors before a user uses an optical disc for the first time, and it erases and writes certification to the trunk number and sector number that are physically managed on the optical disc. , verify or other means to detect an initial defective sector, and remove the defective sector and spare area (operation to complement the defective sector), and assign a logical number for access from the host system.

LDMは、SDMされている光ディスクに対して、その
後に不良セクタが生した場合に、不良セクタを取り除く
方法である。
LDM is a method for removing bad sectors when they subsequently occur on an optical disk that has been subjected to SDM.

このようなディフェクト・マネジメントの例を第14図
、第15図を用いて説明する。
An example of such defect management will be explained using FIGS. 14 and 15.

第14図、第15図は現在I SO(国際標準化機#l
I)で検討中のフルR,AM(消去して何回も書き込め
る)光ディスクのディフェクト・マ不ジメントのアルゴ
リズムを示す。第14図はSDMされた状態を示す。
Figures 14 and 15 are currently ISO (International Standardization Organization #1)
In this paper, we present an algorithm for defect management of full R, AM (erasable and rewriteable) optical disks, which is under consideration in Section I). FIG. 14 shows the SDMed state.

第14図において、物理的なトラック番号とセクタ番号
で示される領域の中にある数値は論理番号を示す。例え
ば、物理的にトラック番号2.セクタ番号1の位置は、
論理番号で25として示される。
In FIG. 14, the numerical values in the areas indicated by physical track numbers and sector numbers indicate logical numbers. For example, physically track number 2. The position of sector number 1 is
Shown as 25 in logical number.

トラック番号2.セクタ番号2が不良セクタ(×で表示
している)とするとこのセクタには論理番号を割り当て
ずに、次のトラック番号2.セクタ番号3に論理番号2
6を割り当てる。゛第15図はLDMのされた状態を示
す。第15図において、SDMの後に不良になったトラ
ック番号5、セクタ番号7のR1がスペア領域内のトラ
ンク番号8.セクタ番号Oに論理番号65を付けて格納
される。従って、論理番号65で上位システムからアク
セスされた場合は、実際には、トラック番号8.セクタ
番号0をアクセスすることになる。
Track number 2. If sector number 2 is a bad sector (indicated by an x), no logical number is assigned to this sector and the next track number 2. Logical number 2 in sector number 3
Assign 6.゛Figure 15 shows the state of LDM. In FIG. 15, R1 of track number 5 and sector number 7, which became defective after SDM, is located in the spare area with trunk number 8. It is stored with the logical number 65 attached to the sector number O. Therefore, when accessed from the higher level system with logical number 65, track number 8. Sector number 0 will be accessed.

次にトラック番号7.セクタ番号7のR2の不良セクタ
をスペア領域に割り当てる時、スペア領域のトランク番
号8.セクタ番号lが不良セクタなので、このセクタは
使用せず、次のトラック番号8、セクタ番号2に論理番
号89を割り当てる。
Next, track number 7. When allocating the bad sector of R2 with sector number 7 to the spare area, trunk number 8 of the spare area. Since sector number l is a bad sector, this sector is not used, and logical number 89 is assigned to the next track number 8 and sector number 2.

このような欠陥管理をjテうに当たり、論理番号(論理
アドレス)を物理番号(物理アドレス)に変換しなけれ
ばならない。このため、従来はSDMを行う場合は、第
16図に示すディフェクトエリアテーブルを用い、LD
Mを行う場合は第17図にリプレースメントテーブルを
用い論理アドレスより物理アドレスへの変換を行ってい
た。
In order to carry out such defect management, it is necessary to convert a logical number (logical address) into a physical number (physical address). For this reason, conventionally when performing SDM, the defect area table shown in FIG.
When performing M, the replacement table shown in FIG. 17 is used to convert a logical address to a physical address.

第16図は初期化時欠陥された欠陥セクタの物理アドレ
スを昇順に並べた表であり、第17図は初期化時欠陥さ
れた欠陥セクタの物理アドレスと、この欠陥セクタが代
替されたスペア領域代替セクタの物理アドレスとを昇順
に並べた表である。この2つの表を用いて論理アドレス
を物理アドレスに変換するには、まず論理アドレスが与
えられるとディフェクトエリアテーブルを1番目より比
較して、その論理アドレスまでに何個のディフェクトが
存在するかを検索し、その値を論理アドレスに加えて物
理アドレスを求める。また同時にその物理アドレスが交
替(リプレースメントされているか否かも考慮してリプ
レースメントテーブルも検索する。
FIG. 16 is a table in which the physical addresses of defective sectors that were found to be defective at initialization are arranged in ascending order, and FIG. 17 is a table that shows the physical addresses of defective sectors that were found to be defective at initialization and the spare area in which this defective sector has been replaced. This is a table in which physical addresses of alternative sectors are arranged in ascending order. To convert a logical address to a physical address using these two tables, first, when a logical address is given, compare the defect area tables starting from the first one and calculate how many defects exist up to that logical address. Search and add that value to the logical address to find the physical address. At the same time, the replacement table is also searched, taking into account whether or not the physical address has been replaced.

発明が解決しようとする課題 このような変換方法を用いたリード・ライト動作におい
ては、スタート論理アドレスと転送ブロック数が与えら
れると、転送ブロック数の範囲において、上述の変換を
行う必要があった。さらにユーザーエリアがゾーンに分
割しである場合は、ゾーン毎のスペアエリア数やスペア
エリア内に存在するディフェクトも考慮しなければなら
ず、その変換手順が非常に複雑であった。
Problem to be Solved by the Invention In read/write operations using such a conversion method, when a start logical address and the number of transfer blocks are given, it is necessary to perform the above conversion within the range of the number of transfer blocks. . Furthermore, when the user area is divided into zones, the number of spare areas for each zone and defects existing within the spare areas must also be taken into consideration, making the conversion procedure extremely complicated.

本発明は、上述の問題点に鑑みてなされたもので、論理
アドレスを物理アドレスに容易に変換する記憶媒体欠陥
管理方法を提供することを目的とする。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a storage medium defect management method that easily converts a logical address into a physical address.

課題を解決するための手段 上記目的を達成するため、本発明の記憶媒体欠陥管理方
法は、データを記憶するセクタからなるデータ領域とこ
のデータ領域の後に初期化後のこのデータ領域に発生し
た欠陥セクタの交替セクタを設けた予I領域とで1つの
ゾーンを形成し、このゾーンを1つ以上類に配置して記
憶領域を構成し、これらの全セクタに昇順に物理アドレ
スを付番し、論理アドレスを初期欠陥セクタと予備領域
を飛ばして昇順に付番してゆく記憶媒体欠陥管理方法で
あって、初期化時欠陥されたセクタの次のセクタの論理
アドレスにその論理アドレスまでの初期化時欠陥された
欠陥セクタの累積数を対応させた一覧表を作成し、論理
アドレスより物理アドレスへの変換を前記一覧表を参照
して、変換する論理アドレスより小さく最も近い論理ア
ドレスに対応する前記累積数を求め、この累積数に変換
する論理アドレスを加えた値を物理アドレスとするもの
である。また、前記予備領域のセクタに、初期化時欠陥
が検出されたときは、前記累積数にはその欠陥セクタの
数も含めるようにしたものである。
Means for Solving the Problems In order to achieve the above object, the storage medium defect management method of the present invention includes a data area consisting of sectors for storing data, and defects occurring in this data area after initialization after this data area. One zone is formed with a reserved I area provided with a sector replacement sector, this zone is arranged in one or more classes to form a storage area, and physical addresses are numbered in ascending order to all these sectors, A storage medium defect management method in which logical addresses are numbered in ascending order, skipping initial defective sectors and spare areas, and the logical address of the sector next to the defective sector at initialization is initialized up to that logical address. When converting a logical address to a physical address, create a list that corresponds to the cumulative number of defective sectors, and refer to the list to convert a logical address to a physical address. The cumulative number is calculated, and the value obtained by adding the logical address to be converted to the cumulative number is used as the physical address. Further, when a defect is detected in a sector of the spare area at the time of initialization, the cumulative number includes the number of the defective sector.

作用 上記構成により、前記一覧表を参照して、変換する論理
アドレスより小さく最も近い論理アドレスに対応する前
記累積数を求め、この累積数に変 、換する論理アドレ
スを加えれば物理アドレスが得られるので、物理アドレ
スへの変換が容易にできる。また、予備領域のセクタに
初期化的欠陥が検出されたときは、前記累積数にその欠
陥セクタの数も含めるようにすると、その欠陥セクタの
数と欠陥セクタを生じないとして予定してセクタの数と
の和に予1領域のセクタ数を設定しても、この予備領域
以降の物理アドレスへの変換が予備領域に欠陥セクタが
生しなかったときと同し方法で行うことができる。これ
により、この予m領域は欠陥セクタが生じないとして予
定したセクタ数の全てを交替セクタとして使用すること
ができる。
Effect: With the above configuration, the physical address can be obtained by referring to the table to find the cumulative number corresponding to the logical address smaller and closest to the logical address to be converted, and adding the logical address to be converted to this cumulative number. Therefore, it can be easily converted to a physical address. Furthermore, when an initialization defect is detected in a sector of the spare area, the number of defective sectors can be included in the cumulative number. Even if the number of sectors in the spare area is set to the sum of the numbers, the conversion to physical addresses after this spare area can be performed in the same way as when no defective sectors occur in the spare area. As a result, all of the planned number of sectors in this pre-m area can be used as replacement sectors assuming that no defective sectors will occur.

実施例 以下、本発明の実施例を図面を参照して説明する。Example Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の実施例で用いるディフェクト管理テ
ーブルの構成を示す、このディフェクト管理テーブルは
、L B A (Logical Block Add
ress:論理アドレス)テーブル、論理/物理変換テ
ーブル、リプレースメントテーブルからなり、これら3
つを合わせてディフェクト管理ブロックといい、このブ
ロックを論理アドレス(LBA)の昇順に並べたもので
ある。
FIG. 1 shows the configuration of a defect management table used in an embodiment of the present invention. This defect management table consists of LBA (Logical Block Add
ress: logical address) table, logical/physical conversion table, and replacement table.
Together, these blocks are called a defect management block, and these blocks are arranged in ascending order of logical addresses (LBA).

この表でLBAテーブルは、スリッピングしたセクタの
次のセクタまたは、リプレースメントしているセクタを
論理アドレスで表す。
In this table, the LBA table represents the next sector of the slipped sector or the sector being replaced by a logical address.

論理/物理変換テーブルは、上記論理アドレスまでに何
個のディフェクトエリアがあるかを表すものである。
The logical/physical conversion table represents how many defect areas are present up to the above logical address.

リプレースメントテーブルは、上記論理アドレスがスリ
ッピングしたセクタかリプレースメントしたセクタかを
区別するためのものであり、リプレースメントした場合
は、代替え先の物理アドレスが入る。
The replacement table is for distinguishing whether the above-mentioned logical address is a slipped sector or a replaced sector, and in the case of replacement, the replacement physical address is entered.

第2図はゾーン分割テーブルを示す。本図は、ユーザー
エリアをゾーンに分割したときのゾーン数N、ゾーン毎
のユーザーエリア数02ゾーンごとのスペアエリア数m
がセットされる。
FIG. 2 shows a zoning table. This diagram shows the number of zones N when the user area is divided into zones, the number of user areas per zone 02 the number of spare areas per zone m
is set.

第3図はゾーンポインタテーブルを示す。FIG. 3 shows the zone pointer table.

このテーブルには、ゾーン分割したときのゾーンの先頭
に対応するディフェクト管理テーブルのブロックt、及
び最終登録ブロック距をセントする。
In this table, the block t of the defect management table corresponding to the head of the zone when the zone is divided and the last registered block distance are stored.

第4図はスペアエリアの使用状況を表すスペアエリアテ
ーブルを示す、ここでは、1番目のゾーンのスペアエリ
アの使用状況(使用済、使用可能、ディフェクト)をバ
イト単位で表す。
FIG. 4 shows a spare area table representing the usage status of the spare area. Here, the usage status (used, usable, defective) of the spare area of the first zone is expressed in bytes.

第5図は上記スペアエリアテーブルのf番目のゾーンの
スペアエリアの先頭を指すスペアエリアポインターテー
ブルを表す。
FIG. 5 shows a spare area pointer table pointing to the beginning of the spare area of the fth zone of the spare area table.

次に具体例として上記テーブルを用いたディフェクト管
理について第6図を用いて説明する。
Next, as a specific example, defect management using the above table will be explained using FIG. 6.

ゾーン分割数2.ゾーン毎のユーザーエリア数100、
ゾーン毎のスペアエリア数10とする。また第6図に示
すようにゾーン0に2ケ所のスワンピングエリア(論理
アドレス14と32の前のセクタ)と、2ケ所のリプレ
ースメントエリア(論理アドレス50と74)と、ゾー
ンOのスペアエリアに2ケ所のスリッピングエリアが存
在しているとする。この状況を第1図のディフェクト管
理テーブルに表すと、第7図のようになる。(ただし、
スリッピング時のリプレースメント値はFFFFFFと
する。)第6図中、ます口内の数字は論理アドレス、カ
ッコ内の数字は物理アドレス、×は不良セクタ、R1,
R2はリプレースメントされたセクタを示す、ゾーンO
のスペアエリアには論理アドレス50のR1と論理アド
レス74のR4の代替セクタがセットされている。また
このスペアエリアには図示するように2個の×で示すス
リンピングエリアが存在している。このスペアエリアの
セクタ数は10個であるが、このうち2個が欠陥セクタ
であるため残り8個しか代替セクタとして使用できない
Number of zone divisions 2. 100 user areas per zone,
The number of spare areas for each zone is 10. In addition, as shown in Figure 6, there are two swamping areas in zone 0 (sectors before logical addresses 14 and 32), two replacement areas (logical addresses 50 and 74), and a spare area in zone O. Assume that there are two slipping areas. If this situation is represented in the defect management table of FIG. 1, it will be as shown in FIG. 7. (however,
The replacement value at the time of slipping is FFFFFF. ) In Figure 6, the numbers in squares are logical addresses, the numbers in parentheses are physical addresses, × is bad sectors, R1,
R2 indicates the replaced sector, zone O
Alternative sectors for R1 at logical address 50 and R4 at logical address 74 are set in the spare area. Furthermore, as shown in the figure, there is a slipping area indicated by two x's in this spare area. The number of sectors in this spare area is 10, but since two of them are defective sectors, only eight remaining sectors can be used as alternative sectors.

このためセクタ数を12個とし、有効に使用できる代替
セクタを欠陥セクタが発生しないときと同じ数の10個
にする。これにより、第7図に示すようにブロック番号
5の論理アドレス100の論理/物理変換アドレスの値
は14となる。これは論理アドレス99までにある×の
数が2、スペアエリアの代替セクタの数が10.スペア
エリアの×の数が2で合計14となっている。
Therefore, the number of sectors is set to 12, and the number of alternative sectors that can be effectively used is set to 10, which is the same number as when no defective sector occurs. As a result, the value of the logical/physical conversion address of the logical address 100 of block number 5 becomes 14, as shown in FIG. This means that the number of x's up to logical address 99 is 2, and the number of alternative sectors in the spare area is 10. The number of ×'s in the spare area is 2, making a total of 14.

第8図はゾーンポインタテーブルを示し、ゾーンOの先
頭のブロックNo、(00)、ゾーン1の先頭のブロッ
クIt(05)、最終登録ブロック郡(05)がセット
される。
FIG. 8 shows a zone pointer table, in which the first block number of zone O (00), the first block It of zone 1 (05), and the last registered block group (05) are set.

第9図はスペアエリアポインタテーブルを示し、スペア
エリアテーブルの先頭からのオフセット値がセットされ
る。ソ゛−ンOのオフセント値は0バイトであり、ゾー
ンlのオフセット値は12ハイドである。これはゾーン
Oのスペアエリアが欠陥セクタを2個含むため、12個
のセクタをとったためである。
FIG. 9 shows a spare area pointer table, in which an offset value from the beginning of the spare area table is set. The offset value of zone O is 0 bytes, and the offset value of zone I is 12 bytes. This is because the spare area of zone O includes two defective sectors, so 12 sectors were taken.

第10図はスペアエリアテーブルを示す。ゾーンOのス
ペアエリアは第6図のスペアエリアの状態を表している
FIG. 10 shows the spare area table. The spare area in zone O represents the state of the spare area in FIG.

次に上述の表を用いて論理アドレスから物理アドレスへ
の変換手順を説明する。
Next, the procedure for converting a logical address to a physical address will be explained using the above table.

第11図はその変換手順のフローである。論理アドレス
として、40が指定されたとすると(ステップ1)、そ
の論理アドレスはゾーンOに含まれる(ステップ2)。
FIG. 11 is a flowchart of the conversion procedure. Assuming that 40 is specified as the logical address (step 1), that logical address is included in zone O (step 2).

次にゾーンポインタテーブルからディフェクト管理ブロ
ックOと5を求める(ステップ3)、ブロック0〜5内
のLBAテーブル値と論理アドレス(40)を比較して
、40より小さく最も近いブロック階2を求める(ステ
ップ4゜5)、このとき、ブロック阻2の論理/物理変
換テーブル値2を求め(ステップ7)、論理アドレス(
40)にプラスすることにより、物理アドレス−40+
 2−42が求まる (ステップ9.10)、また、指
定された論理アドレスがリプレースメントされたものな
ら、(ステップ6)、リプレースメントテーブルよりそ
の物理アドレスが求まる(ステップ8)。
Next, find defect management blocks O and 5 from the zone pointer table (step 3), compare the LBA table values in blocks 0 to 5 with the logical address (40), and find the nearest block floor 2 smaller than 40 (step 3). At this time, the logical/physical conversion table value 2 of block block 2 is calculated (step 7), and the logical address (
40), the physical address -40+
2-42 is determined (step 9.10), and if the specified logical address has been replaced (step 6), its physical address is determined from the replacement table (step 8).

このようにディフェクト管理テーブルを使用することに
よって、容易に論理/物理変換が可能となる。
By using the defect management table in this way, logical/physical conversion becomes possible easily.

次にリード動作手順について第12図のリード動作フロ
ー図を用いて説明する。
Next, the read operation procedure will be explained using the read operation flow diagram of FIG. 12.

リードスタート論理ブロックアドレスと転送ブロックが
指定されると、スタート論理アドレスを物理アドレスに
変換する(ステップ11)。そこからの転送ブロック中
にスワンピングエリアが含まれている時(ステップ12
)、ディフェクト管理テーブルから、スリッピングエリ
アまでの連続してリードできるセクタ数をセットする(
ステップ13)。また、それに続きスリッピング(ディ
フェクト)が何個連続しているかをセットする(ステッ
プ14)。この情報をもとに、物理アドレスリードを行
う(ステップ18)、つまりステップ13で設定された
セクタ分リードしたのち、ステップ14で設定されたセ
クタ分リード動作をとばす。リード終了かをチエツクし
て(ステップ19)、終了していなければスタート論理
アドレスと転送ブロックを更新して、上記動作を繰り返
す、また、同様にリプレースメントエリアが存在する場
合(ステップ15)、リプレースメントエリアまでの連
続してリードできるセクタ数をセットして(ステップ1
6)、また、ディフェクト管理テーブルから、リプレー
スペアエリアの代替物理アドレスをセットして(ステッ
プ17)、上記動作を繰り返す。
When the read start logical block address and transfer block are specified, the start logical address is converted into a physical address (step 11). When a swamping area is included in the transfer block from there (step 12
), set the number of sectors that can be read continuously up to the slipping area from the defect management table (
Step 13). Furthermore, the number of consecutive slippings (defects) is set (step 14). Based on this information, a physical address read is performed (step 18), that is, after reading for the sectors set in step 13, the read operation for the sectors set in step 14 is skipped. Check whether the read is finished (step 19), and if it is not finished, update the start logical address and transfer block and repeat the above operation. Similarly, if a replacement area exists (step 15), read the replacement area. Set the number of sectors that can be read continuously up to (Step 1)
6) Also, set an alternative physical address for the replace spare area from the defect management table (step 17), and repeat the above operations.

上記手順によりスリンピングエリアとリプレースメント
が混在する場合においても、容易にリード動作が行える
By the above procedure, the read operation can be easily performed even when a slipping area and a replacement area coexist.

次にライト動作手順を第13図のライト動作フロー図を
用いで説明する。
Next, the write operation procedure will be explained using the write operation flow diagram of FIG.

ライト動作もリード動作手順とほぼ同様であるので異な
る点を説明する。ステップ28にてライトへリファイ失
敗時に代替セクタの検索を行う(ステップ29)。これ
は、ライトを失敗したセクタのゾーン数に対応するスペ
アエリアポインタ値を用いて、スペアエリアテーブルか
らのオフセント値を求め、スペアエリアテーブルの何番
目に使用可能なセクタがあるかを検索する。
Since the write operation is almost the same as the read operation procedure, the different points will be explained. In step 28, an alternative sector is searched for when refining to write fails (step 29). This uses the spare area pointer value corresponding to the number of zones of the sector in which writing failed to obtain the offset value from the spare area table, and searches for the position of the usable sector in the spare area table.

例として、ゾーンOにおいて、ライトベリファイに失敗
して、代替セクタを検索するとき、第9図において、ゾ
ーンOに対応するスペアエリアポインタ値は、00であ
り、第10図のスペアエリアテーブルからのオフセント
値は0となる。
For example, when write verification fails in zone O and a replacement sector is searched, the spare area pointer value corresponding to zone O in FIG. 9 is 00, and The offset value will be 0.

そこから順に検索すると、3個目に00の使用可能エリ
アがあることがわかる。よって、代替物理アドレスは、
ゾーン0のスペアエリアの先頭の物理アドレス102と
この3個目(0,1,2と数えて2)の2とから102
+ 2 =104となる。また、スペアエリアにスリッ
ピングエリアが存在しても、同様の手順で容易に検索、
変換できる。
If you search in order from there, you will find that the third usable area is 00. Therefore, the alternative physical address is
102 from the first physical address 102 of the spare area in zone 0 and this third address (counting 2 as 0, 1, 2) 2
+ 2 = 104. In addition, even if there is a slipping area in the spare area, you can easily search for it using the same procedure.
Can be converted.

発明の効果 以上の説明から明らかなように、本発明は、ディフェク
ト管理テーブルを用いることにより欠陥セクタのある場
合でも論理アドレスから物理アドレスへの変換を容易に
行うことができる。
Effects of the Invention As is clear from the above description, the present invention can easily convert a logical address to a physical address even when there is a defective sector by using a defect management table.

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

第1図は本発明の実施例に用いるディフェクト↓ 管理図のフォーマット、第2図はゾーン分割チー4゜ プルのフォーマット、第3図はゾーンポインタテ鉄 一ブルのフォーマント、第4図はスペーエリアテ↓ 一プルのフォーマント、第5図はスペアエリアポインタ
テーブルのフォーマツ虎第6可よゾーンエリアおよびス
ペースエリアにアドレスを配置した具体例を示す図、第
7図はディフェクト管理テーブルに具体例を記入した図
、第8図はゾーンポインタテーブルに具体例を記入した
図、第9図はスペアエリアポインタテーブルに具体例を
記入した図、第1O図はスペアエリアテーブルに具体例
を記入した図、第11図は論理アドレスを物理アドレス
に変換するフロー図、第12図はリード動作フロー図、
第13図はライト動作フロー図、第14図、第15図は
欠陥セクタを処理する説明図、第16図は従来のディフ
ェクトエリアテーブル説明図、第17図は従来のリプレ
ースメントエリアテーブル説明図である。 代理人の氏名 弁理士 小鍜治 明 ほか2名第1図 ティフェクト 第2図 第6図 第4図 第5図 第6図 第7図 !@8図 第10図 第9図       7’−yQ 7’−7、第11 
図 第12図 第13図 第14図 セクタ方向 □ ×は不艮セクタを示す。 ユーザー領域の0−177は論理番号を示す。 第15図 セクタ方向 Xは不艮セクタを示す。 ユーザー領域の0−177は論理番号を示す。 R1,R2は交代処理を示す。 第16図 第17図
Figure 1 shows the format of the defect↓ control chart used in the embodiment of the present invention, Figure 2 shows the format of the zone division team 4°, Figure 3 shows the format of the zone pointer iron bull, and Figure 4 shows the space area format. ↓ Figure 5 is a diagram showing a concrete example of arranging addresses in the spare area pointer table's 6th zone area and space area, Figure 7 is a diagram showing a concrete example in the defect management table. Figure 8 is a diagram with concrete examples written in the zone pointer table, Figure 9 is a diagram with concrete examples written in the spare area pointer table, Figure 1O is a diagram with concrete examples written in the spare area table, and Figure 8 is a diagram with concrete examples written in the spare area pointer table. Figure 11 is a flow diagram of converting a logical address to a physical address, Figure 12 is a flow diagram of a read operation,
Fig. 13 is a write operation flow diagram, Figs. 14 and 15 are explanatory diagrams for processing defective sectors, Fig. 16 is an explanatory diagram of a conventional defect area table, and Fig. 17 is an explanatory diagram of a conventional replacement area table. . Name of agent: Patent attorney Akira Okaji and two others Figure 1 Tiffect Figure 2 Figure 6 Figure 4 Figure 5 Figure 6 Figure 7! @8 Figure 10 Figure 9 7'-yQ 7'-7, 11th
Figure 12 Figure 13 Figure 14 Sector direction □ × indicates a sector that is not printed. 0-177 in the user area indicates a logical number. Sector direction X in FIG. 15 indicates a non-printing sector. 0-177 in the user area indicates a logical number. R1 and R2 indicate replacement processing. Figure 16 Figure 17

Claims (2)

【特許請求の範囲】[Claims] (1)データを記憶するセクタからなるデータ領域とこ
のデータ領域の後に初期化後のこのデータ領域に発生し
た欠陥セクタの交替セクタを設けた予備領域とで1つの
ゾーンを形成し、このゾーンを1つ以上順に配置して記
憶領域を構成し、これらの全セクタに昇順に物理アドレ
スを付番し、論理アドレスを初期欠陥セクタと予備領域
を飛ばして昇順に付番してゆく記憶媒体欠陥管理方法で
あって、初期化時検出されたセクタの次のセクタの論理
アドレスにその論理アドレスまでの初期化時検出された
欠陥セクタの累積数を対応させた一覧表を作成し、論理
アドレスより物理アドレスへの変換を前記一覧表を参照
して、変換する論理アドレスより小さく最も近い論理ア
ドレスに対応する前記累積数を求め、この累積数に変換
する論理アドレスを加えた値を物理アドレスとする記憶
媒体欠陥管理方法。
(1) One zone is formed by a data area consisting of sectors that store data and a spare area that is provided with replacement sectors for defective sectors that occur in this data area after initialization after this data area. Storage media defect management that configures a storage area by arranging one or more sectors in order, assigns physical addresses to all of these sectors in ascending order, and assigns logical addresses in ascending order, skipping initial defective sectors and spare areas. In this method, a list is created in which the logical address of the sector next to the sector detected during initialization corresponds to the cumulative number of defective sectors detected during initialization up to that logical address, and the physical For conversion to an address, refer to the table above to find the cumulative number corresponding to the logical address smaller and closest to the logical address to be converted, and store the value obtained by adding the logical address to be converted to this cumulative number as a physical address. Media defect management method.
(2)前記予備領域のセクタに初期化時欠陥が検出され
たときは、前記累積数にはその欠陥セクタの数も含める
ようにしたことを特徴とする請求項1記載の記憶媒体欠
陥管理方法。
(2) The storage medium defect management method according to claim 1, wherein when a defect is detected in a sector of the spare area at the time of initialization, the cumulative number also includes the number of the defective sector. .
JP30083190A 1990-11-05 1990-11-05 Managing method for defect of memory medium Pending JPH04172661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30083190A JPH04172661A (en) 1990-11-05 1990-11-05 Managing method for defect of memory medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30083190A JPH04172661A (en) 1990-11-05 1990-11-05 Managing method for defect of memory medium

Publications (1)

Publication Number Publication Date
JPH04172661A true JPH04172661A (en) 1992-06-19

Family

ID=17889636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30083190A Pending JPH04172661A (en) 1990-11-05 1990-11-05 Managing method for defect of memory medium

Country Status (1)

Country Link
JP (1) JPH04172661A (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
US6377524B1 (en) Recording medium for storing defect management information for recording real time data, defect managing method therefor, and real time data recording method
US6519215B1 (en) Method and device for searching the first available good spare block of an optical recording medium
RU2321080C2 (en) One-time recording disk, method for distribution of data area of one-time recordable disk and method for reproducing data from such a disk
US7020056B2 (en) Method for managing spare blocks of an optical disc
RU2300814C2 (en) Method and device for controlling disk defects with usage of temporary defect information and temporary defect control information and disk having temporary defect information and temporary defect control information
JP3206657B2 (en) Replacement processing method and information recording / reproducing device
KR100459162B1 (en) Optical recording medium and method for formatting of the same
RU2328039C2 (en) Cd-r, its data area distribution method, device and data reproduction method from cd-r
US7961569B2 (en) Information recording device capable of high speed physical reformatting and recording
CN101071611B (en) Information recording /reproducing apparatus and recording/reproducing method
WO1996033492A1 (en) Method and device for managing defect of information recording medium and information recording medium
RU2343567C2 (en) Data carrier, write/read device and method
CN1957416B (en) Recorder, host device, drive device, recording method, reproducing device and reproducing method
JPH05217298A (en) Method for managing defect of storage medium
JPH04172662A (en) Managing method for defect of memory medium
JPH04172661A (en) Managing method for defect of memory medium
US20070101211A1 (en) Defect management method and disk drive using the same
JPH04238163A (en) Information recording and reproducing device
KR100609858B1 (en) Optical recording medium and method for processing the data
JPH01317278A (en) Memory control method for optical disk
JP2001222866A (en) Reallotting method of logic address, data storage system and recording medium
JPH07287641A (en) Method for controlling optical magnetic disk device