JP3305365B2 - Buffering method - Google Patents

Buffering method

Info

Publication number
JP3305365B2
JP3305365B2 JP21048792A JP21048792A JP3305365B2 JP 3305365 B2 JP3305365 B2 JP 3305365B2 JP 21048792 A JP21048792 A JP 21048792A JP 21048792 A JP21048792 A JP 21048792A JP 3305365 B2 JP3305365 B2 JP 3305365B2
Authority
JP
Japan
Prior art keywords
data
sector
read
msec
area
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.)
Expired - Fee Related
Application number
JP21048792A
Other languages
Japanese (ja)
Other versions
JPH0660549A (en
Inventor
龍彦 小野
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.)
Pioneer Corp
Original Assignee
Pioneer Corp
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 Pioneer Corp filed Critical Pioneer Corp
Priority to JP21048792A priority Critical patent/JP3305365B2/en
Publication of JPH0660549A publication Critical patent/JPH0660549A/en
Application granted granted Critical
Publication of JP3305365B2 publication Critical patent/JP3305365B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ディスクから読み取っ
たデータを外部装置に転送するためのバッファリング方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a buffering method for transferring data read from a disk to an external device.

【0002】[0002]

【従来の技術】ディスクドライブ装置においてディスク
に記録されたデータの読取はセクタ単位で行なわれ、読
み取ったデータはバッファメモリを介して外部装置に転
送される。このバッファメモリを用いたデータ転送のた
めのバッファリング方式としてシングルバッファリング
方式、ダブルバッファリング方式及びリングバッファリ
ング方式が知られている。
2. Description of the Related Art In a disk drive device, data recorded on a disk is read in units of sectors, and the read data is transferred to an external device via a buffer memory. As a buffering method for data transfer using the buffer memory, a single buffering method, a double buffering method, and a ring buffering method are known.

【0003】これらのバッファリング方式について説明
するためにディスクドライブ装置の概略的構成について
先ず説明する。ディスクドライブ装置においては、図1
に示すようにディスク1がターンテーブル2に装着さ
れ、スピンドルモータ3によって回転駆動される。ディ
スク1には記録時には光ピックアップ4によってデータ
が書き込まれ、再生時にはディスク1に記録されたデー
タが光ピックアップ4によって読み取られる。ピックア
ップ4はディスク1の半径方向に移動するスライダー
(図示せず)に搭載されている。ピックアップ4には変
調・復調回路5、エラー訂正回路6及びバッファRAM
7が順に接続されている。記録時にはバッファRAM7
に保持されたデータがエラー訂正回路6においてエラー
訂正された後、変調・復調回路5によって記録のために
データ変換され、記録データとしてピックアップ4に供
給される。一方、再生時にはピックアップ4からの読取
データは変調・復調回路5によって復調され、エラー訂
正回路6において更にエラー訂正された後、バッファR
AM7に供給される。変調・復調回路5、エラー訂正回
路6及びバッファRAM7の各動作は制御回路8によっ
て制御される。制御回路8は例えば、マイクロコンピュ
ータによって構成され、ROM9に予め記憶されたプロ
グラムに従って制御動作を行なう。また、制御回路8は
フォーカスサーボ、トラッキングサーボ等のディスク及
びピックアップ駆動系(図示せず)の制御動作も行な
う。バッファメモリであるバッファRAM7は64Kbyt
e(キロバイト)の容量を有し、入出力ポート10に接続
され、外部装置であるホストコンピュータ11とのデー
タ転送のめたのバッファリング動作を行なう。なお、図
1において一点破線で囲んだ部分がディスクドライブ装
置である。
[0003] In order to explain these buffering methods, a schematic configuration of a disk drive device will be described first. In a disk drive device, FIG.
The disk 1 is mounted on the turntable 2 and is rotated by the spindle motor 3 as shown in FIG. Data is written on the disk 1 by the optical pickup 4 during recording, and data recorded on the disk 1 is read by the optical pickup 4 during reproduction. The pickup 4 is mounted on a slider (not shown) that moves in the radial direction of the disk 1. The pickup 4 includes a modulation / demodulation circuit 5, an error correction circuit 6, and a buffer RAM.
7 are connected in order. When recording, buffer RAM 7
After the data held in the error correction circuit 6 corrects the error, the data is converted by the modulation / demodulation circuit 5 for recording and supplied to the pickup 4 as recording data. On the other hand, at the time of reproduction, the read data from the pickup 4 is demodulated by the modulation / demodulation circuit 5, further error-corrected by the error correction circuit 6, and
AM7. Each operation of the modulation / demodulation circuit 5, the error correction circuit 6, and the buffer RAM 7 is controlled by the control circuit 8. The control circuit 8 is formed of, for example, a microcomputer, and performs a control operation according to a program stored in the ROM 9 in advance. Further, the control circuit 8 also performs control operations of a disk such as a focus servo and a tracking servo and a pickup drive system (not shown). The buffer RAM 7, which is a buffer memory, is 64Kbyt
It has a capacity of e (kilobytes), is connected to the input / output port 10, and performs a buffering operation for data transfer with the host computer 11, which is an external device. In FIG. 1, a portion surrounded by a dashed line is a disk drive device.

【0004】ディスク1は1トラック当り32セクタに
区分され、1セクタ当り512byte(バイト)のデータ
が記録される。また、ディスク1には図2に示すうよに
基本データ領域、交代領域及びマップ領域が設けられて
いる。基本データ領域は記録すべきデータが書き込まれ
る領域であり、交代領域は基本データ領域において欠陥
セクタが生じた場合にそこに記録すべきデータが書き込
まれる交代セクタを有する。記録時に基本データ領域に
欠陥セクタ(セクタ0〜31のうちのいずれか)が生じ
た場合に基本データ領域のトラック0〜Nとは別トラッ
クN+1〜N+Pの交代領域に書き込まれる。マップ領
域は欠陥セクタとその交代セクタとの間のアドレスにつ
いての対応関係を示す交代情報が記録されるアドレス対
応テーブルを有している。データ記録時にディスク1に
データを書き込むと直ちに読み出して正しく再生されな
いことにより欠陥セクタであることが検出されると、そ
の欠陥セクタに記録されるべきデータが交代セクタに記
録され、欠陥セクタのセクタアドレスと交代セクタのセ
クタアドレスとが対にされてアドレス対応テーブルに記
録される。再生時にアドレス対応テーブルの交代情報が
最初に読み出され、基本データ領域のいずれのセクタが
欠陥セクタであってそれの交代セクタのアドレスを知る
ことができる。
The disk 1 is divided into 32 sectors per track, and data of 512 bytes (byte) is recorded per sector. The disc 1 is provided with a basic data area, a replacement area, and a map area as shown in FIG. The basic data area is an area in which data to be recorded is written, and the replacement area has a replacement sector in which data to be recorded is written when a defective sector occurs in the basic data area. When a defective sector (any one of sectors 0 to 31) occurs in the basic data area during recording, the data is written to an alternate area of tracks N + 1 to N + P different from tracks 0 to N of the basic data area. The map area has an address correspondence table in which replacement information indicating a correspondence relationship between addresses of defective sectors and their replacement sectors is recorded. When data is written to the disk 1 at the time of data recording, the data is read out immediately and is not reproduced correctly. When it is detected that the sector is a defective sector, data to be recorded in the defective sector is recorded in a replacement sector, and the sector address of the defective sector is recorded. And the sector address of the replacement sector are paired and recorded in the address correspondence table. At the time of reproduction, the replacement information in the address correspondence table is read first, and any sector in the basic data area is defective and the address of the replacement sector can be known.

【0005】なお、ディスクによっては交代領域として
第1及び第2交代領域が設けられ、記録時に基本データ
領域に欠陥セクタが生じた場合にそのトラックと同一ト
ラック上の第1交代領域に記録され、その第1交代領域
が既に使用されている場合或いは第1交代領域に欠陥が
ある場合には基本データ領域のトラックとは別トラック
の第2交代領域に書き込まれるものもある。
In some disks, first and second alternate areas are provided as alternate areas. If a defective sector occurs in the basic data area during recording, the defective area is recorded in the first alternate area on the same track as that track. When the first replacement area is already used or when the first replacement area has a defect, there is a case where data is written in the second replacement area on a track different from the track in the basic data area.

【0006】更に、ディスク1の回転速度は2400rp
m であり、1回転当り25msecである。また、装置とし
てのホストコンピュータ11へのデータ転送速度は20
00Kbyte /sec であり、ディスク1からのデータ読取
と同時にデータ転送する場合の転送速度は1000Kbyt
e /sec である。次に、かかる構成のディスクドライブ
装置における各方式のバッファリング動作について説明
する。この説明のためにディスク1から第1セクタから
第256セクタまでの128Kbyte 分のデータを転送す
る場合を例にし、ディスク1の欠陥セクタがない基本デ
ータ領域から読み出すとする。制御回路8には読取開始
セクタ及びその読取開始セクタからの指定セクタ数がデ
ータとして供給されているとする。
Further, the rotation speed of the disk 1 is 2400 rp
m and 25 msec per rotation. The data transfer rate to the host computer 11 as an apparatus is 20
00Kbyte / sec, and the transfer speed when transferring data simultaneously with reading data from the disk 1 is 1000Kbyt
e / sec. Next, the buffering operation of each system in the disk drive device having such a configuration will be described. For the sake of explanation, it is assumed that data of 128 Kbytes from the first sector to the 256th sector is transferred from the disk 1 as an example, and it is assumed that data is read from the basic data area of the disk 1 where there are no defective sectors. It is assumed that the read start sector and the specified number of sectors from the read start sector are supplied to the control circuit 8 as data.

