JP2542419B2 - Data recording method - Google Patents

Data recording method

Info

Publication number
JP2542419B2
JP2542419B2 JP63118056A JP11805688A JP2542419B2 JP 2542419 B2 JP2542419 B2 JP 2542419B2 JP 63118056 A JP63118056 A JP 63118056A JP 11805688 A JP11805688 A JP 11805688A JP 2542419 B2 JP2542419 B2 JP 2542419B2
Authority
JP
Japan
Prior art keywords
data
recorded
recording
track
block
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
JP63118056A
Other languages
Japanese (ja)
Other versions
JPH01290169A (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 JP63118056A priority Critical patent/JP2542419B2/en
Publication of JPH01290169A publication Critical patent/JPH01290169A/en
Application granted granted Critical
Publication of JP2542419B2 publication Critical patent/JP2542419B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データを単位ブロック毎に追記録できる記
録担体のデータ記録方法に関する。
Description: TECHNICAL FIELD The present invention relates to a data recording method of a record carrier capable of additionally recording data in unit blocks.

〔従来の技術〕[Conventional technology]

従来、シーケンシャルにデータを記録していく記録担
体として、紙テープ、磁気テープ等が用いられている。
これらの記録担体にデータを記録する場合、記録データ
の最後にデータの終了を意味するENDマークやフィード
等を設けることにより記録データの終了を表わしてい
る。データ再生時には、このENDマーク等を検出するこ
とによりデータの終りを検知することができる。
Conventionally, a paper tape, a magnetic tape, or the like has been used as a record carrier for sequentially recording data.
When data is recorded on these record carriers, the end of the record data is represented by providing an END mark, a feed, or the like, which means the end of the data, at the end of the record data. At the time of data reproduction, the end of the data can be detected by detecting this END mark or the like.

このような記録担体にデータを追記する場合は、すで
に記録してあるデータの終り位置を知る必要がある。例
えば、磁気テープの場合にはENDマークをサーチするこ
とによりデータがどこまで記録されているのかを知るこ
とができ、そのENDマークの位置からENDマークを上書き
してデータの追記録を行ない、この追記録データの最後
に再びENDマークを記録している。
When data is additionally recorded on such a record carrier, it is necessary to know the end position of the already recorded data. For example, in the case of a magnetic tape, it is possible to know how far the data is recorded by searching the END mark, overwrite the END mark from the position of the END mark, and additionally record the data. The END mark is recorded again at the end of the recorded data.

しかしながら、例えば、光カードのように記録したデ
ータの書き換えが不可能な記録担体においては、ENDマ
ークに上書きすることは不可能であり、このためデータ
が記録されているブロックから連続して所定数データが
記録されていないブロックが続くことを確認して最後に
データが正常に記録されていたブロックを最終記録ブロ
ックと判定していた。そしてデータの記録は最終ブロッ
ク検出後この最終記録ブロックに続く所定数の連続デー
タ無しブロックの先頭より順に行ない、シーケンシャル
なデータ記録を実現している。このデータ記録時に記録
担体上のホコリ,汚れ等によるディフェクトあるいはデ
ータ記録装置の振動などの外部要因により、記録できな
いブロックが存在し、その後データの記録を続けること
により、データ記録済みエリアの中に数ブロックのデー
タ無しエリアができてしまう。このことは例えば光カー
ドのような1トラックピッチ12μmのように高密度な記
録担体においては顕著に起こりえる。
However, for example, in a record carrier such as an optical card in which the recorded data cannot be rewritten, the END mark cannot be overwritten. Therefore, a predetermined number of consecutive data is recorded from the block in which the data is recorded. After confirming that the block in which the data is not recorded continues, the block in which the data is normally recorded at the end is determined to be the last recorded block. Then, after the final block is detected, the data is recorded in order from the beginning of a predetermined number of blocks without continuous data following the final recording block to realize sequential data recording. At the time of this data recording, there are blocks that cannot be recorded due to external factors such as defects due to dust and dirt on the record carrier, or vibration of the data recording device. An area with no data in the block is created. This can occur remarkably in a high-density record carrier such as an optical card having a track pitch of 12 μm.

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

前記データ記録済みエリアの中に生じた連続データ無
しブロック数が最終記録ブロックの判定のためのデータ
が記録されていないブロック数以上のときは、記録時に
エラーとなったほこり,よごれ,振動等の外部要因が取
り除かれた場合、そのブロックはデータが記録されてい
ないブロックとなるため、最終記録ブロック検出のため
の連続データ無しブロックとの区別がつかなくなる。
When the number of blocks without continuous data generated in the data recorded area is equal to or larger than the number of blocks in which the data for determining the final recording block is not recorded, an error such as dust, dirt, vibration, etc., occurred during recording. When the external factor is removed, the block becomes a block in which no data is recorded, so that it is indistinguishable from the block without continuous data for detecting the last recorded block.

このため最終記録ブロックの判定を間違えてしまうと
いう大きな問題が生じ、最終記録ブロックの判定を間違
えたままデータを追記していくと、すでに記録してある
ブロックの上にデータを記録することになり、シーケン
シャルに追記していくという原則がくずれデータ管理が
できなくなる。
This causes a big problem of making a mistake in the determination of the final recording block, and if you add data while making a mistake in the determination of the final recording block, the data will be recorded on the already recorded block. , The principle of sequential addition is lost and it becomes impossible to manage data.

本発明はこのような問題点に鑑みてなされたものであ
って、その目的とするところは最終記録ブロックの検出
が確実に行なえシーケンシャルなデータ管理が可能なデ
ータ記録方法を提供することにある。
The present invention has been made in view of such problems, and an object thereof is to provide a data recording method capable of surely detecting a final recording block and performing sequential data management.

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

上記目的を達成するために本発明に係るデータ記録方
法は、所定の単位ブロック毎にデータが記録される記録
担体の最終記録ブロックの検出を該データが記録されて
いるブロック以降に連続して所定数データが記録されて
いないブロックが続いたときに、該データが記録されて
いるブロックを最終記録ブロックと判定するようにし、
該最終記録ブロック以降の連続して所定数データが記録
されていないブロックからデータを記録するデータ記録
方法において、該最終記録ブロックを判定するための該
データが記録されていないブロックの所定数以下の、一
定数以上に、何らかの外部要因で、連続して記録できな
いブロックがある場合に、それ以後のデータの記録を行
わない。
In order to achieve the above object, a data recording method according to the present invention is such that detection of a final recording block of a record carrier in which data is recorded for each predetermined unit block is continuously determined after a block in which the data is recorded. When a block in which some data is not recorded continues, the block in which the data is recorded is determined to be the last recorded block,
In a data recording method of recording data from a block in which a predetermined number of data is not continuously recorded after the last recording block, the number of blocks is equal to or less than a predetermined number of blocks in which the data is not recorded for determining the last recording block. If a certain number or more of blocks cannot be continuously recorded due to some external factor, data is not recorded thereafter.

〔実施例〕〔Example〕

第4図は、本発明によるデータ記録方法を適用した光
カードのデータ記録再生装置の一実施例を示すブロック
図で、光カードへのデータ記録および再生がマイクロコ
ンピュータによって制御されるように構成されている。
FIG. 4 is a block diagram showing an embodiment of a data recording / reproducing apparatus for an optical card to which the data recording method according to the present invention is applied. The data recording / reproducing on the optical card is configured to be controlled by a microcomputer. ing.

第4図において、バス1には、中央処理装置(CPU)
2、プログラムメモリ等の記憶されたメモリ(ROM)
3、CPU1による各種処理に際して利用されるレジスタ類
を含むワーキングエリア(RAM)4、光カードCに記録
する記録データが記録されているデータファイル5、記
録再生回路6およびパルスモータ7が接続されている。
In FIG. 4, a central processing unit (CPU) is provided on the bus 1.
2. Stored memory (ROM) such as program memory
3, a working area (RAM) 4 including registers used in various processes by the CPU 1, a data file 5 in which recording data to be recorded on the optical card C is recorded, a recording / reproducing circuit 6 and a pulse motor 7 are connected. There is.

光ヘッド8は、記録再生回路6およびパルスモータ7
によって制御され、光カードCに光ビームを照射してデ
ータの記録および再生を行なう。
The optical head 8 includes a recording / reproducing circuit 6 and a pulse motor 7.
The optical card C is irradiated with a light beam to record and reproduce data.

第5図は、光カードCの概略的平面図である。 FIG. 5 is a schematic plan view of the optical card C.

この光カードC上には、データ記録のための単位ブロ
ックとしてのデータトラックM1,M2,…,Mnからなる主デ
ータ記録部Mと、データのファイル管理を行なうための
ディレクトリD1,D2,…とからなる補助データ記録部Dと
が設けられている。また、各データトラックM1,M2,…,M
nの各延長線上には、データトラックM1〜Mnにデータが
正常に記録できたことを示すベリファイ(Verify)マー
ク(以下、Vマークと称す)V1,V2,…,Vnからなるベリ
ファイマーク記録部Vが設けられている。
On the optical card C, a main data recording section M consisting of data tracks M 1 , M 2 , ..., M n as unit blocks for data recording, and a directory D 1 for managing data files, An auxiliary data recording section D including D 2 , ... Is provided. Also, each data track M 1 , M 2 , ..., M
On each extension of n, the data tracks M 1 verify that indicates that data has been normally recorded in ~M n (the Verify) mark (hereinafter, referred to as V mark) V 1, V 2, ..., from V n A verification mark recording section V is provided.

主データ記録部MのデータトラックM1〜Mnへのデータ
の記録は、光カードCの図中上方より下方へ順次1トラ
ックづつ行なわれていく。補助データ記録部Dのディレ
クトリD1,D2,…は、データファイル5からのデータ記録
が終了するたびに記録されるもので、本実施例の場合、
図示のように1トラックに5ディレクトリ記録可能であ
り、1トラック中においては図中左より右へ1ディレク
トリづつ記録し、5ディレクトリ記録後は図において上
方のトラックに移り記録を行ない、順次上方トラックへ
と追記していく。
Data is recorded on the data tracks M 1 to M n of the main data recording section M one track at a time from the upper part of the optical card C to the lower part in the drawing. The directories D 1 , D 2 , ... Of the auxiliary data recording section D are recorded every time data recording from the data file 5 is completed. In the case of this embodiment,
As shown in the figure, 5 directories can be recorded in one track. In one track, one directory is recorded from left to right in the figure, and after recording 5 directories, the recording is moved to the upper track in the figure, and the upper track is sequentially recorded. I will add to.

第6図(A)および(B)は、第5図におけるデータ
トラックMj(j=1〜n)およびディレクトリDjのデー
タフォーマットである。
FIGS. 6A and 6B are data formats of the data track Mj (j = 1 to n) and the directory Dj in FIG.

第6図(A)において、トラック番号領域10aはその
データトラックの番号を記録する領域で、データトラッ
クM1ならば「1」、データトラックM2ならば「2」と順
次シリアルにつづく番号を記録していく。データ領域10
bはそのトラックの主データを記録する領域であり、ECC
領域10cは誤り訂正用コードを記録する領域である。
In FIG. 6 (A), the track number area 10a in area for recording the number of the data track, if the data track M 1 "1", the data track M 2 if sequentially following the serial number "2" Record. Data area 10
b is the area for recording the main data of the track, and ECC
The area 10c is an area for recording an error correction code.

第6図(B)において、ディレクトリ番号領域11aは
そのディレクトリの番号を記録する領域で、ディレクト
リD1なら「1」、ディレクトリD2なら「2」と記録し、
以後連続した番号を記憶する。ディレクトリ領域11bは
ディレクトリの主データ内容、例えば、ファイル名、日
付、ファイルサイズなどを記録する領域である。EOTア
ドレス領域11cはそのディレクトリを記録したときの主
データ記録部Mの最終記録トラック(EOT:End of trac
k)のアドレスを記録する領域であり、実際のEOT番号と
一致するとは限らない。そして、ECC領域11dは誤り訂正
用コードを記録する領域である。
In FIG. 6 (B), a directory number area 11a is an area for recording the number of the directory record a if the directory D 1 "1", if the directory D 2 "2",
After that, consecutive numbers are stored. The directory area 11b is an area for recording main data contents of the directory, for example, a file name, a date, a file size and the like. The EOT address area 11c is the last recording track (EOT: End of trac) of the main data recording section M when the directory is recorded.
It is an area for recording the address of k) and does not always match the actual EOT number. The ECC area 11d is an area for recording the error correction code.

第7図は、第5図における主データ記録部Mおよびベ
リファイ記録部Vの拡大図である。データトラック
Mn-3,Mn-2,…には記録情報に従って変調され、かつ微小
スポットに絞られた光ビームを光カードC上で走査する
ことによって光学的に検出可能な記録ビット12が記録さ
れている。この記録ビット12を正確に記録また再生する
ためには、前記光ビームの照射位置を走査方向と垂直な
方向で制御する必要があり、そのためのトラッキングト
ラックTn-3,Tn-2,…が設けられている。
FIG. 7 is an enlarged view of the main data recording section M and the verify recording section V in FIG. Data track
Recording bits 12 that are modulated according to the recording information and that are optically detectable by scanning the optical card C with a light beam that is narrowed to a minute spot are recorded in M n-3 , M n-2 , .... ing. In order to accurately record or reproduce the recording bit 12, it is necessary to control the irradiation position of the light beam in a direction perpendicular to the scanning direction, and the tracking tracks T n-3 , T n-2 , ... Is provided.

次に、この第7図を参照して主データ記録部Mへのデ
ータ記録方法について簡単に説明する。
Next, a method of recording data in the main data recording section M will be briefly described with reference to FIG.

まず、図示の矢印a方向に、トラッキングトラックTj
に沿ってオートトラッキング(以下、ATと称す)を行い
ながら、記録情報によって変調した光ビームを移動して
データトラックMjにデータを記録する。1トラック分の
データを記録すると、光ビームを反転させて今度は矢印
b方向に走査し、いま記録したデータを再生して記録し
たデータと比較し、データが正しく記録されているか否
かをチェックするためのいわゆるベリファイ動作を行な
う。そしてベリファイ結果が正常であればこのデータト
ラックMjの延長線上に正常に記録できたことを表わすV
マークVjを記録する。もし、光カードの欠陥等により正
常な記録が行なえず、ベリファイ時にエラーが起きたと
きは、VマークVjを記録せずに次のトラックMj+1に移
り、再度同じデータを記録し同様の処理を行なう。
First, in the direction of the arrow a shown in the figure, the tracking track Tj
Data is recorded on the data track Mj by moving the light beam modulated by the recording information while performing automatic tracking (hereinafter referred to as AT) along the track. When the data for one track is recorded, the light beam is reversed and the light beam is scanned in the direction of arrow b this time, and the data just recorded is reproduced and compared with the recorded data to check whether or not the data is correctly recorded. A so-called verify operation is performed to do so. If the verification result is normal, it means that the data was normally recorded on the extension line of the data track Mj.
Record mark Vj. If normal recording cannot be performed due to a defect of the optical card and an error occurs during verification, the V mark V j is not recorded and the next track M j + 1 is moved to record the same data again. Perform processing.

次に本実施例に係るデータ記録方法を説明する。 Next, a data recording method according to this embodiment will be described.

まず、EOTを判断するための手順について第2図のフ
ローチャートを用いて説明する。本実施例では情報の記
録が正常に行なわれVマークが記録されたデータトラッ
ク(以下、MEと記す)が存在し、データトラックMEより
後のトラックにおいて5連続データ無しトラック(その
最初のトラックをMFと記す)が存在することを確認して
(但し、データトラックME以降には情報の記録が正常に
行なわれ、Vマークが存在するデータトラックは存在し
ないとする)、データトラックMEをEOTと判断する。
First, the procedure for determining EOT will be described using the flowchart in FIG. In this embodiment, there is a data track (hereinafter referred to as M E ) in which information is normally recorded and a V mark is recorded, and five consecutive data-less tracks (the first one of which is a track after the data track M E ). A track is referred to as M F ) (however, it is assumed that information recording is normally performed after the data track M E and no data track with a V mark exists). Judge M E as EOT.

第3図に第7図で表わした光カードCの拡大図のEOT
以降のデータトラックにディフェクトがある例とVマー
クは無くてデータのみ記録されている例を示す。図中デ
ータトラックME上にはVマークVEがありデータトラック
MF以降には少なくとも5本連続したデータ無しトラック
がある。第3図(a),(b)でのデータトラック上に
はディフェクトX1,X2が存在し(ディフェクトX1は連続
3トラックに、ディフェクトX2は連続5トラックに跨が
っている)このトラックを光ビームが走査するとディフ
ェクト部でATはずれを起こし正常に記録が行なえない。
又第7図(c)のデータトラックMD1〜MD4はデータ記録
時にベリファイエラーがあったためVマークが記録され
ていない。
FIG. 3 shows an EOT of an enlarged view of the optical card C shown in FIG.
The following shows an example in which there is a defect in the data track and an example in which only the data is recorded without the V mark. There is a V mark V E on the data track M E in the figure.
After M F, there are at least 5 consecutive dataless tracks. Defects X 1 and X 2 are present on the data tracks in FIGS. 3 (a) and 3 (b) (the defect X 1 is continuous 3 tracks, and the defect X 2 is continuous 5 tracks). When a light beam scans this track, the AT is displaced at the defect portion and normal recording cannot be performed.
Further, the data tracks M D1 to M D4 of FIG. 7 (c) have no V mark recorded because of a verify error during data recording.

EOTを判断するためには、まず光カードC上の全ディ
レクトリを読み込む(第2図201)。ディレクトリには
前述したようにEOTアドレス情報が書き込まれており、
この情報によりステップ202でヘッドをEOTアドレスへシ
ークさせる。そしてステップ203以降ではEOT判断のため
のVマーク検出と5連続データ無しトラックの検出を行
なう。ステップ203で1トラックの再生動作を行ない、
ステップ204でそのトラックでATはずれがあったかチェ
ックし、なければステップ207以降に進む。ATはずれが
あればステップ205でRAM4内にあるATはずれエラーが連
続して何トラックあったかを示すATエラートラック数を
+1し、ステップ206でVマーク及びデータの有無確認
のため再度同じトラックを反対方向より再生する。ステ
ップ203で1トラックの再生動作を行なった際、トラッ
クの先端部分等にディフェクトがありATはずれを起こす
場合があるからである。
In order to judge EOT, first, all directories on the optical card C are read (201 in FIG. 2). As mentioned above, EOT address information is written in the directory,
This information causes the head to seek to the EOT address in step 202. After step 203, V mark detection for EOT determination and detection of 5 consecutive data-less tracks are performed. In step 203, one track is played back,
At step 204, it is checked whether or not the AT is out of the track. If there is an AT deviation, the number of AT error tracks in the RAM 4 in the RAM 4 is incremented by 1 in step 205, and the same track is again moved in the opposite direction in step 206 to confirm the presence of the V mark and data. Play more. This is because when the reproduction operation of one track is performed in step 203, a defect may occur in the tip portion of the track or the like and the AT may be lost.

