[go: up one dir, main page]

JPH06266602A - Information recording method - Google Patents

Information recording method

Info

Publication number
JPH06266602A
JPH06266602A JP5078637A JP7863793A JPH06266602A JP H06266602 A JPH06266602 A JP H06266602A JP 5078637 A JP5078637 A JP 5078637A JP 7863793 A JP7863793 A JP 7863793A JP H06266602 A JPH06266602 A JP H06266602A
Authority
JP
Japan
Prior art keywords
recording
data
directory
information
recorded
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
JP5078637A
Other languages
Japanese (ja)
Other versions
JP2601615B2 (en
Inventor
Yoshiji Tsuchiya
佳司 土谷
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 JP5078637A priority Critical patent/JP2601615B2/en
Publication of JPH06266602A publication Critical patent/JPH06266602A/en
Application granted granted Critical
Publication of JP2601615B2 publication Critical patent/JP2601615B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Optical Recording Or Reproduction (AREA)

Abstract

PURPOSE:To securely record the directory of final data which is recorded last even if the recording area of a data part in an information recording medium is used up. CONSTITUTION:In an information recording method for recording file data in the data part provided in the information recording medium and for recording directory information for managing file data in the directory part of the recording medium so as to record information, a difference between the recording unit of data which is to be recorded next and a recording unit by which a final directory is recorded is compared with a first prescribed value which is previously decided in the case of recording file data. When the value of the difference becomes smaller than the first prescribed value, the recording area of the data part is judged to be used up. In the case of recording directory information of file data, the difference between the recording unit by which final data is recorded and the recording unit of the directory which is to be recorded next is compared with a second prescribed value which is set to be smaller than the first prescribed value and the presence or absence of the remaining recording area in the directory part is judged.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、光カードなどの情報記
録媒体に情報を記録する情報記録方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information recording method for recording information on an information recording medium such as an optical card.

【0002】[0002]

【従来の技術】従来、光学的に情報を記録したり、ある
いは記録された情報を読み出す記録媒体の形態として
は、ディスク状、カード状、テープ状のものなど各種の
ものが知られている。このうち、カード状の記録媒体
(以下、光カードという)は小型、軽量で持ち運びに便
利な上、大容量の記録容量を有するために今後追記型記
録媒体として大きな需要が見込まれている。図3はその
光カードの記録面を示した図で、1は光カード、2は情
報記録領域である。情報記録領域2にはトラッキングト
ラック31 〜3n+1 が平行に多数配列され、その各トラ
ッキングトラックの間に情報を記録するための情報トラ
ック41 〜4n が設けられている。また、各情報トラッ
クの両端部には情報トラックを識別するための物理的ト
ラックナンバー51 〜5n が記録されている。
2. Description of the Related Art Conventionally, various types of recording media such as a disc, a card, and a tape have been known as a form of a recording medium for optically recording information or reading recorded information. Among them, a card-shaped recording medium (hereinafter referred to as an optical card) is small and lightweight, convenient to carry, and has a large recording capacity. Therefore, a large demand is expected for the write-once recording medium in the future. FIG. 3 shows the recording surface of the optical card. Reference numeral 1 is an optical card, and 2 is an information recording area. In the information recording area 2, a large number of tracking tracks 3 1 to 3 n + 1 are arranged in parallel, and information tracks 4 1 to 4 n for recording information are provided between the tracking tracks. Physical track numbers 5 1 to 5 n for identifying the information tracks are recorded at both ends of each information track.

【0003】ところで、こうした光カード、特に情報の
消去が不可能な追記式の光カードは寸法がクレジットカ
ード程度ではあるが、このサイズであっても大容量の記
録容量を持っている。例えば、光カードの寸法を85m
m×55mm、情報トラックピッチを20μm、1ビッ
トの記録長を5μmとすると、光カードのトラック数は
2750本、1トラック当りのビット容量は17000
ビット、バイト容量では2125バイトとなる。こうし
た大容量のメモリのデータを管理する場合、通常はディ
レクトリによる情報管理手法が採られているが、前述の
ような光カードも大容量であるので、やはりディレクト
リによるファイル管理が一般的である。通常、ディレク
トリとしては図4に示すようにファイル名、ファイル
長、先頭データトラック番号などファイル管理に必要な
情報から構成されている。こうしたディレクトリ情報は
ファイルごとに記録媒体の一部に書き込まれ、データの
記録や再生時にはディレクトリをもとにファイルの管理
が行われる。
By the way, such an optical card, particularly a write-once type optical card in which information cannot be erased, has a recording capacity of a large capacity even though it has a size of a credit card. For example, the size of the optical card is 85m
Assuming m × 55 mm, information track pitch of 20 μm and 1-bit recording length of 5 μm, the number of tracks of the optical card is 2750, and the bit capacity per track is 17,000.
The bit and byte capacity is 2125 bytes. When managing data in such a large-capacity memory, an information management method using a directory is usually adopted, but since the optical card as described above also has a large capacity, file management by a directory is also common. Normally, a directory is composed of information necessary for file management such as a file name, file length, and head data track number as shown in FIG. Such directory information is written in a part of the recording medium for each file, and the file is managed based on the directory when recording or reproducing data.

【0004】図3に示した光カードは以上のようなディ
レクトリによるファイル管理のために、情報記録領域2
はファイルデータを記録するためのデータ部10と、デ
ィレクトリを記録するためのディレクトリ部20に分け
られている。データ部10は1情報トラックが1セクタ
として構成され、先頭の情報トラック4n から順にデー
タ101 、102 、…10m が記録される。一方、ディ
レクトリ部20は1情報トラックが4セクタとして構成
され、データ部10とは反対側の情報トラック41 から
順にディレクトリ201 、202 、…20n が記録され
る。
The optical card shown in FIG. 3 has an information recording area 2 for managing files by the above directories.
Is divided into a data section 10 for recording file data and a directory section 20 for recording a directory. In the data section 10, one information track is configured as one sector, and data 10 1 , 10 2 , ..., 10 m are recorded in order from the head information track 4 n . On the other hand, in the directory section 20, one information track is configured as 4 sectors, and the directories 20 1 , 20 2 , ... 20 n are recorded in order from the information track 4 1 on the side opposite to the data section 10.

【0005】図5はディレクトリによるファイル管理を
採用した場合のファイルデータの記録方法を示したフロ
ーチャートである。図5において、まず光カード1にフ
ァイルデータを追記する場合、そのデータの記録後にフ
ァイルデータを管理するためのディレクトリが記録され
る。ディレクトリはディレクトリ部20の最終ディレク
トリ(EOD)の次のセクタに記録されるため、最終デ
ィレクトリの記録位置が分からない場合は、最終ディレ
クトリを検索する処理が行われる。また、ファイルデー
タもデータ部10の最終データ(EOS)の次のセクタ
から記録されるため、予め最終データの記録位置がわか
っていないときは最終データが検索される。従って、始
めに最終ディレクトリが検出されているか否かが判断さ
れ(S1)、もし検出されていなければ光カード1のデ
ィレクトリ部20を検索して最終ディレクトリの検出が
行われる(S2)。次いで、最終データの記録位置が検
出されているか否かが判断され(S3)、検出されてい
なければデータ部10を検索して最終データの検出処理
が行われる(S4)。こうした最終ディレクトリや最終
データの検出方法としては、例えば特開平1−4384
4号公報に提案されているように、データが記録された
トラックから連続してデータが記録されていないトラッ
クが所定数続いたときに前記データを最終データとして
検出する方法がある。
FIG. 5 is a flow chart showing a method of recording file data when the file management by the directory is adopted. In FIG. 5, when file data is additionally recorded on the optical card 1, a directory for managing the file data is recorded after the data is recorded. Since the directory is recorded in the sector next to the final directory (EOD) of the directory section 20, if the recording position of the final directory is unknown, the process of searching the final directory is performed. Further, since the file data is also recorded from the sector next to the final data (EOS) of the data section 10, the final data is searched when the recording position of the final data is not known in advance. Therefore, it is first determined whether or not the final directory has been detected (S1), and if not detected, the directory section 20 of the optical card 1 is searched to detect the final directory (S2). Next, it is judged whether or not the recording position of the final data is detected (S3), and if not detected, the data section 10 is searched to perform the final data detection process (S4). A method for detecting such final directory and final data is disclosed in, for example, Japanese Patent Laid-Open No. 1-4384.
As proposed in Japanese Patent Publication No. 4, there is a method of detecting the data as the final data when a predetermined number of tracks in which the data is not recorded continuously from the track in which the data is recorded.

【0006】最終ディレクトリ、最終データが検出され
ると、次に記録するデータのトラック(WDT TR
K)から最終ディレクトリのトラック(EOD TR
K)を引いた値と予め決められた一定の値Nが比較され
る(S5)。WDT TRKからEOD TRKを引い
た値は、図3から明らかなように光カードの全トラック
におけるデータ部とディレクトリ部を合わせた残りの未
記録トラック数を示すもので、Nは光カードの最終記録
位置の検出に用いられる数値である。Nの値は少くない
ほど情報トラックを無駄なく使えるのであるが、通常は
余裕をもって数本程度に設定される。従って、WDT
TRK−EOD TRK≦Nであれば、記録領域がなく
なったと判断してファイルデータの記録をエラー終了
し、WDT TRK−EOD TRK>Nであれば、最
終データの次のトラック(WDT TRK)に1セクタ
分のファイルデータが記録される(S6)。
When the final directory and the final data are detected, the track of the data to be recorded next (WDT TR
K) to the final directory track (EOD TR
The value obtained by subtracting K) is compared with a predetermined constant value N (S5). WDT TRK to EOD The value obtained by subtracting TRK indicates the number of remaining unrecorded tracks in which the data section and the directory section in all tracks of the optical card are combined, as is clear from FIG. 3, and N is used to detect the final recording position of the optical card. The numerical value used. The smaller the value of N is, the more information tracks can be used without waste, but normally it is set to a few tracks with a margin. Therefore, WDT
TRK-EOD If TRK ≦ N, it is determined that the recording area is exhausted, the recording of the file data is terminated with an error, and WDT is set. TRK-EOD If TRK> N, the next track of the final data (WDT File data for one sector is recorded in (TRK) (S6).

【0007】1セクタ分のデータの記録が終了すると、
1セクタ分のデータを記録したことにより、最終データ
トラックEOS TRKと前記WDT TRKがそれぞ
れ更新され(S7)、1ファイル分のデータを全て記録
したかどうかが判定される(S8)。こうしてS5〜S
8を繰り返すことによって、次の情報トラック、その次
の情報トラックというように順次データが記録され、1
ファイル分のデータが記録される。ファイルデータの記
録の後は、そのファイルデータを管理するディレクトリ
情報の記録処理が行われる。まず、最終データトラック
EOS TRKから次にディレクトリを記録するトラッ
クであるWDR TRKを引いた値とNの値が比較され
る(S9)。EOS TRKからWDR TRKを引い
た値は、前記と同様に残りの未記録トラックの総数を示
すもので、この値がNよりも小さければ記録領域がなく
なったと判断して処理をエラー終了する。反対にNの値
よりも大きければ、先に記録したファイルデータのファ
イル名、ファイル長、先頭データトラック番号などのフ
ァイル情報がWDR TRKで示される情報トラックに
ディレクトリとして記録される(S10)。そして、1
つのディレクトリを記録したことによりEOD TR
K、WDR TRKがそれぞれ更新される(S11)。
但し、この更新処理については、ここでは1つの情報ト
ラックに4つのディレクトリを記録できるために、ディ
レクトリを4回記録するごとに1回の更新が行われる。
以上で一連のデータファイルの記録処理が終了する。
When the recording of data for one sector is completed,
By recording data for one sector, the final data track EOS TRK and the WDT Each TRK is updated (S7), and it is determined whether or not all data for one file has been recorded (S8). In this way S5-S
By repeating step 8, data is sequentially recorded such that the next information track and the next information track are recorded.
Data for files is recorded. After recording the file data, the recording process of the directory information for managing the file data is performed. First, the final data track EOS WDR which is a track to record a directory next from TRK The value obtained by subtracting TRK is compared with the value of N (S9). EOS TRK to WDR The value obtained by subtracting TRK indicates the total number of remaining unrecorded tracks as described above. If this value is smaller than N, it is determined that there is no recording area, and the processing ends in error. On the contrary, if it is larger than the value of N, the file information such as the file name, the file length and the head data track number of the previously recorded file data is WDR. It is recorded as a directory on the information track indicated by TRK (S10). And 1
EOD by recording one directory TR
K, WDR Each TRK is updated (S11).
However, in this update process, since four directories can be recorded in one information track, one update is performed every time the directory is recorded four times.
This completes the recording process of the series of data files.

【0008】[0008]

【発明が解決しようとしている課題】しかしながら、上
記従来の情報記録方法では、図6に示すようにファイル
データの記録を終了したときのEOS TRKが4K+
N+1、WDT TRKが4K+N、EOD TRKが
K、WDR TRKがK+1であった場合に、EOS
RK−WDR TRK=N(図5のS5)となり、デー
タ部の記録領域がなくなってしまう。また、EOS
RK−WDR TRK=N(図5のS9)となるため
に、ディレクトリ部の記録領域もなくなってしまう。こ
のように光カードの残り容量が少くなり、1つのデータ
ファイルを記録した際にデータ部の残りトラックがなく
なった場合には、ファイルデータは記録したにもかかわ
らず、そのファイルデータを管理するためのディレクト
リは記録できないという問題があった。
[Problems to be Solved by the Invention]
In the conventional information recording method, as shown in FIG.
EOS at the end of data recording TRK is 4K +
N + 1, WDT TRK is 4K + N, EOD TRK
K, WDR EOS when TRK is K + 1 T
RK-WDR TRK = N (S5 in FIG. 5)
There will be no recording area on the touch panel. Also, EOS T
RK-WDR Since TRK = N (S9 in FIG. 5),
In addition, the recording area of the directory part is also lost. This
The remaining capacity of the optical card becomes small like
When recording a file, there are no remaining tracks in the data section
File data is recorded,
Without managing the file data
There was a problem that Li could not be recorded.

【0009】そこで、本発明の目的は、上記問題点を解
決し、データ部の記録領域がなくなっても、最後に記録
したファイルデータのディレクトリは確実に記録できる
ようにした情報記録方法を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems and provide an information recording method capable of surely recording the directory of the last recorded file data even if the recording area of the data portion is exhausted. Especially.

【0010】[0010]

【課題を解決するための手段】本発明の目的は、情報記
録媒体に設けられたデータ部にファイルデータを記録す
ると共に、前記記録媒体のディレクトリ部に前記ファイ
ルデータを管理するためのディレクトリ情報を記録して
情報の記録を行う情報記録方法において、ファイルデー
タを記録する場合は、次に記録するデータの記録単位と
最終ディレクトリが記録された記録単位の差と予め決め
られた第1の所定値を比較して前記差の値が第1の所定
値よりも小さくなったときにデータ部の記録領域がなく
なったと判断し、前記ファイルデータのディレクトリ情
報を記録する場合には、最終データが記録された記録単
位と次に記録するディレクトリの記録単位の差と前記第
1の所定値よりも小さく設定された第2の所定値を比較
して前記ディレクトリ部の残りの記録領域の有無を判断
することを特徴とする情報記録方法によって達成され
る。
An object of the present invention is to record file data in a data section provided on an information recording medium and to store directory information for managing the file data in a directory section of the recording medium. In the information recording method of recording and recording information, when file data is recorded, the difference between the recording unit of the data to be recorded next and the recording unit in which the final directory is recorded and a predetermined first predetermined value When the difference value becomes smaller than the first predetermined value, it is determined that the recording area of the data portion is exhausted, and when the directory information of the file data is recorded, the final data is recorded. The difference between the recording unit of the second recording unit and the recording unit of the directory to be recorded next is compared with the second predetermined value set smaller than the first predetermined value, and the directory is compared. Is achieved by an information recording method characterized by determining whether the remaining recording area of the Li portion.

【0011】[0011]

【実施例】以下、本発明の実施例について、図面を参照
して詳細に説明する。始めに、本発明の情報記録方法に
係る情報記録再生装置の一構成例を図2に基づいて説明
する。図2において、31は光カード1を情報記録媒体
として記録、再生を行う情報記録再生装置(以下、ドラ
イブという)で、ここでは上位制御装置であるホストコ
ンピュータ32に外部記憶装置として接続されている。
ドライブ31内のMPU33はROM,RAMを内蔵し
たマイクロプロセッサで、装置内の各部を統括的に制御
する。例えば、MPU33はカード送りモータ37を制
御し、光カード1を装置内の所定位置へ搬送したり、機
外へ排出したりする搬送動作を制御する。また、光カー
ド1が機内の所定位置に搬送されると、カード送りモー
タ37を制御し、その所定位置において光カード1をR
方向に往復移動させるように制御する。更に、MPU3
3はヘッド送りモータ36を制御し、後述する光ヘッド
45を光カード1のトラック横断方向に移動させて光ヘ
ッドを指示されたトラックにアクセスするよう制御す
る。
Embodiments of the present invention will now be described in detail with reference to the drawings. First, a configuration example of the information recording / reproducing apparatus according to the information recording method of the present invention will be described with reference to FIG. In FIG. 2, reference numeral 31 is an information recording / reproducing apparatus (hereinafter, referred to as a drive) for recording and reproducing the optical card 1 as an information recording medium, and is connected to a host computer 32, which is a host controller, as an external storage device. .
The MPU 33 in the drive 31 is a microprocessor having a built-in ROM and RAM, and comprehensively controls each unit in the device. For example, the MPU 33 controls the card feeding motor 37 to control the carrying operation of carrying the optical card 1 to a predetermined position in the apparatus or discharging it from the apparatus. When the optical card 1 is conveyed to a predetermined position in the machine, the card feed motor 37 is controlled so that the optical card 1 is rotated at the predetermined position.
Control to reciprocate in the direction. Furthermore, MPU3
3 controls the head feed motor 36 to move an optical head 45, which will be described later, in the track traversing direction of the optical card 1 to control the optical head to access the designated track.

【0012】光ビーム照射光学系38は光源の半導体レ
ーザやそのレーザ光束を微小光スポットに絞るための対
物レンズなどから構成され、光カード1の記録面に記録
や再生用の光ビームを照射する。光検出器39はその光
ビームの光カード1からの反射光を検出するためのセン
サである。AFアクチュエータ40は光ビーム照射光学
系38内の対物レンズをフォーカシング方向(Z方向)
に、ATアクチュエータ41は対物レンズをトラッキン
グ方向(Y方向)にそれぞれ微小移動させるもので、対
物レンズの両方向への微小移動によって、光ビームのト
ラッキング制御とフォーカシング制御が行われる。以上
の光ビーム照射光学系38、光検出器39、AF及びA
Tアクチュエータ40,41は光ヘッド45として一体
化されている。光ヘッド45は通常固定されており、こ
れに対し光カード1が往復移動することで、光ビームは
光カード1の情報トラック上を相対的に走査し、情報の
記録や再生が行われる。
The light beam irradiation optical system 38 is composed of a semiconductor laser as a light source and an objective lens for narrowing the laser beam into a minute light spot, and irradiates the recording surface of the optical card 1 with a recording or reproducing light beam. . The photodetector 39 is a sensor for detecting the reflected light of the light beam from the optical card 1. The AF actuator 40 moves the objective lens in the light beam irradiation optical system 38 in the focusing direction (Z direction).
Further, the AT actuator 41 slightly moves the objective lens in the tracking direction (Y direction), and tracking control and focusing control of the light beam are performed by minute movement of the objective lens in both directions. The above light beam irradiation optical system 38, photodetector 39, AF and A
The T actuators 40 and 41 are integrated as an optical head 45. The optical head 45 is usually fixed, while the optical card 1 reciprocates, so that the light beam relatively scans the information track of the optical card 1 to record or reproduce information.

【0013】AT/AF制御回路34は光検出器39の
検出信号をもとにトラッキング誤差信号やフォーカシン
グ誤差信号を生成し、それに基づいてATアクチュエー
タ41、AFアクチュエータ40をそれぞれ制御する。
これにより、光ビーム照射光学系38から光カードに照
射された光ビームのトラッキング制御とフォーカシング
制御が行われ、光ビームは記録面に合焦しつつ情報トラ
ック上を走査する。変復調回路35はMPU33から送
られた情報信号に応じて光ビーム照射光学系38の半導
体レーザの光ビームを強度変調し、この変調された光ビ
ームを情報トラックに走査することによってトラック上
に一連の情報が記録される。また、変復調回路35では
情報の再生時には、光検出器39の出力信号をもとに情
報を再生し、更に復調処理などを行って再生データを生
成する。得られた再生データはMPU33の制御により
ホストコンピュータ32へ転送される。ここで、ホスト
コンピュータ32は情報の記録、再生に際しては、記
録、再生命令の発行や記録データを転送するばかりでな
く、再生位置のセクタ単位ごとの指示、更にはファイル
データごとのディレクトリ情報の記録、再生を指示し、
ドライブ31ではそれに基づいて記録再生動作を実行す
る。
The AT / AF control circuit 34 generates a tracking error signal and a focusing error signal based on the detection signal of the photodetector 39, and controls the AT actuator 41 and the AF actuator 40 based on them.
As a result, tracking control and focusing control of the light beam emitted from the light beam irradiation optical system 38 to the optical card are performed, and the light beam scans the information track while focusing on the recording surface. The modulation / demodulation circuit 35 intensity-modulates the light beam of the semiconductor laser of the light beam irradiation optical system 38 in accordance with the information signal sent from the MPU 33, and scans this modulated light beam on the information track, so that a series of tracks are formed on the track. Information is recorded. Further, in the modulation / demodulation circuit 35, when reproducing information, information is reproduced based on the output signal of the photodetector 39, and further demodulation processing is performed to generate reproduced data. The obtained reproduction data is transferred to the host computer 32 under the control of the MPU 33. At the time of recording and reproducing information, the host computer 32 not only issues recording and reproducing commands and transfers recorded data, but also gives an instruction for each sector of the reproduction position and further records directory information for each file data. , Instruct playback,
The drive 31 executes the recording / reproducing operation based on it.

【0014】次に、本発明の情報記録方法の一実施例を
図1のフローチャートに基づいて説明する。図1におい
て、まず情報を記録する場合、ホストコンピュータ32
からドライブ31に記録命令が発行され、記録データが
ドライブ31に転送される。記録命令及び記録データは
ドライブ31のMPU33で受信され、MPU33では
記録命令を受けると、図5で説明したように最終ディレ
クトリ(EOD)と最終データ(EDS)の検出が行わ
れる(S1〜S4)。この最終ディレクトリと最終デー
タを検出する場合、例えば特開平1−43844号公報
で提案されているように、ディレクトリやデータが記録
されたトラックから未記録のトラックが連続して所定数
続いたときに、前記ディレクトリやデータを最終ディレ
クトリ及び最終データとして検出するものとする。
Next, an embodiment of the information recording method of the present invention will be described with reference to the flowchart of FIG. In FIG. 1, when recording information first, the host computer 32
A recording command is issued from the drive 31 to the drive 31, and the recording data is transferred to the drive 31. The recording command and the recording data are received by the MPU 33 of the drive 31, and when the MPU 33 receives the recording command, the final directory (EOD) and the final data (EDS) are detected as described in FIG. 5 (S1 to S4). . When the final directory and the final data are detected, for example, as proposed in JP-A-1-43844, when a predetermined number of unrecorded tracks continue from a track on which the directory or data is recorded. , The directory and the data are detected as the final directory and the final data.

【0015】最終ディレクトリ及び最終データが検出さ
れると、MPU33では次に記録するデータのトラック
WDT TRKから最終ディレクトリのトラックである
EOD TRKを引いた値と予め決められた値N1 が比
較される(S5)。このN1は光カードの最終データの
記録位置を検出するのに用いる数値で、ここでは後述す
る最終ディレクトリの記録位置を検出する数値N2 とは
異なる値に設定されている。本実施例では、N1 は数本
程度、N2 はこれよりも少ない値に設定され、N1 >N
2 となるようにそれぞれの値が決められている。一方、
WDT TRKからEOD TRKを引いた値は、光カ
ードの全トラックにおけるデータ部とディレクトリ部の
残りトラック数を表わすもので、この残りトラック数が
前述したN1 と比較される。
When the final directory and the final data are detected, the MPU 33 tracks the track WDT of the data to be recorded next. EOD which is the track of the final directory from TRK A value obtained by subtracting TRK is compared with a predetermined value N 1 (S5). This N 1 is a numerical value used for detecting the recording position of the final data of the optical card, and is set to a value different from the numerical value N 2 for detecting the recording position of the final directory which will be described later. In the present embodiment, N 1 is set to about several and N 2 is set to a value smaller than this, and N 1 > N
Each value is determined to be 2 . on the other hand,
WDT TRK to EOD The value obtained by subtracting TRK represents the number of remaining tracks in the data part and the directory part in all tracks of the optical card, and this number of remaining tracks is compared with N 1 described above.

【0016】残りトラック数がN1 よりも小さい場合
は、MPU33はデータ部の記録領域がなくなったと判
断してその旨をホストコンピュータ32に通知し、記録
処理をエラー終了する。一方、残りトラック数がN1
りも大きい場合は、MPU33では各部を制御し、図3
に示した光カードのデータ部10のWDT TRKで示
される情報トラックに1セクタ分のデータが記録される
(S6)。次いで、1セクタのデータを記録したことに
よりWDT TRK、EOS TRKがそれぞれ更新さ
れ(S7)、1ファイルのデータを記録したかどうかが
判断される(S8)。記録していないデータが残ってい
れば、再びS5に戻って同様の処理が行われる。そし
て、このS5〜S8の処理を繰り返すことによってホス
トコンピュータ32から転送されたファイルデータが光
カードの情報トラックに1セクタづつ記録される。
When the number of remaining tracks is smaller than N 1 , the MPU 33 judges that the recording area of the data section is exhausted, notifies the host computer 32 of that, and terminates the recording process in error. On the other hand, when the number of remaining tracks is larger than N 1 , the MPU 33 controls each unit, and FIG.
WDT of the data section 10 of the optical card shown in Data for one sector is recorded on the information track indicated by TRK (S6). Then, by recording the data of one sector, the WDT TRK, EOS The TRKs are respectively updated (S7), and it is determined whether the data of one file is recorded (S8). If there is any unrecorded data, the process returns to S5 and the same process is performed. Then, by repeating the processes of S5 to S8, the file data transferred from the host computer 32 is recorded on the information track of the optical card sector by sector.

【0017】ファイルデータの記録が終了すると、MP
U33では先に検出された最終ディレクトリのトラック
のEOS TRKから次に記録するディレクトリのトラ
ックWDR TRKを引いた値と予め決められた値N2
が比較される(S9)。N2は前述のように光カードの
最終ディレクトリの記録位置を検出するのに用いる値
で、最終データの記録位置を検出するのに用いられるN
1 よりも小さく設定された数値である。また、EOS
TRKからWDR TRKを引いた値は、光カードの全
トラックにおけるデータ部とディレクトリ部の残りトラ
ック数を表わす。ここで、この残りトラック数とN2
比較すると、N1 >N2 に設定されているために、比較
結果は必らずEOS TRK−WDR TRK>N2
なり、ディレクトリを記録するための記録領域がなくな
ることはない。次いで、先に記録されたファイルデータ
を管理するためのディレクトリ、即ち図4に示したファ
イル名、ファイル長などのファイル管理情報が図3に示
した光カードのディレクトリ部20に記録される(S1
0)。また、ディレクトリを記録したことによりWDR
TRKとEOD TRKがそれぞれ更新される(S1
1)。このトラックの更新処理は図3に示したように、
1トラックに4つのディレクトリが記録されるために、
ディレクトリを4回記録するごとに行われる。以上で一
連のファイルデータの記録処理が終了し、ドライブ31
ではホストコンピュータ32に記録が正常に終了した旨
を通知して次の命令の待機状態となる。
When the recording of the file data is completed, the MP
In U33, the EOS of the track of the last directory detected earlier Track WDR of the directory to be recorded next from TRK A value obtained by subtracting TRK and a predetermined value N 2
Are compared (S9). N 2 is a value used to detect the recording position of the final directory of the optical card as described above, and is used to detect the recording position of the final data.
It is a number that is set smaller than 1 . Also, EOS
TRK to WDR The value obtained by subtracting TRK represents the number of remaining tracks in the data section and the directory section in all tracks of the optical card. Here, when the number of remaining tracks is compared with N 2 , the comparison result is always EOS because N 1 > N 2 is set. TRK-WDR Since TRK> N 2 , the recording area for recording the directory will not be exhausted. Next, a directory for managing the previously recorded file data, that is, file management information such as the file name and file length shown in FIG. 4 is recorded in the directory section 20 of the optical card shown in FIG. 3 (S1).
0). Also, by recording the directory, WDR
TRK and EOD TRKs are updated respectively (S1
1). As shown in FIG. 3, the updating process of this track is as follows.
Since four directories are recorded in one track,
It is performed every time the directory is recorded four times. This completes the recording process of the series of file data, and the drive 31
Then, the host computer 32 is notified that the recording has been normally completed, and the host computer 32 enters a standby state for the next command.

【0018】本実施例では、ファイルデータを記録する
場合は、次に記録するデータのトラックと最終ディレク
トリのトラックとの差が予め決められたN1 よりも小さ
くなったときにデータ部の記録領域がなくなったと判断
し、ディレクトリを記録する場合には、最終データのト
ラックと次に記録するディレクトリのトラックの差とN
1 よりも小さく設定されたN2 を比較してディレクトリ
部の記録領域の有無を判断することにより、ディレクト
リを記録するときは最終データのトラックと次に記録す
るディレクトリのトラックの差はN1 よりも小さくなる
ことはなく、ディレクトリ部のトラックを確実に確保す
ることができる。従って、ファイルデータを正常に記録
できた場合は、そのファイルデータのディレクトリは常
に記録することができる。即ち、光カードに順次ファイ
ルデータを記録していってデータ部の記録領域がなくな
ったとしても、N1 −N2 の分が最終ディレクトリを記
録するためのトラックとして確保されるために、従来の
ようにファイルデータは記録したにもかかわらずディレ
クトリは記録できないということはなく、最後に記録し
たファイルデータのディレクトリは必らず記録すること
ができる。
In this embodiment, when file data is recorded, when the difference between the track of the data to be recorded next and the track of the final directory becomes smaller than a predetermined N 1 , the recording area of the data section is recorded. When it is judged that the data has disappeared and the directory is recorded, N and
By comparing N 2 set to be smaller than 1 to determine the presence or absence of a recording area in the directory portion, when recording a directory, the difference between the track of the final data and the track of the directory to be recorded next is less than N 1 . Does not become smaller, and the track of the directory part can be surely secured. Therefore, when the file data can be recorded normally, the directory of the file data can always be recorded. That is, even if the file data is sequentially recorded on the optical card and the recording area of the data portion is lost, the area of N 1 -N 2 is secured as a track for recording the final directory. As described above, the file data is recorded, but the directory cannot be recorded, and the directory of the last recorded file data can be recorded without fail.

【0019】なお、以上の実施例では、データ部の構成
として1トラックを1セクタ、ディレクトリ部では1ト
ラックを4セクタとしたが、これに限ることはなく、ま
た光カード上のデータ部とディレクトリ部の配置も図3
に限ることはない。更に、データやディレクトリの記録
単位をトラック単位で説明したが、セクタ単位などであ
ってもよく、また情報記録媒体として光カードを例とし
たが、これに限定されることはない。
In the above embodiment, one track has one sector and the directory section has four tracks as the data section, but the present invention is not limited to this, and the data section and the directory on the optical card are not limited to this. The arrangement of parts is also shown in Figure 3.
It is not limited to Furthermore, although the recording unit of data or directory has been described in track units, it may be in sector units or the like, and an optical card is taken as an example of the information recording medium, but the present invention is not limited to this.

【0020】[0020]

【発明の効果】以上説明したように本発明は、情報記録
媒体にファイルデータを記録していってデータ部の記録
領域がなくなっても、従来のようにディレクトリ部の記
録領域がなくなることはなく、最後に記録したファイル
データのディレクトリは確実に記録できるという効果が
ある。
As described above, according to the present invention, even when file data is recorded on the information recording medium and the recording area of the data portion is lost, the recording area of the directory portion is not lost unlike the conventional case. The directory of the last recorded file data can be surely recorded.

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

【図1】本発明の情報記録方法の一実施例を示したフロ
ーチャートである。
FIG. 1 is a flowchart showing an embodiment of an information recording method of the present invention.

【図2】本発明の情報記録方法に係る情報記録再生装置
の一構成例を示した構成図である。
FIG. 2 is a configuration diagram showing a configuration example of an information recording / reproducing apparatus according to the information recording method of the present invention.

【図3】光カードの記録面の情報トラック及びデータ部
とディレクトリ部の配置を示した図である。
FIG. 3 is a diagram showing an arrangement of information tracks and a data section and a directory section on a recording surface of an optical card.

【図4】ディレクトリ情報の内容を示した図である。FIG. 4 is a diagram showing the contents of directory information.

【図5】従来例の情報記録方法を示したフローチャート
である。
FIG. 5 is a flowchart showing a conventional information recording method.

【図6】従来の情報記録方法の問題点を説明するための
図である。
FIG. 6 is a diagram for explaining a problem of a conventional information recording method.

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

1 光カード 2 情報記録領域 10 データ部 20 ディレクトリ部 31 情報記録再生装置(ドライブ) 32 ホストコンピュータ 33 MPU 1 Optical Card 2 Information Recording Area 10 Data Section 20 Directory Section 31 Information Recording / Reproducing Device (Drive) 32 Host Computer 33 MPU

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 情報記録媒体に設けられたデータ部にフ
ァイルデータを記録すると共に、前記記録媒体のディレ
クトリ部に前記ファイルデータを管理するためのディレ
クトリ情報を記録して情報の記録を行う情報記録方法に
おいて、ファイルデータを記録する場合は、次に記録す
るデータの記録単位と最終ディレクトリが記録された記
録単位の差と予め決められた第1の所定値を比較して前
記差の値が第1の所定値よりも小さくなったときにデー
タ部の記録領域がなくなったと判断し、前記ファイルデ
ータのディレクトリ情報を記録する場合には、最終デー
タが記録された記録単位と次に記録するディレクトリの
記録単位の差と前記第1の所定値よりも小さく設定され
た第2の所定値を比較して前記ディレクトリ部の残りの
記録領域の有無を判断することを特徴とする情報記録方
法。
1. Information recording for recording file data in a data section provided on an information recording medium and recording directory information for managing the file data in a directory section of the recording medium for recording information. In the method, when file data is recorded, the difference between the recording unit of the data to be recorded next and the recording unit in which the final directory is recorded is compared with a predetermined first predetermined value, and the difference value becomes When it becomes smaller than the predetermined value of 1, it is judged that the recording area of the data portion is exhausted, and when the directory information of the file data is recorded, the recording unit in which the final data is recorded and the directory to be recorded next are recorded. The presence or absence of the remaining recording area of the directory portion is determined by comparing the difference between the recording units and the second predetermined value that is set smaller than the first predetermined value. A method of recording information, characterized by declining.
【請求項2】 前記記録単位は、トラックまたはセクタ
であることを特徴とする請求項1の情報記録方法。
2. The information recording method according to claim 1, wherein the recording unit is a track or a sector.
JP5078637A 1993-03-15 1993-03-15 Information recording method Expired - Fee Related JP2601615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5078637A JP2601615B2 (en) 1993-03-15 1993-03-15 Information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5078637A JP2601615B2 (en) 1993-03-15 1993-03-15 Information recording method

Publications (2)

Publication Number Publication Date
JPH06266602A true JPH06266602A (en) 1994-09-22
JP2601615B2 JP2601615B2 (en) 1997-04-16

Family

ID=13667390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5078637A Expired - Fee Related JP2601615B2 (en) 1993-03-15 1993-03-15 Information recording method

Country Status (1)

Country Link
JP (1) JP2601615B2 (en)

Also Published As

Publication number Publication date
JP2601615B2 (en) 1997-04-16

Similar Documents

Publication Publication Date Title
EP0297634B1 (en) Alternate storage areas in magnetooptical media
US5406534A (en) Double-sided recordable optical disk suitable for a substituting process and a method for performing defect management
JP3289993B2 (en) Information recording / reproducing apparatus, information recording / reproducing method, information reproducing method
US5293566A (en) Information recording and reproducing apparatus
US5018124A (en) Information recording method and apparatus for recording information on track positioned at least two tracks ahead when abnormality of tracking servo is detected
US5739519A (en) Information recording method
EP0461831B1 (en) Method for changing a file name of a directory in a non-rewritable record medium
JPH10320924A (en) Method for recording information
JPS61243994A (en) Information recording method
JP2790265B2 (en) Information recording method
JPH10106170A (en) Optical disk information recording system
JP2601615B2 (en) Information recording method
JPH11339385A (en) Information reproducing method
US6014350A (en) Information reproducing or recording apparatus provided with memory for storing data, and information reproducing or recording method using the same apparatus
JPH0765540A (en) Apparatus for controlling data of optical card
JPH04170765A (en) Data recording method
JPS62293570A (en) Direct read after write type optical disk device
JPH08221905A (en) Information recording and reproducing method and device therefor
JP2653505B2 (en) Optical disk drive
JPH05108441A (en) Information recording system
JPH02116063A (en) Optical card
JP2000090586A (en) Information recording method and information reproducing method
JPH1064066A (en) Optical disk information recording system
JPH11134226A (en) Information recording method
JPH06150558A (en) Information recording and reproducing device

Legal Events

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