JPH0831247B2 - Storage device - Google Patents
Storage deviceInfo
- Publication number
- JPH0831247B2 JPH0831247B2 JP59093159A JP9315984A JPH0831247B2 JP H0831247 B2 JPH0831247 B2 JP H0831247B2 JP 59093159 A JP59093159 A JP 59093159A JP 9315984 A JP9315984 A JP 9315984A JP H0831247 B2 JPH0831247 B2 JP H0831247B2
- Authority
- JP
- Japan
- Prior art keywords
- error
- information
- signal line
- sector
- instruction
- 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 - Lifetime
Links
- 238000007689 inspection Methods 0.000 claims description 3
- 230000002950 deficient Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1883—Methods for assignment of alternate areas for defective areas
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/20—Disc-shaped record carriers
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
- Optical Recording Or Reproduction (AREA)
Description
【発明の詳細な説明】 〔技術分野〕 本発明は記憶装置、特に光ディスク装置や磁気ディス
ク装置などの記憶装置に関する。TECHNICAL FIELD The present invention relates to a storage device, and more particularly to a storage device such as an optical disk device or a magnetic disk device.
光ディスク装置,磁気ディスク装置などの記憶装置に
おいては媒体の欠陥等により情報が正しく記録できない
場合には、トラック全体を不良トラックとして情報を代
替のトラックに記録するか、あるいは1つのセクタを不
良セクタとして情報を代替のセクタに記録する方法が一
般に採用されている。When information cannot be correctly recorded in a storage device such as an optical disk device or a magnetic disk device due to a defect in the medium, the entire track is recorded as a defective track, or the information is recorded on an alternative track, or one sector is recorded as a defective sector. A method of recording information in an alternative sector is generally adopted.
従来、これらの記憶装置において書込みを行った情報
に誤りが含まれることが検出されたとき、ソフトウェア
は順次読取り命令を実行し、未使用の代替トラック又は
代替セクタを検索するか、あるいは管理テーブルを用い
て未使用の代替トラック又は代替セクタを管理すること
が必要であり、ソフトウェアによるエラー処理が複雑に
なるという欠点があった。Conventionally, when it is detected that the information written in these storage devices includes an error, the software sequentially executes a read command to search for an unused alternative track or alternative sector, or a management table is searched. It is necessary to manage an unused alternative track or an alternative sector by using it, and there is a drawback that error processing by software becomes complicated.
本発明の目的は、記録媒体上に情報が正しく記録され
ているか否かを検査するためのベリファイ命令を実行し
ているとき、記録媒体上に記録されている情報に誤りが
含まれることが検出されると、状態情報に誤りが検出さ
れたことを表示すると共に誤りを含むトラック又はセク
タのアドレス及び未使用の代替トラック又は代替セクタ
のアドレスを表示することにより前記欠点を解決した記
憶装置を提供することにある。It is an object of the present invention to detect that the information recorded on a recording medium contains an error when executing a verify command for checking whether or not the information is correctly recorded on the recording medium. Then, a storage device that solves the above-mentioned drawbacks is provided by displaying that an error is detected in the status information and displaying the address of the track or sector containing the error and the address of an unused alternative track or alternative sector. To do.
本発明によれば、命令の解読及び実行制御を行う命令
実行制御手段と、記録媒体から読み取った情報に誤りが
含まれているか否かを検査する誤り検査手段と、前記記
録媒体上に情報が書込み済であるか否かを検査する書込
み状態検査手段とを備え、前記命令実行制御手段が解読
した命令が前記記録媒体上に正しく情報が記録されてい
るか否かを検査するためベリファイ命令であるとき、前
記誤り検査手段により記録されている情報の誤りの有無
を検査すると共に、誤りが検出されたとき前記書込み状
態検査手段によりあらかじめ代替用として定められてい
る書込み済でない未使用の情報記録エリアを検索するこ
とによって前記ベリファイ命令の実行結果を示す状態情
報に代替となる情報記録エリアのアドレスを付加するこ
とを特徴とする記憶装置が得られる。According to the present invention, instruction execution control means for decoding and controlling execution of instructions, error checking means for checking whether or not information read from a recording medium contains an error, and information on the recording medium A write state inspecting means for inspecting whether or not it has been written, and the instruction decoded by the instruction execution control means is a verify instruction for inspecting whether or not information is correctly recorded on the recording medium. At this time, the error checking means checks whether or not there is an error in the recorded information, and when an error is detected, the write state checking means preliminarily substitutes an unused information recording area that has not been written. By adding the address of an alternative information recording area to the status information indicating the execution result of the verify command by searching Location can be obtained.
次に図面を参照して本発明について説明する。 Next, the present invention will be described with reference to the drawings.
第1図は本発明の記憶装置の一実施例における情報の
記録形式を示すブロック図及び第2図は本発明の記憶装
置の一実施例を示す回路ブロック図である。FIG. 1 is a block diagram showing an information recording format in an embodiment of the storage device of the present invention, and FIG. 2 is a circuit block diagram showing an embodiment of the storage device of the present invention.
第1図において情報の記録形式はセクタ方式であり、
1つのトラック上に情報を記録するための複数個のデー
タセクタ11,12,13,〜1nと、データセクタ11,12,13,〜1n
のいずれか不良である場合に使用する予備用の複数個の
代替セクタ21,22,〜2mが存在する。In FIG. 1, the information recording format is a sector system,
A plurality of data sectors 11, 12, 13, ~ 1n for recording information on one track and data sectors 11, 12, 13, ~ 1n
There are a plurality of spare sectors 21, 22, ... to 2m for spare used when any one of them is defective.
次に第2図において、本発明の一実施例の記憶装置60
は入出力装置接続回路61,命令実行制御回路62,誤り検査
回路63,書込み状態検査回路64,記憶ドライブ接続回路6
5,複数個の記憶ドライブ66a,〜66iを含む。Next, referring to FIG. 2, a storage device 60 according to an embodiment of the present invention.
Is an input / output device connection circuit 61, an instruction execution control circuit 62, an error check circuit 63, a write state check circuit 64, a storage drive connection circuit 6
5, including a plurality of storage drives 66a, 66i.
次に本実施例の動作について説明する。通常記憶ドラ
イブ内のデータセクタに情報の書込みを行う場合、入出
力装置50は記憶装置60に位置決め命令,書込み命令,ベ
リファイ命令を順次発行し情報の書込み及び情報が正し
く書込まれたことの確認を行う。Next, the operation of this embodiment will be described. When writing information to a data sector in a normal storage drive, the input / output device 50 sequentially issues a positioning command, a write command, and a verify command to the storage device 60 to write the information and confirm that the information has been written correctly. I do.
入出力装置50が信号線501を通して記憶装置60に位置
決め命令を発行すると命令実行制御回路62は信号線501,
入出力装置接続回路61,信号線601を通してこの命令を受
取り、続いて入出力装置50から転送される記憶ドライブ
アドレス情報,トラックアドレス情報,セクタアドレス
情報,書込みを行うべきセクタ数を指定する情報を受け
取る。命令実行制御回路62は信号線602を通して記憶ド
ライブ接続回路65に前記記憶ドライブアドレス情報によ
り指定された記憶ドライブを選択するように指示する。
ここでは以下の説明のために記憶ドライブ66aが選択さ
れたものとする。次に命令実行制御回路62は信号線602,
記憶トライブ接続回路65,信号線606を通して記憶ドライ
ブ66aにトラックアドレス情報及びセクタアドレス情報
を送り出し、トラック及びセクタの選択を行うよう指示
する。トラック及びセクタの選択が終了すると記憶ドラ
イブ66aは信号線606,記憶ドライブ接続回路65,信号線60
2を通して命令実行制御回路62にこの旨を通知する。命
令実行制御回路62は信号線601,入出力装置接続回路61,
信号線501を通して入出力装置50に位置決め命令の実行
が終了したことを通知する。When the input / output device 50 issues a positioning command to the storage device 60 via the signal line 501, the command execution control circuit 62 causes the signal line 501,
This command is received through the input / output device connection circuit 61 and the signal line 601, and storage drive address information, track address information, sector address information transferred from the input / output device 50, and information designating the number of sectors to be written are transmitted. receive. The instruction execution control circuit 62 instructs the storage drive connection circuit 65 through the signal line 602 to select the storage drive designated by the storage drive address information.
Here, it is assumed that the storage drive 66a is selected for the following description. Next, the instruction execution control circuit 62 uses the signal line 602,
The track address information and the sector address information are sent to the storage drive 66a through the storage tribe connection circuit 65 and the signal line 606 to instruct to select the track and the sector. When the selection of the track and the sector is completed, the storage drive 66a detects the signal line 606, the storage drive connection circuit 65, and the signal line 60.
This is notified to the instruction execution control circuit 62 through 2. The instruction execution control circuit 62 includes a signal line 601, an input / output device connection circuit 61,
Through the signal line 501, the input / output device 50 is notified that the execution of the positioning command is completed.
入出力装置50は続いて書込み命令を発行する。 The I / O device 50 subsequently issues a write command.
命令実行制御回路62は信号線501,入出力装置接続回路
61,信号線601を通して書込み命令を受け取ると、信号線
602,記憶ドライブ接続回路65,信号線606を通して記憶ド
ライブ66aに先に選択したトラック上のセクタから書込
みを開始するよう指示する。書き込むべき情報は入出力
装置50から信号線501,入出力装置接続回路61,信号線60
1,命令実行制御回路62,信号線602,記憶ドライブ接続回
路65,信号線606を通して記憶ドライブ66aに転送され
る。命令実行制御回路62は先に実行された位置決め命令
により指定された書込みを行うべきセクタ数に対応する
数の情報を記憶ドライブ66aに転送し終ると、信号線60
1,入出力装置接続回路61,信号線501を通して入出力装置
50に書込み命令の実行が終了したことを通知する。The instruction execution control circuit 62 is a signal line 501, an input / output device connection circuit
61, When a write command is received through the signal line 601, the signal line
The storage drive connection circuit 65 and the signal line 606 are used to instruct the storage drive 66a to start writing from the sector on the previously selected track. Information to be written is input / output device 50 to signal line 501, input / output device connection circuit 61, signal line 60.
1, transferred to the storage drive 66a through the instruction execution control circuit 62, the signal line 602, the storage drive connection circuit 65, and the signal line 606. When the instruction execution control circuit 62 finishes transferring to the storage drive 66a the number of pieces of information corresponding to the number of sectors to be written specified by the previously executed positioning instruction, the signal line 60
1, I / O device connection circuit 61, I / O device through signal line 501
Notify 50 that the execution of the write instruction is completed.
入出力装置50は続いてベリファイ命令を発行する。命
令実行制御回路62は信号線501,入出力装置接続回路61,
信号線601を通してベリファイ命令を受け取ると、先に
発行された位置決め命令により転送され命令実行制御回
路62内に記憶されているトラックアドレス情報及びセク
タアドレス情報を信号線602,記憶ドライブ接続回路65,
信号線606を通して記憶ドライブ66aに再び転送し、トラ
ック及びセクタの選択を行うよう指示する。トラック及
びセクタの選択が終了すると記憶ドライブ66aは信号線6
06,記憶ドライブ接続回路65,信号線602を通して命令実
行制御回路62にこの旨を通知する。The input / output device 50 subsequently issues a verify command. The instruction execution control circuit 62 includes a signal line 501, an input / output device connection circuit 61,
When a verify command is received through the signal line 601, the track address information and sector address information transferred by the previously issued positioning command and stored in the command execution control circuit 62 are transferred to the signal line 602, the storage drive connection circuit 65,
The data is again transferred to the storage drive 66a through the signal line 606, and an instruction to select a track and a sector is given. When the selection of tracks and sectors is completed, the storage drive 66a operates on the signal line 6
This is notified to the instruction execution control circuit 62 through 06, the storage drive connection circuit 65, and the signal line 602.
続いて命令実行制御回路62は信号線602,記憶ドライブ
接続回路65,信号線606を通して記憶ドライブ66aに先に
選択したトラック上のセクタから読取りを開始するよう
指示する。読み取られた情報は信号線606,記憶ドライブ
接続回路65,信号線603を通して誤り検査回路63に送ら
れ、誤り検査回路63により誤りの有無が検査され、その
結果は信号線604を通して命令実行制御回路62に通知さ
れる。誤りがなければ順次セクタが読み取られ、先に実
行された位置決め命令により転送され命令実行制御回路
62内に記憶されている書込みを行うべきセクタ数により
指定される数のセクタの読取り及び誤り検査が行われ
る。また、誤り検査回路63において誤りが検出されると
この旨が信号線604を通して命令実行制御回路62に通知
される。命令実行制御回路62は信号線606,記憶ドライブ
接続回路65,信号線602を通して記憶ドライブ66aからエ
ラーを含むセクタのアドレスを読み取ると共に、エラー
を含むデータセクタに対応する予備用の代替えセクタの
先頭のトラックアドレス情報及びセクタアドレス情報を
計算し、これを信号線602,記憶ドライブ接続回路65,信
号線606を通して記憶ドライブ66aに転送してトラック及
びセクタの選択を行うよう指示する。トラック及びセク
タの選択が終了すると命令実行制御回路62は信号線602,
記憶ドライブ接続回路65,信号線606を通して記憶ドライ
ブ66aに先に選択したトラック上のセクタから読取りを
開始するよう指示する。読み取られた情報は信号線606,
記憶ドライブ接続回路65,信号線603を通して書込み状態
検査回路64に送られて代替セクタが書込み済であるか否
かが検査され、その結果は信号線605を通して命令実行
制御回路62に通知される。読み取られた代替セクタが書
込み済であれば順次代替セクタが読み取られ、それが書
込み済であるか否かが検査される。書込み状態検査回路
64は末書込みの代替セクタが検出されると信号線605を
通してこの旨を命令実行制御回路62に通知する。命令実
行制御回路62は信号線606,記憶ドライブ接続回路65,信
号線602を通して記憶ドライブ66aから末書込みの代替セ
クタのアドレスを読み取り、ベリファイ中に誤りが検出
されたことを示す状態情報にエラーを含むデータセクタ
のアドレス及び末使用の代替セクタのアドレスを付加
し、信号線601,入出力装置接続回路61,信号線501を通し
て入出力装置50に転送する。Then, the instruction execution control circuit 62 instructs the storage drive 66a through the signal line 602, the storage drive connection circuit 65, and the signal line 606 to start reading from the sector on the previously selected track. The read information is sent to the error check circuit 63 through the signal line 606, the storage drive connection circuit 65, and the signal line 603, and the error check circuit 63 checks whether there is an error, and the result is sent through the signal line 604 to the instruction execution control circuit. 62 will be notified. If there is no error, the sectors are sequentially read and transferred by the previously executed positioning command. Command execution control circuit
Reading and error checking of the number of sectors specified by the number of sectors to be written stored in 62 are performed. When the error check circuit 63 detects an error, the fact is notified to the instruction execution control circuit 62 through the signal line 604. The instruction execution control circuit 62 reads the address of the sector including the error from the storage drive 66a through the signal line 606, the storage drive connection circuit 65, and the signal line 602, and reads the address of the spare alternative sector corresponding to the data sector including the error. The track address information and the sector address information are calculated, and transferred to the storage drive 66a through the signal line 602, the storage drive connection circuit 65, and the signal line 606 to instruct to select the track and the sector. When the track and sector selection is completed, the instruction execution control circuit 62 causes the signal line 602,
Through the memory drive connection circuit 65 and the signal line 606, the memory drive 66a is instructed to start reading from the sector on the previously selected track. The information read is the signal line 606,
It is sent to the write state inspection circuit 64 through the memory drive connection circuit 65 and the signal line 603 to check whether or not the alternative sector has been written, and the result is notified to the instruction execution control circuit 62 through the signal line 605. If the read alternative sector has been written, the alternative sectors are sequentially read and it is checked whether or not it has been written. Write status inspection circuit
When the end-write alternative sector is detected, 64 notifies the instruction execution control circuit 62 of this through the signal line 605. The instruction execution control circuit 62 reads the address of the last written alternative sector from the storage drive 66a through the signal line 606, the storage drive connection circuit 65, and the signal line 602, and adds an error to the status information indicating that an error was detected during verification. The address of the included data sector and the address of the last-used alternative sector are added and transferred to the input / output device 50 through the signal line 601, the input / output device connection circuit 61, and the signal line 501.
入出力装置50は前記エラーを含むデータセクタのアド
レスで指定されるデータセクタに当該セクタは読取り不
可能であることを示すマークを書き込み、更に前記未使
用の代替セクタのアドレスで指定される代替セクタに前
記読取り不可能なデータセクタに書き込むべき情報を書
き込むことにより、不良であるデータセクタの情報を代
替セクタに移すことができる。The input / output device 50 writes a mark indicating that the sector is unreadable to the data sector specified by the address of the data sector containing the error, and further, the alternative sector specified by the address of the unused alternative sector. By writing the information to be written to the unreadable data sector, the information of the defective data sector can be transferred to the alternative sector.
なお記憶ドライブ66a以外のものが選択されたときの
動作は上述の動作と同様なので説明を省略する。The operation when the storage drive other than the storage drive 66a is selected is the same as the above-mentioned operation, and thus the description thereof is omitted.
本発明の記憶装置は以上説明したように、ベリファイ
命令の実行結果を示す状態情報に未使用の代替トラック
又は代替セクタのアドレスを表示することによりソフト
ウェアのエラー処理を容易にする効果がある。As described above, the storage device of the present invention has the effect of facilitating software error processing by displaying the address of an unused alternative track or alternative sector in the status information indicating the execution result of the verify command.
第1図は本発明の記憶装置の一実施例における情報の記
録形式を示すブロック図及び第2図は本発明の記憶装置
の一実施例を示す回路ブロック図である。 図において、11,12,13,〜1n……データセクタ、21,22,
〜2m……代替セクタ、50……入出力装置、60……記憶装
置、61……入出力装置接続回路、62……命令実行制御回
路、63……誤り検査回路、64……書込み状態検査回路、
65……記憶ドライブ接続回路、66a〜66i……記憶ドライ
ブ、501,601,〜607……信号線。FIG. 1 is a block diagram showing an information recording format in an embodiment of the storage device of the present invention, and FIG. 2 is a circuit block diagram showing an embodiment of the storage device of the present invention. In the figure, 11,12,13, to 1n ... Data sector, 21,22,
~ 2m …… Alternative sector, 50 …… I / O device, 60 …… Memory device, 61 …… I / O device connection circuit, 62 …… Instruction execution control circuit, 63 …… Error checking circuit, 64 …… Writing status check circuit,
65 ... Memory drive connection circuit, 66a-66i ... Memory drive, 501,601, -607 ... Signal line.
Claims (1)
御手段と、記録媒体から読み取った情報に誤りが含まれ
ているか否かを検査する誤り検査手段と、前記記録媒体
上に情報が書込み済であるか否かを検査する書込み状態
検査手段とを備え、 前記命令実行制御手段は、解読した命令が前記記録媒体
上に正しく情報が記録されているか否かを検査するため
のベリファイ命令であるとき、前記誤り検査手段により
記録されている情報の誤りの有無を検査し、誤りが検出
されたとき前記書込み状態検査手段によりあらかじめ代
替用として定められている書込み済でない未使用の情報
記録エリアを検索し、前記ベリファイ命令の実行結果を
示す状態情報に代替となる情報記録エリアのアドレスを
付加して上位装置に転送することを特徴とする記憶装
置。1. An instruction execution control means for decoding and controlling execution of an instruction, an error checking means for checking whether information read from a recording medium contains an error, and writing information on the recording medium. Write state inspection means for inspecting whether or not it has been completed, and the instruction execution control means is a verify instruction for inspecting whether or not the decoded instruction is correctly recorded on the recording medium. When there is an error, the information recorded by the error checking means is inspected for an error. When an error is detected, the writing state checking means preliminarily substitutes an unused information recording area which has not been written. Memory device, the address of an alternative information recording area is added to the status information indicating the execution result of the verify command, and the result is transferred to a higher-level device. Place.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59093159A JPH0831247B2 (en) | 1984-05-10 | 1984-05-10 | Storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59093159A JPH0831247B2 (en) | 1984-05-10 | 1984-05-10 | Storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60236165A JPS60236165A (en) | 1985-11-22 |
| JPH0831247B2 true JPH0831247B2 (en) | 1996-03-27 |
Family
ID=14074767
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59093159A Expired - Lifetime JPH0831247B2 (en) | 1984-05-10 | 1984-05-10 | Storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0831247B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5928247A (en) * | 1982-08-04 | 1984-02-14 | Nec Corp | Optical disk processor |
-
1984
- 1984-05-10 JP JP59093159A patent/JPH0831247B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60236165A (en) | 1985-11-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4525839A (en) | Method of controlling storage device | |
| JPH1050005A (en) | Method for managing defect on optical disk and device therefor | |
| JPH052830A (en) | Recording / reproducing apparatus and recording / reproducing method in recording / reproducing apparatus | |
| JPH06111479A (en) | Information recording / reproducing device | |
| JPS59113509A (en) | Disc processing device | |
| JPH06309118A (en) | Information processing equipment | |
| JP2616097B2 (en) | Information recording / reproducing device | |
| JP2502356B2 (en) | Data recording / reproducing device | |
| JPS60236165A (en) | Storage device | |
| JP2910803B2 (en) | Highly reliable auxiliary storage device | |
| JP2595316B2 (en) | Alternate assignment processing method | |
| JPS61283074A (en) | optical information device | |
| JPH01273262A (en) | Storing medium exchange | |
| KR100510444B1 (en) | Method for managing the history of test in hard disk drive | |
| JPS60229272A (en) | Faulty part skip information recording system of fixed disk medium | |
| JPS6038764A (en) | Information recording system | |
| JPH07118153B2 (en) | Alternation processing method for erasable / rewritable optical disk device | |
| JPH03147571A (en) | Magneto-optical disk recorder | |
| JPS62120636A (en) | Optical disk recording device | |
| JPH02307119A (en) | Storage device | |
| JPS63195877A (en) | Data recording and reproducing system | |
| JPS6148172A (en) | Information writing control method | |
| JPS59157813A (en) | Controller for magnetic memory of rotor | |
| JPS61283073A (en) | Optional information device | |
| JPH04177671A (en) | Controlling method for disk device |