JPH01243268A - Data recording control system - Google Patents

Data recording control system

Info

Publication number
JPH01243268A
JPH01243268A JP6819788A JP6819788A JPH01243268A JP H01243268 A JPH01243268 A JP H01243268A JP 6819788 A JP6819788 A JP 6819788A JP 6819788 A JP6819788 A JP 6819788A JP H01243268 A JPH01243268 A JP H01243268A
Authority
JP
Japan
Prior art keywords
data
recording
area
track
spare
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6819788A
Other languages
Japanese (ja)
Other versions
JP2510662B2 (en
Inventor
Kenji Tokumitsu
徳光 健司
Toshihiko Tamiya
田宮 敏彦
Yuji Yamane
裕二 山根
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 JP63068197A priority Critical patent/JP2510662B2/en
Publication of JPH01243268A publication Critical patent/JPH01243268A/en
Application granted granted Critical
Publication of JP2510662B2 publication Critical patent/JP2510662B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To efficiently carry out the recording by sharing an alternately recording area to plural tracks, providing a high speed buffer for withdrawing data for the rerecording purpose whenever a defective block is detected and processing the rewrite of the withdrawn data in the lump. CONSTITUTION:After receiving an instruction from a CPU 1, the positioning of a head is performed onto a track. Afterward, written data from the CPU 1 are received by a buffer memory 3 on the side of A. Then, the write process W of the data in the memory 3 on the side of A to a disk 6 and the check of the read-out of the disk 6 are carried out. Meanwhile, written data of the following block are received by the memory 3 on the side of B, thus repeating by changing the memory 3 to the other side. Data are withdrawn into a buffer memory C4 each time when a defective block is detected during said write operation, so as to continue the write operation. Then, the rewrite of the data of the memory C4 is subsequently performed in the lump.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ記録制御方式に係り、特に、複数の情
報トラックに亘ってデータ記録領域を有する回転形記録
媒体を用いたデータ記録制御方式〔従来の技術〕 従来、磁気ディスク装置等の回転形記録媒体上の複数の
ブロックにデータを再生(以下「読み出し」ともいう)
チエツク付きで記録する場合に、記録(以下1−書き込
み」ともいう)不良ブロックが検出されると他の場所に
交替領域を割り当て、不良ブロック領域に交替領域への
ポインタを書いて置くとともに不良ブロックに記録すべ
きデータを交替領域に記録(退避)しておき、後に、不
良ブロック領域がアクセスされたときには、該ポインタ
により交替領域をアクセスして必要なデータを取り出す
といった処理が行なわれている。この場合、不良ブロッ
ク領域が検出される都度、ヘッドを交替領域へ再位置付
けしてデータの退避記録及び再生のためのアクセスを行
っている。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data recording control system, and particularly to a data recording control system using a rotary recording medium having a data recording area spanning a plurality of information tracks. [Prior Art] Conventionally, data is reproduced (hereinafter also referred to as "reading") from multiple blocks on a rotating recording medium such as a magnetic disk device.
When recording with check, if a recording (also referred to as 1-write) bad block is detected, a replacement area is allocated to another location, a pointer to the replacement area is written in the bad block area, and the bad block is deleted. Data to be recorded is recorded (saved) in a spare area, and when the defective block area is accessed later, the spare area is accessed using the pointer and the necessary data is retrieved. In this case, each time a defective block area is detected, the head is repositioned to a replacement area and access is made for data evacuation recording and reproduction.

この種のデータ記録制御方式を、光ディスクのような信
頬度の低い記録媒体に適用した場合に、交替領域へのア
クセスが多発すると、その都度ヘッドの再位置付けを行
なわなければならないため、記録を中断しなければなら
ず、効率が低下する。
When this type of data recording control method is applied to a recording medium with low reliability such as an optical disk, if the spare area is frequently accessed, the head must be repositioned each time, making it difficult to record. must be interrupted, reducing efficiency.

そこで、この効率の低下を改善するために、特開昭5E
l−181163号公報に示されるように、各情報トラ
ック毎にその最後部に交替領域を設け、任意の情報トラ
ックの前記交替領域へアクセスするディスク回転のため
の待ち時間中に、次の情報トラックへの書込み又は読取
りチエツクを先行して行なう光ディスク等の回転記録媒
体におけるデータ記録制御方式が提案されている。
Therefore, in order to improve this decrease in efficiency,
As shown in Japanese Patent No. 1-181163, a spare area is provided at the rear end of each information track, and during the waiting time for disk rotation to access the spare area of any information track, the next information track is A data recording control system for a rotating recording medium such as an optical disk has been proposed, in which a writing or reading check is performed in advance.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記公報に示される従来技術では、各情報トラックの最
後部の交替領域で救済できなかった場合の効率低下の点
について配慮がされていない。即ち、上記従来技術では
、各々トラックの末尾に1〜3セクタ(ブロック)の交
替領域を設け、そのトラックの前方で発生した不良ブロ
ックをこれらの交替領域を救済しようとするが、交替領
域のブロック数を越える不良ブロックが発生した場合に
は、別トラックの交替領域へアクセスしなければならな
いから、そのための処理時間が増大することになる。こ
れに対し、各情報トラックの交替領域のブロック数を増
加させ、別トラックの交替領域へのアクセス頻度を減少
させて、処理時間の低減を図ることが考えられるが、そ
の場合には記録媒体の情報記録類域が減少し、媒体の使
用効率が低下するという問題がある。また、別トラック
へヘッドを再位置づけして再書き込みを行う期間、本来
のデータエリアへの記録動作が中断されるため、処理時
間が増大される問題もある。
The prior art disclosed in the above-mentioned publication does not take into account the reduction in efficiency when relief cannot be performed in the replacement area at the end of each information track. That is, in the above-mentioned conventional technology, a spare area of 1 to 3 sectors (blocks) is provided at the end of each track, and a defective block occurring in the front of the track is attempted to be relieved in these spare areas. If more defective blocks occur, it is necessary to access a replacement area on another track, which increases the processing time. On the other hand, it is possible to reduce the processing time by increasing the number of blocks in the spare area of each information track and reducing the frequency of access to the spare area of another track. There is a problem that the information recording area is reduced and the efficiency of use of the medium is reduced. Furthermore, during the period when the head is repositioned to a different track and rewritten, the recording operation to the original data area is interrupted, resulting in an increase in processing time.

従って、本発明の目的は、上記従来技術の課題を解決し
、記録媒体の使用効率を低下することなく、複数の情報
トラックに亘るデータの書込み及び書込み不良個所検出
時の交替領域への再書込み動作を高速かつ円滑に実行す
ることができるようにして、本来のデータの書込みが中
断されることなく、効率的にデータの書込みを行なうこ
とができるようにしたデータ記録制御方式を提供するこ
とにある。
Therefore, an object of the present invention is to solve the above-mentioned problems of the prior art, and to write data across multiple information tracks and rewrite data to a replacement area when a writing failure is detected, without reducing the usage efficiency of the recording medium. To provide a data recording control method that enables operations to be executed quickly and smoothly and to efficiently write data without interrupting original data writing. be.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明のデータ記録制御方式
では、ユーザデータ記録領域は複数トラックを含み、ユ
ーザデータ記録領域に対する交替記録領域を複数のトラ
ックに対し共有するように設けると共に、データ記録及
び再生チエツクを行なう際に、各トラックから記録不良
ブロックが検出される毎に再記録のためのデータを退避
しておく高速バッファメモリを設け、前記複数のトラッ
クに対するデータの記録終了後に、前記バッファメモリ
に退避されていた前記再記録のためのデータを一括処理
する、即ち、−括して取出して前記共有の交替記録領域
に記録するjうに構成する。
In order to achieve the above object, in the data recording control method of the present invention, the user data recording area includes a plurality of tracks, a replacement recording area for the user data recording area is provided to be shared by the plurality of tracks, and the data recording and When performing a playback check, a high-speed buffer memory is provided to save data for re-recording each time a recording defective block is detected from each track, and after the recording of data to the plurality of tracks is completed, the data is saved in the buffer memory. The data for re-recording, which has been saved in the memory area, is processed all at once, that is, it is taken out all at once and recorded in the shared spare recording area.

〔作用〕[Effect]

上記の構成に基づく作用を説明する 複数の情報トラックを含むユーザデータ記録領域に対し
、データの書込みと書込まれたデータの読取りチエツク
が行なわれる。読取りチエツク動作により書込み不良個
所が検出されると、その都度、交替記録領域へ再書込み
すべきデータを、ブロック単位(セクタ単位)で前記高
速バッファメモリ上に退避させておき、その際にユーザ
データ記録領域への本来の書込み処理は、中断せずに継
続して行なわれる。そして、複数のトラックに跨がる一
連のユーザデータ記録領域への書込み処理が終了した後
に、バッファメモリ上に退避されていたブロック分のデ
ータの交替記録領域への再書込みが一括して行なわれる
。このように、上記構成によれば、交替記録領域を複数
トラックに対し共有としたことによって、予測される不
良ブロックの全数を救済するのに必要な交替領域の大き
さは、個々のトラック毎に交替領域を設けた場合に比べ
て狭くてすむので゛、記録媒体の使用効率は上昇する。
The operation based on the above structure will be explained. Data is written to a user data recording area including a plurality of information tracks, and the written data is read and checked. Whenever a writing defect is detected by a read check operation, the data to be rewritten to the alternate recording area is saved in block units (sector units) on the high-speed buffer memory, and at that time, user data The original writing process to the recording area continues without interruption. Then, after the writing process to a series of user data recording areas spanning multiple tracks is completed, the blocks of data saved in the buffer memory are rewritten to the alternate recording area all at once. . As described above, according to the above configuration, by sharing the spare recording area among multiple tracks, the size of the spare area required to repair all the predicted bad blocks can be changed for each track. Compared to the case where a spare area is provided, the space can be narrower, so the usage efficiency of the recording medium is increased.

また、不良ブロックが検出される度に、高速バッファメ
モリに再書込み用データを退避しておき、一連のデータ
の書込み終了後に退避されていたデータの再書込みを一
括して行なうようにしたので、本来のユーザデータの書
込み処理が中断されず、又、データの再書込みも一挙に
行なわれる結果、データ処理時間が大幅に短縮される。
In addition, each time a bad block is detected, rewrite data is saved in the high-speed buffer memory, and the saved data is rewritten all at once after a series of data has been written. The original user data writing process is not interrupted, and the data is rewritten all at once, resulting in a significant reduction in data processing time.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて説明する。第1
図から第5図は、本発明の原理を示すものである。
An embodiment of the present invention will be described below with reference to the drawings. 1st
5 to 5 illustrate the principle of the present invention.

第3図は、ディスク・システムの一構成例を示しており
、ディスク駆動装置5は光ディスクのような回転記録媒
体6を搭載しており、ディスク6に対する書き込み・読
み出し等の動作を行う。CPU(中央処理装置)1はデ
ィスク駆動装置5の上位装置である。データ制御装置2
は上位装置であるCPUIから命令を受は取り、ディス
ク駆動装置5の制御を行う。この構成例ではディスク制
御装置2は、高速のICメモリであるバッファメモリ3
を2つ(A、B)とバッファメモリ4を1°つ(C)有
している。
FIG. 3 shows an example of the configuration of a disk system, in which a disk drive device 5 is equipped with a rotating recording medium 6 such as an optical disk, and performs operations such as writing and reading on the disk 6. A CPU (central processing unit) 1 is a host device of the disk drive device 5. Data control device 2
receives and receives commands from the CPU, which is a host device, and controls the disk drive device 5. In this configuration example, the disk controller 2 includes a buffer memory 3 that is a high-speed IC memory.
(A, B) and one buffer memory 4 (C).

第4図ば、ディスク円板6上のトラックフォーマットを
示しており、螺旋状のトラックを備えているが、これは
同心円状に形成されることもある。
FIG. 4 shows the track format on the disk disk 6, with spiral tracks, which may also be formed concentrically.

同心円状のときは明確に、また螺旋状に連続していると
きにも、トラ゛ンクN−1,N、N+1.・・・・・・
・・・の複数トラックに分けられ、さらに各トラックは
それぞれ固有のアドレスを持つ複数のセクタに分割され
ている(セクタ0,1.・・・・・・・・・n−2、n
−1)。ディスク円板6への情報の記録は、セクタ単位
に行い、この情報の記録単位をブロックと呼ぶ。
The trunks N-1, N, N+1 .・・・・・・
..., and each track is further divided into a plurality of sectors each having a unique address (sectors 0, 1......n-2, n
-1). Information is recorded on the disk 6 sector by sector, and this information recording unit is called a block.

第5図は、ディスク円板6上のデータエリアの割当て例
を示しており、データエリアは、複数のユーザブロック
エリア(それぞれ複数のトラックからなる)61、各々
のユーザブロックエリアに対する交替ブロックエリア(
それぞれ複数のトラックの共有となっている)62、及
び全てのユーザブロックエリアで共通の共通交替ブロッ
クエリア63からなる。本実施例でば、1トラック当り
のセクタ数(ブロック数)は17であり、又mの値も1
7、即ち、17本口のトラック毎にユーザブロックエリ
ア61用の交替ブロックエリア62を最大でトラック−
本分ずつ設けている。ユーザブロックエリア61で書き
込み時に不良ブロックが検出された場合、当該ユーザブ
ロックエリア用の交替ブロックエリア62上に交替ブロ
ックを割当てる。また、当該ユーザエリア上の全ての交
替ブロックが割当て済みとなった時には、共通交替ブロ
ックエリア63上に交替ブロックが割当てられる。この
ように、本実施例では、複数のトラックに共有の交替記
録エリアとして、各々のユーザブロックエリアに対する
交替ブロックエリア62と、全ユーザブロックエリアに
対する交替ブロックエリア63とが設けられる。
FIG. 5 shows an example of allocation of data areas on the disk 6, in which the data areas include a plurality of user block areas (each consisting of a plurality of tracks) 61, a replacement block area for each user block area (
62, each of which is shared by a plurality of tracks, and a common replacement block area 63 that is common to all user block areas. In this embodiment, the number of sectors (blocks) per track is 17, and the value of m is also 1.
7, that is, the replacement block area 62 for the user block area 61 is tracked at maximum for every 17 main tracks.
Each duty is set. If a defective block is detected in the user block area 61 during writing, a replacement block is allocated on the replacement block area 62 for the user block area. Further, when all the spare blocks on the user area have been allocated, the spare blocks are allocated on the common spare block area 63. In this way, in this embodiment, a spare block area 62 for each user block area and a spare block area 63 for all user block areas are provided as spare recording areas shared by a plurality of tracks.

以上のようなディスク・システムにおいて、実施例とし
て、複数トラックの書き込み動作を第1図によって説明
する。第1図は、周期Tで回転するディスク6に同期し
て、書込み動作W、読み出しチエツク動作R1使用バッ
フ7メモリA、B。
In the above-mentioned disk system, a write operation of multiple tracks will be explained as an example with reference to FIG. In FIG. 1, a write operation W and a read check operation R1 are performed in synchronization with a disk 6 rotating at a period T. Buffers 7 and memories A and B are used.

C1及び、アクセスするトラックm〜2mを時空間に展
開して示したものである。図中、RからWに移る境界線
は読出しチエツク終了点である。動作例ではトラックm
からトラック2m−1までの書き込みである。
C1 and tracks m to 2m to be accessed are shown expanded in space and time. In the figure, the boundary line moving from R to W is the end point of the read check. In the operation example, track m
This is writing from track 2m-1 to track 2m-1.

上位装置1から命令を受取った後、まずトラックmへの
ヘッド位置付けを行う。その後(書込み処理Wに先立っ
て)上位装置から書き込みデータをバッファメモリ3の
A側へ受取る。その後、バッファメモリ3のA側に入っ
ているデータのディスク6への書き込み処理W及びディ
スク6からの読み出しチエツクRを行う。この処理(W
、R)の間にバッファメモリ3のB側に、後続ブロック
の書き込みデータの受信を行う。これらの動作をバッフ
ァメモリ3を切り換えながら繰り返すことによりトラッ
ク2m−1のユーザブロックエリア6】までデータの書
き込みを行う。以上の書き込み動作において不良ブロッ
クを検出した場合には、各ブロックの読み出し7チエツ
ク終了後、制御装置2内のマイクロプロセツサの制御に
より交替ブロックエリア62への再書き込み用のデータ
をCのバッファメモリ4へ退避しておき、ユーザブロッ
クエリア61の書き込みを継続させる。該ユーザブロッ
クエリア用の交替ブロックエリア62への書き込みは、
各ユーザブロックエリアの書き込み終了に引き続いてバ
ッファメモリ4に退避されているデータを用いて行う。
After receiving a command from the host device 1, first the head is positioned on the track m. Thereafter (prior to write processing W), write data is received from the host device to the A side of the buffer memory 3. Thereafter, a write process W of data stored in the A side of the buffer memory 3 to the disk 6 and a read check R from the disk 6 are performed. This process (W
, R), the write data of the subsequent block is received on the B side of the buffer memory 3. By repeating these operations while switching the buffer memory 3, data is written up to the user block area 6 on track 2m-1. If a defective block is detected in the above write operation, after completing the 7-check reading of each block, the data for rewriting to the replacement block area 62 is transferred to the buffer memory of C under the control of the microprocessor in the control device 2. 4 and continue writing to the user block area 61. Writing to the replacement block area 62 for the user block area is as follows:
This is performed using the data saved in the buffer memory 4 following the completion of writing in each user block area.

第2図は、第1図と同様に゛交替ブロックエリアへの再
書き込み用データの退避のタイミング例を示したもので
ある。第2図では、読み出しチエツクRの終了後に再書
き込み用データの退避を行うように記しであるが、不良
ブロックが検出されなかった時には、データの退避は行
われない。また第1図では、該ユーザエリア用の交替ブ
ロックエリア(トラック2m−1の一部)への再書き込
み動作をバッファメモリCを用いて行うように記しであ
るが、ユーザブロックエリアで不良ブロックが検出され
なかった時には、交替ブロックエリアの再書き込み動作
は行われない。また、該ユーザブロックエリア用の交替
ブロックを使い尽(しても不良ブロックが残っている場
合には、共通交替ブロックエリアへの再書き込み処理が
行われる。
Similar to FIG. 1, FIG. 2 shows an example of the timing of saving rewrite data to the spare block area. In FIG. 2, it is written that the rewrite data is saved after the read check R is completed, but if no defective block is detected, the data is not saved. Also, in FIG. 1, it is written that the rewriting operation to the replacement block area (part of track 2m-1) for the user area is performed using buffer memory C, but if a defective block is detected in the user block area. When it is not detected, the rewriting operation of the replacement block area is not performed. Furthermore, if the spare blocks for the user block area are exhausted (even if bad blocks remain), rewriting processing to the common spare block area is performed.

第6図は、本発明の実施例の書込み動作をフローチャー
トで示したものである。ディスク制御装置1 W2は、上位装置1から書込みコマンドを受取ると、ヘ
ッド位置づけを行ない(71) 、その後書込みデータ
を1トラック分バッファメモリ3のA側に受取り、次い
で書込み処理を開始する(72)。
FIG. 6 is a flowchart showing the write operation according to the embodiment of the present invention. When the disk control device 1 W2 receives a write command from the host device 1, it performs head positioning (71), then receives one track of write data on the A side of the buffer memory 3, and then starts the write process (72). .

ここで、次のトラックに書込み指示があるかチエツクし
く73)、指示があればバッファ面をBに切り換えて次
の書込みデータを受信すると共に(74)、バッファA
の読出しチエツクをし、指示がなければ直ちにバッファ
Aの読出しチエツクをする(75)。読出しチエツクで
不良ブロックが検出されたとぎは<76>、データをバ
ッファCに退避する(77)。ここで、上位装置から指
示された最終トラックまで終了したか、又は、ユーザブ
ロックエリア61の最終トラック(交替ブロックエリア
62の1つ手前)まで終了したかを調べ(78)、終了
していなければバッファ面を切り換えて書込みデータを
受信する動作に戻り(74)、以上の動作を繰返す。最
終トラックまで終了すれば、バッファCに退避された不
良データの有無を調べ(79)、この不良データの交替
領域への一括処理を行ない(80)、ここで尚未処理の
書込み指示があれば(81)、書込みデータ受信(72
)へ戻り、指示がなければ終了する。
Here, check whether there is a write instruction for the next track (73), and if there is an instruction, switch the buffer side to B and receive the next write data (74),
If there is no instruction, the readout of buffer A is immediately checked (75). If a bad block is detected in the read check <76>, the data is saved in buffer C (77). Here, it is checked whether the final track instructed by the host device has been completed or whether the final track of the user block area 61 (one place before the replacement block area 62) has been completed (78). Returning to the operation of switching the buffer plane and receiving the write data (74), the above operation is repeated. When the last track is completed, the presence or absence of defective data saved in buffer C is checked (79), and the defective data is collectively processed to the replacement area (80), and if there is any unprocessed write instruction ( 81), write data reception (72
) and exit if there are no instructions.

なお、第1図及び第2図の実施例では、書込み動作と読
み出しチエツク動作がディスクの別回転期間に行なわれ
る場合を展開しているが、書き込み動作と読み出しチエ
ツク動作を同一回転期間に行なうようにしてもよい。ま
た、第2図では、複数ブロック公金ての読み出しチエツ
ク終了後にデータの退避を行なう場合を記述しているが
、読み出しチエツク動作中に不良ブロックを検出した時
点で直ちにデータ退避を行なってもよい。
In the embodiments shown in FIGS. 1 and 2, the write operation and the read check operation are performed during different rotation periods of the disk, but the write operation and the read check operation are performed during the same rotation period. You may also do so. Furthermore, although FIG. 2 describes a case in which data is saved after completing a read check of a plurality of public blocks, data may be saved immediately upon detecting a defective block during a read check operation.

上記第5図の実施例では、交替ブロックエリアを各ユー
ザブロックエリア用のもの61と、全ユーザブロックエ
リアに共通のもの63とで構成したが、これに、従来の
各トラックに専用のものを追加してもよい。例えば、前
述の17ブロツク/1トラツク、17トラツク/1ユー
ザブロツクエリアの場合、11−ラックの最後尾の1ブ
ロツク(セクタ)のみを交替エリアとし、残りの16ブ
0ツクをユーザデータエリアとし、このようなトラック
16本(ユーザデータエリアが256ブロツク、交替エ
リアが16ブロツク)で1ユーザブロツクエリアとし、
第17番目のトラック全部を1〜16番目のトラックに
共有の交替領域とすることができる。各トラックでの不
良ブロックの発生が1以下のときは、各トラックに専用
の交替領域が割り当てられ、2以上のときはユーザブロ
ックエリア用の交替ブロックエリア62が割り当てられ
、エリア62が一杯になれば、複数トラック分の容量を
もつ共通交替ブロックエリア63が割り当てられる。
In the embodiment shown in FIG. 5 above, the replacement block area is composed of one for each user block area 61 and one common to all user block areas 63, but in addition to the conventional one dedicated to each track. May be added. For example, in the case of the aforementioned 17 blocks/1 track and 17 tracks/1 user block area, only the last 1 block (sector) of the 11-rack is used as the replacement area, and the remaining 16 blocks are used as the user data area. 16 such tracks (256 blocks for user data area, 16 blocks for replacement area) constitute one user block area,
The entire 17th track can be used as a spare area shared by the 1st to 16th tracks. When the number of bad blocks in each track is 1 or less, a dedicated spare area is allocated to each track, and when the number of bad blocks is 2 or more, a spare block area 62 for the user block area is allocated, and the area 62 becomes full. For example, a common replacement block area 63 having a capacity for multiple tracks is allocated.

第7図は、上述した記録制御方式を実行するための制御
装置の1例として、光デイスク装置用のコントローラの
概略的構成を示す。
FIG. 7 shows a schematic configuration of a controller for an optical disk device as an example of a control device for executing the above-described recording control method.

図において、21はチャネル装置やホスト・コンピュー
タ等の上位装置1との間での信号受授を制御するインタ
フェース・コントローラ、22は上位装置1からの指令
に応じて、既に説明した記録動作を実現すべく制御装置
を所定の手順で動作させるマイクロ・プロセッサ、23
は前記マイクロ・プロセッサ22による制御動作を規定
するマイクロ命令を格納するためのメモリ、24はバッ
ファメモリ3又はバッファメモリ4がら取り出された情
報を変調して光ヘツド回路28に出力する書き込み回路
、25は光ヘツド回路28からの出力信号を復調し、バ
ッファメモリ3又はバッファメモリ4へ格納するための
読み取り回路を示す。
In the figure, 21 is an interface controller that controls signal reception with a higher-level device 1 such as a channel device or host computer, and 22 is an interface controller that realizes the recording operation described above in response to commands from the higher-level device 1. a microprocessor for operating the control device according to a predetermined procedure; 23;
24 is a memory for storing microinstructions that define control operations by the microprocessor 22; 24 is a write circuit that modulates information taken out from the buffer memory 3 or buffer memory 4 and outputs the modulated information to the optical head circuit 28; 25; shows a reading circuit for demodulating the output signal from the optical head circuit 28 and storing it in the buffer memory 3 or buffer memory 4.

なお、27はバッファメモリ3又は40入出力ハスを選
択するためのセレクタであり、マイクロ・プロセッサ2
2から与えられるマイクロ命令3゜に応して、インタフ
ェース・バス34、プロセッサ・バス32、およびR/
W回路バス31を選択的にバッファメモリ3又は4に接
続する。
In addition, 27 is a selector for selecting the buffer memory 3 or 40 input/output hash, and the microprocessor 2
2, the interface bus 34, processor bus 32, and R/
W circuit bus 31 is selectively connected to buffer memory 3 or 4.

本実施例によれば、バッファメモリを複数個有していた
るめ、書き込み動作中に不良ブロックを検出しても、再
書き込み用データをバッファメモリCに退避しておくこ
とにより、ユーザブロックエリアの書き込み動作を回転
ロスなく継続することができる。3個のバッファメモリ
A、B、C2即ち、書込みを交互に連続して行なうため
のバッファメモリ3  (A、B)と、交替処理用とし
て不良ブロックを退避するためのバッファメモリCとを
用いる場合、バッファメモリA、  Bの容量はそれぞ
れ最低1トラック分、メモリCの容量は、1回のコマン
ドで予測される最大の不良ブロック発生数分あればよく
、バ・ソファメモリの容量も小さくてすむ。また、複数
トラックで交替ブロックエリアを共有しているため、交
替ブロックエリアへの再書き込み処理を複数トラック分
−括して効率良く行うことができる。また、共通交替ブ
ロックエリアへのアクセス回数を低減することができ、
処理時間増大の低減にも効果がある。
According to this embodiment, since a plurality of buffer memories are provided, even if a defective block is detected during a write operation, the rewrite data is saved in the buffer memory C, so that the user block area can be saved. Writing operations can be continued without rotation loss. When using three buffer memories A, B, and C2, that is, buffer memory 3 (A, B) for performing alternating and continuous writing, and buffer memory C for saving bad blocks for replacement processing. , the capacity of buffer memories A and B should be at least one track each, and the capacity of memory C should be equal to the maximum number of bad blocks expected to occur in one command, and the capacity of buffer memory can also be small. . Furthermore, since the spare block area is shared by a plurality of tracks, rewriting processing to the spare block area can be efficiently performed for a plurality of tracks at once. In addition, the number of accesses to the common replacement block area can be reduced,
It is also effective in reducing increases in processing time.

以上、本実施例は、共有の交替記録領域として、各ユー
ザブロックエリア対応に交替トラックエリア62を有し
ている場合を例にしているが、共通交替ブロックエリア
63のみ有している場合にも適用できる。
As described above, this embodiment takes as an example a case where the spare track area 62 is provided for each user block area as a shared spare recording area, but it is also possible to use a case where only the common spare block area 63 is provided. Applicable.

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

以上説明したように、本発明のデータ記録制御方式によ
れば、交替記録領域を複数のトラックに対し共有するよ
うに設けると共に、不良ブロックの検出される度に再記
録のためのデータを退避しておく高速バッファメモリを
設け、一連のデータ記録終了後に、退避されていたデー
タを一括して共有の交替記録領域に記録するようにした
ので、ユーザ記録量域に対する本来のデータ記録を中断
することなく効率よく記録することができる。また、予
測される不良ブロックを全部救済するのに必要な交替記
録領域の大きさも少くてすみ、記録媒体の使用効率が高
まる。更に、交替記録゛領域への再書込み処理をまとめ
て実行できるので、交替記録領域へのアクセスを効率よ
く行なうことができ、交替記録領域へのアクセス回数を
低減することができる等、優れた効果を奏する。
As explained above, according to the data recording control method of the present invention, a spare recording area is provided to be shared by a plurality of tracks, and data for re-recording is saved every time a defective block is detected. A high-speed buffer memory is provided to store data, and after a series of data recording is completed, the saved data is recorded all at once in a shared spare recording area, so that the original data recording to the user recording area can be interrupted. You can record efficiently without any problems. Furthermore, the size of the spare recording area required to repair all predicted defective blocks can be reduced, increasing the efficiency of use of the recording medium. Furthermore, since the rewriting process to the spare recording area can be executed all at once, the spare recording area can be accessed efficiently, and the number of accesses to the spare recording area can be reduced. play.

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

第1図及び第2図は本発明の一実施例によるデータ記録
動作を説明するためのタイミングチャート、第3図は本
発明の適用されるディスク・ザブシステムの構成図、第
4図はディスク記録媒体のトラックフォーマットを示す
図、第5図はディスク記録媒体のトラック割り当て状態
を示す図、第6図は第1図及び第2図における動作を示
すフローチャート、第7図は本発明の一実施例の適用さ
れる光デイスク制御装置のブロック図である。 1・・・・・・・・・CPU、2・・・・・・・・・デ
ィスク制御装置、3・・・・・・・・・バッファメモリ
、4・・・・・・・・・交替処理用バッファメモリ、5
・・・・・・・・・ディスク駆動装置、6・・・・・・
・・・光デイスク記録媒体、61・・・・・・・・・ユ
ーザブロックエリア、62・・・・・・・・・ユーザブ
ロックエリア用交替ブロックエリア、63・・・・・・
・・・共通交替ブロックエリア。 代 理 人 弁理士 武 顕次部(外1名)第3図 第4図
1 and 2 are timing charts for explaining the data recording operation according to an embodiment of the present invention, FIG. 3 is a configuration diagram of a disk subsystem to which the present invention is applied, and FIG. 4 is a disk recording FIG. 5 is a diagram showing the track format of the medium, FIG. 5 is a diagram showing the track allocation state of the disk recording medium, FIG. 6 is a flowchart showing the operation in FIGS. 1 and 2, and FIG. 7 is an embodiment of the present invention. 1 is a block diagram of an optical disk control device to which the above is applied. 1...CPU, 2...Disk control device, 3...Buffer memory, 4...Alternation Processing buffer memory, 5
......Disk drive device, 6...
...Optical disk recording medium, 61...User block area, 62...Replacement block area for user block area, 63...
...Common replacement block area. Agent: Patent attorney Kenji Takeshi (1 other person) Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1、各トラックが複数個のブロックに分かれており、複
数のトラックからなるユーザデータ記録領域と、該ユー
ザデータ記録領域の記録不良ブロックを救済する交替記
録領域とを有する記録媒体に、データを記録するデータ
記録制御方式において、前記交替記録領域を複数のトラ
ックに対し共有して設けると共に、データ記録及び再生
検査の際に、各トラックから記録不良ブロックが検出さ
れる毎に再記録のためのデータを退避しておく高速バッ
ファメモリを設け、前記複数のトラックに対するデータ
の記録終了後に、前記バッファメモリに退避されていた
再記録のためのデータを一括して取り出して前記共有の
交替記録領域に記録するように構成したことを特徴とす
るデータ記録制御方式。
1. Data is recorded on a recording medium in which each track is divided into a plurality of blocks, and has a user data recording area consisting of a plurality of tracks, and a replacement recording area for relieving a recording defective block in the user data recording area. In the data recording control method, the spare recording area is shared by a plurality of tracks, and data for re-recording is provided each time a recording defective block is detected from each track during data recording and playback inspection. A high-speed buffer memory is provided for saving the data, and after the recording of data on the plurality of tracks is completed, the data for re-recording that has been saved in the buffer memory is retrieved all at once and recorded in the shared spare recording area. A data recording control method characterized by being configured to.
JP63068197A 1988-03-24 1988-03-24 Data recording control method Expired - Lifetime JP2510662B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63068197A JP2510662B2 (en) 1988-03-24 1988-03-24 Data recording control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63068197A JP2510662B2 (en) 1988-03-24 1988-03-24 Data recording control method

Publications (2)

Publication Number Publication Date
JPH01243268A true JPH01243268A (en) 1989-09-27
JP2510662B2 JP2510662B2 (en) 1996-06-26

Family

ID=13366823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63068197A Expired - Lifetime JP2510662B2 (en) 1988-03-24 1988-03-24 Data recording control method

Country Status (1)

Country Link
JP (1) JP2510662B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998045771A1 (en) * 1997-04-07 1998-10-15 Sony Corporation Recording and reproducing device
JPWO2013108284A1 (en) * 2012-01-16 2015-05-11 日立コンシューマエレクトロニクス株式会社 Optical information recording / reproducing apparatus and optical information recording / reproducing method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009020777A (en) * 2007-07-13 2009-01-29 Panasonic Corp Image recording apparatus for vehicle
KR102536518B1 (en) 2016-09-13 2023-05-24 한화비전 주식회사 Camera system and method to save image during rebuilding of storage device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293570A (en) * 1986-06-13 1987-12-21 Fujitsu Ltd Direct read after write type optical disk device
JPS6342069A (en) * 1986-08-08 1988-02-23 Fuji Photo Film Co Ltd Method for recording data on optical disk

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293570A (en) * 1986-06-13 1987-12-21 Fujitsu Ltd Direct read after write type optical disk device
JPS6342069A (en) * 1986-08-08 1988-02-23 Fuji Photo Film Co Ltd Method for recording data on optical disk

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998045771A1 (en) * 1997-04-07 1998-10-15 Sony Corporation Recording and reproducing device
US6308007B1 (en) 1997-04-07 2001-10-23 Sony Corporation Recording and reproducing device
JPWO2013108284A1 (en) * 2012-01-16 2015-05-11 日立コンシューマエレクトロニクス株式会社 Optical information recording / reproducing apparatus and optical information recording / reproducing method

Also Published As

Publication number Publication date
JP2510662B2 (en) 1996-06-26

Similar Documents

Publication Publication Date Title
JPH08106733A (en) Information storage-medium utilization system
JPH01243268A (en) Data recording control system
JPH04111113A (en) Hard disk emulator
JPH04341977A (en) Data reproducing control system
JPS6246468A (en) Disk memory device
JPH0628779A (en) Method for recording and controlling data in disk device
JPS63113984A (en) Optical disk control system
JPS59221810A (en) Alternate sector device in magnetic storage device
JP4174967B2 (en) Recording method of write once optical disc
JP2897470B2 (en) How to optimize buffer ratio
JP3870024B2 (en) Information recording apparatus and information recording method
JPS583112A (en) Block assignment system in magnetic disc device
JP2725343B2 (en) Data recording device and method
JPS63255888A (en) File device
JPS6358668A (en) Access controller for magnetic recording/reproducing device
JP3808654B2 (en) Recording / playback device
JPH10106156A (en) Information recorder
JPH09114598A (en) Disk cache device
JPS63195873A (en) Information recording and reproducing method for rotary type information recording medium
JPH05334017A (en) Spare sector setting method
JPH0765509A (en) Disk apparatus and alternative processing method
JPH01166378A (en) Disk control device
JPS6293727A (en) Magnetic disk control device
JPH01134764A (en) System for controlling floppy disk device
JPS62154372A (en) Substitute recording and reproducing method