ステップ207では再生したトラックにVマークがある
か判断し、Vマークがあればステップ211へ進みRAM4内
に仮のEOTを示す現在再生したトラック番号をセーブし
エラートラック数,ATエラートラック数をクリアして即
ち零に戻してステップ214へ行く。ステップ207でVマー
ク無しとなれば、ステップ208でステップ204でATはずれ
があったか判断し、あればステップ213へ行く。なけれ
ばステップ209でデータが記録されているか判断し、記
録されていればステップ212でRAM4内のATエラートラッ
ク数をクリアし、ステップ213でRAM4内にセーブしてあ
る最後にVマークがあったトラック位置と現在のトラッ
ク位置の差をRAM4内のEOT以降のエラートラック数を示
すエラートラック数にセットしステップ214へ進む。ス
テップ213におけるエラートラック数には、ATエラーの
ある場合と、209の判断においてデータが有る場合のよ
うにATエラーのない場合の双方が含まれる。ステップ20
9でデータ無しと判断すれば(これにより、このトラッ
クにはATエラーもなくデータ記録もないことになる)、
ステップ210で5トラック連続でデータ無しか判断し「N
O」ならばステップ214へ行き次のトラックに移動し、5
トラック連続データ無しになるまでステップ203より繰
り返す。ステップ210で5トラック連続データ無しとな
ればRAM4内にセーブしてあるトラック番号をEOTと判断
し処理を終る。RAM4内にあるATエラートラック数とエラ
ートラック数は以下に述べるデータ記録の際に利用され
る。
In step 207, it is judged whether or not there is a V mark on the reproduced track, and if there is a V mark, the process proceeds to step 211 and the currently reproduced track number indicating temporary EOT is saved in the RAM 4 and the error track number and AT error track number are cleared. That is, it returns to zero and goes to step 214. If the V mark is absent in step 207, it is determined in step 208 whether the AT is out of alignment, and if there is, the process proceeds to step 213. If not, it is judged in step 209 whether or not the data is recorded. If it is recorded, the number of AT error tracks in RAM4 is cleared in step 212, and the V mark is finally saved in RAM4 in step 213. The difference between the track position and the current track position is set to the error track number indicating the error track number after EOT in the RAM 4, and the process proceeds to step 214. The number of error tracks in step 213 includes both the case where there is an AT error and the case where there is no AT error such as the case where there is data in the judgment of 209. Step 20
If you judge that there is no data in 9 (this means that there is no AT error and data recording on this track),
In step 210, it is judged whether there is no data for 5 consecutive tracks and "N
If “O”, go to step 214 and move to the next track, 5
Repeat from step 203 until there is no track continuous data. If there is no continuous data for 5 tracks in step 210, the track number saved in the RAM 4 is judged to be EOT and the processing is ended. The number of AT error tracks and the number of error tracks in RAM4 are used in the data recording described below.

次に、データを記録するための手順について第1図に
示すフローチャートを用いて説明する。
Next, a procedure for recording data will be described with reference to the flowchart shown in FIG.

前述したように本実施例で5連続データなしトラック
をもってEOTの判断をしているが、このEOT検出のために
は、データ記録時、EOTと次に記録するトラックの間で
5トラック以上の連続データ無しトラックがあってはい
けない。そこで連続して3トラックを越えてデータが記
録できない時はそれより先にデータを記録しないこと
で、連続して5トラック以上データなしとならないよう
にする。この3トラックという値は確実に5トラックよ
り少ない状態を確保するために、1トラック分のマージ
ン(余裕)をみて決めたものである。
As described above, in the present embodiment, the EOT is determined with 5 consecutive data-less tracks. To detect this EOT, 5 or more consecutive EOTs are recorded between the EOT and the next recording track. There should be no data-less tracks. Therefore, when data cannot be continuously recorded over three tracks, no data is recorded before that so that no more than five tracks are continuously recorded. The value of 3 tracks is determined by looking at the margin (margin) for 1 track in order to ensure that the number of tracks is less than 5 tracks.

以下、1トラック分のデータ記録のシーケンスを述べ
る。
The sequence of data recording for one track will be described below.

まず、ステップ101で第2図で決定したRAM4内のATエ
ラートラック数が0であるかチェックする。0ならばス
テップ113でエラートラック数がmより小さいか判断す
る。連続してm回以上Vマークがないトラック、即ち、
正常に記録されていないトラックが続かないようにする
ためである。mの値はメディアの信頼性、再生時のスル
ープット等により決められている。ステップ113でエラ
ートラック数がmより大きければそれ以上記録は行なわ
ずエラー終了とする。m以下ならばステップ106へ進
む。ステップ102においてATエラートラック数が3より
大きければ、即ち4以上であれば、それ以上の記録は行
なわずエラー終了とする。ステップ102においてATエラ
ートラック数が3以下ならば、ステップ103においてAT
エラートラック数が3であるか否か判断し、3でない、
即ち、3より小さければステップ106へ進む。ATエラー
数が3ならば、ステップ104で次に記録すべきトラッ
ク、つまりRAM4内にセーブしてあるEOTのアドレスより
同じくRAM内に記憶されているエラートラック数に1を
加えた数だけ先のトラックに光ビームを移し、そのトラ
ックがATはずれをしないか光ビームを走査してチェック
してみる。そしてステップ105でそのトラックでATはず
れがあればそれ以上の記録は行なわずエラー終了とす
る。ATがはずれなければステップ106以降に進みデータ
の記録を行なう。
First, in step 101, it is checked whether the number of AT error tracks in the RAM 4 determined in FIG. 2 is 0. If 0, it is determined in step 113 whether the number of error tracks is smaller than m. Tracks that have no V mark more than m times consecutively, that is,
This is to prevent a track that is not normally recorded from continuing. The value of m is determined by the reliability of the medium, the throughput at the time of reproduction, and the like. If the number of error tracks is larger than m in step 113, no more recording is performed and the process ends in error. If m or less, the process proceeds to step 106. If the number of AT error tracks is larger than 3 in step 102, that is, if it is 4 or more, no more recording is performed and the process ends in error. If the number of AT error tracks is 3 or less in step 102, AT is detected in step 103.
It is judged whether the number of error tracks is 3, it is not 3,
That is, if it is smaller than 3, the process proceeds to step 106. If the number of AT errors is 3, the track to be recorded next in step 104, that is, the number of the error tracks stored in the RAM, which is 1 more than the EOT address saved in the RAM 4, is added. Move the light beam to the track and scan the light beam to check if the track is out of AT. Then, at step 105, if there is an AT deviation on that track, no further recording is performed and the processing ends in error. If the AT does not come off, the process proceeds to step 106 and thereafter to record data.

ステップ106では光ビームを次に記録するトラック、
つまりRAM4内にセーブしてあるEOTのアドレスより同じ
くRAM4内に記憶されているエアートラック数に1を加え
た数だけ先のトラックに移動させ、ステップ107で1ト
ラックのデータ記録及びベリファイ動作を行なう。な
お、ステップ103でATエラートラック数が3であり、従
ってステップ104でATはずれチェックが行なわれている
場合は、既に光ビームは次に記録すべきトラックに移動
しているため、106の動作は必要ない。ステップ107の動
作中ATはずれがあったかステップ108で判断し、ATはず
れがなければステップ109でRAM4内のATエラートラック
数をクリアし(ATはずれがなければデータが記録されて
いる)、ステップ110でベリファイの結果が正常である
か判断し、エラーがあればステップ115へ行き、正常な
らばステップ111へ行きそのトラックにVマークを記録
し、次のライト動作に備え光ビームを次のトラックに移
動する。そしてステップ112でRAM4内のエラートラック
数、ATエラートラック数をクリアし、現在正常に記録が
行なえたEOTのトラック番号をセーブし処理を終了す
る。
In step 106, the track for recording the light beam next,
That is, the EOT address saved in the RAM4 is moved to a track ahead by a number equal to the number of air tracks stored in the RAM4 plus one, and the data recording and verify operation of one track are performed in step 107. . If the number of AT error tracks is 3 in step 103, and if the AT deviation check is performed in step 104, the light beam has already moved to the track to be recorded next, and therefore the operation of 106 is performed. unnecessary. In step 107, it is determined in step 108 whether there is AT deviation during operation. If there is no AT deviation, the number of AT error tracks in RAM4 is cleared in step 109 (if there is no AT deviation, data is recorded), and in step 110. It is judged whether the verification result is normal, and if there is an error, the procedure goes to step 115, and if it is normal, the procedure goes to step 111 to record a V mark on the track, and move the light beam to the next track in preparation for the next write operation. To do. Then, in step 112, the number of error tracks and the number of AT error tracks in the RAM 4 are cleared, the track number of the EOT which can be recorded normally is saved, and the process ends.

ステップ108で記録動作中ATはずれがあったと判断す
ると、ステップ114へ進みRAM4内のATエラートラック数
を+1する。ステップ107でライトトラックの先端等に
ディフェクトがあった場合は、ATはずれを起こしそのト
ラックにはデータが記録されないからである。なお、AT
はずれがトラックの途中で起きた場合はそれまでは情報
の記録は行なわれているが、本実施例においてはATはず
れが発生した時は情報の記録が実際に行なわれたかどう
か判断できないため、この場合においてもステップ114
でATエラートラック数を+1する。ATはずれしても情報
の記録が行なわれたかどうか判断できる実施例において
は、情報の記録が行なわれた時のみATエラートラック数
を+1すればよい。ステップ114でRAM4内のATエラート
ラック数を+1した後、ステップ115でこの1回のデー
タ記録のルーチンにおいてn回リトライしたか判断す
る。ATはずれの場合もしくはベリファイでエラーになっ
た場合は次のトラックに再度記録を行なうが、このリト
ライの最大値をn回としておく。ステップ115でリトラ
イがn回になっていればそれ以上の記録は行なわずエラ
ー終了とする。n回より小さければステップ116へ進みR
AM4内のエラートラック数を+1し、データが正常に記
録できるまでステップ101より繰り返す。なお、リトラ
イがn回になる以前に、ステップ102においてATエラー
トラック数が4以上となった場合やステップ105におい
てATはずれがあった場合等にはその時点でエラー終了と
する。
If it is determined in step 108 that the AT is out of the recording operation, the process proceeds to step 114 and the number of AT error tracks in the RAM 4 is incremented by one. This is because if there is a defect at the tip of the write track or the like in step 107, AT is lost and no data is recorded on that track. AT
If the deviation occurs in the middle of the track, the information is recorded until then, but in the present embodiment, when the AT deviation occurs, it is not possible to judge whether the information was actually recorded. Even if step 114
The number of AT error tracks is incremented by. In the embodiment in which it is possible to judge whether or not the information is recorded even if the AT is out, it is sufficient to increment the AT error track number by +1 only when the information is recorded. After the number of AT error tracks in the RAM 4 is incremented by 1 in step 114, it is determined in step 115 whether or not retry has been performed n times in this one-time data recording routine. If AT fails or if an error occurs during verification, recording is performed again on the next track, but the maximum value of this retry is n times. If the number of retries has reached n in step 115, no further recording is performed and the processing ends in error. If it is less than n times, go to step 116 R
The number of error tracks in AM4 is incremented by 1 and repeated from step 101 until data can be recorded normally. If the number of AT error tracks becomes 4 or more in step 102 before the number of retries reaches n or there is an AT deviation in step 105, the processing ends in error at that point.

1トラック分のデータ記録が終了して次のデータを記
録する時はまた本ルーチンの先頭より行なう。
When one track of data has been recorded and the next data is to be recorded, this routine is started from the beginning.

そしてディレクトリによりファイル管理を行なうよう
な場合、1ファイル分のデータ記録が終了するとEOTの
アドレスを含んだディレクトリの記録を行なう。
Then, when file management is performed using a directory, when the data recording for one file is completed, the directory including the EOT address is recorded.

本実施例によると、2トラック以下にわたるディフェ
クトならばそのディフェクト以降問題なく記録が行な
え、第3図(a)で示したような3トラックにわたるデ
ィフェクトの場合は4トラック目がATはずれを起さない
ことを確認するので4トラック目には確実に記録が行な
え、又第3図(b)のような4トラック以上にわたるデ
ィフェクトの場合はそのディフェクトより先には記録を
行なわない。
According to the present embodiment, if the defect extends over 2 tracks or less, recording can be performed without any problems after the defect, and in the case of the defect extending over 3 tracks as shown in FIG. 3 (a), the fourth track does not deviate from AT. Since it is confirmed that recording can be surely performed on the fourth track, and in the case of a defect extending over four tracks as shown in FIG. 3B, recording is not performed before the defect.

本実施例では連続ATはずれトラック数を3、EOT検出
のための連続データ無しトラック数を5とし、3トラッ
クにわたるディフェクトまでならば許容できるようにし
ているが、許容できるディフェクトの大きさの違いによ
りこれらの値は変わってくる。また本実施例では1トラ
ック分のマージンを設けたが、マージンは設けないこと
も可能であり、また2トラック分以上設けることも可能
である。
In this embodiment, the number of continuous out-of-track tracks is 3, the number of tracks without continuous data for EOT detection is 5, and defects up to 3 tracks can be tolerated. However, due to the difference in allowable defect size, These values will change. Further, although the margin for one track is provided in the present embodiment, it is also possible not to provide the margin, and it is also possible to provide the margin for two tracks or more.

また、本実施例ではベリファイの結果エラーがない場
合はVマークを記録することとしているが、Vマークを
記録しない場合においても本発明が通用できることは当
然である。
Further, in the present embodiment, the V mark is recorded when there is no error as a result of the verification, but it goes without saying that the present invention can be applied even when the V mark is not recorded.

また、本実施例ではVマークのある最終トラックを最
終記録トラックとしているが、Vマークのある最終トラ
ック以降にある記録済みであるがエラーがあるためにV
マークのないトラックを最終記録トラックとすることも
可能である。
Further, in the present embodiment, the final track having the V mark is the final recording track. However, since there is an error in the recording after the final track having the V mark, there is an error in V.
It is also possible to set a track without a mark as the final recording track.

〔発明の効果〕〔The invention's effect〕

本発明はATはずれにより記録できないブロックの連続
数が最終記録ブロック検出のための連続データ無しブロ
ックの所定数以下の一定数以上になった場合は、それ以
降データを記録しないこととしたため、ATはずれの原因
となったほこり,汚れ等のディフェクト又は装置の振動
などの外部要因が取り除かれた場合においても、ATはず
れにより記録できなかったブロックの連続数を最終記録
ブロック検出のための連続データ無しブロックの所定数
ととり違えることがなく、最終記録ブロックの検出が確
実に行なえる。このことによりシーケンシャルなデータ
管理を実現することができる。
According to the present invention, when the number of consecutive blocks that cannot be recorded due to the AT deviation is more than a predetermined number of the blocks with no continuous data for the final recording block detection, the data is not recorded thereafter. Even if external factors such as dust, dirt, etc., which caused the above, or device vibration, etc., are removed, the number of consecutive blocks that could not be recorded due to the loss of AT is the block without continuous data for detecting the final recorded block. It is possible to surely detect the final recording block without confusing it with the predetermined number. This makes it possible to realize sequential data management.

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