【0007】シングルバッファリング方式の動作におい
て、図3に示すように制御回路8はピックアップ4の情
報読取点を読取開始セクタ(第1セクタ)の始点へ移動
するシーク動作をさせた後、バッファRAM7の容量
分、すなわち64Kbyte のデータ読取動作を開始させる
(ステップS1)。そして、指定セクタ数の読取が終了
したか否かを判別する(ステップS2)。読取開始セク
タから実際に読み取った現セクタまでの数が指定セクタ
数に達していないならば、バッファRAM7が読み取っ
たデータで埋まったか否かを判別する(ステップS
3)。バッファRAM7の容量一杯のデータは4トラッ
ク分のデータに相当するので、100msecの時間を要す
る。
In the operation of the single buffering system, as shown in FIG. 3, the control circuit 8 performs a seek operation for moving the information reading point of the pickup 4 to the starting point of the reading start sector (first sector). The data reading operation of the capacity of, ie, 64 Kbytes, is started (step S1). Then, it is determined whether or not reading of the specified number of sectors has been completed (step S2). If the number from the reading start sector to the current sector actually read has not reached the designated sector number, it is determined whether or not the buffer RAM 7 has been filled with the read data (step S).
3). Since the data of the full capacity of the buffer RAM 7 corresponds to data of four tracks, it takes 100 msec.

【0008】ディスク1から64Kbyte 分のデータを読
み取っていない場合にはステップS2に戻り、ディスク
1から64Kbyte 分のデータを読み取った場合にはバッ
ファRAM7の容量一杯となるので、読み取ったセクタ
に欠陥セクタがあったか否かを判別する(ステップS
4)。欠陥セクタがない領域から読み出しているので、
バッファRAM7に保持されたデータのホストコンピュ
ータ11への転送を指令する(ステップS5)。64Kb
yte 分のデータをホストコンピュータ11へ転送するた
めに必要な時間は32msecである。
If data of 64 Kbytes has not been read from the disk 1, the process returns to step S2. If data of 64 Kbytes has been read from the disk 1, the capacity of the buffer RAM 7 becomes full. Is determined (step S
4). Since we are reading from an area with no defective sectors,
An instruction is issued to transfer the data held in the buffer RAM 7 to the host computer 11 (step S5). 64Kb
The time required to transfer yte's worth of data to the host computer 11 is 32 msec.

【0009】ステップS5によるホストコンピュータ1
1への転送後、指定セクタ数だけのデータがホストコン
ピュータ11へ転送されたか否かを判別する(ステップ
S6)。指定セクタ数だけのデータがホストコンピュー
タ11へ転送されていない場合には所定時間の待機後、
次の64Kbyte のデータ読取動作を開始させ(ステップ
S7)、ステップS2に戻る。指定セクタ数だけのデー
タがホストコンピュータ11へ転送された場合に本ルー
チンを終了する。
The host computer 1 in step S5
After the transfer to the host computer 11, it is determined whether or not the data of the designated number of sectors has been transferred to the host computer 11 (step S6). If data of the specified number of sectors has not been transferred to the host computer 11, after waiting for a predetermined time,
The data reading operation for the next 64 Kbytes is started (step S7), and the process returns to step S2. When the data of the specified number of sectors has been transferred to the host computer 11, the present routine ends.

【0010】この動作のためシングルバッファリング方
式においては、図4に示すように、制御回路8のステッ
プS1の実行によりディスク1から64Kbyte 分のデー
タを読み取ってバッファRAM7に保持させる動作時間
が100msecである。バッファRAM7にデータ保持
後、直ちにステップS5の実行によりバッファRAM7
に保持された64Kbyte 分のデータをホストコンピュー
タ11に転送する動作時間が32msecである。この転送
の期間においてディスク1が回転している読取停止して
いる待機状態であるので、転送動作に32msecならば、
ディスク1は2回転しなければならない。よって、最初
の64Kbyte のデータを読み取ってから次の64Kbyte
のデータ読取のための頭出しまでに待機状態を含め50
msecを要する。制御回路8のステップS7の実行により
ディスク1から次の64Kbyte 分のデータを読み取って
バッファRAM7に保持させる動作時間が100msecで
あり、再びステップS5の実行によりバッファRAM7
に保持された64Kbyte 分のデータをホストコンピュー
タ11に転送する動作時間が32msecである。従って、
シングルバッファリング方式でディスク1の欠陥セクタ
がない領域から128Kbyte 分のデータを読み取ってホ
ストコンピュータ11に転送するために必要な時間は合
計282msecである。なお、図4においてはbyteの単位
は省略しており、以下に説明する他のタイミングチャー
トにおいても同様である。
For this operation, in the single buffering system, as shown in FIG. 4, the operation time of reading data of 64 Kbytes from the disk 1 and holding it in the buffer RAM 7 by executing the step S1 of the control circuit 8 is 100 msec. is there. Immediately after the data is held in the buffer RAM 7, execution of step S5 causes the buffer RAM 7
The operation time for transferring 64 Kbytes of data held in the host computer 11 to the host computer 11 is 32 msec. During the transfer period, the disk 1 is rotating, and the reading is stopped.
The disk 1 has to make two revolutions. Therefore, after reading the first 64 Kbytes of data, the next 64 Kbytes
50 seconds including the standby state before cueing for data reading
Requires msec. The operation time of reading the next 64 Kbytes of data from the disk 1 and holding it in the buffer RAM 7 by executing the step S7 of the control circuit 8 is 100 msec.
The operation time for transferring 64 Kbytes of data held in the host computer 11 to the host computer 11 is 32 msec. Therefore,
The total time required to read 128 Kbytes of data from an area of the disk 1 having no defective sectors and transfer it to the host computer 11 by the single buffering method is 282 msec in total. In FIG. 4, the unit of byte is omitted, and the same applies to other timing charts described below.

【0011】ダブルバッファリング方式の動作におい
て、図5に示すように制御回路8はピックアップ4の情
報読取点を読取開始セクタの始点へ移動させた後、指定
セクタ数、すなわち128Kbyte のデータ読取動作を開
始させる(ステップS21)。そして、指定セクタ数の
読取が終了したか否かを判別する(ステップS22)。
読取開始セクタから実際に読み取った現セクタまでの数
が指定セクタ数に達していないならば、バッファRAM
7の半分の容量(32Kbyte)のデータが読み取られたか
否かを判別する(ステップS23)。バッファRAM7
の半分の容量のデータは2トラック分のデータに相当す
るので、50msecの時間を要する。
In the operation of the double buffering system, as shown in FIG. 5, the control circuit 8 moves the information reading point of the pickup 4 to the starting point of the reading start sector, and then performs the data reading operation of the designated number of sectors, ie, 128 Kbytes. It is started (step S21). Then, it is determined whether or not reading of the specified number of sectors has been completed (step S22).
If the number from the read start sector to the current sector actually read has not reached the designated sector number, the buffer RAM
It is determined whether or not data having a half capacity (32 Kbytes) of 7 has been read (step S23). Buffer RAM7
Since the data of half the capacity of the data corresponds to the data of two tracks, it takes 50 msec.

【0012】ディスク1から32Kbyte 分のデータを読
み取っていない場合にはステップS22に戻り、ディス
ク1から32Kbyte 分のデータを読み取った場合には読
み取ったセクタに欠陥セクタがあったか否かを判別する
(ステップS24)。欠陥セクタがない領域から読み出
しているので、バッファRAM7に保持されたデータの
ホストコンピュータ11への転送を指令する(ステップ
S25)。32Kbyte分のデータをホストコンピュータ
11へ転送するために必要な時間は16msecである。
If data of 32 Kbytes has not been read from the disk 1, the process returns to step S22. If data of 32 Kbytes has been read from the disk 1, it is determined whether or not there is a defective sector in the read sector (step S22). S24). Since the data is read from the area having no defective sector, the transfer of the data held in the buffer RAM 7 to the host computer 11 is instructed (step S25). The time required to transfer 32 Kbytes of data to the host computer 11 is 16 msec.

【0013】ステップS25によるホストコンピュータ
11への転送後、指定セクタ数だけのデータがホストコ
ンピュータ11へ転送されたか否かを判別する(ステッ
プS26)。指定セクタ数だけのデータがホストコンピ
ュータ11へ転送されていない場合には直ちにステップ
S22に戻る。指定セクタ数だけのデータがホストコン
ピュータ11へ転送された場合に本ルーチンを終了す
る。
After the transfer to the host computer 11 in step S25, it is determined whether or not data of the specified number of sectors has been transferred to the host computer 11 (step S26). If the data for the specified number of sectors has not been transferred to the host computer 11, the process immediately returns to step S22. When the data of the specified number of sectors has been transferred to the host computer 11, the present routine ends.

【0014】よって、ダブルバッファリング方式におい
ては、図6に示すように、制御回路8のステップS21
の実行によりディスク1から128Kbyte 分のデータを
連続的に読み取ってバッファRAM7に保持させるの
で、その動作時間は200msecである。バッファRAM
7に32Kbyte 分のデータが保持される毎に、直ちにス
テップS25の実行によりバッファRAM7に保持され
た32Kbyte 分のデータがホストコンピュータ11に転
送され、その動作時間が16msecである。よって、最後
の32Kbyte 分のデータのホストコンピュータ11への
転送だけがディスク1からのデータ読取後に行なわれる
ので、ダブルバッファリング方式でディスク1の欠陥セ
クタがない領域から128Kbyte 分のデータを読み取っ
てホストコンピュータ11に転送するために必要な時間
は合計216msecである。
Therefore, in the double buffering system, as shown in FIG.
, The data of 128 Kbytes is continuously read from the disk 1 and stored in the buffer RAM 7, so that the operation time is 200 msec. Buffer RAM
Every time 32 Kbytes of data are held in the memory 7, the execution of step S25 immediately transfers the 32 Kbytes of data held in the buffer RAM 7 to the host computer 11, and the operation time is 16 msec. Therefore, since only the transfer of the last 32 Kbytes of data to the host computer 11 is performed after reading the data from the disk 1, the 128 Kbytes of data is read from the area of the disk 1 having no defective sectors by the double buffering method. The time required to transfer the data to the computer 11 is 216 msec in total.

【0015】次に、リングバッファリング方式の動作に
おいて、図7に示すように制御回路8はピックアップ4
の情報読取点を読取開始セクタの始点へ移動させた後、
指定セクタ数、すなわち128Kbyte のデータ読取動作
を開始させる(ステップS41)。そして、次のセクタ
は欠陥セクタであるか否かを判別する(ステップS4
2)。欠陥セクタがない領域から読み出しているので、
ステップS43に進んでバッファRAM7に1セクタ分
以上のデータが新たに保持されたか否かを判別する(ス
テップS43)。ディスク1から1セクタ分のデータを
読み取っていない場合にはステップS42に戻り、ディ
スク1から1セクタ分のデータを読み取った場合にはバ
ッファRAM7に保持された1セクタ分のデータのホス
トコンピュータ11への転送を指令する(ステップS4
4)。ステップS44によるホストコンピュータ11へ
の転送後、指定セクタ数だけのデータがホストコンピュ
ータ11へ転送されたか否かを判別する(ステップS4
5)。指定セクタ数だけのデータがホストコンピュータ
11へ転送されていない場合には直ちにステップS42
に戻る。指定セクタ数だけのデータがホストコンピュー
タ11へ転送された場合に本ルーチンを終了する。
Next, in the operation of the ring buffering system, as shown in FIG.
After moving the information reading point to the starting point of the reading start sector,
The data reading operation of the designated number of sectors, that is, 128 Kbytes is started (step S41). Then, it is determined whether or not the next sector is a defective sector (step S4).
2). Since we are reading from an area with no defective sectors,
Proceeding to step S43, it is determined whether or not data of one sector or more is newly held in the buffer RAM 7 (step S43). If data of one sector has not been read from the disk 1, the process returns to step S42. If data of one sector has been read from the disk 1, the data of one sector held in the buffer RAM 7 is sent to the host computer 11. (Step S4)
4). After the transfer to the host computer 11 in step S44, it is determined whether or not data of the specified number of sectors has been transferred to the host computer 11 (step S4).
5). If data of the specified number of sectors has not been transferred to the host computer 11, step S42 is immediately executed.
Return to When the data of the specified number of sectors has been transferred to the host computer 11, the present routine ends.

【0016】リングバッファリング方式においては、図
8に示すように、制御回路8のステップS41の実行に
よりディスク1から128Kbyte 分のデータを連続的に
読み取ってバッファRAM7に保持させるので、その動
作時間は200msecである。バッファRAM7に1セク
タ分のデータが新たに保持される毎に、直ちにステップ
S44の実行によりバッファRAM7に保持された1セ
クタ分のデータがホストコンピュータ11に転送され、
その1セクタ分の転送動作時間が0.5msecである。よ
って、最後の1セクタ分のデータのホストコンピュータ
11への転送だけがディスク1からのデータ読取後に行
なわれるので、リングバッファリング方式でディスク1
の欠陥セクタがない領域から128Kbyte 分のデータを
読み取ってホストコンピュータ11に転送するために必
要な時間は合計200.5msecである。
In the ring buffering method, as shown in FIG. 8, the control circuit 8 executes step S41 to continuously read data of 128 Kbytes from the disk 1 and hold the data in the buffer RAM 7, so that the operation time is as follows. 200 msec. Every time data of one sector is newly held in the buffer RAM 7, the data of one sector held in the buffer RAM 7 is immediately transferred to the host computer 11 by executing step S44,
The transfer operation time for one sector is 0.5 msec. Therefore, since only the transfer of the last one sector of data to the host computer 11 is performed after the data is read from the disk 1, the disk 1 is stored in the ring buffering system.
The total time required to read 128 Kbytes of data from the area having no defective sector and transfer it to the host computer 11 is 200.5 msec.

【0017】なお、実際には各バッファリング方式にお
いてもエラー訂正のために1セクタ分の転送時間が更に
必要であるが、省略している。このように、ディスク1
から読み取るべき基本データ領域内のセクタに欠陥セク
タが含まれない場合には上記の如くリングバッファリン
グ方式、ダブルバッファリング方式、そしてシングルバ
ッファリング方式の順番でデータ転送が速い。しかしな
がら、ディスク1から読み取るべきセクタに欠陥セクタ
が含まれる場合には必ずしもこの順番で速いとは限らな
い。
In addition, in actuality, even in each buffering method, a transfer time for one sector is further required for error correction, but is omitted. Thus, disk 1
When a defective sector is not included in the sector in the basic data area to be read from the data, the data transfer is performed in the order of the ring buffering method, the double buffering method, and the single buffering method as described above. However, when a sector to be read from the disk 1 includes a defective sector, it is not always faster in this order.

【0018】例えば、ディスク1に傷があるために、半
径方向に各トラックに欠陥セクタが存在する場合に16
Kbyte 毎に欠陥セクタが生ずる。すなわち、欠陥セクタ
に記録されるべきデータが交代セクタに記録される。上
記と同様にホストコンピュータ11に転送する128Kb
yte 分のデータを読み取る基本データ領域に図9に示す
ように4つの欠陥セクタA〜Dが16Kbyte毎に1つず
つ存在する場合に各バッファリング方式の動作について
説明する。なお、交代領域は欠陥セクタA〜Dに対応す
る交代セクタA´〜D´が形成され、またマップ領域の
アドレス対応テーブルのデータは予め読み取られて制御
回路8内のRAM(図示せず)に記憶されているので、
読み取ったセクタが欠陥セクタであることはアドレス対
応テーブルのデータから判別されるものとする。
For example, when there is a defective sector on each track in the radial direction due to a scratch on the disk 1,
A defective sector occurs every Kbyte. That is, data to be recorded in the defective sector is recorded in the replacement sector. 128 Kb to transfer to host computer 11 as above
The operation of each buffering method in the case where four defective sectors A to D exist one for every 16 Kbytes as shown in FIG. 9 in the basic data area for reading data for yte will be described. In the replacement area, replacement sectors A ′ to D ′ corresponding to defective sectors A to D are formed, and data of an address correspondence table of the map area is read in advance and stored in a RAM (not shown) in the control circuit 8. Because it is remembered,
It is assumed that the read sector is a defective sector from the data in the address correspondence table.

【0019】シングルバッファリング方式の動作におい
ては、図3に示すように制御回路8はステップS3にて
ディスク1から64Kbyte 分のデータを読み取ったと判
別した後、ステップS4にて読み取ったセクタに欠陥セ
クタがあったか否かを判別する。欠陥セクタがある場合
にはピックアップ4の情報読取点を交代領域へ移動する
シーク動作をさせた後、欠陥セクタに対応する交代セク
タのデータを読み取らせバッファRAM7に保持させる
(ステップS8)。このバッファRAM7のデータ保持
は欠陥セクタに対応するバッファ保持位置について行な
われる。ステップS8の実行後、指定セクタ数だけのデ
ータが読み取られたか否かを判別する(ステップS
9)。指定セクタ数だけのデータが読み取られていない
場合にはバッファRAM7に保持されたデータのホスト
コンピュータ11への転送を指令すると共にピックアッ
プ4の情報読取点を次に読み取るべきセクタの始点へ移
動させる(ステップS10)。次いで、バッファRAM
7の容量分、すなわち64Kbyte のデータ読取動作を開
始させ(ステップS11)、ステップS2に戻る。
In the operation of the single buffering system, as shown in FIG. 3, the control circuit 8 determines in step S3 that 64 Kbytes of data have been read from the disk 1, and then determines in step S4 the defective sector that has been read. Is determined. If there is a defective sector, a seek operation for moving the information reading point of the pickup 4 to the replacement area is performed, and then the data of the replacement sector corresponding to the defective sector is read and stored in the buffer RAM 7 (step S8). The data holding in the buffer RAM 7 is performed at the buffer holding position corresponding to the defective sector. After the execution of step S8, it is determined whether or not data of the specified number of sectors has been read (step S8).
9). If the data of the designated number of sectors has not been read, a command to transfer the data held in the buffer RAM 7 to the host computer 11 is issued, and the information reading point of the pickup 4 is moved to the start point of the sector to be read next ( Step S10). Then the buffer RAM
The data reading operation for the capacity of 7, that is, 64 Kbytes is started (step S11), and the process returns to step S2.

【0020】ステップS2において指定セクタ数だけの
データが読み取られているとき、すなわち、ディスク1
から256セクタ分のデータを読み取ったと判別された
ときにステップS4からステップS8に進んだ場合には
ピックアップ4の情報読取点が交代領域へ移動され、欠
陥セクタに対応する交代セクタの各データが読み取られ
る。ステップS8の実行後、ステップS9からステップ
S5に移行する。
When data of the specified number of sectors has been read in step S2,
When it is determined that the data of 256 sectors has been read from step S4 and the process proceeds from step S4 to step S8, the information reading point of the pickup 4 is moved to the replacement area, and each data of the replacement sector corresponding to the defective sector is read. Can be After execution of step S8, the process moves from step S9 to step S5.

