JPH0684283A - Transfer method for magneto-optical disk data - Google Patents

Transfer method for magneto-optical disk data

Info

Publication number
JPH0684283A
JPH0684283A JP23494192A JP23494192A JPH0684283A JP H0684283 A JPH0684283 A JP H0684283A JP 23494192 A JP23494192 A JP 23494192A JP 23494192 A JP23494192 A JP 23494192A JP H0684283 A JPH0684283 A JP H0684283A
Authority
JP
Japan
Prior art keywords
data
sector
magneto
read
optical disk
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
JP23494192A
Other languages
Japanese (ja)
Inventor
Takeshi Kobayashi
毅 小林
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP23494192A priority Critical patent/JPH0684283A/en
Publication of JPH0684283A publication Critical patent/JPH0684283A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the reading speed of magnetic disk data from being reduced too much even when the number of defective sectors is increased. CONSTITUTION:An alternating processing sector table 3 is provided inside a magneto-optical disk device 2, data relating to the defective sectors to which alternating processing is performed are stored in the table 3 and the data to which the alternating processing is performed are read first by referring to the table 3 to be stored in a controller buffer 7. Thus, the moving distance of a head is reduced and a transfer speed is accelerated.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、欠陥のあるセクタを
他の正常なセクタへ交替する機能を持つ光磁気ディスク
装置におけるデータの転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer method in a magneto-optical disk device having a function of replacing a defective sector with another normal sector.

【0002】[0002]

【従来の技術】一般に、ホストコンピュータによる光磁
気ディスク装置からのデータの読み出しは、先頭のセク
タ番号と読み出す連続セクタ数を光磁気ディスク装置へ
指示することにより行なう。ホストコンピュータと光磁
気ディスク装置とのインタフェースを行なうコントロー
ラは、通常、光磁気ディスク装置からセクタ番号順にセ
クタデータをコントローラ・バッファ内へ格納する。光
磁気ディスク装置においては、欠陥のあるセクタは特定
な領域に確保されている交替領域中のセクタに交替され
る。コントローラは連続して読み出すセクタ中に交替さ
れたセクタがある場合、コントローラ・バッファへ交替
セクタを含めてセクタ番号順に格納するために、例えば
次のような方法が採られている。すなわち、磁気ディス
ク装置は交替されたセクタの直前までの連続セクタを読
み出すが、欠陥があり交替されたセクタが存在すれば、
その都度光ヘッドを交替先となった正常セクタまでシー
クさせ、その正常セクタのデータを読み出す。それ以後
は、交替されたセクタの直後の正常セクタまでヘッドを
戻し、同様の動作を繰り返す。
2. Description of the Related Art Generally, data is read from a magneto-optical disk device by a host computer by instructing the magneto-optical disk device of a head sector number and the number of consecutive sectors to be read. A controller that interfaces between the host computer and the magneto-optical disk device normally stores sector data in the controller buffer in order of sector number from the magneto-optical disk device. In the magneto-optical disk device, a defective sector is replaced with a sector in a replacement area secured in a specific area. The controller employs the following method, for example, in order to store the replacement sector in the controller buffer in the order of the sector number when there is a replacement sector in the continuously read sectors. That is, the magnetic disk device reads continuous sectors up to immediately before the replaced sector, but if there is a defective and replaced sector,
Each time, the optical head is sought to the normal sector which is the replacement destination, and the data of the normal sector is read. After that, the head is returned to the normal sector immediately after the replaced sector, and the same operation is repeated.

【0003】以上の動作を具体的に示すのが図4のフロ
ーチャートである。すなわち、光磁気ディスク装置はス
テップS1でホストコンピュータから、読み書きする先
頭セクタ番号とセクタ数などを含む所定のコマンドを受
信すると、ステップS2で開始アドレスおよびセクタ数
をチェックし、ステップS3でコントローラ・バッファ
(単に、バッファともいう)上の空き領域を決定するた
めのポインタの設定を行なう。そして、ステップS4で
最終セクタが次の交替セクタより近いかどうかを判断
し、近くない(N)ときはステップS5へ進み、近い
(Y)ときはステップS8へ進む。ステップS5では次
の交替セクタまでのセクタ数を計算し、ステップS6で
は正常セクタのデータをリードし、ステップS7では交
替セクタのデータをリードする。ステップS8では最終
セクタまでのセクタ数を計算し、ステップS9では正常
セクタのデータをリードする。
FIG. 4 is a flow chart showing the above operation in detail. That is, when the magneto-optical disk device receives a predetermined command including the starting sector number and the number of sectors to be read / written from the host computer in step S1, it checks the start address and the number of sectors in step S2, and in step S3 the controller buffer. A pointer is set to determine an empty area (simply referred to as a buffer). Then, in step S4, it is determined whether or not the final sector is closer than the next replacement sector. If not close (N), the process proceeds to step S5, and if close (Y), the process proceeds to step S8. In step S5, the number of sectors up to the next replacement sector is calculated. In step S6, the normal sector data is read, and in step S7, the replacement sector data is read. In step S8, the number of sectors up to the final sector is calculated, and in step S9, the data of the normal sector is read.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記の
ような読み出し方法では、欠陥セクタがある度にその交
替先の正常セクタに対しヘッドのシーク動作が発生する
ため、データ読み出し速度が遅くなるという問題があ
る。特に、読み出しを行なう連続セクタ中に2セクタ以
上の欠陥セクタを含む場合、光ヘッドは正常セクタと交
替セクタ領域との間を欠陥セクタの数だけ往復すること
になる。これにより、欠陥セクタの数が多いほどデータ
読み出し速度が遅くなるというわけである。したがっ
て、この発明の課題は欠陥セクタの数が多くなってもデ
ータ読み出し速度を余り低下させないようにすることに
ある。
However, in the above-described read method, the seek operation of the head occurs with respect to the normal sector of the replacement destination every time there is a defective sector, so that the data read speed becomes slow. There is. In particular, when the continuous sectors to be read include two or more defective sectors, the optical head reciprocates between the normal sector and the replacement sector area by the number of defective sectors. As a result, the larger the number of defective sectors, the slower the data read speed. Therefore, an object of the present invention is to prevent the data reading speed from being lowered so much even if the number of defective sectors increases.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るため、この発明では、欠陥のあるセクタを他の正常な
セクタへ交替する機能を持つ光磁気ディスク装置によ
り、磁気ディスクからデータを読み出してそのコントロ
ーラバッファへ転送するに当たり、欠陥があり交替処理
が行なわれているセクタのデータが格納されている領域
のセクタデータを読み出して、まず前記コントローラバ
ッファの対応する位置に格納した後、正規のデータ領域
から正常なセクタのデータだけを読み出してコントロー
ラバッファの対応する位置に格納することを特徴として
いる。
In order to solve such a problem, the present invention reads data from a magnetic disk by a magneto-optical disk device having a function of replacing a defective sector with another normal sector. When transferring the data to the controller buffer, the sector data of the area where the data of the sector which is defective and has undergone the replacement process is stored is read out, first stored in the corresponding position of the controller buffer, and then the regular data is stored. It is characterized in that only normal sector data is read from the data area and stored in the corresponding position of the controller buffer.

【0006】[0006]

【作用】光磁気ディスク装置のデータ読み出し時に、読
み出し範囲におけるすべての欠陥セクタのデータを先に
読み込むことにより、光ヘッドの移動距離を減少させ、
データ転送速度を向上させる。
When the data is read from the magneto-optical disk device, the moving distance of the optical head is reduced by reading the data of all defective sectors in the read range first.
Improve data transfer speed.

【0007】[0007]

【実施例】図1はこの発明の実施例を示すフローチャー
ト、図2はこの発明が適用されるシステム構成図であ
る。まず、図2から説明する。なお、1はホストコンピ
ュータ(CPU)、2は光磁気ディスク装置、3は交替
処理セクタテーブル、4はコントローラ制御部、5はホ
ストインタフェース部、6はバッファマネージャ、7は
コントローラバッファ、8はディスクドライブをそれぞ
れ示す。ホストコンピュータ(CPU)1は、光磁気デ
ィスク装置2とはホストインタフェース部5を介して接
続され、読み書きする先頭セクタ番号,セクタ数などを
コマンドとして指示する。書き込み時にはコマンドに続
けて書込みデータを光磁気ディスク装置2へ送り、読み
出し時には光磁気ディスク装置2からセクタデータを受
信する。なお、ホストコンピュータ1と光磁気ディスク
装置2との間のコマンドおよびデータの授受は、例えば
1バイト毎のハンドシェイク方式によって行なわれる。
1 is a flowchart showing an embodiment of the present invention, and FIG. 2 is a system configuration diagram to which the present invention is applied. First, FIG. 2 will be described. 1 is a host computer (CPU), 2 is a magneto-optical disk device, 3 is a replacement processing sector table, 4 is a controller control unit, 5 is a host interface unit, 6 is a buffer manager, 7 is a controller buffer, and 8 is a disk drive. Are shown respectively. The host computer (CPU) 1 is connected to the magneto-optical disk device 2 via the host interface unit 5, and gives a command such as a leading sector number to read / write, a sector number, and the like. At the time of writing, write data is sent to the magneto-optical disk device 2 following the command, and at the time of reading, sector data is received from the magneto-optical disk device 2. It should be noted that the exchange of commands and data between the host computer 1 and the magneto-optical disk device 2 is performed by, for example, a handshake method for each byte.

