JPH05314673A - Fault deciding device - Google Patents

Fault deciding device

Info

Publication number
JPH05314673A
JPH05314673A JP12066492A JP12066492A JPH05314673A JP H05314673 A JPH05314673 A JP H05314673A JP 12066492 A JP12066492 A JP 12066492A JP 12066492 A JP12066492 A JP 12066492A JP H05314673 A JPH05314673 A JP H05314673A
Authority
JP
Japan
Prior art keywords
failure
error
sector
failure determination
input
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
JP12066492A
Other languages
Japanese (ja)
Inventor
Seiji Hase
清治 長谷
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP12066492A priority Critical patent/JPH05314673A/en
Publication of JPH05314673A publication Critical patent/JPH05314673A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To predict the fault decision of a part concerned before the specific part of a specific storage reproducing device becomes unuseable. CONSTITUTION:An input/output processing part 4 executes the processing of the input/output of information between its processing part and a data storage part 23 and also detects a fault state in the input/output processing. On a flexible disk 22, an integrating error frequency storage part 6 is provided and the number of times of generation of a fault generated at every sector of the data storage part 23 is integrated and stored at every sector. An integrating error frequency comparing part 8 executes a fault decision, in the case the number of times of generation of an integrating error exceeds the allowable number of times of generation of an error set in advance.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、記憶再生装置の故障
判定装置に関するものであり、特に、その故障予測に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure judgment device for a storage / reproduction device, and more particularly to a failure prediction thereof.

【0002】[0002]

【従来の技術】従来の故障判定装置においては、記憶再
生装置との間でデータの読み出し又は書込みに失敗した
場合、以下のようにして故障判定を行なっていた。
2. Description of the Related Art In a conventional failure determination device, when data reading or writing with a storage / reproducing device fails, the failure determination is performed as follows.

【0003】まず、書込みに失敗した場合について説明
する。記憶再生装置との間でデータの書込みに失敗する
と、故障判定装置は一時的なエラーが発生したと認識す
る。一時的なエラーが発生した場合、故障判定装置は、
同じ動作を繰り返すよう記憶再生装置に指令を出す。
First, the case where writing fails will be described. If the writing of data with the storage / playback device fails, the failure determination device recognizes that a temporary error has occurred. When a temporary error occurs, the failure determination device
A command is issued to the memory reproducing device to repeat the same operation.

【0004】記憶再生装置は、故障判定装置の指令を受
けて、書込み動作を繰り返す。書込み動作を所定の回数
繰り返す前に書込みができた場合、故障判定装置は最終
的なエラーは発生しなかったと判定するとともに、書込
み動作を終了する。
The storage / reproduction device receives the command from the failure determination device and repeats the write operation. If the writing can be performed before the writing operation is repeated a predetermined number of times, the failure determination device determines that the final error has not occurred, and ends the writing operation.

【0005】これに対して、書込み動作を所定の回数繰
り返しても、書込みができなかった場合は、故障判定装
置は最終的なエラーが発生したと判定するとともに、書
込み動作を打ち切って終了する。さらに故障発生した旨
のメッセージを出したり、当該領域は不使用領域とし、
他の領域に再度書込動作を行なったりする。
On the other hand, if the writing operation is not repeated even after the writing operation is repeated a predetermined number of times, the failure judging device judges that a final error has occurred and terminates the writing operation. Furthermore, a message indicating that a failure has occurred is issued, the area is set as an unused area,
The write operation is performed again in another area.

【0006】なお、読み出し時に、一時的なエラーが発
生した場合もほぼ同様である。すなわち、記憶再生装置
との間でデータの読み出しに失敗すると、故障判定装置
は一時的なエラーが発生したと認識し、同じ動作を繰り
返すよう記憶再生装置に指令を出す。
The same is true when a temporary error occurs during reading. That is, when the reading of data from the storage / reproduction device fails, the failure determination device recognizes that a temporary error has occurred and issues a command to the storage / reproduction device to repeat the same operation.

【0007】この指令を受けて、記憶再生装置は読み出
し動作を繰り返す。所定の回数繰り返す前に読み出しが
できた場合、故障判定装置は最終的なエラーは発生しな
かったと判定するとともに、読み出し動作を終了する。
In response to this command, the storage / reproducing apparatus repeats the read operation. If the reading can be performed before repeating the predetermined number of times, the failure determination device determines that the final error has not occurred, and ends the read operation.

【0008】これに対して、読み出し動作を所定の回数
繰り返しても、読み出しができなかった場合は、故障判
定装置は最終的なエラーが発生したと判定するととも
に、読み出し動作を打ち切って終了する。さらに故障発
生した旨のメッセージの表示を行なったりする。
On the other hand, if the read operation cannot be performed even after repeating the read operation a predetermined number of times, the failure determination device determines that a final error has occurred, and terminates the read operation. Further, a message indicating that a failure has occurred is displayed.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記の
ような故障判定装置においては、次のような問題点があ
った。一時的なエラーが発生したとしても。読み出し動
作又は書込み動作を所定の回数繰り返す前に読み出し又
は書込みができた場合、故障判定装置は最終的なエラー
は発生しなかったと判定する。
However, the above-described failure determination device has the following problems. Even if a temporary error occurs. If the read or write is possible before the read or write operation is repeated a predetermined number of times, the failure determination device determines that the final error has not occurred.

【0010】すなわち、記憶再生装置の特定部分に書込
みまたは読み出しができなくなって初めて、最終的なエ
ラーが発生したと認識する。このような状態が読み出し
時に発生すると、当該領域に書込まれているデータは無
駄となる。さらに、当該領域に書込まれているデータと
関連したデータも無駄となるおそれがある。また、書込
時に発生すると、数回繰り返すうちに、書き込むことは
できたが、結局読み出しができないというおそれもあ
る。
That is, it is recognized that the final error occurs only when writing or reading cannot be performed in a specific portion of the storage / reproducing apparatus. If such a state occurs at the time of reading, the data written in the area is wasted. Further, the data related to the data written in the area may be wasted. Further, if it occurs at the time of writing, it may be possible to write the data after repeating it several times, but eventually it may not be possible to read the data.

【0011】この発明は、上記のような問題点を解決
し、特定の記憶再生装置の特定部分が使用不可能となる
前に、当該部分の故障判定の予測ができる故障判定装置
を提供することを目的とする。
The present invention solves the above problems and provides a failure determination device capable of predicting the failure determination of a specific storage / reproducing device before it becomes unusable. With the goal.

【0012】[0012]

【課題を解決するための手段】請求項1にかかる故障判
定装置においては、記憶再生装置の情報記憶部の特定部
分に発生した故障発生回数を特定部分ごとに積算記憶す
る積算回数記憶部を、当該記憶再生装置内または故障判
定装置内に設けるとともに、入出力処理手段は、情報記
憶部の特定部分に故障が発生する毎に、積算回数記憶部
に記憶されている積算故障回数を更新し、故障判定手段
は、あらかじめ設定された故障発生許容回数と前記積算
故障回数とを比較することにより故障判定を行なうこ
と、を特徴とする。
According to a first aspect of the present invention, there is provided a failure determination device, comprising: an integrated number storage section for integrating and storing the number of failure occurrences in a specific part of an information storage section of a storage / reproduction device for each specific part. The input / output processing means is provided in the storage / reproducing device or in the failure determination device, and updates the cumulative number of failures stored in the cumulative number storage section each time a failure occurs in a specific part of the information storage section, The failure determination means is characterized by making a failure determination by comparing a preset allowable failure occurrence count with the cumulative failure occurrence count.

【0013】[0013]

【作用】積算回数記憶部は、記憶再生装置の情報記憶部
の特定部分に発生した故障発生回数を、特定部分ごとに
積算記憶する。入出力処理手段は、情報記憶部の特定部
分に故障が発生する毎に、積算回数記憶部に記憶されて
いる積算故障回数を更新する。故障判定手段は、あらか
じめ設定された故障発生許容回数と前記積算故障回数と
を比較することにより故障判定を行なう。したがって、
特定の記憶再生装置の特定部分に発生した積算故障回数
に応じた、故障判定を行なうことができる。
The cumulative number storage unit cumulatively stores the number of failure occurrences in a specific portion of the information storage unit of the storage / reproducing apparatus for each specific portion. The input / output processing means updates the cumulative failure frequency stored in the cumulative frequency storage section each time a failure occurs in a specific portion of the information storage section. The failure determination means makes a failure determination by comparing a preset allowable failure occurrence count with the cumulative failure occurrence count. Therefore,
It is possible to make a failure determination according to the cumulative number of failures that have occurred in a specific portion of a specific storage / reproduction device.

【0014】[0014]

【実施例】本発明の一実施例を図面に基づいて説明す
る。図1に、この発明に係る故障判定装置の一実施例を
ブロック図で示す。故障判定装置1は、一時エラー回数
記憶部10、一時エラー回数比較部12、故障処理部14、入
出力処理手段である入出力処理部4、および故障判定手
段である積算エラー回数比較部8を備えている。
An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the failure determination device according to the present invention. The failure determination device 1 includes a temporary error number storage unit 10, a temporary error number comparison unit 12, a failure processing unit 14, an input / output processing unit 4 which is an input / output processing unit, and an integrated error number comparison unit 8 which is a failure determination unit. I have it.

【0015】入出力処理部4は、記憶再生装置とのイン
ターフェイス部であり、本実施例では、記憶再生装置と
してフレキシブルディスク22が接続されている。フレキ
シブルディスク22には、情報記憶部であるデータ記憶部
23および積算回数記憶部である積算エラー回数記憶部6
が設けられている。積算エラー回数記憶部6は、データ
記憶部23の特定部分に発生した故障発生回数を、特定部
分ごとに積算記憶する。ここで、積算エラー発生回数と
は、各特定部分において、当該特定部分を使用開始して
から現在までに発生したエラー回数をいい、読み出し、
書込み動作ごとに積算される。
The input / output processing unit 4 is an interface unit with a storage / reproduction device, and in this embodiment, a flexible disk 22 is connected as the storage / reproduction device. The flexible disk 22 includes a data storage unit that is an information storage unit.
23 and the cumulative error count storage unit 6 that is the cumulative count storage unit
Is provided. The cumulative error number storage unit 6 cumulatively stores the number of failure occurrences in a specific portion of the data storage unit 23 for each specific portion. Here, the cumulative error occurrence count refers to the number of errors that have occurred in each specific portion from the start of using the specific portion to the present, and is read out,
It is added up for each writing operation.

【0016】また、入出力処理部4は、データ記憶部23
との間で情報の入出力の処理を行なうとともに、この入
出力の処理における故障状態を検出する。さらにデータ
記憶部23の特定部分に故障が発生する毎に、積算エラー
回数記憶部6に記憶されている積算故障回数を更新す
る。
Further, the input / output processing unit 4 includes a data storage unit 23.
Information input / output processing is performed between the input and output terminals, and a failure state in the input / output processing is detected. Further, each time a failure occurs in a specific portion of the data storage unit 23, the cumulative failure frequency stored in the cumulative error frequency storage unit 6 is updated.

【0017】一時エラー回数記憶部10は、フレキシブル
ディスク22のデータ記憶部23の特定部分に発生した一時
エラー発生回数を記憶する。ここで、一時エラー発生回
数とは、入出力動作スタートからエラー終了または正常
終了までの一連の流れにおけるエラー発生回数をいう。
なお、本実施例では、特定部分としてフレキシブルディ
スク22の一セクタを一単位として割り当てた。したがっ
て、積算エラー回数記憶部6は、データ記憶部23の各セ
クタ毎に発生した故障発生回数を、各セクタごとに積算
記憶することとなる。
The temporary error count storage unit 10 stores the number of temporary error occurrences in a specific portion of the data storage unit 23 of the flexible disk 22. Here, the number of temporary error occurrences refers to the number of error occurrences in a series of flow from the start of the input / output operation to the error end or the normal end.
In the present embodiment, one sector of the flexible disk 22 is assigned as a specific portion. Therefore, the cumulative error number storage unit 6 cumulatively stores, for each sector, the number of failure occurrences occurring in each sector of the data storage unit 23.

【0018】一時エラー回数比較部12は、各セクタ毎に
あらかじめ設定されている繰り返し回数と、フレキシブ
ルディスク22の各セクタにおいて発生した各セクタ毎の
一時エラー発生回数を比較し、比較結果を故障処理部14
を介して入出力処理部4に出力する。この結果に基づ
き、入出力処理部4は、フレキシブルディスク22のデー
タ記憶部23に対して、再書込み等を行なう。なお、本実
施例においては前記繰り返し回数を読み出し時、書込み
時ともに3回とした。
The temporary error count comparison unit 12 compares the number of repetitions set in advance for each sector with the number of temporary error occurrences in each sector of the flexible disk 22 for each sector, and treats the comparison result as a failure process. Part 14
To the input / output processing unit 4 via. Based on this result, the input / output processing unit 4 rewrites the data storage unit 23 of the flexible disk 22. In this example, the number of repetitions was set to 3 for both reading and writing.

【0019】積算エラー回数比較部8は、当該セクタに
あらかじめ設定されている故障発生許容回数(以下エラ
ー発生許容回数という)と当該セクタの積算エラー発生
回数とを比較する。積算エラー発生回数があらかじめ設
定されているエラー発生許容回数を越えた場合には、故
障判定を行ない、判定結果を故障処理部14に出力する。
なお、本実施例においては前記エラー発生許容回数を読
み出し時、書込み時ともに30回ずつとした。
The integrated error count comparison unit 8 compares the failure occurrence allowable count preset for the sector (hereinafter referred to as error occurrence allowable count) with the integrated error occurrence count of the sector. If the cumulative number of error occurrences exceeds the preset allowable number of error occurrences, failure determination is performed and the determination result is output to the failure processing unit 14.
In the present embodiment, the allowable number of error occurrences was set to 30 times both during reading and during writing.

【0020】故障処理部14は、積算エラー回数比較部8
からの判定結果を受けて、入出力処理部4を介して、フ
レキシブルディスク22の該当するセクタの故障処理等を
行なう。
The failure processing unit 14 includes an integrated error count comparison unit 8
In response to the determination result from, the failure processing of the corresponding sector of the flexible disk 22 is performed via the input / output processing unit 4.

【0021】[書込み制御]つぎに、図1、図2を用い
て、フレキシブルディスク22の第1セクタにデータを書
込む場合における故障判定装置1の制御動作を説明す
る。まず、フレキシブルディスク22の第1セクタの一時
エラー回数をクリアし(ステップS201)、書込みを開始
する(ステップS202)。つぎに、書込み時にエラーが発
生するか否かが検出される(ステップS203)。エラー発
生がなければフレキシブルディスク22の第1セクタにデ
ータが書込まれ、正常終了する(ステップS209)。
[Write Control] Next, the control operation of the failure determination device 1 when writing data to the first sector of the flexible disk 22 will be described with reference to FIGS. First, the number of temporary errors in the first sector of the flexible disk 22 is cleared (step S201), and writing is started (step S202). Next, it is detected whether or not an error occurs during writing (step S203). If no error occurs, data is written in the first sector of the flexible disk 22 and the process ends normally (step S209).

【0022】ステップS203において、エラー発生した場
合は、フレキシブルディスク22の第1セクタの一時エラ
ー回数に1加算される(ステップS204)。すなわち、フ
レキシブルディスク22の第1セクタの一時エラー回数は
0から1となる。
When an error occurs in step S203, 1 is added to the number of temporary errors in the first sector of the flexible disk 22 (step S204). That is, the number of temporary errors in the first sector of the flexible disk 22 changes from 0 to 1.

【0023】さらに、フレキシブルディスク22の積算エ
ラー回数記憶部6に記憶されている第1セクタの積算エ
ラー回数が読み出され、その値に1加算される(ステッ
プS205)。たとえば積算エラー回数が20であれば、積算
エラー回数は20から21となる。なお、加算された値はふ
たたび、積算エラー回数記憶部6に記憶される。
Further, the cumulative error number of the first sector stored in the cumulative error number storage unit 6 of the flexible disk 22 is read out and 1 is added to the value (step S205). For example, if the cumulative error number is 20, the cumulative error number is 20 to 21. The added value is again stored in the cumulative error number storage unit 6.

【0024】つぎに、積算エラー回数がエラー発生許容
回数より多いかを判定する(ステップS206)。本実施例
においては前記エラー発生許容回数を30回としており、
現段階では積算エラー回数は20から21である。したがっ
て、積算エラー回数はエラー発生許容回数を越えておら
ず、ステップS207に進む。ステップS207では、一時エラ
ー回数が繰り返し回数より多いかが判定される。この場
合、一時エラー回数は1であるから、ステップS202に戻
り、第1セクタにふたたびデータが書込まれる。
Next, it is determined whether the cumulative error count is greater than the allowable error occurrence count (step S206). In the present embodiment, the error occurrence allowable number is 30 times,
At this stage, the total number of errors is 20 to 21. Therefore, the cumulative number of errors does not exceed the allowable number of error occurrences, and the process proceeds to step S207. In step S207, it is determined whether the number of temporary errors is greater than the number of repetitions. In this case, since the number of temporary errors is 1, the process returns to step S202, and the data is again written in the first sector.

【0025】このような、再書込み動作が一時エラー回
数が繰り返し回数より多くなるまで繰り返され、その間
に書込みできれば、ステップS203において、エラー発生
なしとして正常終了する(ステップS209)。しかし、書
込みできない場合は、ステップS208の故障処理に進む。
本実施例においては、故障処理として、第一セクタとは
別のセクタであって、未だ情報が書込まれていないセク
タ(この場合は第二セクタとした)に当該情報を書込む
ようにした。このような故障処理が行なわれると、ステ
ップS201に戻り、第二セクタの一時エラー回数をクリア
し、書込みを開始する(ステップS202)。書込み時にエ
ラーが発生するか否かが検出され(ステップS203)、エ
ラー発生がなければフレキシブルディスク22の第2セク
タにデータが書込まれ、正常終了する(ステップS20
9)。
Such a rewriting operation is repeated until the number of temporary errors exceeds the number of repetitions, and if writing can be performed during that time, in step S203, no error occurs and the process ends normally (step S209). However, if it cannot be written, the process proceeds to the failure process of step S208.
In the present embodiment, as failure processing, the information is written in a sector that is different from the first sector and in which information has not yet been written (in this case, the sector is the second sector). .. When such a failure process is performed, the process returns to step S201, the number of temporary errors in the second sector is cleared, and writing is started (step S202). Whether or not an error occurs during writing is detected (step S203). If no error occurs, data is written in the second sector of the flexible disk 22 and the process ends normally (step S20).
9).

【0026】これに対して、ステップS203において、エ
ラー発生した場合は、再書込み動作が繰り返され、その
間に書込みできれば、正常終了するが、書込みできない
場合は、前記故障処理がふたたび行われる(ステップS2
08)。
On the other hand, in step S203, if an error occurs, the rewriting operation is repeated. If writing can be done during that time, the operation ends normally, but if writing is not possible, the failure processing is performed again (step S2).
08).

【0027】[読み出し制御]つぎに、図1、図3を用
いて、フレキシブルディスク22の第1セクタのデータを
読み出す場合における故障判定装置1の制御動作を説明
する。まず、フレキシブルディスク22の第1セクタの一
時エラー回数をクリアし(ステップS301)、読み出しを
開始する(ステップS302)。つぎに、読み出し時にエラ
ーが発生するか否かが検出される(ステップS303)。エ
ラー発生がなければ、フレキシブルディスク22の第1セ
クタの積算フラッグがオンか否かが判定され(ステップ
S311)、積算フラッグがオンでなければ、フレキシブル
ディスク22の第1セクタのデータが読み出され、正常終
了する(ステップS313)。
[Read Control] Next, the control operation of the failure determination device 1 when reading the data of the first sector of the flexible disk 22 will be described with reference to FIGS. First, the number of temporary errors in the first sector of the flexible disk 22 is cleared (step S301), and reading is started (step S302). Next, it is detected whether an error occurs during reading (step S303). If there is no error, it is determined whether the integration flag of the first sector of the flexible disk 22 is on (step
S311), if the integration flag is not on, the data of the first sector of the flexible disk 22 is read and the process ends normally (step S313).

【0028】ステップS303において、エラー発生した場
合は、フレキシブルディスク22の第1セクタにおける一
時エラー回数に1加算される(ステップS304)。すなわ
ち、フレキシブルディスク22の第1セクタの一時エラー
回数は0から1となる。
If an error occurs in step S303, 1 is added to the number of temporary errors in the first sector of the flexible disk 22 (step S304). That is, the number of temporary errors in the first sector of the flexible disk 22 changes from 0 to 1.

【0029】また、フレキシブルディスク22の第1セク
タの積算エラー回数に1加算される(ステップS305)。
たとえば積算エラー回数が20であれば、積算エラー回数
は20から21となる。なお、加算された値はふたたび、積
算エラー回数記憶部6に記憶される。
Further, 1 is added to the cumulative error number of the first sector of the flexible disk 22 (step S305).
For example, if the cumulative error number is 20, the cumulative error number is 20 to 21. The added value is again stored in the cumulative error number storage unit 6.

【0030】つぎに、積算エラー回数がエラー発生許容
回数より多いかが判定される(ステップS306)。本実施
例においては前記エラー発生許容回数を30回としてお
り、現段階では積算エラー回数は20から21である。した
がって、積算エラー回数はエラー発生許容回数を越えて
おらず、ステップS308に進む。ステップS308では、一時
エラー回数が繰り返し回数より多いかを判定する。この
場合、一時エラー回数は1であるから、ステップS302に
戻り、ふたたび読み出しを開始する。
Next, it is determined whether the cumulative error count is greater than the allowable error occurrence count (step S306). In the present embodiment, the allowable number of error occurrences is 30, and the cumulative number of errors is 20 to 21 at this stage. Therefore, the cumulative number of errors does not exceed the allowable number of error occurrences, and the process proceeds to step S308. In step S308, it is determined whether the number of temporary errors is greater than the number of repetitions. In this case, since the number of temporary errors is 1, the process returns to step S302 to start reading again.

【0031】このような、再読み出し動作が一時エラー
回数が繰り返し回数より多くなるまで繰り返され、その
間に読み出しできない場合は、ステップS309の故障処理
に進む。本実施例においては、故障処理として、読み出
し不能のメッセージを表示するようにした。このような
故障処理が行なわれた後、ステップS310に進み、エラー
終了となる。
Such re-reading operation is repeated until the number of temporary errors exceeds the number of repetitions, and if the data cannot be read during that time, the process proceeds to the failure processing of step S309. In the present embodiment, as the failure processing, the unreadable message is displayed. After such failure processing is performed, the process proceeds to step S310 and ends in error.

【0032】ところで、ステップS306において、積算エ
ラー回数がエラー発生許容回数より多いと判定された場
合、フレキシブルディスク22の第1セクタの積算フラッ
グがオンにされ(ステップS307)、ステップS308に進
む。ステップS308で、一時エラー回数が繰り返し回数よ
り多いかを判定し、一時エラー回数が繰り返し回数より
多くなるまで再読み出し動作が繰り返される。この間に
読み出しできない場合は、ステップS309に進み、読み出
し不能のメッセージを表示しエラー終了となる(ステッ
プS310)。再読み出し動作を繰り返している間に、読み
出しできた場合は、ステップS303から、ステップS311に
進む。この場合、ステップS307において、フレキシブル
ディスク22の第1セクタの積算フラッグをオンにしてい
るため、ステップS312に進み、フレキシブルディスク22
の第1セクタのデータが読み出され、当該データを別の
領域に移動させる(ステップS312)。この場合は、第一
セクタとは別のセクタであって、未だ情報が書込まれて
いないセクタ(この場合は第三セクタ)に当該データを
書きこんだ。このような、移動処理の後、正常終了する
(ステップS313)。
If it is determined in step S306 that the number of cumulative errors is larger than the allowable number of error occurrences, the cumulative flag of the first sector of the flexible disk 22 is turned on (step S307), and the process proceeds to step S308. In step S308, it is determined whether the number of temporary errors is greater than the number of repetitions, and the reread operation is repeated until the number of temporary errors exceeds the number of repetitions. If the data cannot be read during this time, the flow advances to step S309 to display an unreadable message and terminates in error (step S310). If the data can be read while repeating the re-reading operation, the process proceeds from step S303 to step S311. In this case, since the cumulative flag of the first sector of the flexible disk 22 is turned on in step S307, the process proceeds to step S312, and the flexible disk 22
The data of the first sector is read and the data is moved to another area (step S312). In this case, the data is written in a sector which is different from the first sector and in which information has not been written yet (third sector in this case). After such a moving process, the process normally ends (step S313).

【0033】このように、本実施例においては、一時エ
ラー回数が繰り返し回数より多くなるまで再読み出し動
作が繰り返され、この間に読み出しできた場合であって
も、ステップS306において、積算エラー回数がエラー発
生許容回数より多いと判定された場合には、上述の移動
処理を行なうようにしている。これにより、当該セクタ
に書込まれているデータを保護することができる。
As described above, in the present embodiment, the re-reading operation is repeated until the number of temporary errors exceeds the number of repetitions, and even if reading can be performed during this time, in step S306, the cumulative number of errors is If it is determined that the number of occurrences is greater than the allowable number of occurrences, the above-described movement processing is performed. As a result, the data written in the sector can be protected.

【0034】なお、故障発生率によって故障判定を行な
うようにしてもよい。故障発生率とは、積算エラー発生
回数をアクセス回数で除算したものであり、図4の線L
の傾きをいう。故障発生回数が所定の値(P)になる前
であっても、所定の故障発生率が高くなった場合、すな
わち、傾きがある値を越えた場合は故障であると判定す
ることにより、より確実に故障判定を行なうことができ
る。
The failure determination may be made based on the failure rate. The failure rate is the cumulative number of error occurrences divided by the number of accesses, and the line L in FIG.
Refers to the inclination of. Even before the failure occurrence frequency reaches the predetermined value (P), if the predetermined failure occurrence rate becomes high, that is, if the slope exceeds a certain value, it is determined that there is a failure. It is possible to reliably make a failure determination.

【0035】なお、本実施例においては、記憶再生装置
としてフレキシブルディスク22を採用したが、データを
記憶または再生するものであればどのようなものであっ
てもよく、たとえば、ハードディスク、RAM、CD−
ROM、光ディスク等でもよい。
In this embodiment, the flexible disk 22 is used as the storage / playback device, but any device that stores or plays back data may be used, for example, a hard disk, a RAM, a CD. −
It may be a ROM, an optical disk or the like.

【0036】また、本実施例においては、特定部分とし
てフレキシブルディスク22の各セクタを一単位として割
り当てている。しかし、一単位として割り当ては記憶容
量との関係で設定すればよく、たとえば数セクタを一単
位としてもよい。
Further, in this embodiment, each sector of the flexible disk 22 is assigned as a unit as a specific portion. However, the allocation may be set as a unit in relation to the storage capacity, and for example, several sectors may be set as a unit.

【0037】なお、本実施例においては、各セクタ毎に
あらかじめ設定されている繰り返し回数を3回、当該セ
クタにあらかじめ設定されているエラー発生許容回数を
30回としたが、読取り精度、全体容量等から設定すれば
よく、各記憶再生装置毎に設定してもよい。したがっ
て、フレキシブルディスク22に記憶させてもよく、ま
た、故障判定装置1内に記憶するようにしてもよい。
In this embodiment, the preset number of repetitions for each sector is three times, and the preset allowable number of error occurrences for the sector is
Although it is set to 30 times, it may be set based on the reading accuracy, the total capacity, etc., and may be set for each storage / playback device. Therefore, it may be stored in the flexible disk 22 or in the failure determination device 1.

【0038】また、本実施例においては、書込み時の故
障処理として、第一セクタとは別のセクタであって、未
だ情報が書込まれていないセクタに当該情報を書込むよ
うにした。しかし、これに限られることなく、さらに
「書込み対象領域を変更して書込みました」というメッ
セージを表示するようにしてもよい。また、他の処理、
たとえば、このような処理をすることなく、単にメッセ
ージを表示するだけでもよい。
Further, in this embodiment, as the failure processing at the time of writing, the information is written in the sector which is different from the first sector and in which the information has not been written yet. However, the present invention is not limited to this, and a message "Writing after changing the write target area" may be displayed. Also other processing,
For example, the message may be simply displayed without performing such processing.

【0039】同様に、読み出し時に、読み出し可能であ
っても、積算エラー回数がエラー発生許容回数より多い
と判定された場合には、別の領域にデータを移動する処
理を行なうことなく、メッセージを表示するようにして
もよい。
Similarly, at the time of reading, even if the message can be read, if it is determined that the cumulative error count is larger than the allowable error occurrence count, the message is sent without performing the process of moving the data to another area. It may be displayed.

【0040】なお、本実施例においては、フレキシブル
ディスク22内に積算エラー回数記憶部6を設けている。
これにより、フレキシブルディスク22を別のコンピュー
タに接続した場合でも、当該セクタの積算エラー回数を
そのコンピュータに知らせることができる。これに対し
て、積算エラー回数記憶部6は、フレキシブルディスク
22内ではなく、故障判定装置1内に設けてもよい。
In the present embodiment, the flexible disk 22 is provided with the cumulative error number storage unit 6.
As a result, even when the flexible disk 22 is connected to another computer, the computer can be notified of the number of accumulated errors of the sector. On the other hand, the cumulative error number storage unit 6 is
It may be provided in the failure determination device 1 instead of in the device 22.

【0041】[0041]

【発明の効果】請求項1にかかる故障判定装置において
は、記憶再生装置の情報記憶部の特定部分に発生した故
障発生回数を特定部分ごとに積算記憶する積算回数記憶
部を、当該記憶再生装置内または故障判定装置内に設け
るとともに、入出力処理手段は、情報記憶部の特定部分
に故障が発生する毎に積算回数記憶部に記憶されている
積算故障回数を更新し、故障判定手段はあらかじめ設定
された故障発生許容回数と前記積算故障回数とを比較す
ることにより故障判定を行なうことを特徴とする。した
がって、特定の記憶再生装置の特定部分が使用不可能と
なる前に、当該部分の故障判定の予測ができる。
According to the failure judging apparatus of the first aspect of the present invention, the accumulated number storage section for accumulating and storing the number of failure occurrences in a specific portion of the information storage section of the storage / reproduction apparatus is stored in the storage / reproduction apparatus. The input / output processing means updates the cumulative number of failures stored in the cumulative number storage section each time a failure occurs in a specific part of the information storage section, and the failure determination section preliminarily sets the failure determination section in advance. The failure determination is performed by comparing the set allowable failure occurrence frequency with the cumulative failure occurrence frequency. Therefore, before a specific portion of a specific storage / reproducing device becomes unusable, it is possible to predict failure determination of that portion.

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

【図1】本発明の一実施例である故障判定装置1の構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a failure determination device 1 which is an embodiment of the present invention.

【図2】故障判定装置1の書込み動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing a write operation of the failure determination device 1.

【図3】故障判定装置1の読み出し動作を示すフローチ
ャートである。
FIG. 3 is a flowchart showing a read operation of the failure determination device 1.

【図4】積算エラー発生回数、故障回数、およびアクセ
ス回数の関係を示す図である。
FIG. 4 is a diagram showing the relationship among the cumulative error occurrence count, the failure count, and the access count.

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

4・・・入出力処理部 6・・・積算エラー回数記憶部 8・・・積算エラー回数比較部 4 ... I / O processing unit 6 ... Accumulated error count storage unit 8 ... Accumulated error count comparison unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】記憶再生装置の情報記憶部との間で情報の
入出力の処理を行なうとともに、この入出力の処理にお
ける故障状態を検出する入出力処理手段、 入出力処理手段の検出結果に基づき、故障判定を行なう
故障判定手段、を備えた故障判定装置において、 記憶再生装置の情報記憶部の特定部分に発生した故障発
生回数を特定部分ごとに積算記憶する積算回数記憶部
を、当該記憶再生装置内または故障判定装置内に設ける
とともに、 入出力処理手段は、情報記憶部の特定部分に故障が発生
する毎に、積算回数記憶部に記憶されている積算故障回
数を更新し、 故障判定手段は、あらかじめ設定された故障発生許容回
数と前記積算故障回数とを比較することにより故障判定
を行なうこと、を特徴とする故障判定装置。
1. An input / output processing unit for inputting / outputting information to / from an information storage unit of a storage / reproducing apparatus and detecting a failure state in the input / output processing, and a detection result of the input / output processing unit. In a failure determination device having a failure determination means for performing a failure determination based on the above, an integrated number storage unit for integrating and storing the number of failure occurrences occurring in a specific portion of the information storage unit of the storage / reproduction device is stored in the storage unit. The input / output processing means is provided in the reproducing device or in the failure determination device, and the input / output processing means updates the cumulative number of failures stored in the cumulative number of times storage section each time a failure occurs in a specific portion of the information storage section, thereby performing failure determination. A failure determination device, wherein the means determines a failure by comparing a preset allowable failure occurrence frequency with the accumulated failure frequency.
JP12066492A 1992-05-13 1992-05-13 Fault deciding device Pending JPH05314673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12066492A JPH05314673A (en) 1992-05-13 1992-05-13 Fault deciding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12066492A JPH05314673A (en) 1992-05-13 1992-05-13 Fault deciding device

Publications (1)

Publication Number Publication Date
JPH05314673A true JPH05314673A (en) 1993-11-26

Family

ID=14791852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12066492A Pending JPH05314673A (en) 1992-05-13 1992-05-13 Fault deciding device

Country Status (1)

Country Link
JP (1) JPH05314673A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07296070A (en) * 1994-04-27 1995-11-10 Nec Field Service Ltd Device for predicting fault of pos terminal equipment and automatically reporting it

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07296070A (en) * 1994-04-27 1995-11-10 Nec Field Service Ltd Device for predicting fault of pos terminal equipment and automatically reporting it

Similar Documents

Publication Publication Date Title
US6584015B2 (en) Storage device counting error correction
US7434095B2 (en) Data reconstruction method and system wherein timing of data of data reconstruction is controlled in accordance with conditions when a failure occurs
US6513135B2 (en) Automatic read reassignment method and a magnetic disk drive
JPH09274541A (en) Storage device, control method for the same, storage system and control method for the same
JP2000181805A (en) Storage device
EP0845780A1 (en) Information recording/reproducing device and information recording/reproducing medium
US6360293B1 (en) Solid state disk system having electrically erasable and programmable read only memory
JP2976780B2 (en) Information recording / reproducing device
US7809978B2 (en) Storage device and control device
WO1999039347A1 (en) Automatic replacing method in reading and magnetic disc drive using the method
JPH07182792A (en) Processing method for defect of information sector
JPH05314673A (en) Fault deciding device
JP2001266464A (en) Data recording and reproducing unit
JP3866345B2 (en) Semiconductor memory device and method for testing semiconductor memory device
JP2001350596A (en) Storage device
JP2001282402A (en) Recording medium controller
JPH0581789A (en) Optical disk device
JP2861846B2 (en) Magnetic disk control system
JPH0973335A (en) Data processor
KR100468702B1 (en) How to determine the retry table for a hard disk drive
JPS6363166A (en) Information recording system
JP2001351342A (en) Method for recording and reproducing
US7409598B2 (en) Information storage system
JPH10208399A (en) Information recording method
KR0168783B1 (en) Tape backup for exchange system