【0021】よって、シングルバッファリング方式にお
いては、図10に示すように、制御回路8のステップS
1の実行によりディスク1から64Kbyte 分のデータを
読み取ってバッファRAM7に保持させる動作時間が1
00msecである。それに続いてステップS8の実行によ
りピックアップ4の情報読取点が交代領域に移動するシ
ーク時間が50msecであり、欠陥セクタAに対応する交
代セクタA´のデータを読み取る時間が0.8msecであ
る。その後、交代領域から基本データ領域の次の64Kb
yte のデータ読取のための始点までに移動するシーク時
間が50msecである。このシーク時間においてステップ
S10の実行によりバッファRAM7に保持された64
Kbyte 分のデータがホストコンピュータ11に転送され
るが、動作時間が32msecであり、シーク時間より短
い。基本データ領域へのシーク動作の終了後、制御回路
8のステップS11の実行によりディスク1から次の6
4Kbyte 分のデータを読み取ってバッファRAM7に保
持させる動作時間が100msecであり、再びステップS
8の実行により交代領域をシークする時間が50msecで
あり、3つの欠陥セクタB〜Dに対応する交代セクタB
´〜D´のデータを読み取る時間が2.3msecである。
バッファRAM7に保持された64Kbyte 分のデータを
ホストコンピュータ11に転送する動作時間が32msec
である。従って、シングルバッファリング方式でディス
ク1の4つの欠陥セクタがある領域から128Kbyte 分
のデータを読み取ってホストコンピュータ11に転送す
るために必要な時間は合計385.1msecである。
Therefore, in the single buffering system, as shown in FIG.
The operation time for reading 64 Kbytes of data from the disk 1 and holding it in the buffer RAM 7 by executing
00 msec. Subsequently, by executing step S8, the seek time for the information reading point of the pickup 4 to move to the replacement area is 50 msec, and the time for reading the data of the replacement sector A 'corresponding to the defective sector A is 0.8 msec. After that, the next 64 Kb of the basic data area
The seek time to move to the starting point for reading data of yte is 50 msec. During this seek time, 64 stored in the buffer RAM 7 by the execution of step S10.
Kbytes of data are transferred to the host computer 11, but the operation time is 32 msec, which is shorter than the seek time. After the seek operation to the basic data area is completed, the control circuit 8 executes step S11 to execute the next 6
The operation time for reading 4 Kbytes of data and storing it in the buffer RAM 7 is 100 msec, and
8, the time for seeking the replacement area is 50 msec, and the replacement sector B corresponding to the three defective sectors B to D is used.
The time to read the data of '-D' is 2.3 msec.
The operation time for transferring 64 Kbytes of data held in the buffer RAM 7 to the host computer 11 is 32 msec.
It is. Therefore, the total time required to read 128 Kbytes of data from the area where the four defective sectors of the disk 1 are located and transfer it to the host computer 11 by the single buffering method is 385.1 msec in total.

【0022】ダブルバッファリング方式の動作におい
て、図5に示すように制御回路8はステップS23にて
バッファRAM7の半分の容量のデータが読み取られた
と判別した後、ステップS24にて読み取ったセクタに
欠陥セクタがあったか否かを判別する。欠陥セクタがあ
る場合にはディスク1からのデータ読取動作を停止させ
(ステップS27)、ピックアップ4の情報読取点を交
代領域に移動させた後、欠陥セクタに対応する交代セク
タのデータを読み取らせてバッファRAM7に保持させ
る(ステップS28)。ステップS28の実行後、指定
セクタ数だけのデータが読み取られたか否かを判別する
(ステップS29)。指定セクタ数だけのデータが読み
取られていない場合にはバッファRAM7に保持された
データのホストコンピュータ11への転送を指令すると
共にピックアップ4の情報読取点を次に読み取るべきセ
クタの始点へ移動させる(ステップS30)。次いで、
ディスク1からの残りのデータ読取動作を開始させ(ス
テップS31)、ステップS22に戻る。
In the operation of the double buffering method, as shown in FIG. 5, the control circuit 8 determines in step S23 that data of half the capacity of the buffer RAM 7 has been read, and then in step S24 a defect in the sector read. It is determined whether or not there is a sector. If there is a defective sector, the data reading operation from the disk 1 is stopped (step S27), the information reading point of the pickup 4 is moved to the replacement area, and the data of the replacement sector corresponding to the defective sector is read. The data is stored in the buffer RAM 7 (step S28). After the execution of step S28, it is determined whether or not data of the specified number of sectors has been read (step S29). If the data of the designated number of sectors has not been read, a command to transfer the data held in the buffer RAM 7 to the host computer 11 is issued, and the information reading point of the pickup 4 is moved to the start point of the sector to be read next ( Step S30). Then
The operation of reading the remaining data from the disk 1 is started (step S31), and the process returns to step S22.

【0023】ステップS22において指定セクタ数だけ
のデータが読み取られているとき、すなわち、ディスク
1から256セクタ分のデータを読み取ったと判別され
たときにステップS24からステップS27に進んだ場
合にはピックアップ4の情報読取点は交代領域に移動さ
れ、欠陥セクタに対応する交代セクタの各データが読み
取られる。ステップS28の実行後、ステップS29か
らステップS25に移行されてバッファRAM7に保持
されたデータがホストコンピュータ11へ転送される。
When data of the designated number of sectors has been read in step S22, that is, when it is determined that data of 256 sectors has been read from the disk 1, if the process proceeds from step S24 to step S27, the pickup 4 Is moved to the replacement area, and each data of the replacement sector corresponding to the defective sector is read. After execution of step S28, the process moves from step S29 to step S25, and the data held in the buffer RAM 7 is transferred to the host computer 11.

【0024】よって、ダブルバッファリング方式におい
ては、図11に示すように、制御回路8のステップS2
1の実行によりディスク1から64Kbyte 分のデータが
連続的に読み取られてバッファRAM7に保持させるの
で、その動作時間は100msecである。バッファRAM
7に第1の32Kbyte 分のデータが保持されると、その
中には欠陥セクタが含まれないので直ちにステップS2
5の実行によりバッファRAM7に保持された第1の3
2Kbyte 分のデータがホストコンピュータ11に転送さ
れる。その転送動作時間は16msecであるので、ディス
ク1からの第2の32Kbyte 分のデータの読取期間中に
含まれる。欠陥セクタAを含む第2の32Kbyte 分のデ
ータの読取後、ディスク1からのデータ読取が停止さ
れ、ステップS28の実行により交代領域へのシーク時
間が50msecであり、欠陥セクタAに対応する交代セク
タA´のデータを読み取る時間が0.8msecである。
Therefore, in the double buffering method, as shown in FIG.
By executing step 1, 64 Kbytes of data are continuously read from the disk 1 and stored in the buffer RAM 7, so that the operation time is 100 msec. Buffer RAM
When the first 32 Kbytes of data are stored in step 7, since no defective sector is included therein, step S2 is immediately executed.
5, the first 3 stored in the buffer RAM 7
Data of 2 Kbytes is transferred to the host computer 11. Since the transfer operation time is 16 msec, it is included in the period for reading the second 32 Kbytes of data from the disk 1. After reading the second 32 Kbytes of data including the defective sector A, the data reading from the disk 1 is stopped, and the seek time to the replacement area is 50 msec by executing step S28. The time for reading the data of A 'is 0.8 msec.

【0025】その後、交代領域から基本データ領域の第
3の32Kbyte のデータ読取のための始点までに移動す
るシーク時間が50msecである。このシーク時間におい
てステップS30の実行によりバッファRAM7に保持
された第2の32Kbyte 分のデータがホストコンピュー
タ11に転送されるが、動作時間が16msecであり、シ
ーク時間より短い。基本データ領域へのシーク動作の終
了後、制御回路8のステップS31の実行によりディス
ク1から欠陥セクタB,Cを含む第3の32Kbyte 分の
データを読み取ってバッファRAM7に保持させる動作
時間が50msecであり、再びステップS8の実行により
交代領域へのシーク時間が50msecであり、2つの欠陥
セクタB,Cに対応する交代セクタB´,C´のデータ
を読み取る時間が1.6msecである。また、欠陥セクタ
Dを含む第4の32Kbyte 分のデータについても同様の
シーク動作がされ、第4の32Kbyte 分のデータのホス
トコンピュータ11への転送だけがディスク1からのデ
ータ読取後に行なわれるので、ダブルバッファリング方
式でディスク1の欠陥セクタがある領域から128Kbyt
e 分のデータを読み取ってホストコンピュータ11に転
送するために必要な時間は合計469.2msecである。
Thereafter, the seek time for moving from the replacement area to the starting point for reading the third 32 Kbytes of data in the basic data area is 50 msec. During this seek time, the second 32 Kbytes of data held in the buffer RAM 7 are transferred to the host computer 11 by executing step S30, but the operation time is 16 msec, which is shorter than the seek time. After the seek operation to the basic data area is completed, the control circuit 8 executes step S31 to read the third 32 Kbytes of data including the defective sectors B and C from the disk 1 and store the data in the buffer RAM 7 in 50 msec. Yes, the seek time to the replacement area is 50 msec by executing step S8 again, and the time to read data of the replacement sectors B ′ and C ′ corresponding to the two defective sectors B and C is 1.6 msec. The same seek operation is performed for the fourth 32 Kbytes of data including the defective sector D, and only the transfer of the fourth 32 Kbytes of data to the host computer 11 is performed after the data is read from the disk 1. 128Kbyt from the area where the defective sector of the disk 1 exists by the double buffering
The total time required to read e minutes of data and transfer it to the host computer 11 is 469.2 msec.

【0026】次に、リングバッファリング方式の動作に
おいて、図7に示すように制御回路8はステップS42
にて読み取ったセクタに欠陥セクタがあったか否かを判
別する。欠陥セクタがある場合には読取動作を停止させ
(ステップS46)、バッファRAM7に保持された1
セクタ分のデータのホストコンピュータ11への転送を
指令し(ステップS47)、ピックアップ4の情報読取
点を交代領域に移動させた後、欠陥セクタに対応する交
代セクタのデータを読み取らせてバッファRAM7に保
持させる(ステップS48)。ステップS48の実行
後、指定セクタ数だけのデータが読み取られたか否かを
判別する(ステップS49)。指定セクタ数だけのデー
タが読み取られていない場合にはバッファRAM7に新
たに保持されたデータのホストコンピュータ11への転
送を指令すると共に次に読み取るべきセクタの始点へ移
動させる(ステップS50)。次いで、ディスク1から
の残りのデータ読取動作を開始させ(ステップS5
1)、ステップS42に戻る。
Next, in the operation of the ring buffering system, as shown in FIG.
It is determined whether or not the read sector has a defective sector. If there is a defective sector, the reading operation is stopped (step S46), and the 1
A command to transfer the data of the sector to the host computer 11 is issued (step S47), the information reading point of the pickup 4 is moved to the replacement area, and then the data of the replacement sector corresponding to the defective sector is read and stored in the buffer RAM 7. It is held (step S48). After the execution of step S48, it is determined whether or not data of the specified number of sectors has been read (step S49). If the data of the specified number of sectors has not been read, the transfer of the data newly held in the buffer RAM 7 to the host computer 11 is commanded, and the data is moved to the start point of the next sector to be read (step S50). Next, the operation of reading the remaining data from the disk 1 is started (step S5).
1) Return to step S42.

【0027】ステップS49において指定セクタ数だけ
のデータが読み取られているとき、すなわち、ディスク
1から256セクタ分のデータを読み取ったと判別され
たときにはステップS43に移行する。よって、リング
バッファリング方式においては、図12に示すように制
御回路8のステップS41の実行により先ず、ディスク
1から欠陥セクタがない領域の56Kbyte 分のデータを
連続的に読み取ってバッファRAM7に保持させるの
で、その動作時間は87.5msecである。次のセクタは
欠陥セクタAであるので、ステップS46により読取が
停止される。バッファRAM7に1セクタ分のデータが
新たに保持される毎に、直ちにステップS44の実行に
よりバッファRAM7に保持された1セクタ分のデータ
がホストコンピュータ11に転送され、その1セクタ分
の転送動作時間が0.5msecである。読取の停止後はス
テップS47において欠陥セクタAより1セクタ前のセ
クタのデータがホストコンピュータ11に転送され、そ
の1セクタ分の転送動作時間が0.5msecである。
If it is determined in step S49 that data for the specified number of sectors has been read, that is, if it is determined that data for 256 sectors has been read from the disk 1, the process proceeds to step S43. Therefore, in the ring buffering method, as shown in FIG. 12, first, the control circuit 8 executes step S41 to continuously read 56 Kbytes of data in an area having no defective sector from the disk 1 and hold the data in the buffer RAM 7. Therefore, the operation time is 87.5 msec. Since the next sector is defective sector A, the reading is stopped in step S46. Every time data of one sector is newly stored in the buffer RAM 7, the data of one sector stored in the buffer RAM 7 is immediately transferred to the host computer 11 by executing step S44, and the transfer operation time of one sector is performed. Is 0.5 msec. After the reading is stopped, in step S47, the data of the sector one sector before the defective sector A is transferred to the host computer 11, and the transfer operation time for one sector is 0.5 msec.

【0028】次いで、ステップS48の実行により交代
領域へのシーク時間が50msecであり、欠陥セクタAに
対応する交代セクタA´のデータを読み取る時間が0.
8msecである。その後、ステップS50の実行により交
代領域から基本データ領域の欠陥セクタAの次のセクタ
の始点まで移動するシーク時間が50msecである。基本
データ領域の欠陥セクタAの次のセクタの始点に戻る
と、ステップS51の実行により欠陥セクタB直前のセ
クタまでの15.5Kbyte 分のデータを連続的に読み取
ってバッファRAM7に保持させるので、その動作時間
は24.2msecである。そして、ステップS47,S4
8,S50の動作により欠陥セクタBに対する交代セク
タB´の読取に101.3msecが掛かる。
Next, by executing step S48, the seek time to the replacement area is 50 msec, and the time to read the data of the replacement sector A 'corresponding to the defective sector A is 0.
8 msec. Thereafter, the seek time for moving from the replacement area to the start point of the sector next to the defective sector A in the basic data area by executing step S50 is 50 msec. When returning to the start point of the sector next to the defective sector A in the basic data area, by executing step S51, the data of 15.5 Kbytes up to the sector immediately before the defective sector B is continuously read and stored in the buffer RAM 7. The operation time is 24.2 msec. Then, steps S47 and S4
8. It takes 101.3 msec to read the replacement sector B 'for the defective sector B by the operations of S50.

【0029】欠陥セクタC,Dに対しても上記と同様の
動作をするので、リングバッファリング方式でディスク
1の欠陥セクタがある領域から128Kbyte 分のデータ
を読み取ってホストコンピュータ11に転送するために
必要な時間は合計603msecである。
Since the same operation as described above is performed for defective sectors C and D, 128 Kbytes of data is read from the area where the defective sector of the disk 1 is located by the ring buffering method and transferred to the host computer 11. The required time is a total of 603 msec.

【0030】[0030]

【発明が解決しようとする課題】このように、ディスク
の転送すべき基本データ領域内のセクタに欠陥セクタが
存在すると、リングバッファリング方式では1欠陥セク
タ毎にそれに対応する交代セクタにピックアップ4の情
報読取点を移動させるシーク動作を行なうので、反って
シングルバッファリング方式やダブルバッファリング方
式よりもデータ転送のために多く時間が必要となるとい
う欠点がある。
As described above, if a defective sector exists in a sector in the basic data area of the disk to be transferred, in the ring buffering system, the pickup 4 is transferred to a corresponding alternate sector for each defective sector. Since the seek operation for moving the information reading point is performed, there is a disadvantage that more time is required for data transfer than in the single buffering method or the double buffering method.

【0031】そこで、本発明の目的は、ディスクの転送
すべき基本データ領域内のセクタに欠陥セクタが存在し
ていても短時間でデータ転送を完了するバッファリング
方法を提供することである。
It is an object of the present invention to provide a buffering method for completing data transfer in a short time even if a defective sector exists in a sector in a basic data area of a disk to be transferred.

【0032】[0032]

【課題を解決するための手段】本発明のバッファリング
方法は、データがセクタ単位で記録された基本データ領
域と、基本データ領域の欠陥セクタに記録すべきデータ
が記録された交代領域と、基本データ領域及び交代領域
の各セクタ間の対応関係を示す交代情報が記録されたマ
ップ領域とを有するディスクから読み取ったデータをバ
ッファメモリを介して連続的なデータとして外部装置に
転送するためのバッファリング方法であって、データ転
送の際に交代情報を読み取り、その読み取った交代情報
に基づいて複数の互いに異なる所定のバッファリング方
式のうちの1のバッファリング方式を選択的に用いるこ
とを特徴としている。
A buffering method according to the present invention comprises: a basic data area in which data is recorded in sector units; a replacement area in which data to be recorded in a defective sector of the basic data area is recorded; Buffering for transferring data read from a disk having a data area and a map area in which replacement information indicating the correspondence between sectors of the replacement area is recorded as continuous data to an external device via a buffer memory The method is characterized in that replacement information is read at the time of data transfer, and one of a plurality of different predetermined buffering methods is selectively used based on the read replacement information. .

【0033】[0033]

【実施例】以下、本発明の実施例を図面を参照しつつ詳
細に説明する。本発明によるバッファリング方法は図1
に示したディスクドライブ装置に適用される。次に、デ
ィスク1の基本データ領域のセクタアドレスSからセク
タアドレスEまでのデータをホストコンピュータ11に
転送する場合のバッファリング動作を制御回路8の動作
に従って説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 shows a buffering method according to the present invention.
This is applied to the disk drive shown in FIG. Next, the buffering operation when data from the sector address S to the sector address E in the basic data area of the disk 1 is transferred to the host computer 11 will be described according to the operation of the control circuit 8.

【0034】制御回路8は図13に示すように、先ず、
ディスク1のアドレスSからアドレスEまでの交代情報
をマップ領域のアドレス対応テーブルから読み取り(ス
テップS61)、ポインタPにアドレスSをセットする
(ステップS62)。次いで、ポインタPがアドレスE
に等しいか否かを判別する(ステップS63)。P≠E
の場合にはポインタPが示すアドレスからアドレスEま
でに欠陥セクタが存在するか否かを判別する(ステップ
S64)。
The control circuit 8, as shown in FIG.
The replacement information from the address S to the address E of the disk 1 is read from the address correspondence table in the map area (step S61), and the address S is set to the pointer P (step S62). Next, the pointer P moves to the address E
Is determined (step S63). P ≠ E
In this case, it is determined whether or not a defective sector exists from the address indicated by the pointer P to the address E (step S64).

【0035】ポインタPが示すアドレスからアドレスE
までに欠陥セクタがない場合にはポインタPが示すアド
レスからアドレスEまでの各セクタのデータをリングバ
ッファリング方式で転送する(ステップS65)。この
リングバッファリング方式のデータ転送は図7に示した
動作の実行により得られる。この場合、ステップS45
では指定セクタ数がE−S+1であるとして判別すれば
良い。ステップS65の実行後、ポインタPを転送した
セクタアドレス数分だけ増加させ(ステップS66)、
ステップS63に移行する。ステップS65の実行後に
ステップS63を実行すると、P=Eとなるので、本ル
ーチンを終了する。
From the address indicated by the pointer P to the address E
If there is no defective sector before, the data of each sector from the address indicated by the pointer P to the address E is transferred by the ring buffering method (step S65). The data transfer of the ring buffering method is obtained by executing the operation shown in FIG. In this case, step S45
Then, it may be determined that the designated sector number is E−S + 1. After the execution of step S65, the pointer P is increased by the number of transferred sector addresses (step S66).
Move to step S63. When step S63 is executed after execution of step S65, P = E, so this routine ends.

【0036】ステップS64においてポインタPが示す
アドレスからアドレスEまでに欠陥セクタが存在すると
判別した場合には制御回路8は図14に示すように、ポ
インタPが示すアドレスからバッファRAM7の容量分
のアドレスまでに欠陥セクタが存在するか否かを判別す
る(ステップS67)。ポインタPが示すアドレスから
バッファRAM7の容量分のアドレスまでに欠陥セクタ
がない場合にはポインタPが示すアドレスから欠陥セク
タが存在するセクタアドレスの直前のセクタアドレスま
でのセクタのデータをリングバッファリング方式で転送
する(ステップS68)。このリングバッファリング方
式のデータ転送もステップS65と同様に図7に示した
動作を実行すれば良い。制御回路8は交代情報をマップ
領域のアドレス対応テーブルから読み取っているので、
その欠陥セクタのアドレスをDとすると、ステップS4
5,S49では指定セクタ数がD−S+1あるとして判
別すれば良い。制御回路8はステップS68の実行後、
ステップS66の実行に移行する。
If it is determined in step S64 that there is a defective sector from the address indicated by the pointer P to the address E, the control circuit 8 determines from the address indicated by the pointer P the address corresponding to the capacity of the buffer RAM 7 as shown in FIG. It is determined whether or not there is a defective sector before (step S67). If there is no defective sector from the address indicated by the pointer P to the address corresponding to the capacity of the buffer RAM 7, the data of the sector from the address indicated by the pointer P to the sector address immediately before the sector address where the defective sector exists is stored in a ring buffering system. (Step S68). The data transfer of the ring buffering method may be performed by performing the operation shown in FIG. 7 as in step S65. Since the control circuit 8 reads the replacement information from the address correspondence table in the map area,
Assuming that the address of the defective sector is D, step S4
In S49, it may be determined that the designated sector number is DS + 1. After execution of step S68, the control circuit 8
The process moves to execution of step S66.

【0037】ステップS67においてポインタPが示す
アドレスからバッファRAM7の容量分のアドレスまで
に欠陥セクタが存在しないと判別した場合には、ポイン
タPが示すアドレスからバッファRAM7の容量分のア
ドレスまでの範囲に欠陥セクタが1セクタだけ存在する
か否かを判別する(ステップS69)。制御回路8はマ
ップ領域のアドレス対応テーブルからポインタPが示す
アドレスからバッファRAM7の容量分のアドレスまで
に欠陥セクタが1セクタだけ存在することを判別する
と、ポインタPが示すアドレスのセクタが欠陥セクタで
あるか否かを判別する(ステップS70)。ポインタP
が示すアドレスのセクタ、すなわち先頭のアドレスのセ
クタが欠陥セクタである場合には制御回路8はピックア
ップ4の情報読取点を交代領域に移動させた後、欠陥セ
クタに対応する交代セクタのデータを読み取らせてバッ
ファRAM7に保持させ(ステップS71)、その保持
されたデータをホストコンピュータ11へ転送させ(ス
テップS72)、その後、ステップS66に進む。
If it is determined in step S67 that there is no defective sector between the address indicated by the pointer P and the address corresponding to the capacity of the buffer RAM 7, the range from the address indicated by the pointer P to the address corresponding to the capacity of the buffer RAM 7 is set. It is determined whether only one defective sector exists (step S69). When the control circuit 8 determines that only one defective sector exists from the address indicated by the pointer P to the address corresponding to the capacity of the buffer RAM 7 from the address correspondence table in the map area, the sector at the address indicated by the pointer P is a defective sector. It is determined whether or not there is (step S70). Pointer P
In the case where the sector of the address indicated by, that is, the sector of the first address is a defective sector, the control circuit 8 moves the information reading point of the pickup 4 to the replacement area, and then reads the data of the replacement sector corresponding to the defective sector. Then, the data is stored in the buffer RAM 7 (step S71), and the stored data is transferred to the host computer 11 (step S72). Thereafter, the process proceeds to step S66.

【0038】ステップS70においてポインタPが示す
アドレスのセクタが欠陥セクタでない場合にはポインタ
Pが示すアドレスからアドレスEまでのデータ容量はバ
ッファRAM7の容量以内か否かを判別する(ステップ
S73)。ポインタPが示すアドレスからアドレスEま
での容量はセクタ数から得られるので、バッファRAM
7の容量との判別をすることができる。ポインタPが示
すアドレスからアドレスEまでの容量がバッファRAM
7の容量より大であるときにはステップS68に進んで
ポインタPが示すアドレスから欠陥セクタが存在するセ
クタアドレスの直前のセクタアドレスまでをリングバッ
ファリング方式でデータ転送する。
If the sector at the address indicated by the pointer P is not a defective sector in step S70, it is determined whether the data capacity from the address indicated by the pointer P to the address E is within the capacity of the buffer RAM 7 (step S73). Since the capacity from the address indicated by the pointer P to the address E can be obtained from the number of sectors, the buffer RAM
7 can be determined. The capacity from the address indicated by the pointer P to the address E is the buffer RAM.
If the capacity is larger than 7, the process proceeds to step S68 to transfer data from the address indicated by the pointer P to the sector address immediately before the sector address where the defective sector exists, by the ring buffering method.

【0039】一方、ポインタPが示すアドレスからアド
レスEまでの容量がバッファRAM7の容量以内である
ときにはポインタPが示すアドレスからアドレスEまで
のセクタのデータをシングルバッファリング方式で転送
する(ステップS74)。このシングルバッファリング
方式のデータ転送は図3に示した動作の実行により得ら
れる。
On the other hand, when the capacity from the address indicated by the pointer P to the address E is within the capacity of the buffer RAM 7, the data of the sector from the address indicated by the pointer P to the address E is transferred by the single buffering method (step S74). . The data transfer of the single buffering method is obtained by executing the operation shown in FIG.

【0040】ステップS69においてポインタPが示す
アドレスからバッファRAM7の容量分のアドレスまで
の範囲に欠陥セクタが1セクタだけ存在するのではない
と判別すると、その範囲に欠陥セクタが2以上ある訳で
あるので、ポインタPが示すアドレスからアドレスEま
での容量はバッファRAM7の容量以内か否かを判別す
る(ステップS75)。この動作はステップS73と同
様である。ポインタPが示すアドレスからアドレスEま
での容量がバッファRAM7の容量より大であるときに
はポインタPが示すアドレスからバッファRAM7の容
量分のアドレスまでのセクタのデータをシングルバッフ
ァリング方式で転送する(ステップS76)。このシン
グルバッファリング方式のデータ転送も図3に示した動
作の実行により得られる。ポインタPが示すアドレスか
らアドレスEまでの容量がバッファRAM7の容量以内
であるときにはステップS74に進んでポインタPが示
すアドレスからアドレスEまでのセクタのデータをシン
グルバッファリング方式で転送する。制御回路8はステ
ップS74又はS76の実行後、ステップS66の実行
に進む。
If it is determined in step S69 that only one defective sector exists in the range from the address indicated by the pointer P to the address corresponding to the capacity of the buffer RAM 7, there are two or more defective sectors in that range. Therefore, it is determined whether or not the capacity from the address indicated by the pointer P to the address E is within the capacity of the buffer RAM 7 (step S75). This operation is the same as step S73. If the capacity from the address indicated by the pointer P to the address E is larger than the capacity of the buffer RAM 7, the data of the sector from the address indicated by the pointer P to the address corresponding to the capacity of the buffer RAM 7 is transferred by the single buffering method (step S76). ). The data transfer of the single buffering system is also obtained by executing the operation shown in FIG. If the capacity from the address indicated by the pointer P to the address E is within the capacity of the buffer RAM 7, the process proceeds to step S74 to transfer the data of the sector from the address indicated by the pointer P to the address E by the single buffering method. After execution of step S74 or S76, the control circuit 8 proceeds to execution of step S66.

【0041】かかる本発明によるバッファリング方法に
よれば、基本データ領域のデータ転送すべき256セク
タ(128Kbyte )において図9に示した如く4つの欠
陥セクタA〜Dが16Kbyte 毎に1つずつ存在する場合
には、欠陥セクタAは第113セクタにあり、バッファ
RAM7の容量(128セクタ)以内に存在し、第1セ
クタから第112セクタまでの56Kbyte には欠陥セク
タはないので、ステップS68が実行される。これによ
り、図15に示すようにディスク1から第1セクタから
第112セクタまでの56Kbyte 分のデータが連続的に
読み取られてバッファRAM7に保持されるので、その
動作時間は87.5msecである。次の第113セクタは
欠陥セクタAであるので、ステップS46により読取が
停止される。読取の停止後はステップS47において欠
陥セクタAより1セクタ前の第112セクタのデータが
ホストコンピュータ11に転送され、その1セクタ分の
転送動作時間が0.5msecである。また、ステップS4
6による読取停止のためディスク1が少なくとも1回転
する期間(25msec)において次の第113セクタがピ
ックアップ4の情報読取点とならない。
According to the buffering method according to the present invention, as shown in FIG. 9, four defective sectors A to D exist in 256 sectors (128 Kbytes) of the basic data area to be transferred, one for every 16 Kbytes. In this case, since the defective sector A is in the 113th sector and exists within the capacity (128 sectors) of the buffer RAM 7 and there is no defective sector in 56 Kbytes from the first sector to the 112nd sector, step S68 is executed. You. As a result, as shown in FIG. 15, 56 Kbytes of data from the first sector to the 112th sector are continuously read from the disk 1 and stored in the buffer RAM 7, so that the operation time is 87.5 msec. Since the next 113th sector is defective sector A, the reading is stopped in step S46. After the reading is stopped, the data of the 112th sector one sector before the defective sector A is transferred to the host computer 11 in step S47, and the transfer operation time for one sector is 0.5 msec. Step S4
During the period (25 msec) during which the disk 1 makes at least one rotation due to the stop of reading by No. 6, the next 113rd sector does not become the information reading point of the pickup 4.

【0042】次に、ステップS66の実行により、ポイ
ンタPは欠陥セクタの第113セクタを示す。このポイ
ンタPが示す第113セクタからバッファRAM7の容
量分の第240セクタまでに欠陥セクタがA〜Dの4つ
存在するので、ステップS76の実行により第113セ
クタから第240セクタまでがシングルバッファリング
方式でデータ転送される。よって、ステップS1の実行
によりディスク1の第113セクタから第240セクタ
まで64Kbyte 分のデータが読み取られてバッファRA
M7に保持される動作時間が100msecである。それに
続いてステップS8の実行により交代領域をシークする
時間が50msecであり、欠陥セクタA〜Dに対応する交
代セクタA´〜D´のデータを読み取る時間が3.1ms
ecである。その後、交代領域から基本データ領域の次の
64Kbyte のデータ読取のための始点までに移動するシ
ーク時間が50msecである。このシーク時間においてス
テップS10の実行によりバッファRAM7に保持され
た64Kbyte 分のデータがホストコンピュータ11に転
送される。
Next, by executing step S66, the pointer P indicates the 113th sector of the defective sector. Since there are four defective sectors A to D from the 113th sector indicated by the pointer P to the 240th sector corresponding to the capacity of the buffer RAM 7, single buffering is performed for the 113th to 240th sectors by executing step S76. The data is transferred by the method. Therefore, by executing step S1, 64 Kbytes of data from sector 113 to sector 240 of disk 1 are read and buffer RA is read.
The operation time held in M7 is 100 msec. Subsequently, the time for seeking the replacement area by executing step S8 is 50 msec, and the time for reading the data of the replacement sectors A ′ to D ′ corresponding to the defective sectors A to D is 3.1 ms.
ec. Thereafter, the seek time from the replacement area to the starting point for reading the next 64 Kbytes of data in the basic data area is 50 msec. During this seek time, the data of 64 Kbytes held in the buffer RAM 7 is transferred to the host computer 11 by executing step S10.

【0043】基本データ領域へのシーク動作の終了後、
ステップS66の実行により、ポインタPは欠陥セクタ
の第241セクタを示すので、その第241セクタから
アドレスEの第256セクタまでには欠陥セクタが存在
しないので、ステップS65が実行される。よって、リ
ングバッファリング方式でディスク1から第241セク
タから第256セクタまでの8Kbyte 分のデータを連続
的に読み取ってバッファRAM7に保持させるので、そ
の動作時間は12.5msecである。最後の第256セク
タのデータのホストコンピュータ11への転送だけがデ
ィスク1からのデータ読取後に行なわれ、その動作時間
は0.5msecである。従って、4つの欠陥セクタA〜D
が16Kbyte 毎に1つずつ存在する128Kbyte 分のデ
ータを読み取ってホストコンピュータ11に転送するた
めに必要な時間は合計328.6msecであり、図10〜
図12に示した従来の各単一方式だけの場合より短縮化
される。
After the seek operation to the basic data area is completed,
By executing step S66, the pointer P indicates the 241st sector of the defective sector. Since there is no defective sector from the 241st sector to the 256th sector of the address E, step S65 is executed. Therefore, since 8 Kbytes of data from the 241st sector to the 256th sector are continuously read from the disk 1 and stored in the buffer RAM 7 by the ring buffering method, the operation time is 12.5 msec. Only the transfer of the last 256 sector data to the host computer 11 is performed after reading the data from the disk 1, and the operation time is 0.5 msec. Therefore, four defective sectors A to D
The total time required to read 128 Kbytes of data, one for every 16 Kbytes, and transfer it to the host computer 11 is 328.6 msec.
This can be shortened compared to the conventional single system shown in FIG.

【0044】次に、ディスク1の基本データ領域の第1
セクタから第256セクタまでの128Kbyte 分のデー
タを読み取ってホストコンピュータ11に転送する場合
においてその範囲内に図16に示すように1つの欠陥セ
クタFが第161セクタに存在するときに本発明による
バッファリング方法の動作について説明する。制御回路
8はステップS68を実行してリングバッファリング方
式により図17に示すように第1セクタから第160セ
クタまでの80Kbyte 分のデータを連続的に読み取って
バッファRAM7に保持させ、その保持データが0.5
msec遅れでホストコンピュータ11に転送される。この
動作時間は125msec+0.5msecである。次いで、ス
テップS71の実行により交代領域へのシーク動作がさ
れるため50msecが必要であり、欠陥セクタFに対応す
る交代セクタF´のデータが読み取られ、それに0.8
msecが要される。その後、ステップS65の実行により
リングバッファリング方式によりピックアップ4の情報
読取点が交代領域から基本データ領域の欠陥セクタFの
次の第162セクタの始点まで移動するシーク動作が行
なわれ、そのシーク時間が50msecである。第162セ
クタから第256セクタまでの47.5Kbyte 分のデー
タを連続的に読み取ってバッファRAM7に保持させ、
その保持データが0.5msec遅れでホストコンピュータ
11に転送される。この動作時間は74.2msec+0.
5msecである。従って、1つの欠陥セクタFが存在する
128Kbyte 分のデータを読み取ってホストコンピュー
タ11に転送するために必要な時間は合計301msecで
ある。これはリングバッファリング方式の動作と全く同
様となる。
Next, the first data in the basic data area of the disk 1
When data of 128 Kbytes from the sector to the 256th sector is read and transferred to the host computer 11, when one defective sector F exists in the 161st sector as shown in FIG. The operation of the ring method will be described. The control circuit 8 executes step S68 to continuously read 80 Kbytes of data from the first sector to the 160th sector and store them in the buffer RAM 7 by the ring buffering method as shown in FIG. 0.5
The data is transferred to the host computer 11 with a delay of msec. This operation time is 125 msec + 0.5 msec. Next, since the seek operation to the replacement area is performed by executing step S71, 50 msec is required, and the data of the replacement sector F ′ corresponding to the defective sector F is read, and the data is read by 0.8 msec.
msec is required. Thereafter, by performing step S65, a seek operation is performed in which the information reading point of the pickup 4 moves from the replacement area to the start point of the 162nd sector next to the defective sector F in the basic data area by the ring buffering method. 50 msec. 47.5 Kbytes of data from the 162nd sector to the 256th sector are continuously read and held in the buffer RAM 7,
The held data is transferred to the host computer 11 with a delay of 0.5 msec. This operation time is 74.2 msec + 0.
5 msec. Therefore, the total time required to read 128 Kbytes of data in which one defective sector F exists and transfer the data to the host computer 11 is 301 msec in total. This is exactly the same as the operation of the ring buffering method.

【0045】図16に示した128Kbyte 分のデータを
シングルバッファリング方式によって転送する場合の動
作及び時間経過を図18に、ダブルバッファリング方式
によって転送する場合の動作及び時間経過を図19に示
す。ディスク1から読み取って転送するために必要な時
間はシングルバッファリング方式では合計332.8ms
ec、ダブルバッファリング方式では合計316.8msec
である。
FIG. 18 shows the operation and the lapse of time when the 128-Kbyte data shown in FIG. 16 is transferred by the single buffering method, and FIG. 19 shows the operation and the lapse of time when the data is transferred by the double buffering method. The time required to read and transfer data from the disk 1 is 332.8 ms in total in the single buffering method.
ec, total 316.8 msec for double buffering method
It is.

【0046】次いで、ディスク1の基本データ領域の第
1セクタから第128セクタまでの64Kbyte 分のデー
タを読み取ってホストコンピュータ11に転送する場合
においてその64Kbyte 分の範囲内に図20に示すよう
に1つの欠陥セクタGが第33セクタに存在するときに
本発明によるバッファリング方法の動作について説明す
る。
Next, when reading 64 Kbytes of data from the first sector to the 128th sector of the basic data area of the disk 1 and transferring the data to the host computer 11, one byte within the range of 64 Kbytes as shown in FIG. The operation of the buffering method according to the present invention when one defective sector G exists in the 33rd sector will be described.

【0047】制御回路8はステップS74を実行し、シ
ングルバッファリング方式により図21に示すように第
1セクタから第128セクタまでの64Kbyte 分のデー
タが読み取られ、その読取時間は100msecである。そ
れに続いて交代領域へのシーク動作がされ、そのシーク
時間が50msecである。欠陥セクタGに対応する交代セ
クタG´のデータが読み取られ、その読取時間が0.8
msecである。その後、バッファRAM7に保持された6
4Kbyte 分のデータがホストコンピュータ11に転送さ
れ、その転送動作時間が32msecである。従って、1つ
の欠陥セクタGが存在する64Kbyte 分のデータを読み
取ってホストコンピュータ11に転送するために必要な
時間は合計182.8msecである。これはシングルバッ
ファリング方式の動作と全く同様となる。
The control circuit 8 executes step S74 to read 64 Kbytes of data from the first sector to the 128th sector by the single buffering method as shown in FIG. 21, and the read time is 100 msec. Subsequently, a seek operation to the alternate area is performed, and the seek time is 50 msec. The data of the replacement sector G 'corresponding to the defective sector G is read, and the read time is 0.8
msec. After that, the 6 stored in the buffer RAM 7
4 Kbytes of data are transferred to the host computer 11, and the transfer operation time is 32 msec. Therefore, the total time required to read 64 Kbytes of data in which one defective sector G exists and transfer it to the host computer 11 is 182.8 msec in total. This is exactly the same as the operation of the single buffering method.

【0048】図20に示した64Kbyte 分のデータをダ
ブルバッファリング方式によって転送する場合の動作及
び時間経過を図22に、リングバッファリング方式によ
って転送する場合の動作及び時間経過を図23に示す。
ディスク1から読み取って転送するために必要な時間は
ダブルバッファリング方式では合計216.8msec、リ
ングバッファリング方式では合計201msecである。
FIG. 22 shows the operation and time lapse when transferring 64 Kbytes of data shown in FIG. 20 by the double buffering method, and FIG. 23 shows the operation and time lapse when the data is transferred by the ring buffering method.
The time required to read and transfer data from the disk 1 is 216.8 msec in total in the double buffering system and 201 msec in total in the ring buffering system.

【0049】なお、上記した実施例においては、シング
ルバッファリング方式とリングバッファリング方式とを
混合した方法を示したが、ダブルバッファリング方式と
リングバッファリング方式とを混合した方法でも良い。
この場合、図14に示したステップS74及びS76を
制御回路8がダブルバッファリング方式で行なうように
すれば良い。更に、シングルバッファリング方式及びダ
ブルバッファリング方式を混合した方法、或いはシング
ルバッファリング方式、ダブルバッファリング方式及び
リングバッファリング方式を混合した方法でも良いこと
は明らかである。
In the above-described embodiment, a method in which the single buffering method and the ring buffering method are mixed is described. However, a method in which the double buffering method and the ring buffering method are mixed may be used.
In this case, the steps S74 and S76 shown in FIG. 14 may be performed by the control circuit 8 using the double buffering method. Further, it is apparent that a method combining the single buffering method and the double buffering method or a method combining the single buffering method, the double buffering method and the ring buffering method may be used.

【0050】また、上記した実施例において、ディスク
1は1トラック当り32セクタに区分されかつ1セクタ
当り512byteのデータが記録され、バッファRAM7
の容量が64Kbyte であるが、これらの値に限定される
ものではない。更に、バッファRAM7の容量に応じて
シングルバッファリング方式及びダブルバッファリング
方式のいずれの方法を用いるか決定するようにしても良
い。
In the above embodiment, the disk 1 is divided into 32 sectors per track and 512 bytes of data are recorded per sector.
Is 64 Kbytes, but is not limited to these values. Further, it may be determined whether to use the single buffering method or the double buffering method according to the capacity of the buffer RAM 7.

【0051】[0051]

【発明の効果】以上の如く、本発明のバッファリング方
法においては、ディスクの交代領域から読み取った交代
情報に基づいて複数の互いに異なる所定のバッファリン
グ方式のうちの1のバッファリング方式を選択し、その
選択したバッファリング方式でデータを読み取って外部
装置に転送することが行なわれる。よって、ディスクの
転送すべき基本データ領域内のセクタに欠陥セクタが存
在している場合にその欠陥セクタの数や位置等の交代情
報に応じて適切なバッファリング方式を用いるようにし
たので、短時間でデータ転送を完了することができる。
As described above, in the buffering method of the present invention, one of a plurality of different predetermined buffering methods is selected based on the replacement information read from the replacement area of the disk. The data is read by the selected buffering method and transferred to an external device. Therefore, when a defective sector is present in a sector in the basic data area of the disk to be transferred, an appropriate buffering method is used according to replacement information such as the number and position of the defective sector. Data transfer can be completed in time.

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

【図1】本発明のバッファリング方法が適用されたディ
スクドライブ装置の概略的構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a schematic configuration of a disk drive device to which a buffering method of the present invention is applied.

【図2】ディスクの各領域の構成を示す図である。FIG. 2 is a diagram showing a configuration of each area of a disk.

【図3】シングルバッファリング方式の動作を示すフロ
ー図である。
FIG. 3 is a flowchart showing the operation of the single buffering method.

【図4】シングルバッファリング方式の動作タイミング
を示す図である。
FIG. 4 is a diagram showing operation timing of a single buffering method.

【図5】ダブルバッファリング方式の動作を示すフロー
図である。
FIG. 5 is a flowchart showing the operation of the double buffering method.

【図6】ダブルバッファリング方式の動作タイミングを
示す図である。
FIG. 6 is a diagram showing operation timing of the double buffering method.

【図7】リングバッファリング方式の動作を示すフロー
図である。
FIG. 7 is a flowchart showing the operation of the ring buffering method.

【図8】リングバッファリング方式の動作タイミングを
示す図である。
FIG. 8 is a diagram showing operation timing of the ring buffering method.

【図9】基本データ領域に4つの欠陥セクタが存在する
場合の位置を示す図である。
FIG. 9 is a diagram showing positions when four defective sectors exist in a basic data area.

【図10】シングルバッファリング方式の動作タイミン
グを示す図である。
FIG. 10 is a diagram showing operation timing of the single buffering method.

【図11】ダブルバッファリング方式の動作タイミング
を示す図である。
FIG. 11 is a diagram showing operation timing of the double buffering method.

【図12】リングバッファリング方式の動作タイミング
を示す図である。
FIG. 12 is a diagram showing operation timing of the ring buffering method.

【図13】本発明によるバッファリング方法を適用した
場合の制御回路の動作を示すフロー図である。
FIG. 13 is a flowchart showing the operation of the control circuit when the buffering method according to the present invention is applied.

【図14】図13の制御回路の動作の続き部分の動作を
示すフロー図である。
FIG. 14 is a flowchart showing an operation of a continuation of the operation of the control circuit in FIG. 13;

【図15】本発明によるバッファリング方法を適用した
場合の動作タイミングを示す図である。
FIG. 15 is a diagram showing operation timing when the buffering method according to the present invention is applied.

【図16】基本データ領域に1つの欠陥セクタが存在す
る場合の位置を示す図である。
FIG. 16 is a diagram showing a position when one defective sector exists in a basic data area.

【図17】本発明によるバッファリング方法を適用した
場合の動作タイミングを示す図である。
FIG. 17 is a diagram showing operation timing when the buffering method according to the present invention is applied.

【図18】シングルバッファリング方式の動作タイミン
グを示す図である。
FIG. 18 is a diagram showing operation timing of the single buffering method.

【図19】ダブルバッファリング方式の動作タイミング
を示す図である。
FIG. 19 is a diagram showing operation timing of the double buffering method.

【図20】基本データ領域に1つの欠陥セクタが存在す
る場合の位置を示す図である。
FIG. 20 is a diagram showing a position when one defective sector exists in a basic data area.

【図21】本発明によるバッファリング方法を適用した
場合の動作タイミングを示す図である。
FIG. 21 is a diagram showing operation timing when the buffering method according to the present invention is applied.

【図22】ダブルバッファリング方式の動作タイミング
を示す図である。
FIG. 22 is a diagram showing operation timing of the double buffering method.

【図23】リングバッファリング方式の動作タイミング
を示す図である。
FIG. 23 is a diagram showing operation timing of the ring buffering method.

【主要部分の符号の説明】[Explanation of Signs of Main Parts]

1 ディスク 2 ターンテーブル 3 スピンドルモータ 4 光ピックアップ 5 変調・復調回路 6 エラー訂正回路 7 バッファRAM 8 制御回路 9 ROM 10 入出力ポート 11 ホストコンピュータ Reference Signs List 1 disc 2 turntable 3 spindle motor 4 optical pickup 5 modulation / demodulation circuit 6 error correction circuit 7 buffer RAM 8 control circuit 9 ROM 10 input / output port 11 host computer

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G11B 20/10 G06F 3/06 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G11B 20/10 G06F 3/06

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データがセクタ単位で記録された基本デ
ータ領域と、基本データ領域の欠陥セクタに記録すべき
データが記録された交代領域と、基本データ領域及び交
代領域の各セクタ間の対応関係を示す交代情報が記録さ
れたマップ領域とを有するディスクから読み取ったデー
タをバッファメモリを介して連続的なデータとして外部
装置に転送するためのバッファリング方法であって、デ
ータ転送の際に前記交代情報を読み取り、その読み取っ
た交代情報に基づいて複数の互いに異なる所定のバッフ
ァリング方式のうちの1のバッファリング方式を選択的
に用いることを特徴とするバッファリング方法。
1. A correspondence relationship between a basic data area in which data is recorded in sector units, a spare area in which data to be recorded in a defective sector of the basic data area is recorded, and each sector in the basic data area and the spare area. A buffering method for transferring data read from a disk having a map area in which replacement information indicating the replacement is recorded as continuous data to an external device via a buffer memory, wherein said replacement is performed during data transfer. A buffering method comprising: reading information; and selectively using one of a plurality of different predetermined buffering methods based on the read replacement information.
【請求項2】 前記複数の互いに異なる所定のバッファ
リング方式はシングルバッファリング方式とリングバッ
ファリング方式とであることを特徴とする請求項1記載
のバッファリング方法。
2. The buffering method according to claim 1, wherein the plurality of different predetermined buffering schemes are a single buffering scheme and a ring buffering scheme.
【請求項3】 前記複数の互いに異なる所定のバッファ
リング方式はダブルバッファリング方式とリングバッフ
ァリング方式とであることを特徴とする請求項1記載の
バッファリング方法。
3. The buffering method according to claim 1, wherein the plurality of different predetermined buffering methods are a double buffering method and a ring buffering method.
JP21048792A 1992-08-06 1992-08-06 Buffering method Expired - Fee Related JP3305365B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21048792A JP3305365B2 (en) 1992-08-06 1992-08-06 Buffering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21048792A JP3305365B2 (en) 1992-08-06 1992-08-06 Buffering method

Publications (2)

Publication Number Publication Date
JPH0660549A JPH0660549A (en) 1994-03-04
JP3305365B2 true JP3305365B2 (en) 2002-07-22

Family

ID=16590165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21048792A Expired - Fee Related JP3305365B2 (en) 1992-08-06 1992-08-06 Buffering method

Country Status (1)

Country Link
JP (1) JP3305365B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7561372B2 (en) 2005-09-06 2009-07-14 International Business Machines Corporation System and method for writing data to magnetic tape

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100614965B1 (en) * 2004-12-21 2006-08-25 엘지전자 주식회사 High Speed Buffering Method using Defect management for Optical Disc Drive

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7561372B2 (en) 2005-09-06 2009-07-14 International Business Machines Corporation System and method for writing data to magnetic tape

Also Published As

Publication number Publication date
JPH0660549A (en) 1994-03-04

Similar Documents

Publication Publication Date Title
JP2851977B2 (en) Playback device
US6873788B1 (en) Disk recording and/or reproducing apparatus
JPH02216672A (en) Optical disk drive device
US5257248A (en) Information recording apparatus capable of efficiently verifying recording information
US6661758B2 (en) High speed data recording and/or reproducing method and apparatus with increased sector access speed
EP0653699B1 (en) Apparatus and method for reproducing data from disc, and disc
JPH0916966A (en) Information recording method and recording and reproducing device
US5841598A (en) Information recording/reproducing apparatus and data processing method
JP3305365B2 (en) Buffering method
JPH0668598A (en) Device and method for data processing
JP3359717B2 (en) Information recording and playback method
JP2593721B2 (en) Information recording / reproducing device
JPS5928245A (en) Optical disk processor
JP2833667B2 (en) Information recording / reproducing device
JP3396408B2 (en) Optical disk drive
JPS6134773A (en) Information recording system
JPH0628779A (en) Method for recording and controlling data in disk device
JPS6325876A (en) Optical disk controller
JPS5814387A (en) Access system for magnetic disc
JP3337208B2 (en) Optical disk drive
JP2653505B2 (en) Optical disk drive
JPH04368681A (en) Off-track correction control system
JPH0594672A (en) Information recording and reproducing device
JPH10112037A (en) Pick moving method of disk type recording and reproducing device
JPH10106156A (en) Information recorder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080510

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080510

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110510

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees