JPS62139181A - Processing system for faulty record in recording medium - Google Patents

Processing system for faulty record in recording medium

Info

Publication number
JPS62139181A
JPS62139181A JP27975885A JP27975885A JPS62139181A JP S62139181 A JPS62139181 A JP S62139181A JP 27975885 A JP27975885 A JP 27975885A JP 27975885 A JP27975885 A JP 27975885A JP S62139181 A JPS62139181 A JP S62139181A
Authority
JP
Japan
Prior art keywords
record
address
read
data
faulty
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
JP27975885A
Other languages
Japanese (ja)
Inventor
Takao Kobayashi
隆夫 小林
Kenichi Ariga
有家 賢一
Masabumi Asano
正文 浅野
Masahiro Kurita
栗田 真広
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 JP27975885A priority Critical patent/JPS62139181A/en
Publication of JPS62139181A publication Critical patent/JPS62139181A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To recognize the next address to be read by recording the address of the next record at a part on a faulty record, and making skip a read address directly from the position of the faulty record to that of a normal address. CONSTITUTION:To put a flexible disk into practical use, a prescribed data is written in advance, and the data is read and checked, then the faulty record being detected, and an address (n) is found from the value of an address counter 2. One is added on the value (n) at an address air arithmetic circuit 3, and the data is set as the data of (n+1), and it is written at a position possible to be written at a faulty record generating position as the faulty record. The position to be written of the faulty record is not always regulated, however, it is possible to be read out from a logical point of view with the same timing by storing the faulty record at a prescribed register. In this way, when the faulty record is detected and the data is read, it is possible to grasp the continuing address of a read command skipping the faulty record exactly and rapidly.

Description