【0008】交替処理セクタテーブル3は、この発明に
より特に付加した部分である。すなわち、従来はディス
クドライブ8は交替セクタも含め情報系列の順にデータ
を読み出し、読み出されたデータをそのままの順番でコ
ントローラバッファ7に格納するようにしていた。これ
に対し、この発明では交替処理セクタテーブル3を参照
して、これにより読み出し範囲内で交替されているセク
タのアドレス情報を得てこれらのデータを先に読み出
し、これらのデータをコントローラバッファ7上に正し
い情報系列となるように格納する。次に、正常セクタの
データを読み出して同様に格納する。最終的に、コント
ローラバッファ7のアドレスの順にデータをホストコン
ピュータ1へ転送することにより、情報系列の順になる
ようにしている。
The replacement processing sector table 3 is a part particularly added according to the present invention. That is, conventionally, the disk drive 8 reads data in the order of the information series including the replacement sector and stores the read data in the controller buffer 7 in the same order. On the other hand, according to the present invention, the replacement processing sector table 3 is referred to, the address information of the sector replaced within the read range is obtained thereby, and these data are read first, and these data are stored in the controller buffer 7. Store so that the correct information sequence is stored in. Next, the data in the normal sector is read and stored in the same manner. Finally, the data is transferred to the host computer 1 in the order of the address of the controller buffer 7 so that the order of the information series is established.

【0009】かかる処理動作を示すのが図1で、ステッ
プS3に示すように、交替処理セクタテーブル3を参照
するステップを付加した点が特徴である。すなわち、光
磁気ディスク装置2がホストコンピュータ1から所定の
コマンドを受信すると(ステップS1)、光磁気ディス
ク装置2はそのコントローラ制御部4により開始アドレ
スおよびセクタ数のチェックを行なった後(ステップS
2)、交替処理セクタテーブル3を参照して読み出し範
囲内で交替されているセクタがあるかどうかの判断を行
なう(ステップS3)。
This processing operation is shown in FIG. 1, which is characterized in that a step for referring to the replacement processing sector table 3 is added as shown in step S3. That is, when the magneto-optical disk device 2 receives a predetermined command from the host computer 1 (step S1), the magneto-optical disk device 2 checks its start address and the number of sectors by its controller control unit 4 (step S1).
2) Referring to the replacement processing sector table 3, it is determined whether there is a replaced sector within the read range (step S3).

【0010】その結果、交替されているセクタが存在す
る場合は、その総数が明らかになった段階で(ステップ
S4)交替セクタ領域へシークを行ない、欠陥セクタに
対応する正常セクタのデータをコントローラバッファ7
の対応する位置へ格納しておく(ステップS6)。な
お、このとき図4の場合と同様に、バッファポインタの
設定が行なわれる(ステップS5)。最後に、正規のデ
ータ領域にシークを行ない、読み出すべき領域のうち交
替されたセクタを除くセクタのデータをコントローラバ
ッファ7の対応する位置へ格納する(ステップS8)。
このとき、正規のデータ領域を確保するために、バッフ
ァポインタの再設定が行なわれる(ステップS7)。ま
た、ステップS4での判断の結果、交替セクタが存在し
ないときはステップS7でバッファポインタの再設定を
行なうとともに、交替セクタへのシークは行なわずに直
接正規のデータ領域にシークを行ない、コントローラバ
ッファ7の再設定されたポインタにもとづくデータの格
納を行なう。
As a result, if there is a sector that has been replaced, when the total number is known (step S4), a seek is made to the replacement sector area, and the data of the normal sector corresponding to the defective sector is transferred to the controller buffer. 7
It is stored in the corresponding position (step S6). At this time, similarly to the case of FIG. 4, the buffer pointer is set (step S5). Finally, the normal data area is sought, and the data of the sectors other than the replaced sectors in the area to be read is stored in the corresponding position of the controller buffer 7 (step S8).
At this time, the buffer pointer is reset to secure the regular data area (step S7). If the replacement sector does not exist as a result of the determination in step S4, the buffer pointer is reset in step S7, and the seek to the replacement sector is not performed and the seek operation is performed directly on the regular data area. Data is stored based on the reset pointer of 7.

【0011】ここで、図3(イ)に示すような磁気ディ
スクに対し、ホストコンピュータ1からのコマンドがそ
の磁気ディスクの1〜12までのセクタから、この順に
データを読み出すことを指定しており、欠陥セクタが
4,7と2つあって、これらはそれぞれ4’,7’に交
替されている場合の動作につき、説明する。この場合、
バッファポインタの設定により読み出しデータが格納さ
れるべきコントローラバッファ7の領域が同図(ロ)の
ように(1)から(12)まで確保される。また、ステ
ップS3で交替処理セクタテーブル3を参照すれば、欠
陥セクタがあることが分かるので、最初に交替セクタ
4’,7’のデータを読み出してこれをコントローラバ
ッファ7の対応する領域4,7に格納する。ついで、正
規のデータ領域にシークを行ない、セクタ1〜12のう
ち交替されたセクタ4,7を除くセクタのデータをコン
トローラバッファ7の対応する領域1〜3,5,6,8
〜12に格納する。図3(ロ)では、斜線部の左側に最
初の格納データを示し、右側に正規の格納データを示し
ている。
Here, with respect to the magnetic disk as shown in FIG. 3A, the command from the host computer 1 specifies to read the data from the sectors 1 to 12 of the magnetic disk in this order. The operation when there are two defective sectors 4 and 7 and these are replaced by 4'and 7 ', respectively, will be described. in this case,
By setting the buffer pointer, the area of the controller buffer 7 in which the read data should be stored is secured from (1) to (12) as shown in FIG. Further, by referring to the replacement processing sector table 3 in step S3, it can be seen that there is a defective sector. Therefore, the data of the replacement sectors 4'and 7'is read out first, and this is read in the corresponding areas 4 and 7 of the controller buffer 7. To store. Then, seeking is performed on the regular data area, and the data of the sectors other than the exchanged sectors 4 and 7 of the sectors 1 to 12 are transferred to the corresponding areas 1 to 3, 5, 6, 8 of the controller buffer 7.
Stored in ~ 12. In FIG. 3B, the first stored data is shown on the left side of the shaded portion, and the regular stored data is shown on the right side.

【0012】[0012]

【発明の効果】この発明によれば、ホストコンピュータ
からのコマンドにより指示された先頭セクタから読み込
むべきセクタ数の間に、交替が行なわれたセクタが存在
するか否かを交替セクタテーブルを用いて確認し、交替
セクタが存在するときはそのデータのみを、先にコント
ローラバッファ内の対応する位置に格納し、しかる後に
正規のデータ領域から正常なセクタのデータだけを、コ
ントローラバッファ内の対応する位置に格納するように
したので、動作に時間の掛かる光ヘッドの移動(シー
ク)を最低限に抑えることができ、その結果、データ転
送速度を上げることが可能となり、その効果は、交替セ
クタが多くなるほど顕著となる。
According to the present invention, it is possible to determine whether or not there is a replaced sector within the number of sectors to be read from the head sector designated by the command from the host computer by using the replacement sector table. Check and, if there is a replacement sector, store only that data in the corresponding position in the controller buffer first, and then store only the data in the normal sector from the normal data area in the corresponding position in the controller buffer. Since it is stored in the memory, it is possible to minimize the movement (seek) of the optical head, which takes time to operate, and as a result, it is possible to increase the data transfer rate. The more noticeable it becomes.

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

【図1】この発明の実施例を示すフローチャートであ
る。
FIG. 1 is a flow chart showing an embodiment of the present invention.

【図2】この発明が適用される装置を示すブロック図で
ある。
FIG. 2 is a block diagram showing an apparatus to which the present invention is applied.

【図3】この発明の動作を具体的に説明するための説明
図である。
FIG. 3 is an explanatory diagram for specifically explaining the operation of the present invention.

【図4】従来例の動作を説明するためのフローチャート
である。
FIG. 4 is a flowchart for explaining the operation of the conventional example.

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

1…ホストコンピュータ(CPU)、2…光磁気ディス
ク装置、3…交替処理セクタテーブル、4…コントロー
ラ制御部、5…ホストインタフェース部、6…バッファ
マネージャ、7…コントローラバッファ、8…ディスク
ドライブ。
1 ... Host computer (CPU), 2 ... Magneto-optical disk device, 3 ... Alternate processing sector table, 4 ... Controller control unit, 5 ... Host interface unit, 6 ... Buffer manager, 7 ... Controller buffer, 8 ... Disk drive.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 欠陥のあるセクタを他の正常なセクタへ
交替する機能を持つ光磁気ディスク装置により、磁気デ
ィスクからデータを読み出してそのコントローラバッフ
ァへ転送するに当たり、欠陥があり交替処理が行なわれ
ているセクタのデータが格納されている領域のセクタデ
ータを読み出して、まず前記コントローラバッファの対
応する位置に格納した後、正規のデータ領域から正常な
セクタのデータだけを読み出してコントローラバッファ
の対応する位置に格納することを特徴とする光磁気ディ
スクデータの転送方法。
1. A magneto-optical disk device having a function of replacing a defective sector with another normal sector reads data from a magnetic disk and transfers the data to its controller buffer. The sector data of the area in which the data of the specified sector is stored is first stored in the corresponding position of the controller buffer, and then only the data of the normal sector is read from the normal data area and the corresponding data of the controller buffer is read. A method for transferring magneto-optical disk data, characterized by storing in a position.
JP23494192A 1992-09-02 1992-09-02 Transfer method for magneto-optical disk data Pending JPH0684283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23494192A JPH0684283A (en) 1992-09-02 1992-09-02 Transfer method for magneto-optical disk data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23494192A JPH0684283A (en) 1992-09-02 1992-09-02 Transfer method for magneto-optical disk data

Publications (1)

Publication Number Publication Date
JPH0684283A true JPH0684283A (en) 1994-03-25

Family

ID=16978673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23494192A Pending JPH0684283A (en) 1992-09-02 1992-09-02 Transfer method for magneto-optical disk data

Country Status (1)

Country Link
JP (1) JPH0684283A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6574699B1 (en) 1999-12-07 2003-06-03 International Business Machines Corporation Fast track reassign in a rotating storage media
KR100392613B1 (en) * 1996-04-03 2003-11-17 삼성전자주식회사 Method for processing defect sectors of hard disk drive
KR100710947B1 (en) * 1999-09-24 2007-04-24 마츠시타 덴끼 산교 가부시키가이샤 High-voltage mos transistor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100392613B1 (en) * 1996-04-03 2003-11-17 삼성전자주식회사 Method for processing defect sectors of hard disk drive
KR100710947B1 (en) * 1999-09-24 2007-04-24 마츠시타 덴끼 산교 가부시키가이샤 High-voltage mos transistor
US6574699B1 (en) 1999-12-07 2003-06-03 International Business Machines Corporation Fast track reassign in a rotating storage media

Similar Documents

Publication Publication Date Title
KR100345632B1 (en) A memory device and a method for controlling the same
US5603002A (en) Hard disk drive having buffer memory employing directory based cache controller with data replacement scheme
US4525801A (en) Disk storage controller
JPH0684283A (en) Transfer method for magneto-optical disk data
US6745300B1 (en) Magnetic disk device and disk access method therefor
JPH04111113A (en) Hard disk emulator
US6795893B2 (en) Recordable disk recording controller with batch register controller
JP3147575B2 (en) Data writing device and data block writing method
JP2748056B2 (en) Disk controller
JPH05181613A (en) Information processor
JP3080416B2 (en) Method of executing internal operation in controller and controller
JPH09128291A (en) Cache memory managing method
KR100189927B1 (en) Hard disk drive control device and method
JPS61287071A (en) Magnetic disc controller
JPH05217286A (en) Magnetic disk controller
JPS58171724A (en) Copy controller of magnetic disc tape
JPH04254969A (en) Recording data protection means for draw type recording system
JPH07169195A (en) Recording medium read-out device
JPH0442466A (en) Optical disk controller
JPS58105434A (en) Controlling system of storage device
JPH06290547A (en) High-speed data transferring method
JPH05182369A (en) Magnetic disk control method
JPH0816323A (en) Magnetic disk device
JPH11238319A (en) Format efficiency improvement method of magnetic disk device
JPH05242605A (en) Disk control device