JPS6013360A - Storage device - Google Patents

Storage device

Info

Publication number
JPS6013360A
JPS6013360A JP11828783A JP11828783A JPS6013360A JP S6013360 A JPS6013360 A JP S6013360A JP 11828783 A JP11828783 A JP 11828783A JP 11828783 A JP11828783 A JP 11828783A JP S6013360 A JPS6013360 A JP S6013360A
Authority
JP
Japan
Prior art keywords
sector
data
read
counter
memory
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
JP11828783A
Other languages
Japanese (ja)
Inventor
Fumiyasu Baba
馬場 文康
Mikito Ogata
幹人 尾形
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11828783A priority Critical patent/JPS6013360A/en
Publication of JPS6013360A publication Critical patent/JPS6013360A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

PURPOSE:To speed up the reading-out from a replaced area when reading-out from a defective area is accessed by reading out information stored in a memory device when the defective area is accessed. CONSTITUTION:The memory 60 enabled to access bits every bit has bits equal to the number of sectors included in each track of a track part and consists of an IC memory element enabled to execute high speed accessing. Counters 54, 59 are cleared to ''0'' and each bit of the memory 60 is also cleared to ''0''. The contents of a sector address register 52 are added to the upper 6 bits of the counter 54 by an adder 57 and the output of the adder is applied to a write/read part 92. The write/read part 92 checks a sector address part appearing next to a sector mark part, and if a sector address coincident to the output of the adder 57 is detected, reads out the write completion flag part, data part and data check code part of the sector, and applies the read-out data to an error detection correcting circuit 61.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、光デイスク記憶装置等の記憶装置に関し、特
に情報記録領域に不良領域が存在した場合でも、高速な
読出しを可能としたものに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a storage device such as an optical disk storage device, and particularly to one that enables high-speed reading even when a defective area exists in an information recording area.

〔発明の背景〕[Background of the invention]

従来の凪気ディスク記憶装置では、不良領域、例えば記
憶媒体の欠陥による不良領域を読出すと、この不良領域
を補償する交代領域を必ず読出していた。この交代領域
は一般に、不良領域と例えば複数トラック以上離れた位
置にあり、読取りヘッドがこの交代領域への位置決めを
行なうのに長時間を要する。特に光デイスク記憶装置は
構造上の制約から、位置決めのために、母気ディスク記
憶装置に比べて一桁時間が多く必要である。
In conventional low-temperature disk storage devices, when a defective area, for example, a defective area due to a defect in a storage medium, is read, a replacement area to compensate for the defective area is always read. This replacement area is typically located a distance, eg, more than one track, from the defective area, and it takes a long time for the read head to position itself in this replacement area. In particular, optical disk storage devices require an order of magnitude more time for positioning than do blank disk storage devices due to structural limitations.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、記憶装置において、不良領域への読出
しがあった場合に、交代領域の読出しを高速化すること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to speed up reading from a replacement area in a storage device when there is reading from a defective area.

〔発明の詳細な説明〕[Detailed description of the invention]

本発明の特徴とするところは、情報記録領域と情報記録
領域に存在する不良領域のための交代領域の両方を持っ
た記憶装置において、交代領域に記録された情報の写し
を当該交代領域の読出し速度よりも速い読出し速度を持
つ別の記憶装置に格納しておぎ、不良領域がアクセスさ
れた場合には、前記側の記憶装置に格納されている情報
を読出すようにしたことにある。
The present invention is characterized in that in a storage device having both an information recording area and a replacement area for a defective area existing in the information recording area, a copy of information recorded in the replacement area is read out from the replacement area. The information is stored in another storage device that has a faster reading speed than the other storage device, and when the defective area is accessed, the information stored in the storage device on the other side is read out.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を説明する。矛1図は、ディス
ク記憶装置を接続した計算機システムのブロック図であ
る。図において、ディスク記憶装置は制御装置1と駆動
装置2とから成る。
An embodiment of the present invention will be described below. Figure 1 is a block diagram of a computer system to which a disk storage device is connected. In the figure, the disk storage device consists of a control device 1 and a drive device 2.

駆動装置2は装填された礎気記録用あるいは光記録用の
ディスク3を回転させる機構とディスク乙に対する情報
の書込みと読出しを行なう部分を有する。制御装置1は
、中央処理装置100の指示により、駆動装置2の動作
と中央処理装置100と駆動装置2間のデータの流れを
制御する。以上の如きシステムはこの分野でよ(知られ
たものである。
The drive device 2 has a mechanism for rotating a loaded disk 3 for optical recording or optical recording, and a portion for writing and reading information on the disk 3. The control device 1 controls the operation of the drive device 2 and the flow of data between the central processing device 100 and the drive device 2 according to instructions from the central processing device 100 . Systems such as those described above are well known in this field.

牙2図は本実施例で用いられるディスクのトラックを示
す図である。ディスクは、情報記録部どして、複数のト
ランクを有し、これらトラ、ツクは、通常のデータの記
録に用いられるトラック部4と交代用のトラック部5に
分かれろ。
Figure 2 is a diagram showing the tracks of the disk used in this embodiment. The disk has a plurality of trunks as information recording sections, and these trunks are divided into a track section 4 used for recording normal data and a track section 5 for alternate use.

交代用トラック部5は、本実施例の場合、1本とする。In this embodiment, there is one replacement track section 5.

各トランクはセクタと呼ばれる複数の小領域に分割され
ている。
Each trunk is divided into multiple small areas called sectors.

矛3図は牙2図のトラック部4におけるセクタのフォー
マットを示す図である。図において、6はセクタの先頭
であることを示すセクタマーク部、7はセクタを識別す
るためのセクタアドレス部、8はそのセクタがすでに情
報の書込まれたものであるかどうかを示す書込み完了フ
ラグ部、9は中央処理装置から与えられたデータが書込
まれるデータ部、10はデータ部9のエラーを検出し、
それが訂正可能であればそれを訂正するために用いられ
るデータチェックコード部、11は何の情報も記録され
ていないギャップである。なお、他の情報が含まれてい
てもよいが、本発明と直接関係がないので、その説明を
省略する。
Figure 3 is a diagram showing the format of sectors in the track section 4 of Figure 2. In the figure, 6 indicates the sector mark section indicating the beginning of the sector, 7 indicates the sector address section for identifying the sector, and 8 indicates the completion of writing indicating whether information has already been written to the sector. A flag section 9 is a data section into which data given from the central processing unit is written; 10 detects an error in the data section 9;
A data check code section 11 used to correct it if it is correctable is a gap in which no information is recorded. Note that other information may be included, but since it is not directly related to the present invention, a description thereof will be omitted.

、 3 。, 3.

矛4図は、牙2図の交代用トラック部5におけるセクタ
のフォーマットを示す図である。図において、牙6図と
同一の部分には同一の番号を付けである。このセクタは
、トラック部4におけるあるセクタが不良であった場合
に、そのセクタの代わりにデータを記録するために用い
られるものである。以下この代りのセクタを交代セクタ
と呼ぶ。矛3図と異なるのは、データチェックコード部
10の後ろの位置に、その交代セクタが代わりをしてい
る不良セクタのセクタアドレスを記録するための不良セ
クタアドレス部12と、不良セクタアドレス部12のエ
ラーを検出し、それが訂正可能であれば、それを訂正す
るために用いられる不良セクタアドレスチェックコード
部13が付加されている点である。
Figure 4 is a diagram showing the format of sectors in the replacement track section 5 of Figure 2. In the figure, the same parts as in the fang 6 figure are given the same numbers. This sector is used to record data in place of a certain sector in the track section 4 that is defective. Hereinafter, this alternative sector will be referred to as a replacement sector. What is different from Figure 3 is that there is a bad sector address part 12 at the rear of the data check code part 10 for recording the sector address of the bad sector that is being replaced by the replacement sector, and a bad sector address part 12. A defective sector address check code section 13 is added, which is used to detect an error and correct it if it is correctable.

矛3図及び牙4図におけるセクタのセクタアドレス部7
は、トラックを識別するためのトラック番号と各トラッ
ク内でセクタを識別するためのセクタ番号とから成る。
Sector address part 7 of the sector in Figure 3 and Figure 4
consists of a track number for identifying a track and a sector number for identifying a sector within each track.

セクタ番号はトラックの先頭にあるセクタから順番に番
号を設定、 4 。
Sector numbers are set in order from the sector at the beginning of the track, 4.

したものである。本実施例では、セクタマーク部6とセ
クタアドレス部7はディスクの製造段階で書込まれ、こ
の部分での読取りエラーは発生しないものとして説明す
る。
This is what I did. In this embodiment, the sector mark section 6 and the sector address section 7 are written during the manufacturing stage of the disk, and the description will be made assuming that no reading error occurs in these sections.

矛5図は、本発明に基づ(制御装置1と駆動装置2の詳
細を示すブロック図である。
FIG. 5 is a block diagram showing details of the control device 1 and the drive device 2 according to the present invention.

中央処理装置が、ディスク記憶装置にアクセスする場合
には、先ず、いずれのセクタにアクセスするのかを指定
するためのアドレス指定コマンドを力え、次に書込みを
するのか読出しをするのかを指定するための書込みコマ
ンドあるいは読出しコマンドを与える。書込みコマンド
を与えた場合には書込みデータが中央処理装置から制御
装置1に送出される。アドレス指定コマンドには、アク
セスを開始する先頭のセクタのセクタアドレスとアクセ
スの対象となるセクタの数とが示される。この数は単数
でも複数でもよいが、複数の場合には、全て同一のトラ
ンク内に存在し、複数のトラックにまたがらないものと
する。このアドレス指定コマンドで指定されるセクタは
、矛2図のトラック部4の中のセクタである。
When the central processing unit accesses a disk storage device, it first issues an addressing command to specify which sector to access, and then specifies whether to write or read. Give a write command or a read command. When a write command is given, write data is sent from the central processing unit to the control device 1. The addressing command indicates the sector address of the first sector to start accessing and the number of sectors to be accessed. This number may be singular or plural, but if there is more than one, it is assumed that they all exist within the same trunk and do not span multiple tracks. The sector designated by this address designation command is the sector in the track section 4 in Figure 2.

中央処理装置から送出されたコマンドは、制御部51で
受信され、制御部51ばそれに基づいて駆動装置2を含
めた全体の動作を制御する。なお、矛5図においては、
制御部51とそれによって制御される部分との間の信号
線は全て記載されていない。
The command sent from the central processing unit is received by the control unit 51, and the control unit 51 controls the entire operation including the drive device 2 based on the command. In addition, in figure 5 of the spear,
All signal lines between the control unit 51 and the parts controlled by it are not shown.

アドレス指定コマンドが制御部51に与えられると、そ
の中に含まれているセクタアドレス、セクタ数は、それ
ぞれセクタアドレスレジスタ52、セクタ数レジスタ5
乙にセットされる。そしてセクタアドレスレジスタ52
の中のトラック番号は、駆動装置2の中のヘッド駆動部
91に与えられる。これによりヘッド駆動部91は与え
られたトラック番号で示されるディスクのトラック上に
ヘッドを位置付けする。このトラックは矛2図における
トランク部4の中の1つでする。
When an address designation command is given to the control unit 51, the sector address and number of sectors contained therein are determined by the sector address register 52 and sector number register 52, respectively.
It is set to B. and sector address register 52
The track number in is given to the head drive unit 91 in the drive device 2. As a result, the head driving section 91 positions the head on the track of the disk indicated by the given track number. This truck is one of the trunk parts 4 in Figure 2.

この位置付は動作が終了すると、制御部51は中央処理
装置に対し、アドレス指定コマンドの実行が終了したこ
とを通知する。中央処理装置は、この通知を受けて書込
みコマンドか読出しコマンドを送出してくる。以下書込
みコマンドが送出された場合を説明する。メモリ55は
、各ワードが1バイトのメモリで、高速アクセス動作が
可能なICメモリ素子等から成る。刈・2図におけるト
ランク部4の各トラックに含まれるセクタ数を64.各
セクタのデータ部に記録されるデータのバイト数を51
2とすると、メモリ55の容量は32768バイトであ
る。カウンタ54は15ビツトのカウンタである。書込
みコマンドが制御部に与えられると、先ずカウンタ54
がクリアされる。そしてその後中央処理装置から送出さ
れる書込みデータは、メモリ55のカウンタ54で示さ
れるアドレスに1バイト毎に書込まれる。カウンタ54
は書込みが1回行なわれる毎に1だけカウントアンプさ
れる。中央処理装置からの書込みデータがな(なると、
それが制御部51で検出され、最後のデータの書込みに
よりすでにカウントアツプされているカウンタ54の内
容がレジ、 7 。
When this positioning operation is completed, the control unit 51 notifies the central processing unit that execution of the addressing command has been completed. The central processing unit receives this notification and sends out a write command or a read command. The case where a write command is sent will be explained below. The memory 55 is a memory in which each word is 1 byte, and is composed of an IC memory element or the like capable of high-speed access operation. The number of sectors included in each track of the trunk section 4 in Figure 2 is 64. The number of bytes of data recorded in the data section of each sector is 51.
2, the capacity of the memory 55 is 32,768 bytes. Counter 54 is a 15-bit counter. When a write command is given to the control unit, first the counter 54
is cleared. Then, the write data sent from the central processing unit is written one byte at a time to the address indicated by the counter 54 in the memory 55. counter 54
is counted and amplified by 1 every time writing is performed. When there is no write data from the central processing unit,
This is detected by the control unit 51, and the contents of the counter 54, which has already counted up due to the writing of the last data, are stored in the register, 7.

スタ56に移される。この時のカウンタ54は、メモリ
55に書込まれたバイト数に等しい値を示す。
It is moved to the star 56. At this time, the counter 54 indicates a value equal to the number of bytes written to the memory 55.

また中央処理装置から送出される書込みデータのバイト
数は、必ずしも512の整数倍である必要はない。
Further, the number of bytes of write data sent from the central processing unit does not necessarily have to be an integral multiple of 512.

ヘッド駆動部91によるヘッド位置付は動作と、メモリ
55による書込みデータの受信動作とが終了すると、カ
ウンタ54が0にクリアされ、メモリ55の先頭アドレ
スを示すように制御される。
When the head positioning operation by the head drive unit 91 and the reception operation of the write data by the memory 55 are completed, the counter 54 is cleared to 0 and is controlled to indicate the start address of the memory 55.

この後セクタアドレスレジスタ52の内容とカウンタ5
4の上位6ピツトとが加算器57により加算され、その
出力が駆動装置2の中の書込み読出し部92に与えられ
る。この時の加算器57の出力は、データを書込むべき
セクタの先頭アドレスを示している。書込み読出し部9
2は、ディスクに対し書込みを行なう場合にしても、デ
ィスクから読出しを行なう場合にしても、セクタマーク
部を検出したら、そのセクタのセクタアドレス部を読出
すようになっている。書込み読出し部92ば、加算器5
7の出力に等しいセクタアドレ、 8 。
After this, the contents of the sector address register 52 and the counter 5
The upper six pits of 4 are added by the adder 57, and the output thereof is given to the write/read section 92 in the drive device 2. The output of the adder 57 at this time indicates the start address of the sector in which data is to be written. Write/read section 9
No. 2 is adapted to read the sector address section of the sector when a sector mark section is detected, whether writing to the disk or reading from the disk. Write/read unit 92, adder 5
Sector address equal to the output of 7, 8.

スを検出した場合、先ずそのセクタの書込み完了フラグ
部に所定のパターンを書込み、また、そのデータ部にメ
モリ55から読出された512バイトのデータを書込み
、さらにそのデータチェックコード部にチェックコード
発生回路66からの出力を書込む。チェックコード発生
回路66は書込みデータのためのエラーチェックコード
を発生するためのものである。メモリ55からの512
バイトのデータの読出しは、カウンタ54で示されるア
ドレスの読出しと、カウンタ54のカウントアンプとを
、カウンタ54の下位9ビツトが再びオール″0”にな
るまで繰り返せばよい。
If a write error is detected, first write a predetermined pattern to the write completion flag section of that sector, then write 512 bytes of data read from the memory 55 to that data section, and then generate a check code in the data check code section. Write the output from circuit 66. The check code generation circuit 66 is for generating an error check code for write data. 512 from memory 55
To read byte data, reading the address indicated by the counter 54 and the count amplifier of the counter 54 may be repeated until the lower 9 bits of the counter 54 become all "0" again.

なお、カウンタ54の下9ピットがオール″0”になる
と、その上位6ピツトは1だけカウントアツプされる。
Note that when the lower nine pits of the counter 54 become all "0", the upper six pits are incremented by one.

以上の動作中において、カウンタ54の内容とンジスタ
56の内容とが比較回路58で比較されている。比較回
路58から一致信号が出力されないうちに、カウンタ5
4の下位9ビツトがオール10″になった場合には、セ
クタアドレスレジスタ52の内容とカウンタ54の上位
6ビツトの内容が加算器57で加算され、前と同様にし
て、次のセクタにメモリ55から読出した新たな512
バイトのデータが記録される。またカウンタ54の下位
9ビツトがオール″0″になる前に比較回路58から一
致信号が出た場合は、512バイトの記録が完了する前
に中央処理装置から与えられた書込みデータがなくなっ
たことを意味する。この場合、カウンタ54の下位9ビ
ツトがオール″O″になるまで、レジスタ50から固定
データがメモリ55からの読出しデータに代って書込み
読出し部92に与えられ、これにより書込み読出し部9
2は、512ハイドのデータを記録する。カウンタ54
の下位9ビツトがオール″0”になった時点でちょうど
比較回路5Bから一致信号が出た場合には、レジスタ5
0からの固定データの送出は起きない。
During the above operation, the contents of the counter 54 and the contents of the register 56 are compared by the comparison circuit 58. Before a match signal is output from the comparison circuit 58, the counter 5
When the lower 9 bits of 4 are all 10'', the contents of the sector address register 52 and the upper 6 bits of the counter 54 are added in the adder 57, and the memory is transferred to the next sector in the same way as before. New 512 read from 55
Bytes of data are recorded. Furthermore, if a match signal is output from the comparator circuit 58 before the lower 9 bits of the counter 54 become all "0", it means that the write data given from the central processing unit is exhausted before the recording of 512 bytes is completed. means. In this case, the fixed data from the register 50 is given to the write/read section 92 instead of the read data from the memory 55 until the lower 9 bits of the counter 54 become all "O".
2 records data of 512 hides. counter 54
If a match signal is output from the comparator circuit 5B at the time when the lower 9 bits of the register 5B become all "0", the register 5
Fixed data transmission from 0 does not occur.

制御部51ば、比較回路58からの一致信号がすでに出
力されていること、及びセクタ数レジスタ53の内容と
カウンタ54の上位6ビツトが示す値とが一致している
ことを検出することにより、書込み動作を終了させる。
The control unit 51 detects that the match signal from the comparison circuit 58 has already been output and that the contents of the sector number register 53 match the value indicated by the upper 6 bits of the counter 54. Terminate the write operation.

以上の書込み動作に引き続いて、書込み動作が正しく行
なわれたかどうかを検証するためのチェック動作がすぐ
行なわれる。この動作は以下の通りである。59ば6ビ
ツトのカウンタ、 60は1ビット単位にアクセスが可
能なメモリである。メモリ60はトラック部4の各トラ
ックに含まれるセクタ数(64)に等しいビット数を有
し、高速アクセスが可能なICメモ1!素子から成る。
Immediately following the above write operation, a check operation is performed to verify whether the write operation was performed correctly. This operation is as follows. 59 is a 6-bit counter, and 60 is a memory that can be accessed in units of 1 bit. The memory 60 has a number of bits equal to the number of sectors (64) included in each track of the track section 4, and is capable of high-speed access. Consists of elements.

先ず、カウンタ54と59が0にクリアされ、メモリ6
0の各ビットも0にクリアされる。書込み動作の時と同
様にしてセクタアドレスレジスタ52の内容とカウンタ
54の上位6ビツトとが刃口算器57により加算され、
その出力が書込み読出し部92に与えられる。この時の
加算器57の出力は、書込みコマンドによりデータを書
込んだセクタの先頭アドレスを示している。書込み読出
し部92では、セクタマーク部の次に現われるセクタア
ドレス部が調べられ、加算器57の出力と一致するセク
タアドレスが検出された場合には、そ、11 のセクタの書込み完了フラグ部、データ部、データチェ
ックコード部が読取られ、これらはエラー検出訂正回路
61に力えられる。エラー検出訂正回路61では、書込
み完了フラグ部が所定のパターンでするかどうかチェッ
クし、またデータチェックコード部に基づいてデータ部
をチェックする。そして書込み完了フラグ部が所定のパ
ターンでなかったり、あるいはデータ部がエラー訂正不
可能なエラーを発生していた場合には、そのセクタが不
良セクタであることを示すエラー信号を出力する。この
エラー信号はメモリ60のカウンタ59の示すアドレス
に”1”として書込まれる。エラー信号が出力されない
居合には0″が書込まれる。カウンタ54は書込み動作
の時と同じ速度でカウントアツプされ、次のセクタのセ
クタマーク部の先頭がヘッドの位置に来るまでには、そ
の上位6ビツトは1つ更新されている。カウンタ59は
メモリ60に書込みが1回行なわれる毎に1だげカウン
トアツプされる。
First, counters 54 and 59 are cleared to 0, and memory 6
Each bit of 0 is also cleared to 0. Similarly to the write operation, the contents of the sector address register 52 and the upper 6 bits of the counter 54 are added by the blade calculator 57.
The output is given to the write/read unit 92. The output of the adder 57 at this time indicates the start address of the sector into which data has been written by the write command. The write/read section 92 examines the sector address section that appears next to the sector mark section, and if a sector address matching the output of the adder 57 is detected, the write completion flag section and data of sector 11 are detected. The data check code section and the data check code section are read, and these are input to the error detection and correction circuit 61. The error detection and correction circuit 61 checks whether the write completion flag section is in a predetermined pattern or not, and also checks the data section based on the data check code section. If the write completion flag section does not have a predetermined pattern, or if the data section has an error that cannot be corrected, an error signal indicating that the sector is a defective sector is output. This error signal is written as "1" at the address indicated by the counter 59 of the memory 60. 0'' is written to the iai where no error signal is output. The counter 54 counts up at the same speed as during the write operation, and by the time the beginning of the sector mark of the next sector reaches the head position, The upper 6 bits are updated by 1. The counter 59 is incremented by 1 each time the memory 60 is written.

以上の動作中において、カウンタ54の内容と、12 レジスタ56の内容とが比較口1i!858で比較され
ている。比較回路58から一致信号が出力されないうち
に、カウンタ54の下位9ビツトがオール″0”になっ
た場合には、セクタアドレスレジスタ52の内容とカウ
ンタ54の新たな上位6ビツトの内容が加算器57で加
算され、前と同様にして、新たなセクタについて不良セ
クタであるかどうかがチェックされ、その結果がメモリ
6oに書込まれる。
During the above operation, the contents of the counter 54 and the contents of the 12 register 56 are compared with 1i! 858 for comparison. If the lower 9 bits of the counter 54 become all "0" before a match signal is output from the comparison circuit 58, the contents of the sector address register 52 and the new contents of the upper 6 bits of the counter 54 are added to the adder. 57, and the new sector is checked to see if it is a bad sector in the same manner as before, and the result is written to the memory 6o.

制御部51は、比較回路58からの一致信号がすでに出
力されていること、及びセクタ数レジスタ53の内容と
カウンタ54の上位6ビツトが示す値とが一致している
ことを検出することにより、チェック動作を終了させる
。このチェック動作が終了した時点においては、メモリ
6oの不良セクタに対応するビット″1″にセットされ
ている。
The control unit 51 detects that the match signal from the comparison circuit 58 has already been output and that the contents of the sector number register 53 match the value indicated by the upper 6 bits of the counter 54, thereby Terminate the check operation. At the time this check operation is completed, the bit corresponding to the defective sector of the memory 6o is set to "1".

以上のチェック動作に引き続いて、不良セクタを補償す
るために交代セクタへの書込み動作がすぐ行なわれる。
Following the above check operation, a write operation to the replacement sector is immediately performed to compensate for the defective sector.

この動作は以下の通りである。レジスタ62には交代用
トラックのトラック番号がセントされている。l\ラッ
ド動部91にけ4、セクタアドレスレジスタ52からの
トラック番号に代・って、レジスタ62の内容が与えら
れる。これにより、ヘッド駆動部91は、与えられたト
ランク番号で示されるトラック上にヘッドを位置付けす
る。交代用トラックにおける交代セクタはトラック上に
並んだ順番で使用されるようになっており、レジスタ6
8には、まだ使用されてない交代セクタのうちの先頭ア
ドレスがセットされている。63は6ビツトのカウンタ
である。
This operation is as follows. The track number of the replacement track is recorded in the register 62. The contents of the register 62 are given to the rad moving section 91 in place of the track number from the sector address register 52. Thereby, the head driving section 91 positions the head on the track indicated by the given trunk number. The replacement sectors on the replacement track are used in the order in which they are arranged on the track, and register 6
8 is set to the start address of the replacement sectors that have not yet been used. 63 is a 6-bit counter.

ヘッド駆動部91によるヘッド位置付は動作が終了する
と先ずカウンタ59が0にクリアされ、またレジスタ6
8の内容がレジスタ64を介してカウンタ63に移され
る。カウンタ65の内容は、加算器57の出力に代って
書込み読出し制御部92に与えられる。書込み読出し部
92では、カウンタ63の内容に等しいセクタアドレス
を検出した場合、その交代セクタの書込み完了フラグ部
に所足のパターンを書込むとともに、そのデータ部とデ
ータチェックコード部と不良セクタアドレス部と不良セ
クタアドレスチェックコード部に以下のようにして得ら
れたデータを書込む。
When the head positioning operation by the head drive unit 91 is completed, the counter 59 is first cleared to 0, and the register 6
The contents of 8 are transferred to counter 63 via register 64. The contents of the counter 65 are given to the write/read controller 92 in place of the output of the adder 57. When the write/read unit 92 detects a sector address equal to the contents of the counter 63, it writes the required pattern into the write completion flag section of the replacement sector, and writes the data section, data check code section, and defective sector address section. and write the data obtained as follows into the defective sector address check code section.

メモリ60のカウンタ59で示されるアドレスが読出さ
れ、その読出しデータが0”の場合には、カウンタ59
は1つだけカウントアツプされる。
When the address indicated by the counter 59 of the memory 60 is read and the read data is 0'', the counter 59
Only one is counted up.

メモリ60の読出しデータが1″の場合には、カウンタ
59のカウントアツプは行なわれず、カウンタ59の更
新は一旦ストップされる。なお、メモリ60の読出し動
作とカウンタ59のカウントアンプ動作は高速に行なう
ことができるようになっており、カウンタ59の更新が
ストップするまでの時間はディスクの回転速度に比べて
非常に短い。メモリ60からの読出しデータが?+1”
の場合には、カウンタ59の内容がカウンタ54の上位
6ビツトに移される。そして、メモリ55のカウンタ5
4が示されるアドレスの読出しと、カウンタ54のカウ
ントアツプが、カウンタ54の下位9ビツトが再びオー
ル″0”になるまで繰り返されることによって、メモリ
55から512バイトのデータが読出され、それがチェ
ックコード発生回・15 ・ 路66を通して書込み読出し部92に与えられる。
When the read data of the memory 60 is 1'', the counter 59 does not count up and the update of the counter 59 is temporarily stopped. Note that the read operation of the memory 60 and the count amplification operation of the counter 59 are performed at high speed. The time it takes for the counter 59 to stop updating is very short compared to the rotational speed of the disk.The data read from the memory 60 is ?+1''
In this case, the contents of counter 59 are transferred to the upper six bits of counter 54. Then, the counter 5 of the memory 55
4 is indicated and the count up of the counter 54 is repeated until the lower 9 bits of the counter 54 become all "0" again, 512 bytes of data is read from the memory 55, and it is checked. The code is applied to the write/read unit 92 through the code generation circuit 15 and 66.

またこの後、セクタアドレスレジスタ52内容とカウン
タ59との内容が加算器65で加算され、その出力がチ
ェックコード発生回路66を通して書込み読出し部92
に与えられる。このようにして書込み読出し部92では
、メモリ55からの読出しデータに基づいて得られた5
12バイトのデータとそのエラーチェックコードをそれ
ぞれデータ部とデータチェックコード部に記録し、加算
器65からの出力に基づいて得られた不良セクタアドレ
スとそのエラーチェックコードをそれぞれ不良セクタア
ドレス部と不良セクタアドレスチェックコード部に記録
する。1つの交代セクタへの記録が終了すると、カウン
タ59と63は1つだけカウントアツプされる。これに
より、カウンタ59の更新はメモリ6oの読出しデータ
が”1”となった時に再びストップされ、前と同様にし
て、次の交代セクタへの配録が行なわれる。
After that, the contents of the sector address register 52 and the contents of the counter 59 are added by an adder 65, and the output is passed through the check code generation circuit 66 to the write/read unit 92.
given to. In this way, the write/read unit 92 obtains the 5
The 12-byte data and its error check code are recorded in the data section and the data check code section, respectively, and the defective sector address and its error check code obtained based on the output from the adder 65 are recorded in the defective sector address section and the defective sector address section, respectively. Record in the sector address check code section. When recording to one alternate sector is completed, counters 59 and 63 are incremented by one. As a result, the updating of the counter 59 is stopped again when the read data of the memory 6o becomes "1", and the allocation to the next alternate sector is performed in the same manner as before.

以上の動作中において、カウンタ54の内容とレジスタ
56の内容とが比較回路58で比較されて、16 。
During the above operation, the contents of the counter 54 and the contents of the register 56 are compared by the comparison circuit 58, and the result is 16.

おり、カウンタ54の下位9ビツトがオール″0”にな
る前に比較回路58から一致信号が出た場合には、カウ
ンタ54の下位9ビツトがオール″O”になる、ずで、
レジスタ50から固定データがメモリ55からの読出し
データに代って書込み読出し部92に与えられる。この
時の事情は書込み動作が行なわれる時と同じである。
Therefore, if a match signal is output from the comparison circuit 58 before the lower 9 bits of the counter 54 become all "0", the lower 9 bits of the counter 54 become all "0".
Fixed data from the register 50 is given to the write/read section 92 in place of the read data from the memory 55. The circumstances at this time are the same as when a write operation is performed.

制御部51は、比較回路58からの一致信号がすでに出
力されていること、及びセクタ数レジスタ53の内容と
カウンタ54の上位6ビツトが示す値とが一致している
ことを検出することにより、交代セクタへの書込み動作
を終了させる。
The control unit 51 detects that the match signal from the comparison circuit 58 has already been output and that the contents of the sector number register 53 match the value indicated by the upper 6 bits of the counter 54, thereby Terminates the write operation to the alternate sector.

この状態でレジスタ64は、今回書込みが行なわれた交
代セクタのうちの先頭アドレスを保持し、レジスタ68
は、まだ使用されていない交代セクタのうちの先頭アド
レスを保持している。
In this state, the register 64 holds the first address of the alternate sector to which writing was performed this time, and the register 68
holds the first address of a replacement sector that has not yet been used.

以上の交代セクタへの書込み動作に引き続いて、この動
作が正しく行なわれたかどうかを検証するための交代セ
クタチェック動作がすぐ行なわれる。この動作は以下の
通りである。先ずレジスタ64の内容がカウンタ63に
移され、書込み読出し部92に与えられる。書込み読出
し部92では、カウンタ65の内容に等しいセクタアド
レスを検出した場合、その交代セクタの書込み完了フラ
グ部、データ部、データチェックコード部、不良セクタ
アドレス部、不良セクタアドレスチェックコード部を読
取り、これらをエラー検出訂正回路61に力える。エラ
ー検出訂正回路61は書込み完了フラグが所定のパター
ンであるかどうかをチェックし、またデータチェックコ
ード部に基づいてデータ部をチェックし、さらに不良セ
クタアドレスチェックコード部に基づいて不良セクタア
ドレス部をチェックする。そして書込み完了フラグ部が
所定のパターンでなかったり、あるいはデータ部がエラ
ー訂正不可能なエラーを発生していたり、あるいは不良
セクタアドレス部がエラー訂正不可能なエラーを発生し
ていた場合に、その交代セクタが不良セクタであること
を示すエラー信号を出力する。
Immediately following the write operation to the alternate sector described above, an alternate sector check operation is performed to verify whether this operation has been performed correctly. This operation is as follows. First, the contents of the register 64 are transferred to the counter 63 and provided to the write/read section 92. When the write/read unit 92 detects a sector address equal to the contents of the counter 65, it reads the write completion flag part, data part, data check code part, bad sector address part, and bad sector address check code part of the replacement sector, These are input to the error detection and correction circuit 61. The error detection and correction circuit 61 checks whether the write completion flag is in a predetermined pattern, checks the data part based on the data check code part, and further checks the bad sector address part based on the bad sector address check code part. To check. If the write completion flag part does not follow the specified pattern, or if the data part has generated an uncorrectable error, or if the bad sector address part has generated an uncorrectable error, An error signal indicating that the replacement sector is a bad sector is output.

1つの交代セクタの読出しが終了すると、エラー検出訂
正回路61からのエラー信号が出力されないことを条件
としてカウンタ63は1つだけカウントアツプされ、次
の交代セクタの読出しが行なわれる。しかしエラー信号
が出力された場合には、再び交代セクタ書込み動作が全
く最初から行なわれる。この場合でも、カウンタ63に
はレジスタ68の内容がレジスタ64を介して移される
ようになっているので、不良となっている交代セクタに
、再びデータが書込まれる心配はない。この交代セクタ
チェック動作においては、カウンタ66の内容とレジス
タ68の内容とが、比較回路69で比較されており、エ
ラー検出訂正回路61からのエラー信号が1回も出力さ
れずに比較回路69での一致信号が出力された場合には
、全ての交代セクタへの書込みは正しく行なわれたこと
を意味し、この場合、制御部51は交代セクタチェック
動作を終了させる。
When the reading of one alternate sector is completed, the counter 63 is incremented by one, provided that no error signal is output from the error detection and correction circuit 61, and the next alternate sector is read. However, if an error signal is output, the alternate sector write operation is performed again from the beginning. Even in this case, since the contents of the register 68 are transferred to the counter 63 via the register 64, there is no fear that data will be written again to the defective replacement sector. In this alternate sector check operation, the contents of the counter 66 and the contents of the register 68 are compared in the comparator circuit 69, and the error signal from the error detection and correction circuit 61 is not output even once. If a match signal is output, it means that writing to all alternate sectors has been performed correctly, and in this case, the control unit 51 ends the alternate sector check operation.

以上までが書込みコマンドが実行される時の動作である
。前記の交代セクタチェック動作の終了時点で、制御部
51は終了したことを中央処、19゜ 理装置に通知する。そして制御部いは自ら交代セクタの
読出し動作を行なう。この動作は以下の通、りである。
The above is the operation when the write command is executed. At the end of the alternate sector check operation, the control unit 51 notifies the central processing unit 19° of the completion. Then, the control unit itself performs the read operation of the alternate sector. This operation is as follows.

71は15ビツトから成るワードを矛2図の交代トラッ
ク5に含まれる交代セクタの数だけ有するメモリ、72
は512バイトから成るブロックをメモリ71のワード
数と等しい数だけ有するメモリ、73は1ビツトから成
るワードをメモリ71のワード数と等しい数だけ有する
メモリで、それぞれ高速アクセス動作が可能なICメモ
リ素子等から成る。メモリ71と73の1ワード及びメ
モIJ72の1ブロツクは、カウンタ67によって同時
に指定される。
71 is a memory having 15-bit words equal to the number of replacement sectors included in replacement track 5 in Figure 2;
73 is a memory having blocks of 512 bytes in a number equal to the number of words of the memory 71, and 73 is a memory having a number of 1-bit words equal to the number of words of the memory 71, each of which is an IC memory element capable of high-speed access operation. Consists of etc. One word in memories 71 and 73 and one block in memory IJ72 are simultaneously designated by counter 67.

さて、交代セクタ読出し動作が行なわれるのに先立って
、カウンタ63と67が0にクリアされる。そしてカウ
ンタ63の内容が書込み読出し部92に与えられる。書
込み読出し部92では、カウンタ63の内容に等しいセ
クタアドレスが検出された場合、その交代セクタの書込
み完了フラグ部、データ部、データチェックコード部、
不、20゜ 良セクタアドレス部、不良セクタアドレスチェックコー
ド部が読出される。そして不良セクタアドレス部とデー
タ部はエラー検出訂正回路61を通してそれぞれメモリ
71.72のカウンタ67で示される場所に書込まれる
Now, before the alternate sector read operation is performed, counters 63 and 67 are cleared to 0. The contents of the counter 63 are then given to the write/read section 92 . In the write/read section 92, when a sector address equal to the contents of the counter 63 is detected, the write completion flag part, data part, data check code part,
The bad sector address part and the bad sector address check code part are read out. The defective sector address section and data section are then written through the error detection and correction circuit 61 to the locations indicated by the counters 67 of the memories 71 and 72, respectively.

一方、エラー検出訂正回路61は、交代セクタチェック
動作時と同じ判定基単により、その交代セクタが不良セ
クタである場合には、エラー信号を出力する。このエラ
ー信号はメモリ73のカウンタ67の示すアドレスに1
”として書込まれる。エラー信号が出力されない場合に
は0”が書込まれる。1つの交代セクタの読出しが終了
すると、カウンタ6!Iと67は1つだけカウントアツ
プされ、次の交代セクタの読出しが行なわれ、前と同じ
動作が行なわれる。以上の動作中において、カウンタ6
3の内容とレジスタ6Bの内容とが比較回路69で比較
されている。比較回路69からの一致信号が出力されな
いうちは、交代セクタの読出し動作とメそり71.72
.73への書込み動作が繰り返される。比較回路69か
らの一致信号が出力された場合には、制御部51は交代
セクタ読出し動作を終了させる。
On the other hand, the error detection and correction circuit 61 outputs an error signal if the replacement sector is a defective sector based on the same determination criteria as in the replacement sector check operation. This error signal is set to 1 at the address indicated by the counter 67 of the memory 73.
"0" is written if no error signal is output. When reading of one alternate sector is completed, the counter 6! I and 67 are counted up by one, the next alternate sector is read, and the same operation as before is performed. During the above operation, counter 6
A comparison circuit 69 compares the contents of 3 and the contents of register 6B. Until a match signal is output from the comparator circuit 69, the read operation of the alternate sector and the memory 71, 72 are performed.
.. The write operation to 73 is repeated. When a match signal is output from the comparison circuit 69, the control unit 51 ends the alternate sector read operation.

以上の交代セクタ読出し動作は、書込みコマンドの実行
が終了する毎に行なわれる。従ってメモリ71と72に
は、それまでの書込みコマンドの実行の際に検出された
全ての不良セクタに対する交代セクタのデータ部とセク
タアドレス部が書込まれた状態となり、中央処理装置か
ら与えられる読出しコマンドに備えられる。
The above alternate sector read operation is performed every time execution of a write command is completed. Therefore, the memories 71 and 72 are in a state where the data part and sector address part of replacement sectors for all the defective sectors detected during the execution of the previous write commands are written, and the data part and sector address part of the replacement sector are written in the memories 71 and 72. Ready for command.

このような状態で読出しコマンドが与えられると、その
動作は次の通りである。先ず、カウンタ54と59がク
リアされ、メモリ60の各ビットもクリアされる。次に
セクタアドレスレジスタ52にセットされたセクタアド
レスに対応するセクタを先頭に、セクタ数レジスタ53
で示される数だけ、各セクタが書込み読出し部92で読
取られる。また、メモリ60の不良セクタに対応するピ
ットには1”が書込まれる。ここまでは、すでに説明し
たチェック動作の時と同じであるが、さらに各セクタの
データ部から読取られた512バイトのデータがメモリ
55に書込まれる。
When a read command is given in this state, the operation is as follows. First, counters 54 and 59 are cleared, and each bit in memory 60 is also cleared. Next, the sector number register 53 starts with the sector corresponding to the sector address set in the sector address register 52.
Each sector is read by the write/read unit 92 by the number indicated by . Also, 1" is written to the pit corresponding to the bad sector of the memory 60. Up to this point, the process is the same as the check operation described above, but in addition, the 512-byte data read from the data section of each sector is Data is written to memory 55.

メモリ55への512バイトのデータの書込みは、カウ
ンタ54で示されるアドレスの書込みとカウンタ54の
カウントアツプとを、カウンタ54の下位9ピントが再
びオール加”になるまで繰り返せばよい。以上の動作中
において、制御部51は、セクタ数レジスタ53の内容
とカウンタ54の上位6ビツトが示す値とが一致するこ
とを検出することにより、読出し動作を終了させる。
To write 512 bytes of data to the memory 55, it is sufficient to repeat writing the address indicated by the counter 54 and counting up the counter 54 until the lower 9 pins of the counter 54 are all added again. Therein, the control unit 51 terminates the read operation by detecting that the contents of the sector number register 53 and the value indicated by the upper six bits of the counter 54 match.

この読出し動作に引き続いてすぐ次の動作が行なわれる
。先ず、カウンタ54と59と67がクリアされる。次
にメモリ6oのカウンタ59で示されるアドレスの読出
しと、その読出しデータが0″の場合には、カウンタ5
9のカウントアツプ動作が行なわれる。メモリ6oから
の読出しデータが1”の場合には、セクタアドレスレジ
スタ52の内容とカウンタ59どの内容が加算器65で
加算され、その出力が比較検出回路7oに与えられる。
Immediately following this read operation, the next operation is performed. First, counters 54, 59, and 67 are cleared. Next, read the address indicated by the counter 59 of the memory 6o, and if the read data is 0'', the counter 5
A count-up operation of 9 is performed. When the read data from the memory 6o is 1'', the contents of the sector address register 52 and the contents of the counter 59 are added by an adder 65, and the output thereof is given to the comparison detection circuit 7o.

またメモリ71と73のカウンタ67で示されるアドレ
スの内容が比較検出回路7oに読出さ、23 。
Further, the contents of the addresses indicated by the counters 67 of the memories 71 and 73 are read out to the comparison detection circuit 7o, 23.

れる。この比較回出回路70は、加算器65の出力とメ
モリ71からの読出しデータとが一致しかつメモリ73
からの読出しデータが0”である時信号を出力するもの
である。比較検出回路70から信号が出力されない場合
には、カウンタ67は1だけカウントアツプされ、再び
メモリ71と73の読出しが行なわれる。比較検出回路
7oにおいて、信号が出力された場合には、ゲート74
が開き、メモリ72の中のその時のカウンタ67が示す
512バイトのブロックが1バイトずつ読出され、この
データはメモリ55に書込まれる。この場合、カウンタ
59の内容がカウンタ54の上位6ビツトに移され、メ
モリ55のカウンタ54で示されるアドレスへの書込み
と、カウンタ54のカウントアツプとが、カウンタ54
の下位9ビツトが再びオル60”になるまで繰り返され
る。
It will be done. This comparison output circuit 70 detects that the output of the adder 65 and the read data from the memory 71 match and
It outputs a signal when the read data from the comparison detection circuit 70 is 0''. If no signal is output from the comparison detection circuit 70, the counter 67 is incremented by 1, and the memories 71 and 73 are read again. In the comparison detection circuit 7o, when the signal is output, the gate 74
is opened, the 512-byte block indicated by the current counter 67 in memory 72 is read out one byte at a time, and this data is written to memory 55. In this case, the contents of the counter 59 are moved to the upper six bits of the counter 54, and writing to the address indicated by the counter 54 in the memory 55 and counting up the counter 54 are performed by the counter 54.
The process is repeated until the lower 9 bits of 9 bits become all 60'' again.

カウンタ54の下位9ビツトがオール″0”になると、
カウンタ59と67は1つだけカウントアツプされる。
When the lower 9 bits of the counter 54 become all "0",
Counters 59 and 67 are counted up by one.

これにより、カウンタ59の更新はメモリ60の読出し
データが′1″となった時点で再、24 びストップされ、前と同様にして、メモリ72のブロッ
クがメモリ55に書込まれる。カウンタ59の更新によ
り、カウンタ59の内容が0になると、メモリ55の中
にある不良セクタのデータ部からのデータは、全てメモ
リ72からのデータ、すなわち交代セクタのデータ部か
らの正しいデータと置き換えられた状態となる。そこで
カウンタ54はクリアされ、メモリ55のカウンタ54
の示すアドレスの読出しと、カウンタ54のカウントア
ンプとが繰り返される。メモリ55の読出しデータは中
央処理装置に送出される。この動作中、制御部51はカ
ウンタ54の上位6ビツトとセクタ数レジスタ53の内
容とを比較しており、両者が一致すると、メモリ55の
読出し動作を終了させる。
As a result, the updating of the counter 59 is stopped again when the read data of the memory 60 becomes '1'', and the block of the memory 72 is written to the memory 55 in the same manner as before. When the contents of the counter 59 become 0 due to the update, all data from the data section of the bad sector in the memory 55 has been replaced with data from the memory 72, that is, correct data from the data section of the replacement sector. Therefore, the counter 54 is cleared, and the counter 54 in the memory 55 is
The reading of the address indicated by and the count amplifier of the counter 54 are repeated. The read data from memory 55 is sent to the central processing unit. During this operation, the control unit 51 compares the upper six bits of the counter 54 and the contents of the sector number register 53, and when the two match, the read operation of the memory 55 is terminated.

以上までが読出しコマンドが実行される時の動作であり
、この動作が終了すると、制御部51は中央処理装置に
読出しコマンドの実行が終了したことを通知する。
The above is the operation when the read command is executed, and when this operation is completed, the control unit 51 notifies the central processing unit that the execution of the read command has been completed.

以上の如き装置によれば、交代セクタのデータ部に記録
されたデータは高速アクセスが可能なメモリ72の中に
全て記憶されているので、本来なら交代セクタの読出し
が必要な忠合でも、必要なデータを速く読出すことが可
能となる。
According to the device as described above, all the data recorded in the data portion of the alternate sector is stored in the memory 72 that can be accessed at high speed, so even if it is necessary to read the alternate sector, even if it is necessary to read the alternate sector, This makes it possible to read out data quickly.

従って、中央処理装置から要求されたデータを速く転送
することができ、ディスク記憶装置としての性能が向上
する。
Therefore, data requested by the central processing unit can be transferred quickly, and performance as a disk storage device is improved.

なお、以上の実施例において、交代セクタ読出し動作は
、書込みコマンドが終了する毎に行なわれるようになっ
ているが、必ずしもそうでな(てもよい。例うばい(つ
かの書込みコマンドの実行が終了したら行なうようにな
っていてもよい。但し、この場合、読出しコマンドが与
えられる時期によっては、交代セクタのデータ部に記録
されたデータが全てメモリ72の中に記憶されておらず
、メモリ55へ読出されたデータの中に不良セクタから
のデータが混じっていても、それを補償できないことが
あり得る。従ってこの場合にはその時点で、比較検出回
路70から何の出力もなかったこと基づいて交代セクタ
読出し動作を行なうようにする。また、交代セクタ読出
し動作は、装置の電源投入やディスクの装填をぎつかげ
に行なわれてもよい。すなわち、それまで電源が切断さ
れていたためにメモリ71゜72.73の内容が消失さ
れていても、またそれまで別のディスクが装填されてい
たためにメモリ71、72.71の内容が有効でなくな
っていたとしても、再び電源を投入する時、あるいは新
たなディスクを装填する時に、交代セクタ読出し動作が
行なわれれば、メモI771.72.73の内容を有効
なものとすることができる。
Note that in the above embodiments, the alternate sector read operation is performed every time a write command is completed, but this is not necessarily the case. However, in this case, depending on when the read command is given, all the data recorded in the data section of the alternate sector may not be stored in the memory 72 and may be transferred to the memory 55. Even if data from a bad sector is mixed in the read data, it may not be possible to compensate for it. Therefore, in this case, based on the fact that there was no output from the comparison detection circuit 70 at that point, Alternate sector read operations may be performed. Also, alternate sector read operations may be performed when the power of the device is turned on or the disk is loaded. In other words, because the power was previously turned off, the memory 71° Even if the contents of memory 72, 73 have been erased, or even if the contents of memory 71, 72, 71 are no longer valid because another disk was previously loaded, when the power is turned on again or a new If an alternating sector read operation is performed when loading a disk, the contents of the memo I771.72.73 can be made valid.

なお、読出しコマンドの実行動作においては、先ず駆動
装置2の読出し動作を行なって、次にメモリ72の読出
し動作を行なう場合を説明したが、セクタ数レジスタ5
3にセットされた値が1の時は、以下のように制御して
もよい。先ずセクタアドレスレジスタ52の内容をその
まま比較検出回路70に与え、アクセスしようとしてい
るセクタのデータがメモIJ72の中にあるかどうかを
すでに述べたような方法で調べる。そしてあ・ 27・ ればメモIJ72から該当のブロックを読出Uその読出
しデータを中央処理装置に送出する。なげればすでに述
べたような方法で駆動装置2から該当のセクタを読出し
、その読出しデータを中央処理装置に送出する。このよ
うにすれば、アクセスしようとしているセクタのデータ
がたまたまメモリ72の中に記憶されていた場合には、
メモリ72から直接読出すようになるから、読出し速度
が向上する効果がある。
Note that in the execution operation of the read command, a case has been described in which the drive device 2 first performs the read operation and then the memory 72 performs the read operation, but the sector number register 5
When the value set to 3 is 1, control may be performed as follows. First, the contents of the sector address register 52 are given as they are to the comparison detection circuit 70, and it is checked in the manner described above whether or not the data of the sector to be accessed is in the memory IJ 72. Then, the corresponding block is read from the memo IJ72 and the read data is sent to the central processing unit. Otherwise, the corresponding sector is read from the drive device 2 using the method already described, and the read data is sent to the central processing unit. In this way, if the data in the sector you are trying to access happens to be stored in the memory 72,
Since the data is directly read from the memory 72, the read speed is improved.

また交代セクタは1本の共通トラックに設定された場合
を説明したが、多数のトラックにルしずつ設定されてい
てもよい。例えば不良セクタト同一トラック上の特定位
置に交代セフタラ設定してもよい。この場合の交代セク
タ書込み動作では、セクタアドレスレジスタ52のトラ
ック番号をそのままヘッド駆動部91に与え、レジスタ
68に特定の値をセットしてやればよい。また、交代セ
クタは、共通なトラックと不良セクタと同一のトラック
との両方に設定されてもよい。いずれにしても使用済の
交代セクタは後で、28 U識できるようにしておぎ、交代セクタ読出し動作時に
は、レジセタ62とカウンタ63にそれぞれ各交代セク
タのトラック番号、セクタ番号を゛セットしてやればよ
い。
Furthermore, although the case has been described in which alternate sectors are set on one common track, they may be set on multiple tracks. For example, alternate seftara may be set at a specific position on the same track as the defective sector. In the alternate sector write operation in this case, the track number of the sector address register 52 may be directly supplied to the head drive section 91, and a specific value may be set in the register 68. Further, the replacement sector may be set both in a common track and in the same track as the defective sector. In any case, the used replacement sectors can be identified later by 28U, and when reading the replacement sectors, the track number and sector number of each replacement sector can be set in the register 62 and counter 63, respectively. .

また、交代用トラックは1本の場合を説明したが、複数
本用意されてもよい。この場合には、交代セクタ書込み
動作中にレジスタ68の内容が1トラツク中の交代セク
タ数を超えたことを検出して、レジスタ62に別なトラ
ック番号を設定し、さらにレジスタ68をクリアすれば
よい。この場合、メモI771.72.73の容量は交
代用トラックの本数倍にする必要がある。 ゛ またセクタ数レジスタ53に示されるセクタ数が複数の
場合は、セクタは複数のトラックにまたがらないものと
して説明した。しかし複数のトラックが物理的に渦巻状
に連続していて、ヘッドがそれに自動的に追従できるよ
うになっている形式の場合には、セクタ数の制限は不要
である。そしてこの場合には、メモリ55の容量をもっ
と多(して、1回の書込みコマンドあるいは読出しコマ
ンドによるデータ転送能力を上げることができる。
Further, although the case where there is one replacement track has been described, a plurality of replacement tracks may be provided. In this case, if it is detected that the contents of the register 68 exceed the number of alternate sectors in one track during the alternate sector write operation, a different track number is set in the register 62, and the register 68 is cleared. good. In this case, the capacity of the memo I771.72.73 needs to be multiplied by the number of replacement tracks. Furthermore, in the case where the number of sectors indicated in the sector number register 53 is plural, it has been explained that the sector does not span a plurality of tracks. However, in the case of a format in which a plurality of tracks are physically continuous in a spiral shape and the head can automatically follow them, there is no need to limit the number of sectors. In this case, the capacity of the memory 55 can be increased to increase the data transfer capability with one write command or read command.

また、セクタを単位とする固定長データ記録形式の場合
を説明したが、この発明は、カウント部、キ一部等を含
むレコードを単位とする可変長データ記録形式にも適用
が可能である。
Furthermore, although the case of a fixed-length data recording format in which sectors are units has been described, the present invention can also be applied to a variable-length data recording format in which records including a count section, key section, etc. are units.

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

本発明により、不良領域への読出しがあった場合に、交
代領域の読出しを高速化した記憶装置が得られる。
According to the present invention, it is possible to obtain a storage device that speeds up reading from a replacement area when there is reading from a defective area.

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

矛1図は、ディスク記憶装置を汲続した計算機システム
のブロック図、牙2図は、ディスク上のトラックを説明
するための図、牙6図及び牙4図はセクタのフォーマッ
トを示す図、矛5図は本発明に基づ(制御装置と駆動装
置の詳細を示すブロック図である。図において 1・・・制御装置、2・・駆動装置、3・・・ディスク
、100・・・中央処理装置、51・・・制御部、52
・・・セクタアドレスレジスタ、53・・セクタ数レジ
スタ、54、59.63.67・・・カウンタ、58.
69・・・比較回路、55、60.71.72.73 
・・・メモリ、61・・・エラー検出訂正回路、66・
・・チェックコード発生回路、70・・・比較検出回路
、91・・・ヘッド駆動部、92・・・書込み読出し部
Figure 1 is a block diagram of a computer system connected to a disk storage device, Figure 2 is a diagram for explaining tracks on a disk, Figures 6 and 4 are diagrams showing the sector format, FIG. 5 is a block diagram showing details of a control device and a drive device based on the present invention. In the figure, 1...control device, 2...drive device, 3...disk, 100...central processing Device, 51...control unit, 52
...Sector address register, 53...Sector number register, 54, 59.63.67...Counter, 58.
69... Comparison circuit, 55, 60.71.72.73
...Memory, 61...Error detection and correction circuit, 66.
. . . Check code generation circuit, 70 . . . Comparison detection circuit, 91 . . . Head drive section, 92 .

Claims (1)

【特許請求の範囲】 1、 情報記録領域と該情報記録領域に存在する不良領
域のための交代領域の両方を持った記憶装置において、
前記交代領域に記録された情報の写しが格納される記憶
装置と、前記不良領域がアクセスされた場合に前記記憶
装置に格納されている情報を読出す手段とを設けたこと
を特徴とする記憶装置。 2、特許請求の範囲牙1項記載の記憶装置において、前
記情報記録領域と交代領域は回転可能な円板上に形成さ
れ、前記交代領域は前記情報記録領域とは異なるトラッ
クに設けられていることを特徴とする記憶装置。
[Claims] 1. In a storage device having both an information recording area and a replacement area for a defective area existing in the information recording area,
A memory comprising: a storage device in which a copy of the information recorded in the replacement area is stored; and means for reading out the information stored in the storage device when the defective area is accessed. Device. 2. In the storage device according to claim 1, the information recording area and the alternating area are formed on a rotatable disk, and the alternating area is provided on a different track from the information recording area. A storage device characterized by:
JP11828783A 1983-07-01 1983-07-01 Storage device Pending JPS6013360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11828783A JPS6013360A (en) 1983-07-01 1983-07-01 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11828783A JPS6013360A (en) 1983-07-01 1983-07-01 Storage device

Publications (1)

Publication Number Publication Date
JPS6013360A true JPS6013360A (en) 1985-01-23

Family

ID=14732930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11828783A Pending JPS6013360A (en) 1983-07-01 1983-07-01 Storage device

Country Status (1)

Country Link
JP (1) JPS6013360A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62141678A (en) * 1985-12-17 1987-06-25 Canon Inc Information recording and reproducing device
JPS62154267A (en) * 1985-12-25 1987-07-09 Canon Inc Information reproducing device
JP4907045B2 (en) * 2000-09-27 2012-03-28 クラフト・フーヅ・グローバル・ブランヅ リミテッド ライアビリティ カンパニー Flavor retention and release system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5144835A (en) * 1974-10-16 1976-04-16 Hitachi Ltd
JPS581809A (en) * 1981-06-26 1983-01-07 Toshiba Corp Magnetic disk storage device
JPS5860410A (en) * 1981-10-06 1983-04-09 Mitsubishi Electric Corp Magnetic disk control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5144835A (en) * 1974-10-16 1976-04-16 Hitachi Ltd
JPS581809A (en) * 1981-06-26 1983-01-07 Toshiba Corp Magnetic disk storage device
JPS5860410A (en) * 1981-10-06 1983-04-09 Mitsubishi Electric Corp Magnetic disk control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62141678A (en) * 1985-12-17 1987-06-25 Canon Inc Information recording and reproducing device
JPS62154267A (en) * 1985-12-25 1987-07-09 Canon Inc Information reproducing device
JP4907045B2 (en) * 2000-09-27 2012-03-28 クラフト・フーヅ・グローバル・ブランヅ リミテッド ライアビリティ カンパニー Flavor retention and release system

Similar Documents

Publication Publication Date Title
US4558446A (en) Memory system
US6172906B1 (en) Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
US7549013B2 (en) Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
EP0272029B1 (en) Erasable optical disk and optical information recording and reproducing apparatus having means for managing defective sector
JPH0563861B2 (en)
JPH02216672A (en) Optical disk drive device
US6873788B1 (en) Disk recording and/or reproducing apparatus
JPH04243061A (en) Flexible magnetic disk device
US5467361A (en) Method and system for separate data and media maintenance within direct access storage devices
JPS6013360A (en) Storage device
JPS63113984A (en) Optical disk control system
JPH0628779A (en) Method for recording and controlling data in disk device
JP3022688B2 (en) Auxiliary storage
JP2728949B2 (en) Control method of optical disk subsystem
JPS60101788A (en) Optical disk controller
JPS5891512A (en) Data recording system
JP2972365B2 (en) Access control method for magnetic tape storage
JP3402777B2 (en) Write-once information recording medium sector management method
JP2786061B2 (en) Control device for disk storage device
JPH02236865A (en) Information recording and reproducing device
JPS6180564A (en) Alternate track write control circuit
JPH0277927A (en) Control system for semiconductor disk subsystem
JPH0793912A (en) Optical disk recording/reproducing apparatus
JPH0883151A (en) Magnetic disk device
JPS6032165A (en) Control method for read-out of disk