【発明の詳細な説明】 〔概要〕 記憶媒体、例えばフレキシブルディスクの記録媒体の欠
陥レコード処理方式であって、欠陥レコードに予め書き
込まれたアドレスを直接読み取ることによって複雑なア
ドレスルーチンによる処理を行うことな(、リード処理
を円滑に実行できる。
[Detailed Description of the Invention] [Summary] A defective record processing method for a storage medium, such as a flexible disk, in which processing is performed using a complex address routine by directly reading an address written in advance in a defective record. () Read processing can be executed smoothly.

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

本発明は記憶媒体の欠陥レコードの処理に関するもので
ある。
The present invention relates to handling defective records on storage media.

通常記憶媒体、例えばフレキシブルディスクに物理的欠
陥、例えば、磁気媒体の剥離、損耗あるいは損傷等によ
ってデータのアクセスができないM31iをレコード、
即ち欠陥レコード毎に管理することによって、使用時に
欠陥レコード領域をアクセスしないようにして、取り扱
うことができるようになっている。
Record M31i, where data cannot be accessed due to a physical defect in a normal storage medium, such as a flexible disk, such as peeling, wear, or damage to the magnetic medium.
That is, by managing each defective record, it is possible to handle the defective record area without accessing it during use.

しかしながら、このように欠陥レコードをスキップする
処理は複雑で、時間を必要とする。
However, this process of skipping defective records is complex and time consuming.

従って、簡易な方式で、この処理を可能にする方式が要
望されている。
Therefore, there is a need for a method that can perform this process in a simple manner.

〔従来の技術〕[Conventional technology]

第2(b)図は従来のリード時の欠陥レコード処理説明
図を示す。
FIG. 2(b) shows an explanatory diagram of defective record processing at the time of conventional reading.

例えば、連続的に格納されたデータを読み出すコマンド
チェイン方式、ルコード(ヘット)単位でリードを実行
している場合、1トランク中のnレコード目にエラーが
発生したとすると、直ちにセンスコマンドを発行して、
これによってnレコード目のフレキシブルディスク媒体
上の物理アドレスを読み、これに1を加算したアドレス
からルーコード単位のリード処理に切り換えて、同一ト
ラックの残りの部分を読んで行く。
For example, if you are using the command chain method to read data that has been stored continuously, or reading in units of records (heads), if an error occurs at the nth record in one trunk, a sense command will be issued immediately. hand,
As a result, the physical address on the flexible disk medium of the n-th record is read, and from the address in which 1 is added to the physical address, the read processing is switched to the ro-code unit, and the remaining portion of the same track is read.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この従来方式では、上記したように欠陥レコードを発見
すると、ルーコード単位でリードして行くことになるが
、この状態で更に連続して欠陥レコードが発見された場
合には上記した手順を繰り返すことになる。
In this conventional method, when a defective record is discovered as described above, it is read in units of lou codes, but if more consecutive defective records are discovered in this state, the above procedure is repeated. become.

従って、読み取りのため極めて多くのリード時間がかか
ることになる。
Therefore, it takes an extremely long time to read the data.

本発明はこのような点に鑑みて創作されたものであって
、記憶媒体の欠陥レコードに次の正常レコードのアドレ
スを書き込んでおくことによって、直ちにリードする次
のアドレスを認識できる簡易な方式を提供することを目
的としている。
The present invention was created in view of these points, and provides a simple method that allows the next address to be read to be immediately recognized by writing the address of the next normal record in the defective record of the storage medium. is intended to provide.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

第2図の本発明の実施例に示すように、予め欠陥検出回
路1によって欠陥レコードを検出し、そのアドレスをア
ドレスカウンタ2で捕捉し、演算回路3で1を加算して
求めた次のアドレスを書き込み回路4によって欠陥レコ
ードの記録可能場所に書き込む。
As shown in the embodiment of the present invention shown in FIG. 2, a defective record is detected in advance by a defect detection circuit 1, the address is captured by an address counter 2, and the next address is determined by adding 1 to the address by an arithmetic circuit 3. is written by the write circuit 4 into the recordable location of the defective record.

次のレコード以降にも欠陥レコードが続くなら、始めの
欠陥レコードに無欠陥レコードが始まるレコードアドレ
スを書き込んでおく。
If defective records continue after the next record, write the record address where the non-defective record starts in the first defective record.

このレコードアドレスを読み取ると直接そのアドレスヘ
スキソプしてリード再開できるようにする。
When this record address is read, it is possible to directly write to that address and resume reading.

〔作用〕[Effect]

リードコマンド実行中に欠陥レコードが発見された場合
は、直ちに次のレコードのアドレスを読み出すことがで
きるので、直ちにそのアドレスを指定し、リードを実行
することができるので、読み取りの実行時間は、従来に
比べて極めて速くすることができる。
If a defective record is found during the execution of a read command, the address of the next record can be read immediately, so the address can be specified immediately and the read can be executed. It can be extremely fast compared to .

〔実施例〕〔Example〕

第1図は本発明の記録媒体の欠陥レコード処理方式の実
施例のブロック図を示す。
FIG. 1 shows a block diagram of an embodiment of a method for processing defective records in a recording medium according to the present invention.

フレキシブルディスクを実用に供するにあたって、予め
所定のデータを書き込み、このデータをリードして書き
込まれたデータと照合して欠陥レコードを検出し、その
アドレスnをアドレスカウンタ2の値から求める。
When putting a flexible disk into practical use, predetermined data is written in advance, this data is read and compared with the written data to detect a defective record, and its address n is determined from the value of the address counter 2.

この値nにアドレス演算回路3で1を加算し、fi+l
をデータとし、欠陥レコードとして欠陥レコード発生場
所の書き込み可能場所に書き込む。
The address calculation circuit 3 adds 1 to this value n, and fi+l
as data and write it as a defective record to a writable location where the defective record occurs.

フレキシブルディスクに書き込むルコードは例えば12
8バイトで構成され、記憶容量1メガバイトとして欠陥
レコードのデータは表示ラベルを含め数バイトのデータ
である。
For example, the code to write to a flexible disk is 12.
It consists of 8 bytes, and the storage capacity is 1 megabyte, and the data of the defective record is several bytes of data including the display label.

この欠陥レコードデータの書き込み場所を一定にするこ
とはできないが、所定のレジスフに格納することによっ
て、論理的に同一タイミングで読み出すことが可能であ
る。
Although the writing location of this defective record data cannot be made constant, by storing it in a predetermined register, it is possible to read it out at the same logical timing.

従って、欠陥レコードを検出してデータを読み取ると、
欠陥レコードをとばしてリードコマンドの続行アドレス
を正確にしかも迅速に把握することになる(第2(a)
図)。
Therefore, when we detect a defective record and read the data,
By skipping defective records, the continuation address of the read command can be accurately and quickly determined (Section 2 (a)
figure).

上記した演算回路3の+1の加算は欠陥レコードに続く
次のアドレスのレコードが正常のときで、次のアドレス
のレコードが欠陥の時には書き込まれるアドレスデータ
は次の正常レコードのアドレスである。
The arithmetic circuit 3 adds +1 when the record at the next address following the defective record is normal, and when the record at the next address is defective, the address data written is the address of the next normal record.

また、本発明と従来の欠陥レコード処理とを併用するこ
とによって、更に記憶媒体を有効に利用することができ
るのは云うまでもない。
Furthermore, it goes without saying that by using the present invention and conventional defective record processing in combination, the storage medium can be used more effectively.

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

以上述べてきたように、本発明によれば、欠陥レコード
の検出時、リードコマンドを出し直すこともなく、且つ
そのためプログラミング上でハードエラー処理のアドレ
ス計算を省略することができ、欠陥レコードを読み飛ば
して処理する場合に非常に効果があって、実用的には極
めて有用である。
As described above, according to the present invention, when a defective record is detected, there is no need to issue a read command again, and therefore address calculation for hard error processing can be omitted in programming, and the defective record can be read. It is very effective when skipping and processing, and is extremely useful in practice.

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

第1図は本発明の記録媒体の欠陥レコード処理方式の実
施例のブロック図、 第2図はリード時の欠陥レコード処理説明図、である。 図において、 1は欠陥検出回路、  2はアドレスカウンタ、3は演
算回路、    4は書き込み回路、1460月め大−
パ町仔Iフ゛口・・7Dり第1図 第2図
FIG. 1 is a block diagram of an embodiment of a defective record processing method for a recording medium according to the present invention, and FIG. 2 is an explanatory diagram of defective record processing during reading. In the figure, 1 is a defect detection circuit, 2 is an address counter, 3 is an arithmetic circuit, 4 is a write circuit,
Pachinko I page...7D Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 記憶媒体の欠陥レコードをあらかじめ検出して、該欠陥
レコードの一部に次位レコードのアドレスを記録してお
き、読み取り時に前記欠陥レコード位置から次の正常ア
ドレス位置に読み取りアドレスを直接スキップさせるよ
うにしたことを特徴とする記録媒体の欠陥レコード処理
方式。
A defective record in a storage medium is detected in advance, the address of the next record is recorded in a part of the defective record, and the read address is directly skipped from the defective record position to the next normal address position when reading. A method for processing defective records in a recording medium, which is characterized by:
JP27975885A 1985-12-11 1985-12-11 Processing system for faulty record in recording medium Pending JPS62139181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27975885A JPS62139181A (en) 1985-12-11 1985-12-11 Processing system for faulty record in recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27975885A JPS62139181A (en) 1985-12-11 1985-12-11 Processing system for faulty record in recording medium

Publications (1)

Publication Number Publication Date
JPS62139181A true JPS62139181A (en) 1987-06-22

Family

ID=17615494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27975885A Pending JPS62139181A (en) 1985-12-11 1985-12-11 Processing system for faulty record in recording medium

Country Status (1)

Country Link
JP (1) JPS62139181A (en)

Similar Documents

Publication Publication Date Title
JP2798327B2 (en) Method of controlling a data processing device
JPH0378649B2 (en)
KR860000647A (en) Mass storage disk drive bad media handling method
JPH02216672A (en) Optical disk drive device
JPH04243061A (en) Flexible magnetic disk device
JPS60175254A (en) Dead copy preventing method for software recording medium
JPS62139181A (en) Processing system for faulty record in recording medium
JPH0554547A (en) Optical disk and its data writing method
JPS5898806A (en) Controlling system for rotary storage device
JPH0520789A (en) Recording and reproducing device
KR100510444B1 (en) Method for managing the history of test in hard disk drive
JPH03147571A (en) Magneto-optical disk recorder
RU2005109168A (en) METHOD FOR MANAGING THE TREATMENT OF DISK DEFECTS AND THE DEVICE FOR ITS IMPLEMENTATION, AND ALSO THE DISK FOR THE INDICATED DEVICE
JPH0628779A (en) Method for recording and controlling data in disk device
JPS63306567A (en) Rotary type storage device
JPH025265A (en) Alternation processing system for optical disk device capable of erasion and rerecording
JPH01112574A (en) Defective sector alternating system for disk device
JPH02206082A (en) Storage system
JPH0795370B2 (en) Information recording / reproducing device
JPS61283074A (en) Optical system information device
JPS61248266A (en) Optical disk device
JPH04146574A (en) Cylinder skew method
JPH1021653A (en) Magnetic disk device
JPH04212719A (en) Optical information recording method
JPH01312782A (en) Defect sector processing system