JP2770917B2 - Information recording / reproducing device - Google Patents

Information recording / reproducing device

Info

Publication number
JP2770917B2
JP2770917B2 JP20109191A JP20109191A JP2770917B2 JP 2770917 B2 JP2770917 B2 JP 2770917B2 JP 20109191 A JP20109191 A JP 20109191A JP 20109191 A JP20109191 A JP 20109191A JP 2770917 B2 JP2770917 B2 JP 2770917B2
Authority
JP
Japan
Prior art keywords
sector
information
replacement
information recording
read
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
JP20109191A
Other languages
Japanese (ja)
Other versions
JPH0528651A (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.)
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 JP20109191A priority Critical patent/JP2770917B2/en
Publication of JPH0528651A publication Critical patent/JPH0528651A/en
Application granted granted Critical
Publication of JP2770917B2 publication Critical patent/JP2770917B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

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 using an information recording medium on which information can be rewritten.

【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, as a remedy, it is general to prepare an alternative sector for replacing a defective sector in advance. It is. Therefore, when data cannot be normally written to the designated sector due to a defect, data is written to a prepared alternative sector, and a so-called replacement process is performed. In this case, every time the replacement process occurs, replacement management information that associates the defective sector with the replacement sector is registered in the memory of the controller in the device. The replacement management information is sorted in the order of occurrence of the replacement process. On the other hand, when a higher-level control device such as a host computer issues a read request to the information recording / reproducing device,
The controller determines whether there is a replaced sector within the required range of the recording medium by checking the replacement management information registered in the memory. Usually, the controller has a buffer memory in order to increase the transfer speed with the host computer. When a read request is issued, the controller continuously reads data as long as the size of the buffer memory permits. If there is a replaced sector within the requested range, read up to the immediately preceding sector and start transferring it to the host computer,
At the same time, the read head is sought to the substitute sector to read the substitute sector. When this is completed, seek is performed immediately after the replaced sector, and reading is started from the sector immediately after the seek. When information is reproduced in this manner, when there is a replaced sector within the requested range, the information is read by seeking to an alternative sector each time.

【0003】[0003]

【発明が解決しようとしている課題】上記従来の情報記
録再生装置では、読込み要求範囲内に交替されたセクタ
があった場合、次のようなセクタ数を算出して連続読込
みの可能なセクタ数を計算していた。 (1)読込要求の開始セクタから要求範囲内にある最初
の交替セクタまでの長さ(セクタ数)。 (2)その交替セクタから次の交替セクタまでの長さ。 (3)最後の交替セクタから要求の最後のセクタまでの
長さ。
In the above-mentioned conventional information recording / reproducing apparatus, when there is a replaced sector in the read request range, the following number of sectors is calculated to determine the number of sectors that can be read continuously. I was calculating. (1) Length from the start sector of the read request to the first replacement sector within the request range (the number of sectors). (2) Length from the replacement sector to the next replacement sector. (3) Length from last replacement sector to last sector of request.

【0004】しかしながら、光磁気メディアのように膨
大な記憶容量を有する媒体を持つ記録装置では、そのア
ドレスも数バイトで表わさなければならない。従って、
上述の計算を行うには数バイトにまたがる加減算を施さ
なければならず、コントローラのCPUに多大な負担が
かかり、実行速度に悪影響を及ぼしていた。また、上記
(1)と(3)の計算は1つの読込要求に対して1度の
計算でよいが、(2)の計算は要求範囲内の交替セクタ
数と同じ回数だけ必要である。従って、読込要求が長け
ればそれだけ交替セクタの数も多くなり、計算の回数も
増えるので、CPUの負担もそれに応じて増加する結果
となっていた。
However, in a recording apparatus having a medium having a huge storage capacity such as a magneto-optical medium, its address must be expressed by several bytes. Therefore,
In order to perform the above calculation, addition and subtraction over several bytes must be performed, which places a heavy burden on the CPU of the controller and adversely affects the execution speed. The calculations in (1) and (3) may be performed only once for one read request, but the calculation in (2) is required as many times as the number of replacement sectors in the requested range. Therefore, the longer the read request, the greater the number of replacement sectors and the number of calculations, which results in a corresponding increase in the load on the CPU.

