JPH0528651A - Information recorder and reproducer - Google Patents

Information recorder and reproducer

Info

Publication number
JPH0528651A
JPH0528651A JP20109191A JP20109191A JPH0528651A JP H0528651 A JPH0528651 A JP H0528651A JP 20109191 A JP20109191 A JP 20109191A JP 20109191 A JP20109191 A JP 20109191A JP H0528651 A JPH0528651 A JP H0528651A
Authority
JP
Japan
Prior art keywords
sector
information
replacement
memory
defective sector
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.)
Granted
Application number
JP20109191A
Other languages
Japanese (ja)
Other versions
JP2770917B2 (en
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 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

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

Abstract

PURPOSE:To reduce the burden of a controller due to address calculation at the time of reading information and to operate reading at high speed by previously calculating sector length to a next defective sector at every defective sector. CONSTITUTION:An optical disk 19 is provided with a substitution sector area and is constituted in such a way that the prepared substitution sector is substituted for the defective sector when the defective sector is generated in the optical disk. At this time, sector length to the next defective sector is previously calculated at every defective sector and is stored inside the memory of MPU 13. MPU 13 detects the defective sector based on verified error result by an ECC circuit 15 so as to process the substitution of the substitution sector. When a substitution processing is generated, MPU 13 controls the operation for reading information in accordance with the information inside the memory so that the burden of the controller is reduced and reading is operated at high speed.

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 an alternative sector for replacing a defective sector in advance as a remedy. Is. Therefore, when 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 every time the replacement process occurs. The replacement management information is sorted in the order of occurrence of replacement processing. On the other hand, if there is a read request from the host computer or other higher-level control device to the information recording / reproducing device,
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. Usually, 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 buffer memory size 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 seeks to the alternative sector to read the alternative sector. When this is completed, seek is performed immediately after the sector that has been replaced again, and reading is started from the sector immediately after that. When reproducing information in this way, if there is a sector that has been replaced within the required range, the information is read by seeking to the alternative sector each time.

【0003】[0003]

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

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

【0005】本発明は、このような問題点を解消するた
めになされたもので、その目的は情報読込時のアドレス
計算によるコントローラの負担を軽減し、情報読込速度
を高速化するようにした情報記録再生装置を提供するこ
とにある。
The present invention has been made in order to solve such a problem, and the purpose thereof 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. It is to provide a recording / reproducing apparatus.

【0006】[0006]

【課題を解決するための手段】本発明のこのような目的
は、情報記録媒体に代替セクタ領域を用意し、前記記録
媒体に欠陥セクタが生じたときに、該欠陥セクタを用意
された代替セクタと交替するようにした情報記録再生装
置において、各々の欠陥セクタ毎に、予め次の欠陥セク
タまでのセクタ長を計算してメモリに記憶し、情報の読
込時に該メモリの情報に従って情報読込動作を制御する
ことを特徴とする情報記録再生装置によって達成され
る。
An object of the present invention is to provide an alternative sector area on an information recording medium, and when a defective sector occurs on the recording medium, the alternative sector provided with the defective 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 when the information is read, the information reading operation is performed according to the information in the memory. 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 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. 16 is an I / O control unit,
Reference numeral 17 denotes a disk R / W unit for recording information on the optical disk 19 used as an information recording medium, or reproducing the recorded information, and 18 temporarily stores data transferred from the host computer 11, It is a buffer RAM for temporarily storing the reproduced data to the host computer 11.

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

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

【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, if there is a replacement sector within the read request range, the sectors from the start of reading to the sector immediately before the replacement sector are continuously read, and the number of read sectors is subtracted from the number of requested read sectors ( S4). After that, the alternative sector indicated by the pointer PT1 is sought to read the alternative sector, and one sector is subtracted from the requested sector number (S
5). Next, the number of read request sectors is compared with the number of sectors up to the next replacement sector recorded in the replacement management information designated by the pointer PT1 (S6). If the number is less than the number of sectors, the number of requested sectors is continuously read from the sector immediately after the replacement sector indicated by the pointer PT1 (S7), and the process is terminated. If the number of requested sectors is greater than the number of sectors up to the next replacement sector, the sectors immediately after the replacement sector indicated by the pointer PT1 to the position immediately before the next replacement sector are continuously read, and the required number of sectors is read from that number. Reduce (S
8). In this case, since the number of sectors up to the next replacement sector is included in the replacement management information as described above, the MPU
13 indicates the number of sectors to be read continuously by this information. Next, the pointer PT1 is incremented (S
9) Then, the process returns to S5 and the same process as described above is executed until the requested sector becomes 0. If the number of replacement sectors is two as shown in FIG. 3, the pointer PT2 is next.
Indicates the management information of the replacement sector.

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

【図面の簡単な説明】[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の実施例で用いられる交替管理情報を示し
た説明図である。
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.

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

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

Claims (3)

【特許請求の範囲】[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 characterized in that, for each defective sector, a sector length up to the next defective sector is calculated in advance and stored in a memory, and when reading information, the information reading operation is controlled according to the information in the memory.
【請求項2】 セクタ長の計算は交替処理が発生する毎
に行われ、計算結果は交替管理情報としてメモリに記憶
されることを特徴とする請求項1の情報記録再生装置。
2. The information recording / reproducing apparatus according to claim 1, wherein the calculation of the sector length is performed every time replacement processing occurs, and the calculation result is stored in the 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 information is reproduced based on the replacement management information recorded on the information recording medium, and the calculation result is tabulated in the 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 true JPH0528651A (en) 1993-02-05
JP2770917B2 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5764881A (en) * 1995-03-20 1998-06-09 Fujitsu Limited Read/write apparatus and alternation process method
WO1999039347A1 (en) * 1998-02-02 1999-08-05 Hitachi, Ltd. Automatic replacing method in reading and magnetic disc drive using the method
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5764881A (en) * 1995-03-20 1998-06-09 Fujitsu Limited Read/write apparatus and alternation process method
WO1999039347A1 (en) * 1998-02-02 1999-08-05 Hitachi, Ltd. Automatic replacing method in reading and magnetic disc drive using the method
KR100498459B1 (en) * 2002-11-19 2005-07-01 삼성전자주식회사 Method for searching defect lint of hard disc drive
US7155640B2 (en) 2002-11-19 2006-12-26 Samsung Electronics Co., Ltd. HDD defect list searching method
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
JP2770917B2 (en) 1998-07-02

Similar Documents

Publication Publication Date Title
US7149930B2 (en) Recording/reproducing apparatus
JPH10125006A (en) Signal recorder and signal recording method
JP2968181B2 (en) Disk device and data writing / reading method
JP2770917B2 (en) Information recording / reproducing device
JPH11306124A (en) Method and device for data transfer
JP2623238B2 (en) Information playback method
JPH0628779A (en) Method for recording and controlling data in disk device
JP2834081B2 (en) Magnetic disk controller
JP2001014219A (en) Method and device for controlling cache
JPH0594672A (en) Information recording and reproducing device
JPH04111015A (en) Information recorder
JP3183253B2 (en) Dynamic capacity increase method and dynamic capacity increase method for disk device
JPH04341977A (en) Data reproducing control system
JP3808654B2 (en) Recording / playback device
JPH04111030A (en) Information recorder
JPS6149229A (en) Information processor
JPH1011226A (en) Disk record reproduction system and its input/output controlling method
JP2003186629A (en) Data copy system
JP2001034536A (en) Disk drive and recording medium
JPH05289942A (en) Cache memory circuit
JPH0876940A (en) Method for controlling disk array
JPH0191375A (en) Magnetic disk controller
JPS62210555A (en) Disk cache control system
JPH04205021A (en) Magnetic disk device
JPH03160670A (en) Data reader

Legal Events

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