JPH0594672A - Information recording and reproducing device - Google Patents

Information recording and reproducing device

Info

Publication number
JPH0594672A
JPH0594672A JP27637391A JP27637391A JPH0594672A JP H0594672 A JPH0594672 A JP H0594672A JP 27637391 A JP27637391 A JP 27637391A JP 27637391 A JP27637391 A JP 27637391A JP H0594672 A JPH0594672 A JP H0594672A
Authority
JP
Japan
Prior art keywords
data
sector
read
host computer
information recording
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
JP27637391A
Other languages
Japanese (ja)
Inventor
Nobuyuki Kojima
信之 小嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP27637391A priority Critical patent/JPH0594672A/en
Publication of JPH0594672A publication Critical patent/JPH0594672A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make a response speed to a host computer quick by giving a response to the host computer the highest priority and optimizing a read-in order such that seek numbers of a reproducing head become minimum. CONSTITUTION:The data from a head in a reading range of a recorded data of an information recording medium requested from the host computer 11 to give the highest priority to the transfer of the data to the host computer 11 to just before the first defective sector, is read out in a buffer RAM 18 and also the reading-in order between other data in the requesting range is optimized and the data is read out respectively at a correspondence position of the buffer RAM 18. Thus an execution speed reading in information is realized at a greatly higher speed and the response speed to the host computer is remarkably improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報の書換えが可能な
情報記録媒体を用いて情報の記録あるいは再生を行う情
報記録再生装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording / reproducing apparatus for recording or reproducing information by using an information recording medium capable of rewriting information.

【0002】[0002]

【従来の技術】従来、例えば光ディスクなどの情報記録
媒体はエラー率が比較的高いために、その救済策として
予め欠陥のあったセクタと交換するための代替セクタを
用意しておくのが一般的である。従って、欠陥のために
指示されたセクタに正常にデータの書込みができなかっ
た場合は、予め用意された代替セクタにデータが書込ま
れ、いわゆる交替処理が行われる。この場合、交替処理
が発生する毎に、欠陥セクタと代替セクタを関連づける
交替管理情報が装置内のコントローラのメモリに登録さ
れる。交替管理情報は交替処理の発生の順にソートされ
る。一方、ホストコンピュータなどの上位制御装置から
情報記録再生装置に対して読込み要求があった場合は、
コントローラは記録媒体の要求範囲内に交替されたセク
タがあるかどうかをメモリに登録された交替管理情報を
チェックすることで判断する。通常コントローラはホス
トコンピュータとの転送速度を高速化するため、バッフ
ァメモリを有しており、読込要求があるとバッファメモ
リのサイズに許される限り、連続して読込みを行う。要
求範囲内に交替されたセクタがあれば、その直前のセク
タまでを読込んでホストコンピュータに転送を開始し、
同時に再生ヘッドを代替セクタへシークして代替セクタ
の読込みを行う。これが、終了すると、再び交替された
セクタの直後にシークし、その直後のセクタから読込み
を開始する。このように情報を再生する場合、要求範囲
内に交替されたセクタがあると、その都度代替セクタに
シークして情報を読込んでいた。
2. Description of the Related Art Conventionally, since an information recording medium such as an optical disk has a relatively high error rate, it is common to prepare a substitute sector for replacing a defective sector in advance as a remedy. Is. Therefore, if the data cannot be normally written in the designated sector due to a defect, the data is written in a previously prepared alternative sector, and so-called replacement processing is performed. In this case, the replacement management information that associates the defective sector with the replacement sector is registered in the memory of the controller in the apparatus each time replacement processing occurs. The replacement management information is sorted in the order of occurrence of replacement processing. On the other hand, when a read request is issued to the information recording / reproducing apparatus from a higher-level control apparatus such as a host computer,
The controller determines whether or not there is a replaced sector within the required range of the recording medium by checking the replacement management information registered in the memory. Normally, the controller has a buffer memory in order to speed up the transfer speed with the host computer, and if there is a read request, the controller continuously reads data as long as the size of the buffer memory allows. If there is a replaced sector within the required range, read up to the sector immediately before that and start the transfer to the host computer.
At the same time, the read head is sought to the alternative sector to read the alternative sector. When this ends, seek is performed immediately after the sector that was replaced again, and reading is started from the sector immediately after that. In the case of reproducing information in this way, if there is a replaced sector within the requested range, the information is read by seeking to the alternative sector each time.

