JPS60182063A - Magnetic disc device and its error detecting system - Google Patents

Magnetic disc device and its error detecting system

Info

Publication number
JPS60182063A
JPS60182063A JP3613184A JP3613184A JPS60182063A JP S60182063 A JPS60182063 A JP S60182063A JP 3613184 A JP3613184 A JP 3613184A JP 3613184 A JP3613184 A JP 3613184A JP S60182063 A JPS60182063 A JP S60182063A
Authority
JP
Japan
Prior art keywords
error detection
data
read
sector
detection code
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
JP3613184A
Other languages
Japanese (ja)
Inventor
Masaaki Shimizu
正明 清水
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3613184A priority Critical patent/JPS60182063A/en
Publication of JPS60182063A publication Critical patent/JPS60182063A/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
    • G11B20/1833Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information

Landscapes

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

Abstract

PURPOSE:To attain error detecting processing in high speed by saving an error detecting code into a reliable storage means at all times and reading the error detecting code only twice at the start of use and end of use of a disc. CONSTITUTION:When a data read instruction is given from a host computer via an information cable 10, a CPU4 allows a drive section 2 to track a magnetic head and the data byte read by the drive section 2 under the control of a direct memory access control circuit 8 is transferred and stored in a data buffer 7. Each data byte is read at the same time with an adder 3. When the read of one sector is finished, the CPU4 reads the result of addition of the adder 3, and it is compared with an added data corresponding to an added value save memory 6. When coincidence is obtained, it shown that a normal read without error is attained. It is not necessary to read a CRC code at each sector access, and time used for error detection among the time required for one access of sector is neglected.

Description

【発明の詳細な説明】 [技術分野] 本発明は磁気ディスク装置及びその誤り検出方式に関し
、特に誤り検出の信頼性が高く且つ誤り検出の処理が高
速で行なえる磁気ディスク装置及びその誤り検出方式に
関するものである。
[Detailed Description of the Invention] [Technical Field] The present invention relates to a magnetic disk device and its error detection method, and particularly to a magnetic disk device and its error detection method that have high error detection reliability and can perform error detection processing at high speed. It is related to.

〔従来技術] 従来、磁気ディスク装置の誤り検出は例えばセクタのデ
ータ部後部に設けられたサイクリックチェックキャラク
タ(CRC)を用いて行なわれていた。つまりセクタ読
取の際は順々と読み出されるデータについて所定のサイ
クリック演算を行ない、最後にCRC符号を読み取って
演算をしたときは、その演算結果が0になることをもっ
て良しとするものである。また、もしOにならなければ
エラー発生と判断して当該セクタの再読取をする。この
ような誤り検出方式を実施するためには予めセクタのデ
ータフレームにCRC符号を書き込んでおかなくてはな
らない。このため、セクタ書込の際は前記と同様にして
所定のサイクリック演算をし、最後のデータ書込の後に
演算結果のCRC符号を書き込む必要がある。このよう
に、データ読出、書込のいずれの場合にも誤り検出符号
の読出、書込が行なわれるから、データアクセス時間の
全てを本来の目的であるデータのみのアクセスに使用す
るものではなかった。従って、その分データアクセスの
効率が低く、システム全体の処理効率を低くする原因と
もなっていた。また、CRC等の従来の誤り検出方式は
データも誤り検出符号も同一記録媒体上から同一条件で
共に読み出すためその信頼性確保に限界があったといえ
る。つまり、データ部か正常に読み取れてもCRC符号
の読取にエラーがあれば結局誤り検出になるし、またデ
ータ部とCRC符号の読取に共にエラーかあれは誤り検
出化しない場合も生ずる欠点があった。
[Prior Art] Conventionally, error detection in magnetic disk devices has been performed using, for example, a cyclic check character (CRC) provided at the rear of the data portion of a sector. That is, when reading a sector, a predetermined cyclic operation is performed on the data read out one after another, and when the CRC code is finally read and the operation is performed, it is considered good if the operation result becomes 0. If the value does not become O, it is determined that an error has occurred and the sector is reread. In order to implement such an error detection method, a CRC code must be written in the data frame of the sector in advance. Therefore, when writing a sector, it is necessary to perform a predetermined cyclic operation in the same manner as described above, and to write the CRC code of the operation result after the last data write. In this way, since the error detection code is read and written in both data read and write cases, the entire data access time is not used for the original purpose of accessing only data. . Therefore, the efficiency of data access is correspondingly low, which causes a reduction in the processing efficiency of the entire system. In addition, in conventional error detection methods such as CRC, data and error detection codes are read together from the same recording medium under the same conditions, so it can be said that there is a limit to ensuring reliability. In other words, even if the data part is read normally, if there is an error in reading the CRC code, it will end up being an error detection, and if there is an error in reading both the data part and the CRC code, it may not be detected as an error. Ta.

[目的] 本発明は」二連した従来技術の欠点に鑑みて成されたも
のであって、その目的とする所は、誤り検出の処理を高
速で行なえると共に誤り検出の信頼性の高い磁気ディス
ク装置を提供することにある。
[Purpose] The present invention has been made in view of the two drawbacks of the prior art, and its purpose is to provide a magnetic magnetic field that can perform error detection processing at high speed and has high reliability in error detection. The purpose is to provide disk devices.

本発明の他の目的は、誤り検出の処理を高速で行なえる
と共に、誤り検出の信頼性の高い磁気ディスク装置の誤
り検出方式を提供することにある。
Another object of the present invention is to provide an error detection method for a magnetic disk drive that can perform error detection processing at high speed and has high reliability in error detection.

[実施例] 以下、添付図面に従って本発明に係る一実施例の磁気デ
ィスク装置を詳細に説明する。第1図は一実施例のフレ
キシブル磁気ディスク装置の構成を示すブロック図であ
る。図において、lは磁気記録媒体であるフレキシブル
ディスク、2はフレキシブルディスクlの回転制御及び
データ読書制御を行なう駆動部、3はフレキシブルディ
スクlへの書込データあるいはフレキシブルディスクl
からの読出データについて加算演鍵、を行なう加算器、
4はディスク装置の主制御を掌るセントラルプロセツシ
ングユニット(CPU)、5はCPU4の実行するプロ
グラムを格納しているプログラムメモリ、6は後述する
セクタ毎のデータ加算値を保持する加算値セーブメモリ
、7はフレキシブルディスク1との間で読書するlヤク
タ分のデータを保持するデータパツファ、8はフレキシ
ブルディスク1とデータ八ツファ7との間でやりとりす
るデータの自動転送を制御するタイレフトメモリアクセ
ス制御回路(DMAC)、9はCPU4の内部共通パス
、10は磁気−ディスク装置と外部のホストコンピュー
タ(図示せず)との間を接続する情報ケーブル、11は
磁気ディスク装置がホストコンピュータとの間で必要な
情報のやりとりをするためのインタフェース回路、12
は装置にフレキシブルディスク1を装填して装置をロッ
クし或いは装置からフレキシブルディスク1を取り外す
際に装置をアンロックするための操作スイッチ、13は
操作スイッチ12のロック又はアンロック操作がある度
にCPU4に対してその旨を知らせるだめの割込信号線
、14はCPU4と加算器3との間で信号のやりとりを
するだめの信号線、15はCPU4とDMAC8との間
で信号をやりとりするだめの信号線、16はDMAC8
がデータ/久ツファ7にアドレス信号等を与えるための
信号線である。
[Embodiment] Hereinafter, a magnetic disk device according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing the configuration of a flexible magnetic disk device according to an embodiment. In the figure, 1 is a flexible disk that is a magnetic recording medium, 2 is a drive unit that controls the rotation of the flexible disk 1 and data reading/writing control, and 3 is a drive unit that controls the rotation of the flexible disk 1 and the reading and writing of data on the flexible disk 1.
an adder that performs addition key performance on data read from the
4 is a central processing unit (CPU) that is in charge of the main control of the disk device, 5 is a program memory that stores the program executed by CPU 4, and 6 is an added value save that holds data added values for each sector, which will be described later. Memory, 7 is a data buffer that holds data for reading and writing to/from the flexible disk 1, and 8 is a tie left memory access that controls automatic transfer of data exchanged between the flexible disk 1 and the data buffer 7. A control circuit (DMAC), 9 an internal common path of the CPU 4, 10 an information cable connecting the magnetic disk device and an external host computer (not shown), 11 a connection between the magnetic disk device and the host computer Interface circuit for exchanging necessary information, 12
13 is an operation switch for locking the device after loading the flexible disk 1 into the device, or unlocking the device when removing the flexible disk 1 from the device; An interrupt signal line 14 is used to exchange signals between the CPU 4 and the adder 3. A signal line 15 is used to exchange signals between the CPU 4 and the DMAC 8. Signal line, 16 is DMAC8
is a signal line for supplying address signals and the like to the data/long buffer 7.

第2図(A)には本実施例装置が使用するフレキシブル
ディスク1の記録フォーマットを示す。
FIG. 2(A) shows the recording format of the flexible disk 1 used by the apparatus of this embodiment.

図において、30〜32はデータ読書のアクセス単位で
あるセクタ、20は該セクタの集合からなるトラック、
21は記録面」二に存在する複数トラックのうち最内周
にあるトラックである。第2図(B)には加算値セーブ
メモリ6の記憶構造を示す。(Aにおいて、60〜62
はバイト単位で構成される各加算値のセーブエリアであ
る。例えば、セクタ30についてそこに含まれているデ
ータを全て加算した結果がセーブエリア60にセーブさ
れ柩。同様にして、セクタ31の加算結果に対応してセ
ーブエリア61が設けられており、セクタ32の加算結
果に対応してセーブエリア62か設けられている。こう
して全てのセクタに対して各対応するアドレスにセーブ
エリアか存在する。第2図(C)にはlセクタの記録フ
ォーマットを示す。図において、lセクタは当該セクタ
のアドレス情報を含む標識(ID)部とテーク部とから
なっている。ここで、該テーク部のフレームにハサイク
リックチェックキャラクタ(CRC)の如き誤り検出の
ための情報を含まない。全てか有用なテークでうまって
いる。
In the figure, 30 to 32 are sectors that are access units for data reading and writing, 20 is a track consisting of a set of sectors,
21 is the innermost track among the plurality of tracks existing on the recording surface "2". FIG. 2(B) shows the storage structure of the added value save memory 6. (In A, 60-62
is a save area for each addition value configured in bytes. For example, the result of adding all the data contained in sector 30 is saved in the save area 60. Similarly, a save area 61 is provided corresponding to the addition result of sector 31, and a save area 62 is provided corresponding to the addition result of sector 32. In this way, a save area exists at each corresponding address for every sector. FIG. 2(C) shows the recording format of l sector. In the figure, an l sector consists of an indicator (ID) section containing address information of the sector and a take section. Here, the frame of the take section does not include information for error detection such as a cyclic check character (CRC). Everything is good with useful takes.

以上の構成において以下にその動作を説明する。第5図
にはディスク装置にフレキシブルディスク■を装填して
ロック操作したときのロック割込処理を示す。装置にフ
レキシブルディスク1を装填すると割込信号線13を介
してCPU l 4にディスク装填割込が生じる。ステ
ップ351では駆動部2を介してディスクドライブをロ
ック状態にする。つまりモータを回転させてディスク読
書可能状態にする。ステップS52では予めフレキシブ
ルディスク1の最内周トラック21に記憶されている全
セクタについての各加算値データを読み出して加算値セ
ーブメモリ6に格納する。フレキシブルディスク1が初
めて使用されるときは通路記録面には何も書かれていな
い。従ってステップS52の処理では何ら有用なデータ
は得られない。しかし後述する如くフレキシブルディス
ク1のあるセクタに対して有用なテークか書き込まれる
ときは、その書き込みの処理にそって有用な加η値が、
i1算されその加算結果か加算値セーブメモリ6の対応
する番地にセーブされる。そして当該ディスク1か使用
後に取り外されるときは、その前に加算値セーブメモリ
6の全内容かディスク1の最内周トラック21にダンプ
される。従って、フレキシブルディスク1を2度目以後
に使用するときはステップS52の処理により意味のあ
るデータが加訴値セーブメモリ6にロードされる。
The operation of the above configuration will be explained below. FIG. 5 shows the lock interrupt processing when the flexible disk (2) is loaded in the disk device and the lock operation is performed. When the flexible disk 1 is loaded into the apparatus, a disk loading interrupt is generated in the CPU 14 via the interrupt signal line 13. In step 351, the disk drive is put into a locked state via the drive section 2. In other words, the motor is rotated to make the disc readable. In step S52, each added value data for all sectors stored in advance in the innermost track 21 of the flexible disk 1 is read out and stored in the added value save memory 6. When the flexible disk 1 is used for the first time, nothing is written on the path recording surface. Therefore, no useful data is obtained in the process of step S52. However, as will be described later, when a useful take is written to a certain sector of the flexible disk 1, the useful addition η value is
i1 is calculated and the addition result is saved at the corresponding address in the added value save memory 6. When the disk 1 is removed after use, the entire contents of the added value save memory 6 are dumped onto the innermost track 21 of the disk 1. Therefore, when the flexible disk 1 is used for the second time or later, meaningful data is loaded into the charge value save memory 6 by the process of step S52.

第3図には本実施例装置1カのデータ、洗出処理を示す
。情報ケーブルlOを介してホストコンピュータからデ
ータ読出命令が発せられるとCPU4はインタフェース
回路11を介して当該命令及び必要なアドレス情報を受
けとる。CPU4はこのアドレス情報に従って駆動部2
に磁気ヘットをトラッキングさせ、各セクタの標識部を
調べる読取動作に入る。やがて当該セクタが見伺かり且
つそのデータ部の読取に至ると第3図のデータ読出処理
に入力する。ステップ33にでは加算器3の初期化を行
なう。ステップS32ではDMAC8を起動する。以後
は、DMAC8のflノl ’d’Jの下に駆動部2で
読み取ったデータバイトが内部共通パス9を介してデー
タバッファ7に転送され格納される。
FIG. 3 shows data and cleaning processing for one device of this embodiment. When a data read command is issued from the host computer via the information cable IO, the CPU 4 receives the command and necessary address information via the interface circuit 11. The CPU 4 controls the drive unit 2 according to this address information.
A reading operation is started in which the magnetic head is tracked and the indicator part of each sector is checked. Eventually, when the sector is found and its data portion is read, it is input to the data reading process shown in FIG. In step 33, the adder 3 is initialized. In step S32, the DMAC 8 is activated. Thereafter, the data bytes read by the drive section 2 under fl'd'J of the DMAC 8 are transferred to the data buffer 7 via the internal common path 9 and stored therein.

それと同時に内部共通バス9上の各データハイ1は加算
器3で加算される。加算は内部共通バス9Lに新たなデ
ータが読み込まれる度に行なわれる。加算は加蜀器3の
最上位ビットをオーバフローした値を無視するようにし
て行なわれる。ステップS33ではlセクタの読出が終
わるのを待つ。lセクタの読出が終わると、ステップS
34ではCrt14か信号線14を介して加算器3の加
1′J、結果を読み取り加算値セーブメモリ6の対応す
る加算(+Ciデータと比較する。ステップS35では
該比較の一致が得られたか否かを判別する。一致が得ら
れれば誤りの無い正常な読み出しか行なわれたことを示
し、フローを抜ける。また一致が得られなければステッ
プ336に進みエラーフラグをセットする。後にメイン
ルーチン(図示せづ)はこのエラーフラグを認識すると
当該セクタ読出のためのりトライ動作をする。このよう
に、フレキシブルディスクlの予め有効なデータの書込
されているセクタに対してはそのデータフレームについ
ての加算値が最内周ト、ランク21の対応する場所に書
込されている。フレキシブルディスクlの装填時にこれ
をロードされた加算値セーブメモリ6はその該当番地に
当該セクタの加算結果を保持していることになる。従っ
て、当該セクタの読出が行なわれたときには加算器3の
加算結果と加算値セーブメモリ6の加算値とを単に比較
することにより直ちに誤り検出ができるのである。従っ
て、本実施例装置は従来行なわれていたようなサイクリ
ックチェックキャラクタ(CRC)方式による誤り検出
をする必要がない。これは、毎回のセクタアクセスでC
RC符号を読み出さなくてもよいことを意味する。従っ
て、セクタ1アクセスに要する時間の内で誤り検出のた
めに使用される時間が無視できることになりデータアク
セスの能率が格段に改善されるのである。
At the same time, each data high 1 on the internal common bus 9 is added by the adder 3. The addition is performed every time new data is read into the internal common bus 9L. The addition is performed in such a way that the value that overflows the most significant bit of adder 3 is ignored. In step S33, the CPU waits for completion of reading of l sector. After reading l sectors, step S
34, the addition 1'J of the adder 3 is read through the Crt 14 or the signal line 14, and the result is compared with the corresponding addition (+Ci data) in the added value save memory 6. In step S35, it is determined whether or not a match is obtained in the comparison. If a match is found, it indicates that normal readout without errors has been performed, and the flow exits.If a match is not found, the process advances to step 336 and an error flag is set.Later, the main routine (see Fig. (shown) recognizes this error flag and performs a retry operation to read the sector.In this way, for sectors in which valid data has been written in advance on the flexible disk, addition of that data frame is performed. The value is written in the corresponding location of the innermost sector, rank 21.The added value save memory 6, which is loaded with this when the flexible disk l is loaded, holds the added result of the sector at the corresponding address. Therefore, when the sector is read, an error can be detected immediately by simply comparing the addition result of the adder 3 and the addition value of the addition value save memory 6. The example device does not need to perform error detection using the cyclic check character (CRC) method that was conventionally used.
This means that there is no need to read out the RC code. Therefore, the time used for error detection within the time required to access sector 1 can be ignored, and data access efficiency is greatly improved.

第4図にはデータ書込処理を示す。ホストコンピュータ
からデータ書込命令が発せられるとCPU4はフレキシ
ブルディスク上の当該セクタを探すと同時にホストコン
ピュータからの書込データをデータバッファ7に蓄える
。やがて当該セクタか見伺かり且つそのデータ部の書込
に至ると第4図のデータ書込処理に入力する。ステップ
S41では加算器3を初期化する。ステップS42では
信号線15を介してDMAC8を起動する。データパツ
ツア7から読み出されたデータバイトは内部共通バス9
を介して駆動部2に送られる。同時に、加算器3は内部
共通/ヘス9に出力された各データパイトを加算する。
FIG. 4 shows the data writing process. When a data write command is issued from the host computer, the CPU 4 searches for the relevant sector on the flexible disk and at the same time stores the write data from the host computer in the data buffer 7. Eventually, when the sector is detected and the data portion thereof is written, input is made to the data writing process shown in FIG. 4. In step S41, the adder 3 is initialized. In step S42, the DMAC 8 is activated via the signal line 15. The data byte read from the data patcher 7 is transferred to the internal common bus 9.
is sent to the drive unit 2 via. At the same time, the adder 3 adds each data byte output to the internal common/hess 9.

この加算は内部共通/<ス9に新たなデータが現れる度
に行なわれる。加算は加算器3の最上位ヒツトをオーバ
フローした値を無視するようにして行なわれる。ステッ
プS43では1セクタの書込が終了するのを待つ。やが
て1セクタの書込か終了すると、ステップS44で加算
器3の加算結果を信号線14を介して読みとり、加算値
セーブメモリ6の当該書込セクタに対応する番地にセー
ブする。このようにして加W、 (i(iセーブメモリ
6の内容は、セクタに対する新たなデータ書込かある度
に、それに対応するエリアが新たな加算値で更新される
。本実施例装置はデータ書込の際にサイクリックチェッ
クキャラクタ(cRc)−iの誤り検出符号の書込を行
なわない。lセクタのデータフレームはデータのみから
なる。従ってアクセスの度にその分の書込時間が節約さ
れ結果としてデータ書込の効率が高まる。
This addition is performed every time new data appears in the internal common /< space 9. The addition is performed in such a way that the value that overflows the most significant hit of the adder 3 is ignored. In step S43, it waits for the writing of one sector to be completed. Eventually, when writing of one sector is completed, the addition result of the adder 3 is read through the signal line 14 in step S44, and is saved in the address corresponding to the write sector in the added value save memory 6. In this way, the contents of the save memory 6 are updated with a new addition value each time new data is written to a sector. When writing, the error detection code of the cyclic check character (cRc)-i is not written.The data frame of 1 sector consists only of data.Therefore, the writing time is saved each time it is accessed. As a result, data writing efficiency increases.

一般に、セクタへのデータ書込を終了するとディスク回
転待ちをしてデータ読取チェックがされる。いわゆるリ
ードアフタライトチェックである。この場合は前述した
第3図のデータ読出処理に相当する処理が実行される。
Generally, when writing data to a sector is completed, the disk waits for rotation and a data read check is performed. This is a so-called read-after-write check. In this case, a process corresponding to the data read process shown in FIG. 3 described above is executed.

つまり、誤り検出の処理は行なうがデータバッファ7へ
のデータ書込処理は行なわない処理である。このような
り−ドアフタライトチェックをする際にも加算値セーフ
メモリ6の内容はディスク1回転前のデータ書込の際に
既に更新5れているから何ら問題なく一致か得られる。
In other words, error detection processing is performed, but data writing processing to the data buffer 7 is not performed. In this way, even when performing a door after write check, the contents of the additional value safe memory 6 have already been updated 5 when data was written one revolution before the disk, so a match can be obtained without any problem.

第6図にはフレキンプルディスクlを取り外す際のアン
ロック割込処理を示す。ホストコンピュータによる一連
のデータアクセス処理が終了するとフレキシブルディス
ク1は装置から取り外されることになる。この時点でオ
ペレータが操作スイッチ12をもう1度−押すと割込信
号線■3を介してCPU4にディスクのアンロック割込
が生じる。ステップS61では加算値セーブメモリ6に
セーブされている加算値をフレキンプルディスクlの最
内周トラック21にタンプする。ステップS62ではデ
ィスク装置のロック状態を解除する。この時点でフレキ
シブルディスク1を取り外すことが可能になる。取り外
されたフレキシブルディスクは再び使用可能である。
FIG. 6 shows the unlock interrupt process when removing the flexible disk l. When a series of data access processing by the host computer is completed, the flexible disk 1 is removed from the apparatus. At this point, when the operator presses the operation switch 12 again, a disk unlock interrupt is generated in the CPU 4 via the interrupt signal line 3. In step S61, the added value saved in the added value save memory 6 is tamped onto the innermost track 21 of the flexible disk l. In step S62, the locked state of the disk device is released. At this point it is possible to remove the flexible disk 1. The removed flexible disc can be used again.

尚、上述実施例の説明では誤り検出の演算を加算手段に
よる加算によって行なったがこれに限るものではない。
Incidentally, in the explanation of the above-mentioned embodiment, the calculation for error detection was performed by addition by the addition means, but the invention is not limited to this.

加算手段の代りに従来用いられているようなCRC演算
手段を用いてもよいことは明らかである。
It is clear that conventional CRC calculation means may be used in place of the addition means.

また、上述実施例の説明ではセクタのデータ部に一切誤
り検出符号を有しないものについて述べた。しかし本発
明に係る誤り検出方式は従来性なわれているようなCR
C誤り検出方式と共に併用可能である。CRC等の従来
の誤り検出方式はデータも誤り検出符号も同一記録媒体
上から同一条件で共に読み出すためその信頼性確保に限
界があったといえる。つまり、データ部が正常に読み取
れてもCRC符号の読取にエラーがあれば結局誤り検出
になるし、またデータ部とCRC符号の読取に共にエラ
ーがあれば誤り検出をしない場合も生ずる。故に本発明
に係る誤り検出方式を4Jr用すれば誤り検出符号は信
頼性のある記憶手段の中に格納されているからこのよう
な不利益も回避できるのである。
Furthermore, in the description of the above-mentioned embodiments, the data part of the sector has no error detection code at all. However, the error detection method according to the present invention does not perform the conventional CR
It can be used together with the C error detection method. Conventional error detection methods such as CRC have limitations in ensuring reliability because both data and error detection codes are read together from the same recording medium under the same conditions. In other words, even if the data section is read normally, if there is an error in reading the CRC code, an error will be detected eventually, and if there is an error in both the data section and the CRC code, error detection may not be performed. Therefore, if the error detection method according to the present invention is used in 4Jr, such disadvantages can be avoided since the error detection code is stored in a reliable storage means.

[効果] 以」二述べた如く本発明によれば磁気ディスク装置デー
タアクセスの信頼性と効率が極めて高い。
[Effects] As described above, according to the present invention, the reliability and efficiency of data access in a magnetic disk device are extremely high.

従来ならばデータアクセスの度に誤り検出符号の読書が
された。しかし本発明によればディスクの使用開始時と
使用終了時の2回でよい。それ以外はとれだけ多量のデ
ータアクセスかなされても誤り検出符号の読書のための
所要時間は一切無い。
Conventionally, error detection codes were read and written every time data was accessed. However, according to the present invention, it only needs to be done twice: at the start of use of the disk and at the end of use. Otherwise, no matter how large the amount of data is accessed, there is no time required to read the error detection code.

、ajり検出符号は常に信頼性のある記憶手段の中にセ
ーブされ且つ必要に応して更新されるからである。従っ
て、大量のデータアクセスをすればするほど処理効率も
信頼性も改善される効果がある。
, the aj-judge detection code is always saved in reliable storage means and updated as necessary. Therefore, the more a large amount of data is accessed, the more processing efficiency and reliability will be improved.

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

第1図は本発明に係る一実施例のフレキシブル磁気ディ
スク装置の構成を示すブロック図、第2図(A)は本実
施例装置が使用するフレキシツルディスクの記録フォー
マットを示す図、第2図(B)は加算値セーブメモリの
記憶構造を示す図、 第2(Δ(C)はlセクタの記録フォーマットを示す図
、 第3図は本実施例装置のデータ読出処理を示すフローチ
ャート、 第4図は本実施例装置のデータ書込処理を示すフローチ
ャー1・、 第5図はフレキシブルディスク装填の際のロック古り込
処理を示すフローチャート、 第6図はフレキシブルディスクを取り外す際のアンロッ
ク割込処理を示すフローチャー1・である。 ここで、1・・・フレキシブルディスク、2・・・駆動
部、3・・・加算器、4・・・セントラルブロセッシン
グユニット(CPU)、5・・・プログラムメモリ、6
・・・加算値セーブメモリ、7・・・データハラ2ア、
8・・・ダイレクトメモリアクセス制御回路(DMAC
)、9・・・内部共通パス、10・・・情報ケーブル、
11・・・インタフェース回路、12・・・操作スイッ
チ、13・・・割込信号線、14〜16・・・13号線
である。 第2図 (A) (B) −一一一一一一一−i′ンヌク回転す向第3図
FIG. 1 is a block diagram showing the configuration of a flexible magnetic disk device according to an embodiment of the present invention, FIG. 2(A) is a diagram showing the recording format of a flexible disk used by the device of this embodiment, (B) is a diagram showing the storage structure of the added value save memory, 2nd (Δ(C) is a diagram showing the recording format of l sector, 3rd is a flowchart showing the data read process of the device of this embodiment, 4th Figures 1 and 5 are flowcharts showing the data writing process of the device of this embodiment, Figure 5 is a flowchart showing the lock aging process when loading a flexible disk, and Figure 6 is a flowchart showing the unlocking process when removing the flexible disk. This is a flowchart 1 showing the processing of processing.Here, 1...Flexible disk, 2...Drive unit, 3...Adder, 4...Central processing unit (CPU), 5... ...Program memory, 6
...Additional value save memory, 7...Data harassment 2a,
8...Direct memory access control circuit (DMAC)
), 9... Internal common path, 10... Information cable,
11...Interface circuit, 12...Operation switch, 13...Interrupt signal line, 14-16...13 line. Figure 2 (A) (B) -111111-i'Nuk rotation direction Figure 3

Claims (3)

【特許請求の範囲】[Claims] (1)情報処理に使用する磁気ディスク装置において、
データ書込の際に該書込データに対する誤り検出符号を
作成する作成手段と、該作成手段の作成した誤り検出符
号を所定のアドレスに記憶する記憶手段と、データ読出
の際に該読出データに対する誤り検出符号を作成しこれ
を前記記憶手段の所定のアドレスから読み出した誤り検
出符号と比較して一致の有無を判断する誤り検出手段を
備えることを特徴とする磁気ディスク装置。
(1) In magnetic disk devices used for information processing,
creating means for creating an error detection code for the written data when writing data; storage means for storing the error detection code created by the creating means at a predetermined address; A magnetic disk drive characterized by comprising error detection means for creating an error detection code and comparing it with an error detection code read from a predetermined address of the storage means to determine whether or not there is a match.
(2)情報処理に使用する磁気ディスク装置の誤り検出
方式において、データ書込の際に該書込テークに対する
誤り検出符号を作成すると共に該誤り検出符号を記憶手
段の所定のアドレスに記憶し、データ読出の際に該読出
データに対する誤り検出符号を作成し、これを前記記憶
手段の所定のアドレスから読み出した誤り検出符号と比
較して一致の有無を判断することを特徴とする磁気ディ
スク装置の誤り検出方式。
(2) In an error detection method of a magnetic disk device used for information processing, when writing data, an error detection code is created for the write take, and the error detection code is stored at a predetermined address of a storage means; A magnetic disk device characterized in that when reading data, an error detection code is created for the read data, and this is compared with an error detection code read from a predetermined address of the storage means to determine whether or not there is a match. Error detection method.
(3)磁気ディスク装置の使用終了時には記憶手段に記
憶されている誤り検出符号を磁気記録媒体」二の所定の
エリアにダンプし、磁気ディスク装置の使用開始時には
前記磁気記録媒体上の所定の工 −リアにある誤り検出
符号を前記記憶手段にロートすることを特徴とする特許
請求の範囲第2項記載の磁気ティスフ装置の誤り検出方
式。
(3) When the use of the magnetic disk device is finished, the error detection code stored in the storage means is dumped into a predetermined area of the magnetic recording medium, and when the use of the magnetic disk device is started, the error detection code stored in the storage means is dumped into a predetermined area on the magnetic recording medium. 3. An error detection method for a magnetic TiSF device according to claim 2, characterized in that an error detection code in the rear is loaded into said storage means.
JP3613184A 1984-02-29 1984-02-29 Magnetic disc device and its error detecting system Pending JPS60182063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3613184A JPS60182063A (en) 1984-02-29 1984-02-29 Magnetic disc device and its error detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3613184A JPS60182063A (en) 1984-02-29 1984-02-29 Magnetic disc device and its error detecting system

Publications (1)

Publication Number Publication Date
JPS60182063A true JPS60182063A (en) 1985-09-17

Family

ID=12461225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3613184A Pending JPS60182063A (en) 1984-02-29 1984-02-29 Magnetic disc device and its error detecting system

Country Status (1)

Country Link
JP (1) JPS60182063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63269380A (en) * 1987-04-27 1988-11-07 Tokyo Electric Co Ltd Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63269380A (en) * 1987-04-27 1988-11-07 Tokyo Electric Co Ltd Data processor

Similar Documents

Publication Publication Date Title
US4558446A (en) Memory system
US4405952A (en) Apparatus for detecting faulty sectors and for allocating replacement sectors in a magnetic disc memory
EP0703581A2 (en) Preprocess method, information read/write method, input/output device and read/write device
JPS60142418A (en) Input/output error recovery system
US5590298A (en) Method of restoring and updating records in a disk cache system during disk drive idle time using start and end addresses
US7324297B2 (en) Data storage apparatus and method
JP2001331377A (en) Processing method for reproduction error, and disk device using the same
JPH0654586B2 (en) Track byte guarantee method
US5048004A (en) Optical recording medium recording and reproducing device
JPS60182063A (en) Magnetic disc device and its error detecting system
US6170034B1 (en) Hardware assisted mask read/write
JPH04313882A (en) Record control system for memory card
JP3030949B2 (en) Digital data recording / reproducing device
JPS5834003B2 (en) How to check signal integrity
JPH0793101A (en) Data backup device
JPS6013360A (en) Storage device
JP2569564B2 (en) Software copy protection device
JPS6347937Y2 (en)
JP3335969B2 (en) Magnetic disk drive
KR100305309B1 (en) Data reading method and data storage device
US7409598B2 (en) Information storage system
JPS6341149B2 (en)
JP2650259B2 (en) Disk drive
JPH04254969A (en) Recording data protection means for draw type recording system
JPH09114598A (en) Disk cache device