【0005】本発明は、このような問題点を解消するた
めになされたもので、その目的は情報読込時のアドレス
計算によるコントローラの負担を軽減し、情報読込速度
を高速化するようにした情報記録再生装置を提供するこ
とにある。
SUMMARY OF THE INVENTION The present invention has been made to solve such a problem, and an object of the present invention is to reduce the load on the controller due to the address calculation at the time of reading information and to increase the information reading speed. An object of the present invention is to provide a recording and reproducing device.

【0006】[0006]

【課題を解決するための手段】本発明のこのような目的
は、情報記録媒体に代替セクタ領域を用意し、前記記録
媒体に欠陥セクタが生じたときに、該欠陥セクタを用意
された代替セクタと交替するようにした情報記録再生装
置において、各々の欠陥セクタ毎に、予め次の欠陥セク
タまでのセクタ長を計算してメモリに記憶し、情報の読
込時に該メモリの情報に従って情報読込動作を制御する
ことを特徴とする情報記録再生装置によって達成され
る。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an information recording medium with a spare sector area, and when a defective sector occurs on the recording medium, replace the defective sector with the spare sector. In the information recording / reproducing apparatus, the sector length up to the next defective sector is calculated in advance for each defective sector and stored in the memory, and the information reading operation is performed according to the information in the memory when reading the information. This is achieved by an information recording / reproducing device characterized by controlling.

【0007】[0007]

【実施例】以下、本発明の実施例について、図面を参照
して詳細に説明する。図1は本発明の情報記録再生装置
の一実施例を示したブロック図である。図1において、
10は情報記録再生装置、11は上位制御装置であると
ころのホストコンピュータである。情報記録再生装置1
0はホストコンピュータ11に接続され、情報の記録あ
るいは再生はホストコンピュータ11の指示に基づいて
行われる。12はホストコンピュータ11とのインター
フェイスをとるSCSIアダプタ、13は情報記録再生
装置10の総括的な制御を行うMPU、14は制御プロ
グラムなどが格納されたROM、15はエラー訂正処理
を行うECC回路である。また、16はI/O制御部、
17は情報記録媒体として使用された光ディスク19に
情報を記録したり、あるいは記録情報を再生するための
ディスクR/W部、18はホストコンピュータ11から
転送されたデータを一時的に記憶したり、ホストコンピ
ュータ11への再生データを一時的に記憶するためのバ
ッファRAMである。
Embodiments of the present invention will be described below 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 denotes an information recording / reproducing device, and reference numeral 11 denotes a host computer which is a host control device. Information recording / reproducing device 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 denotes a SCSI adapter for interfacing with the host computer 11, reference numeral 13 denotes an MPU for performing general control of the information recording / reproducing apparatus 10, reference numeral 14 denotes a ROM in which a control program and the like are stored, and reference numeral 15 denotes an ECC circuit for performing error correction processing. is there. 16 is an I / O 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 recorded information, and 18 temporarily stores data transferred from the host computer 11, This is a buffer RAM for temporarily storing reproduction data to the host computer 11.

【0008】MPU13はECC回路15によるベリフ
ァイエラー結果をもとに欠陥セクタの検出を行い、代替
セクタへの交替処理を制御する。交替処理が生じた場
合、その都度MPU13の内部メモリ内に交替管理情報
が登録される。本実施例では、交替管理情報として図2
に示すように、交替セクタ(欠陥の生じたセクタ)アド
レスと代替セクタアドレスに加えて、次の交替セクタま
での長さ(セクタ数)が登録されている。交替管理情報
は、図3に示すようにメモリ内に交替セクタのアドレス
順にソートして展開されている。
The MPU 13 detects a defective sector on the basis of the result of the verify error by the ECC circuit 15 and controls the process of replacing the defective sector. Whenever the replacement process occurs, the replacement management information is registered in the internal memory of the MPU 13 each time. In the present embodiment, the replacement management information shown in FIG.
As shown in (1), the length (the number of sectors) up to the next replacement sector is registered in addition to the replacement sector (defective sector) address and the replacement sector address. The replacement management information is expanded in the memory in the order of addresses of replacement sectors as shown in FIG.

【0009】次に、上記情報記録再生装置において、ホ
ストコンピュータ11から読込みが要求されたときの動
作について図4を参照して説明する。なお、ホストコン
ピュータ11は読込開始位置をST、読込セクタ数をL
として読込を要求したものとする。図4において、ホス
トコンピュータ11から読込要求が送信されると、まず
MPU13はその内部メモリに登録された交替管理情報
を検索する(S1)。この交替管理情報の検索に際して
は、要求範囲内のセクタに交替セクタがあるかどうかを
チェックし、図3に示すようにポインタPTによって交
替のあったセクタの交替管理情報を指し示す。図3では
2つのセクタが交替され、従って2つのポインタPT
1,PT2によって交替セクタの交替管理情報が指示さ
れている。次いで、MPU13は交替管理情報の検索結
果に基づいて、読込要求範囲内に交替セクタがあるかど
うかを判断し(S2)、もし交替セクタがなければ要求
の開始アドレスSTから要求セクタ数Lを連続して読込
み(S3)、その再生データをホストコンピュータ11
に転送して処理を終了する。
Next, the operation of the information recording / reproducing apparatus when reading is requested from the host computer 11 will be described with reference to FIG. The host computer 11 sets the read start position to ST, and sets the number of read sectors to L.
It is assumed that reading has been requested. In FIG. 4, when a read request is transmitted from the host computer 11, the MPU 13 first searches for replacement management information registered in its internal memory (S1). In searching for the replacement management information, it is checked whether or not there is a replacement sector among the sectors within the request range, and the replacement management information of the replaced sector is indicated by the pointer PT as shown in FIG. In FIG. 3, two sectors are replaced, and therefore two pointers PT
1 and PT2 indicate replacement management information of the replacement sector. Next, the MPU 13 determines whether or not there is a replacement sector within the read request range based on the search result of the replacement management information (S2). If there is no replacement sector, the MPU 13 continues the request sector number L from the start address ST of the request. And read the data (S3).
And the process ends.

【0010】一方、読込要求範囲内に交替セクタがあっ
た場合は、読込開始のセクタから交替セクタの直前のセ
クタまでを連続して読込み、この読込んだセクタ数を要
求読込セクタ数から減じる(S4)。その後、ポインタ
PT1で指示された代替セクタにシークして代替セクタ
を読込み、要求セクタ数から1セクタを減じる(S
5)。次に、読込要求セクタ数とポインタPT1で指示
された交替管理情報に記録されている次の交替セクタま
でのセクタ数とを比較し(S6)、もしここで要求セク
タ数が次の交替セクタまでのセクタ数よりも少なけれ
ば、ポインタPT1で示される交替セクタの直後のセク
タから要求セクタ数を連続して読込み(S7)処理を終
了する。また、要求セクタ数が次の交替セクタまでのセ
クタ数よりも多ければ、ポインタPT1で示される交替
セクタの直後のセクタから次の交替セクタの直前まで連
続して読込み、要求セクタ数からその分を減じる(S
8)。この場合、次の交替セクタまでのセクタ数は、前
述したように交替管理情報に含まれているので、MPU
13はこの情報により連続して読込むセクタ数を指示す
る。次に、ポインタPT1をインクリメントし(S
9)、再びS5に戻って要求セクタが0になるまで前記
と同様の処理を実行する。なお、図3に示したように交
替セクタ数が2つであった場合は、次はポインタPT2
によって交替セクタの管理情報が指示される。
On the other hand, when there is a replacement sector within the read request range, the read sector is continuously read from the sector at the start of reading to the sector immediately before the replacement sector, and the number of read sectors is subtracted from the required number of read sectors ( S4). After that, seek to the alternative sector indicated by the pointer PT1 to read the alternative sector, and subtract one sector from the requested sector number (S
5). Next, the number of sectors requested to be read is compared with the number of sectors up to the next replacement sector recorded in the replacement management information pointed to by the pointer PT1 (S6). If the number of sectors is smaller than the number of sectors, the requested number of sectors is continuously read from the sector immediately after the replacement sector indicated by the pointer PT1, and the processing (S7) is completed. If the number of requested sectors is larger than the number of sectors up to the next replacement sector, data is read continuously from the sector immediately after the replacement sector indicated by the pointer PT1 to immediately before the next replacement sector. (S
8). In this case, the number of sectors up to the next replacement sector is included in the replacement management information as described above.
Reference numeral 13 indicates the number of sectors to be continuously read based on this information. Next, the pointer PT1 is incremented (S
9) Return to S5 again and execute the same processing as described above until the requested sector becomes 0. When the number of replacement sectors is two as shown in FIG. 3, the next is the pointer PT2.
Indicates the replacement sector management information.

【0011】また、他の実施例として、装置が立上がる
際に光ディスクに書込まれている全ての交替管理情報を
MPUのメモリに読込み、この交替管理情報から全ての
交替セクタについて次の交替セクタまでのセクタ長を計
算し、交替管理情報と同じ順序でテーブル化しておいて
もよい。従って、ホストコンピュータから読込要求があ
った場合は、テーブルに格納された情報により読込動作
を制御することにより前記実施例と同様に情報の読込時
に従来のように次の交替セクタまでのセクタ長を計算す
る必要がなく、コントローラの負担を軽減することがで
きる。
Further, as another embodiment, when the apparatus starts up, all the replacement management information written on the optical disk is read into the memory of the MPU, and the next replacement sector is read from the replacement management information for all the replacement sectors. May be calculated and tabulated in the same order as the replacement management information. Therefore, when there is a read request from the host computer, the read operation is controlled by the information stored in the table, so that the length of the sector up to the next replacement sector is conventionally determined at the time of reading the information as in the above-described embodiment. There is no need to calculate, and the load on the controller can be reduced.

【0012】[0012]

【発明の効果】以上説明したように本発明によれば、予
め情報の読込みに必要なセクタ長を計算し、交替管理情
報としてメモリに記憶しておくことにより、情報の読込
時のアドレス計算によるコントローラの負担を軽減で
き、読込動作を高速化できるという効果がある。
As described above, according to the present invention, the sector length required for reading information is calculated in advance and stored in the memory as replacement management information, so that the address calculation at the time of reading information is performed. There is an effect that the load on the controller can be reduced and the reading operation can be speeded up.

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

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

【図2】図1の実施例で用いられる交替管理情報を示し
た説明図である。
FIG. 2 is an explanatory diagram showing replacement management information used in the embodiment of FIG.

【図3】交替管理情報のメモリに展開された状態を示し
た説明図である。
FIG. 3 is an explanatory diagram showing a state in which replacement management information is expanded in a memory;

【図4】図1の実施例の情報読込時の動作を示したフロ
ーチャートである。
FIG. 4 is a flowchart showing an operation at the time of reading information in the embodiment of FIG. 1;

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

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

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 情報記録媒体に代替セクタ領域を用意
し、前記記録媒体に欠陥セクタが生じたときに、該欠陥
セクタを用意された代替セクタと交替するようにした情
報記録再生装置において、各々の欠陥セクタ毎に、予め
次の欠陥セクタまでのセクタ長を計算してメモリに記憶
し、情報の読込時に該メモリの情報に従って情報読込動
作を制御することを特徴とする情報記録再生装置。
1. An information recording / reproducing apparatus wherein an alternative sector area is prepared on an information recording medium, and when a defective sector occurs on the recording medium, the defective sector is replaced with the prepared alternative sector. An information recording / reproducing apparatus which calculates a sector length up to the next defective sector for each defective sector, stores the calculated length in a memory, and controls an information reading operation in accordance with information in the memory when reading information.
【請求項2】 セクタ長の計算は交替処理が発生する毎
に行われ、計算結果は交替管理情報としてメモリに記憶
されることを特徴とする請求項1の情報記録再生装置。
2. The information recording / reproducing apparatus according to claim 1, wherein the calculation of the sector length is performed every time a replacement process occurs, and the calculation result is stored in a memory as replacement management information.
【請求項3】 セクタ長の計算は装置が立上がる際に、
情報記録媒体に記録された交替管理情報に基づいて行わ
れ、計算結果は交替管理情報と同じ順序でメモリにテー
ブル化されることを特徴とする請求項1の情報記録再生
装置。
3. The calculation of the sector length is performed when the device starts up.
2. The information recording / reproducing apparatus according to claim 1, wherein the calculation is performed based on the replacement management information recorded on the information recording medium, and a calculation result is tabulated in a memory in the same order as the replacement management information.
JP20109191A 1991-07-17 1991-07-17 Information recording / reproducing device Expired - Fee Related JP2770917B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20109191A JP2770917B2 (en) 1991-07-17 1991-07-17 Information recording / reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20109191A JP2770917B2 (en) 1991-07-17 1991-07-17 Information recording / reproducing device

Publications (2)

Publication Number Publication Date
JPH0528651A JPH0528651A (en) 1993-02-05
JP2770917B2 true JP2770917B2 (en) 1998-07-02

Family

ID=16435249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20109191A Expired - Fee Related JP2770917B2 (en) 1991-07-17 1991-07-17 Information recording / reproducing device

Country Status (1)

Country Link
JP (1) JP2770917B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08255432A (en) * 1995-03-20 1996-10-01 Fujitsu Ltd Recording/reproducing apparatus and alternate processing method
JP3860967B2 (en) * 1998-02-02 2006-12-20 株式会社日立グローバルストレージテクノロジーズ Method for automatically changing leads and magnetic disk device using the same
KR100498459B1 (en) 2002-11-19 2005-07-01 삼성전자주식회사 Method for searching defect lint of hard disc drive
US7828490B2 (en) 2006-05-31 2010-11-09 Toshiba Tec Kabushiki Kaisha Printing apparatus including a cover holding a thermal head and a platen roller on a hinged frame

Also Published As

Publication number Publication date
JPH0528651A (en) 1993-02-05

Similar Documents

Publication Publication Date Title
JP2635023B2 (en) Label writing method for file data
KR900004758B1 (en) Mass storage disk drive deefective media handling
JP3175371B2 (en) Data storage format conversion method, conversion method thereof, access control device, and data access method
JP2770917B2 (en) Information recording / reproducing device
JP5605043B2 (en) Data copy device, data copy method, and storage device
JP2637594B2 (en) Information recording / reproducing device
JPH0644118A (en) File backup system
JPH09282108A (en) Disk device
JP4131953B2 (en) File control unit
JP3183253B2 (en) Dynamic capacity increase method and dynamic capacity increase method for disk device
JP3808654B2 (en) Recording / playback device
JP2023130038A (en) Disk array device, load distribution method, and load distribution program
JPH064225A (en) Disk controller prereading stand-by sector
JPH04111015A (en) Information recorder
JPH04341977A (en) Data reproducing control system
JPH0594672A (en) Information recording and reproducing device
JP2003186629A (en) Data copy system
JPH04111030A (en) Information recorder
JPH05289942A (en) Cache memory circuit
JPS62210555A (en) Disk cache control system
JPH0191375A (en) Magnetic disk controller
JP2001034536A (en) Disk drive and recording medium
JPH04205021A (en) Magnetic disk device
JPH0713701A (en) External storage
JPH0798941A (en) Recording and reproducing device using disk type recording medium

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees