JP3530231B2 - Replacement processing method in information storage device - Google Patents

Replacement processing method in information storage device

Info

Publication number
JP3530231B2
JP3530231B2 JP18495794A JP18495794A JP3530231B2 JP 3530231 B2 JP3530231 B2 JP 3530231B2 JP 18495794 A JP18495794 A JP 18495794A JP 18495794 A JP18495794 A JP 18495794A JP 3530231 B2 JP3530231 B2 JP 3530231B2
Authority
JP
Japan
Prior art keywords
replacement
area
sector
spare
sectors
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.)
Expired - Fee Related
Application number
JP18495794A
Other languages
Japanese (ja)
Other versions
JPH0850766A (en
Inventor
一郎 守友
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP18495794A priority Critical patent/JP3530231B2/en
Publication of JPH0850766A publication Critical patent/JPH0850766A/en
Application granted granted Critical
Publication of JP3530231B2 publication Critical patent/JP3530231B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、光磁気ディスク装置
又はハードディスク装置等の情報記憶装置における記憶
媒体の交替処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage medium replacement processing method in an information storage device such as a magneto-optical disk device or a hard disk device.

【0002】[0002]

【従来の技術】ユーザがデータを書き込む複数のセクタ
からなるユーザ領域と、そのユーザ領域の欠陥セクタに
対する複数の交替処理用の交替セクタからなる交替領域
とを有するグループを複数備えた光磁気ディスクやハー
ドディスク等の記憶媒体に対して、データの書き込みを
行ない、その記憶媒体に記憶されたデータを読み出す光
磁気ディスクやハードディスク装置等の情報記憶装置が
ある。このような情報記憶装置では、記憶媒体のユーザ
領域にデータを書き込めない欠陥セクタが発生したと
き、交替領域の空いている交替セクタにデータを書き込
む交替処理を施すようにしている。
2. Description of the Related Art A magneto-optical disk having a plurality of groups each having a user area composed of a plurality of sectors to which data is written by a user and a replacement area composed of a plurality of replacement sectors for replacement processing of defective sectors in the user area, There is an information storage device such as a magneto-optical disk or a hard disk device that writes data to a storage medium such as a hard disk and reads the data stored in the storage medium. In such an information storage device, when a defective sector in which data cannot be written occurs in the user area of the storage medium, a replacement process of writing data in a spare sector in the spare area is performed.

【0003】従来の欠陥セクタに対する交替処理方法
は、欠陥セクタが属するユーザ領域の後方に設けられた
そのユーザ領域に対応する交替領域の先頭から空いてい
る交替セクタを探し出し、その空いている交替セクタに
データを書き込んでいた(例えば、特開平2−3566
3号公報参照)。
In the conventional replacement processing method for a defective sector, a free replacement sector is searched from the beginning of the replacement area corresponding to the user area provided behind the user area to which the defective sector belongs, and the empty replacement sector is searched. Data was written in (for example, Japanese Patent Laid-Open No. 2-3566).
(See Japanese Patent Publication No. 3).

【0004】図29は、その従来の交替処理を示すフロ
ーチャートである。ステップ(図中の「S」)61で、
ユーザ領域に欠陥セクタが発生したら、ステップ62へ
進んでその欠陥セクタが属するグループの交替領域、つ
まり、その欠陥セクタが発生したユーザ領域に対応する
交替領域の最初の交替セクタから後方に向かって順次空
いている交替セクタを検索し、ステップ63へ進んで空
いている交替セクタが有れば、ステップ66へ進んでそ
の空いている交替セクタに交替処理を施す。
FIG. 29 is a flow chart showing the conventional replacement process. In step (“S” in the figure) 61,
When a defective sector is generated in the user area, the process proceeds to step 62 and the rear area is sequentially backward from the replacement area of the group to which the defective sector belongs, that is, the first replacement sector of the replacement area corresponding to the user area in which the defective sector has occurred. The vacant replacement sector is searched, and if there is a vacant replacement sector in step 63, the process proceeds to step 66 to perform the replacement process on the vacant replacement sector.

【0005】しかし、ステップ63の判断で空いている
交替セクタがなければ、ステップ64へ進んでさらに後
方のグループの交替領域の最初の交替セクタから後方に
向かって順次空いている交替セクタを検索し、ステップ
65へ進んで空いている交替セクタがなければ、再びス
テップ64へ戻ってさらに後方のグループの交替領域を
検索し、空いている交替領域があれば、ステップ66へ
進んでその空いている交替セクタに交替処理を施し、こ
の処理を終了する。
However, if it is determined in step 63 that there are no spare replacement sectors, the process proceeds to step 64, in which the spare sectors are sequentially searched backward from the first spare sector in the spare area of the rear group. If there is no vacant replacement sector in step 65, the process returns to step 64 again to search for a replacement region in a group further behind, and if there is a vacant replacement region, the process proceeds to step 66 and becomes vacant. The replacement process is performed on the replacement sector, and this process ends.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
たような情報記憶装置における交替処理方法では、ユー
ザ領域の先頭寄りに欠陥セクタが発生した場合、その欠
陥セクタからやや離れた交替領域の空いている交替セク
タを探して、その空いている交替セクタに交替処理を施
すことになるので、交替セクタにアクセスするシーク時
間が長くなるという問題があった。
However, in the replacement processing method in the above-described information storage device, when a defective sector occurs near the beginning of the user area, the replacement area slightly distant from the defective sector is vacant. Since the replacement sector is searched for and the replacement process is performed on the vacant replacement sector, there is a problem that the seek time for accessing the replacement sector becomes long.

【0007】また、欠陥セクタが属するユーザ領域に対
応する交替領域の全交替セクタが使用済みの場合、仮に
そのユーザ領域と交替領域とのグループの1つ前のグル
ープの交替領域に交替処理を施すようにすると、その交
替領域の先頭から空いている交替セクタを探して、その
空いている交替セクタに交替処理を施すことになるの
で、欠陥セクタから離れた交替セクタから使用すること
になり、その交替セクタに対応する論理アドレスを含め
た連続する論理アドレス群にアクセスするとき、交替セ
クタにアクセスするシーク時間が長くなるという問題が
あった。
If all the replacement sectors in the replacement area corresponding to the user area to which the defective sector belongs have been used, the replacement processing is performed on the replacement area of the group immediately preceding the group of the user area and the replacement area. By doing so, a vacant replacement sector is searched from the beginning of the replacement area, and replacement processing is performed on the vacant replacement sector, so the replacement sector is used from a replacement sector distant from the defective sector. There has been a problem that the seek time for accessing the replacement sector becomes long when accessing a group of consecutive logical addresses including the logical address corresponding to the replacement sector.

【0008】さらに、欠陥セクタが発生したユーザ領域
に対応する交替領域の全交替セクタが使用済みであり、
さらに、そのユーザ領域と交替領域のグループの直前及
び直後のグループの交替領域の全交替セクタも使用済み
であった場合、次にどの交替領域を使用すればよいのか
が決められていないと、欠陥セクタから離れた交替領域
の交替セクタを使用してしまうこともあり、そのような
場合には交替セクタにアクセスするシーク時間が長くな
るという問題があった。
Further, all the replacement sectors in the replacement area corresponding to the user area in which the defective sector has occurred have been used,
Furthermore, if all the replacement sectors of the replacement areas of the groups immediately before and after the group of the user area and the replacement area have also been used, it is not possible to determine which replacement area should be used next. In some cases, the replacement sector in the replacement area distant from the sector is used, and in such a case, there is a problem that the seek time for accessing the replacement sector becomes long.

【0009】また、あるユーザ領域の前半部に欠陥セク
タが集中し、そのユーザ領域の直前のグループの交替領
域の全交替セクタを使用してしまい、さらに一つ前のグ
ループの交替領域の全交替セクタが既に使用済みであっ
た場合、欠陥セクタが発生したユーザ領域の直前のグル
ープのユーザ領域で欠陥セクタが発生したとき、そのユ
ーザ領域の前後を問わず2つ目の離れた交替領域を使用
することになり、交替セクタにアクセスするシーク時間
が長くなるという問題があった。
Further, defective sectors are concentrated in the first half of a certain user area, and all the replacement sectors of the replacement area of the group immediately before that user area are used, and all the replacement areas of the immediately preceding group are replaced. When a sector has already been used, when a defective sector occurs in the user area of the group immediately before the user area where the defective sector occurs, the second spare area is used regardless of before or after the user area. Therefore, there is a problem that the seek time for accessing the replacement sector becomes long.

【0010】さらに、交替領域の空いている交替セクタ
を探し出すとき、常に交替領域の先頭から空いている交
替セクタを探すようにすると、欠陥セクタの発生位置に
よっては欠陥セクタに近い交替セクタが空いているにも
かかわらず、より遠くの離れた位置の交替領域に交替処
理を施してしまうことがあり、交替セクタにアクセスす
るシーク時間が長くなるという問題があった。
Furthermore, when searching for a free replacement sector in the replacement area, if a free replacement sector is always searched from the beginning of the replacement area, a replacement sector close to the defective sector may be empty depending on the position where the defective sector occurs. However, there is a problem that the replacement process may be performed on the replacement area at a farther distant position, and the seek time for accessing the replacement sector becomes longer.

【0011】この発明は上記の点に鑑みてなされたもの
であり、欠陥セクタの交替セクタにアクセスする時間を
短縮できるようにすることを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to shorten the time for accessing a replacement sector of a defective sector.

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【課題を解決するための手段】この発明は上記の目的を
達成するため、ユーザがデータを書き込む複数のセクタ
からなるユーザ領域と、そのユーザ領域の欠陥セクタに
対する複数の交替処理用の交替セクタからなる交替領域
とを有するグループを複数備えた記憶媒体に対して、デ
ータの書き込みを行なう書込手段と、上記記憶媒体に記
憶されたデータを読み出す読出手段と、上記ユーザ領域
に前記書込手段によってデータを書き込めない欠陥セク
タが発生したとき、上記交替領域の空いている交替セク
タにデータを書き込む交替処理を施す交替処理手段を備
えた 情報記憶装置における交替処理方法であって、上記
各交替領域を交替セクタ数がそれぞれ1/2になるよう
に前半領域と後半領域に分割し、発生した欠陥セクタの
直前の交替領域の後半領域と直後の交替領域の前半領域
のうち近い方の領域の空いている交替セクタから遠い方
の領域の空いている交替セクタの順番で交替処理を施
し、そのいずれの領域にも空いている交替セクタがなか
ったときには、前記直前の交替領域の前半領域と直後の
交替領域の後半領域のうち近い方の領域の空いている交
替セクタから遠い方の領域の空いている交替セクタの順
番で交替処理を施し、そのいずれにも空いている交替セ
クタがなかったとき、さらに前方の交替領域の後半領域
と後方の交替領域の前方領域のうち近い方の領域の空い
ている交替セクタから遠い方の領域の空いている交替セ
クタの順番で交替処理を施し、そのいずれの領域にも空
いている交替セクタがなかったときには、上記前方の交
替領域の前半領域と後方の交替領域の後半領域のうち近
い方の領域の空いている交替セクタから遠い方の領域の
空いている交替セクタの順番で交替処理を施す交替処理
方法提供する。
The present invention has the above objects.
Multiple sectors to which users write data to achieve
The user area consisting of
Replacement area consisting of multiple replacement sectors for replacement processing
For a storage medium provided with a plurality of groups having
Writing means for writing data into the storage medium.
Reading means for reading the stored data, and the user area
A defective section in which data cannot be written by the writing means.
When an error occurs, the free replacement section in the above replacement area
Equipped with alternation processing means for performing alternation processing to write data to the data
A replacement processing method definitive the example was the information storage device, the second half of the spare area of the immediately preceding respective spare area number replacement sector is divided into regions first half and the second half area so that each becomes 1/2, the generated defective sector farther from the replacement sector which is vacant area and the area of the first half area sac Chi the near towards the replacement area immediately after
When the replacement processing is performed in the order of the vacant replacement sectors in the area, and there is no vacant replacement sector in any of the areas, the first half area of the immediately preceding replacement area and the second half area of the immediately following replacement area are covered. order of replacement sector which is vacant farther area from the replacement sector that are vacant area towards the near Chi
The replacement process is performed on the
When there was no Kuta, the second half of the replacement area further ahead
The empty space in the closer area of the front area and the rear area of the rear area
Available replacement sector in an area farther from the replacement sector
The replacement process is performed in the order of
When there is no replacement sector in use,
The first half of the spare area and the second half of the rear spare area, which are near
In the area farther from the spare sector in the other area
Provided is a replacement processing method for performing replacement processing in the order of vacant replacement sectors .

【0016】[0016]

【0017】また、上述の各交替処理方法において、発
生した欠陥セクタの前方の交替領域ではその交替領域の
最後の交替セクタから前方に向かって順次空いている交
替セクタを探し、後方の交替領域ではその交替領域の最
初の交替セクタから後方に向かって順次空いている交替
セクタを探すようにするとよい。
[0017] In each replacement processing method described above, in front of the spare area of the generated defective sectors looking for replacement sector vacant sequentially forward from the end of the replacement sector of the replacement area, behind the spare area It is advisable to search for spare sectors sequentially vacant from the first spare sector in the spare area toward the rear.

【0018】[0018]

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】[0024]

【実施例】以下、この発明の実施例を図面に基づいて具
体的に説明する。図2はこの発明の実施例及び参考技術
となる情報記憶装置の構成を示すブロック図である。こ
の情報記憶装置1は、ユーザが各種のデータを記憶する
光磁気ディスク等の記憶媒体2と、その記憶媒体2の記
録面にデータを書き込んだり、その記録面に記憶されて
いるデータを読み込んだりするリード/ライト制御部3
と、この情報記憶装置装置1全体の制御を司り、この発
明にかかわる交替処理等を行なうマイクロコンピュータ
であるCPU4を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 2 shows an embodiment of the present invention and a reference technique.
FIG. 3 is a block diagram showing the configuration of an information storage device that becomes This information storage device 1 allows a user to write data on a storage medium 2 such as a magneto-optical disk for storing various data and a recording surface of the storage medium 2, or to read data stored on the recording surface. Read / write control unit 3
And a CPU 4 which is a microcomputer that controls the entire information storage device 1 and performs a replacement process and the like according to the present invention.

【0025】さらに、そのCPU4が各種の処理を行な
うための各種のプログラムを記憶したプログラムROM
5と、CPU4が各種の処理を行なうときに使用する記
憶エリアであるRAM6と、パーソナルコンピュータ等
の上位装置とのデータの遣り取りを行なうインタフェー
ス(I/F)7を備えている。
Further, a program ROM storing various programs for the CPU 4 to perform various processes.
5, a RAM 6 which is a storage area used when the CPU 4 performs various processes, and an interface (I / F) 7 for exchanging data with a host device such as a personal computer.

【0026】したがって、上記リード/ライト制御部3
は、記憶媒体2にデータを書き込む書込手段と記憶され
たデータを読み出す読出手段の機能を果たす。また、上
記CPU4は、記憶媒体2のユーザ領域にデータを書き
込めない欠陥セクタが発生したとき、その欠陥セクタに
最も近い交替領域の空いている交替セクタにデータを書
き込む交替処理を施す交替処理手段の機能を果たす。
Therefore, the read / write controller 3
Serves as a writing unit that writes data to the storage medium 2 and a reading unit that reads the stored data. Further, the CPU 4 is a replacement processing unit that, when a defective sector in which data cannot be written occurs in the user area of the storage medium 2, performs replacement processing for writing data in an empty replacement sector in the replacement area closest to the defective sector. Perform a function.

【0027】次に、この情報記憶装置における交替処理
について説明する。図1は、この情報記憶装置1におけ
る交替処理を示すフローチャートである。この処理は、
ステップ(図中「S」で示す)1で記憶媒体のユーザ領
域で欠陥セクタが発生したとき、ステップ2へ進んでそ
の欠陥セクタに最も近い交替領域の交替セクタを検索し
てステップ3へ進む。ステップ3では、ステップ2で検
索した交替セクタが空いているか否かを判断して、空い
ていなければステップ2へ戻り、空いていればステップ
4へ進んでその空いている交替セクタに交替処理を施し
て、この処理を終了する。
Next, the replacement process in this information storage device will be described. FIG. 1 is a flowchart showing a replacement process in the information storage device 1. This process
When a defective sector occurs in the user area of the storage medium in step 1 (indicated by "S" in the figure), the process proceeds to step 2 and the replacement sector in the replacement region closest to the defective sector is searched for, and the process proceeds to step 3. In step 3, it is judged whether or not the spare sector searched in step 2 is free. If it is not free, the process returns to step 2, and if it is free, the process proceeds to step 4 to perform the spare processing on the free spare sector. Then, the process is finished.

【0028】つまり、この処理では、ユーザ領域で欠陥
セクタが発生したとき、その欠陥セクタに最も近い交替
領域の各交替セクタのなかから空いている交替セクタを
探し出し、その空いている交替セクタにデータを書き込
む交替処理を施す。
In other words, in this processing, when a defective sector occurs in the user area, a vacant replacement sector is searched from among the respective replacement sectors in the replacement area closest to the defective sector, and data is written in the vacant replacement sector. Alternate processing to write

【0029】次に、上述した交替処理についてさらに詳
しく説明する。図3は、記憶媒体1の記録面のフォーマ
ットの一例を示す説明図である。図3の(a)に示すよ
うに、記憶媒体の記録面は、ユーザがデータを書き込む
複数のセクタからなるユーザ領域A〜Nと、その各ユー
ザ領域A〜Nの欠陥セクタに対する複数の交替処理用の
交替セクタからなる交替領域a〜nとを有するグループ
A〜Nを備えている。
Next, the above replacement process will be described in more detail. FIG. 3 is an explanatory diagram showing an example of the format of the recording surface of the storage medium 1. As shown in FIG. 3A, the recording surface of the storage medium has a user area A to N composed of a plurality of sectors in which a user writes data, and a plurality of replacement processes for defective sectors in each of the user areas A to N. Groups A to N having spare areas a to n made up of spare sectors for use.

【0030】また、図3の(b)に示すように、ユーザ
領域Aの交替領域aは、10個の交替セクタsa0〜s
a9からなる。ユーザ領域Bは40個のセクタb0〜b
39からなり、交替領域bは10個の交替セクタsb0
〜sb9からなる。ユーザ領域Cは40個のセクタc0
〜c39からなり、交替領域cは10個の交替セクタs
c0〜sc9からなる。ユーザ領域Dは40個のセクタ
d0〜d39からなり、交替領域dは10個の交替セク
タsd0〜sd9からなる。
Further, as shown in FIG. 3B, the replacement area a of the user area A has ten replacement sectors sa0 to sas.
It consists of a9. The user area B has 40 sectors b0 to b
The replacement area b is composed of 10 replacement sectors sb0.
~ Sb9. User area C has 40 sectors c0
~ C39, the replacement area c is composed of 10 replacement sectors s.
It consists of c0 to sc9. The user area D is composed of 40 sectors d0 to d39, and the spare area d is composed of 10 spare sectors sd0 to sd9.

【0031】次に、図4乃至図7によって、図1に示し
た交替処理を図3の交替領域に施す場合について説明す
る。なお、図4乃至図7の(b)では、それぞれ説明に
関係するセクタ記号のみを示すそれ以外は省略してい
る。図4の(b)に示すように、例えば、ユーザ領域C
のセクタc10に欠陥が発生したとき、図5の(b)に
示すように、このセクタc10に最も近い交替領域bの
空いている交替セクタを探して交替処理を施す。例え
ば、交替セクタsb0から後方に向かって順次空いてい
る交替セクタを探して交替処理を施す。
Next, a case where the replacement process shown in FIG. 1 is applied to the replacement area shown in FIG. 3 will be described with reference to FIGS. 4 to 7. In FIGS. 4 to 7B, only the sector symbols related to the description are omitted and others are omitted. As shown in FIG. 4B, for example, the user area C
When a defect occurs in the sector c10, the spare processing is performed by searching for a free spare sector in the spare area b closest to the sector c10, as shown in FIG. 5B. For example, replacement processing is performed by searching for replacement sectors that are sequentially open backward from the replacement sector sb0.

【0032】また、図6の(b)に示すように、ユーザ
領域Cのセクタc28に欠陥が発生したとき、図7の
(b)に示すように、このセクタc28に最も近い交替
領域cの空いている交替セクタを探して交替処理を施
す。例えば、交替セクタsc0から後方に向かって順次
空いている交替セクタを探して交替処理を施す。
As shown in FIG. 6B, when a defect occurs in the sector c28 of the user area C, as shown in FIG. 7B, the replacement area c closest to the sector c28 is detected. The vacant replacement sector is searched for and replacement processing is performed. For example, the spare sector is sequentially searched backward from the spare sector sc0, and spare processing is performed.

【0033】このようにして、この情報記憶装置の交替
処理では、ユーザ領域に欠陥セクタが発生したとき、そ
の欠陥セクタに最も近い交替領域の空いている交替領域
に交替処理を行なうので、その交替セクタにアクセスす
るときのシーク時間を短縮することができる。この情報
記憶装置における交替処理方法は、発生した欠陥セクタ
に最も近い交替領域の空いている交替セクタに交替処理
を施すので、欠陥セクタとその交替処理を行なった交替
セクタとのアクセス距離を最も短くすることができ、交
替セクタにアクセスするシーク時間を短くすることがで
きる。とくに、ユーザ領域のセクタ数が多くて先頭のセ
クタと末尾のセクタとの距離が離れているようなときに
より有効である。
In this way, in the replacement processing of this information storage device, when a defective sector occurs in the user area, the replacement processing is performed in the free replacement area closest to the defective sector. The seek time when accessing the sector can be shortened. This information
The replacement processing method in the storage device is
Processing is performed on an available replacement sector in the replacement area closest to
Replacement, the defective sector and its replacement processing are performed.
The access distance to the sector can be minimized,
It is possible to shorten the seek time to access the replacement sector.
Wear. Especially, since the number of sectors in the user area is large,
When the distance between the Kuta and the last sector is large
More effective.

【0034】次に、この発明の他の参考技術について説
明する。この参考技術の情報記憶装置ではCPUの機能
が上述の参考技術とは異なり、記憶媒体1のユーザ領域
にデータを書き込めない欠陥セクタが発生したとき、そ
の欠陥セクタに最も近い交替領域に対して、欠陥セクタ
の前方の交替領域ではその交替領域の最後の交替セクタ
から前方に向かって順次空いている交替セクタを探し、
後方の交替領域ではその交替領域の最初の交替セクタか
ら後方に向かって順次空いている交替セクタを探して、
その空いている交替セクタにデータを書き込む交替処理
を施す交替処理手段の機能を果たす。
Next, another reference technique of the present invention will be described. In the information storage device of this reference technology, the CPU function is different from that of the above-described reference technology, and when a defective sector in which data cannot be written occurs in the user area of the storage medium 1, for the replacement area closest to the defective sector, In the spare area in front of the defective sector, search for spare sectors sequentially vacant from the last spare sector in the spare area toward the front,
In the rear replacement area, search for replacement sectors sequentially vacant from the first replacement sector in the replacement area toward the rear,
It fulfills the function of a replacement processing means for carrying out a replacement process for writing data in the vacant replacement sector.

【0035】次に、図8のフローチャートによってその
交替処理について説明する。この処理は、ステップ(図
中「S」で示す)11で欠陥セクタが発生したとき、ス
テップ12へ進んで欠陥セクタに最も近い交替領域に対
して、その交替領域が欠陥セクタの前方ならばその交替
領域の最後の交替セクタから前方に向かって順次交替セ
クタを検索し、後方の交替領域ならばその交替領域の最
初の交替セクタから後方に向かって順次交替セクタを検
索してステップ13へ進む。
Next, the replacement process will be described with reference to the flowchart of FIG. In this process, when a defective sector is generated in step (indicated by "S" in the figure) 11, the process proceeds to step 12 and, for the replacement area closest to the defective sector, if the replacement area is in front of the defective sector, From the last replacement sector in the replacement area, the replacement sectors are sequentially searched forward, and if the replacement area is the rear replacement area, the replacement sectors are searched sequentially from the first replacement sector in the replacement area backward, and the process proceeds to step 13.

【0036】ステップ13では、その検索した交替セク
タが空いているか否かを判断して、空いていなければス
テップ12へ戻り、空いていればステップ14へ進んで
その空いている交替セクタに交替処理を施して、この処
理を終了する。
In step 13, it is judged whether or not the retrieved replacement sector is vacant. If it is not vacant, the process returns to step 12, and if it is vacant, the process proceeds to step 14 and the vacant replacement sector is replaced. Then, this process is finished.

【0037】つまり、この処理では、欠陥セクタが発生
したとき、その欠陥セクタに最も近い交替領域に対し
て、欠陥セクタの前方の交替領域ではその交替領域の最
後の交替セクタから前方に向かって順次空いている交替
セクタを探し、後方の交替領域ではその交替領域の最初
の交替セクタから後方に向かって順次空いている交替セ
クタを探して、その空いている交替セクタにデータを書
き込む交替処理を施す。
In other words, in this processing, when a defective sector occurs, in the replacement area in front of the defective sector with respect to the replacement area closest to the defective sector, sequentially from the last replacement sector in the replacement area to the front. Search for a vacant replacement sector, and in the rear replacement area, search for replacement sectors that are sequentially vacant from the first replacement sector in the replacement area toward the rear, and perform replacement processing to write data to the vacant replacement sector. .

【0038】次に、図4乃至図7によってさらにその交
替処理について詳しく説明する。例えば、図4の(b)
に示したように、ユーザ領域Cのセクタc10に欠陥が
発生したとき、図5の(b)に示したように、このセク
タc10に最も近い交替領域bの最後の交替セクタsb
9から前方に向かって順次空いている交替セクタを探し
て交替処理を施す。
Next, the replacement process will be described in more detail with reference to FIGS. For example, in FIG.
As shown in FIG. 5, when a defect occurs in the sector c10 of the user area C, as shown in FIG. 5B, the last replacement sector sb of the replacement area b closest to this sector c10.
The spare sector is sequentially searched for from 9 to the front, and spare processing is performed.

【0039】また、図6の(b)に示したように、ユー
ザ領域Cのセクタc28に欠陥が発生したとき、図7の
(b)に示したように、このセクタc28に最も近い交
替領域cの最初の交替セクタsc0から後方に向かって
順次空いている交替セクタを探して交替処理を施す。
As shown in FIG. 6B, when a defect occurs in the sector c28 of the user area C, as shown in FIG. 7B, the replacement area closest to this sector c28. Replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sc0 of c toward the rear.

【0040】このようにして、この情報記憶装置の交替
処理では、ユーザ領域に欠陥セクタが発生したとき、そ
の欠陥セクタに最も近い交替領域に対して、空いている
交替セクタを欠陥セクタに近い方の交替セクタから順に
調べるので、欠陥セクタに最も近い空いている交替セク
タを最初に探し出して交替処理を行なえる。この情報記
憶装置における交替処理方法は、発生した欠陥セクタに
最も近い交替領域の空いている交替セクタに交替処理を
施すので、欠陥セクタとその交替処理を行なった交替セ
クタとのアクセス距離を最も短くすることができ、交替
セクタにアクセスするシーク時間を短くすることができ
る。とくに、ユーザ領域のセクタ数が多くて先頭のセク
タと末尾のセクタとの距離が離れているようなときによ
り有効である。そして、発生した欠陥セクタの前方の交
替領域ではその交替領域の最後の交替セクタから前方に
向かって順次空いている交替セクタを探し、後方の交替
領域ではその交替領域の最初の交替セクタから後方に向
かって順次空いている交替セクタを探すようにすれば、
交替領域内でも欠陥セクタに最も近い交替セクタに交替
処理を行なうことができ、欠陥セクタとその交替処理を
行なった交替セクタとのアクセス距離を最も短くするこ
とができ、交替セクタにアクセスするシーク時間を短く
することができる。
In this way, in the replacement processing of this information storage device, when a defective sector occurs in the user area, the vacant replacement sector is closer to the defective sector than the replacement area closest to the defective sector. Since the replacement sectors are sequentially searched, the vacant replacement sector closest to the defective sector can be found first and the replacement process can be performed. This information note
The replacement processing method in the storage device is
Perform replacement processing on the free replacement sector in the closest replacement area.
Therefore, the defective sector and the replacement sector
The shortest access distance to Kuta
The seek time to access the sector can be shortened
It Especially, since the number of sectors in the user area is large,
This is especially useful when the distance between the
It is effective. Then, the intersection in front of the defective sector
In the spare area, start from the last spare sector in the spare area
Search for vacant replacement sectors sequentially, and replace them in the rear
In the area, the area from the first replacement sector of the replacement area is
If you try to find spare sectors that are vacant,
Replaces with the closest replacement sector even within the replacement area
Process and replace defective sectors and their replacement
The shortest access distance to the replacement sector
The seek time to access the replacement sector can be shortened.
can do.

【0041】次に、この発明のさらに他の参考技術につ
いて説明する。この参考技術の情報記憶装置ではCPU
の機能が上述の参考技術とは異なり、記憶媒体1のユー
ザ領域に発生した欠陥セクタが属するグループの交替領
域の全ての交替セクタが使用済みであったとき、欠陥セ
クタに最も近い他のグループの交替領域の空いている交
替セクタに交替処理を施し、その発生した欠陥セクタが
属するグループの直前及び直後のグループの交替領域の
全交替セクタも使用済みであったとき、欠陥セクタに対
してさらに前方又は後方のグループのなかから最も近い
グループの交替領域の空いている交替セクタに交替処理
を施す交替処理手段の機能を果たす。
Next, still another reference technique of the present invention will be described. In the information storage device of this reference technology , the CPU
The function of is different from the above-mentioned reference technology, and when all the replacement sectors of the replacement area of the group to which the defective sector generated in the user area of the storage medium 1 belongs are already used, When the spare sector in the spare area is subjected to the spare processing, and all spare sectors in the spare area of the group immediately before and after the group to which the defective sector belongs are also in use, the sector further ahead of the defective sector. Alternatively, it fulfills the function of a replacement processing means for carrying out a replacement process on an empty replacement sector in the replacement area of the group closest to the rear group.

【0042】次に、図9のフローチャートによってその
交替処理について説明する。この処理は、ステップ(図
中「S」で示す)21で記憶媒体1のユーザ領域で欠陥
セクタが発生したとき、ステップ22へ進んでその欠陥
セクタが属するグループの交替領域の空いている交替セ
クタを検索し、ステップ23へ進んで空いている交替セ
クタが有るか否かを判断して、空いている交替セクタが
有れば、ステップ28へ進む。
Next, the replacement process will be described with reference to the flowchart of FIG. In this processing, when a defective sector occurs in the user area of the storage medium 1 in step (indicated by "S" in the figure) 21, the process proceeds to step 22 and a spare sector in the spare area of the group to which the defective sector belongs is vacant. Is searched and it is determined in step 23 whether or not there is a free replacement sector. If there is a free replacement sector, the process proceeds to step 28.

【0043】ステップ23の判断で空いている交替セク
タがなければ、ステップ24へ進んで欠陥セクタの属す
るグループの直前及び直後のグループの内の欠陥セクタ
に近い方のグループの交替領域から空いている交替セク
タを検索し、ステップ25へ進んで空いている交替セク
タが有るか否かを判断して、空いている交替セクタが有
れば、ステップ28へ進む。
If it is determined in step 23 that there is no free replacement sector, the process proceeds to step 24, in which the replacement area of the group closer to the defective sector in the groups immediately before and immediately after the group to which the defective sector belongs is vacant. The spare sector is searched for, the process proceeds to step 25, it is judged whether or not there is a spare sector that is vacant, and if there is a spare sector that is vacant, the process proceeds to step 28.

【0044】ステップ25の判断で直前及び直後のグル
ープの交替領域で空いている交替セクタがなければ、ス
テップ26へ進んで欠陥セクタに対してさらに前方又は
後方のグループのなかから最も近いグループの交替領域
の空いている交替セクタを検索し、ステップ27へ進ん
で空いている交替セクタが有るか否かを判断して、空い
ている交替セクタが有れば、ステップ28へ進むが、空
いている交替セクタがなければステップ26へ戻って他
のグループの空いている交替セクタの検索を行なう。そ
して、ステップ28で空いている交替セクタに交替処理
を施して、この処理を終了する。
If it is determined in step 25 that there is no spare sector in the spare area of the groups immediately before and immediately after, the process proceeds to step 26 and the group closest to the defective sector is replaced with the group closest to the defective sector. The spare sector in the area is searched for, and the process proceeds to step 27, where it is judged whether or not there is a spare spare sector. If there is a spare spare sector, the process proceeds to step 28, but it is free. If there is no replacement sector, the process returns to step 26 to search for a free replacement sector in another group. Then, in step 28, the spare sector is subjected to the spare processing, and this processing is finished.

【0045】つまり、この処理では、欠陥セクタが発生
したとき、まず、その欠陥セクタが属するグループの交
替領域、つまり、その欠陥セクタが発生したユーザ領域
に対応する交替領域の空いている交替セクタを探し出
し、空いている交替セクタがあればその交替セクタに交
替処理を施す。
In other words, in this process, when a defective sector occurs, first, the spare area of the group to which the defective sector belongs, that is, the spare area in the spare area corresponding to the user area in which the defective sector has occurred, is vacant. If there is a spare sector that has been found and is free, the spare sector is replaced.

【0046】しかし、その交替領域の全交替セクタが使
用済みであって空いている交替セクタがなかった場合、
次に、その欠陥セクタの属するグループの直前及び直後
のグループの交替領域の空いている交替セクタを探し出
し、空いている交替セクタがあればその交替セクタに交
替処理を施す。
However, if all the replacement sectors in the replacement area have been used and there is no spare replacement sector,
Next, an empty spare sector in the spare area of the group immediately before and immediately after the group to which the defective sector belongs is searched for, and if there is a spare sector, the spare sector is replaced.

【0047】さらに、その直前及び直後のグループの各
交替領域の全交替セクタも使用済みであって空いている
交替セクタがなかった場合には、その欠陥セクタのさら
に前方又は後方のグループのなかから最も近いグループ
の交替領域の空いている交替セクタを探し出し、空いて
いる交替セクタがあればその交替セクタに交替処理を施
す。
Furthermore, if all the replacement sectors in each replacement area of the groups immediately before and immediately after that have been used and there is no spare replacement sector, the group before or after the defective sector is selected. A vacant replacement sector in the replacement area of the closest group is searched for, and if there is a vacant replacement sector, replacement processing is performed on the replacement sector.

【0048】次に、図4乃至図7と図10乃至図15に
よってさらにその交替処理について詳しく説明する。図
10乃至図15の(b)でも説明に関係するセクタ記号
のみを示すそれ以外は省略している。
Next, the replacement process will be further described in detail with reference to FIGS. 4 to 7 and FIGS. 10 to 15. Also in FIG. 10 to FIG. 15B, only the sector symbols related to the description are shown and the others are omitted.

【0049】例えば、図4の(b)に示したように、ユ
ーザ領域Cのセクタc10に欠陥が発生したとき、図1
0の(b)に示すように、セクタc10が属するグルー
プCの交替領域cの空いている交替セクタを探し出して
交替処理を施す。例えば、最初の交替セクタsc0から
後方に向かって順次空いている交替セクタを探して交替
処理を施す。
For example, as shown in FIG. 4B, when a defect occurs in the sector c10 of the user area C, as shown in FIG.
As shown in (b) of 0, a vacant replacement sector in the replacement area c of the group C to which the sector c10 belongs is searched for and replacement processing is performed. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sc0 toward the rear.

【0050】また、その交替領域cの各交替セクタsc
0〜sc9が全て使用済みであったときには、図5の
(b)に示すように、セクタc10の属するグループC
の直前のグループBの交替領域bの空いている交替セク
タを探して交替処理を施す。例えば、最初の交替セクタ
sb0から後方に向かって順次空いている交替セクタを
探して交替処理を施す。
Further, each replacement sector sc of the replacement area c
When all of 0 to sc9 have been used, as shown in FIG. 5B, the group C to which the sector c10 belongs
The spare area in the spare area b of the group B immediately before is searched for and the spare processing is performed. For example, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sb0 toward the rear.

【0051】さらに、その交替領域bの各交替セクタs
b0〜sb9も全て使用済みであったときには、図11
の(b)に示すように、その次に欠陥が発生したセクタ
c10の属するグループcに最も近いグループAの交替
領域aの空いている交替セクタを探して交替処理を施
す。例えば、最初の交替セクタsa0から後方に向かっ
て順次空いている交替セクタを探して交替処理を施す。
Further, each replacement sector s in the replacement area b
When all of b0 to sb9 are also used, as shown in FIG.
(B), the spare processing is performed by searching for a free spare sector in the spare area a of the group A closest to the group c to which the sector c10 in which the defect has occurred next. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sa0 toward the rear.

【0052】また、その交替領域aにも空いている交替
セクタがなかったとき、図12の(b)に示すように、
その次に欠陥が発生したセクタc10の属するグループ
cに最も近いグループDの交替領域dの空いている交替
セクタを探して交替処理を施す。例えば、最初の交替セ
クタsd0から後方に向かって順次空いている交替セク
タを探して交替処理を施す。
When there is no free replacement sector in the replacement area a, as shown in FIG.
Next, the spare processing is performed by searching for a free spare sector in the spare area d of the group D closest to the group c to which the defective sector c10 belongs. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sd0 toward the rear.

【0053】こうして、欠陥セクタが属するグループの
交替領域とその直前のグループの交替領域の交替セクタ
とが全て使用済みのときは、さらに前方又は後方のグル
ープのなかから最も近いグループの交替領域の空いてい
る交替セクタを探すので、欠陥セクタから最も近い交替
領域の空いている交替セクタに交替処理を行なえる。
Thus, when all the spare areas of the spare area of the group to which the defective sector belongs and the spare area of the spare area of the immediately preceding group have been used, the spare area of the group closest to the front or rear group is free. Since a replacement sector that is present is searched for, the replacement process can be performed on the empty replacement sector in the closest replacement area from the defective sector.

【0054】あるいは、図6の(b)に示したように、
ユーザ領域Cのセクタc28に欠陥が発生したとき、図
7の(b)に示したように、セクタc28が属するグル
ープCの交替領域cの空いている交替セクタを探し出し
て交替処理を施す。例えば、最初の交替セクタsc0か
ら後方に向かって順次空いている交替セクタを探して交
替処理を施す。
Alternatively, as shown in FIG. 6B,
When a defect occurs in the sector c28 of the user area C, as shown in FIG. 7B, an empty spare sector in the spare area c of the group C to which the sector c28 belongs is searched for and the spare processing is performed. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sc0 toward the rear.

【0055】また、その交替領域cの全交替セクタsc
0〜sc9が使用済みであったときには、図13の
(b)に示すように、セクタc28の属するグループC
の直前のグループBの交替領域bの空いている交替セク
タを探して交替処理を施す。例えば、最初の交替セクタ
sb0から後方に向かって順次空いている交替セクタを
探して交替処理を施す。
All replacement sectors sc in the replacement area c
When 0 to sc9 have been used, as shown in (b) of FIG. 13, the group C to which the sector c28 belongs
The spare area in the spare area b of the group B immediately before is searched for and the spare processing is performed. For example, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sb0 toward the rear.

【0056】さらに、その交替領域bの各交替セクタs
b0〜sb9も全て使用済みであったときには、図14
の(b)に示すように、その次に欠陥が発生したセクタ
c28の属するグループcに最も近いグループDの交替
領域dの空いている交替セクタを探して交替処理を施
す。例えば、最初の交替セクタsd0から後方に向かっ
て順次空いている交替セクタを探して交替処理を施す。
Further, each replacement sector s in the replacement area b
When all of b0 to sb9 are also used,
(B), the spare processing is performed by searching for a free spare sector in the spare area d of the group D closest to the group c to which the sector c28 in which the defect has occurred next. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sd0 toward the rear.

【0057】また、その交替領域dにも空いている交替
セクタがなかったとき、図15の(b)に示すように、
その次に欠陥が発生したセクタc28の属するグループ
cに最も近いグループAの交替領域aの空いている交替
セクタを探して交替処理を施す。例えば、最初の交替セ
クタsa0から後方に向かって順次空いている交替セク
タを探して交替処理を施す。
When there is no free replacement sector in the replacement area d, as shown in FIG.
Next, the spare processing is performed by searching for a free spare sector in the spare area a of the group A closest to the group c to which the defective sector c28 belongs. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sa0 toward the rear.

【0058】このようにして、欠陥が発生したセクタが
属するグループの交替領域cとその直後のグループの交
替領域の交替セクタが全て使用済みのときは、さらに前
方又は後方のグループのなかから最も近いグループの交
替領域の空いている交替セクタを探すので、欠陥が発生
したセクタから最も近い交替領域の空いている交替セク
タに交替処理を行なえる。この情報記憶装置における交
替処理方法は、発生した欠陥セクタが属するグループの
交替領域の全ての交替セクタが使用済みであったとき、
欠陥セクタに最も近い他のグループの交替領域の空いて
いる交替セクタに交替処理を施すようにすれば、欠陥セ
クタが属するグループの交替領域の全交替セクタが空い
ていないときでも、欠陥セクタとその交替処理を行なっ
た交替セクタとのアクセス距離を最も短くすることがで
き、交替セクタにアクセスするシーク時間を短くするこ
とができる。
In this way, when the replacement area c of the group to which the defective sector belongs and the replacement sector of the replacement area of the group immediately after that are all used, the closest replacement is made from the front or rear group. Since an empty spare sector in the spare area of the group is searched, the spare processing can be performed to the spare spare area in the spare area closest to the defective sector. Exchange in this information storage device
The replacement processing method is based on the group to which the defective sector
When all the replacement sectors in the replacement area have been used,
Open the spare area of the other group closest to the defective sector
If the replacement process is performed on existing replacement sectors, the defective
All spare sectors in the spare area of the group to which Kuta belongs are free.
Even if not, perform defective sector and its replacement processing
The shortest access distance to the replacement sector.
The seek time to access the replacement sector.
You can

【0059】次に、この発明のさらにまた他の参考技術
について説明する。この参考技術の情報記憶装置ではC
PUの機能が上述の参考技術とは異なり、記憶媒体1の
ユーザ領域に発生した欠陥セクタが属するグループの交
替領域の全ての交替セクタが使用済みであったとき、欠
陥セクタに最も近い他のグループの交替領域の空いてい
る交替セクタに交替処理を施し、その発生した欠陥セク
タが属するグループの直前及び直後のグループの交替領
域の全交替セクタも使用済みであったとき、欠陥セクタ
に対してさらに前方又は後方のグループのなかから最も
近いグループの交替領域の空いている交替セクタに交替
処理を施すが、その際、発生した欠陥セクタの前方の交
替領域では最後の交替セクタから前方に向かって順次交
替セクタを探し、後方の交替領域では最初の交替セクタ
から後方に向かって順次交替セクタを探す交替処理手段
の機能を果たす。
Next, still another reference technique of the present invention will be described. In the information storage device of this reference technology , C
The PU function is different from that of the above-described reference technology, and when all the replacement sectors of the replacement area of the group to which the defective sector generated in the user area of the storage medium 1 has been used, another group closest to the defective sector is used. When the spare sector in the spare area of is replaced, the spare sector in the spare area of the group immediately before and after the group to which the defective sector belongs has also been used. The replacement process is performed on the vacant replacement sector in the replacement region of the group closest to the front or rear group.At that time, in the replacement region in front of the defective sector that occurred, the replacement sector is sequentially processed from the last replacement sector to the front. It functions as a replacement processing unit that searches for a replacement sector, and sequentially searches for replacement sectors in the rear replacement area from the first replacement sector toward the rear.

【0060】次に、図16のフローチャートによってそ
の交替処理について説明する。この処理は、ステップ
(図中「S」で示す)31で記憶媒体1のユーザ領域で
欠陥セクタが発生したとき、ステップ32へ進んでその
欠陥セクタが属するグループの交替領域の最初の交替セ
クタから後方に向かって順次空いている交替セクタを検
索し、ステップ33へ進んで空いている交替セクタが有
るか否かを判断して、空いている交替セクタが有れば、
ステップ38へ進む。
Next, the replacement process will be described with reference to the flowchart of FIG. In this process, when a defective sector is generated in the user area of the storage medium 1 at step (indicated by "S" in the figure) 31, the process proceeds to step 32 and the first replacement sector in the replacement area of the group to which the defective sector belongs is started. When the spare sectors are vacant, a search is made sequentially for spare spare sectors toward the rear, and the process proceeds to step 33 to determine whether there is a spare spare sector.
Go to step 38.

【0061】ステップ33の判断で空いている交替セク
タがなければ、ステップ34へ進んで欠陥セクタの属す
るグループの直前及び直後のグループの内の欠陥セクタ
に最も近い方のグループの交替領域から、その際直後の
グループの交替領域は最初の交替セクタから前方に向か
って、直前のグループの交替領域は最後の交替セクタか
ら後方に向かって順次空いている交替セクタを検索し、
ステップ35へ進んで空いている交替セクタが有るか否
かを判断して、空いている交替セクタが有れば、ステッ
プ38へ進む。
If it is determined in step 33 that there is no spare replacement sector, the process proceeds to step 34, in which the replacement area of the group closest to the defective sector in the groups immediately before and immediately after the group to which the defective sector belongs is selected. Immediately after, the spare area of the group searches forward from the first spare sector, and the spare area of the group immediately before searches for spare sectors that are sequentially open backward from the last spare sector.
In step 35, it is judged whether or not there is a spare spare sector, and if there is a spare spare sector, the routine proceeds to step 38.

【0062】ステップ35の判断で空いている交替セク
タがなければ、ステップ36へ進んで欠陥セクタに対し
てさらに前方又は後方のグループのなかから最も近いグ
ループの交替領域の最初の交替セクタから前方に向かっ
て、又は最後の交替セクタから後方に向かって順次空い
ている交替セクタを検索し、ステップ37へ進んで空い
ている交替セクタが有るか否かを判断して、空いている
交替セクタがなければステップ36へ戻って他のグルー
プについて同様にして空いている交替セクタの検索を行
なう。一方、空いている交替セクタが有れば、ステップ
38へ進む。そして、ステップ38では空いている交替
セクタに交替処理を施して、この処理を終了する。
If it is determined in step 35 that there is no spare replacement sector, the process proceeds to step 36, where the first replacement sector in the replacement area of the group closest to the defective sector in front of the defective sector is moved forward. Toward the back, or sequentially from the last replacement sector toward the rear, the spare sectors are searched sequentially, and the process proceeds to step 37 to determine whether or not there is a free replacement sector. For example, the process returns to step 36, and a search for a vacant replacement sector is similarly performed for other groups. On the other hand, if there is a free replacement sector, the process proceeds to step 38. Then, in step 38, the spare processing is performed on the spare sectors that are vacant, and this processing ends.

【0063】この処理では、欠陥セクタが発生したと
き、まずその欠陥セクタが属するグループの交替領域内
の各交替セクタのなかから最も近い空いている交替セク
タを探し出し、空いている交替セクタがあればその交替
セクタに交替処理を施す。
In this processing, when a defective sector is generated, first, the nearest free spare sector is searched from among the respective spare sectors in the spare area of the group to which the defective sector belongs, and if there is a free spare sector. The replacement processing is performed on the replacement sector.

【0064】しかし、その交替領域の全交替セクタが使
用済みであって空いている交替セクタがなかった場合
は、次に、その欠陥セクタの属するグループの直前又は
直後のグループの内の最も近い交替領域内の各セクタの
なかから最も近い空いている交替セクタを探し出し、空
いている交替セクタがあればその交替セクタに交替処理
を施す。
However, if all the replacement sectors in the replacement area have been used and there is no spare replacement sector, then the nearest replacement in the group immediately before or after the group to which the defective sector belongs is next. The nearest vacant replacement sector is searched from each sector in the area, and if there is a vacant replacement sector, the replacement process is performed on the replacement sector.

【0065】さらに、その直前又は直後のグループの各
交替領域の全交替セクタも使用済みであって空いている
交替セクタがなかった場合、その欠陥セクタのさらに前
方又は後方のグループのなかから最も近いグループの交
替領域内の各交替セクタのなかから最も近い空いている
交替セクタを探し出し、空いている交替セクタがあれば
その交替セクタに交替処理を施す。
Further, when all the replacement sectors in each replacement area of the group immediately before or immediately after that have been used and there is no spare replacement sector, the closest one from the groups further ahead or behind the defective sector. The closest available spare sector is searched from among the respective spare sectors in the spare area of the group, and if there is a spare spare sector, the spare sector is replaced.

【0066】次に、図4乃至図7と図10乃至図15に
よってさらにその交替処理について詳しく説明する。図
10乃至図15の(b)でも説明に関係するセクタ記号
のみを示すそれ以外は省略している。
Next, the replacement process will be described in more detail with reference to FIGS. 4 to 7 and FIGS. 10 to 15. Also in FIG. 10 to FIG. 15B, only the sector symbols related to the description are shown and the others are omitted.

【0067】例えば、図4の(b)に示したように、ユ
ーザ領域Cのセクタc10に欠陥が発生したとき、図1
0の(b)に示したように、セクタc10が属するグル
ープCの交替領域cの最初の交替セクタsc0から後方
に向かって順次空いている交替セクタを探して交替処理
を施す。
For example, as shown in FIG. 4B, when a defect occurs in the sector c10 of the user area C,
As shown in (b) of 0, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sc0 in the replacement area c of the group C to which the sector c10 belongs.

【0068】また、その交替領域cの各交替セクタsc
0〜sc9が全て使用済みであったときには、図5の
(b)に示したように、セクタc10の属するグループ
Cの直前のグループBの交替領域bの最後の交替セクタ
sb9から前方に向かって順次空いている交替セクタを
探して交替処理を施す。
Further, each replacement sector sc of the replacement area c
When all 0 to sc9 have been used, as shown in (b) of FIG. 5, from the last replacement sector sb9 of the replacement area b of the group B immediately before the group C to which the sector c10 belongs, to the front. Replacement processing is performed by sequentially searching for vacant replacement sectors.

【0069】さらに、その交替領域bの各交替セクタs
b0〜sb9も全て使用済みであったときには、図11
の(b)に示したように、その次にセクタc10の属す
るグループcに最も近いグループAの交替領域aの最後
の交替セクタsa9から前方に向かって順次空いている
交替セクタを探して交替処理を施す。
Further, each replacement sector s in the replacement area b
When all of b0 to sb9 are also used, as shown in FIG.
(B), the replacement process is performed by searching for replacement sectors that are sequentially vacant from the last replacement sector sa9 in the replacement area a of the group A closest to the next group c to which the sector c10 belongs. Give.

【0070】さらにまた、その交替領域aにも空いてい
る交替セクタがなかったときには、図12の(b)に示
したように、その次にセクタc10の属するグループc
に最も近いグループDの交替領域dの最初の交替セクタ
sd0から後方に向かって順次空いている交替セクタを
探して交替処理を施す。
Furthermore, when there is no free replacement sector in the replacement area a, as shown in FIG. 12B, the group c to which the sector c10 belongs next.
The replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sd0 in the replacement area d of the group D closest to

【0071】このようにして、欠陥が発生したセクタが
属するグループの交替領域とその直前のグループの交替
領域の全交替セクタが使用済みのときは、さらに前方又
は後方のグループのなかから最も近いグループの交替領
域の空いている交替セクタを探し、その際には欠陥が発
生したセクタに近い方の交替セクタから順に空いている
交替セクタを探すので、欠陥が発生したセクタから最も
近い空いている交替セクタに交替処理を行なえる。
In this way, when all the replacement sectors of the replacement area of the group to which the defective sector belongs and the replacement area of the group immediately before that have been used, the group closest to the group further ahead or behind is replaced. The vacant replacement sector in the replacement area is searched, and the vacant replacement sector is searched in order from the replacement sector closest to the defective sector. Replacement processing can be performed on sectors.

【0072】あるいは、図6の(b)に示したように、
ユーザ領域Cのセクタc28に欠陥が発生したときに
は、図7の(b)に示したように、セクタc28が属す
るグループCの交替領域cの最初の交替セクタsc0か
ら後方に向かって順次空いている交替セクタを探して交
替処理を施す。
Alternatively, as shown in FIG. 6B,
When a defect occurs in the sector c28 of the user area C, as shown in (b) of FIG. 7, the spare area c0 of the group C to which the sector c28 belongs is vacant from the first replacement sector sc0 toward the rear. Search for a replacement sector and perform replacement processing.

【0073】また、その交替領域cの各交替セクタsc
0〜sc9が全て使用済みであったときには、図13の
(b)に示したように、セクタc28の属するグループ
Cの直前のグループBの交替領域bの最後の交替セクタ
sb9から前方に向かって順次空いている交替セクタを
探して交替処理を施す。
Further, each replacement sector sc of the replacement area c
When all of 0 to sc9 have been used, as shown in (b) of FIG. 13, from the last replacement sector sb9 of the replacement area b of the group B immediately before the group C to which the sector c28 belongs, to the front. Replacement processing is performed by sequentially searching for vacant replacement sectors.

【0074】さらに、その交替領域bの各交替セクタs
b0〜sb9も全て使用済みであったときには、図14
の(b)に示したように、その次にセクタc28の属す
るグループcに最も近いグループDの交替領域dの最初
の交替セクタsd0から後方に向かって順次空いている
交替セクタを探して交替処理を施す。
Further, each replacement sector s in the replacement area b
When all of b0 to sb9 are also used,
(B), the replacement process is performed by searching for replacement sectors sequentially vacant backward from the first replacement sector sd0 in the replacement region d of the group D closest to the group c to which the sector c28 belongs. Give.

【0075】また、その交替領域dにも空いている交替
セクタがなかったときには、図15の(b)に示したよ
うに、その次にセクタc10の属するグループcに最も
近いグループAの交替領域aの最後の交替セクタsa9
から前方に向かって順次空いている交替セクタを探して
交替処理を施す。
When there is no free replacement sector in the replacement area d, as shown in FIG. 15B, the replacement area of the group A closest to the group c to which the sector c10 belongs next. The last replacement sector sa9 of a
From here, the spare sector is sequentially searched for free spare sectors.

【0076】このようにして、欠陥が発生したセクタが
属するグループの交替領域とその直後のグループの交替
領域の全交替セクタが使用済みのときは、さらに前方又
は後方のグループのなかから最も近いグループの交替領
域の空いている交替セクタを探し、その際には欠陥セク
タに近い方の交替セクタから順に空いている交替セクタ
を探すので、欠陥が発生したセクタから最も近い空いて
いる交替セクタに交替処理を行なえる。この情報記憶装
置における交替処理方法は、発生した欠陥セクタが属す
るグループの交替領域の全ての交替セクタが使用済みで
あったとき、欠陥セクタに最も近い他のグループの交替
領域の空いている交替セクタに交替処理を施すようにす
れば、欠陥セクタが属するグループの交替領域の全交替
セクタが空いていないときでも、欠陥セクタとその交替
処理を行なった交替セクタとのアクセス距離を最も短く
することができ、交替セクタにアクセスするシーク時間
を短くすることができる。さらに、発生した欠陥セクタ
の属するグループの直前及び直後のグループの交替領域
の全交替セクタが使用済みであったとき、欠陥セクタに
対してさらに前方又は後方のグループのなかから最も近
いグループの交替領域の空いている交替セクタに交替処
理を施すようにすれば、欠陥セクタが属するグループの
直前及び直後のグループの交替領域の全交替セクタが空
いていないときでも、欠陥セクタとその交替処理を行な
った交替セクタとのアクセス距離を最も短くすることが
でき、交替セクタにアクセスするシーク時間を短くする
ことができる。そして、発生した欠陥セクタの前方の交
替領域ではその交替領域の最後の交替セクタから前方に
向かって順次空いている交替セクタを探し、後方の交替
領域ではその交替領域の最初の交替セクタから後方に向
かって順次空いている交替セクタを探すようにすれば、
交替領域内でも欠陥セクタに最も近い交替セクタに交替
処理を行なうことができ、欠陥セクタとその交替処理を
行なった交替セクタとのアクセス距離を最も短くするこ
とができ、交替セクタにアクセスするシーク時間を短く
することができる。
In this way, when all the replacement sectors of the replacement area of the group to which the defective sector belongs and the replacement area of the group immediately after that have been used, the group closest to the group further ahead or behind is replaced. The vacant replacement sector is searched for, and the vacant replacement sector is searched in order starting from the replacement sector closest to the defective sector, so the defective sector is replaced by the closest vacant replacement sector. It can be processed. This information storage device
The replacement processing method in the
All replacement sectors in the replacement area of the group
If there is, replace the other group closest to the defective sector
Perform replacement processing on the spare sector in the free area.
If so, all replacement of the replacement area of the group to which the defective sector belongs
Defective sector and its replacement, even when the sector is not empty
Shortest access distance to the replacement sector that has processed
Seek time to access the replacement sector
Can be shortened. In addition, the defective sector that occurred
Area of the group immediately before and after the group to which
When all the replacement sectors of have been used,
On the other hand, the group closest to the front or rear
Replacement in a free replacement sector in the replacement area of another group
If this is done, the group to which the defective sector belongs
All replacement sectors in the replacement area of the group immediately before and immediately after are empty.
The defective sector and its replacement process.
The shortest access distance to the replacement sector
Yes, shorten the seek time to access the replacement sector
be able to. Then, the intersection in front of the defective sector
In the spare area, start from the last spare sector in the spare area
Search for vacant replacement sectors sequentially, and replace them in the rear
In the area, the area from the first replacement sector of the replacement area is
If you try to find spare sectors that are vacant,
Replaces with the closest replacement sector even within the replacement area
Process and replace defective sectors and their replacement
The shortest access distance to the replacement sector
The seek time to access the replacement sector can be shortened.
can do.

【0077】次に、この発明の実施例について説明す
る。この実施例の情報記憶装置ではCPUの機能が上述
参考技術とは異なり、記憶媒体2の各交替領域を交替
セクタ数がそれぞれ1/2になるように前半領域と後半
領域に分割し、発生した欠陥セクタの直前の交替領域の
後半領域と直後の交替領域の前半領域のうち近い方の領
域の空いている交替セクタから遠い方の領域の空いてい
る交替セクタの順番で交替処理を施し、そのいずれの領
域にも空いている交替セクタがなかったときには、前記
直前の交替領域の前半領域と直後の交替領域の後半領域
のうち近い方の領域の空いている交替セクタから遠い方
の領域の空いている交替セクタの順番で交替処理を施
し、そのいずれにも空いている交替セクタがなかったと
き、さらに前方の交替領域の後半領域と後方の交替領域
の前方領域のうち近い方の領域の空いている交替セクタ
から遠い方の領域の空いている交替セクタの順番で交替
処理を施し、そのいずれの領域にも空いている交替セク
タがなかったときには、上記前方の交替領域の前半領域
と後方の交替領域の後半領域のうち近い方の領域の空い
ている交替セクタから遠い方の領域の空いている交替セ
クタの順番で交替処理を施す交替処理手段の機能を果た
す。
[0077] Next, a description will be given of the actual施例of the present invention. In the information storage device of this embodiment, the CPU function is different from that of the above-described reference technology, and each replacement area of the storage medium 2 is divided into a first half area and a second half area so that the number of replacement sectors is halved. have vacant farther region from the vacant replacement sector of the region towards the near Chi sac first half region of the second half area and the replacement area immediately after the replacement area immediately before the defective sector
That performs sequentially in alternate processing of the replacement sector, that when there is no replacement sector vacant in any of the regions, of the immediately preceding replacement area half region and the second half region caries Chi near have towards the spare area immediately after Far from the spare sector in the area
The replacement process is performed in the order of the spare sectors in the area
And there were no free replacement sectors in any of them
The rear half of the front spare area and the rear spare area
Spare sector in the area nearer to the front area of
Replacement in the order of the free replacement sector in the area farther from
A spare section that has been processed and is vacant in any of its areas.
When there is no data, the first half area of the preceding replacement area
Of the second half of the replacement area and the rear area
Available replacement sector in an area farther from the replacement sector
It performs the function of a replacement processing means for performing replacement processing in the order of the Kuta .

【0078】さらに、発生した欠陥セクタの直前及び直
後の交替領域のいずれにも空いている交替セクタがなか
ったとき、さらに前方の交替領域の後半領域と後方の交
替領域の前半領域のうち最も近い方の領域の空いている
交替セクタに交替処理を施し、そのいずれの領域にも空
いている交替セクタがなかったときには、前方の交替領
域の前半領域と後方の交替領域の後半領域のうち最も近
い方の領域の空いている交替セクタに交替処理を施す交
替処理手段の機能も果たす。
Furthermore, when there is no vacant replacement sector in either the replacement area immediately before or immediately after the defective sector that has occurred, the nearest half of the replacement area in the front and the first half of the replacement area in the rear is the closest. When the spare processing is performed on the spare area in the other area, and there is no spare sector in any of the areas, the closest one of the front half area of the front spare area and the rear half area of the rear spare area is the closest. It also functions as a replacement processing means for performing replacement processing on a spare sector in the other area.

【0079】次に、図17のフローチャートによってそ
の交替処理について説明する。この処理は、ステップ
(図中「S」で示す)41でユーザ領域に欠陥セクタが
発生したとき、ステップ42へ進んで欠陥セクタの直前
の交替領域の後半領域と直後の交替領域の前半領域のう
ちの最も近い方の領域の空いている交替セクタを検索
し、ステップ43へ進んで交替セクタが空いているか否
かを判断して、空いている交替セクタが有ればステップ
50へ進む。
Next, the replacement process will be described with reference to the flowchart of FIG. In this process, when a defective sector occurs in the user area in step (indicated by "S" in the figure) 41, the process proceeds to step 42, in which the latter half of the replacement area immediately before the defective sector and the first half of the replacement area immediately after the defective sector The closest available spare sector is searched for, and the process proceeds to step 43 to determine whether or not the spare sector is free. If there is a free spare sector, the process proceeds to step 50.

【0080】ステップ43の判断で空いている交替セク
タがなければ、ステップ44へ進んで欠陥セクタの直前
の交替領域の前半領域と直後の交替領域の後半領域のう
ちの最も近い方の領域の空いている交替セクタを検索
し、ステップ45へ進んで交替セクタが空いているか否
かを判断して、空いている交替セクタが有ればステップ
50へ進む。
If it is determined in step 43 that there is no free replacement sector, the process proceeds to step 44, in which the nearest area of the first half area of the replacement area immediately before the defective sector and the second half area of the replacement area immediately after the defective sector is free. The spare sector is searched for, and the process proceeds to step 45 to determine whether or not the spare sector is empty. If there is a spare sector available, the process proceeds to step 50.

【0081】ステップ45の判断で空いている交替セク
タがなければ、ステップ46へ進んで欠陥セクタの直前
の交替領域のさらに前方の交替領域の後半領域と欠陥セ
クタの直後の交替領域のさらに後方の交替領域の前半領
域のうちの最も近い方の領域の空いている交替セクタを
検索し、ステップ47へ進んで交替セクタが空いている
か否かを判断して、空いている交替セクタが有ればステ
ップ50へ進む。
If it is determined in step 45 that there is no free replacement sector, the process proceeds to step 46, in which the latter half of the replacement area immediately before the replacement area immediately before the defective sector and the area further rearward of the replacement area immediately after the defective sector. If the spare sector in the closest one of the first half areas of the spare area is searched for, the process proceeds to step 47, where it is determined whether or not the spare sector is empty. Go to step 50.

【0082】ステップ47の判断で空いている交替セク
タがなければ、ステップ48へ進んでその前方の交替領
域の前半領域と後方の交替領域の後半領域のうちの最も
近い方の領域の空いている交替セクタを検索し、ステッ
プ49へ進んで交替セクタが空いているか否かを判断し
て、空いている交替セクタがなければ、ステップ46へ
戻ってさらに前方と後方の領域について同様に検索処理
を行ない、空いている交替セクタがあればステップ50
へ進む。そして、ステップ50では空いている交替セク
タに交替処理を施してこの処理を終了する。
If it is determined in step 47 that there is no free replacement sector, the process proceeds to step 48 and the closest one of the front half region of the front spare region and the rear half region of the rear spare region is free. The replacement sector is searched, the process proceeds to step 49, it is judged whether or not the replacement sector is free, and if there is no free replacement sector, the process returns to step 46 and the search process is similarly performed for the front and rear regions. If there is a free replacement sector, step 50
Go to. Then, in step 50, the spare processing is performed on the spare sector that is vacant, and this processing ends.

【0083】図18は、この交替処理のときの記憶媒体
1の記録面のフォーマットの一例を示す説明図である。
この記録面のフォーマットは図3に示したフォーマット
と略同じであるが、交替処理時に各交替領域の交替セク
タがそれぞれ1/2になるように前半領域と後半領域に
分割して扱っている。つまり、同図の(b)に示すよう
に、例えば交替領域aについては、前半の交替セクタs
a0〜sa4と、後半の交替セクタsa5〜sa9で分
割している。
FIG. 18 is an explanatory diagram showing an example of the format of the recording surface of the storage medium 1 at the time of this replacement processing.
The format of this recording surface is almost the same as the format shown in FIG. 3, but is divided into the first half area and the second half area so that the replacement sectors of each replacement area are halved during the replacement processing. That is, as shown in (b) of the figure, for example, in the replacement area a, the replacement sector s in the first half is used.
It is divided into a0 to sa4 and replacement sectors sa5 to sa9 in the latter half.

【0084】次に、図19乃至図27によってさらにそ
の交替処理について詳しく説明する。その図19乃至図
27の(b)では、説明に関係するセクタ記号のみを示
しそれ以外は省略している。
Next, the replacement process will be further described in detail with reference to FIGS. 19 to 27. In FIG. 19 to FIG. 27B, only the sector symbols related to the description are shown and the others are omitted.

【0085】例えば、図19の(b)に示すように、ユ
ーザ領域Cのセクタc10に欠陥が発生したとき、図2
0の(b)に示すように、セクタc10の直前の交替領
域bの後半領域と直後の交替領域cの前半領域のうち最
も近い方である交替領域bの後半領域の空いている交替
セクタを探して交替処理を施す。例えば、最初の交替セ
クタsb5から後方に向かって順次空いている交替セク
タを探して交替処理を施す。
For example, as shown in FIG. 19B, when a defect occurs in the sector c10 of the user area C,
As shown in (b) of 0, the vacant replacement sector of the second half area of the replacement area b, which is the closest of the second half area of the replacement area b immediately before the sector c10 and the first half area of the replacement area c immediately after it, Search for and perform replacement processing. For example, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sb5 toward the rear.

【0086】また、その交替領域bの後半領域の全交替
セクタsb5〜sb9が全て使用済みであったときに
は、図21の(b)に示すように、セクタc10の直後
の交替領域cの前半領域の空いている交替セクタを探し
て交替処理を施す。例えば、最初の交替セクタsc0か
ら後方に向かって順次空いている交替セクタを探して交
替処理を施す。
When all the replacement sectors sb5 to sb9 in the second half area of the replacement area b have been used, as shown in FIG. 21B, the first half area of the replacement area c immediately after the sector c10. The vacant replacement sector is searched for and replacement processing is performed. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sc0 toward the rear.

【0087】さらに、その交替領域cの前半領域の全交
替セクタsc0〜sc4も全て使用済みであったときに
は、図22の(b)に示すように、セクタc10の直前
の交替領域bの前半領域の空いている交替セクタを探し
て交替処理を施す。例えば、例えば、最初の交替セクタ
sb0から後方に向かって順次空いている交替セクタを
探して交替処理を施す。
Further, when all the replacement sectors sc0 to sc4 in the first half area of the replacement area c have also been used, as shown in FIG. 22B, the first half area of the replacement area b immediately before the sector c10. The vacant replacement sector is searched for and replacement processing is performed. For example, for example, replacement processing is performed by searching for replacement sectors sequentially vacant rearward from the first replacement sector sb0.

【0088】また、その交替領域cの前半領域の全交替
セクタsb0〜sb4も全て使用済みであったときに
は、図23の(b)に示すように、セクタc10の直後
の交替領域cの後半領域の空いている交替セクタを探し
て交替処理を施す。例えば、例えば、最初の交替セクタ
sc5から後方に向かって順次空いている交替セクタを
探して交替処理を施す。
When all the replacement sectors sb0 to sb4 in the first half area of the replacement area c are also used, as shown in FIG. 23B, the second half area of the replacement area c immediately after the sector c10. The vacant replacement sector is searched for and replacement processing is performed. For example, for example, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sc5 toward the rear.

【0089】さらに、セクタc10の直前の交替領域b
と直後の交替領域cのいずれにも空いている交替セクタ
がなかったとき、図24の(b)に示すように、セクタ
c10のさらに前方の交替領域aの後半領域と後方の交
替領域dの前半領域のうち最も近い方である交替領域a
の後半領域の空いている交替セクタを探して交替処理を
施す。例えば、最初の交替セクタsa5から後方に向か
って順次空いている交替セクタを探して交替処理を施
す。
Further, the replacement area b immediately before the sector c10
When there is no vacant replacement sector in any of the replacement areas c immediately after the above, as shown in (b) of FIG. 24, as shown in (b) of FIG. The nearest replacement area a in the first half area
The spare processing is performed by searching for a vacant replacement sector in the latter half area of. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sa5 toward the rear.

【0090】また、その交替領域aの後半領域の全交替
セクタsa5〜sa9が全て使用済みであったときに
は、図25の(b)に示すように、後方の交替領域のd
の前半領域の空いている交替セクタを探し出して交替処
理を施す。例えば、最初の交替セクタsd0から後方に
向かって順次空いている交替セクタを探して交替処理を
施す。
Further, when all the replacement sectors sa5 to sa9 in the latter half area of the replacement area a have been used, as shown in FIG.
The vacant replacement sector in the first half area is searched for and replacement processing is performed. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sd0 toward the rear.

【0091】さらに、交替領域aの後半領域と交替領域
dの前半領域のいずれにも空いている交替セクタがなか
ったとき、図26の(b)に示すように、交替領域aの
前半領域と交替領域dの後半領域のうち最も近い方であ
る交替領域aの前半領域の空いている交替セクタを探し
て交替処理を施す。例えば、最初の交替セクタsa0か
ら後方に向かって順次空いている交替セクタを探して交
替処理を施す。
Further, when there is no vacant replacement sector in either the second half area of the replacement area a or the first half area of the replacement area d, as shown in FIG. The spare processing is performed by searching for a free spare sector in the first half area of the spare area a, which is the closest one of the latter half areas of the spare area d. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sa0 toward the rear.

【0092】そして、その交替領域aの前半領域の全交
替セクタsa0〜sa4が全て使用済みであったときに
は、図27の(b)に示すように、交替領域のdの後半
領域の空いている交替セクタを探し出して交替処理を施
す。例えば、最初の交替セクタsd5から後方に向かっ
て順次空いている交替セクタを探して交替処理を施す。
Then, when all the replacement sectors sa0 to sa4 in the first half area of the replacement area a are all used, as shown in FIG. 27B, the second half area of the replacement area d is vacant. The replacement sector is searched for and replacement processing is performed. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sd5 toward the rear.

【0093】あるいは、ユーザ領域Cのセクタc28に
欠陥が発生したときには、まず、セクタc28の直前の
交替領域bの後半領域と直後の交替領域cの前半領域の
うち最も近い方である交替領域cの前半領域の空いてい
る交替セクタを探して交替処理を施す。例えば、最初の
交替セクタsc0から後方に向かって順次空いている交
替セクタを探して交替処理を施す。
Alternatively, when a defect occurs in the sector c28 of the user area C, first, the replacement area c, which is the closest of the latter half area of the replacement area b immediately before the sector c28 and the first half area of the replacement area c immediately after the sector c28, is the closest. The spare processing is performed by searching for a free spare sector in the first half area. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sc0 toward the rear.

【0094】また、その交替領域cの前半領域の全交替
セクタsc0〜sc4が全て使用済みであったときに
は、セクタc28の直前の交替領域bの後半領域の空い
ている交替セクタを探して交替処理を施す。例えば、最
初の交替セクタsc5から後方に向かって順次空いてい
る交替セクタを探して交替処理を施す。
When all the replacement sectors sc0 to sc4 in the first half area of the replacement area c are all used, the spare processing is performed by searching for an empty replacement sector in the second half area of the replacement area b immediately before the sector c28. Give. For example, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sc5 toward the rear.

【0095】さらに、その交替領域bの後半領域の全交
替セクタsb5〜sb9も全て使用済みであったときに
は、セクタc28の直後の交替領域cの後半領域の空い
ている交替セクタを探して交替処理を施す。例えば、例
えば、最初の交替セクタsc5から後方に向かって順次
空いている交替セクタを探して交替処理を施す。
Further, when all the replacement sectors sb5 to sb9 in the latter half area of the replacement area b are all used, the empty replacement sector in the latter half area of the replacement area c immediately after the sector c28 is searched for replacement processing. Give. For example, for example, replacement processing is performed by searching for replacement sectors sequentially vacant from the first replacement sector sc5 toward the rear.

【0096】また、その交替領域cの後半領域の全交替
セクタsc5〜sc9も全て使用済みであったときに
は、セクタc28の直前の交替領域bの前半領域の空い
ている交替セクタを探して交替処理を施す。例えば、例
えば、最初の交替セクタsb0から後方に向かって順次
空いている交替セクタを探して交替処理を施す。
When all the replacement sectors sc5 to sc9 in the latter half area of the replacement area c have also been used, the spare processing is performed by searching for an empty replacement sector in the first half area of the replacement area b immediately before the sector c28. Give. For example, for example, replacement processing is performed by searching for replacement sectors sequentially vacant rearward from the first replacement sector sb0.

【0097】さらに、セクタc28の直後の交替領域c
と直前の交替領域bのいずれにも空いている交替セクタ
がなかったとき、セクタc28のさらに後方の交替領域
dの前半領域と前方の交替領域aの後半領域のうち最も
近い方である交替領域dの前半領域の空いている交替セ
クタを探して交替処理を施す。例えば、最初の交替セク
タsd0から後方に向かって順次空いている交替セクタ
を探して交替処理を施す。
Further, the replacement area c immediately after the sector c28
When there is no vacant replacement sector in either of the replacement area b and the immediately preceding replacement area b, the replacement area which is the closest of the first half area of the replacement area d further behind the sector c28 and the latter half area of the front replacement area a. The spare processing is performed by searching for a free spare sector in the first half area of d. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sd0 toward the rear.

【0098】また、その交替領域dの前半領域の全交替
セクタsd0〜sd4が全て使用済みであったときに
は、前方の交替領域aの後半領域の空いている交替セク
タを探し出して交替処理を施す。例えば、最初の交替セ
クタsa5から後方に向かって順次空いている交替セク
タを探して交替処理を施す。
Further, when all the replacement sectors sd0 to sd4 in the first half area of the replacement area d are all used, the empty replacement sector in the second half area of the front replacement area a is searched and the replacement processing is performed. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sa5 toward the rear.

【0099】さらに、交替領域dの前半領域と交替領域
aの後半領域のいずれにも空いている交替セクタがなか
ったとき、交替領域dの後半領域と交替領域aの前半領
域のうち最も近い方である交替領域dの後半領域の空い
ている交替セクタを探して交替処理を施す。例えば、最
初の交替セクタsd5から後方に向かって順次空いてい
る交替セクタを探して交替処理を施す。
Further, when there is no vacant replacement sector in either the first half area of the replacement area d or the second half area of the replacement area a, the closest one of the second half area of the replacement area d and the first half area of the replacement area a. The spare area is searched for an empty spare sector in the latter half area of the spare area d. For example, replacement processing is performed by searching for replacement sectors that are sequentially vacant from the first replacement sector sd5 toward the rear.

【0100】そして、その交替領域dの後半領域の全交
替セクタsd5〜sd9が全て使用済みであったときに
は、交替領域aの前半領域の空いている交替セクタを探
し出して交替処理を施す。例えば、最初の交替セクタs
a0から後方に向かって順次空いている交替セクタを探
して交替処理を施す。
Then, when all the replacement sectors sd5 to sd9 in the second half area of the replacement area d are all used, the empty replacement sector in the first half area of the replacement area a is searched for and the replacement processing is performed. For example, the first replacement sector s
Replacement processing is performed by sequentially searching for replacement sectors that are vacant from a0 to the rear.

【0101】このようにして、欠陥セクタに最も近い交
替領域の空いている交替セクタに交替処理を行なえ、特
定のユーザ領域によってその周囲の交替領域が独占して
使用されてしまい、他のユーザ領域が離れた交替領域し
か使用できなくなることを極力防止することができる。
この情報記憶装置における交替処理方法は、各交替領域
を交替セクタ数がそれぞれ1/2になるように前半領域
と後半領域に分割し、発生した欠陥セクタの直前の交替
領域の後半領域と直後の交替領域の前半領域のうち最も
近い方の領域の空いている交替セクタに交替処理を施
し、そのいずれの領域にも空いている交替セクタがなか
ったときには、直前の交替領域の前半領域と直後の交替
領域の後半領域のうち最も近い方の領域の空いている交
替セクタに交替処理を施すようにすれば、各ユーザ領域
で発生した欠陥セクタとその交替セクタとの距離を同じ
ように短くすることができ、各欠陥セクタとその交替処
理を行なった交替セクタとのアクセス距離をそれぞれ最
も短くすることができ、交替セクタにアクセスするシー
ク時間を短くすることができる。さらに、発生した欠陥
セクタの直前及び直後の交替領域のいずれにも空いてい
る交替セクタがなかったとき、さらに前方の交替領域の
後半領域と後方の交替領域の前半領域のうち最も近い方
の領域の空いている交替セクタに交替処理を施し、その
いずれの領域にも空いている交替セクタがなかったとき
には、前方の交替領域の前半領域と後方の交替領域の後
半領域のうち最も近い方の領域の空いている交替セクタ
に交替処理を施すようにすれば、欠陥セクタの直前及び
直後の交替領域の全交替セクタが空いていないときで
も、各ユーザ領域で発生した欠陥セクタとその交替セク
タとの距離を同じように短くすることができ、各欠陥セ
クタとその交替処理を行なった交替セクタとのアクセス
距離をそれぞれ最も短くすることができ、交替セクタに
アクセスするシーク時間を短くすることができる。
In this way, the spare processing can be performed on the spare spare area in the spare area closest to the defective sector, and the spare area around the spare area is used exclusively by the specific user area, and the other spare area is used. It is possible to prevent as much as possible from being able to use only the replacement area away from each other.
The replacement processing method in this information storage device is
The first half area so that the number of replacement sectors is halved
And the latter half of the area, and replaces the defective sector just before
Most of the second half of the area and the first half of the replacement area immediately after
Perform replacement processing on vacant replacement sectors in the nearer area.
And there are no free replacement sectors in any of those areas.
When it happens, the first half area of the previous replacement area and the replacement area immediately after
The vacant intersection of the nearest one of the latter half of the area
If the replacement process is applied to the replacement sector, each user area
The same as the distance between the defective sector generated in
Each defective sector and its replacement
The access distance to the replacement sector
Can be shortened and the access to the replacement sector
You can shorten the time. In addition, the defect that occurred
There is free space in both the replacement area immediately before and after the sector.
When there is no replacement sector,
Nearest one of the latter half area and the first half area of the rear replacement area
The spare sector in the area of
When there is no free replacement sector in any area
Includes the first half of the front replacement area and the rear of the rear replacement area.
A free replacement sector in the closest half area
If the replacement process is applied to the
When all the replacement sectors in the replacement area immediately after are not empty
Also, the defective sector generated in each user area and its replacement sector
The distance to the
Access to the Kuta and its replacement sector
The distance can be made the shortest, and the replacement sector
The seek time to access can be shortened.

【0102】次に、この発明の他の実施例について説明
する。この実施例の情報記憶装置ではCPUの機能が上
述の実施例とは若干異なり、記憶媒体2の各交替領域を
交替セクタ数がそれぞれ1/2になるように前半領域と
後半領域に分割し、発生した欠陥セクタの直前の交替領
域の後半領域と直後の交替領域の前半領域のうち最も近
い方の領域の空いている交替セクタに交替処理を施し、
そのいずれの領域にも空いている交替セクタがなかった
ときには、直前の交替領域の前半領域と直後の交替領域
の後半領域のうち最も近い方の領域の空いている交替セ
クタに交替処理を施す交替処理手段の機能を果たす。
Next, another embodiment of the present invention will be described. In the information storage device of this embodiment, the function of the CPU is slightly different from that of the above-described embodiment, and each replacement area of the storage medium 2 is divided into a first half area and a second half area so that the number of replacement sectors is halved. The spare processing is performed on the vacant replacement sector of the closest area of the latter half area of the replacement area immediately before the defective sector and the first half area of the replacement area immediately after the defective sector,
If there is no vacant replacement sector in any of the areas, the replacement processing is performed on the vacant replacement sector of the closest one of the first half area of the immediately preceding replacement area and the second half area of the immediately following replacement area. Performs the function of processing means.

【0103】さらに、発生した欠陥セクタの直前及び直
後の交替領域のいずれにも空いている交替セクタがなか
ったとき、さらに前方の交替領域の後半領域と後方の交
替領域の前半領域のうち最も近い方の領域の空いている
交替セクタに交替処理を施し、そのいずれの領域にも空
いている交替セクタがなかったときには、前方の交替領
域の前半領域と後方の交替領域の後半領域のうち最も近
い方の領域の空いている交替セクタに交替処理を施す交
替処理手段の機能も果たす。
Further, when there is no vacant replacement sector in both the replacement area immediately before and immediately after the defective sector that has occurred, the closest replacement area is the closest to the rear half area of the front replacement area and the rear half area of the rear replacement area. When the spare processing is performed on the spare area in the other area, and there is no spare sector in any of the areas, the closest one of the front half area of the front spare area and the rear half area of the rear spare area is the closest. It also functions as a replacement processing means for performing replacement processing on a spare sector in the other area.

【0104】そして、その空いている交替セクタを探す
際、発生した欠陥セクタの前方の交替領域では最後の交
替セクタから前方に向かって順次交替セクタを探し、後
方の交替領域では最初の交替セクタから後方に向かって
順次交替セクタを探す交替処理手段の機能を果たす。
When searching for the vacant replacement sector, replacement sectors in front of the defective sector are searched sequentially for replacement sectors from the last replacement sector to the front, and replacement sectors in the rear are searched for the first replacement sector. It functions as a replacement processing unit that sequentially searches for replacement sectors toward the rear.

【0105】次に、図28のフローチャートによってそ
の交替処理について説明する。この処理は、ステップ
(図中「S」で示す)51でユーザ領域に欠陥セクタが
発生したとき、ステップ52へ進んで欠陥セクタの直前
の交替領域の後半領域と直後の交替領域の前半領域のう
ちの最も近い方の領域に対して、それが直前の交替領域
の後半領域なら最後の交替セクタから前方に向かって、
直後の交替領域の前半領域なら最初の交替セクタから後
方に向かって順次空いている交替セクタを検索し、ステ
ップ53へ進んで交替セクタが空いているか否かを判断
して、空いている交替セクタが有ればステップ60へ進
む。
Next, the replacement process will be described with reference to the flowchart of FIG. In this process, when a defective sector is generated in the user area in step (indicated by "S" in the figure) 51, the process proceeds to step 52 and the latter half of the replacement area immediately before the defective sector and the first half area of the replacement area immediately after the defective sector are processed. If it is the latter half of the immediately preceding replacement area for the closest area of them, from the last replacement sector to the front,
If it is the first half area of the immediately following replacement area, the first replacement sector is searched backward for empty replacement sectors, and the process proceeds to step 53 to determine whether or not there are free replacement sectors, and to find a free replacement sector. If there is, go to step 60.

【0106】ステップ53の判断で空いている交替セク
タがなければ、ステップ54へ進んで欠陥セクタの直前
の交替領域の前半領域と直後の交替領域の後半領域のう
ちの最も近い方の領域に対して、それが直前の交替領域
の前半領域なら最後の交替セクタから前方へ向かって、
直後の交替領域の後半領域なら最後の交替セクタから前
方に向かって順次空いている交替セクタを検索し、ステ
ップ55へ進んで交替セクタが空いているか否かを判断
して、空いている交替セクタが有ればステップ60へ進
む。
If it is determined in step 53 that there is no free replacement sector, the process proceeds to step 54, and the nearest area of the first half area of the replacement area immediately before the defective sector and the second half area of the replacement area immediately after is replaced. Then, if it is the first half area of the previous replacement area, from the last replacement sector to the front,
If it is the latter half of the replacement area immediately after, it searches forward for replacement sectors that are sequentially vacant from the last replacement sector, proceeds to step 55, determines whether or not there are replacement sectors, and determines whether replacement sectors are free. If there is, go to step 60.

【0107】ステップ55の判断で空いている交替セク
タがなければ、ステップ56へ進んで欠陥セクタの直前
の交替領域のさらに前方の交替領域の後半領域と欠陥セ
クタの直後の交替領域のさらに後方の交替領域の前半領
域のうちの最も近い方の領域に対して、それが前方の交
替領域の後半領域なら最後の交替セクタから前方に向か
って、後方の交替領域の前半領域なら最初の交替セクタ
から後方に向かって順次空いている交替セクタを検索
し、ステップ57へ進んで交替セクタが空いているか否
かを判断して、空いている交替セクタが有ればステップ
60へ進む。
If it is determined in step 55 that there are no spare replacement sectors, the process proceeds to step 56, in which the latter half of the spare area immediately before the spare area immediately before the defective sector and the rear area of the spare area immediately after the defective sector are located. For the closest one of the first half areas of the replacement area, if it is the second half area of the front replacement area, go forward from the last replacement sector, and if it is the first half area of the rear replacement area, start from the first replacement sector The vacant replacement sectors are sequentially searched backward, and the process proceeds to step 57 to determine whether or not the replacement sector is vacant. If there is a vacant replacement sector, the process proceeds to step 60.

【0108】ステップ57の判断で空いている交替セク
タがなければ、ステップ58へ進んでその前方の交替領
域の前半領域と後方の交替領域の後半領域のうちの最も
近い方の領域に対して、それが前方の交替領域の前半領
域なら最後の交替セクタから前方へ向かって、後方の交
替領域の後半領域なら最後の交替セクタから前方に向か
って順次空いている交替セクタを検索し、ステップ59
へ進んで交替セクタが空いているか否かを判断して、空
いている交替セクタがなければ、ステップ56へ戻って
さらに前方と後方の領域について同様に検索処理を行な
い、空いている交替セクタがあればステップ60へ進
む。そして、ステップ60では空いている交替セクタに
交替処理を施してこの処理を終了する。
If it is determined in step 57 that there is no free replacement sector, the process proceeds to step 58, in which the nearest area of the front half area of the front replacement area and the rear half area of the rear replacement area is If it is the front half area of the front spare area, the spare sector is searched forward from the last spare sector, and if it is the rear half of the rear spare area, the spare sector is searched sequentially from the last spare sector to the front, and a step 59 is searched.
If it is determined that the spare sector is empty, and there is no spare sector available, the process returns to step 56 and the search process is further performed for the front and rear areas. If there is, go to step 60. Then, in step 60, a spare process is performed on the spare sector that is vacant, and this process ends.

【0109】次に、図19乃至図27によってその交替
処理について詳しく説明する。例えば、図19の(b)
に示したように、ユーザ領域Cのセクタc10に欠陥が
発生したとき、図20の(b)に示したように、セクタ
c10の直前の交替領域bの後半領域と直後の交替領域
cの前半領域のうち最も近い方である交替領域bの後半
領域の最後の交替セクタsb9から前方へ向かって順次
空いている交替セクタを探して交替処理を施す。
Next, the replacement process will be described in detail with reference to FIGS. 19 to 27. For example, FIG. 19B
As shown in FIG. 20, when a defect occurs in the sector c10 of the user area C, as shown in (b) of FIG. 20, the second half of the replacement area b immediately before the sector c10 and the first half of the replacement area c immediately after the sector c10. From the last replacement sector sb9 in the latter half of the replacement area b, which is the closest one of the areas, the replacement processing is performed by searching for replacement sectors that are sequentially vacant toward the front.

【0110】また、その交替領域bの後半領域の全交替
セクタsb5〜sb9が全て使用済みであったときに
は、図21の(b)に示したように、セクタc10の直
後の交替領域cの前半領域の最初の交替セクタsc0か
ら後方へ向かって順次空いている交替セクタを探して交
替処理を施す。
When all the replacement sectors sb5 to sb9 in the second half area of the replacement area b have been used, as shown in FIG. 21B, the first half of the replacement area c immediately after the sector c10. From the first replacement sector sc0 in the area, the replacement processing is performed by searching for replacement sectors sequentially vacant toward the rear.

【0111】さらに、その交替領域cの前半領域の全交
替セクタsc0〜sc4も全て使用済みであったときに
は、図22の(b)に示したように、セクタc10の直
前の交替領域bの前半領域の交替セクタsb4から前方
へ向かって順次空いている交替セクタを探して交替処理
を施す。
Further, when all the replacement sectors sc0 to sc4 in the first half area of the replacement area c are also used, as shown in FIG. 22B, the first half of the replacement area b immediately before the sector c10. The spare sector is sequentially searched from the spare sector sb4 in the area toward the front, and spare processing is performed.

【0112】また、その交替領域cの前半領域の全交替
セクタsb0〜sb4も全て使用済みであったときに
は、図23の(b)に示したように、セクタc10の直
後の交替領域cの後半領域の交替セクタsc5から後方
へ向かって順次空いている交替セクタを探して交替処理
を施す。
When all the replacement sectors sb0 to sb4 in the first half area of the replacement area c have also been used, as shown in FIG. 23B, the latter half of the replacement area c immediately after the sector c10. From the replacement sector sc5 in the area, the replacement processing is performed by searching for replacement sectors that are sequentially vacant toward the rear.

【0113】さらに、セクタc10の直前の交替領域b
と直後の交替領域cのいずれにも空いている交替セクタ
がなかったとき、図24の(b)に示したように、セク
タc10のさらに前方の交替領域aの後半領域と後方の
交替領域dの前半領域のうち最も近い方である交替領域
aの後半領域の最後の交替セクタsa9から前方へ向か
って順次空いている交替セクタを探して交替処理を施
す。
Further, the replacement area b immediately before the sector c10
When there is no vacant replacement sector in any of the replacement areas c immediately after the above, as shown in (b) of FIG. 24, the latter half area of the replacement area a further ahead of the sector c10 and the replacement area d behind it. From the last replacement sector sa9 of the second half area of the replacement area a, which is the closest one of the first half areas of the above, the replacement processing is performed by sequentially searching for replacement sectors that are vacant toward the front.

【0114】また、その交替領域aの後半領域の全交替
セクタsa5〜sa9が全て使用済みであったときに
は、図25の(b)に示したように、後方の交替領域の
dの前半領域の最初の交替セクタsd0から後方へ向か
って順次空いている交替セクタを探し出して交替処理を
施す。
When all the replacement sectors sa5 to sa9 in the latter half area of the replacement area a are all used, as shown in (b) of FIG. 25, the first half area of the rear replacement area d From the first replacement sector sd0, a replacement process is performed by sequentially searching for replacement sectors that are vacant toward the rear.

【0115】さらに、交替領域aの後半領域と交替領域
dの前半領域のいずれにも空いている交替セクタがなか
ったとき、図26の(b)に示したように、交替領域a
の前半領域と交替領域dの後半領域のうち最も近い方で
ある交替領域aの前半領域の交替セクタsa4から前方
へ向かって順次空いている交替セクタを探して交替処理
を施す。
Further, when there is no vacant replacement sector in both the second half area of the replacement area a and the first half area of the replacement area d, as shown in FIG. 26 (b), the replacement area a
Of the first half area and the second half area of the replacement area d, the replacement processing is performed by searching for replacement sectors sequentially vacant from the replacement sector sa4 in the first half area of the replacement area a, which is the closest one.

【0116】そして、その交替領域aの前半領域の全交
替セクタsa0〜sa4が全て使用済みであったときに
は、図27の(b)に示したように、交替領域のdの後
半領域の交替セクタsd5から後方に向かって順次空い
ている交替セクタを探し出して交替処理を施す。
Then, when all the replacement sectors sa0 to sa4 in the first half area of the replacement area a are all used, as shown in FIG. 27B, the replacement sectors in the second half area of the replacement area d. From sd5, vacant replacement sectors are sequentially searched backward and replacement processing is performed.

【0117】あるいは、ユーザ領域Cのセクタc28に
欠陥が発生したときには、まず、セクタc28の直前の
交替領域bの後半領域と直後の交替領域cの前半領域の
うち最も近い方である交替領域cの前半領域の最初の交
替セクタsc0から後方へ順次空いている交替セクタを
探して交替処理を施す。
Alternatively, when a defect occurs in the sector c28 of the user area C, first, the replacement area c which is the closest to the latter half area of the replacement area b immediately before the sector c28 and the first half area of the replacement area c immediately after the sector c28. From the first replacement sector sc0 in the first half area of the above, the replacement processing is performed by searching for replacement sectors sequentially vacant backward.

【0118】また、その交替領域cの前半領域の全交替
セクタsc0〜sc4が全て使用済みであったときに
は、セクタc28の直前の交替領域bの後半領域の最後
の交替セクタsb9から前方へ順次空いている交替セク
タを探して交替処理を施す。さらに、その交替領域bの
後半領域の全交替セクタsb5〜sb9も全て使用済み
であったときには、セクタc28の直後の交替領域cの
後半領域の交替セクタsc5から後方へ向かって順次空
いている交替セクタを探して交替処理を施す。
Further, when all the replacement sectors sc0 to sc4 in the first half area of the replacement area c have been used, the last replacement sector sb9 in the second half area of the replacement area b immediately before the sector c28 is sequentially opened forward. The replacement sector is searched for the existing replacement sector. Further, when all the replacement sectors sb5 to sb9 in the latter half area of the replacement area b have also been used, the replacement sectors sc5 in the latter half area of the replacement area c immediately after the sector c28 are sequentially vacant rearward. Search for a sector and perform replacement processing.

【0119】また、その交替領域cの後半領域の全交替
セクタsc5〜sc9も全て使用済みであったときに
は、セクタc28の直前の交替領域bの前半領域の交替
領域sb4から前方へ向かって順次空いている交替セク
タを探して交替処理を施す。
Further, when all the replacement sectors sc5 to sc9 in the latter half area of the replacement area c are all used, the replacement area sb4 in the first half area of the replacement area b immediately before the sector c28 is sequentially emptied forward. The replacement sector is searched for the existing replacement sector.

【0120】さらに、セクタc28の直後の交替領域c
と直前の交替領域bのいずれにも空いている交替セクタ
がなかったとき、セクタc28のさらに後方の交替領域
dの前半領域と前方の交替領域aの後半領域のうち最も
近い方である交替領域dの前半領域の最初の交替セクタ
sd0から後方へ順次空いている交替セクタを探して交
替処理を施す。
Further, the replacement area c immediately after the sector c28
When there is no vacant replacement sector in either of the replacement area b and the immediately preceding replacement area b, the replacement area which is the closest of the first half area of the replacement area d further behind the sector c28 and the latter half area of the front replacement area a. From the first replacement sector sd0 in the first half area of d, the replacement processing is performed by searching for replacement sectors sequentially vacant to the rear.

【0121】また、その交替領域dの前半領域の全交替
セクタsd0〜sd4が全て使用済みであったときに
は、前方の交替領域aの後半領域の最後の交替セクタs
a9から後方へ向かって順次空いている交替セクタを探
し出して交替処理を施す。
When all the replacement sectors sd0 to sd4 in the first half area of the replacement area d have been used, the last replacement sector s in the second half area of the front replacement area a.
A spare sector is sequentially searched from a9 toward the rear to perform a spare process.

【0122】さらに、交替領域dの前半領域と交替領域
aの後半領域のいずれにも空いている交替セクタがなか
ったとき、交替領域dの後半領域と交替領域aの前半領
域のうち最も近い方である交替領域dの後半領域の交替
セクタsd5から後方へ向かって順次空いている交替セ
クタを探して交替処理を施す。
Further, when there is no available spare sector in either the first half area of the replacement area d or the second half area of the replacement area a, the closest one of the second half area of the replacement area d and the first half area of the replacement area a. The spare area is sequentially searched from the spare sector sd5 in the second half of the spare area d toward the rear, and the spare processing is performed.

【0123】そして、その交替領域dの後半領域の全交
替セクタsd5〜sd0が全て使用済みであったときに
は、交替領域aの前半領域の交替セクタsa4から前方
へ向かって順次空いている交替セクタを探し出して交替
処理を施す。
When all the replacement sectors sd5 to sd0 in the latter half area of the replacement area d have been used, the replacement sectors sa4 in the first half area of the replacement area a are sequentially replaced with the replacement sectors vacant toward the front. Search for and perform replacement processing.

【0124】このようにして、欠陥セクタに最も近い空
いている交替セクタに交替処理を行なえ、特定のユーザ
領域によってその周囲の交替領域が独占して使用されて
しまい、他のユーザ領域が離れた交替領域しか使用でき
なくなることを極力防止することができる。この情報記
憶装置における交替処理方法は、各交替領域を交替セク
タ数がそれぞれ1/2になるように前半領域と後半領域
に分割し、発生した欠陥セクタの直前の交替領域の後半
領域と直後の交替領域の前半領域のうち最も近い方の領
域の空いている交替セクタに交替処理を施し、そのいず
れの領域にも空いている交替セクタがなかったときに
は、直前の交替領域の前半領域と直後の交替領域の後半
領域のうち最も近い方の領域の空いている交替セクタに
交替処理を施すようにすれば、各ユーザ領域で発生した
欠陥セクタとその交替セクタとの距離を同じように短く
することができ、各欠陥セクタとその交替処理を行なっ
た交替セクタとのアクセス距離をそれぞれ最も短くする
ことができ、交替セクタにアクセスするシーク時間を短
くすることができる。さらに、発生した欠陥セクタの直
前及び直後の交替領域のいずれにも空いている交替セク
タがなかったとき、さらに前方の交替領域の後半領域と
後方の交替領域の前半領域のうち最も近い方の領域の空
いている交替セクタに交替処理を施し、そのいずれの領
域にも空いている交替セクタがなかったときには、前方
の交替領域の前半領域と後方の交替領域の後半領域のう
ち最も近い方の領域の空いている交替セクタに交替処理
を施すようにすれば、欠陥セクタの直前及び直後の交替
領域の全交替セクタが空いていないときでも、各ユーザ
領域で発生した欠陥セクタとその交替セクタとの距離を
同じように短くすることができ、各欠陥セクタとその交
替処理を行なった交替セクタとのアクセス距離をそれぞ
れ最も短くすることができ、交替セクタにアクセスする
シーク時間を短くすることができる。そして、発生した
欠陥セクタの前方の交替領域ではその交替領域の最後の
交替セクタから前方に向かって順次空いている交替セク
タを探し、後方の交替領域ではその交替領域の最初の交
替セクタから後方に向かって順次空いている交替セクタ
を探すようにすれば、交替領域内でも欠陥セクタに最も
近い交替セクタに交替処理を行なうことができ、欠陥セ
クタとその交替処理を行なった交替セクタとのアクセス
距離を最も短くすることができ、交替セクタにアクセス
するシーク時間を短くすることができる。
In this way, the spare processing can be performed on the free spare sector closest to the defective sector, and the spare area around the spare area is used exclusively by the specific user area, and the other user areas are separated. It can be prevented as much as possible that only the spare area can be used. This information note
The replacement processing method in the storage device is
The first half area and the second half area so that the number of
The second half of the replacement area immediately before the defective sector
The area that is closest to the area or the first half area of the replacement area immediately after
Perform replacement processing on the spare sector in the area, and
If there are no free replacement sectors in any of these areas
Is the first half of the previous replacement area and the second half of the replacement area immediately after
In the vacant replacement sector in the closest of the areas
If the replacement process is performed, it occurs in each user area.
Equally shorten the distance between the defective sector and its replacement sector
Can perform each defective sector and its replacement process
The shortest access distance to each replacement sector
And seek time to access the replacement sector is short.
You can do it. In addition, the defective sector
A spare section that is vacant in both the front and rear spare areas.
When there is no data,
The sky of the nearest one of the first half areas of the rear replacement area
Replace the existing replacement sector with the replacement sector
When there is no spare sector in the area,
The first half of the replacement area and the second half of the rear replacement area
Change processing to the free replacement sector in the nearest area
If it is performed, replacement immediately before and immediately after the defective sector is performed.
Each user, even when all replacement sectors in the area are not available
The distance between the defective sector generated in the area and its replacement sector
It can be similarly shortened and each defective sector and its intersection
The access distance to each replacement sector that has undergone replacement processing
Can be the shortest and access the replacement sector
The seek time can be shortened. And occurred
In the replacement area in front of the defective sector, the last of the replacement area
Alternating sectors that are sequentially vacant from the alternate sector toward the front
For the first replacement of the replacement area.
Replacement sectors that are sequentially vacant from the replacement sector toward the rear
If you look for the
Replacement processing can be performed on the nearest replacement sector, and
Access to the Kuta and its replacement sector
The shortest distance possible and access to replacement sectors
The seek time to do can be shortened.

【0125】なお、一次及び二次の交替領域を有する記
憶媒体に対しても上述した各交替処理を実施することが
できる。
The above-described replacement processing can be performed on a storage medium having primary and secondary replacement areas.

【0126】[0126]

【発明の効果】以上説明してきたように、この発明によ
る情報記憶装置における交替処理方法によれば、記憶媒
体に発生した欠陥セクタに最も近い空いている交替セク
タに交替処理を施すので、欠陥セクタの交替セクタにア
クセスするシーク時間を短縮することができる。
As described above, according to the replacement processing method in the information storage device of the present invention, the replacement processing is performed on the free replacement sector closest to the defective sector generated on the storage medium. The seek time for accessing the replacement sector can be shortened.

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

【図1】この発明の参考技術となる交替処理を示すフロ
ーチャートである。
FIG. 1 is a flowchart showing a replacement process which is a reference technique of the present invention.

【図2】この発明の実施例及び参考技術となる情報記憶
装置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an information storage device according to an embodiment of the present invention and a reference technique .

【図3】図2の記憶媒体1の記録面のフォーマットの一
例を示す説明図である。
3 is an explanatory diagram showing an example of a format of a recording surface of the storage medium 1 of FIG.

【図4】この発明の参考技術となる交替処理を図3の記
憶媒体の記録面に施したときの説明図である。
4 is an explanatory diagram when a replacement process, which is a reference technique of the present invention, is applied to a recording surface of the storage medium of FIG.

【図5】同じくその説明図である。FIG. 5 is an explanatory view of the same.

【図6】さらに同じくその説明図である。FIG. 6 is also an explanatory diagram thereof.

【図7】さらにまた同じくその説明図である。FIG. 7 is an explanatory view of the same.

【図8】この発明の参考技術となる他の交替処理を示す
フローチャートである。
FIG. 8 is a flowchart showing another replacement process which is a reference technique of the present invention.

【図9】この発明の参考技術となるさらに他の交替処理
を示すフローチャートである。
FIG. 9 is a flowchart showing still another replacement process which is a reference technique of the present invention.

【図10】この発明の参考技術となる交替処理を図3の
フォーマットの記録面に施すときの説明図である。
10 is an explanatory diagram when a replacement process, which is a reference technique of the present invention, is applied to a recording surface of the format of FIG.

【図11】同じくその説明図である。FIG. 11 is an explanatory view of the same.

【図12】さらに同じくその説明図である。FIG. 12 is also an explanatory diagram thereof.

【図13】同じくその説明図である。FIG. 13 is an explanatory diagram of the same.

【図14】さらに同じくその説明図である。FIG. 14 is also an explanatory diagram thereof.

【図15】さらにまた同じくその説明図である。FIG. 15 is an explanatory view of the same.

【図16】この発明の参考技術となるさらにまた他の交
替処理を示すフローチャートである。
FIG. 16 is a flowchart showing still another replacement process which is a reference technique of the present invention.

【図17】この発明の実施例の交替処理を示すフローチ
ャートである。
FIG. 17 is a flowchart showing a replacement process according to the embodiment of the present invention.

【図18】図2の記憶媒体1の記録面の他のフォーマッ
トの一例を示す説明図である。
18 is an explanatory diagram showing an example of another format of the recording surface of the storage medium 1 of FIG.

【図19】この発明の実施例の交替処理を図18のフォ
ーマットの記録面に施すときの説明図である。
FIG. 19 is an explanatory diagram when the replacement process of the embodiment of the present invention is applied to the recording surface of the format of FIG. 18.

【図20】同じくその説明図である。FIG. 20 is an explanatory diagram of the same.

【図21】さらに同じくその説明図である。FIG. 21 is also an explanatory diagram thereof.

【図22】同じくその説明図である。FIG. 22 is an explanatory diagram of the same.

【図23】さらに同じくその説明図である。FIG. 23 is also an explanatory diagram thereof.

【図24】同じくその説明図である。FIG. 24 is also an explanatory diagram thereof.

【図25】さらに同じくその説明図である。FIG. 25 is also an explanatory diagram thereof.

【図26】さらにまた同じくその説明図である。FIG. 26 is also an explanatory diagram thereof.

【図27】そしてまた同じくその説明図である。FIG. 27 is also an explanatory view of the same.

【図28】この発明の他の交替処理を示すフローチャー
トである。
FIG. 28 is a flowchart showing another replacement process of the present invention.

【図29】従来の交替処理を示すフローチャートであ
る。
FIG. 29 is a flowchart showing a conventional replacement process.

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

1:情報記憶装置 2:記憶媒体 3:リード/ライト制御部 4:CPU 5:プログラムROM 6:RAM 7:インタフェース(I/F) 10:記憶媒体の記録面 1: Information storage device 2: Storage medium 3: Read / write control unit 4: CPU 5: Program ROM 6: RAM 7: Interface (I / F) 10: Recording surface of storage medium

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ユーザがデータを書き込む複数のセクタ
からなるユーザ領域と、該ユーザ領域の欠陥セクタに対
する複数の交替処理用の交替セクタからなる交替領域と
を有するグループを複数備えた記憶媒体に対して、デー
タの書き込みを行なう書込手段と、前記記憶媒体に記憶
されたデータを読み出す読出手段と、前記ユーザ領域に
前記書込手段によってデータを書き込めない欠陥セクタ
が発生したとき、前記交替領域の空いている交替セクタ
にデータを書き込む交替処理を施す交替処理手段とを備
えた情報記憶装置における交替処理方法であって、 前記各交替領域を交替セクタ数がそれぞれ1/2になる
ように前半領域と後半領域に分割し、発生した欠陥セク
タの直前の交替領域の後半領域と直後の交替領域の前半
領域のうち近い方の領域の空いている交替セクタから遠
い方の領域の空いている交替セクタの順番で交替処理を
施し、そのいずれの領域にも空いている交替セクタがな
かったときには、前記直前の交替領域の前半領域と直後
の交替領域の後半領域のうち近い方の領域の空いている
交替セクタから遠い方の領域の空いている交替セクタの
順番で交替処理を施し、そのいずれにも空いている交替
セクタがなかったとき、さらに前方の交替領域の後半領
域と後方の交替領域の前方領域のうち近い方の領域の空
いている交替セクタから遠い方の領域の空いている交替
セクタの順番で交替処理を施し、そのいずれの領域にも
空いている交替セクタがなかったときには、前記前方の
交替領域の前半領域と後方の交替領域の後半領域のうち
近い方の領域の空いている交替セクタから遠い方の領域
の空いている交替セクタの順番で交替処理を施すことを
特徴とする交替処理方法。
1. A storage medium provided with a plurality of groups each having a user area including a plurality of sectors into which data is written by a user and a replacement area including a plurality of replacement sectors for replacement processing with respect to a defective sector of the user area. Writing means for writing data, reading means for reading data stored in the storage medium, and when a defective sector in which data cannot be written by the writing means occurs in the user area, the replacement area a replacement processing method definitive information storage device and a replacement processing means for performing a replacement process of writing data to alternate sector vacant, the first half of each spare area so that the number of alternate sectors becomes 1/2, respectively It was divided into regions and the latter area, Ryo in the first half area sac Chi the near towards the second half of the area and immediately after the replacement area of the spare area of the previous generation defect sector Far away from the vacant replacement sector of the
When replacement processing is performed in the order of the vacant replacement sector in the other area, and if there is no vacant replacement sector in any of those areas, the first half area of the immediately preceding replacement area and the second half area of the immediately following replacement area of the replacement sector which is vacant farther area from the replacement sector that are vacant area towards the near Chi sac
Replacement processing is performed in order, and there is a free replacement
When there are no sectors, the second half of the replacement area further ahead
The sky in the area that is closer to the front area of the area or the rear replacement area
Free replacement in an area farther from the replacement sector
The replacement process is performed in the order of the sectors, and the
If there is no spare replacement sector,
Of the first half area of the spare area and the second half area of the rear spare area
Area far from the vacant replacement sector in the near area
The replacement processing method is characterized in that the replacement processing is performed in the order of the empty replacement sectors .
【請求項2】 請求項1記載の交替処理方法において、
発生した欠陥セクタの前方の交替領域では該交替領域の
最後の交替セクタから前方に向かって順次空いている交
替セクタを探し、後方の交替領域では該交替領域の最初
の交替セクタから後方に向かって順次空いている交替セ
クタを探すことを特徴とする交替処理方法。
2. A replacement processing method according to claim 1 Symbol placement,
In the spare area in front of the defective sector that has occurred, a spare sector that is sequentially vacant from the last spare sector in the spare area is searched forward, and in the rear spare area, from the first spare sector in the spare area to the rear. A replacement processing method, characterized by sequentially searching for available replacement sectors.
JP18495794A 1994-08-05 1994-08-05 Replacement processing method in information storage device Expired - Fee Related JP3530231B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18495794A JP3530231B2 (en) 1994-08-05 1994-08-05 Replacement processing method in information storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18495794A JP3530231B2 (en) 1994-08-05 1994-08-05 Replacement processing method in information storage device

Publications (2)

Publication Number Publication Date
JPH0850766A JPH0850766A (en) 1996-02-20
JP3530231B2 true JP3530231B2 (en) 2004-05-24

Family

ID=16162313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18495794A Expired - Fee Related JP3530231B2 (en) 1994-08-05 1994-08-05 Replacement processing method in information storage device

Country Status (1)

Country Link
JP (1) JP3530231B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100442236B1 (en) * 1998-09-07 2004-10-14 엘지전자 주식회사 Method for searching available good spare block of optical recording medium
JP2011014211A (en) 2009-07-06 2011-01-20 Hitachi-Lg Data Storage Inc Apparatus and method for recording/reproducing on/from medium

Also Published As

Publication number Publication date
JPH0850766A (en) 1996-02-20

Similar Documents

Publication Publication Date Title
US8065473B2 (en) Method for controlling memory card and method for controlling nonvolatile semiconductor memory
JP2883791B2 (en) Storage medium and control method thereof
US5983319A (en) Information recording and reproduction apparatus and a method of data caching including read-ahead capability
US7284103B2 (en) Data copy method
JPH1031560A (en) Method for executing instruction in cd-rom disk driver
JPS6238731B2 (en)
US6108147A (en) Selective disk partitioning/duplicating method for duplication a hard disk
US6535995B1 (en) Prototype-based virtual in-line sparing
JP3530231B2 (en) Replacement processing method in information storage device
US7191360B2 (en) Method of data backup and recovery
JP2000330924A (en) Multipath system of storage device
CN101620570B (en) Memory module dynamic backup management system and method therefor
JP2665180B2 (en) Disk cache buffer allocation method
JP3092663B2 (en) Main memory swapping method
JP3439364B2 (en) Storage and retrieval methods for undefined length data
JP2000148587A (en) Storage device and method for determining storage area
JP2000172542A (en) File access system
JPH07326166A (en) Optical disc access apparatus
JPH0793886A (en) Information storage device
JPS63862A (en) Record managing system for recording medium
JPH0883213A (en) Storage device including cache memory
JPH0279118A (en) Data management system
JPH0651913A (en) Magnetic disk device
JPS615331A (en) Disk device
JPH06208509A (en) Disk cache controller

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040217

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040227

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090305

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees