Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2597451B2 - Information recording and playback method - Google Patents
[go: Go Back, main page]

JP2597451B2 - Information recording and playback method - Google Patents

Information recording and playback method

Info

Publication number
JP2597451B2
JP2597451B2 JP5316893A JP5316893A JP2597451B2 JP 2597451 B2 JP2597451 B2 JP 2597451B2 JP 5316893 A JP5316893 A JP 5316893A JP 5316893 A JP5316893 A JP 5316893A JP 2597451 B2 JP2597451 B2 JP 2597451B2
Authority
JP
Japan
Prior art keywords
defect
address
information
recording
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.)
Expired - Fee Related
Application number
JP5316893A
Other languages
Japanese (ja)
Other versions
JPH06243472A (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 JP5316893A priority Critical patent/JP2597451B2/en
Priority to DE69424078T priority patent/DE69424078T2/en
Priority to EP94301185A priority patent/EP0612071B1/en
Priority to US08/200,013 priority patent/US5526335A/en
Publication of JPH06243472A publication Critical patent/JPH06243472A/en
Application granted granted Critical
Publication of JP2597451B2 publication Critical patent/JP2597451B2/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)
  • Optical Recording Or Reproduction (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、光カードなどの追記型
情報記録担体に情報を記録、再生する情報記録再生方
に関するものである。
The present invention relates to recording information on a write-once information recording medium such as an optical card, it relates to an information recording and reproducing how <br/> to play.

【0002】[0002]

【従来の技術】従来、追記型情報記録担体としては、光
学的に情報を記録する光ディスクや光カードが知られて
いる。こうした記録担体にデータを記録、再生する場
合、データをファイルごとに管理するのが一般的で、こ
のファイルデータを管理するには補助データ、いわゆる
ディレクトリが用いられる。ディレクトリ情報として
は、通常ファイル名、ファイル長、先頭トラックなどの
ファイル情報であり、記録担体の一部に書き込まれる。
ところで、記録担体の一部に欠陥が発生し、記録、再生
が不可能な領域が生じた場合、それを救済するために欠
陥領域の代わりの領域(以下、交替領域という)に再度
同じ情報を記録する交替処理が行われている。この情報
記録方法としては、例えば特開昭61−243994号
公報に提案されているように、欠陥情報をディレクトリ
情報に含めて記録する方法がある。
2. Description of the Related Art Hitherto, as write-once type information recording carriers, optical disks and optical cards for optically recording information have been known. When recording and reproducing data on such a record carrier, the data is generally managed for each file. To manage the file data, auxiliary data, that is, a directory is used. The directory information is usually file information such as a file name, a file length, and a first track, and is written on a part of the record carrier.
By the way, when a defect occurs in a part of the record carrier and an area in which recording and reproduction are impossible occurs, the same information is again written to an area instead of the defective area (hereinafter referred to as a replacement area) in order to rescue the area. A replacement process for recording is being performed. As this information recording method, there is a method of recording defect information included in directory information as proposed in, for example, Japanese Patent Application Laid-Open No. 61-243994.

【0003】しかしながら、上記情報記録方法では、1
つのファイル内に記録エラーの生じたトラックが多数あ
った場合に、1つのディレクトリに全てのエラートラッ
ク番号を記録できないことがあり、ファイルデータの管
理に支障をきたすという問題があった。
However, in the above information recording method, 1
When there are many tracks in which a recording error has occurred in one file, not all error track numbers can be recorded in one directory, which causes a problem in management of file data.

【0004】そこで、本願発明者は先に以上の問題点を
解決した情報記録再生方法を特願平4−83055号と
して出願した。以下、この情報記録再生方法について説
明する。まず、図10は上記情報記録再生方法に用いら
れる情報記録再生装置の構成例を示したブロック図であ
る。図10において、31は追記式光カード1を情報記
録媒体として情報に記録、再生を行う記録再生装置(以
下、ドライブと称する)である。このドライブ31は上
位制御装置であるホストコンピュータ32に接続され、
ホストコンピュータ32の指示に基づいて情報の記録、
再生を行う。37は不図示の搬送機構によって光カード
1をドライブ31内に導入し、所定のドライブにてR方
向に往復移動させ、更に該装置外へと排出するためのモ
ータである。38は光源を含む光ビーム照射光学系であ
り、これにより情報記録時および情報再生時には光カー
ド1上に光ビームスポットが走査される。39は光検出
器で、上記光カード1上の光ビームスポットの反射光を
受光する。
The inventor of the present invention has previously filed an application for an information recording / reproducing method which solves the above problems as Japanese Patent Application No. 4-83055. Hereinafter, this information recording / reproducing method will be described. First, FIG. 10 is a block diagram showing an example of the configuration of an information recording / reproducing device used in the information recording / reproducing method . In FIG. 10, reference numeral 31 denotes a recording / reproducing apparatus (hereinafter, referred to as a drive) that records and reproduces information on the write-once optical card 1 as an information recording medium. The drive 31 is connected to a host computer 32 which is a higher-level control device.
Recording information based on instructions from the host computer 32,
Perform playback. Reference numeral 37 denotes a motor for introducing the optical card 1 into the drive 31 by a transport mechanism (not shown), causing the optical card 1 to reciprocate in the R direction by a predetermined drive, and further ejecting the optical card 1 out of the apparatus. Reference numeral 38 denotes a light beam irradiating optical system including a light source, which scans a light beam spot on the optical card 1 at the time of information recording and information reproduction. Reference numeral 39 denotes a photodetector which receives reflected light from a light beam spot on the optical card 1.

【0005】40は光ビーム照射光学系38の一部を駆
動して光カード1面上の光ビームスポットのピント位置
をZ方向即ち、光カード面と垂直の方向に移動させてオ
ートフォーカシング(AF)を行うためのAFアクチュ
エータ、41は光ビーム照射光学系38の一部を駆動し
て光カード面上の光ビームスポットをY方向即ち、R方
向とZ方向との双方に直交する方向に移動させてオート
トラッキング(AT)を行うためのATアクチュエータ
である。この光ビーム照射光学系38、光検出器39、
AFアクチュエータ40及びATアクチュエータ41な
どを一体化して光ヘッド50が構成されている。36は
この光ヘッド50をY方向に移動させて光ビームスポッ
トを光カード1上の所望のトラックへとアクセスさせる
ための駆動モータである。
Reference numeral 40 denotes a part of the light beam irradiation optical system 38, which moves the focus position of the light beam spot on the surface of the optical card 1 in the Z direction, that is, the direction perpendicular to the optical card surface, to thereby perform auto-focusing (AF). An AF actuator 41 performs a part of the light beam irradiation optical system 38 to move the light beam spot on the optical card surface in the Y direction, that is, the direction orthogonal to both the R direction and the Z direction. This is an AT actuator for performing auto tracking (AT). The light beam irradiation optical system 38, the light detector 39,
The optical head 50 is configured by integrating the AF actuator 40 and the AT actuator 41 and the like. Reference numeral 36 denotes a drive motor for moving the optical head 50 in the Y direction to access the light beam spot to a desired track on the optical card 1.

【0006】33はROM、RAMを内蔵したMPUで
あり、カード送りモータ37、ヘッド送りモータ36を
制御し、またホストコンピュータ32の制御により、ホ
ストコンピュータ32とデータの通信、制御等を行う。
AT/AF制御回路34は光検出器39の信号を受け
て、AFアクチュエータ40、ATアクチュエータ41
を駆動し、フォーカシングやトラッキングを制御する。
この場合、光検出器39の出力はAT/AF制御回路3
4に入力され、これに基づいて制御回路34はAFアク
チュエータ40及びATアクチュエータ41を制御して
AF及びATを制御する。光検出器39の出力は変復調
回路35にも出力され、読み取り情報の復調が行われる
と共に、復調信号はMPU33へと送られる。変復調回
路35はMPU33から送られてくる情報信号を変調
し、変調信号に従い光ビーム照射光学系38を駆動して
情報記録を実行すると共に、再生時には光検出器39の
信号をもとにデータを復調する。ホストコンピュータ3
2はドライブ31とデータの送受信を行い、光カード1
にデータトラックごとの情報の記録・再生を指示する。
なお、一般には光カード1は媒体の性質上エラー率が高
く、高い信頼性の情報が要求される場合は、誤り訂正手
段が必要である。
Reference numeral 33 denotes an MPU having a built-in ROM and RAM, which controls a card feed motor 37 and a head feed motor 36, and performs data communication and control with the host computer 32 under the control of the host computer 32.
The AT / AF control circuit 34 receives the signal of the photodetector 39, and controls the AF actuator 40, the AT actuator 41
To control focusing and tracking.
In this case, the output of the photodetector 39 is output to the AT / AF control circuit 3
4, and the control circuit 34 controls the AF actuator 40 and the AT actuator 41 based on the input to control the AF and the AT. The output of the photodetector 39 is also output to the modulation / demodulation circuit 35, where the read information is demodulated and the demodulated signal is sent to the MPU 33. The modulation / demodulation circuit 35 modulates the information signal sent from the MPU 33, drives the light beam irradiation optical system 38 in accordance with the modulation signal, executes information recording, and at the time of reproduction, data based on the signal of the photodetector 39. Demodulate. Host computer 3
2 transmits / receives data to / from the drive 31 and the optical card 1
To instruct recording and reproduction of information for each data track.
Generally, the optical card 1 has a high error rate due to the nature of the medium, and requires error correction means when high reliability information is required.

【0007】次に、上記先願例の情報記録再生方法につ
いて説明する。図11は上記情報記録再生方法に用いる
光カードの記録面を示した図で、1は光カード、2はデ
ータ領域、3はディレクトリ領域である。またS−1〜
S−18はセクタで、斜線で表わしたセクタは記録後の
ベリファイでエラーとなったセクタ、F1及びF2は複
数セクタで構成されるファイル、D1〜D3はディレク
トリである。更に、ここでは複数のセクタに分割された
データ領域のセクタ位置を表わすアドレスを便宜的に物
理アドレスと呼ぶ。物理アドレスは先頭から順に数えて
いくもので、図11ではS−1,S−2,S−3はそれ
ぞれ物理アドレスの1,2,3番地である。これに対
し、記録後のベリファイの結果、正常に記録できたセク
タのみを便宜的に論理アドレスと呼ぶ。この論理アドレ
スは先頭から順に数えていくものとし、図11ではS−
1は論理アドレスが1、S−2は2、S−5は3とな
り、以下同様に論理アドレスを定めるものとする。
Next, an information recording / reproducing method of the above-mentioned prior application will be described. FIG. 11 shows a recording surface of an optical card used in the information recording / reproducing method , where 1 is an optical card, 2 is a data area, and 3 is a directory area. S-1 ~
S-18 is a sector, a hatched sector is a sector in which an error has occurred in verification after recording, F1 and F2 are files composed of a plurality of sectors, and D1 to D3 are directories. Further, here, an address indicating a sector position of a data area divided into a plurality of sectors is referred to as a physical address for convenience. The physical addresses are counted in order from the top. In FIG. 11, S-1, S-2, and S-3 are 1, 2, and 3 of the physical addresses, respectively. On the other hand, as a result of verification after recording, only a sector that can be normally recorded is referred to as a logical address for convenience. This logical address is counted sequentially from the top, and in FIG.
1 is a logical address of 1, S-2 is 2, and S-5 is 3, and the logical addresses are determined in the same manner.

【0008】また、前述した特開昭61−243994
号や先願の特願平4−83055では、データの記録時
に発生した欠陥セクタの情報はディレクトリに含めて記
録される。図12は図11に示した光カード1上の情報
(ファイルF1,F2)のディレクトリ情報のうち欠陥
情報を概念的に示した図である。D1はファイルF1に
対応したディレクトリ情報であるが、これには物理アド
レス3,4は斜線で示すように欠陥セクタであることが
記録されている。D2、D3はファイルF2のディレク
トリ情報で、物理アドレス9,11,12,14,1
6,17はそれぞれ斜線で示されており、これらのアド
レスはいずれも欠陥セクタである。なお、図12では物
理アドレスと論理アドレスの対応も示してある。
[0008] The above-mentioned Japanese Patent Application Laid-Open No. 61-243994 is disclosed.
In Japanese Patent Application No. 4-83055, the information on defective sectors generated during data recording is recorded in a directory. FIG. 12 is a diagram conceptually showing defect information in the directory information of the information (files F1 and F2) on the optical card 1 shown in FIG. D1 is directory information corresponding to the file F1, in which physical addresses 3 and 4 are recorded as defective sectors as indicated by oblique lines. D2 and D3 are directory information of the file F2, and have physical addresses 9, 11, 12, 14, 1
6 and 17 are indicated by oblique lines, and these addresses are all defective sectors. FIG. 12 also shows the correspondence between physical addresses and logical addresses.

【0009】図13(a)は上記情報記録再生方法に使
用されるユーザディレクトリのフォーマット、図13
(b)はシステムディレクトリのフォーマットを示した
図である。以下、これらのディレクトリフォーマットに
ついて説明する。ヘッダーはユーザディレクトリである
かシステムディレクトリであるかを識別するためのもの
で、ASCIIコードでDIRUまたはDIRSが書き
込まれる。システムディレクトリナンバーは、システム
ディレクトリとユーザディレクトリに共通なシリアルナ
ンバー、ユーザディレクトリナンバーは、ユーザディレ
クトリにだけ適用されるシリアルナンバーである。開始
論理セクタアドレスと管理論理セクタ数はディレクトリ
が管理する論理領域の先頭論理アドレスと領域の大きさ
を示す。開始物理セクタアドレスと管理物理セクタ数は
ディレクトリが管理する物理領域の先頭物理アドレスと
領域の大きさを示す。
FIG. 13A shows a format of a user directory used in the information recording / reproducing method .
(B) is a diagram showing a format of a system directory. Hereinafter, these directory formats will be described. The header is used to identify a user directory or a system directory, and DIRU or DIRS is written in ASCII code. The system directory number is a serial number common to the system directory and the user directory, and the user directory number is a serial number applied only to the user directory. The start logical sector address and the number of management logical sectors indicate the head logical address of the logical area managed by the directory and the size of the area. The start physical sector address and the number of management physical sectors indicate the start physical address of the physical area managed by the directory and the size of the area.

【0010】欠陥リストは欠陥セクタの先頭物理アドレ
スである欠陥開始アドレスと連続欠陥セクタ数から構成
された欠陥情報を表わすためのリストである。この記録
方法では、バースト欠陥に対して少ないバイト数で済む
ので大変有効である。ユーザディレクトリには欠陥リス
ト1から3までの3つの欠陥リストを記録でき、システ
ムディレクトリには欠陥リスト1から11の欠陥リスト
を記録することができる。ユーザディレクトリデータは
ユーザデレクトリのみに記録されるもので、ファイル
名、ファイルサイズなどの情報から構成されている。
The defect list is a list for representing defect information composed of a defect start address, which is the head physical address of the defective sector, and the number of consecutive defective sectors. This recording method is very effective because it requires only a small number of bytes for burst defects. In the user directory, three defect lists 1 to 3 can be recorded, and in the system directory, defect lists 1 to 11 can be recorded. The user directory data is recorded only in the user directory, and includes information such as a file name and a file size.

【0011】図14は上記情報記録再生方法におけるフ
ァイルデータの記録処理の流れを示したフローチャート
である。なお、ここでは一例として、図11に示した4
セクタ分の容量を有するファイルF2のデータを記録す
るものとする。図14において、まず、ホストコンピュ
ータ32からドライブ31に対して記録要求が発行さ
れ、ファイルF2のデータが送信されたとする。このデ
ータはドライブ31のMPU33に送られ、MPU33
ではデータの記録に先立って、記録を始める物理アドレ
スと論理アドレスをその内部のメモリに記憶する(S1
及びS2)。この例では、図11から明らかなように開
始物理アドレスは9番地、開始論理アドレスは7番地で
ある。次に、MPU33は各部を制御して目的の物理ア
ドレスの9番地(S−9)のセクタにデータを記録し、
その直後に記録データを再生してベリファイを行う(S
3)。
FIG. 14 is a flowchart showing a flow of a file data recording process in the information recording / reproducing method . Here, as an example, 4 shown in FIG.
It is assumed that data of a file F2 having a capacity for a sector is recorded. In FIG. 14, it is assumed that a recording request is issued from the host computer 32 to the drive 31 and the data of the file F2 is transmitted. This data is sent to the MPU 33 of the drive 31, and the MPU 33
Then, before recording data, a physical address and a logical address at which recording is started are stored in its internal memory (S1).
And S2). In this example, as apparent from FIG. 11, the start physical address is address 9 and the start logical address is address 7. Next, the MPU 33 controls each unit to record data in the sector at the address 9 (S-9) of the target physical address,
Immediately thereafter, the recorded data is reproduced to perform verification (S
3).

【0012】ベリファイが終了すると、MPU33はデ
ータが正常に記録できたかどうかを判定するが(S
4)、ここでは図11に示すように物理アドレスの9番
地は欠陥セクタであるため、当然ベリファイエラーが検
出されることになる。従って、MPU33はベリファイ
エラーが検出されると、エラーとなった欠陥セクタのア
ドレスをメモリに記憶させ(S5)、その後、目的物理
アドレスを1つインクリメントして(S6)、再びS3
に戻る。そして、S3で次の物理アドレスである10番
地にデータを再記録すると共に、そのデータのベリファ
イを行う。この場合図11に示すように、物理アドレス
の10番地は正常セクタであるので、ベリファイエラー
は検出されない。MPU33は正常に書き込まれたセク
タに対して論理アドレスを割り当て、次のデータ記録に
対して論理アドレスを1つインクリメントし(S7)、
また次のデータ記録に備えて物理アドレスを1つインク
リメントする(S8)。MPU33は要求されたファイ
ルF2のデータを全て記録できたかどうかを判定し(S
9)、記録できていなければ、再度S3に戻って同様の
処理を繰り返し行う。そして、全てのファイルF2のデ
ータを記録したことを確認したところで、ホストコンピ
ュータ32に記録終了を通知し、記録処理を終了する。
When the verification is completed, the MPU 33 determines whether or not the data has been normally recorded (S
4) In this case, as shown in FIG. 11, since the address 9 of the physical address is a defective sector, a verify error is naturally detected. Therefore, when a verify error is detected, the MPU 33 stores the address of the defective sector in which the error occurred in the memory (S5), then increments the target physical address by one (S6), and returns to S3.
Return to Then, in S3, the data is re-recorded at the next physical address, address 10, and the data is verified. In this case, as shown in FIG. 11, since the address 10 of the physical address is a normal sector, no verify error is detected. The MPU 33 assigns a logical address to the normally written sector, and increments the logical address by one for the next data recording (S7),
Also, the physical address is incremented by one in preparation for the next data recording (S8). The MPU 33 determines whether all the data of the requested file F2 has been recorded (S
9) If the recording has not been completed, the process returns to S3 and the same processing is repeated. When it is confirmed that the data of all the files F2 has been recorded, the host computer 32 is notified of the end of the recording, and the recording process is terminated.

【0013】図15は上記情報記録再生方法におけるデ
ィレクトリの記録方法を示したフローチャートである。
このディレクトリの記録はファイルF2のデータを全て
記録した後に実行される。また、図16は図15に従っ
てディレクトリを記録したときのディレクトリの内容を
示した図である。まず、図15において、MPU33は
メモリに記憶してある欠陥セクタアドレス、開始記録物
理アドレス、最終記録物理アドレス、開始記録論理アド
レス、最終記録論理アドレスに基づいて欠陥リストとセ
クタ管理情報を作成する(S1)。メモリに記憶された
欠陥セクタアドレスなどの情報は、前述したように情報
の記録時に記憶された情報である。欠陥リストはユーザ
ディレクトリの記録に先立って作成され、また最大で3
つ作成される。このとき作成された欠陥リストとセクタ
管理情報を図16(b)に示す。図16(c)では、例
えば開始論理セクタアドレスは7、開始物理セクタアド
レスは9である。また、欠陥リスト1は欠陥開始アドレ
スが9、連続欠陥セクタ数が1、更に欠陥リスト2は欠
陥開始アドレスが11、連続欠陥セクタが2、欠陥リス
ト3は欠陥開始アドレスが14、連続欠陥セクタ数が1
である。なお、ここではユーザディレクトリに記録でき
る欠陥リストは最大3つであるため、図16に示した欠
陥開始アドレス16の欠陥リストは作成されていない。
FIG. 15 is a flowchart showing a directory recording method in the information recording / reproducing method .
Recording of this directory is executed after recording all data of the file F2. Further, FIG. 16 is a diagram showing the contents of a directory when recording the directory in accordance with Figure 15. First, in FIG. 15, the MPU 33 creates a defect list and sector management information based on the defective sector address, the start recording physical address, the last recording physical address, the start recording logical address, and the last recording logical address stored in the memory ( S1). The information such as the defective sector address stored in the memory is the information stored when the information was recorded as described above. The defect list is created prior to the user directory record and can be up to 3
Are created. FIG. 16B shows the defect list and sector management information created at this time. In FIG. 16C, for example, the start logical sector address is 7, and the start physical sector address is 9. The defect list 1 has a defect start address of 9, the number of continuous defect sectors is 1, the defect list 2 has a defect start address of 11, the number of continuous defect sectors is 2, the defect list 3 has a defect start address of 14, and the number of continuous defect sectors. Is 1
It is. Since the maximum number of defect lists that can be recorded in the user directory is three, the defect list of the defect start address 16 shown in FIG. 16 has not been created.

【0014】こうしてMPU33は図16(b)に示し
た欠陥リストやセクタ管理情報からなるユーザディレク
トリを光カード1に記録する(S2)。ここで、ファイ
ルF2に対する欠陥情報とセクタ管理情報が全てユーザ
ディレクトリに記録できればディレクトリの記録処理を
終了する。即ち、欠陥リストが残っているか否かを判断
し(S3)、残っていなければ処理を終了する。ここで
は、前述したように記録していない欠陥リストが残って
いるので、未記録分の欠陥リストとセクタ管理情報を作
成し(S4)、それに基づいてシステムディレクトリを
記録する(S5)。MPU33はファイルF2内の欠陥
情報がなくなるまでS3〜S5の処理を繰り返し、全て
記録したところで処理を終了する。図16(c)はこう
して記録されたシステムディレクトリを示しており、残
りの欠陥セクタアドレス16に関する欠陥リスト及びセ
クタ管理情報が記録されていることがわかる。なお、こ
こでは残りの欠陥セクタは1つであるので、図16
(c)に示す如くそれに関する欠陥リスト1(欠陥開始
アドレス16、連続欠陥セクタ数1)のみが記録される
が、前述したようにシステムディレクトリは欠陥リスト
を11まで記録することが可能である。また、図16
(a)は図11に示したファイルF1のデータを記録し
たときのシステムディレクトリの内容を示した図であ
る。ファイルF1内には欠陥セクタは2つあり、しかも
これは連続しているため、図16(a)に示すように欠
陥リスト1(欠陥開始アドレス3、連続欠陥セクタ数
2)だけが記録される。従って、欠陥リスト数は3つ以
内であるため、ユーザディレクトリのみ記録され、シス
テムディレクトリは記録されない。以上の情報記録再生
方法によればファイルデータの欠陥情報を第1のディレ
クトリに記録できない場合に、残りの欠陥情報を第2の
ディレクトリを書き込むことにより、ファイルデータの
全ての欠陥情報を記録でき、ファイルデータの管理を支
障なく行えるという効果がある。
Thus, the MPU 33 records the user directory including the defect list and the sector management information shown in FIG. 16B on the optical card 1 (S2). Here, if all of the defect information and the sector management information for the file F2 can be recorded in the user directory, the directory recording process ends. That is, it is determined whether or not a defect list remains (S3), and if not, the process ends. Here, as described above, since the defect list that has not been recorded remains, an unrecorded defect list and sector management information are created (S4), and the system directory is recorded based on the defect list and the sector management information (S5). The MPU 33 repeats the processing of S3 to S5 until there is no more defect information in the file F2, and ends the processing when all the information is recorded. FIG. 16C shows the system directory recorded in this manner, and it can be seen that a defect list and sector management information relating to the remaining defective sector addresses 16 are recorded. Here, since the number of remaining defective sectors is one, FIG.
As shown in (c), only the defect list 1 (defect start address 16 and the number of consecutive defective sectors 1) relating thereto is recorded. However, as described above, up to 11 defect lists can be recorded in the system directory. FIG.
FIG. 12A shows the contents of the system directory when the data of the file F1 shown in FIG. 11 is recorded. Since there are two defective sectors in the file F1, which are continuous, only the defect list 1 (defect start address 3, continuous defective sector number 2) is recorded as shown in FIG. . Therefore, since the number of defect lists is three or less, only the user directory is recorded, and the system directory is not recorded. Information recording and playback above
According to the method, when the defect information of the file data cannot be recorded in the first directory, all the defect information of the file data can be recorded by writing the remaining defect information in the second directory, and the management of the file data can be performed. There is an effect that it can be performed without any trouble.

【0015】ところで、上記のような情報記録再生方法
においては、ホストコンピュータが情報記録再生装置に
対し論理アドレスを指定してアクセスする場合は、始め
にディレクトリを全て読み出して欠陥リストをメモリに
蓄える必要がある。そこで、このホストコンピュータの
アクセスに対し論理アドレスを物理アドレスに変換して
データを読み出すときの処理について図17をもとに説
明する。なお、ここでは一例として、図11に示した論
理アドレス6番地のデータを再生するときの処理につい
て説明する。図17において、まず欠陥セクタをカウン
トするための欠陥カウンタCntを0に、欠陥リストナ
ンバーPtrを1にそれぞれ初期化する(S1)。次い
で、欠陥リストナンバーPtrの欠陥連続数が0である
か否かを調べ(S2)、0であれば欠陥リストがないも
のとしてS6へ進む。一方、欠陥連続数が0でなけれ
ば、欠陥リストが存在すると判断して欠陥リストの欠陥
開始アドレス(=3)から欠陥カウンタCnt(=0)
を引いて与えられた論理セクタアドレス6と比較する
(S3)。この場合、S3の右辺のBad_A(Pt
r)−Cntは欠陥リスト1に示されている欠陥セクタ
の次の物理アドレスに対応する論理アドレスである。こ
れは物理セクタ5であり、論理アドレス3に対応する。
従って、S3では与えられた論理アドレス6の方が大き
いのでCntに欠陥リスト1の連続欠陥数2を追加し
(S4)、欠陥リストナンバーPtrをインクリメント
する(S5)。以上の処理は欠陥リストによって分割さ
れる物理領域のうち求める物理アドレスがどの領域に属
するかを決める処理である。S5の処理が終了すると、
再びS2に戻り、同様の処理を実行する。この場合、S
2では次の欠陥リスト2が存在するため、再度S3の処
理を実行するのであるが、ここでは現在のCntは2、
欠陥リスト2における欠陥開始アドレスは9である。従
って、S3の右辺は7となるため、今度はS6へ進んで
物理アドレスを計算する。物理アドレスは、Cnt=
2、与えられた論理アドレスは6であるので、8とな
る。
In the information recording / reproducing method as described above, when the host computer accesses the information recording / reproducing apparatus by designating a logical address, first, the entire directory is read and the defect list is read. Must be stored in memory. Therefore, a process for reading data by converting a logical address to a physical address in response to the access from the host computer will be described with reference to FIG. Here, as an example, a process when reproducing the data at the logical address 6 shown in FIG. 11 will be described. In FIG. 17, first, a defect counter Cnt for counting defective sectors is initialized to 0, and a defect list number Ptr is initialized to 1 (S1). Next, it is checked whether or not the number of consecutive defects in the defect list number Ptr is 0 (S2). If it is 0, it is determined that there is no defect list, and the process proceeds to S6. On the other hand, if the number of consecutive defects is not 0, it is determined that a defect list exists, and the defect counter Cnt (= 0) starts from the defect start address (= 3) of the defect list.
Is compared with the given logical sector address 6 (S3). In this case, Bad_A (Pt) on the right side of S3
r) -Cnt is a logical address corresponding to the physical address next to the defective sector shown in the defect list 1. This is physical sector 5 and corresponds to logical address 3.
Accordingly, in S3, since the given logical address 6 is larger, the number of consecutive defects 2 in the defect list 1 is added to Cnt (S4), and the defect list number Ptr is incremented (S5). The above processing is processing for determining to which area a physical address to be obtained belongs among physical areas divided by the defect list. When the processing of S5 ends,
Returning to S2, the same processing is executed. In this case, S
In step 2, since the next defect list 2 exists, the processing in step S3 is executed again.
The defect start address in the defect list 2 is 9. Accordingly, since the right side of S3 is 7, the process proceeds to S6 to calculate the physical address. The physical address is Cnt =
2. Since the given logical address is 6, it becomes 8.

【0016】[0016]

【発明が解決しようとしている課題】以上の説明のよう
にホストコンピュータのアクセスに対し、論理アドレス
を物理アドレスに変換してデータを再生する場合は、欠
陥リストを順次検査する必要があり、そのためには前述
のように欠陥リストを全てメモリに蓄えておく必要があ
った。例えば、光カードのトラック数が2500で、1
トラック中のセクタ数を最大16セクタとすると、光カ
ード全体の最大セクタ数は40000セクタとなる。従
って、欠陥リストを開始欠陥セクタアドレス2バイト
と、連続欠陥セクタ数2バイトの合計4バイトで表現す
ると、欠陥リストの最大数としては、1セクタごとに欠
陥があるとして、20000(16セクタ×2500ト
ラック÷2)リストとなる。よって、MPUが確保しな
ければならないメモリ容量は、20000リスト×4バ
イトの80000バイト(80kバイト)となる。この
ように従来においては欠陥リストをメモリに蓄えるよう
にすると、メモリが大容量になるという問題があった。
As described above, when reproducing data by converting a logical address into a physical address in response to access from the host computer, it is necessary to sequentially inspect the defect list. Requires that the entire defect list be stored in the memory as described above. For example, if the number of optical card tracks is 2500 and 1
If the maximum number of sectors in a track is 16, the maximum number of sectors of the entire optical card is 40,000. Therefore, if the defect list is expressed by a total of 4 bytes, ie, the starting defect sector address of 2 bytes and the number of consecutive defective sectors of 2 bytes, the maximum number of defect lists is 20,000 (16 sectors × 2500) assuming that there is a defect in each sector. Track # 2) becomes a list. Therefore, the memory capacity that must be ensured by the MPU is 80000 bytes (80 kbytes) of 20000 lists × 4 bytes. As described above, conventionally, when the defect list is stored in the memory, there is a problem that the memory has a large capacity.

【0017】本発明はこのような事情に鑑みなされたも
ので、メモリ容量を大幅に削減し、装置の小型化及び低
価格化を図るようにした情報記録再生方を提供するこ
とを目的としたものである。
[0017] The present invention has been made in view of such circumstances, and aims to significantly reduce the memory capacity, to provide an information recording reproducing how you like reduce the size and cost of the apparatus It was done.

【0018】[0018]

【課題を解決するための手段】本発明の目的は、複数の
セクタが規則的に配置され、夫々のセクタにその位置を
示す物理アドレスが配置の順に先頭から数えた番地とし
て付与された追記型情報記録担体と、前記記録担体にデ
ータを記録し、また前記記録担体からデータを読み出す
記録再生装置と、ホストコンピュータと、メモリを有し
前記ホストコンピュータの指示に基づき前記記録再生装
置を制御するマイクロプロセッサとを用い、前記記録担
体にファイルデータを記録すると共に、前記記録担体に
欠陥セクタの情報を含むディレクトリデータを記録して
ファイルデータの記録再生を管理する方法であって、前
記ディレクトリデータに基づいて、前記複数のセクタの
内、欠陥セクタを除いたセクタのみを配置の順に先頭か
ら数えた番地として表される論理セクタを物理セクタに
変換する情報記録再生方法において、前記マイクロプロ
セッサは、前記記録担体から読み出したディレクトリデ
ータに基づいて、前記メモリ内に、前記記録担体の各物
理アドレスをそれぞれ1ビットに対応させて各ビットの
値でその物理アドレスにあるセクタが欠陥セクタか否か
を示し、且つ、n個の物理アドレスに対応するビットを
それぞれ含むm個のブロックから成る欠陥ビットマップ
と、前記欠陥ビットマップのブロックごとにそのブロッ
ク内の欠陥セクタの数を示す欠陥インデックステーブル
とを形成し、前記ホストコンピュータから論理アドレス
を指定されると、前記マイクロプロセッサは前記欠陥イ
ンデックステーブルに基づいて、指定された論理アドレ
スに対応する物理アドレスのビットが、欠陥ビットマッ
プ上のどのブロックに存在するか検索し、検索されたブ
ロックのビット列から指定された論理アドレスを物理ア
ドレスに変換することを特徴とする情報記録再生方法に
よって達成される。
SUMMARY OF THE INVENTION The object of the present invention is to
Sectors are arranged regularly, and their position is assigned to each sector.
The physical address shown is the address counted from the top in the order of arrangement.
Write-once information record carrier provided with the
Record data and read data from the record carrier
A recording / reproducing device, a host computer, and a memory
The recording / reproducing device based on an instruction from the host computer.
A microprocessor for controlling the location,
While recording file data on the body, the record carrier
Record directory data including information on defective sectors
A method for managing the recording and playback of file data.
The plurality of sectors based on the directory data.
Of the sectors, only sectors excluding defective sectors are
Logical sector represented as an address counted as a physical sector
In the information recording and reproducing method for conversion,
The processor stores the directory data read from the record carrier.
Data of the record carrier in the memory based on the data
The physical address corresponds to one bit, and
Whether the sector at the physical address is a defective sector by value
And bits corresponding to n physical addresses are
Defect bitmap consisting of m blocks each containing
And the block for each block of the defective bitmap.
Index table that shows the number of defective sectors in the disk
And a logical address from the host computer.
Is specified, the microprocessor causes the defect
The specified logical address is based on the index table.
The bit of the physical address corresponding to the
Search for which block on the
The logical address specified from the lock bit string is
This is achieved by an information recording / reproducing method characterized by converting into a dress .

【0019】[0019]

【実施例】以下、本発明の実施例について、図面を参照
して詳細に説明する。始めに、この実施例で用いる情報
記録再生装置は図10に示したものと同じで、その詳細
な説明は省略する。また、情報記録再生方法についても
基本的に、図11〜図16で説明した先願の情報記録
生方法と同じであるので、ここではその詳細な説明は省
略する。図2は一例として図16に示したディレクトリ
の全ての欠陥リストをまとめて示した図である。欠陥リ
ストは全部で5つあり、それぞれの欠陥リストについて
欠陥開始アドレス、連続欠陥数が示されている。総欠陥
数は連続欠陥数の和の8となる。図3は論理アドレスか
ら物理アドレスへの変換に用いる欠陥ビットマップと欠
陥インデックステーブルを示した図である。ここでは、
図16に示したディレクトリをメモリに展開した場合の
欠陥ビットマップと欠陥インデックステーブルが示され
ている。欠陥ビットマップの1つの欠陥情報は1バイト
(8ビット)からなっており、メモリの1バイトの1ビ
ットが1つの物理セクタに対応している。つまり、1バ
イトの情報で8セクタ分の欠陥情報を記録するように構
成されている。
Embodiments of the present invention will be described below in detail with reference to the drawings. First, the information recording / reproducing apparatus used in this embodiment is the same as that shown in FIG. 10, and a detailed description thereof will be omitted. Also, essentially the information recording and reproducing method, the prior application of the information recording re described in FIGS. 11 to 16
Since this is the same as the production method , a detailed description thereof will be omitted here. FIG. 2 is a diagram collectively showing all the defect lists in the directory shown in FIG. 16 as an example. There are five defect lists in total, and the defect start address and the number of continuous defects are shown for each defect list. The total number of defects is 8 which is the sum of the number of continuous defects. FIG. 3 is a diagram showing a defect bit map and a defect index table used for converting a logical address into a physical address. here,
FIG. 17 shows a defect bitmap and a defect index table when the directory shown in FIG. 16 is expanded in a memory. One piece of defect information of the defect bit map is composed of one byte (8 bits), and one bit of one byte of the memory corresponds to one physical sector. That is, it is configured to record defect information for 8 sectors with 1-byte information.

【0020】また、この欠陥ビットマップにはそれが管
理している物理セクタの数が展開物理セクタ数として記
録されている。更に、欠陥ビットマップにはディレクト
リとして光カードに記録されているセクタ管理情報の物
理セクタ数が管理情報記録済み物理セクタ数として記録
されている。この展開物理セクタ数から管理情報記録済
み物理セクタ数を除いた物理セクタに関する情報が次回
のディレクトリの記録時にセクタ管理情報として記録さ
れる。展開論理セクタ数は展開物理セクタ数から欠陥セ
クタ数を差し引いた数である。更に、欠陥ビットマップ
にはディレクトリとして光カードに記録されているセク
タ管理情報の論理セクタ数が管理情報記録済み論理セク
タ数として記録されている。
The number of physical sectors managed by the defective bit map is recorded as the number of expanded physical sectors. Further, in the defect bitmap, the number of physical sectors of the sector management information recorded on the optical card as a directory is recorded as the number of management information recorded physical sectors. Information on the physical sectors obtained by subtracting the number of management information recorded physical sectors from the number of expanded physical sectors is recorded as sector management information at the next directory recording. The number of expanded logical sectors is a number obtained by subtracting the number of defective sectors from the number of expanded physical sectors. Further, the number of logical sectors of the sector management information recorded on the optical card as a directory is recorded as the number of management information recorded logical sectors in the defect bitmap.

【0021】図4は図3に示した欠陥ビットマップのバ
イト0から3までを詳細に示した図である。この例で
は、“0”は物理セクタの正常、“1”は欠陥を示す。
バイト0のビット0〜7は物理セクタの0〜7が欠陥か
否かを表わし、ここではビット3,4が“1”であるの
で、物理セクタ3,4は欠陥セクタである。バイト1の
ビット0〜7は物理セクタの8〜15が欠陥か否かを表
わし、バイト2のビット0〜7は物理セクタの16〜2
3が欠陥か否かを表わす。それぞれ“1”のセクタが欠
陥セクタである。物理セクタと欠陥ビットマップの対応
は、以下の式により求められる。まず、バイト位置の算
出については、次式によって算出することができる。但
し、計算は整数域で行うものとする。
FIG. 4 is a diagram showing bytes 0 to 3 of the defective bit map shown in FIG. 3 in detail. In this example, “0” indicates a normal physical sector, and “1” indicates a defect.
Bits 0 to 7 of byte 0 indicate whether or not physical sectors 0 to 7 are defective. Here, bits 3 and 4 are “1”, so physical sectors 3 and 4 are defective sectors. Bits 0 to 7 of byte 1 indicate whether 8 to 15 of the physical sector are defective, and bits 0 to 7 of byte 2 indicate 16 to 2 of the physical sector.
3 indicates whether it is a defect or not. Each "1" sector is a defective sector. The correspondence between the physical sector and the defect bitmap is obtained by the following equation. First, the byte position can be calculated by the following equation. However, the calculation is performed in the integer range.

【0022】[0022]

【数1】(物理アドレス)÷8 …(1) ビット位置については次式によって算出される。計算は
整数域で行い、%は商の余りを求める演算子である。
(Physical address) ア ド レ ス 8 (1) The bit position is calculated by the following equation. The calculation is performed in the integer range, and% is an operator for calculating the remainder of the quotient.

【0023】[0023]

【数2】(物理アドレス)%8 …(2) 例えば、図2に示した欠陥リスト5では物理セクタ16
と物理セクタ17が欠陥であり、(1),(2)式によ
り対応する欠陥ビットマップにおける位置を求めると次
の通りとなる。まず、物理セクタ16の場合、16÷8
=2、16%8=0となり、よって求める位置はバイト
2、ビット0である。また、物理セクタ17の場合は、
17÷8=2、17%8=1となるので、求める位置は
バイト2、ビット1である。
(Physical address)% 8 (2) For example, in the defect list 5 shown in FIG.
And the physical sector 17 are defective, and the position in the corresponding defective bit map is obtained by the formulas (1) and (2) as follows. First, in the case of the physical sector 16, 16 ÷ 8
= 2, 16% 8 = 0, so the position to be found is byte 2, bit 0. In the case of the physical sector 17,
Since 17 ÷ 8 = 2 and 17% 8 = 1, the position to be obtained is byte 2 and bit 1.

【0024】ここで、図3に示した欠陥インデックステ
ーブルについて説明する。まず、同図の欠陥インデック
スバイトIDX(i)は物理アドレス(i×128)か
ら物理アドレス(i×128+127)までの欠陥数を
示している。ここで、iは欠陥インデックステーブル中
の欠陥インデックスバイトの位置を表わす。即ち、欠陥
インデックステーブルは欠陥ビットマップを16バイト
ずつのブロックに区切り、1つのブロック内で“1”と
なっているビット数、つまり128セクタ中の欠陥セク
タ数をバイトで記憶するものである。例えば、IDX
(0)は物理アドレス0から127までの欠陥数を表わ
す。物理アドレスと欠陥インデックスバイトの対応は次
式により求められる。即ち、欠陥インデックスバイト位
置iは、
Here, the defect index table shown in FIG. 3 will be described. First, the defect index byte IDX (i) in the figure indicates the number of defects from the physical address (i × 128) to the physical address (i × 128 + 127). Here, i represents the position of the defect index byte in the defect index table. In other words, the defect index table divides the defect bitmap into 16-byte blocks, and stores the number of bits "1" in one block, that is, the number of defective sectors in 128 sectors, in bytes. For example, IDX
(0) indicates the number of defects at physical addresses 0 to 127. The correspondence between the physical address and the defect index byte is obtained by the following equation. That is, the defect index byte position i is

【0025】[0025]

【数3】i=(物理アドレス)÷128 …(3) で求めることができる。計算は整数域で行う。I = (physical address) ÷ 128 (3) The calculation is performed in the integer range.

【0026】ここで、本実施例では光カード全体のセク
タ数を16384セクタとし、また図3に示した欠陥ビ
ットマップの横方向における最大物理セクタ数nを12
8個(8ビット×16)としてある。つまり、こうする
ことによって欠陥インデックステーブルの単位検索時間
Ti(後述する図1のS2〜S4の処理時間)と欠陥ビ
ットマップの単位検索時間Tb(図1のS6〜S9の処
理時間)が同じであるとして、最終セクタの16384
番目の物理セクタ(物理アドレスは16383番地)ま
での検索時間が最短となるように前述の如く最大物理セ
クタ数が決められている。従って、このことから欠陥情
報の検索時間を短くするには欠陥ビットマップにおける
横方向の最大物理セクタ数n、欠陥インデックステーブ
ルにおける縦方向の数mは次の(4),(5)式によっ
て決めるのが望ましい。
In this embodiment, the number of sectors of the entire optical card is set to 16384, and the maximum number of physical sectors n in the horizontal direction of the defect bit map shown in FIG.
There are eight (8 bits × 16). That is, by doing so, the unit search time Ti of the defect index table (the processing time of S2 to S4 in FIG. 1 described later) and the unit search time Tb of the defect bitmap (the processing time of S6 to S9 in FIG. 1) are the same. 16384 of the last sector
The maximum number of physical sectors is determined as described above so that the search time up to the second physical sector (the physical address is 16383) is the shortest. Therefore, in order to shorten the search time of the defect information, the maximum number n of the physical sectors in the horizontal direction in the defect bitmap and the number m in the vertical direction in the defect index table are determined by the following equations (4) and (5). It is desirable.

【0027】[0027]

【数4】Tb×n=Ti×m …(4)Tb × n = Ti × m (4)

【0028】[0028]

【数5】n×m=全セクタ数 …(5) 次に、ホストコンピュータ32がドライブ31に対して
データの読み込みを指示する場合は、前述のように再生
すべき位置情報として論理アドレスが指定される。この
とき、ドライブ31はデータの読み出しに先立って光カ
ードのディレクトリを全て読み込み、セクタ管理情報を
図3に示した欠陥ビットマップと欠陥インデックステー
ブルに展開し、その後論理アドレスを物理アドレスに変
換する。図1はその欠陥ビットマップと欠陥インデック
ステーブルを用いて論理アドレスを物理アドレスに変換
し、データを読み出すときの処理の流れを示したフロー
チャートである。
N × m = total number of sectors (5) Next, when the host computer 32 instructs the drive 31 to read data, a logical address is specified as position information to be reproduced as described above. Is done. At this time, the drive 31 reads all the directories of the optical card before reading the data, develops the sector management information into the defect bit map and the defect index table shown in FIG. 3, and then converts the logical address into a physical address. FIG. 1 is a flowchart showing a flow of processing when a logical address is converted into a physical address using the defect bit map and the defect index table and data is read.

【0029】図1において、まずMPU33はホストコ
ンピュータ32から論理アドレスが指定されると、論理
アドレスを物理アドレスに変換するのに用いる変数i,
tempの初期化を行う(S1)。変数iは前述のよう
に欠陥インデックステーブル内の位置、即ち欠陥インデ
ックステーブルの縦方向の順番を表わし、変数temp
は欠陥インデックステーブルの欠陥セクタの加算値を表
わす。初期化が終了すると、指定された論理セクタが欠
陥ビットマップのどのブロックにあるかを検索する処理
が行われる(S2〜S4)。まず、欠陥インデックステ
ーブルの最初のブロックの欠陥セクタ数を検索して最初
のブロックのtempの数が調べられる(S2)。次い
で、これをもとに欠陥ビットマップにおけるブロックi
までに存在する物理セクタ数(128×(i+1))か
ら先に得られたtempを差し引くことにより、ブロッ
クiまでに存在する論理セクタ数が算出される(S
3)。即ち、128×(i+1)−tempの演算処理
によってブロックiまでの物理セクタから欠陥セクタを
除いた論理セクタ数が求められる。
In FIG. 1, first, when a logical address is specified by the host computer 32, the MPU 33 converts variables i,
The temp is initialized (S1). The variable i indicates the position in the defect index table, that is, the vertical order of the defect index table, as described above.
Represents the sum of defective sectors in the defect index table. When the initialization is completed, a process is performed to find out which block of the defective bitmap has the specified logical sector (S2 to S4). First, the number of defective sectors in the first block is searched for in the defect index table to determine the number of temps in the first block (S2). Then, based on this, block i in the defect bitmap is
The number of logical sectors existing up to block i is calculated by subtracting the previously obtained temp from the number of physical sectors existing up to (128 × (i + 1)) (S
3). That is, the number of logical sectors excluding the defective sector from the physical sectors up to the block i is obtained by the arithmetic processing of 128 × (i + 1) -temp.

【0030】論理セクタ数が得られると、論理セクタ数
とホストコンピュータ32から与えられた論理アドレス
Laが比較される(S3)。もし、論理アドレスLaが
小さければ、目的の論理アドレスLaはブロックiの中
に存在すると判断して次のS5へ進み、ブロックiの中
で目的の論理セクタに対応する物理セクタを検索する処
理が行われる。一方、論理アドレスLaが大きいか又は
等しければ、目的のアドレスはブロックiの中には存在
しないと判断し、欠陥インデックステーブルの次のブロ
ックを調べるためにiをインクリメント(i=i+1)
する(S4)。また、ここではBad=tempとして
示すようにS5以降に進んだときに目的の論理アドレス
が存在するブロックの1つ前のブロックまでの欠陥セク
タ数がわかるようにtempの数がBadにコピーされ
る。そして、再びS2へ戻って前記と同様の処理が行わ
れ、以下目的の論理アドレスLaが存在するブロックが
見つかるまでS2〜S4の処理が繰り返し行われる。
When the number of logical sectors is obtained, the number of logical sectors is compared with the logical address La given by the host computer 32 (S3). If the logical address La is small, it is determined that the target logical address La exists in the block i, and the process proceeds to the next S5, where processing for searching for a physical sector corresponding to the target logical sector in the block i is performed. Done. On the other hand, if the logical address La is large or equal, it is determined that the target address does not exist in the block i, and i is incremented (i = i + 1) to check the next block in the defect index table.
(S4). Also, as shown as Bad = temp, the number of temps is copied to Bad so that when proceeding to S5 and subsequent steps, the number of defective sectors up to the block immediately before the block in which the target logical address exists is known. . Then, the process returns to S2, and the same processing as described above is performed. Thereafter, the processing of S2 to S4 is repeatedly performed until a block in which the target logical address La exists is found.

【0031】こうして指定された論理アドレスLaが存
在するブロックが見つかると、今度はそのブロック内で
目的の論理セクタに対応する物理セクタを検索する処理
が行われる(S5〜S9)。具体的には、まずブロック
内の先頭セクタの物理アドレスをPに代入し(S5)、
このアドレスPのセクタが欠陥であるかどうかを調べる
(S6)。もし、欠陥セクタであればS4でコピーされ
た欠陥数Badをインクリメントし(S7)、調べる物
理アドレスPをインクリメントする(S9)。次いで、
再度S6に戻って物理アドレスPのセクタが欠陥である
かどうかを調べる。つまり、図3に示した欠陥ビットマ
ップの目的論理アドレスが存在するブロックの先頭アド
レスから順番に欠陥セクタであるかどうかを調べてい
く。そして欠陥でないセクタが見つかると、目的の論理
アドレスLaとその物理アドレスPから欠陥セクタ数B
adを差し引いた値(P−Bad)が一致するかどうか
を判断する(S8)。もし、一致しなければS9でPを
インクリメントして再度S6へ戻り、同様の処理を行
う。即ち、求められた物理アドレスPから欠陥数Bad
を引いた値はとりもなおさず論理アドレスであるので、
これが指定された論理アドレスLaに一致すれば、その
物理アドレスPが求める物理アドレスとなる。こうして
S6〜S9の処理を繰り返し、目的の物理アドレスPが
見つかると、そのアドレスPの物理セクタのデータを読
み出す(S10)。そして、正確に読み出せたかどうか
を判断し(S11)、正常に読み出せたらホストコンピ
ュータ32にデータを転送して処理を終了する。一方、
正常に読み出せなかった場合は、リードのリトライ処理
を行うか、ホストコンピュータ32にエラーを通知する
などのエラー処理を行って処理を終了する。
When a block in which the specified logical address La exists is found, a process of searching for a physical sector corresponding to a target logical sector in the block is performed (S5 to S9). Specifically, first, the physical address of the first sector in the block is assigned to P (S5),
It is checked whether the sector at this address P is defective (S6). If the sector is a defective sector, the number Bad of defects copied in S4 is incremented (S7), and the physical address P to be checked is incremented (S9). Then
The process returns to S6 to check whether the sector at the physical address P is defective. That is, it is checked in order from the start address of the block where the target logical address of the defective bit map shown in FIG. When a non-defective sector is found, the number of defective sectors B is determined from the target logical address La and its physical address P.
It is determined whether the value obtained by subtracting ad (P-Bad) matches (S8). If they do not match, P is incremented in S9 and the process returns to S6 again to perform the same processing. That is, the number of defects Bad is calculated from the obtained physical address P.
Since the value obtained by subtracting is a logical address,
If this matches the specified logical address La, the physical address P becomes the desired physical address. In this way, the processing of S6 to S9 is repeated, and when the target physical address P is found, the data of the physical sector of the address P is read (S10). Then, it is determined whether or not the data has been correctly read (S11). If the data can be read normally, the data is transferred to the host computer 32, and the process is terminated. on the other hand,
If the data cannot be read normally, the processing is terminated after performing read retry processing or performing error processing such as notifying the host computer 32 of an error.

【0032】次に、データ記録時に発生した欠陥情報を
欠陥ビットマップに蓄積する方法及びその情報をディレ
クトリとして光カードに記録する方法について説明す
る。ここでは、図5に示すように光カードにファイルF
3を記録したときに発生する欠陥情報を欠陥ビットマッ
プに展開するときの例について説明する。図5は図11
に示した光カードのファイルF1,F2に更にファイル
F3を追加記録したもので、S−1〜S−23はセク
タ、そのうち斜線で表わしたセクタは記録後のベリファ
イでエラーとなったセクタ(欠陥セクタ)である。ま
た、物理アドレスと論理アドレスの定義は図11で説明
した通りで、物理アドレスはセクタの先頭から順番に数
え、論理アドレスは正常なセクタのみ先頭から順番に数
えていくものである。
Next, a method for storing defect information generated during data recording in a defect bit map and a method for recording the information as a directory on an optical card will be described. Here, as shown in FIG.
An example of developing defect information generated when 3 is recorded into a defect bitmap will be described. FIG.
The file F3 is additionally recorded on the files F1 and F2 of the optical card shown in (1). S-1 to S-23 are sectors, of which sectors indicated by diagonal lines are sectors (errors) in which an error has occurred in verification after recording. Sector). The definitions of the physical address and the logical address are as described with reference to FIG. 11. The physical address is counted in order from the head of the sector, and the logical address is counted only in the normal sector from the head.

【0033】ホストコンピュータ32がドライブ31に
データの記録を指示する場合、ドライブ31は次に記録
すべき論理アドレスを記憶しているので、論理アドレス
を指定しなくてもよく、従ってデータの記録時には記録
命令と記録データがドライブ31へ送信される。ドライ
ブ31では記録命令と記録データを受信すると、データ
の記録を開始するのであるが、このときドライブ31で
は図3に示した欠陥ビットマップを参照して光カードの
データを記録すべき先頭位置を決定する。ここで、図3
の欠陥ビットマップでは展開物理セクタ数は19となっ
ているので、記録開始物理アドレスは19番地(S−1
9)となり、また展開論理セクタ数は11となっている
ために、次に記録する論理アドレスは11番地となる。
こうして記録先頭位置を決定し、ホストコンピュータ3
2から転送されたファイルF3のデータの記録が開始さ
れる。
When the host computer 32 instructs the drive 31 to record data, the drive 31 stores the logical address to be recorded next, so that it is not necessary to specify the logical address. The recording command and the recording data are transmitted to the drive 31. When the drive 31 receives the recording command and the recording data, the recording of the data is started. At this time, the drive 31 refers to the defect bit map shown in FIG. decide. Here, FIG.
Since the number of expanded physical sectors is 19 in the defective bit map of No. 1, the recording start physical address is 19 (S-1).
9), and since the number of expanded logical sectors is 11, the logical address to be recorded next is address 11.
Thus, the recording head position is determined, and the host computer 3
Recording of the data of the file F3 transferred from Step 2 is started.

【0034】ファイルF3のデータを記録するに当って
は、まず図5に示すように物理アドレス19番地(S−
19)にデータを記録するのであるが、このセクタは欠
陥セクタであるので、当然記録エラーが発生する。従っ
て、このときはその欠陥情報を欠陥ビットマップに記録
する処理が行われる。具体的に説明すると、まず前述し
た(1),(2)式により物理アドレス19番地に対応
する欠陥ビットマップ上のバイト位置とビット位置を求
める。ここでは、バイト位置はバイト2、ビット位置は
ビット3となり、図6に示すように得られたバイト2、
ビット3の位置のビットを“1”にして物理アドレス1
9番地は欠陥であることを記録する。次いで、(3)式
を用いて物理アドレス19に対応する欠陥インデックス
テーブル上のIDX(0)をインクリメントして欠陥セ
クタの総数を9とし、更に欠陥ビットマップの展開物理
セクタ数をインクリメントして20に書き換える。
In recording the data of the file F3, first, as shown in FIG. 5, the physical address 19 (S-
The data is recorded in 19), but since this sector is a defective sector, a recording error naturally occurs. Therefore, at this time, processing for recording the defect information in the defect bit map is performed. More specifically, first, the byte position and the bit position on the defective bit map corresponding to the physical address 19 are obtained by the above-described equations (1) and (2). Here, the byte position is byte 2, the bit position is bit 3, and the byte 2, obtained as shown in FIG.
The bit at the position of bit 3 is set to “1” and the physical address 1
Record that address 9 is a defect. Next, IDX (0) on the defect index table corresponding to the physical address 19 is incremented by using the expression (3) to make the total number of defective sectors 9 and further, the number of developed physical sectors of the defect bitmap is incremented by 20. Rewrite to

【0035】以上で欠陥ビットマップと欠陥インデック
ステーブルの更新が終了し、ドライブ31では次の物理
アドレス20(S−20)に再度同じデータを記録す
る。ところが、物理アドレス20も欠陥セクタであるの
で、再度エラーが発生し、前記と同様に欠陥ビットマッ
プと欠陥インデックステーブルの更新処理を行う。ここ
では、物理アドレス20に対応する欠陥ビットマップ上
の位置はバイト2、ビット4となり、図6に示すように
その位置のビットを“1”にして物理アドレス20の欠
陥情報を記録する。また、欠陥インデックステーブルの
IDX(0)をインクリメントして10とし、更に欠陥
ビットマップの展開物理セクタ数をインクリメントして
21とする。ドライブ31では物理アドレス20が欠陥
セクタであったので、次の物理アドレス21に同じデー
タを記録し、このときは物理アドレスは正常セクタであ
るので、欠陥情報の記録は行わず、欠陥ビットマップ上
の展開物理セクタ数及び、展開論理セクタ数をインクリ
メントして22,12にそれぞれ更新する。
The update of the defect bit map and the defect index table is completed as described above, and the drive 31 records the same data again at the next physical address 20 (S-20). However, since the physical address 20 is also a defective sector, an error occurs again, and the defect bitmap and the defect index table are updated as described above. Here, the position on the defect bit map corresponding to the physical address 20 is byte 2 and bit 4, and the defect information of the physical address 20 is recorded by setting the bit at that position to "1" as shown in FIG. Further, IDX (0) in the defect index table is incremented to 10 and the number of developed physical sectors of the defect bitmap is incremented to 21. In the drive 31, since the physical address 20 is a defective sector, the same data is recorded in the next physical address 21. At this time, since the physical address is a normal sector, no defect information is recorded, and Are incremented and updated to 22 and 12, respectively.

【0036】ドライブ31は物理アドレス21へのデー
タの記録が終了すると、次の物理アドレス22(S−2
2)にファイルF3の残りのデータを記録するが、物理
アドレス22は図5に示すように欠陥セクタであるの
で、欠陥ビットマップと欠陥インデックステーブルに欠
陥情報を記録する。この場合、欠陥ビットマップ上の物
理アドレス22に対応する位置はバイト2、ビット6で
あるので、図6に示すようにその位置のビットを“1”
にして物理アドレス22が欠陥セクタであることを記録
する。また、欠陥インデックステーブルのIDX(0)
をインクリメントして11に、欠陥ビットマップの展開
物理セクタ数を23にそれぞれ更新する。更に、次の物
理アドレス23(S−23)に再度同じデータを記録
し、このときは物理アドレス23は正常セクタであるの
で、欠陥情報の記録は行わず、欠陥ビットマップ上の展
開物理セクタ数、展開論理セクタ数をそれぞれインクリ
メントする。この結果、図7に示すようにファイルF3
を記録した場合、欠陥ビットマップ上の展開物理数は2
4、展開論理セクタ数は13にそれぞれ更新され、また
欠陥情報も図6に示したようにそれぞれの欠陥物理アド
レスに対応して欠陥ビットマップ上に展開される。以上
でファイルF3の記録に伴う欠陥ビットマップと欠陥イ
ンデックステーブルの記録処理を終了する。ファイルF
3のデータ記録が終了すると、ホストコンピュータ32
はファイルF3のディレクトリ情報を光カードに記録す
るようにドライブ31に指示する。このディレクトリ情
報はディレクトリの中のユーザディレクトリとして記録
される情報である。
When the recording of data to the physical address 21 is completed, the drive 31 proceeds to the next physical address 22 (S-2
In 2), the remaining data of the file F3 is recorded. Since the physical address 22 is a defective sector as shown in FIG. 5, defect information is recorded in the defect bit map and the defect index table. In this case, since the position corresponding to the physical address 22 on the defective bit map is byte 2 and bit 6, the bit at that position is set to "1" as shown in FIG.
To record that the physical address 22 is a defective sector. Also, IDX (0) of the defect index table
Is updated to 11 and the number of expanded physical sectors of the defective bitmap is updated to 23. Further, the same data is recorded again in the next physical address 23 (S-23). At this time, since the physical address 23 is a normal sector, no defect information is recorded, and the number of developed physical sectors on the defect bit map is not counted. , The number of expanded logical sectors is incremented. As a result, as shown in FIG.
Is recorded, the expanded physical number on the defect bitmap is 2
4. The number of developed logical sectors is updated to 13, and the defect information is also developed on the defect bit map corresponding to each defective physical address as shown in FIG. Thus, the recording process of the defect bitmap and the defect index table accompanying the recording of the file F3 is completed. File F
3 is completed, the host computer 32
Instructs the drive 31 to record the directory information of the file F3 on the optical card. This directory information is information recorded as a user directory in the directory.

【0037】図8はそのディレクトリ情報を光カードの
ディレクトリ部に記録するときの処理の流れを示したフ
ローチャートである。図8において、ディレクトリ情報
を記録するにはドライブ31のMPU33は、まず欠陥
ビットマップを参照し、管理情報記録済みの物理セクタ
数を変数Pに代入する(S1)。管理情報記録済みの物
理セクタは管理情報を記録していない物理セクタの先頭
アドレスと同じで、ファイルF3を記録した段階ではS
−1からS−19までの19となる(図5、図7参
照)。次いで、欠陥ビットマップを参照して展開セクタ
数を取り出し、これと先に代入したPの値が一致するか
どうかを判断する(S2)。展開物理セクタ数は欠陥ビ
ットマップ管理外の先頭アドレスと等しく、ファイルF
3を記録した段階での展開物理セクタ数は図7に示すよ
うに24である。ここでは、2つの値は一致しないの
で、欠陥ビットマップを参照して先のPで指示される物
理アドレス(19番地)が欠陥であるかどうかを判断す
る(S3)。欠陥でなければ、Pをインクリメントし
(S4)、再度S2に戻って同じ処理を実行する。つま
り、物理アドレスを1つづつ加えていってその都度物理
アドレスが欠陥であるか否かを調べ、欠陥が見つかった
ところでS5へ進む。
FIG. 8 is a flowchart showing the flow of processing when recording the directory information in the directory section of the optical card. In FIG. 8, to record directory information, the MPU 33 of the drive 31 first substitutes the number of physical sectors for which management information has been recorded into a variable P with reference to the defect bitmap (S1). The physical sector in which the management information is recorded is the same as the start address of the physical sector in which the management information is not recorded.
It becomes 19 from -1 to S-19 (see FIGS. 5 and 7). Next, the number of developed sectors is extracted with reference to the defective bitmap, and it is determined whether or not the extracted sector number matches the value of P previously substituted (S2). The number of expanded physical sectors is equal to the head address outside the management of the defect bitmap.
The number of expanded physical sectors at the stage of recording 3 is 24 as shown in FIG. Here, since the two values do not match, it is determined whether or not the physical address (19) indicated by the preceding P is defective with reference to the defective bit map (S3). If it is not a defect, P is incremented (S4), and the process returns to S2 again to execute the same processing. That is, physical addresses are added one by one, and it is checked each time whether the physical address is a defect. When a defect is found, the process proceeds to S5.

【0038】この例では、物理アドレス19は欠陥であ
るので、Pの値を開始アドレスPsに代入し、また欠陥
連続数nに0を代入して初期化する(S5)。このとき
の物理アドレスPが欠陥リストの欠陥開始アドレスとな
る。次いで、物理アドレスPと欠陥連続数nをそれぞれ
インクリメントし(S6)、再度このときの物理アドレ
スが欠陥であるかどうかを判断する(S7)。もし、欠
陥でなければ欠陥が連続しないときであるのでS8へ進
む。ここでは、欠陥判断対象の物理アドレスは20であ
るが、この物理アドレス20は欠陥であるので、再度S
6に戻ってnとPをインクリメントする。こうして連続
する欠陥数を調べ、欠陥でない物理アドレスになると、
先の欠陥開始アドレスPsと欠陥連続数を欠陥リストと
して内部RAMに記憶させる(S8)。ここでは、欠陥
開始アドレスは19、欠陥連続数は2となり、これらの
情報は欠陥リスト1として作成される。次いで、再びS
2に戻って前記と同様の物理アドレスの欠陥と欠陥連続
数を検索する処理が行われる。ファイルF3の場合、次
の物理アドレスの欠陥開始アドレスは22、欠陥連続数
は1であり、これが欠陥リスト2として作成される。図
9はこうして作成されたディレクトリ情報D4を示して
おり、前述した欠陥リスト1,2のほかにファイルF3
に関する管理情報も同時に作成される。例えば、管理情
報としては開始論理セクタアドレス、管理論理セクタ数
などの情報である。これらのディレクトリ情報D4は図
5に示すように光カードのディレクトリ領域3に記録さ
れる。また、ファイルF3を追加記録したことにより、
図7に示すように欠陥ビットマップの管理情報記録済み
の物理セクタ数を24に、管理情報記録済みの論理セク
タ数を13にそれぞれ更新して、ファイルF3の記録を
終了する。
In this example, since the physical address 19 is a defect, the value of P is substituted for the start address Ps, and 0 is substituted for the number n of consecutive defects to initialize (S5). The physical address P at this time is the defect start address of the defect list. Next, the physical address P and the number n of consecutive defects are incremented respectively (S6), and it is determined again whether or not the physical address at this time is a defect (S7). If it is not a defect, it means that the defect is not continuous, so the process proceeds to S8. Here, the physical address of the defect determination target is 20, but since this physical address 20 is defective, the S
Returning to 6, increment n and P. In this way, the number of consecutive defects is checked, and if a physical address that is not a defect
The previous defect start address Ps and the number of consecutive defects are stored in the internal RAM as a defect list (S8). Here, the defect start address is 19, the number of consecutive defects is 2, and such information is created as the defect list 1. Then again S
Returning to step 2, a process for searching for a defect at the physical address and the number of consecutive defects as described above is performed. In the case of the file F3, the defect start address of the next physical address is 22 and the number of consecutive defects is 1, and this is created as the defect list 2. FIG. 9 shows the directory information D4 created in this way. In addition to the defect lists 1 and 2 described above, the file F3
Management information is also created at the same time. For example, the management information is information such as a start logical sector address and the number of management logical sectors. The directory information D4 is recorded in the directory area 3 of the optical card as shown in FIG. Also, by additionally recording the file F3,
As shown in FIG. 7, the number of physical sectors in which management information is recorded in the defect bitmap is updated to 24, and the number of logical sectors in which management information is recorded is updated to 13, and the recording of the file F3 is completed.

【0039】本実施例では、例えば光カードのトラック
数を2500、1トラックのセクタ数を最大16セクタ
とすると、欠陥ビットマップに必要なメモリ容量は16
(セクタ/トラック)×2500=40kビット(5k
バイト)となる。また、欠陥インデックステーブルに必
要なメモリ容量は、16(セクタ/トラック)×250
0÷128=313バイトとなり、合計では約5.3k
バイトとなる。従って同じ条件で従来の欠陥リストの全
てをメモリに蓄える方法と比較した場合、メモリ容量は
従来の約1/15以下で済み、メモリ容量を大幅に削減
することができる。
In this embodiment, if the number of tracks of the optical card is 2500 and the number of sectors per track is 16 at the maximum, the memory capacity required for the defect bit map is 16
(Sector / track) × 2500 = 40 k bits (5 k
Bytes). The memory capacity required for the defect index table is 16 (sectors / track) × 250.
0 ÷ 128 = 313 bytes, about 5.3k in total
It becomes bytes. Therefore, when compared with the conventional method of storing all of the defect list in the memory under the same condition, the memory capacity is about 1/15 or less of the conventional method, and the memory capacity can be greatly reduced.

【0040】[0040]

【発明の効果】以上説明したように本発明は、メモリ内
に、記録担体の各物理アドレスを1ビットでその物理ア
ドレスのセクタが欠陥セクタか否かを示し、且つn個の
物理アドレスのビットを含むm個のブロックの欠陥ビッ
トマップ、及び欠陥ビットマップのブロックごとの欠陥
セクタの数を示す欠陥インデックステーブルを形成し、
ホストコンピュータから論理アドレスを指定されると、
欠陥インデックステーブルに基づいて指定された論理ア
ドレスに対応する物理アドレスのビットが欠陥ビットマ
ップ上のどのブロックに存在するかを検索し、検索され
たブロックのビット列から論理アドレスを物理アドレス
に変換するようにしたので、欠陥情報の記録に要するメ
モリ容量を従来に比べて大幅に削減でき、装置の小型
化、低価格化に大きく寄与できるという効果がある。
As described above, according to the present invention, the memory
Next, each physical address of the record carrier is represented by one bit.
Address sector is a defective sector and n
Defective bits of m blocks including bits of physical address
Block and defect bitmap for each block
Forming a defect index table indicating the number of sectors,
When a logical address is specified by the host computer,
The logical address specified based on the defect index table
The bit of the physical address corresponding to the address
Search for which block on the
Logical address to physical address from bit string of block
Since the conversion is made to , the memory capacity required for recording the defect information can be significantly reduced as compared with the related art, and there is an effect that it is possible to greatly contribute to downsizing and cost reduction of the device.

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

【図1】本発明による欠陥ビットマップと欠陥インデッ
クステーブルを用いて論理アドレスを物理アドレスに変
換し、データを読み出す方法の一実施例を示したフロー
チャートである。
FIG. 1 is a flowchart illustrating an embodiment of a method for converting a logical address into a physical address using a defect bit map and a defect index table and reading data according to the present invention.

【図2】図16のディレクトリの欠陥リストをまとめて
示した図である。
FIG. 2 is a diagram collectively showing a defect list in a directory shown in FIG.

【図3】本発明に用いる欠陥ビットマップ及び欠陥イン
デックステーブルの具体例を示した図である。
FIG. 3 is a diagram showing a specific example of a defect bit map and a defect index table used in the present invention.

【図4】図3の欠陥ビットマップのバイト0から3まで
を詳細に示した図である。
FIG. 4 is a diagram showing in detail bytes 0 to 3 of the defect bit map of FIG. 3;

【図5】情報記録担体として使用される光カードの記録
面とそれに記録されたファイルデータ、ディレクトリ情
報及び各セクタの物理アドレスを示した図である。
FIG. 5 is a diagram showing a recording surface of an optical card used as an information recording carrier, file data and directory information recorded on the recording surface, and a physical address of each sector.

【図6】図5の光カードのファイルF3を記録したとき
に更新された欠陥ビットマップの欠陥情報を示した図で
ある。
FIG. 6 is a diagram showing defect information of a defect bitmap updated when recording a file F3 of the optical card of FIG. 5;

【図7】図5のファイルF3を記録したときの欠陥ビッ
トマップ及び欠陥インデックステーブルを示した図であ
る。
FIG. 7 is a diagram showing a defect bit map and a defect index table when the file F3 of FIG. 5 is recorded.

【図8】図5のファイルF3のディレクトリ情報を欠陥
ビットマップをもとに作成する方法の一実施例を示した
フローチャートである。
FIG. 8 is a flowchart showing an embodiment of a method for creating directory information of a file F3 in FIG. 5 based on a defect bitmap.

【図9】図8の方法で作成されたディレクトリ情報の内
容を示した図である。
FIG. 9 is a diagram showing the contents of directory information created by the method of FIG. 8;

【図10】先願例の情報記録再生方法に使用される情報
記録再生装置の一例を示した構成図である。
FIG. 10 is a configuration diagram showing an example of an information recording / reproducing apparatus used in the information recording / reproducing method of the prior application example.

【図11】上記先願例の情報記録再生方法に使用される
光カードの記録面を示した図である。
FIG. 11 is a diagram showing a recording surface of an optical card used in the information recording / reproducing method of the above-mentioned prior application example.

【図12】図11の光カードに記録されたディレクトリ
情報のうち欠陥情報を概念的に示した図である。
FIG. 12 is a diagram conceptually showing defect information among directory information recorded on the optical card of FIG. 11;

【図13】上記先願例に使用されるユーザディレクトリ
とシステムディレクトリの内容を示した図である。
FIG. 13 is a diagram showing the contents of a user directory and a system directory used in the above-mentioned prior application example.

【図14】上記先願例による情報記録方法を示したフロ
ーチャートである。
FIG. 14 is a flowchart showing an information recording method according to the above-mentioned prior application example.

【図15】上記先願例によるディレクトリの記録方法を
示したフローチャートである。
FIG. 15 is a flowchart showing a directory recording method according to the prior application example.

【図16】図15のディレクトリの記録方法で記録され
るディレクトリの内容を示した図である。
FIG. 16 is a diagram showing the contents of a directory recorded by the directory recording method of FIG.

【図17】上記先願例の情報記録再生方法において、論
理アドレスを物理アドレスに変換し、データを読み出す
方法を示したフローチャートである。
FIG. 17 is a flowchart showing a method of converting a logical address into a physical address and reading data in the information recording / reproducing method of the above-mentioned prior application.

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

1 光カード 2 データ領域 3 ディレクトリ領域 31 情報記録再生装置(ドライブ) 32 ホストコンピュータ 33 MPU D1〜D4 ディレクトリ F1〜F3 ファイル Reference Signs List 1 optical card 2 data area 3 directory area 31 information recording / reproducing device (drive) 32 host computer 33 MPU D1-D4 directory F1-F3 file

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のセクタが規則的に配置され、夫々
のセクタにその位置を示す物理アドレスが配置の順に先
頭から数えた番地として付与された追記型情報記録担体
と、前記記録担体にデータを記録し、また前記記録担体
からデータを読み出す記録再生装置と、ホストコンピュ
ータと、メモリを有し前記ホストコンピュータの指示に
基づき前記記録再生装置を制御するマイクロプロセッサ
とを用い、前記記録担体にファイルデータを記録すると
共に、前記記録担体に欠陥セクタの情報を含むディレク
トリデータを記録してファイルデータの記録再生を管理
する方法であって、前記ディレクトリデータに基づい
て、前記複数のセクタの内、欠陥セクタを除いたセクタ
のみを配置の順に先頭から数えた番地として表される論
理セクタを物理セクタに変換する情報記録再生方法にお
いて、前記マイクロプロセッサは、前記記録担体から読
み出したディレクトリデータに基づいて、前記メモリ内
に、前記記録担体の各物理アドレスをそれぞれ1ビット
に対応させて各ビットの値でその物理アドレスにあるセ
クタが欠陥セクタか否かを示し、且つ、n個の物理アド
レスに対応するビットをそれぞれ含むm個のブロックか
ら成る欠陥ビットマップと、前記欠陥ビットマップのブ
ロックごとにそのブロック内の欠陥セクタの数を示す欠
陥インデックステーブルとを形成し、前記ホストコンピ
ュータから論理アドレスを指定されると、前記マイクロ
プロセッサは前記欠陥インデックステーブルに基づい
て、指定された論理アドレスに対応する物理アドレスの
ビットが、欠陥ビットマップ上のどのブロックに存在す
るか検索し、検索されたブロックのビット列から指定さ
れた論理アドレスを物理アドレスに変換することを特徴
とする情報記録再生方法。
1. A plurality of sectors are regularly arranged, each of which is
The physical address indicating the position in the sector
Write-once information record carrier assigned as address counted from head
Recording data on the record carrier, and the record carrier
A recording and playback device that reads data from the
Data and a memory, and can receive instructions from the host computer.
Microprocessor for controlling the recording / reproducing apparatus based on the microprocessor
When file data is recorded on the record carrier using
In both cases, a directory containing information on defective sectors is stored on the record carrier.
Record tri-data and manage recording and playback of file data
A method based on the directory data
Out of the plurality of sectors, excluding the defective sector.
Is expressed as an address counting only from the top in the order of arrangement
Information recording / reproducing method for converting a physical sector into a physical sector.
The microprocessor reads from the record carrier.
Based on the extracted directory data,
Each physical address of the record carrier is 1 bit.
The value of each bit corresponding to the
Indicates whether the sector is a defective sector and n physical addresses
M blocks each containing a bit corresponding to the address
A defect bitmap, and a block of the defect bitmap.
A defect that indicates the number of defective sectors in that block for each lock.
The index table is formed with the host computer.
When a logical address is specified from the computer,
The processor is based on the defect index table.
Of the physical address corresponding to the specified logical address
Which block the bit is on in the defective bitmap
Or search and specify from the bit string of the searched block.
An information recording / reproducing method characterized by converting a logical address into a physical address .
【請求項2】 前記欠陥インデックステーブルのブロッ
ク数m及び前記欠陥ビットマップの1ブロックの物理ア
ドレス数nは、物理アドレスの検索時間が最短となるよ
うに、Tb×n=Ti×m(Tb;欠陥ビットマップの
単位検索時間、Ti;欠陥インデックステーブルの単位
検索時間)に設定されていることを特徴とする請求項1
の情報記録再生方法。
2. The block of the defect index table.
The number of blocks m and the physical address of one block of the defective bitmap.
The number of dresses n is the shortest for the search time of the physical address.
Thus, Tb × n = Ti × m (Tb;
Unit search time, Ti; unit of defect index table
2. The search time is set to (search time).
Information recording and reproduction method.
【請求項3】 前記欠陥ビットマップ及び欠陥インデッ
クステーブルの欠陥情報は、データ記録時に欠陥が検出
されるごとに更新されることを特徴とする請求項1の情
報記録再生方法。
3. The defect bitmap and defect index.
The defect information in the work table is detected when data is recorded.
2. The information recording / reproducing method according to claim 1, wherein the information is updated every time the information is recorded.
JP5316893A 1993-02-19 1993-02-19 Information recording and playback method Expired - Fee Related JP2597451B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP5316893A JP2597451B2 (en) 1993-02-19 1993-02-19 Information recording and playback method
DE69424078T DE69424078T2 (en) 1993-02-19 1994-02-18 Data reproduction method and device
EP94301185A EP0612071B1 (en) 1993-02-19 1994-02-18 Information reproducing method and apparatus
US08/200,013 US5526335A (en) 1993-02-19 1994-02-22 Information reproducing method comprising the step of preparing a defect bit map and a defect index table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5316893A JP2597451B2 (en) 1993-02-19 1993-02-19 Information recording and playback method

Publications (2)

Publication Number Publication Date
JPH06243472A JPH06243472A (en) 1994-09-02
JP2597451B2 true JP2597451B2 (en) 1997-04-09

Family

ID=12935334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5316893A Expired - Fee Related JP2597451B2 (en) 1993-02-19 1993-02-19 Information recording and playback method

Country Status (1)

Country Link
JP (1) JP2597451B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694046B1 (en) * 2003-12-24 2007-03-12 삼성전자주식회사 Data recording apparatus, method thereof, data reproducing apparatus, method thereof and recording disc once
KR20120039985A (en) 2010-10-18 2012-04-26 삼성전자주식회사 Method for processing read or write operation for recording media, parameter adjusting method in storage device, storage device, computer system and storage medium applying the same
US9368152B1 (en) 2014-11-25 2016-06-14 Seagate Technology Llc Flexible virtual defect padding

Also Published As

Publication number Publication date
JPH06243472A (en) 1994-09-02

Similar Documents

Publication Publication Date Title
US5526335A (en) Information reproducing method comprising the step of preparing a defect bit map and a defect index table
US5270877A (en) Information recording medium and information recording and reproducing apparatus
US8472296B2 (en) Information recording medium, recording/reproducing apparatus, and recording/reproducing method to distinguish between an original recording block and a replacement recording block
US5442614A (en) Method of recording data and information regarding defects
JPH10112166A (en) Optical disk finalization method and optical disk finalization device
JP4769881B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
RU2343567C2 (en) Data carrier, write/read device and method
CN101089975B (en) Recording method and optical disk recording device
JP3132701B2 (en) Information recording method
JP2597451B2 (en) Information recording and playback method
JPH10312650A (en) Optical disk recording device
JP2790265B2 (en) Information recording method
JP3376297B2 (en) Alternative area setting system for defective area on information storage medium
JP4713140B2 (en) Digital data recording method, recording apparatus and reproducing apparatus
JP2713372B2 (en) Information recording and playback method
JPS6134773A (en) Information recording system
EP0961276A1 (en) Method of recording information on a record carrier, recording apparatus and record carrier
KR101439843B1 (en) Information recording medium, recording/reproducing apparatus, and recording/reproducing method
JPH01154382A (en) Optical disk file device
JP2002150711A (en) Information recording / reproducing apparatus and information recording / reproducing method
JPH10154389A (en) Information recording medium, reproducing apparatus for reproducing the same, and apparatus for simulating information recording medium
JPH0246584A (en) Method for filing optical disk
EP0961278A1 (en) Record carrier, method of recording information on a record carrier, recording apparatus and playback device
JPH08339661A (en) Recording / reproducing apparatus for disc-shaped recording medium
JPH02116063A (en) Optical card

Legal Events

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