JPH03260955A - Skin processing method in disk system - Google Patents

Skin processing method in disk system

Info

Publication number
JPH03260955A
JPH03260955A JP5866590A JP5866590A JPH03260955A JP H03260955 A JPH03260955 A JP H03260955A JP 5866590 A JP5866590 A JP 5866590A JP 5866590 A JP5866590 A JP 5866590A JP H03260955 A JPH03260955 A JP H03260955A
Authority
JP
Japan
Prior art keywords
block
address
defective
blocks
defective block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5866590A
Other languages
Japanese (ja)
Inventor
Haruki Hayashi
林 春樹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP5866590A priority Critical patent/JPH03260955A/en
Publication of JPH03260955A publication Critical patent/JPH03260955A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To reduce the number of times of memory access for retrieval and to make access a disk without lowering the performance of recording/ reproduction by providing a defect map. CONSTITUTION:A table generating means 11 generates the defect map conforming the sector address of a defective block retrieved by the retrieval of the defective block to the size of deviation of the number of sectors to the next defective block. Next, a defect map searching means 12 finds a sector address Am near to a block address K out of the sector addresses in the defect map and the size M of the deviation by performing binary search. After that, a track position corresponding to the block address K on the disk is calculated by a track position calculation means 13 based on the size M of the deviation and the block address K. In such a way, it is possible to reduce the number of times of the memory access for retrieval.

Description

【発明の詳細な説明】 〔概要] 磁気ディスクや光ディスクに記録されているブロックの
うち欠陥のあるブロックを見つけると、一つずらしてブ
ロックを割り当てるスキップ処理方法に関し、 記録/再生の性能を低下せずにディスクのアクセスを可
能とすることを目的とし、 ディスクに形成された多数のブロックのうち欠陥ブロッ
クを通常の記録/再生動作に先立ち予め検索し、欠陥ブ
ロックが見つかったときは該欠陥ブロックの代りに該欠
陥ブロックの次の正常ブロックを使用する処理を行なう
ディスクシステムにおけるスキップ処理方法において、
前記欠陥ブロックの検索により、検索した欠陥ブロック
のセクタアドレスと次の欠陥ブロックまでのセクタ数ど
ずれの大きさとを対応させたディフェクトマツプを作成
する表作成手段と、記録/再生コマンドと記録/再生す
べきブロックの最初のブロックアドレスにと処理ブロッ
ク数しとを受領し、パイナリサーヂにより該ディフェク
トマツプ中の該セクタアドレスのうち該最初のブロック
アドレスにに近いセクタアドレスAT11とずれの大き
さMを求めるディフェクトマツプリーチ手段と、該ずれ
の大きさMと前記ブロックアドレスにとに基づいて前記
ディスク上における該ブロックアドレスにに相当するト
ラック装置を算出するトラック位置算出手段とを含むよ
うに構成する。
[Detailed Description of the Invention] [Summary] When a defective block is found among the blocks recorded on a magnetic disk or optical disk, the skip processing method shifts the block by one position and allocates the block, reducing recording/playback performance. The purpose of this system is to search for defective blocks among the large number of blocks formed on the disk before normal recording/playback operations, and when a defective block is found, to make it possible to access the disk. In a skip processing method in a disk system that uses a normal block following the defective block instead,
a table creation means for creating a defect map in which the sector address of the searched defective block corresponds to the number of sectors up to the next defective block by searching for the defective block; a recording/playback command; and a recording/playback command; The first block address of the block to be processed and the number of blocks to be processed are received, and the sector address AT11 that is closest to the first block address among the sector addresses in the defect map and the size of the deviation M are determined by pinary surge. The apparatus is configured to include a defect pine reaching means, and a track position calculating means for calculating a track device corresponding to the block address on the disk based on the magnitude M of the deviation and the block address.

〔産業上の利用分野〕[Industrial application field]

本発明はディスクシステムにおけるスキップ処理方法に
係り、特に磁気ディスクや光ディスクに記録されている
ブロックのうち、欠陥のあるブロックを見つけると、一
つずらしてブロックを割り当てるスキップ処理方法に関
する。
The present invention relates to a skip processing method in a disk system, and more particularly to a skip processing method in which when a defective block is found among blocks recorded on a magnetic disk or an optical disk, the block is shifted by one position and assigned.

磁気ディスク装置や光デイスク装置では、使用する媒体
(すなわち、磁気ディスクや光ディスク)上に同心円状
又は渦巻状にデータを記録するためのトラックが形成さ
れている。各トラックは第7図(A)及び(B)に模式
的に示す如く、インデックスで始まりインデックスで終
わり、また各トラックは細かくセクタに分割されている
。各セクタ(ブロックともいう)は第8図に模式的に示
す如く、ID部1とデータ部2とに分けられ、ID部1
にセクタのアドレスとトラックのアドレスが書かれ、デ
ータ部2には一定の長さのデータが書かれる。また、I
D部1及びデータ部2の前後には、回転変動やデータ書
き込み時〈記録時〉のタイミング誤差からデータを保護
するためにギャップ3が設けられている。
In magnetic disk devices and optical disk devices, tracks for recording data concentrically or spirally are formed on the medium (ie, magnetic disk or optical disk) used. As schematically shown in FIGS. 7(A) and 7(B), each track begins and ends with an index, and each track is finely divided into sectors. Each sector (also called a block) is divided into an ID part 1 and a data part 2, as schematically shown in FIG.
A sector address and a track address are written in , and data of a certain length is written in data section 2 . Also, I
Gaps 3 are provided before and after the D portion 1 and the data portion 2 in order to protect data from rotational fluctuations and timing errors during data writing (recording).

このようなフォーマットで記録/再生されるディスク(
媒体)において、傷その他の原因で正常に再生データが
得られないブロックが存在する場合、そのような欠陥ブ
ロックは記録/再生に使用しないようにして、交代のブ
ロックを割り当てるが、その際、欠陥ブロックの検索に
できるだけ時間がかからないようにする必要がある。
Discs recorded/played in such formats (
If there is a block on the media that cannot reproduce data normally due to scratches or other reasons, such defective block will not be used for recording/playback and a replacement block will be allocated. It is necessary to minimize the amount of time it takes to search for blocks.

(従来の技術) 欠陥ブロックの代りに別の正常なブロックを割り当てる
方法として、従来より■スキップ処理と■リニア処理の
2つの方法が知られている。スキップ処理は物理的に連
続する各セクタに順次付されたセクタ番弓のうち、第9
図に示す如くセクタアドレス゛4″が上記欠陥ブロック
の位置を示しているものとすると、その欠陥ブロックを
1つずらしてセクタアドレス゛5″のセクタを使用する
方法で、使用するセクタにブロックアドレスを付す。従
って、ここでは、ブロックアドレス“4゛′はセクタア
ドレス゛5″のセクタ(ブロック)を示している。
(Prior Art) As a method of allocating another normal block in place of a defective block, two methods have been known: (1) skip processing and (2) linear processing. Skip processing is performed by selecting the 9th sector number sequentially assigned to each physically consecutive sector.
Assuming that sector address "4" indicates the position of the defective block as shown in the figure, a block address is assigned to the sector to be used by shifting the defective block by one and using the sector with sector address "5". Therefore, here, block address "4" indicates the sector (block) of sector address "5".

一方、リニア処理は通常の記録/再生に使用する領域以
外に交代用セクタが記録された交代エリアをディスク上
に予め確保しておき、第10図に示す如く、欠陥ブロッ
クに代えてその交代エリアのブロックを割り当て欠陥ブ
ロックのセクタアドレスを、交代したブロックのブロッ
クアドレスとする処理である。
On the other hand, in linear processing, a replacement area in which a replacement sector is recorded is secured in advance on the disk in addition to the area used for normal recording/playback, and the replacement area is used in place of the defective block, as shown in Figure 10. This is a process in which a block is allocated and the sector address of the defective block is set as the block address of the replaced block.

上記の欠陥ブロックを含むディスクを使用して、正常に
データの記録(書き込み)/再生(読み取り)を行なう
ためには、制御装置が通常の記録/再生に先立って欠陥
ブロックの位置を正確に認識する必要がある。
In order to properly record (write)/playback (read) data using a disk containing the above defective blocks, the control device must accurately recognize the position of the defective block prior to normal recording/playback. There is a need to.

通常、5C8Iインタフエースを使用した装置では、リ
ードコマンド、ライトコマンドが使用される。その場合
にどこのブロックに対して記録/再生を行なうかはブロ
ックアドレスで指定される。
Normally, devices using the 5C8I interface use read commands and write commands. In this case, which block is to be recorded/reproduced is designated by the block address.

更にそのブロックからの処理ブロック数も指定される。Furthermore, the number of blocks to be processed from that block is also specified.

制御装置は実際の記録/再生動作のためには、トラック
アドレスとセクタアドレスを知る必要がある。そのため
制御装置内のメモリにはスキップ処理の場合は第11図
(A)に、又リニア処理の場合は同図(B)に示す如き
フォーマットの欠陥情報が書かれていて、制御装置はそ
れを読み取ることによって欠陥ブロックを回避して正常
なセクタにのみデータの記録/再生動作を行なわせる。
The control device needs to know the track address and sector address for actual recording/reproducing operations. Therefore, defect information in the format shown in Figure 11 (A) in the case of skip processing and as shown in Figure 11 (B) in the case of linear processing is written in the memory in the control device, and the control device reads it. By reading, defective blocks are avoided and data recording/reproducing operations are performed only in normal sectors.

ここで、スキップ処理はリニア処理に比べて、特別に交
代エリアを設ける必要はないので、ディスクの記録/再
生面をより有効に使用でき、また第11図<A>、(B
)に示したようにメモリに記憶する欠陥情報の情報ビッ
ト数も少ないという利点を有する。本発明はこのスキッ
プ処理に関する。
Here, compared to linear processing, skip processing does not require a special replacement area, so the recording/playback surface of the disc can be used more effectively.
), it has the advantage that the number of information bits of defect information stored in the memory is also small. The present invention relates to this skip processing.

〔発明が解決しJ:うとする課題〕[Problems that the invention attempts to solve]

しかるに、スキップ処理の場合はブロック番号と実際の
トラックアドレス、セクタアドレスが欠陥ブロックの数
によってずれてくる。第9図の例では、ブロックアドレ
ス゛4″以降のブロックアドレスとセクタアドレスとに
ずれが生じる。いくつずれるかは、コマンドで指定され
たブロックアドレスより以前に欠陥ブロックがいくつあ
るかによって決まる。そのためには、欠陥情報を一番初
めから検索して欠陥ブロックの数を数えることが必要と
なる。
However, in the case of skip processing, the block number, actual track address, and sector address deviate depending on the number of defective blocks. In the example shown in FIG. 9, there will be a shift between the block address and sector address after block address "4". The amount of shift will depend on how many defective blocks exist before the block address specified by the command. To do this, it is necessary to search for defect information from the beginning and count the number of defective blocks.

このため、従来のスキップ処理では、欠陥ブロックの数
が少ないときは検索に時間がかからないから、記録/再
生動作の性能が低下しないが欠陥ブロックの数が成る数
取上に増加すると、欠陥ブロックの検索に時間がかかり
記録/再生動作の性能が低下してしまう(例えば欠陥ブ
ロックの数が200個ぐらいであれば、平均して100
回ぐらいのメモリアクセスとデータの比較が必要となる
)。
For this reason, in conventional skip processing, when the number of defective blocks is small, the search does not take long, so the performance of recording/playback operations does not deteriorate, but when the number of defective blocks increases, the number of defective blocks increases. The search takes time and the performance of recording/playback operations deteriorates (for example, if the number of defective blocks is about 200, the number of defective blocks is 100 on average).
(requires approximately 100 memory accesses and data comparisons).

本発明は上記の点に鑑みなされたもので、記録/再生の
性能を低下させずにディスクのアクセスを可能とするデ
ィスクシステムにおけるスキップ処理方法を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a skip processing method in a disk system that enables disk access without deteriorating recording/reproducing performance.

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

第1図は本発明方法の原理説明図を示す11本発明は通
常のスキップ処理方法に、表作成手段11゜ディフェク
トマツプサーチ手段12及びトラック位置算出手段13
を有する構成としたものである。
FIG. 1 shows an explanatory diagram of the principle of the method of the present invention 11 The present invention includes a conventional skip processing method including a table creation means 11 , a defect map search means 12 , and a track position calculation means 13 .
The configuration has the following.

ここで、表作成手段11は欠陥ブロックの検索により、
検索した欠陥ブロックのセクタアドレス(トラックのア
ドレスとセクタのアドレスより構成)と次の欠陥ブロッ
クまでのセクタ数とずれの大きさとを対応させたディフ
ェクトマツプを作成する。
Here, the table creation means 11 searches for defective blocks to
A defect map is created in which the sector address (consisting of track address and sector address) of the searched defective block corresponds to the number of sectors up to the next defective block and the size of the deviation.

また、ディフェクトマツプサーチ手段12は記録/再生
コマンドと記録/再生すべきブロックの最初のブロック
アドレスにと処理ブロック数りとを受領し、バイナリサ
ーチによりディフェクトマツプ中のセクタアドレスのう
ち上記ブロックアドレスにに近いセクタアドレスATn
とずれの大きさMを求める。しかる後に、本発明ではト
ラック位置算出手段13により、ずれの大きさMとブロ
ックアドレスにとに基づいてディスク上におCノるブロ
ックアドレスにに相当するトラック位置を算出する。
Further, the defect map search means 12 receives the recording/reproducing command, the first block address of the block to be recorded/reproduced, and the number of blocks to be processed, and performs binary search to find the block address among the sector addresses in the defect map. Sector address ATn close to
Find the magnitude M of the deviation. Thereafter, in the present invention, the track position calculation means 13 calculates the track position corresponding to the block address C on the disk based on the deviation size M and the block address.

〔作用〕[Effect]

本発明では表作成手段11によりディフェクトマツプを
まず作成する。ここで、ディスクの1−ラックの状態が
第2図に示す如く、セクタアドレスAmとセクタアドレ
スΔm+1の夫々のブロックに欠陥があるものとすると
、表作成手段11は欠陥ブロックのセクタアドレスAa
と次の欠陥アドレス(セクタアドレスAm+1)までの
ブロック数Lmとずれの大きさM(これはセクタアドレ
スATI+以前の欠陥ブロック数によって決まる)とを
対応させたディフェクトマツプを作成する。
In the present invention, a defect map is first created by the table creation means 11. Here, if the state of the 1-rack of the disk is as shown in FIG. 2, and it is assumed that each of the blocks with sector address Am and sector address Δm+1 is defective, the table creation means 11 will write the sector address Aa of the defective block.
A defect map is created in which the number of blocks Lm up to the next defective address (sector address Am+1) corresponds to the size of deviation M (this is determined by the number of defective blocks before sector address ATI+).

次にディフェクトマツプサーチ手段12により上記のデ
ィフェクトマツプ中からバイナリサーチにより記録/再
生すべきブロックの最初のブロックアドレス(第2図に
Kで示す〉に近いセクタアドレスとずれの大きさMを求
めた後、トラック位置算出手段13によりブロックアド
レスにに相当 0 するディスク上におけるトラック位置くすなわち、トラ
ックアドレスとセクタアドレス)を算出する。
Next, the defect map search means 12 performs binary search from the defect map to find a sector address close to the first block address (indicated by K in FIG. 2) of the block to be recorded/reproduced and the size of the deviation M. Thereafter, the track position calculation means 13 calculates the track position on the disk corresponding to the block address (ie, track address and sector address).

その後、従来と同様にして、算出されたトラック位置か
らデータの記録/再生が行なわれる。なお、記録/再生
すべき複数のブロック内に上記の欠陥ブロックが存在す
る場合は、その欠陥ブロックの前後の各ブロックに分割
して記録/再生を行なう。
Thereafter, data is recorded/reproduced from the calculated track position in the same manner as in the prior art. Note that if the defective block is present in a plurality of blocks to be recorded/reproduced, recording/reproduction is performed by dividing the defective block into blocks before and after the defective block.

一般にN個の項目をバイナリザーヂする場合のサーヂ回
数は最大でもeO!J2N回であり、よって、このサー
ヂ回数はNが5以上の場合にはN/2より小である。
Generally, when performing a binary surge on N items, the maximum number of surges is eO! J2N times, and therefore, the number of surges is smaller than N/2 when N is 5 or more.

〔実施例〕〔Example〕

第3図は本発明の一実施例の動作説明用フローチャー1
・を示す。また、第4図は本発明方法を実現する制御装
置の一実施例の構成図を示す。本実施例は第3図に示す
フローチャー1−に従った動作を行なうものであり、こ
れは第4図の制m装置40にj:・)で実現される。そ
こで、まず制御装置40の構成について第4図と共に説
明する。制御部@40はディスク(以下、光ディスクを
例にとって説明する)に対してデータの記録/再生を行
なう装置(ドライブ)に接続される一方、記録/再生の
別、及びどのブロックからどのブロックまで記録/再生
を行なうかの指示を行なう上位装置(図示せず)とに接
続されている。
FIG. 3 is a flowchart 1 for explaining the operation of an embodiment of the present invention.
・Indicates. Further, FIG. 4 shows a configuration diagram of an embodiment of a control device that implements the method of the present invention. This embodiment performs the operation according to the flowchart 1- shown in FIG. 3, and this is realized by the m control device 40 shown in FIG. First, the configuration of the control device 40 will be explained with reference to FIG. 4. The control unit @ 40 is connected to a device (drive) that records/reproduces data on a disc (hereinafter, an optical disc will be explained as an example), and also controls the recording/reproduction and from which block to which block. / is connected to a host device (not shown) that issues an instruction as to whether or not to perform playback.

41は上記上位装置との間のデータ転送を制御する上位
装置インタフェース、42はデータのバッファ、43は
ドライブインタフェースで、バッファ42と上記ドライ
ブとのインタフェースをとる。バッファ42は再生(リ
ード:RE’AD>コマンドが上位装置から発行された
場合には、ドライブで読み取られたデータがドライブ・
インタフェース43を介して入力され、これを王位装置
インタフェース41を介して上位装置へ転送する。他方
、記録(ライト:WRITF>コマンドが上位装置から
発行された場合には、上位装置から上位装置インタフェ
ース41を介してバッフp42に入力されたデータは、
更にこのバッファ42から1 2 ドライブインタフェース43を経由してドライブへ転送
される。
41 is a host device interface that controls data transfer with the host device, 42 is a data buffer, and 43 is a drive interface, which interfaces between the buffer 42 and the drive. The buffer 42 is used for playback (read: When the RE'AD> command is issued from the host device, the data read by the drive is transferred to the drive.
It is input via the interface 43 and transferred to the host device via the throne device interface 41. On the other hand, when the record (write: WRITF> command is issued from a higher-level device), the data input from the higher-level device to the buffer p42 via the higher-level device interface 41 is
Furthermore, the data is transferred from this buffer 42 to the drive via the 12 drive interface 43.

MPU45は制御部@40の全体を制御するもので、バ
ッファ制御部44を介してバッファ42を制御したり、
上位装置インタフェース41を介して送られてきたコマ
ンドを解釈して実行する。
The MPU 45 controls the entire control unit @ 40, and controls the buffer 42 via the buffer control unit 44,
It interprets and executes commands sent via the host device interface 41.

MPU45を動かす命令が、制御記憶部46にマイクロ
コードとして格納されている。MPU45はコマンドを
受領すると、それがドライブに対する命令であると解釈
したときはドライブインタフェース43を介してドライ
ブへ細かい命令を送る。
Instructions for operating the MPU 45 are stored in the control storage section 46 as microcode. When the MPU 45 receives a command and interprets it as a command to the drive, it sends detailed commands to the drive via the drive interface 43.

また、MPtJ45はディフェクトマツプ用メモリ47
にディフェクトマツプ情報を書き込んだり、読み出した
りする。
Moreover, MPtJ45 is a defect map memory 47.
Writes and reads defect map information to and from the memory.

次に制御装置40内のMPU45の動作について第3図
、第5図及び第6図と共に説明する。第3図において、
MPU45がドライブからのノットレディーツーレディ
ー (Not  Ready  t。
Next, the operation of the MPU 45 in the control device 40 will be explained with reference to FIGS. 3, 5, and 6. In Figure 3,
MPU45 is Not Ready-to-Ready from the drive.

Ready)の割り込みを検出するどくステップ21)
、媒体くここでは光ディスク)の全1−ラックに対して
所定データの記録と再生を行なって欠陥ブロックを検索
させ、それに基づいてディフェクトマツプを作成し、そ
れを第4図のディフェクトマツプ用メモリ47に格納す
る〈ステップ22)。
Step 21)
Predetermined data is recorded and reproduced on all racks of the medium (in this case, an optical disk) to search for defective blocks, create a defect map based on it, and store it in the defect map memory 47 shown in FIG. (Step 22).

このステップ22が前記した表作成手段11に相当する
This step 22 corresponds to the table creation means 11 described above.

上記デイフェン1〜マツプは第5図に示づ−如く、スキ
ップ処理識別子51.欠陥ブロックの数52の各欄があ
り、また欠陥ブロックのあるセクタアドレスへ1〜An
と、次の欠陥ブロックまでのブロック数(距離)1−1
〜Lhと、ずれの大きさ1〜Nとが夫々各欠陥ブロック
毎に対応して配置された対応表である。
As shown in FIG. 5, the defen1 to map above has a skip processing identifier 51. There are 52 columns for the number of defective blocks, and 1 to An to the sector address where the defective block is located.
and the number of blocks (distance) to the next defective block 1-1
This is a correspondence table in which .about.Lh and deviation sizes 1 to N are arranged in correspondence with each defective block.

次に、上記のディフェクトマツプ作成後、ステップ23
で媒体に対してリード/ライト(記録/再生)可能な状
態としく媒体の回転数を定常回転数まで上げるなど〉、
ステップ24で上位装置からリード/ライトのコマンド
を受は付ける。続いて、上位装置から送られてきた、記
録/再生すべきブロックの最初のブロックアドレスにと
、記録 3 4 /再生すべきブロックの数りとを受領しくステップ25
〉、バイナリサーチによりKとメモリ47から読み出し
たディフェクトマツプのセクタアドレスとを比較し、隣
接する2つの欠陥ブロックを示すセクタアドレスATI
IとAm+1 との間に、ブロックアドレスKが入るよ
うなA711を求める(ステップ26〉。そして、この
セクタアドレスArrlに対応するずれの大きさMを第
5図のディフェクトマツプから求める(ステップ27)
。以上のステップ25〜27が前記したディフェクトマ
ツプサーチ手段12に相当する。
Next, after creating the above defect map, step 23
to make the medium read/write (record/playback) possible and increase the rotation speed of the medium to a steady rotation speed.
At step 24, read/write commands are accepted from the host device. Next, step 25 receives the first block address of the block to be recorded/played and the number of blocks to be recorded/played sent from the host device.
〉, K is compared with the sector address of the defect map read from the memory 47 by binary search, and the sector address ATI indicating two adjacent defective blocks is determined.
Find A711 such that block address K is placed between I and Am+1 (step 26). Then, find the deviation size M corresponding to this sector address Arrl from the defect map shown in FIG. 5 (step 27).
. The above steps 25 to 27 correspond to the defect map search means 12 described above.

次に、ブロックアドレスにとずれの大きさMとのfO(
K+M)を1トラック当りのセクタ数で除して得られる
商をトラックアドレスとして算出しくステップ28)、
その余りをセクタアドレスとして算出する(ステップ2
9)。すなわち、このステップ28及び29が前記トラ
ック位置算出手段13に相当し、記録又は再生すべきブ
ロック群の最初のブロックアドレスにに相当する、媒体
上のトラック位置が求められる。
Next, fO(
Calculate the quotient obtained by dividing K+M) by the number of sectors per track as the track address.Step 28)
Calculate the remainder as a sector address (step 2
9). That is, steps 28 and 29 correspond to the track position calculating means 13, and the track position on the medium corresponding to the first block address of the block group to be recorded or reproduced is determined.

次に、ブロックアドレス1〈から始めてLブロック記録
/再生する場合に、処理の途中で次の欠陥ブロックに遭
遇するかをディフェクトマツプから判定する(ステップ
30.31>。
Next, when recording/reproducing L blocks starting from block address 1<, it is determined from the defect map whether the next defective block will be encountered during the process (step 30.31>).

処理の途中で次の欠陥ブロックに遭遇しない場合は、ト
ラック状態とブロックアドレスにとの関係は第6図(A
)に示す如くになっている場合であり、このとぎMPt
J45はステップ28.29で算出したブロックアドレ
スKを示す媒体のトラック位置に、ドライブ内のヘッド
を位置付け、そこからしブロック分記録/又は再生を行
なってデータ転送を行ない(ステップ32)、データ転
送終了でコマンド処理終了となる(ステップ33)。
If the next defective block is not encountered during processing, the relationship between track status and block address is as shown in Figure 6 (A
), and at this point MPt
J45 positions the head in the drive at the track position of the medium indicating the block address K calculated in steps 28 and 29, and performs data transfer by recording/reproducing blocks from there (step 32). Upon completion, the command processing ends (step 33).

他方、処理の途中で次の欠陥ブロックに遭遇する場合は
、トラック状態とブロックアドレスにどの関係は第6図
(B)に示す如くになっている場合であり、このときM
PLI45はブロックアドレスKから次の欠陥ブロック
があるアドレスA m+1までのブロック数之1と残り
のブロック数之2に分割する(ステップ34)。すなわ
ち、L−e5 6 +之2である。続いて、MPU45はブロックアドレス
Kを示す媒体の1〜ラック位置に前記ヘッドを位置付け
、そこから2,1ブロック分のデータを転送させ(ステ
ップ35)、その後ブロックアドレス(K+e1)を示
す媒体のトラック位置にヘッドを位置付け、そこから之
2ブロック分のデータを転送さ一1!(ステップ36)
、その転送の終了で処理終了となる(ステップ37〉。
On the other hand, when the next defective block is encountered during processing, the relationship between the track state and the block address is as shown in FIG. 6(B), and in this case, M
The PLI 45 divides the blocks into 1 block from block address K to address A m+1 where the next defective block is located and 2 blocks (step 34). That is, L-e5 6 +2. Next, the MPU 45 positions the head at the 1 to rack position of the medium indicating the block address K, transfers data for 2.1 blocks from there (step 35), and then moves the head to the track position of the medium indicating the block address (K+e1). Position the head at that position and transfer 2 blocks of data from there! (Step 36)
, the process ends when the transfer ends (step 37).

このように、本実施例によれば、ディフェクトマツプを
設けることにより、検索のためのメモリアクセスの回数
を少なくできる。例えば欠陥ブロックの数が200個ぐ
らいのときは従来は平均100回ぐらいメモリアクセス
が必要であったが、本実施例では約8回(’= e 0
g2200)のメモリアクセスで済み、大幅にメモリア
クセス回数を少なくできるから、記録/再生コマンド処
理の性能の低下を防止することができる。
In this way, according to this embodiment, by providing the defect map, the number of memory accesses for searching can be reduced. For example, when the number of defective blocks is about 200, in the past, memory accesses were required on average about 100 times, but in this embodiment, about 8 times ('= e 0
g2200) memory access, and the number of memory accesses can be significantly reduced, making it possible to prevent performance degradation in recording/playback command processing.

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

上述の川<、本発明によれば、欠陥ブロック位置、欠陥
ブロックから次の欠陥ブロックまでの範囲を示す情報、
及び欠陥ブロックがあるときと全くないときとの物理ア
ドレス(トラックアドレス、セクタアドレス)のずれを
対応表として覚えておき、その表をバイナリ勺−ヂする
ことによって記録/再生の開始ブロックアドレスに相当
するディスク上の物理的トラック位置を目算するように
しているため、欠陥ブロック検索のためのメモリアクセ
ス回数を少なくでき、このことから記録/再生のコマン
ド処理の性能を低下させることなく、ディスクのアクセ
スを可能にできる等の特長を有するものである。
According to the present invention, information indicating the defective block position and the range from the defective block to the next defective block;
Also, remember the difference in physical addresses (track address, sector address) between when there is a defective block and when there is no defective block as a correspondence table, and by converting the table into binary numbers, you can find the address corresponding to the start block address for recording/playback. Since the physical track position on the disk to be processed is calculated, the number of memory accesses required to search for defective blocks can be reduced, and this allows disk access to be performed without degrading the performance of recording/playback command processing. It has features such as being able to make the following possible.

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

第1図は本発明方法の原理説明図、 第2図はトラック状態の説明図、 第3図は本発明の一実施例の動作説明用フロチャート、 第4図は本発明方法を実現する制御l装慟の一実施例の
構成図、 7 8 第5図はディフェクトマツプの一例を示す図、第6図は
トラック状態とブロックアドレスにとの関係の各個を示
す図、 第7図はトラックのフォーマット説明図、第8図はセク
タフォーマットの説明図、第9図はスキップ処理説明図
、 第10図はリニア処理説明図、 第11図は欠陥情報フォーマット説明図である。 図において、 11は表作成手段、 12はディフエクトマップザーチ手段、13はトラック
位置算出手段、 45はマイクロプロセッサ(MPU)、47はデイフェ
ン1〜マツプ用メモリ をボす。 本発明方法の原理説明図 第1vA Q+1 ブロック番号4 6 ノニア処理説明図 第10図
Fig. 1 is an explanatory diagram of the principle of the method of the present invention, Fig. 2 is an explanatory diagram of the track state, Fig. 3 is a flowchart for explaining the operation of an embodiment of the present invention, and Fig. 4 is a control for realizing the method of the present invention. Figure 5 is a diagram showing an example of a defect map, Figure 6 is a diagram showing the relationship between track status and block address, and Figure 7 is a diagram showing the relationship between track status and block address. FIG. 8 is an explanatory diagram of the sector format, FIG. 9 is an explanatory diagram of skip processing, FIG. 10 is an explanatory diagram of linear processing, and FIG. 11 is an explanatory diagram of defect information format. In the figure, 11 is a table creation means, 12 is a defect map search means, 13 is a track position calculation means, 45 is a microprocessor (MPU), and 47 is memory for defen 1 to maps. Diagram for explaining the principle of the method of the present invention. 1vA Q+1 Block number 4 6 Diagram for explaining the nonia process. FIG. 10

Claims (1)

【特許請求の範囲】 ディスクに形成された多数のブロックのうち欠陥ブロッ
クを通常の記録/再生動作に先立ち予め検索し、欠陥ブ
ロックが見つかったときは該欠陥ブロックの代りに該欠
陥ブロックの次の正常ブロックを使用する処理を行なう
ディスクシステムにおけるスキップ処理方法において、 前記欠陥ブロックの検索により、検索した欠陥ブロック
のセクタアドレスと次の欠陥ブロックまでのセクタ数と
ずれの大きさとを対応させたディフエクトマツプを作成
する表作成手段(11)と、記録/再生コマンドと記録
/再生すべきブロックの最初のブロックアドレスKと処
理ブロック数Lとを受領し、バイナリサーチにより該デ
ィフエクトマップ中の該セクタアドレスのうち該最初の
ブロックアドレスにに近いセクタアドレスAmとずれの
大きさMを求めるディフエクトマツプサーチ手段(12
)と、 該ずれの大きさMと前記ブロックアドレスKとに基づい
て前記ディスク上における該ブロックアドレスKに相当
するトラック位置を算出するトラック位置算出手段(1
3)と、 を含むことを特徴とするディスクシステムにおけるスキ
ップ処理方法。
[Claims] A defective block is searched for among a large number of blocks formed on a disk before normal recording/reproduction operations, and when a defective block is found, the next defective block is replaced with the defective block. In a skip processing method in a disk system that performs processing using normal blocks, by searching for the defective block, a defect is generated by associating the sector address of the searched defective block with the number of sectors up to the next defective block and the size of the deviation. A table creation means (11) for creating a map receives a recording/reproduction command, the first block address K of the block to be recorded/reproduced, and the number L of blocks to be processed, and performs a binary search to find the sector in the defect map. Defect map search means (12
), and track position calculation means (1) for calculating a track position corresponding to the block address K on the disk based on the magnitude M of the deviation and the block address K.
3) A skip processing method in a disk system, comprising:
JP5866590A 1990-03-09 1990-03-09 Skin processing method in disk system Pending JPH03260955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5866590A JPH03260955A (en) 1990-03-09 1990-03-09 Skin processing method in disk system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5866590A JPH03260955A (en) 1990-03-09 1990-03-09 Skin processing method in disk system

Publications (1)

Publication Number Publication Date
JPH03260955A true JPH03260955A (en) 1991-11-20

Family

ID=13090884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5866590A Pending JPH03260955A (en) 1990-03-09 1990-03-09 Skin processing method in disk system

Country Status (1)

Country Link
JP (1) JPH03260955A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100425464B1 (en) * 2001-09-22 2004-03-30 삼성전자주식회사 Method for searching defect of disk drive
WO2008056681A1 (en) * 2006-11-07 2008-05-15 Panasonic Corporation Optical disc device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100425464B1 (en) * 2001-09-22 2004-03-30 삼성전자주식회사 Method for searching defect of disk drive
WO2008056681A1 (en) * 2006-11-07 2008-05-15 Panasonic Corporation Optical disc device

Similar Documents

Publication Publication Date Title
KR100188442B1 (en) System and method for decision of destination track in data storage disk drive
KR101077520B1 (en) Data recording/reproducing system, data recording/reproducing method, program, and recording medium
JP2682791B2 (en) Data storage device and method for recording with different linear densities
JPH08129835A (en) Disk device
US20020110070A1 (en) High speed data recording and/or reproducing method and apparatus with increased sector access speed
JP4053234B2 (en) Disk unit
JPH06314174A (en) Information recording medium and information recording and reproducing device
JP2593721B2 (en) Information recording / reproducing device
JPH03260955A (en) Skin processing method in disk system
JPH0434764A (en) Magnetic disc
JP3307529B2 (en) Data processing method and data storage device
JPH05128734A (en) Data recording/reproducing method for magneto-optical disk device
JP4273149B2 (en) Information recording and playback method
JP2623238B2 (en) Information playback method
JPH05210915A (en) Disk device
KR100268386B1 (en) Recording and controlling method of a dvd-ram drive
JP2616097B2 (en) Information recording / reproducing device
JP4228590B2 (en) Storage device
JP2002216426A (en) Information recording system
JPS5891512A (en) Data recording system
JPH05282792A (en) Disk device
JP2000076786A (en) Disk still picture recording method and disk still picture recording and reproducing device
JP2503371B2 (en) Disk system
JPH0628779A (en) Method for recording and controlling data in disk device
JPH10149634A (en) Method and device for recording and reproducing data