第1図〜第7図は本発明の一実施例を示す説明図であ
り、そのうち、第1図はデータ記録の手順を示すフロー
チャート、第2図はEOT検出のためのフローチャート、
第3図はトラックにディフェクトがある場合又はデータ
は記録されているがベリファイエラーがあったためVマ
ークが記録されていない場合を示す図、第4図は本発明
によるデータ記録方法を適用した光カードのデータ記録
再生装置の一実施例を示すブロック図、第5図は光カー
ドの概略的平面図、第6図(A)及び(B)は、光カー
ドのデータトラック及びディレクトリのデータフォーマ
ットを示す図、第7図は光カードの主データ記録部の拡
大図である。 M……主データ記録部(データトラック部)、ME……最
終記録トラック、MF……5連続データ無しトラックのう
ちの最初のトラック、MD1,MD2,MD3,MD4……データ記録
時にベリファイエラーがあったためVマークが記録され
ていないトラック、V……ベリファイマーク記録部、VE
最終記録トラックに対応するVマーク、X1,X2……ディ
フェクト。
1 to 7 are explanatory views showing an embodiment of the present invention, in which FIG. 1 is a flowchart showing a data recording procedure, FIG. 2 is a flowchart for EOT detection,
FIG. 3 shows a case where there is a defect in the track or data is recorded but a V mark is not recorded due to a verify error, and FIG. 4 is an optical card to which the data recording method according to the present invention is applied. 5 is a block diagram showing an embodiment of the data recording / reproducing apparatus of FIG. 5, FIG. 5 is a schematic plan view of an optical card, and FIGS. 6A and 6B show data formats of a data track and a directory of the optical card. 7 and 8 are enlarged views of the main data recording section of the optical card. M: main data recording part (data track part), M E: last recording track, M F : first track among 5 continuous data-less tracks, M D1 , M D2 , M D3 , M D4 ...... A track in which a V mark is not recorded due to a verify error during data recording, V ... verify mark recording area, V E
V mark corresponding to the last recorded track, X 1 , X 2 ... Defect.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】記録担体に対して所定の単位ブロック毎に
データをシーケンシャルに記録する際に、そのシーケン
シャルにデータが記録されている最終のブロック以降
に、連続して所定数のデータが記録されていないブロッ
クが続いたときに、前記データが記録されている最終の
ブロックを最終記録ブロックと判定し、該最終記録ブロ
ックに引き続いて、シーケンシャルにデータを記録する
方法において、 各ブロックにデータを記録する前に、そのブロックが記
録可能か否か判断し、記録可能と判断された場合には、
そのブロックにデータを記録し、記録不可能と判断され
た場合には、次のブロックに移って、記録可能か否かの
判断およびデータの記録を繰り返すが、記録不可能と判
断されたブロックが、前記最終記録ブロックを検出する
ための、データが記録されていないブロックの所定数以
下のある一定数以上、連続した場合には、記録動作を中
止し、それ以降のデータの記録を行わないことを特徴と
するデータ記録方法。
1. When sequentially recording data on a record carrier for each predetermined unit block, a predetermined number of data is continuously recorded after the last block in which the data is sequentially recorded. When a block that has not been recorded continues, the final block in which the data is recorded is determined to be the final recording block, and data is recorded in each block in a method of sequentially recording the data following the final recording block. Before doing so, determine whether the block can be recorded, and if it is determined that it can be recorded,
If data is recorded in that block and it is determined that recording is not possible, the process moves to the next block and the determination of whether recording is possible and the recording of data are repeated. In order to detect the last recording block, if the data continues for a certain number of blocks below the predetermined number of unrecorded blocks, stop the recording operation and do not record the data thereafter. Data recording method characterized by.
JP63118056A 1988-05-17 1988-05-17 Data recording method Expired - Fee Related JP2542419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63118056A JP2542419B2 (en) 1988-05-17 1988-05-17 Data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63118056A JP2542419B2 (en) 1988-05-17 1988-05-17 Data recording method

Publications (2)

Publication Number Publication Date
JPH01290169A JPH01290169A (en) 1989-11-22
JP2542419B2 true JP2542419B2 (en) 1996-10-09

Family

ID=14726924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63118056A Expired - Fee Related JP2542419B2 (en) 1988-05-17 1988-05-17 Data recording method

Country Status (1)

Country Link
JP (1) JP2542419B2 (en)

Also Published As

Publication number Publication date
JPH01290169A (en) 1989-11-22

Similar Documents

Publication Publication Date Title
EP0873560B1 (en) Cd-rom recording
US4885735A (en) Information recording and reproducing apparatus with management of defective sector
JP3478159B2 (en) Disc information acquisition method, access control method, recording control method, and optical disc recording device for optical disc
US6205099B1 (en) Disk defect management method and disk recording and reproducing apparatus
US5442614A (en) Method of recording data and information regarding defects
EP0303377B1 (en) Method of recording position information of last track recorded with data in directory area
JPH02216672A (en) Optical disk drive device
JP3132701B2 (en) Information recording method
JP2529192B2 (en) Information recording and playback method
US5184341A (en) Information recording method having successive data write and data verify operations
EP0490400A1 (en) Information storage apparatus
JP2542419B2 (en) Data recording method
JPH0787004B2 (en) Data recording method
JP3782208B2 (en) Optical disk recording device
JP2674242B2 (en) Defect inspection method for recording medium of disk storage device
JP2860956B2 (en) Optical card recording method
JPH05174494A (en) Formatting method for disk memory
JPH10269576A (en) Optical recording method
JPH0887437A (en) Information recording method
JPH01154335A (en) Magneto-optical disk device
JPH0778969B2 (en) Final recording sector detection method
JPH05109207A (en) Information recording system
JPS63155466A (en) Optical disk device
JPH01267885A (en) Data retrieval system and information recording and reproducing device
JPH08212720A (en) Information recording method

Legal Events

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