[go: up one dir, main page]

JPS6348662A - Information recording and reproducing method for optical disk device - Google Patents

Information recording and reproducing method for optical disk device

Info

Publication number
JPS6348662A
JPS6348662A JP19206786A JP19206786A JPS6348662A JP S6348662 A JPS6348662 A JP S6348662A JP 19206786 A JP19206786 A JP 19206786A JP 19206786 A JP19206786 A JP 19206786A JP S6348662 A JPS6348662 A JP S6348662A
Authority
JP
Japan
Prior art keywords
block
blocks
data
optical disk
replacement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19206786A
Other languages
Japanese (ja)
Inventor
Masaaki Kobayashi
正明 小林
Kenji Tokumitsu
徳光 健司
Yuji Yamane
裕二 山根
Takashi Doi
隆 土井
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP19206786A priority Critical patent/JPS6348662A/en
Publication of JPS6348662A publication Critical patent/JPS6348662A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

PURPOSE:To prevent erroneous access to a block by a host device by allowing a controller to assign an alternative block automatically to a block disabled for erasure on an optical disk or a block disabled of write so as to manage the blocks. CONSTITUTION:The area consists of a user area 31 comprising tracks TN-Tn, an alternative area 32 comprising tracks T1-Tn, and a block management area 33 comprising a track T0 provided newly. The block management area 33 is an area to record a conversion list between blocks disabled of data erature or data write and their alternative blocks. Then in accessing the alternative block 32, the conversion list between defective blocks, blocks disabled of old data erature and disabled of new data write and their relevant alternative blocks is recorded on the optical disk and the list is referenced at readout of data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は光ディスク装置の情報記録再生方法に係り、特
に光ディスク上にデータの消去またはデータの書き込み
が不可能なブロックが発生した際に好適な情報記録再生
方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an information recording and reproducing method for an optical disc device, and is particularly suitable for use when a block in which data cannot be erased or written is generated on an optical disc. This invention relates to an information recording and reproducing method.

〔従来の技術〕[Conventional technology]

光ディスクにおいては、光ディスクへの情報古き込み直
後の読み出しチェックを行ない、データの書き込み品質
が不充分なブロック(不良プロソり)を検出する処理(
リード・アフタ・ライト処理)が行なわれている。この
リード・アフタ・ライト処理において、不良ブロックが
検出されると、交替ブロックに対して、再度同一データ
の書き込みを行ない、不良ブロックに対処している。し
かし、−Sに光ディスクは磁気ディスクと比較して媒体
の信頼度が低く、不良ブロックが多い。そのため不良ブ
ロックからのデータ読み出し時に必ずその交替ブロック
をアクセスすると、交替ブロックへのアクセス回数が多
くなるため、タイムロスが増大し、性能の低下を招く。
For optical discs, a process is performed to check the read immediately after the information is written to the optical disc and detect blocks with insufficient data writing quality (bad processors).
read-after-write processing) is being performed. In this read-after-write process, when a defective block is detected, the same data is written to a replacement block again to deal with the defective block. However, -S optical disks have lower media reliability than magnetic disks, and have many defective blocks. Therefore, if the replacement block is always accessed when reading data from a defective block, the number of accesses to the replacement block will increase, increasing time loss and degrading performance.

このため、従来の光ディスク装置においては、特開昭5
9−165207号公報に記載のように、−度不良ブロ
ックとされた場合でも、その後の8売み出しにおいて、
データを正しく読み取ることができたならば、交替ブロ
ックをアクセスしないことにより、交替ブロックへのア
クセスによるタイムロスを減少させるという方式が提案
されている。
For this reason, in conventional optical disk devices,
As described in Publication No. 9-165207, even if the block is classified as a -degree defective block, in the subsequent 8 sales,
A method has been proposed in which if the data can be read correctly, the spare block is not accessed, thereby reducing the time loss caused by accessing the spare block.

また従来の光ディスクに対するデータの記録は媒体の不
可逆的変化により行われるため、−度書込まれたデータ
を物理的に消去すること;よ不可能である。このためデ
ータの消去は、消去を示すフラッグを媒体上に書込むと
いうことにより行われており、消去動作においてこのフ
ラッグが正しく書き込めなかった際には、上位装置に異
常を報告して処理を打ち切っていた。
Furthermore, since data is recorded on conventional optical discs by irreversible changes in the medium, it is impossible to physically erase data once written. For this reason, data is erased by writing a flag indicating erasure on the medium, and if this flag cannot be written correctly during the erase operation, an error is reported to the host device and the process is aborted. was.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術において、消去不可能なブロック(フラッ
グが正しく書き込めない)を検出した際に上位装置に異
常を報告するという方式をとると、上記ブロックの管理
のため上位装置の負担を増大させることとなる。また、
当該光ディスク装置を複数の上位装置で共用する場合、
異常を報告されていない上位装置は消去が不可能だった
ブロックに対して、それとは知らずにアクセスしてしま
い、消去前の旧データを読み出してしまう恐れがある。
In the conventional technology described above, if a method is adopted in which an abnormality is reported to the host device when an unerasable block (a flag cannot be written correctly) is detected, the burden on the host device to manage the block increases. Become. Also,
If the optical disk device is shared by multiple host devices,
There is a risk that a host device to which no abnormality has been reported may unknowingly access a block that cannot be erased and read old data before erasing.

また、近年、光磁気、相変位を利用し、−度書き込まれ
た情報を消去した後、再び同一箇所へ書き込みを行うこ
とのできる消去可能光ディスクの実用化が進んでいる。
In addition, in recent years, erasable optical discs have been put into practical use that utilize magneto-optical technology and phase displacement to erase information that has been written twice and then write again to the same location.

この物理的に消去可能な光ディスクにおいて、消去が不
可能なブロックが発生した場合、旧情報が媒体上に残っ
たままとなる。
In this physically erasable optical disk, if a block that cannot be erased occurs, old information remains on the medium.

このとき、前記特開昭59−165207号公報に記載
された従来技術により、データがエラーなしで読み取ら
れたならば交替ブロックをアクセスしないことにすると
、誤って更新前の情報を読み出してしまう恐れがある。
At this time, if the conventional technology described in the above-mentioned Japanese Patent Application Laid-Open No. 59-165207 decides not to access the replacement block if the data has been read without error, there is a risk that the information before the update will be read out by mistake. There is.

本発明は、上記した従来技術の問題点に鑑みなされたも
ので、消去を行えないブロック、或は情報が書き込めな
いブロックの管理を制御装置が行い、上位装置による上
記ブロックへの誤ったアクセスを防止する光ディスク装
置の情報記録再生方法を提供することを目的としている
The present invention was made in view of the problems of the prior art described above, and a control device manages blocks that cannot be erased or blocks in which information cannot be written, and prevents erroneous access to the blocks by a host device. It is an object of the present invention to provide an information recording and reproducing method for an optical disc device that prevents the above problems.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の光ディスク装置の情報記録再生方法は、光ディ
スクへの情報書き込み直後に、書き込んだデータの読み
出しチェックを行ない、データ品質の不十分な不良ブロ
ックが検出された場合、不良ブロックを交替ブロックに
割り当て、同一データを書き込んでおく光ディスク装置
において、上記不良ブロックの他に、データ更新時に、
旧データの消去が不可能なブロックと新データの書き込
みが不可能なブロックを検出して、交替ブロックに割り
当て、データの読み出し時には上記交替ブロックをアク
セスすることを特徴としている。
In the information recording and reproducing method of an optical disk device of the present invention, immediately after information is written to an optical disk, a reading check is performed on the written data, and if a defective block with insufficient data quality is detected, the defective block is assigned to a replacement block. , in an optical disk device that writes the same data, in addition to the above bad blocks, when updating data,
The feature is that blocks in which old data cannot be erased and blocks in which new data cannot be written are detected and allocated to replacement blocks, and the replacement blocks are accessed when reading data.

そして、上記交替ブロックのアクセスは、例えば前記不
良ブロックと旧データの消去が不可能なブロックと新デ
ータの書き込みが不可能なブロックとに対する交替ブロ
ックとの対応表を光ディスクに記録し、データの読み出
し時には上記対応表を参照することによって行なわれる
。この場合、光ディスクに記録された対応表を、光ディ
スク装置の駆動時又は光ディスクの交換時に光ディスク
装置の制御部内のメモリに格納し、格納された対応表を
参照する様にしても良い。
To access the replacement block, for example, a correspondence table of replacement blocks for the defective blocks, blocks in which old data cannot be erased, and blocks in which new data cannot be written is recorded on an optical disk, and the data is read out. Sometimes this is done by referring to the above correspondence table. In this case, the correspondence table recorded on the optical disc may be stored in a memory in the control unit of the optical disc apparatus when the optical disc apparatus is driven or when the optical disc is replaced, and the stored correspondence table may be referred to.

〔作用〕[Effect]

本発明によれば、不良ブロックや消去不可能なブロック
等を検出して、交替トラックに割り当て、データの読み
出し時には、上記交替トラックをアクセスする様にして
いる。そのため、不良プロソりや消去不可能なブロック
等への誤ったアクセスが防止される。
According to the present invention, defective blocks, unerasable blocks, etc. are detected and assigned to a replacement track, and the replacement track is accessed when reading data. Therefore, erroneous access to defective processors, unerasable blocks, etc. is prevented.

特に、不良ブロックや消去不可能なブロック等と交替ブ
ロックとの対応表を、光ディスク上に記1、得シ、更に
制’+’JII部のメモリ内に上記対応表を格納し、こ
の対応表を参照することにより、確実に交替ブロックを
アクセスすることができる。
In particular, a correspondence table between defective blocks, unerasable blocks, etc. and replacement blocks is recorded on the optical disk, and the above correspondence table is also stored in the memory of the control JII section. By referring to , the replacement block can be reliably accessed.

〔実施例〕〔Example〕

以下、添付の図面に示す実施例により、更に詳細に本発
明について説明する。
Hereinafter, the present invention will be explained in more detail with reference to embodiments shown in the accompanying drawings.

第2図は本発明で使用する光ディスクの一例を示す図で
ある。第2図に示す光ディスク1としては、光磁気型又
は相変位型の光ディスクの様に、書き込まれたデータの
物理的消去が可能なものを例にして、以下説明する。図
示する様に光ディスク1は、記録面に複数のトラックT
、、+”r、l−、・・・を有し、各トラックは記録単
位となる複数のブロックBに分割されている。第1図で
は、各トラックはスパイラル状に形成しであるが、これ
は同心円状に形成されていてもよい。
FIG. 2 is a diagram showing an example of an optical disc used in the present invention. The optical disk 1 shown in FIG. 2 will be described below, taking as an example an optical disk of a magneto-optical type or a phase displacement type, in which written data can be physically erased. As shown in the figure, the optical disc 1 has a plurality of tracks T on the recording surface.
, +"r, l-, . . . and each track is divided into a plurality of blocks B serving as recording units. In FIG. This may also be formed in concentric circles.

各ブロックは、第3区に訓示するように、ブロックを識
別するための情報が記i、★されているID部2、当該
ブロックの状態を示す各種のフラッグ情報が記録される
フラッグ部3、画像やコード・データなどの各種情報が
ディジタル化して記録されるデータ部4、および上記デ
ータ部の信頼間を確保するためのエラーチェックやエラ
ー修正に必要なコードであるECC(エラー・コレクシ
ョン・コード)が記録されるECC部5からなる。
Each block includes an ID section 2 in which information for identifying the block is written with i and ★, and a flag section 3 in which various flag information indicating the status of the block is recorded, as instructed to the third district. A data section 4 in which various information such as images, codes, and data is digitized and recorded, and an ECC (Error Correction Code), which is a code necessary for error checking and error correction to ensure reliability of the data section. ) is recorded in the ECC section 5.

第4図は、光ディスク1の各トラックT0〜Tr+の割
り当て例を示すものである。図示する様に、トラックT
)l−T、から構成されるユーザ領域31と、トラック
T1〜T、、から成る交替領域32と、トラックT、か
ら成り本発明により新たに設けられたブロック管理領域
33とから構成されている。
FIG. 4 shows an example of allocation of the tracks T0 to Tr+ of the optical disc 1. As shown, track T
) l-T, a replacement area 32 consisting of tracks T1 to T, and a block management area 33 newly provided according to the present invention consisting of track T. .

ここで、ユーザ領域31はユーザが自由に情報の書き込
みおよび読み出しのできる領域である。交替領域32は
、不良ブロックが検出された際の当該不良ブロックに対
する交替プロ・7りのだめの領域である。ブロック管理
領域33は、データの消去が不可能なブロックまたはデ
ータの書き込みが不可能なブロックとその交替ブロック
の対応表を記録しておくための領域である。
Here, the user area 31 is an area where the user can freely write and read information. The replacement area 32 is a replacement area for a defective block when the defective block is detected. The block management area 33 is an area for recording a correspondence table between blocks in which data cannot be erased or data cannot be written and their replacement blocks.

第5図は光ディスク装置の立上げ時の処理を示すフロー
チャートである。図示する様に、光ディスクの駆動装置
あるいは制御装置の電源が投入された時、および光ディ
スクが交換された時など、制御装置が新たな光ディスク
を認識した場合に、当該光ディスク上のブロック管理領
域31から、当咳光ディスク上で以前に検出されている
消去不可能なブロックあるいは書き込み不可能なブロッ
クとその交替ブロックとの対応表を読み出す。この対応
表は、これ以降のデータ消去動作、データ書き込み動作
、およびデータ読み出し動作の制御に用いられるべく制
御装置内のメモリに格納される。
FIG. 5 is a flowchart showing the processing at the time of starting up the optical disc device. As shown in the figure, when the control device recognizes a new optical disk, such as when the power of the optical disk drive or control device is turned on or when the optical disk is replaced, the block management area 31 on the optical disk is , reads out a correspondence table between non-erasable blocks or non-writable blocks previously detected on the optical disc and their replacement blocks. This correspondence table is stored in the memory within the control device for use in controlling subsequent data erasing, data writing, and data reading operations.

第1図は、上記した対応表の一例を示す図である。この
対応表は、図示する様に、消去不可能もしくは書き込み
不可能なブロックのIDと、それに対する交替ブロック
のIDとから構成されている。この対応表は、全部でに
個の消去不可能もしくは書き込み不可能なブロックが検
出されている場合のものである。
FIG. 1 is a diagram showing an example of the above-mentioned correspondence table. As shown in the figure, this correspondence table is composed of IDs of non-erasable or non-writable blocks and IDs of replacement blocks therefor. This correspondence table is for the case where a total of non-erasable or non-writable blocks are detected.

先ず、チャネルやホストコンピュータ等の上位装置から
制御装置に対して光ディスク上のブロックに書込まれて
いるデータの消去命令が出された場合を考える。この場
合、制御装置は第6図に示す如く、まず上位装置から指
定されたブロックが既に前記対応表に登録されているか
どうかをチェックして(ステップ11L112)、もし
登録されているならば、対応表から指定されたブロック
に対する交替ブロックのIDを得て(ステップ113)
、交替ブロック上に記録されているデータの消去を試み
る(ステップ114)。この時、データの消去に成功し
たならば、光ディスクζこ対する動作を終了し、もしデ
ータの消去に成功しなかったならば上位装置から指定さ
れたブロックに対して新たな交替ブロックを割り当て(
ステップ115.H6)、jail j卸装置内の前記
対応表を指定されたブロックに対する交替ブロックか新
たに割り当てた交替プロ、りとなるように変更して(ス
テップ117)、この新しい対応表を光ディスク上のブ
ロック管理領域33に書き込み(ステップ122)、光
ディスクに対する動作を終了する。また、上位装置から
指定されたプロ・ツクが前記対応表に登録されていない
ならば、制御装置は上位装置から指定されたブロックの
消去を試みる(ステップ112.118)。ここで消去
動作に成功したならば、消去動作は完了とし、もし消去
動作に失敗したならば、上位装置から指定されたブロッ
クに交替ブロックを割り当て(ステップ119゜120
)、上位装置から指定されたブロックとその交替ブロッ
クを制御装置内の前記対応表に追加しくステップ121
)、この新しい対応表を光ディスク上のブロック管理領
域33に占き込み(ステップ122)、光ディスクに対
する動作を終了する。
First, consider a case where a higher-level device such as a channel or a host computer issues an instruction to erase data written in a block on an optical disk to a control device. In this case, as shown in FIG. 6, the control device first checks whether the block designated by the host device has already been registered in the correspondence table (step 11L112), and if so, Obtain the ID of the replacement block for the specified block from the table (step 113)
, attempts to erase data recorded on the replacement block (step 114). At this time, if the data has been successfully erased, the operation for the optical disk ζ is completed; if the data has not been successfully erased, a new replacement block is allocated to the block specified by the host device (
Step 115. H6), change the correspondence table in the jail j wholesaler so that it becomes a replacement block for the specified block or a newly allocated replacement program (step 117), and change this new correspondence table to the block on the optical disk. The information is written to the management area 33 (step 122), and the operation for the optical disc is completed. If the program designated by the host device is not registered in the correspondence table, the control device attempts to erase the block designated by the host device (steps 112 and 118). If the erase operation is successful here, the erase operation is completed; if the erase operation is unsuccessful, a replacement block is assigned to the block specified by the host device (steps 119 and 120).
), the block specified by the host device and its replacement block are added to the correspondence table in the control device (step 121).
), this new correspondence table is inserted into the block management area 33 on the optical disc (step 122), and the operation for the optical disc is completed.

上記の動作において交替ブロックとして常に消去済のブ
ロックをfilり当てるようにすれば、上記装置から指
定されたブロックに対する交替ブロックは消去済である
ことが保証される。
If an erased block is always assigned to fil as a replacement block in the above operation, it is guaranteed that the replacement block for the block specified by the device is erased.

次に、上位装置から制御装置に対して光ディスク上のブ
ロックへのデータ書き込み命令が出された場合を考える
。本実施例では、光ディスクが物理的に消去可能なもの
であるため、書き込み命令が出されたブロックに既にデ
ータが書き込まれている場合、当該ブロック上のデータ
をまず消去する必要がある。消去動作については、上記
の上位WiZから消去命令が出された時の動作と同一で
ある。消去動作の後、制御装置は、第7図に示す如く書
き込みが指定されたブロックが制御装置内の対応表に登
録されているかどうかをチェ、りして(ステップ13L
 132)、もし登録されているならば、対応表から指
定されたブロックに対する交替ブロックのIDを得て(
ステップ133)、交替ブロックにデータの書き込みを
試みる(ステップ134)。この時、データの書き込み
に成功したならば光ディスクに対する書き込み動作を終
了する(ステップ135)。データの書き込みに失敗し
たならば、上位装置からt旨定されたブロックに対して
新たな交替ブロックを割り当てる(ステップ135.1
36)。次に、制御装置内のメモリに格納されている対
応表を書き換えて、上位装置から指定されたブロックに
対する交替ブロックを新たに割り当てられたものにする
(ステップ137)。そして、この新しい対応表を光デ
ィスク上のブロック管理領域33に記録して(ステップ
138)、更に新たな交替ブロックに指定されたデータ
を書き込んで(ステップ139)、光ディスクに対する
動作を終了する。
Next, consider a case where a host device issues a command to write data to a block on an optical disk to a control device. In this embodiment, since the optical disk is physically erasable, if data has already been written in a block to which a write command has been issued, it is necessary to first erase the data on the block. The erase operation is the same as the operation when an erase command is issued from the above-mentioned upper WiZ. After the erase operation, the control device checks whether the block specified for writing is registered in the correspondence table in the control device as shown in FIG. 7 (step 13L).
132), if it is registered, obtain the ID of the replacement block for the specified block from the correspondence table (
Step 133), an attempt is made to write data to the replacement block (step 134). At this time, if the data writing is successful, the writing operation on the optical disc is ended (step 135). If data writing fails, a new replacement block is allocated to the block specified by the host device (step 135.1).
36). Next, the correspondence table stored in the memory within the control device is rewritten so that the replacement block for the block specified by the host device is newly allocated (step 137). Then, this new correspondence table is recorded in the block management area 33 on the optical disc (step 138), and the specified data is further written in a new spare block (step 139), thereby completing the operation on the optical disc.

また、上位2.Zに指定されたブロックが前記対応表に
登録されていないならば(ステップ132)、制?II
I装置は上位装置から指定されたブロックにデータの書
き込みを試みる(ステップ140)。ここで、データの
書き込みに成功したならば、記録媒体に対する動作を終
了し、(ステップ140)、データの書き込みに失敗し
たならば、上位装置から指定されたブロックに交替ブロ
ックを割り当て(ステップ141,142)、上位装置
から指定されたブロックとその交替ブロックを制御′I
II装置内の前記対応表に追加する(ステップ143)
。そして、この新しい対応表を記録媒体上のブロック管
理領域33に記録して(ステップ145)、更に新たな
交替ブロックに指定されたデータを占き込んで(ステッ
プ146)、光ディスクに対する動作を終了する。
Also, top 2. If the block designated by Z is not registered in the correspondence table (step 132), the control? II
The I device attempts to write data to the block designated by the host device (step 140). Here, if data writing is successful, the operation on the recording medium is ended (step 140), and if data writing is unsuccessful, a replacement block is allocated to the block specified by the host device (step 141, 142), controls the block specified by the host device and its replacement block.
Add to the correspondence table in II device (step 143)
. Then, this new correspondence table is recorded in the block management area 33 on the recording medium (step 145), and the data specified in the new replacement block is read (step 146), and the operation for the optical disc is completed. .

尚、上記した実施例においては、新たに割り当てられた
交替ブロックに対する書き込み(ステップ139,14
6)が成功したか否かの判定は行っていないが、第7図
中に点線で示す様に、データの書き込みに失敗したなら
ば、再び新たな交替ブロックを割り当てるようにしても
よい。また、更新された対応表を記録媒体上のブロック
管理領域33に記録する動作(第6図中のステ・ノブ1
22、第7図中のステップ138.145)は、交替ブ
ロックにデータを書き込んだ後に実行してもよいし、上
位装置の当該光ディスクに対する一連の処理が終了した
時点で、まとめて実行しても良い。
In the above-described embodiment, writing to the newly allocated replacement block (steps 139 and 14)
Although it is not determined whether or not step 6) is successful, if writing of data fails, as shown by the dotted line in FIG. 7, a new replacement block may be allocated again. Also, the operation of recording the updated correspondence table in the block management area 33 on the recording medium (steer knob 1 in FIG.
22. Steps 138 and 145) in FIG. 7 may be executed after writing data to the replacement block, or may be executed all at once when the series of processes for the optical disk in question by the host device is completed. good.

最後に上位装置から制御装置に光ディスク上のブロック
に書かれているデータの読み出し命令が出された場合を
考える。この場合の動作は第8図に示すように制御装置
は上位装置から読み出しを指定されたブロックが制御装
置内の前記登録表に登録されているかどうかをチェック
しくステップ151)、もし登録されているならば、前
記対応表から上位装置から指定されたブロックに対する
交替ブロックのTDを得て(ステップ152.153)
、交替ブロック上に書かれているデータを読み出す(ス
テップ154)。そして上位装置から指定されたブロッ
クが前記対応表に登録されていないならば、上位装置か
ら指定されたブロックのデータをそのまま読み出して(
ステップ152.155)、光ディスクに対する動作を
終了する。
Finally, let us consider the case where the host device issues a command to the control device to read data written in a block on the optical disk. The operation in this case is as shown in FIG. 8, in which the control device checks whether the block specified to be read from the host device is registered in the registration table in the control device (step 151), and if it is registered. If so, obtain the TD of the replacement block for the block specified by the host device from the correspondence table (steps 152 and 153).
, reads the data written on the replacement block (step 154). If the block specified by the host device is not registered in the correspondence table, the data of the block specified by the host device is read as is (
Steps 152 and 155) end the operation on the optical disc.

以上に示した如く、制j7fJ ’A置が光ディスク上
の消去不可能なブロックおよび書き込みが不可能なプロ
とその交替ブロックとの対応表を用いて、上位装置から
の消去命令・書き込み命令および読み出し命令を制?′
fnすれば、消去不可能なブロックおよび書き込みが不
可能なブロックが検出された時、制御装置は上位装置に
異常を報告することなく自動的に交替ブロックを割り当
てるので、上位装置の負担は軽減される。さらに、上位
装置から読み出し命令が出された際、制御゛10装置は
上位装置から指定されたブロックが消去不可能ブロック
もしくは書き込み不可能なブロックかどうかを判断し、
上記プロ、りだったら自動的に交替ブロックかちデータ
を読み出すので、上位装置が誤って消去されないまま洩
っている旧データを読み出してしまうことを防止するこ
とができる。
As shown above, the control table uses the correspondence table between non-erasable blocks on the optical disk, non-writable blocks, and their replacement blocks to issue erase commands, write commands, and read commands from the host device. Control commands? ′
fn, when an unerasable block or an unwritable block is detected, the control device automatically allocates a replacement block without reporting an abnormality to the host device, reducing the burden on the host device. Ru. Furthermore, when a read command is issued from the host device, the controller 10 determines whether the block specified by the host device is a non-erasable block or a non-writable block.
Since the above-mentioned software automatically reads out the replacement block data, it is possible to prevent the host device from accidentally reading out old data that has not been erased.

また、本実施例において、消去不可能なブロックおよび
書き込みが不可能なブロックとその交替ブロックとの対
応表を光ディスク上に記録しておくという制?fftl
を行っているが、これは、光ディスクの様に記録媒体が
交換可能である時に特に大きな効果があり、制御装置は
記録媒体が交換された時、記録媒体上に記録されている
前記対応表を読み出し、新しい媒体の消去が不可能なブ
ロックおよび書き込み不可能なブロックとその交替ブロ
ックとの対応を知ることができる。
Furthermore, in this embodiment, there is a system in which a correspondence table between non-erasable blocks, non-writable blocks, and their replacement blocks is recorded on the optical disc. fftl
This is especially effective when the recording medium is replaceable, such as an optical disk, and when the recording medium is replaced, the control device reads the correspondence table recorded on the recording medium. It is possible to know the correspondence between blocks that cannot be read and erased on a new medium, blocks that cannot be written to, and their replacement blocks.

本実施例は、消去可能光ディスクを例にとって説明して
いるが、本発明はこれに塁定されるものではなく、例え
ばC〃気ディスク等のデータの書き込み時に同時に旧デ
ータの消去が行われる記録媒体に対しても同様に通用す
ることができる。この場合、データ書き込みに先立って
消去動作を行う必要がないので、上記装置から書き込み
命令を受は取った際、制′4JI!装置は直ちに第 図
に示す動作を実行すれば良い。消去命令および読み出し
命令を上位装置から受は取った際の制御は、前述の実施
例で示したものと同一である。
Although the present embodiment has been described using an erasable optical disc as an example, the present invention is not limited to this. The same applies to media. In this case, since there is no need to perform an erase operation prior to writing data, when a write command is received from the above device, the command '4JI! The device should immediately perform the operations shown in Figure. The control when receiving an erase command and a read command from a host device is the same as that shown in the previous embodiment.

また、本発明は、従来の追記形光ディスクの如く一度書
き込まれたデータを書き直すことが物理的に不可能な記
録媒体にも適用可能である。このような記録媒体に記録
されたデータの更新を行う際、通常、上位装置は別のブ
ロックを指定してデータを書き直す必要があった。本発
明によれば、データ更新命令が上位装置から出された時
、上位装置から指定されたブロックに既にデータが書き
込まれている場合にも、制御装置が自動的に交替ブロッ
クを割り当てて対応表に登録し、交替ブロックに対して
データの書き込みを実行する。このようにすると、追記
形光ディスクの如き物理的にはデータの再書き込みが不
可能な記録媒体を、上位装置はあたかもデータの再書き
込みが可能な記録媒体であるように使用することが可能
となる。
The present invention is also applicable to recording media such as conventional write-once optical discs in which it is physically impossible to rewrite data once written. When updating data recorded on such a recording medium, the host device usually needs to specify another block and rewrite the data. According to the present invention, when a data update command is issued from a higher-level device, even if data has already been written to a block designated by the higher-level device, the control device automatically allocates a replacement block and creates a correspondence table. , and write data to the replacement block. In this way, it becomes possible for the host device to use a recording medium, such as a write-once optical disk, on which data cannot be physically rewritten, as if it were a recording medium on which data could be rewritten. .

この方式は、前記記録媒体上に書き込まれているデータ
を部分的に修正したいときには、有効である。
This method is effective when it is desired to partially modify data written on the recording medium.

第9図は上述した記録・再生制御方式を実行するための
制御装置の一例として、光磁気形の光ディスク装置用の
制御装置の概略的構成を示す。第9図において、51は
チャネル装置やホスト・コンピュータ等の上位装置10
0との間での信号受授制御するインターフェース・コン
トローラ、52は上位装置からの指令に応して、既に説
明したiti!I ff1lを実現すべく光ディスク制
御装置を所定の手順で動作させるマイクロ・プロセッサ
、53は前記マイクロ・プロセッサ52による制御動作
を規定するマイクロ命令および消去不可能あるいは書き
込み不可能なブロックとその交替ブロックとの対応表等
を格納するだめのメモリ、54は光ディスク媒体上へ書
き込む情報または光ディスク媒体上から読み出された清
報を格納するためのバッファ・メモリ、55はバッファ
・メモリ54から取り出されたin報にECC(エラー
・コレクション・コート)を付加し、これを変調して光
ヘツド回路59に出力する書き込み回路、56は光ヘツ
ド回路59からの出力信号を復調し、バッファ・メモリ
54へ格納するための読み取り回路、57は光ディスク
媒体上に記録された情報を消去するための磁界制御回路
を示す。なお、58はバッファ・メモリ540入出力バ
スを選択するためのセレクタであり、マイクロ・プロセ
ッサ52から与えられるマイクロ命令61に応じて、イ
ンタフェース・パス65、プロセッサ・バス63、およ
びリード/ライトバス62を選択的にバッファ・メモリ
54に接続する。
FIG. 9 shows a schematic configuration of a control device for a magneto-optical optical disk device as an example of a control device for executing the above-described recording/reproduction control method. In FIG. 9, 51 is a host device 10 such as a channel device or host computer.
The interface controller 52, which controls signal exchange with the iti! A microprocessor 53 operates the optical disk control device according to a predetermined procedure in order to realize Iff1l, and a microprocessor 53 includes microinstructions that define control operations by the microprocessor 52, as well as non-erasable or non-writable blocks and their replacement blocks. 54 is a buffer memory for storing information to be written onto the optical disk medium or information read from the optical disk medium; 55 is a buffer memory for storing the information read out from the optical disk medium; A write circuit 56 adds an ECC (error correction code) to the information, modulates it, and outputs it to the optical head circuit 59. A write circuit 56 demodulates the output signal from the optical head circuit 59 and stores it in the buffer memory 54. 57 indicates a magnetic field control circuit for erasing information recorded on the optical disk medium. Note that 58 is a selector for selecting the input/output bus of the buffer memory 540, and according to the microinstruction 61 given from the microprocessor 52, the interface path 65, processor bus 63, and read/write bus 62 are selected. is selectively connected to buffer memory 54.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、光ディスク上の消去が不可能なブロッ
クあるいは書き込みが不可能なブロックに対して、制?
111装置が自動的に交替ブロックを割り当てて管理で
きるので、上位装置が上述した消去不可能なブロックあ
るいは書き込みが不可能なブロックの管理から解放され
、上位装置が誤って消去が不可能だったブロックまたは
書き込みが不可能だったブロックをアクセスして、旧デ
ータを読み出してしまうことを防止することが可能にな
るという効果がある。
According to the present invention, there is no control over blocks that cannot be erased or blocks that cannot be written to on an optical disk.
Since the 111 device can automatically allocate and manage replacement blocks, the higher-level device is freed from managing the above-mentioned unerasable blocks or blocks that cannot be written to, and the upper-level device can accidentally allocate and manage blocks that cannot be erased. Alternatively, it is possible to prevent old data from being read by accessing a block that cannot be written to.

また、光ディスク上にも、当該光ディスク上の消去不可
能ブロックおよび書き込み不可能ブロックとその交替ブ
ロックとの対応表を記録しておくことにより、光ディス
クの交換が行われても、光ディスク上に対応表は保持さ
れているので、制御装置は個々の光ディスクについて、
消去不可能ブロックおよび書き込み不可能ブロックとそ
の交替ブロックとの対応を知ることができる。
In addition, by recording a correspondence table between non-erasable blocks and non-writable blocks on the optical disk and their replacement blocks on the optical disk, even if the optical disk is replaced, the correspondence table will remain on the optical disk. is maintained, so the control device can
It is possible to know the correspondence between non-erasable blocks and non-writable blocks and their replacement blocks.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明で用いる消去不可能ブロックもしくは書
き込み不可能ブロックとその交替ブロックとの対応表の
一例を示す説明図、第2図は本発明が適用される光ディ
スクの一例を示す説明図、第3図は第2図に示す光ディ
スクにおいてデータの書き込み/読み出し処理華位とな
る1ブロツクの構成を示す説明図、第4図は第2図に示
す光ディスクのトラック割り当て例を示す説明図、第5
図は光ディスクの交換時及び電源投入時における処理を
示すフローチャート、第6図はデータ消去時の動作を示
すフローチャート、第7図はデータ書込み時の動作を示
すフローチャート、第8図はデータ読み出し時の動作を
示すフローチャート、そして第9図は本発明を実施する
制御装置の一例を示すブロック図である。 ■・・・光ディスク、2・・・ID部、3・・・フラッ
グ部、4・・・データ部、5・・・ECC部、31・・
・ユーザ領域、32・・・交替領域、33・・・ブロッ
ク管理領域、51・・・インクフェースコントローラ、
52・・・マイクロプロセッサ、53・・・メモリ、5
4・・・パンツアメモリ、55・・・占き込み回路、5
6・・・読み取り回路、57・・・磁界制御回路、58
・・・セレクタ、59・・・光ヘツド回路、T0〜TN
・・・トラック、B・・・ブロック。 代理人 弁理士  秋 本 正 実 第1図 第2図 第3図 第   4  図              L〜T
91.1う・り、33 第6図 薯友動ノを吟のi5y 第7図 ヂーフ喜すみ蛸がb昨 第 8 ス デ゛−フδ!&巳しp与の動作 第9図
FIG. 1 is an explanatory diagram showing an example of a correspondence table between non-erasable blocks or non-writable blocks and their replacement blocks used in the present invention, FIG. 2 is an explanatory diagram showing an example of an optical disc to which the present invention is applied, FIG. 3 is an explanatory diagram showing the structure of one block that is the key to data writing/reading processing in the optical disc shown in FIG. 2, and FIG. 5
The figure is a flowchart showing the process when replacing an optical disk and turning on the power, Figure 6 is a flowchart showing the operation when erasing data, Figure 7 is a flowchart showing the operation when writing data, and Figure 8 is a flowchart showing the operation when reading data. A flowchart showing the operation, and FIG. 9 is a block diagram showing an example of a control device implementing the present invention. ■... Optical disc, 2... ID section, 3... Flag section, 4... Data section, 5... ECC section, 31...
- User area, 32... Alternate area, 33... Block management area, 51... Ink face controller,
52...Microprocessor, 53...Memory, 5
4... Panzer memory, 55... Fortune-telling circuit, 5
6... Reading circuit, 57... Magnetic field control circuit, 58
...Selector, 59...Optical head circuit, T0 to TN
...Truck, B...Block. Agent Patent Attorney Tadashi Akimoto Figure 1 Figure 2 Figure 3 Figure 4 L-T
91.1 U-ri, 33 Figure 6: I5y of the Friendship Movement Figure 7: The octopus is pleased with the octopus. & Mishipyo movement Figure 9

Claims (1)

【特許請求の範囲】 1、光ディスクへの情報書き込み直後に、書き込んだデ
ータの読み出しチェックを行ない、データ品質の不十分
な不良ブロックが検出された場合、不良ブロックを交替
ブロックに割り当て、同一データを書き込んでおく光デ
ィスイ装置の情報記録再生方法において、上記不良ブロ
ックの他に、データ更新時に、旧データの消去が不可能
なブロックと新データの書き込みが不可能なブロックを
検出して、交替ブロックに割り当て、データの読み出し
時には上記交替ブロックをアクセスすることを特徴とす
る光ディスク装置の情報記録再生方法。 2、前記不良ブロックと旧データの消去が不可能なブロ
ックと新データの書き込みが不可能なブロックとに対す
る交替ブロックとの対応表を光ディスクに記録し、デー
タの読み出し時には上記対応表を参照して、交替ブロッ
クにアクセスすることを特徴とする特許請求の範囲第1
項記載の光ディスク装置の情報記録再生方法。 3、前記光ディスクに記録された対応表を、光ディスク
装置の駆動時又は光ディスクの交換時に光ディスク装置
の制御部内のメモリに格納し、格納された対応表を参照
して、データの読み出し時に交替トラックをアクセスす
ることを特徴とする特許請求の範囲第2項記載の光ディ
スク装置の情報記録再生方法。
[Claims] 1. Immediately after writing information to the optical disk, read-out of the written data is checked, and if a defective block with insufficient data quality is detected, the defective block is assigned to a replacement block and the same data is replaced. In the information recording and reproducing method of an optical display device, in addition to the defective blocks mentioned above, when updating data, blocks in which old data cannot be erased and blocks in which new data cannot be written are detected and replaced with replacement blocks. 1. A method for recording and reproducing information in an optical disk device, characterized in that the spare block is allocated to a block and the spare block is accessed when reading data. 2. Record on the optical disk a correspondence table of replacement blocks for the defective blocks, blocks in which old data cannot be erased, and blocks in which new data cannot be written, and refer to the above correspondence table when reading data. , accessing a replacement block.
A method for recording and reproducing information in an optical disc device according to section 1. 3. The correspondence table recorded on the optical disk is stored in the memory in the control unit of the optical disk device when the optical disk device is driven or when the optical disk is replaced, and the stored correspondence table is referred to to determine a replacement track when reading data. An information recording and reproducing method for an optical disc device according to claim 2, characterized in that the information recording and reproducing method for an optical disc device is accessed.
JP19206786A 1986-08-19 1986-08-19 Information recording and reproducing method for optical disk device Pending JPS6348662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19206786A JPS6348662A (en) 1986-08-19 1986-08-19 Information recording and reproducing method for optical disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19206786A JPS6348662A (en) 1986-08-19 1986-08-19 Information recording and reproducing method for optical disk device

Publications (1)

Publication Number Publication Date
JPS6348662A true JPS6348662A (en) 1988-03-01

Family

ID=16285074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19206786A Pending JPS6348662A (en) 1986-08-19 1986-08-19 Information recording and reproducing method for optical disk device

Country Status (1)

Country Link
JP (1) JPS6348662A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0223531A (en) * 1988-07-11 1990-01-25 Hitachi Ltd Data erasing device for rewritable recording/playback devices
WO1996033492A1 (en) * 1995-04-21 1996-10-24 Matsushita Electric Industrial Co., Ltd. Method and device for managing defect of information recording medium and information recording medium
WO2005091290A1 (en) * 2004-03-23 2005-09-29 Matsushita Electric Industrial Co., Ltd. Recording device, reproduction device, host device, drive device, recording method, reproduction method, program, and information recording medium
WO2005091288A1 (en) * 2004-03-23 2005-09-29 Matsushita Electric Industrial Co., Ltd. Recorder, host device, drive device, recording method, instruction method, program, integrated circuit, reproducing device, reproducing method, and write-once-read-many recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6074020A (en) * 1983-09-30 1985-04-26 Toshiba Corp Storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6074020A (en) * 1983-09-30 1985-04-26 Toshiba Corp Storage device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0223531A (en) * 1988-07-11 1990-01-25 Hitachi Ltd Data erasing device for rewritable recording/playback devices
WO1996033492A1 (en) * 1995-04-21 1996-10-24 Matsushita Electric Industrial Co., Ltd. Method and device for managing defect of information recording medium and information recording medium
US5715221A (en) * 1995-04-21 1998-02-03 Matsushita Electric Industrial Method for managing defects in an information recording medium, and a device and information recording medium using said method
WO2005091290A1 (en) * 2004-03-23 2005-09-29 Matsushita Electric Industrial Co., Ltd. Recording device, reproduction device, host device, drive device, recording method, reproduction method, program, and information recording medium
WO2005091288A1 (en) * 2004-03-23 2005-09-29 Matsushita Electric Industrial Co., Ltd. Recorder, host device, drive device, recording method, instruction method, program, integrated circuit, reproducing device, reproducing method, and write-once-read-many recording medium
JPWO2005091288A1 (en) * 2004-03-23 2007-08-09 松下電器産業株式会社 Recording apparatus, host apparatus, drive apparatus, recording method, instruction method, program, integrated circuit, reproducing apparatus, reproducing method, and write-once recording medium
JPWO2005091290A1 (en) * 2004-03-23 2008-02-07 松下電器産業株式会社 Recording device, reproducing device, host device, drive device, recording method, reproducing method, program, and information recording medium
US7768892B2 (en) 2004-03-23 2010-08-03 Panasonic Corporation Recording device, reproduction device, host device, drive device, recording method, reproduction method, program, and information recording medium
JP4753871B2 (en) * 2004-03-23 2011-08-24 パナソニック株式会社 Recording device, reproducing device, host device, drive device, recording method, reproducing method, program, and information recording medium
JP4753868B2 (en) * 2004-03-23 2011-08-24 パナソニック株式会社 Recording apparatus, host apparatus, drive apparatus, recording method, instruction method, program, integrated circuit, reproducing apparatus, reproducing method, and write-once recording medium

Similar Documents

Publication Publication Date Title
RU2456683C2 (en) Single-writeable disc, method to distribute data area of single-writeable disc, device and method to reproduce data from such disc
US4984230A (en) Rewritable optical disk with defective-sector substitution arrangement and optical information recording and reproducing system
US5319626A (en) Method for rewriting defect management areas on optical disk according to ECMA standard
EP1465189B1 (en) Method and apparatus of recording data in the optical recording medium
RU2328039C2 (en) Cd-r, its data area distribution method, device and data reproduction method from cd-r
US20050099904A1 (en) Method for managing defective area of optical recording medium
JP3135531B2 (en) Recording medium for storing additional information for defect management and defect management method
JPH056891B2 (en)
JPH0444673A (en) Disk device defective information recording method
US5774742A (en) Peripheral device using two microprocessors and two buses for automatically updating program after judging that update data is stored in a portable recording medium
JPS6348662A (en) Information recording and reproducing method for optical disk device
JP3437502B2 (en) Dynamic defect management method for rewritable optical disk
JPH07182792A (en) Information sector defect handling method
JPH0316712B2 (en)
RU2286610C2 (en) Optical data carrier, recording/reproduction device, recording/reproduction device
US6546502B1 (en) Information recording method and apparatus of optical disc
JPH04245072A (en) Disk device with data management information area on medium
JPH09198846A (en) Magneto-optical recording device
JP3336044B2 (en) Recording method on information recording medium
JP2582507B2 (en) Apparatus and method for preventing program copy
JPH04188466A (en) information recording device
JPS6344364A (en) Optical disk controller
RU2005109168A (en) METHOD FOR MANAGING THE TREATMENT OF DISK DEFECTS AND THE DEVICE FOR ITS IMPLEMENTATION, AND ALSO THE DISK FOR THE INDICATED DEVICE
JP2006024298A (en) Recording method and recording apparatus
JPH0660550A (en) Disk device