【0003】[0003]

【発明が解決しようとしている課題】しかしながら、上
記従来の情報記録再生装置では、データの読込みの途中
で欠陥セクタがあると、ホストコンピュータへのデータ
の転送を一時中断して代替セクタへシークし、またその
代替セクタの読込みの後、再度欠陥セクタの次のセクタ
にシークしなければならない。しかも、欠陥セクタに出
合う毎に2回のシーク動作が必要であるために、読込動
作の実行速度が遅くなり、ホストコンピュータに対する
応答速度が著しく遅くなるという問題があった。
However, in the above-mentioned conventional information recording / reproducing apparatus, if there is a defective sector during the reading of data, the transfer of data to the host computer is temporarily interrupted, and seek to an alternative sector is performed. Further, after reading the alternative sector, it is necessary to seek again to the sector next to the defective sector. Moreover, since the seek operation needs to be performed twice each time the defective sector is encountered, the execution speed of the read operation becomes slow and the response speed to the host computer becomes extremely slow.

【0004】本発明は、このような問題点を解消するた
めになされたもので、その目的はホストコンピュータへ
の応答を最優先し、かつ再生ヘッドのシーク回数が最小
となるよう読込要求範囲内の欠陥セクタの代替セクタの
データと他のデータとの読込順序を最適化することによ
り、ホストコンピュータに対する応答速度を大幅に改善
するようにした情報記録再生装置を提供することにあ
る。
The present invention has been made in order to solve such a problem, and its purpose is to give priority to the response to the host computer, and within the read request range so as to minimize the number of seeks of the reproducing head. It is an object of the present invention to provide an information recording / reproducing apparatus capable of significantly improving the response speed to the host computer by optimizing the reading order of the data of the alternative sector of the defective sector and other data.

【0005】[0005]

【課題を解決するための手段】本発明のこのような目的
は、上位制御装置に接続され、かつ該上位制御装置から
転送されたデータを一時記憶、あるいは上位制御装置に
転送する再生データを一時記憶するためのバッファメモ
リを備えた情報記録再生装置において、前記上位制御装
置に対するデータの転送を最も優先すべく、上位制御装
置から要求された情報記録媒体の記録デ−タの読込範囲
の先頭から最初の欠陥セクタの直前までのデータを前記
バッファメモリに読出し、また再生ヘッドのシーク回数
が最小となるように、読込要求範囲内にある欠陥セクタ
の代替セクタのデータと、読込要求範囲内の他のデータ
との読込順序を最適化してそれぞれ前記バッファメモリ
の対応位置に読出すことを特徴とする情報記録再生装置
によって達成される。
SUMMARY OF THE INVENTION An object of the present invention is to temporarily store data transferred from a host control device and transferred from the host control device, or to temporarily reproduce data to be transferred to the host control device. In an information recording / reproducing apparatus having a buffer memory for storing, in order to give the highest priority to data transfer to the upper control device, from the beginning of the read range of the recording data of the information recording medium requested by the upper control device. The data up to immediately before the first defective sector is read into the buffer memory, and the data of the alternative sector of the defective sector within the read request range and other data within the read request range are set so that the number of seeks of the read head is minimized. It is achieved by an information recording / reproducing apparatus characterized by optimizing a reading order with respect to the data of the .

【0006】[0006]

【実施例】以下、本発明の実施例について、図面を参照
して詳細に説明する。図1は本発明の情報記録再生装置
の一実施例を示したブロック図である。図1において、
10は情報記録再生装置、11は上位制御装置であると
ころのホストコンピュータである。情報記録再生装置1
0はホストコンピュータ11に接続され、情報の記録あ
るいは再生はホストコンピュータ11の指示に基づいて
行われる。12はホストコンピュータ11とのインター
フェイスをとるSCSIアダプタ、13は情報記録再生
装置10の総括的な制御を行うMPU、14は制御プロ
グラムなどが格納されたROM、15はエラー訂正処理
を行うECC回路である。また、16はI/0制御部、
17は情報記録媒体として使用された光ディスク19に
情報を記録したり、あるいは記録情報を再生するための
ディスクR/W部、18はホストコンピュータ11から
転送されたデータを一時的に記憶したり、ホストコンピ
ュータ11への再生データを一時的に記憶するためのバ
ッファRAMである。ディスクR/W部17は記録再生
用のヘッドを備えており、これが光ディスク19の半径
方向に移動することによって、光ディスク19の指示さ
れたアドレスに情報を記録したり、あるいは指示された
アドレスの情報を再生する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the information recording / reproducing apparatus of the present invention. In FIG.
Reference numeral 10 is an information recording / reproducing apparatus, and 11 is a host computer which is a host controller. Information recording / reproducing apparatus 1
0 is connected to the host computer 11, and recording or reproduction of information is performed based on an instruction from the host computer 11. Reference numeral 12 is a SCSI adapter that interfaces with the host computer 11, 13 is an MPU that performs overall control of the information recording / reproducing apparatus 10, 14 is a ROM that stores control programs, and 15 is an ECC circuit that performs error correction processing. is there. Further, 16 is an I / 0 control unit,
Reference numeral 17 denotes a disk R / W unit for recording information on an optical disk 19 used as an information recording medium or reproducing the recorded information, and 18 temporarily storing data transferred from the host computer 11, It is a buffer RAM for temporarily storing the reproduction data to the host computer 11. The disk R / W unit 17 is provided with a recording / reproducing head, which moves in the radial direction of the optical disk 19 to record information at an instructed address of the optical disk 19 or information of an instructed address. To play.

【0007】次に、本実施例の情報読込時の動作を説明
する。まず、ホストコンピュータ11で指示された読込
要求範囲に交替セクタがない場合は、MPU13はホス
トコンピュータ11により指示された先頭セクタから最
終セクタまでを連続して読込むようディスクR/W部1
7に指示する。MPU13は読込まれたデータをバッフ
ァRAM18に記憶させ、先頭セクタのデータがバッフ
ァRAM18に取込まれると、MPU13はホストコン
ピュータ11へ再生データの転送を開始する。また、読
込要求範囲に交替セクタが1つ存在した場合は、まずM
PU13は図2(a)に示すように、読込要求の先頭か
ら交替が発生している交替セクタBの前のセクタまでの
データ領域Aを連続して読込むよう制御し、読込んだデ
ータ領域Aのデータを図2(b)に示すように、バッフ
ァRAM18の先頭位置から読込み順に記憶させる。次
に、MPU13は交替の発生している交替セクタBのデ
ータを読まずに、その交替セクタBの次のセクタから読
込要求の最終セクタまでのデータ領域Cのデータを連続
して読出すよう制御し、読込まれたデータを図2(b)
に示すように、バッファRAM18の対応する領域に記
録させる。その後、MPU13はディスクR/W部17
を交替セクタBの交替先である代替セクタXへシークす
るよう制御し、読込まれた代替セクタXのデータをバッ
ファRAM18の対応領域へ記憶させる。なお、MPU
13はバッファRAM18の先頭位置にデータが記憶さ
れたところでホストコンピュータ11に再生データの転
送を開始する。
Next, the operation of reading information according to the present embodiment will be described. First, when there is no replacement sector in the read request range designated by the host computer 11, the MPU 13 continuously reads from the first sector to the last sector designated by the host computer 11 so that the disk R / W unit 1
Instruct 7. The MPU 13 stores the read data in the buffer RAM 18, and when the data of the first sector is taken into the buffer RAM 18, the MPU 13 starts the transfer of the reproduction data to the host computer 11. If there is one replacement sector in the read request range, first M
As shown in FIG. 2A, the PU 13 controls to continuously read the data area A from the beginning of the read request to the sector before the replacement sector B where the replacement has occurred, and the read data area A 2B, the data is stored in the reading order from the head position of the buffer RAM 18, as shown in FIG. Next, the MPU 13 controls to continuously read the data in the data area C from the sector next to the replacement sector B to the last sector of the read request without reading the data in the replacement sector B in which the replacement has occurred. Then, the read data is shown in FIG.
As shown in, the data is recorded in the corresponding area of the buffer RAM 18. After that, the MPU 13 sets the disc R / W unit 17
Is controlled to seek to the alternative sector X which is the replacement destination of the replacement sector B, and the read data of the replacement sector X is stored in the corresponding area of the buffer RAM 18. In addition, MPU
When the data is stored at the head position of the buffer RAM 18, the data 13 starts transferring the reproduction data to the host computer 11.

【0008】次に、読込要求範囲に複数の交替セクタが
存在した場合、まずMPU13は図3(a)に示すよう
に、読込要求の先頭から最初の交替セクタB1の前のセ
クタまでのデータ領域Aのデータを連続して読出すよう
指示し、図3(b)に示す如く読込んだデータをバッフ
ァRAM18の先頭から読出し順に記憶させる。また同
時に、MPU13はバッファRAM18の先頭に読込要
求の最初のデータが記憶されると、ホストコンピュータ
11に再生データの転送を開始する。次いで、MPU1
3は再生ヘッドを代替セクタ領域にシークし、交替セク
タB1,B2,B3の代替セクタX1,X2,X3のデ
ータを連続して読込むよう制御する。ここで読込まれた
データは、図3(b)に示す如くバッファRAM18の
対応する位置にそれぞれ記憶される。代替セクタの読込
みが終了すると、MPU13は再生ヘッドを最初の交替
セクタB1の次のセクタにシークし、このセクタからデ
ータ領域C,D,Eのデータを連続して読込むよう制御
する。このデータの読込みの途中に、交替セクタB2,
B3があるが、この交替セクタはスキップして読込むよ
うにする。このようにして読込まれたデータは、図3
(b)に示す如くバッファRAM18の対応位置へそれ
ぞれ記憶される。バッファRAM18に一時記憶された
データは、順次ホストコンピュータに転送され、読込要
求範囲の最後のデータを転送したところで全ての処理を
終了する。
Next, when there are a plurality of replacement sectors in the read request range, the MPU 13 first, as shown in FIG. 3A, the data area from the beginning of the read request to the sector before the first replacement sector B1. It is instructed to continuously read the data of A, and the read data is stored in the buffer RAM 18 in the order of reading from the beginning as shown in FIG. At the same time, when the first data of the read request is stored at the head of the buffer RAM 18, the MPU 13 starts transferring the reproduction data to the host computer 11. Then MPU1
Reference numeral 3 seeks the reproducing head to the alternative sector area, and controls so as to continuously read the data of the alternative sectors X1, X2 and X3 of the replacement sectors B1, B2 and B3. The data read here is stored in corresponding positions in the buffer RAM 18 as shown in FIG. When the reading of the alternative sector is completed, the MPU 13 seeks the read head to the sector next to the first replacement sector B1, and controls so as to continuously read the data of the data areas C, D and E from this sector. In the middle of reading this data, the replacement sector B2
Although there is B3, this replacement sector is skipped and read. The data read in this way is shown in FIG.
As shown in (b), they are stored in the corresponding positions of the buffer RAM 18, respectively. The data temporarily stored in the buffer RAM 18 is sequentially transferred to the host computer, and when the last data in the read request range is transferred, all the processing ends.

【0009】[0009]

【発明の効果】以上説明したように本発明によれば、上
位制御装置に対する応答を最優先し、かつ再生ヘッドの
シーク回数が最小となるよう読込順序を最適化すること
により情報の読込みの実行速度を大幅に高速化でき、上
位制御装置に対する応答速度を著しく改善できるという
効果がある。
As described above, according to the present invention, the reading of information is executed by giving the highest priority to the response to the host controller and optimizing the reading order so that the number of seeks of the reproducing head is minimized. There is an effect that the speed can be significantly increased and the response speed to the host control device can be significantly improved.

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

【図1】本発明の情報記録再生装置の一実施例を示した
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of an information recording / reproducing apparatus of the present invention.

【図2】読込要求範囲内に欠陥セクタが1つあるときの
記録エリアと代替エリア、及びこの記録エリアと代替セ
クタの代替セクタのデータをバッファRAMに記憶させ
た状態を示した説明図である。
FIG. 2 is an explanatory diagram showing a recording area and a replacement area when there is one defective sector within a read request range, and a state in which data of the replacement sector of the recording area and the replacement sector is stored in a buffer RAM. ..

【図3】読込要求範囲内に欠陥セクタが複数あるときの
記録エリアと代替エリア、及びこの記録エリアと代替エ
リアの代替セクタのデータをバッファRAMに記憶させ
た状態を示した説明図である。
FIG. 3 is an explanatory diagram showing a recording area and a replacement area when there are a plurality of defective sectors within a read request range, and a state in which data of a replacement sector of the recording area and the replacement area is stored in a buffer RAM.

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

10 情報記録再生装置 11 ホストコンピュータ 13 MPU 15 ECC回路 17 ディスクR/W部 18 バッファRAM 19 光ディスク 10 information recording / reproducing apparatus 11 host computer 13 MPU 15 ECC circuit 17 disk R / W section 18 buffer RAM 19 optical disk

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位制御装置に接続され、かつ該上位制
御装置から転送されたデータを一時記憶、あるいは上位
制御装置に転送する再生データを一時記憶するためのバ
ッファメモリを備えた情報記録再生装置において、前記
上位制御装置に対するデータの転送を最も優先すべく、
上位制御装置から要求された情報記録媒体の記録データ
読込範囲の先頭から最初の欠陥セクタの直前までのデー
タを前記バッファメモリに読出し、また再生ヘッドのシ
ーク回数が最小となるように、読込要求範囲内にある欠
陥セクタの代替セクタのデータと、読込要求範囲内の他
のデータとの読込順序を最適化してそれぞれ前記バッフ
ァメモリの対応位置に読出すことを特徴とする情報記録
再生装置。
1. An information recording / reproducing apparatus, which is connected to a higher-level control device and includes a buffer memory for temporarily storing data transferred from the higher-level control device or temporarily storing reproduction data transferred to the higher-level control device. In order to give the highest priority to the transfer of data to the host controller,
The read request range is read so that the data from the beginning of the record data read range of the information recording medium requested by the host controller to just before the first defective sector is read into the buffer memory, and the read head seek count is minimized. An information recording / reproducing apparatus characterized by optimizing the reading order of the data of the alternative sector of the defective sector and the other data within the read request range, and reading them to the corresponding positions of the buffer memory.
JP27637391A 1991-09-30 1991-09-30 Information recording and reproducing device Pending JPH0594672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27637391A JPH0594672A (en) 1991-09-30 1991-09-30 Information recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27637391A JPH0594672A (en) 1991-09-30 1991-09-30 Information recording and reproducing device

Publications (1)

Publication Number Publication Date
JPH0594672A true JPH0594672A (en) 1993-04-16

Family

ID=17568526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27637391A Pending JPH0594672A (en) 1991-09-30 1991-09-30 Information recording and reproducing device

Country Status (1)

Country Link
JP (1) JPH0594672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2396453A (en) * 2002-11-15 2004-06-23 Plasmon Lms Inc Relocation batch processing using a memory and defect management area in disk drives with grown defects

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2396453A (en) * 2002-11-15 2004-06-23 Plasmon Lms Inc Relocation batch processing using a memory and defect management area in disk drives with grown defects
US7200771B2 (en) 2002-11-15 2007-04-03 Plasmon Lms, Inc. Relocation batch processing for disk drives

Similar Documents

Publication Publication Date Title
JP4279515B2 (en) Recording / playback device
JPH0378649B2 (en)
JP2968181B2 (en) Disk device and data writing / reading method
JPH03142760A (en) Information recording and reproducing device
EP0437202B1 (en) Information recording/reproducing apparatus for recording information and verifying recorded information
JPH0594672A (en) Information recording and reproducing device
JPH0642300B2 (en) Alternate recording and playback method
JP2623238B2 (en) Information playback method
JPH0528651A (en) Information recorder and reproducer
JPH05210915A (en) Disk device
JPH0628779A (en) Method for recording and controlling data in disk device
JPS5898806A (en) Controlling system for rotary storage device
JP2852935B2 (en) Information playback device
JPH0668886B2 (en) Defect avoidance control method for magnetic disk
JP2595316B2 (en) Alternate assignment processing method
JPS63306567A (en) Rotary type storage device
EP1089276A2 (en) Method and apparatus for recording/reproducing image information on/from removable medium
JPH04341977A (en) Data reproducing control system
JP2503371B2 (en) Disk system
JP2725343B2 (en) Data recording device and method
JPH06349202A (en) Information recorder/reproducer
JPS6149229A (en) Information processor
JPH06290547A (en) High-speed data transferring method
JPH03273428A (en) Optical disk processor
JPS60234268A (en) Data processing method of magnetic disk