JPS58109954A - Magnetic disc controller - Google Patents
Magnetic disc controllerInfo
- Publication number
- JPS58109954A JPS58109954A JP20860381A JP20860381A JPS58109954A JP S58109954 A JPS58109954 A JP S58109954A JP 20860381 A JP20860381 A JP 20860381A JP 20860381 A JP20860381 A JP 20860381A JP S58109954 A JPS58109954 A JP S58109954A
- Authority
- JP
- Japan
- Prior art keywords
- sector
- magnetic disk
- error
- sectors
- data
- 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
Links
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
Description
【発明の詳細な説明】
この発明は、主記憶装置と磁気ディスク装置“との間の
データ転送を制御する磁気ディスク制御装置に関するも
のでるる。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnetic disk control device that controls data transfer between a main storage device and a magnetic disk device.
オ五図は従来の磁気ディスク制御装置の一例を示すブロ
ック結線図である。図においてIIJは磁気ディスク装
置記録媒体、(2Iはとの記憶媒体上の任意のトラック
、(2A) t (2B) 、 (2a) 、 (2b
)はこのトラック上の各セクタ、(31は磁気ディスク
制御練成、(41はメモリアドレスカラ/り、+51t
′i記録媒体は)から読み出したデータを記録するデー
タレジスタ、161はこのデータレジスタに記録された
データのエラーを検知するエラー検知回路、(71は磁
気ディスク制御装置(3:から送られて来たデータを記
憶する主記憶装置である。Figure 5 is a block diagram showing an example of a conventional magnetic disk control device. In the figure, IIJ is a magnetic disk device recording medium, (2I is any track on the storage medium, (2A) t (2B), (2a), (2b
) is each sector on this track, (31 is the magnetic disk control training, (41 is the memory address color, +51t
161 is an error detection circuit that detects errors in the data recorded in this data register; 71 is a data register sent from the magnetic disk controller (3: This is the main storage device that stores stored data.
上記のように構成された磁気ディスク制御装置における
データ転送のフローチャートは第2図に示す通りである
。A flowchart of data transfer in the magnetic disk control device configured as described above is shown in FIG.
次に動作について説明する。磁気ディスク制御装置13
+はあらかじめセットされ次メモリアドレスカウンタ(
41で示されるデータ格納アドレスを主記憶装置(71
に送出し、次に磁気ディスク装置記録媒体filの任意
のトラック(21のデータ1語を転送する。Next, the operation will be explained. Magnetic disk control device 13
+ is preset and next memory address counter (
The data storage address indicated by 41 is stored in the main memory (71
Then, one word of data from an arbitrary track (21) of the magnetic disk device recording medium fil is transferred.
セクタ(2A)を送出した後セクタ(2a) で続み
出しエラーが生じたと仮定する。セクタ(2楓)の読み
出しエラーは、セクタ(2a)の最後のデータ1語を送
出した後エラー検知回路16)で検知され、磁気ディス
ク制御装置(3)はセクタ(2B)以降の転送を中正し
てセクタ(2a)に対する読み出し動作を再度実行する
、セクタ(2a)が読み出せた場合は、そのままセクタ
(2B)以降の転送を続行する。Assume that a continuation error occurs in sector (2a) after sending sector (2A). A read error in sector (2) is detected by the error detection circuit 16) after sending out the last word of data in sector (2a), and the magnetic disk control device (3) corrects the transfer from sector (2B) onward. Then, the read operation for sector (2a) is executed again. If sector (2a) can be read, transfer from sector (2B) onwards is continued.
第3図はこの場合の媒体の回転数と転送セクタ番号との
関係図でありセクタ(2a)、(2b)ともに各々3回
の読み出し動作により初めて続み出すことができた場合
を示す。図に示されたように上記の方法によりトラック
(2)のデータを主記憶装置(7+に転送し終るまでに
磁気ディスク装置記録媒体は;は5回転を要することに
なる。FIG. 3 is a diagram showing the relationship between the number of rotations of the medium and the transfer sector number in this case, and shows the case where both sectors (2a) and (2b) can be continued for the first time after three read operations each. As shown in the figure, the magnetic disk drive recording medium requires five revolutions until the data of track (2) is completely transferred to the main storage device (7+) by the above method.
すなわち上記のように読み出しエラーを起こす毎に1回
転の回転待時間が必要となり1つのトラック内に複数セ
クタの読み出しエラーを生じた場合には回転待時間はエ
ラーを生じたセクタ数に比例して増大するという欠点が
あった。In other words, as mentioned above, a rotational waiting time of one revolution is required each time a read error occurs, and if a read error occurs in multiple sectors in one track, the rotational waiting time is proportional to the number of sectors in which an error occurs. The disadvantage was that it increased.
この発明は、上記のような従来装置の欠点を”除去する
ためになされたもので、lトラック内で読み出しエラー
を生じたセクタが発生したとしても回転待時間が読み出
しエラーの生じ几セクタ数に依存しない磁気ディスク制
御装置を得ることを目的とするものである、
第4図はこの発明の一実施例を示すブロック結線図でh
9 、 fil〜171 、 (2A)−(28)e
(2a)、(2b)は第1図の同一符号と同−又は相当
部分を示すものである。110は読出しエラーセクタ情
報スタック−域でめる。第5因は第4図の装置によるデ
ータ転送のフローチャートである。This invention was made in order to eliminate the above-mentioned drawbacks of the conventional device, and even if a sector in which a read error occurs in one track, the rotational waiting time is reduced by the number of sectors in which the read error occurs. The purpose of this invention is to obtain a magnetic disk control device that does not depend on the magnetic disk.
9, fil~171, (2A)-(28)e
(2a) and (2b) indicate the same or corresponding parts as the same reference numerals in FIG. 110 is a read error sector information stack area. The fifth factor is a flowchart of data transfer by the device in FIG.
上記のように構成された磁気ディスク制御装置において
任意のトラック+2)の全セクタのデータを主記憶装置
(7)へ臀き込む場合、トラック(2;の先頭セクタか
ら連続してセクタ(2a)までを主記憶装置(7)へ書
き込んだ時点でセクタ(2a)に読み出しエラーヲ生じ
たことが検知されたとする。セクタ(2a)及びセクタ
(2a)を書き込む主記憶装置(7)のアドレスが読出
しエラーセクタ情報スタック領域IIGにスタックされ
る。磁気ディスクi制御装置(31は連続してセクタ(
2B)からデータを主記憶装置(7)へ書き込む。セク
タ(2b);を書き込にだ時点でセクタ(2b)に読み
出しエラーを生じた事が検知され、セクタ(2a)と同
様の動作がくり返される。磁気ディスク装置記録媒体(
1)が1回転した時点でトラック(21の全データは主
記憶装置(7)に書き込まれると共に、磁気ディスク制
御装置+31は主記憶装置(71上の併線の領域、すな
わちセクタ(2a)、(2b)を書き込んだ領域のデー
タが不正であることをエラー情報スタック領域IIGよ
り認識し、セクタ(2a)及びセクタ(2b)のみを再
度読み出し主記憶装置(7)の該当領域に書き込み、以
後再読み出しについては上述の動作をくり返す。第6図
は媒体の回転数と転送セクタ番号゛との関係図である。In the magnetic disk control device configured as described above, when data of all sectors of an arbitrary track + 2) is stored in the main storage device (7), the data of the sector (2a) is continuously transferred from the first sector of track (2). Suppose that it is detected that a read error has occurred in sector (2a) at the time when the data up to and including It is stacked in the error sector information stack area IIG.Magnetic disk i control device (31 is a sector (
2B) to the main memory (7). When writing to sector (2b), it is detected that a read error has occurred in sector (2b), and the same operation as for sector (2a) is repeated. Magnetic disk device recording medium (
When the track 1) rotates once, all the data on the track 21 is written to the main storage device (7), and the magnetic disk controller +31 writes the data to the main storage device (the area indicated by the line on 71, that is, the sector (2a), It is recognized from the error information stack area IIG that the data in the area where (2b) is written is invalid, and only sectors (2a) and (2b) are read out again and written to the corresponding area of the main storage device (7). For re-reading, the above-described operation is repeated. FIG. 6 is a diagram showing the relationship between the number of rotations of the medium and the transfer sector number.
図においてセクタ(2a〕とセクタ(2bンが共に3回
の読出し動作の再試行により正常に読み込めるセクタで
ある場合は、磁気ディスク装置記録媒体(11が3回転
すればトラック(2)の全セクタのデータは正常に主記
憶装置−(7)に書き込むことができる。 −
なお上記実施例では磁気ディスク装置のデータを主記憶
装置へ書き込む磁気ディスク制御装置を示したが、セク
タごとにつけられているアドレス情報を読み出す場合に
この発明を利用することによp主記憶装置のデータを磁
気ディスク装置へ書き込む装置についても同様に利用す
ることができる。In the figure, if both sector (2a) and sector (2b) are sectors that can be read normally after retrying the read operation three times, all sectors of track (2) will be The data can be normally written to the main storage device (7). - In the above embodiment, a magnetic disk control device was shown that writes data from the magnetic disk device to the main storage device, but the data is attached to each sector. By utilizing the present invention when reading address information, it can be similarly utilized for a device that writes data in a main storage device to a magnetic disk device.
この発明は以上説明したとおり、読み出しエラ−セクタ
の情報をスタックし、エラーの生シタセクタの再読出し
は一括するという手段により綜合的に再読出し回数を最
小にし処理速度を向上することができるという効果があ
る。As explained above, the present invention has the advantage that by stacking the information of the read error sectors and rereading the error sectors all at once, it is possible to minimize the number of rereadings in a comprehensive manner and improve the processing speed. There is.
第1図は従来の磁気ディスク制御製電の一例を示すブロ
ック結線図、第2図は第1図の装置によるデータ転送の
フローチャート、第3図は第1図の装置の磁気ディスク
装置記録媒体の回転数と転送セクタとの関係図、第4図
はこの発明の一実施例を示すブロック結線図、第5図は
第2図の装置によるデータ転送のフローチャート、第6
図は第2図の装置の磁気ディスク装置記録媒体の回転数
と転送セクタとの関係図である。
図において(1)は磁気ディスク装置記録媒体、(2)
は記録媒体上の任意のトラック、(31は磁気ディスク
制御装置、+j+はメモリアドレスカウンタ、(5)は
データレジスタ、161はエラー検知回路、(7)は主
起ul装置、tl(lは読出しエラーセクタ情報スタッ
ク領域である。
なお各図中同一符号は同−又は相当部分を示す。
代理人 葛 野 信 −Fig. 1 is a block wiring diagram showing an example of conventional magnetic disk control electric manufacturing, Fig. 2 is a flowchart of data transfer by the device shown in Fig. 1, and Fig. 3 is a diagram of the magnetic disk device recording medium of the device shown in Fig. 1. FIG. 4 is a block diagram showing an embodiment of the present invention; FIG. 5 is a flowchart of data transfer by the device shown in FIG. 2; FIG.
This figure is a diagram showing the relationship between the rotational speed of the magnetic disk drive recording medium of the apparatus shown in FIG. 2 and the transfer sectors. In the figure, (1) is a magnetic disk device recording medium, (2)
is an arbitrary track on the recording medium, (31 is a magnetic disk controller, +j+ is a memory address counter, (5) is a data register, 161 is an error detection circuit, (7) is a main UL device, tl (l is a readout This is the error sector information stack area. The same reference numerals in each figure indicate the same or corresponding parts. Agent Shin Kuzuno -
Claims (1)
データを連続して主記憶装置に瞥き込む磁気ディスク制
御装置において、上記磁気ディスク装置から1トラツク
ごとのデータを読み出し主記憶装置にセクタごとに対応
領域に書き込む手段、上記の読み出したデータを1セク
タごとに良否を判定するエラー検知手段、このエラー検
知手段でエラーの検知されたセクタの情報をスタックす
る手段、このスタックされたセクタの情報のみを再度上
記磁気ディスクから絖み出し上記主記憶装置上の該セク
タに対15 した領域を書きかえる手段、この再度読み
出したデータを上記エラー検知手段で判定しエラーの検
知された場合には上記の再度読出しを繰返しエラーの検
知されなかった場合には次のトラックのテータt−睨み
出す手段を備えたことを特徴とする磁気ディスク制御装
[。 121工ラー検知手段でエラーの検知されたセクタの情
報をスタックする手段は、上記情報を磁気ディスク制御
装置内に格納することを特徴とする特許請求の範囲オ1
項記載の磁気ディスク制御装置。 (3)エラー検知手段でエラーの検知され九セクタの情
報をスタックする手段は、上記情報を主記憶装置内に格
納することを特徴とする特許請求の範囲オ1項記載の磁
気ディスク制御装置。[Scope of Claims] (11) In a magnetic disk control device that continuously checks data spanning multiple sectors on a magnetic disk device into a main storage device, the main device reads data track by track from the magnetic disk device. means for writing each sector into a corresponding area in a storage device; an error detection means for determining the acceptability of each sector of the above-mentioned read data; a means for stacking information of sectors in which an error has been detected by the error detection means; and this stack. means for rewriting only the information of the sector read out from the magnetic disk and rewriting the area corresponding to the sector on the main storage device; 121. A magnetic disk control device characterized by comprising a means for repeating the above-mentioned readout and detecting the data of the next track if no error is detected. The means for stacking the information of the detected sectors stores the information in a magnetic disk control device.
The magnetic disk control device described in . (3) The magnetic disk control device according to claim 1, wherein the means for stacking nine sectors of information after an error is detected by the error detecting means stores the information in a main storage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20860381A JPS58109954A (en) | 1981-12-23 | 1981-12-23 | Magnetic disc controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20860381A JPS58109954A (en) | 1981-12-23 | 1981-12-23 | Magnetic disc controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58109954A true JPS58109954A (en) | 1983-06-30 |
Family
ID=16558937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP20860381A Pending JPS58109954A (en) | 1981-12-23 | 1981-12-23 | Magnetic disc controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58109954A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6020237A (en) * | 1983-07-14 | 1985-02-01 | Nec Corp | Disk controller |
JPS6124064A (en) * | 1984-07-11 | 1986-02-01 | Fuji Xerox Co Ltd | System for detecting defective sector of storage device |
JPS61267123A (en) * | 1985-05-22 | 1986-11-26 | Fujitsu Ltd | disk controller |
JPS63108567A (en) * | 1986-10-25 | 1988-05-13 | Nec Corp | Control circuit for optical disk |
JPS63113984A (en) * | 1986-10-31 | 1988-05-18 | Fujitsu Ltd | Optical disk control system |
JPS63117369A (en) * | 1986-11-04 | 1988-05-21 | Nec Corp | Optical disk device |
JPS63195877A (en) * | 1987-02-10 | 1988-08-12 | Pioneer Electronic Corp | Data recording and reproducing system |
-
1981
- 1981-12-23 JP JP20860381A patent/JPS58109954A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6020237A (en) * | 1983-07-14 | 1985-02-01 | Nec Corp | Disk controller |
JPS6124064A (en) * | 1984-07-11 | 1986-02-01 | Fuji Xerox Co Ltd | System for detecting defective sector of storage device |
JPS61267123A (en) * | 1985-05-22 | 1986-11-26 | Fujitsu Ltd | disk controller |
JPS63108567A (en) * | 1986-10-25 | 1988-05-13 | Nec Corp | Control circuit for optical disk |
JPS63113984A (en) * | 1986-10-31 | 1988-05-18 | Fujitsu Ltd | Optical disk control system |
JPS63117369A (en) * | 1986-11-04 | 1988-05-21 | Nec Corp | Optical disk device |
JPS63195877A (en) * | 1987-02-10 | 1988-08-12 | Pioneer Electronic Corp | Data recording and reproducing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2855019B2 (en) | External storage device data guarantee method and external storage device | |
JPS6149743B2 (en) | ||
JPH0447568A (en) | How to read data in a magnetic tape device | |
JPS58109954A (en) | Magnetic disc controller | |
EP0833329A2 (en) | Reproducing apparatus for temporarily writing reproduced data into memory | |
JPS60113361A (en) | Discrimination system of magnetic disk format | |
JPH0542069B2 (en) | ||
JPS60176136A (en) | Data recording method in magnetic recording and reproducing device | |
JPH0520789A (en) | Recording and reproducing device | |
JPS63195877A (en) | Data recording and reproducing system | |
JPS6347937Y2 (en) | ||
JPS5847057B2 (en) | magnetic disk controller | |
JP2576535B2 (en) | Data recorder | |
JPS60247728A (en) | Disk control system | |
JPS6013360A (en) | Storage device | |
JP2644607B2 (en) | Data recording method | |
JPH01232576A (en) | Information recording method | |
JPH01290115A (en) | Digital signal recording and reproducing device | |
JPH0258768A (en) | Disk controller | |
JPS62264491A (en) | Copying system over different kind of media | |
JPS6095763A (en) | Optical disc processor | |
JPH0233772A (en) | Information recording method | |
JPH04102274A (en) | Control method for magnetic storage devices | |
JPS5840271B2 (en) | memory device | |
JPS6180564A (en) | Alternate track writing control circuit |