JPH08212125A - Information recording method - Google Patents

Information recording method

Info

Publication number
JPH08212125A
JPH08212125A JP7015338A JP1533895A JPH08212125A JP H08212125 A JPH08212125 A JP H08212125A JP 7015338 A JP7015338 A JP 7015338A JP 1533895 A JP1533895 A JP 1533895A JP H08212125 A JPH08212125 A JP H08212125A
Authority
JP
Japan
Prior art keywords
data
recording
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.)
Pending
Application number
JP7015338A
Other languages
Japanese (ja)
Inventor
Hideki Hosoya
英樹 細谷
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 JP7015338A priority Critical patent/JPH08212125A/en
Publication of JPH08212125A publication Critical patent/JPH08212125A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent previously a state that incomplete data remains on an optical card as valid data from being occurred. CONSTITUTION: Concerning the information recording method with which file data are successively recorded in a data recording area 10 of an optical card 1 and directory information for managing the file data is successively recorded in a directory recording area 20, when the recording capacity of the data recording area 10 is eliminated during the recording of additional file data, the directory information for managing these additional file data is recorded in the directory recording area 20 and afterwards, directory information equipped with information showing the invalidity of additional file data is recorded in the directory recording area 20. When the recording capacity of the data recording area 10 is eliminated during the recording of additional file data, the directory information for managing these file data is not recorded.

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, and more particularly to an information recording method suitable for recording information on an information recording medium which cannot be erased and rewritten.

【0002】[0002]

【従来の技術】従来、情報記録媒体としては、磁気を用
いて記録及び再生を行なうフロッピーディスクや磁気ハ
ードディスク、光を用いて記録及び再生を行なうカード
状光学的情報記録媒体等(以下、光カードと称する)や
ディスク状光学的情報記録媒体(以下、光ディクスと称
する)などが知られている。これらの記録媒体のうち、
光カードは、製造の容易さ、携帯性の良さ、アクセス性
の良さといった特徴を生かし、今後、用途が益々広がっ
ていくと考えられている。また、情報記録媒体にはその
媒体の特性により、消去書換が可能なものと、不可能な
ものがあるが、光カードは現状においては消去書換が不
可能なものが一般的で、医療分野等書換ができないこと
が利点となる分野での応用が期待されている。
2. Description of the Related Art Conventionally, as an information recording medium, a floppy disk or a magnetic hard disk for recording and reproducing by using magnetism, a card-like optical information recording medium for recording and reproducing by using light (hereinafter referred to as an optical card And a disk-shaped optical information recording medium (hereinafter referred to as an optical disc). Of these recording media,
Optical cards are expected to be used more and more in the future, taking advantage of their features such as ease of manufacture, portability, and accessibility. Also, some information recording media are erasable and non-erasable depending on the characteristics of the media, but optical cards are currently erasable and non-erasable in general, such as in the medical field. It is expected to be applied in fields where rewriting is not possible.

【0003】ところで、このような情報記録媒体のデー
タを管理する場合、大容量のデータを格納するためにデ
ータをブロックごとに管理する補助データ、いわゆるデ
ィレクトリが用いられている。ディレクトリには通常、
そのディレクトリが管理するファイル名、ファイル長、
先頭データトラック番号等のファイル情報などが含まれ
ており、これを記録媒体の一部に書き込んでデータ部の
ファイル管理を行っている。以上のような光カード、特
に消去書換が不可能な追記式光カードは、寸法がクレジ
ットカード程度の大きさであっても、大容量の記録容量
を持っているので、その大容量の情報を管理するために
はディレクトリによる情報の管理手法が必要となってく
る。
When managing data on such an information recording medium, auxiliary data for managing data in blocks, so-called directories, are used to store a large amount of data. The directory is usually
File name, file length,
File information such as the head data track number is included, and this is written in a part of the recording medium to manage the file of the data section. The optical card as described above, particularly the write-once optical card that cannot be erased and rewritten, has a large recording capacity even if it is about the size of a credit card. In order to manage it, a method of managing information using a directory is needed.

【0004】図4は光カードの一例を示した概略平面図
である。光カード1の記録領域はデータ記録領域10と
ディレクトリ記録領域20に分けられ、データ記録領域
10には複数のデータが、101 、102 、・・・10
n というように順に記録される。一方、ディレクトリ記
録領域20には、複数のデータの管理を行なうための複
数のディレクトリが、201 、202 、・・・20n
いうように順に記録される。即ち、データはデータ記録
領域10の未記録部に、既に記録されたデータに引き続
いてE方向に順次追加記録され、ディレクトリはディレ
クトリ記録領域20の未記録部に、既に記録されたディ
レクトリに引き続いてD方向に順次追加記録される。一
連のデータはひとまとめにしてファイルとして取り扱わ
れ、各々のファイルに対してディレクトリが記録され
る。通常ディレクトリは、対応するデータのファイル名
および先頭トラック番号等のアドレス情報を含んでい
る。
FIG. 4 is a schematic plan view showing an example of an optical card. The recording area of the optical card 1 is divided into a data recording area 10 and a directory recording area 20, and a plurality of data are recorded in the data recording area 10 as 10 1 , 10 2 ,.
It is recorded in order such as n . On the other hand, in the directory recording area 20, a plurality of directories for managing a plurality of data are sequentially recorded, such as 20 1 , 20 2 , ... 20 n . That is, the data is sequentially additionally recorded in the E direction in the unrecorded portion of the data recording area 10 following the already recorded data, and the directory is successively recorded in the unrecorded portion of the directory recording area 20 after the already recorded directory. Additional recording is performed sequentially in the D direction. A series of data are collectively handled as a file, and a directory is recorded for each file. The normal directory includes address information such as a file name of corresponding data and a head track number.

【0005】光カードにデータやディレクトリを記録あ
るいは再生する情報記録再生装置(以下、ドライブと呼
ぶ)は、上位制御装置(一般に、ホストコンピュータ)
に接続され、上位制御装置から送られる指令(コマン
ド)に基づいて情報の記録、再生を行なう。例えば、上
位制御装置からデータのライトコマンド(記録命令)が
発行された場合、最終データ(図4の例では、データ1
n )の次にデータが書き込まれ、ディレクトリのライ
トコマンドが発行された場合は、最終ディレクトリ(図
4の例では、ディレクトリ20n )の次にディレクトリ
が書き込まれる。なお、一般のファイル管理方法におい
ては、ディレクトリはファイルのクローズ時に記録する
のが一般的である。即ち、上位制御装置がオープンした
ファイルにデータを記録後、そのファイルのクローズ時
にドライブに対してディレクトリの記録命令を発行し、
それによりドライブがディレクトリを記録すると云う処
理がなされる。
An information recording / reproducing apparatus (hereinafter, referred to as a drive) for recording or reproducing data or a directory on an optical card is a host controller (generally a host computer).
The recording / reproducing of information is performed based on a command (command) sent from the host controller. For example, when a data write command (recording command) is issued from the host controller, the final data (data 1 in the example of FIG.
When data is written next to 0 n ) and a directory write command is issued, the directory is written next to the final directory (directory 20 n in the example of FIG. 4). In a general file management method, the directory is generally recorded when the file is closed. That is, after the data is recorded in the file opened by the host controller, a directory recording command is issued to the drive when the file is closed,
This causes the drive to record the directory.

【0006】また、データのリードコマンド(再生命
令)が上位制御装置から発行された場合は、指定された
データトラックにデータが存在するかどうかを確認し、
存在すれば指定トラックのデータを読みだして上位制御
装置に転送する。なお、上位制御装置はデータを読み出
す前に、光カード上の全てのディレクトリのリードコマ
ンドを発行するのが一般的である。この場合、ドライブ
は光カード上の全てのディレクトリを読み出して上位制
御装置に転送する。こうしたことから、ドライブでは、
既に記録されているデータあるいはディレクトリに引き
続いて新たなデータあるいはディレクトリ(図4の例で
はそれぞれデータ10n+1 及びディレクトリ20n+1
を追記するために、データあるいはディレクトリを追記
する前に、最終データあるいは最終ディレクトリの記録
位置を検出する必要がある。このような最終データや最
終ディレクトリの検出方法としては、例えば特開平1−
43844号公報に提案されているように、データが記
録されたトラックから連続してデータが記録されていな
いトラックが所定数続いたとき、そのデータを最終デー
タとして検出する方法がある。
Further, when a data read command (playback command) is issued from the host controller, it is confirmed whether or not data exists in the designated data track,
If it exists, the data of the specified track is read out and transferred to the host controller. The host controller generally issues a read command for all directories on the optical card before reading the data. In this case, the drive reads all the directories on the optical card and transfers them to the host controller. Therefore, in the drive,
New data or directory following the already recorded data or directory (in the example of FIG. 4, data 10 n + 1 and directory 20 n + 1, respectively )
In order to additionally record, it is necessary to detect the recording position of the final data or the final directory before additionally recording the data or the directory. As a method for detecting such final data and final directory, for example, Japanese Patent Laid-Open No.
As proposed in Japanese Patent No. 43844, 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.

【0007】しかしながら、このような検出方法では、
データ10とディレクトリ20を相対するE及びD方向
に記録していった時、データ10とディレクトリ20の
間にデータの記録されていないトラック(未記録トラッ
クと呼ぶ)が全く無くなるまで、光カード1を使用でき
ない。即ち、この検出方法においては、所定数の連続す
る未記録トラックの検出を必要とするから、データ10
とディレクトリ20との間の未記録トラック本数が所定
数に達した時点で、その光カードはこれ以上記録ができ
ない状態(これをカードフル状態と呼ぶ)になったとし
なければならない。従って、先の検出方法を用いた場
合、ファイルデータの記録を終了した時点でカードフル
状態となると、そのファイルデータを管理するためのデ
ィレクトリが記録できないと云う問題があった。
However, in such a detection method,
When the data 10 and the directory 20 are recorded in the opposite E and D directions, the optical card 1 is used until there is no track in which no data is recorded (called an unrecorded track) between the data 10 and the directory 20. Cannot be used. That is, since this detection method requires detection of a predetermined number of continuous unrecorded tracks, the data 10
When the number of unrecorded tracks between the directory and the directory 20 reaches a predetermined number, it must be assumed that the optical card is in a state where it cannot record any more (this is called a card full state). Therefore, when the above detection method is used, there is a problem that the directory for managing the file data cannot be recorded when the card full state is reached at the time when the recording of the file data is completed.

【0008】そこで、本願出願人は先に上記問題点を解
決した情報記録方法を特開平6−266602号公報で
公開している。この情報記録方法は、データを記録する
場合に、カードフルと判断する所定の未記録トラック本
数よりも、ディレクトリを記録する場合に、カードフル
と判断する所定の未記録トラック本数を小さな値に設定
することを特徴としている。この情報記録方法によれ
ば、データを記録中にカードフル状態となっても、その
状態はディレクトリ記録にとってはカードフル状態では
ないので、最後に記録したファイルデータを管理するた
めのディレクトリを必らず記録することができる。
Therefore, the applicant of the present application has previously disclosed an information recording method that solves the above problems in Japanese Patent Laid-Open No. 6-266602. This information recording method sets the predetermined number of unrecorded tracks that is judged to be card full when recording a directory to a smaller value than the predetermined number of unrecorded tracks that is judged to be card full when recording data. It is characterized by doing. According to this information recording method, even if the card is full during data recording, that state is not card full for directory recording, so a directory for managing the last recorded file data is required. Can be recorded without.

【0009】一方、データをファイルとして管理するた
めには、ファイルを他のファイルと区別するための識別
情報であるディレクトリ情報以外にも、ファイルの格納
情報を示すマップ情報が必要である。即ち、そのファイ
ルが情報記録媒体のどのトラック、またはトラックをい
くつかの単位に分割したセクタ、あるいはセクタを複数
個まとめた管理単位であるクラスタから始まり、どのト
ラック(以下、本明細書中では最小記録単位及び管理単
位は1トラックであるものとして説明する)にどのよう
な順序で配置されているかを示す格納情報が必要であ
る。一般に、この格納情報はファイル・アロケーション
・テーブル(FAT)と呼ばれている。ディレクトリと
FATを併用することにより、ディレクトリによりファ
イル名等の識別情報及び先頭のトラック番号が、FAT
によりその格納情報がそれぞれわかるため、効率的なフ
ァイル管理を行なうことができる。
On the other hand, in order to manage the data as a file, in addition to the directory information which is the identification information for distinguishing the file from other files, map information indicating the storage information of the file is required. That is, the file starts from which track of the information recording medium, a sector obtained by dividing the track into some units, or a cluster which is a management unit in which a plurality of sectors are collected, and which track (hereinafter referred to as the minimum in the specification) The recording unit and the management unit will be described as one track.) Stored information indicating the order in which they are arranged is required. Generally, this stored information is called a file allocation table (FAT). By using the directory and the FAT together, the identification information such as the file name and the head track number are FAT depending on the directory.
Since the stored information can be known respectively by, it is possible to perform efficient file management.

【0010】ところで、FATは基本的には格納情報に
変化があるごとに、即ち新たなファイルが記録された
り、ファイルが更新されるごとに書き換える必要があ
る。媒体が消去書換可能であれば、FATの領域を媒体
上に特定の領域に用意して、格納情報に変化があった場
合に、その領域を最新の情報に書き換えれば良い。しか
し光カードのように消去書換が不可能な媒体では、格納
情報に変化があるごとに新たなFATを追加記録する必
要があるので、光カードの情報容量を有効に利用できな
いと云う問題点があった。
Incidentally, the FAT basically needs to be rewritten every time the stored information changes, that is, every time a new file is recorded or the file is updated. If the medium is erasable and rewritable, the FAT area may be prepared in a specific area on the medium, and when the stored information changes, the area may be rewritten to the latest information. However, in a medium such as an optical card that cannot be erased and rewritten, it is necessary to additionally record a new FAT each time the stored information changes, so there is a problem that the information capacity of the optical card cannot be used effectively. there were.

【0011】そこで、本願出願人はこのような問題点を
解決したファイル管理方法を特開平4−141867号
公報で公開している。即ち、そのファイル管理方法は、
データをデータ部に順に所定記録単位毎に記録し、ファ
イルデータを管理するディレクトリ中にファイルデータ
の追加を示すフラグを設け、既存のファイルにデータを
追加記録するときには、追加すべきデータを別ファイル
としてデータ部に記録し、ディレクトリ部に追加データ
ファイルを管理するディレクトリをフラグをインクリメ
ントして記録し、再生時にファイル名が同じでフラグが
異なるファイルは、フラグの番号順に分割記録された1
つのファイルとして管理するファイル管理方法におい
て、追加データの記録時にデータの追加されるファイル
の最終記録単位に無効データ部がある時には、前記最終
記録単位に記録されている有効データをバッファメモリ
に読み取り、読み取ったデータの後部に新たに追加すべ
きデータを順次記録し、再生時にファイル名が同名で前
記フラグが異なるファイルでフラグが最大値以外のファ
イルは、最終記録単位領域を無効な記録単位領域として
管理するという方法である。
Therefore, the applicant of the present application has disclosed a file management method which solves such a problem in Japanese Patent Application Laid-Open No. 4-141867. That is, the file management method is
Data is recorded in the data section in order in predetermined recording units, a flag indicating addition of file data is provided in the directory for managing file data, and when additional data is recorded in an existing file, the data to be added is stored in another file. Is recorded in the data section, and the directory for managing the additional data file is recorded in the directory section with the flag incremented. Files with the same file name but different flags during reproduction are divided and recorded in the order of the flag numbers.
In the file management method for managing as one file, when the final recording unit of the file to which data is added when the additional data is recorded has an invalid data part, the valid data recorded in the final recording unit is read into the buffer memory, Data that should be newly added is sequentially recorded at the rear of the read data, and the files with the same file name but different flags but with a flag other than the maximum value during playback have the final recording unit area as an invalid recording unit area. It is a method of managing.

【0012】このファイル管理方法によれば、FATを
記録媒体上に記録する必要がないため、消去書換が不可
能な媒体でも、媒体の情報容量を有効に利用できるばか
りではなく、データの追加されたファイルの再生トラッ
ク本数が従来のファイル管理方法に比べて少なくて済
み、再生時間を短縮できると云った多くの優れた利点を
有する。
According to this file management method, since it is not necessary to record the FAT on the recording medium, even if the medium cannot be erased and rewritten, not only the information capacity of the medium can be effectively used but also data is added. The number of reproduction tracks of the file is smaller than that of the conventional file management method, and there are many excellent advantages that the reproduction time can be shortened.

【0013】[0013]

【発明が解決しようとする課題】ところで、特開平4−
141867号公報のファイル管理方法においては、既
存のファイルに対してデータをアペンド中に全てのアペ
ンドデータを記録し終わらない時にカードフルとなった
とすると、ドライブはカードフルでこれ以上データを記
録できない旨のエラーを上位制御装置に通知する。しか
し、上位制御装置では、上記アペンドのためにオープン
したファイルをクローズしない訳にはいかないので、そ
のクローズ処理としてディレクトリの記録命令をドライ
ブに発行する。
By the way, JP-A-4-
According to the file management method of Japanese Patent No. 141867, if the card becomes full when all append data is not recorded while appending data to an existing file, the drive is card full and cannot record any more data. The above error is notified to the host controller. However, the upper-level control device cannot help closing the file opened for appending, and therefore issues a directory recording command to the drive as the closing process.

【0014】このような場合、先に説明した特開平6−
266602号公報の方法で光カードの最終データを検
出したとすると、データはカードフル状態で記録できな
い状態であっても、ディレクトリは記録できるため、光
カード上にディレクトリを記録してしまう。そのため、
データが途中までアペンドされたファイルが光カード上
に有効なファイルとして存在してしまう。これは、特に
一定量のデータを多数追加しているような場合、例え
ば、光カードに毎日の血圧を記録していく場合や住所録
を記録していくような応用において問題となる。即ち、
例えば日時と血圧を組でアペンドしていく場合、最後の
データは日時しか記録されていないといった事態や、住
所録であれば、最後のデータは名前は記録できたが住所
は記録されていないといった事態が発生する。このよう
ないわゆる不完全なデータは、不完全な形で記録される
よりは全く記録されない方が好ましいが、従来において
は、このような不完全なデータも有効データとして残っ
てしまうと云う問題点があった。
In such a case, the above-mentioned JP-A-6-
If the final data of the optical card is detected by the method of Japanese Patent No. 266602, the directory can be recorded even if the data cannot be recorded in the card full state, so the directory is recorded on the optical card. for that reason,
A file to which data has been partially appended exists as a valid file on the optical card. This becomes a problem especially when a large amount of data of a certain amount is added, for example, when daily blood pressure is recorded on an optical card or when an address book is recorded. That is,
For example, when appending the date and time and blood pressure as a pair, the last data is recorded only as the date and time, or in the case of an address book, the last data could be recorded with the name but the address was not recorded. Things happen. It is preferable that such so-called incomplete data is not recorded at all, rather than being recorded in an incomplete form. However, in the past, such incomplete data remains as valid data. was there.

【0015】本発明は、このような問題点を解消するた
めになされたもので、その目的は、不完全なデータが有
効データとして残るという事態を防止するようにした情
報記録方法を提供することにある。
The present invention has been made in order to solve such a problem, and an object thereof is to provide an information recording method for preventing a situation in which incomplete data remains as valid data. It is in.

【0016】[0016]

【課題を解決するための手段】本発明の目的は、情報記
録媒体のデータ記録領域に順にファイルデータを記録す
ると共に、前記記録媒体のディレクトリ記録領域に順に
前記ファイルデータを管理するためのディレクトリ情報
を記録する情報記録方法において、追加ファイルデータ
の記録中に前記データ記録領域の記録容量が無くなった
場合は、この追加ファイルデータを管理するためのディ
レクトリ情報を前記ディレクトリ記録領域に記録した後
に、前記追加ファイルデータが無効であることを示す情
報を有するディレクトリ情報を前記ディレクトリ記録領
域に記録することを特徴とする情報記録方法によって達
成される。
SUMMARY OF THE INVENTION An object of the present invention is to record file data in a data recording area of an information recording medium in order and to manage directory data in a directory recording area of the recording medium. In the information recording method for recording, when the recording capacity of the data recording area is exhausted during the recording of the additional file data, after the directory information for managing the additional file data is recorded in the directory recording area, This is achieved by an information recording method characterized by recording directory information having information indicating that the additional file data is invalid in the directory recording area.

【0017】また、本発明の目的は、情報記録媒体のデ
ータ記録領域に順にファイルデータを記録すると共に、
前記記録媒体のディレクトリ記録領域に順に前記ファイ
ルデータを管理するためのディレクトリ情報を記録する
情報記録方法において、追加ファイルデータの記録中に
前記データ記録領域の記録容量がなくなった場合は、こ
の追加ファイルデータを管理するためのディレクトリ情
報を記録しないことを特徴とする情報記録方法によって
達成される。
Another object of the present invention is to record file data in order in a data recording area of an information recording medium, and
In the information recording method of sequentially recording the directory information for managing the file data in the directory recording area of the recording medium, when the recording capacity of the data recording area is exhausted during the recording of the additional file data, the additional file This is achieved by an information recording method characterized by not recording directory information for managing data.

【0018】[0018]

【実施例】以下、本発明の実施例について図面を参照し
て詳細に説明する。図1は光カード上の記録内容を模式
的に示したもので、本発明の情報記録方法の一実施例を
説明するための図である。図1(a)は光カードがカー
ドフル状態となる前の状態を示し、300はディレクト
リ部を、300aはデータ部を示している。ディレクト
リ部300にはディレクトリ301〜305が、データ
部300aにはデータ301a〜305aがそれぞれ記
録されている。また、A、B、Cはファイル名を、カッ
コ内の数字はアペンドフラグを示しており、例えば、フ
ァイル名Aのデータについてみると、ディレクトリ30
1、304、305から明らかなようにファイル名Aの
ファイルは最初のデータA(1)に2回の追加記録、即
ちデータA(2)、データA(3)が追加記録されてい
る。これらを追加データファイルと呼ぶ。つまり、ファ
イルAのデータは3つの部分に分割記録されている。フ
ァイル名B及びCのファイルはデータの追加記録はなさ
れていない。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 schematically shows the recorded contents on an optical card, and is a diagram for explaining an embodiment of the information recording method of the present invention. FIG. 1A shows a state before the optical card is in a card full state, where 300 is a directory section and 300a is a data section. Directories 301 to 305 are recorded in the directory section 300, and data 301a to 305a are recorded in the data section 300a. Also, A, B, and C indicate file names, and the numbers in parentheses indicate append flags. For example, regarding the data of file name A, the directory 30
As is clear from Nos. 1, 304, and 305, the file with the file name A additionally records the first data A (1) twice, that is, data A (2) and data A (3). These are called additional data files. That is, the data of the file A is divided and recorded in three parts. No additional data is recorded in the files with file names B and C.

【0019】なお、本実施例の情報記録方法において
は、図4に示したように光カードにデータ及びディレク
トリを光カードの相対する方向から連続して所定記録単
位毎に順次記録するものとする。また、実際には光カー
ドの記録領域は図1に示したようにデータ部及びディレ
クトリ部の領域が予め決められている訳ではなく、その
領域は記録状態により可変的に決定されるが、図1では
簡単のため、その領域を固定して示している。
In the information recording method of this embodiment, as shown in FIG. 4, the data and the directory are successively recorded on the optical card in a predetermined recording unit continuously from the opposite direction of the optical card. . In addition, as shown in FIG. 1, the recording area of the optical card is not such that the areas of the data portion and the directory portion are actually determined in advance, and the area is variably determined according to the recording state. In FIG. 1, the area is fixed and shown for simplicity.

【0020】図1(b)は図1(a)の状態から光カー
ドに更に追記がなされ、データ部の記録領域がなくなっ
た状態、即ち、カードフルとなった状態を示している。
図1(b)においては、データ306aで示すデータA
(4)がデータ305aの後に正常に記録され、このデ
ータA(4)を管理するためのディレクトリ306(デ
ィレクトリA(4))がディレクトリ305の後に記録
されている。この時点では、まだカードフル状態にはな
っていない。次に、データ307aで示すデータA
(5)が追記されているが、これはその記録途中にデー
タ部300aの記録領域が無くなり、その一部しか記録
できなかったものである。即ち、データA(5)の記録
途中でカードフル状態になって、データA(5)は不完
全な記録状態で終了したことを示している。
FIG. 1B shows a state in which additional recording is made on the optical card from the state of FIG. 1A so that the recording area of the data portion is lost, that is, the card is full.
In FIG. 1B, data A indicated by data 306a
(4) is normally recorded after the data 305a, and the directory 306 (directory A (4)) for managing this data A (4) is recorded after the directory 305. At this point, the card is not yet full. Next, the data A indicated by the data 307a
Although (5) is additionally written, this means that the recording area of the data portion 300a was lost during the recording and only a part of the recording area could be recorded. That is, it indicates that the card is in a full state during the recording of the data A (5) and the data A (5) ends in an incomplete recording state.

【0021】本実施例においては、この場合、一旦追加
データファイルA(5)を管理するためのディレクトリ
307(ディレクトリA(5))をディレクトリ部30
0に記録した後に、この追加データファイルの論理的消
去、或いは、無効を示す情報を有するディレクトリ30
8(ディレクトリA(I))を記録する。なお、本実施
例では、光カードの最終データを検出する方法として、
先に説明したような媒体の記録領域が無くなったと判断
するデータ部とディレクトリ部間の所定の未記録トラッ
ク本数よりも、ディレクトリを記録する場合に媒体の記
録領域が無くなったと判断する所定の未記録トラック本
数を小さな値に設定しているので、データ部の記録領域
が無くなっても、ディレクトリは必らず記録できる。
In the present embodiment, in this case, the directory 307 (directory A (5)) for temporarily managing the additional data file A (5) is added to the directory section 30.
After recording to 0, the directory 30 having information indicating logical deletion or invalidation of this additional data file
8 (directory A (I)) is recorded. In this embodiment, as a method of detecting the final data of the optical card,
As described above, a predetermined unrecorded area that determines that the recording area of the medium has run out when recording a directory, rather than a predetermined number of unrecorded tracks between the data section and the directory section that determines that the recording area of the medium has run out. Since the number of tracks is set to a small value, even if the recording area of the data section is lost, the directory can be recorded without fail.

【0022】図2は以上のように記録された光カードの
ディレクトリの再生を行なう場合の説明図である。図2
(a)は光カード上に記録されているディレクトリ情報
を示し、図1(b)と同じ状態である。不図示の情報記
録再生装置に光カードが挿入されると、ディレクトリ部
301〜308が再生され、情報記録再生装置に接続さ
れたメモリまたは補助記憶装置にディレクトリ部のディ
レクトリ情報の全てまたは必要とする一部分(本実施例
では、ディレクトリ301〜308)が読み込まれる。
FIG. 2 is an explanatory diagram for reproducing the directory of the optical card recorded as described above. Figure 2
1A shows the directory information recorded on the optical card, which is in the same state as FIG. 1B. When the optical card is inserted into the information recording / reproducing apparatus (not shown), the directory sections 301 to 308 are reproduced, and all or the directory information of the directory section is required in the memory or the auxiliary storage device connected to the information recording / reproducing apparatus. A part (the directories 301 to 308 in this embodiment) is read.

【0023】図2(b)はディレクトリ301〜307
が読み込まれた時のメモリまたは補助記憶装置の記憶状
態を示している。ディレクトリ308が読み込まれる
と、このディレクトリ308はその直前に読み込んだデ
ィレクトリ307で管理される追加データファイルA
(5)が論理的に消去された、或いは、無効であること
を示すディレクトリであるので、既にメモリまたは補助
記録装置に読み込んだディレクトリ307の情報はその
記憶から削除される。これにより、ディレクトリ部30
0のディレクトリは図2(c)のようになり、ファイル
A(5)は論理的に消去されるので、ファイルAはデー
タA(1)〜A(4)で構成されることになる。
FIG. 2B shows directories 301 to 307.
Shows the storage state of the memory or the auxiliary storage device when is read. When the directory 308 is read, this directory 308 is an additional data file A managed by the directory 307 read immediately before that.
Since (5) is a directory that has been logically deleted or is invalid, the information of the directory 307 that has already been read into the memory or the auxiliary recording device is deleted from the storage. As a result, the directory unit 30
The directory of 0 is as shown in FIG. 2C, and the file A (5) is logically deleted, so that the file A is composed of the data A (1) to A (4).

【0024】なお、図1及び図2においては、図を簡単
にするために、追加データファイルの論理的消去、或い
は、無効を示す情報としてアペンドフラグと同じ記述形
態(カッコ内に示す)を用いたが、これには実施例で用
いた方法以外に多くの変形が考えられる。例えば、ディ
レクトリ情報中のアペンドフラグと異なる部分にその情
報を示す部分を設けても良い。いかなる方法を用いて
も、再生時にそれがその直前に読み込んだディレクトリ
により管理される追加データファイルの論理的消去、或
いは、無効を示すものとして解釈されるならば、本発明
の効果を損なうことなく同様の効果を得ることが可能で
ある。また、本実施例では、説明を簡単にするために、
ファイルデータ中に無効データは無いものとして説明し
たが、本発明の情報記録方法は、無効データがある場合
にも適用できることは云うまでもない。
In FIGS. 1 and 2, in order to simplify the drawing, the same description form (shown in parentheses) as the append flag is used as information indicating logical deletion or invalidity of the additional data file. However, many modifications other than the method used in the examples are conceivable. For example, a portion indicating the information may be provided at a portion different from the append flag in the directory information. Whatever method is used, if it is interpreted at the time of reproduction as a logical deletion of the additional data file managed by the directory read immediately before it, or an indication of invalidity, it does not impair the effect of the present invention. It is possible to obtain the same effect. Further, in this embodiment, in order to simplify the description,
Although it has been described that there is no invalid data in the file data, it goes without saying that the information recording method of the present invention can be applied even when there is invalid data.

【0025】次に、本発明の他の実施例について説明す
る。図3は光カード上の記録内容を模式的に示したもの
で、本実施例の情報記録方法を説明するための図であ
る。図3(a)は光カードがカードフル状態となる前の
状態を示し、300はディレクトリ部を、300aはデ
ータ部を示している。ディレクトリ部300にはディレ
クトリ301〜305が、データ部300aにはデータ
301a〜305aがそれぞれ記録されている。また、
A、B、Cはファイル名を、カッコ内の数字はアペンド
フラグを示しており、例えば、ファイル名Aのデータに
ついてみると、ディレクトリ301、304、305か
ら明らかなようにファイル名Aのファイルは最初のデー
タA(1)に2回の追加記録、即ちデータA(2)、デ
ータA(3)が追加記録されている。これらを追加デー
タファイルと呼ぶ。つまり、ファイルAのデータは3つ
の部分に分割記録されている。ファイル名B及びCのフ
ァイルはデータの追加はなされていない。
Next, another embodiment of the present invention will be described. FIG. 3 schematically shows the recorded contents on the optical card, and is a diagram for explaining the information recording method of the present embodiment. FIG. 3A shows a state before the optical card is in a card full state, where 300 is a directory section and 300a is a data section. Directories 301 to 305 are recorded in the directory section 300, and data 301a to 305a are recorded in the data section 300a. Also,
A, B, and C indicate the file name, and the numbers in parentheses indicate the append flag. For example, looking at the data of the file name A, as can be seen from the directories 301, 304, and 305, the file with the file name A Two additional recordings, that is, data A (2) and data A (3) are additionally recorded in the first data A (1). These are called additional data files. That is, the data of the file A is divided and recorded in three parts. No data is added to the files having the file names B and C.

【0026】なお、本実施例においても、図4に示した
ようにデータ及びディレクトリを光カードの相対する方
向から順に所定記録単位毎に記録するものとする。ま
た、実際には図3に示したようにデータ部及びディレク
トリ部の領域が予め決められている訳ではなく、その領
域は記録状態により可変的に決定されるが、図3では簡
単のため、その領域を固定して示している。
Also in this embodiment, as shown in FIG. 4, the data and the directory are sequentially recorded in a predetermined recording unit from the opposite direction of the optical card. In addition, as shown in FIG. 3, the areas of the data section and the directory section are not predetermined in practice, and the areas are variably determined according to the recording state. The area is shown fixed.

【0027】図3(b)は図3(a)の状態の光カード
に更に追記がなされ、データ部300aの記録領域がな
くなった状態、即ちカードフルになった状態を示してい
る。図3(b)においては、データ305aの後にデー
タ306aで示すデータA(4)が正常に記録され、こ
のデータA(4)を管理するためのディレクトリ306
のディレクトリA(4)がディレクトリ部に記録されて
いる。この時点では、まだカードフル状態にはなってい
ないが、データ306aの後に更にデータ307aのデ
ータA(5)が記録されており、その記録途中にデータ
部の記録領域が無くなっている。従って、データ307
aは、その一部しか記録できなかったものである。即
ち、データA(5)の記録途中でカードフル状態になっ
て、データA(5)は不完全な記録状態で終了してい
る。このような場合、本実施例では図3(b)のように
記録途中にデータ部の記録領域のなくなったデータにつ
いてはそれを管理するディレクトリは記録せずに記録を
終了する。
FIG. 3B shows a state where the optical card in the state shown in FIG. 3A is additionally recorded and the recording area of the data section 300a is lost, that is, the card is full. In FIG. 3B, data A (4) indicated by data 306a is normally recorded after data 305a, and a directory 306 for managing this data A (4) is stored.
Directory A (4) is recorded in the directory section. At this point in time, the card is not in the full state, but the data A (5) of the data 307a is further recorded after the data 306a, and the recording area of the data part is lost during the recording. Therefore, the data 307
“A” is the one that could be recorded only partially. That is, the card full state is reached during the recording of the data A (5), and the data A (5) ends in an incomplete recording state. In such a case, in the present embodiment, as shown in FIG. 3B, for the data in which the recording area of the data portion is lost during recording, the directory for managing the data is not recorded and recording is terminated.

【0028】なお、本実施例においても、データを記録
する場合に、媒体の記録領域が無くなったと判断するデ
ータ部とディレクトリ部間の所定の未記録トラック本数
よりも、ディレクトリを記録する場合に媒体の記録領域
が無くなったと判断する所定の未記録トラック本数を小
さな値に設定しているので、データ部の記録領域が無く
なっても、ディレクトリは必ず記録できる。しかし、本
実施例においては、追加データファイルを記録中にカー
ドフル状態となった場合には、追加データファイルA
(5)を管理するディレクトリは記録しない。
Also in the present embodiment, when recording data, the medium is recorded when the directory is recorded more than the predetermined number of unrecorded tracks between the data portion and the directory portion, which is determined to be full of the recording area of the medium. Since the predetermined number of unrecorded tracks for judging that the recording area has been exhausted is set to a small value, the directory can always be recorded even when the recording area of the data part is exhausted. However, in this embodiment, if the card becomes full while recording the additional data file, the additional data file A
The directory managing (5) is not recorded.

【0029】ここで、本実施例においては、不図示の情
報記録再生装置に光カードが挿入されると、ディレクト
リ部301〜306が再生され、情報記録再生装置に接
続されたメモリまたは補助記憶装置にディレクトリ部の
ディレクトリ情報の全てまたは必要とする一部分(本実
施例では、ディレクトリ301〜306)が読み込まれ
る。以降、そのディレクトリ情報をもとにファイル管理
がなされる。この時、光カード上には、不完全な追加デ
ータファイルA(5)を管理するディレクトリは記録さ
れていないので、ファイルAはデータA(1)〜A
(4)で構成されているとして管理され、不完全な記録
状態で終了したデータA(5)はファイルデータとして
管理されることはなく、無効なデータとすることができ
る。
Here, in this embodiment, when an optical card is inserted into an information recording / reproducing apparatus (not shown), the directory sections 301 to 306 are reproduced, and a memory or an auxiliary storage device connected to the information recording / reproducing apparatus. All or part of the directory information in the directory section (directories 301 to 306 in this embodiment) is read. After that, file management is performed based on the directory information. At this time, since the directory for managing the incomplete additional data file A (5) is not recorded on the optical card, the file A contains the data A (1) to A (5).
The data A (5) managed as constituted by (4) and ended in an incomplete recording state is not managed as file data and can be invalid data.

【0030】なお、本実施例では、説明を簡単にするた
めに、ファイルデータ中に無効データは無いものとして
説明したが、本発明は無効データがある場合にも適用出
来ることは言うまでもない。
In this embodiment, for the sake of simplicity of explanation, the file data is described as having no invalid data, but it goes without saying that the present invention can be applied to the case where there is invalid data.

【0031】[0031]

【発明の効果】以上説明したように本発明によれば、フ
ァイルデータの追加記録中にデータ部の記録領域が無く
なった場合、その追加データの消去あるいは無効を示す
情報を有するディレクトリを記録することにより、デー
タが途中までアペンドされたファイルがカード上に物理
的に記録されていても、そのデータは論理的には無効な
データとして管理されるので、結果的には途中までしか
アペンド出来なかった追記記録はなかったことになり、
不完全なデータを有効データとして管理するという事態
を防止することができる。
As described above, according to the present invention, when the recording area of the data portion runs out during the additional recording of the file data, the directory having the information indicating the deletion or invalidation of the additional data is recorded. By this, even if a file to which data has been added halfway is physically recorded on the card, that data is logically managed as invalid data, and as a result, it was possible to append only halfway. There was no additional record,
It is possible to prevent the situation of managing incomplete data as valid data.

【0032】また、ファイルデータの追加記録中にデー
タ部の記録領域が無くなった場合、そのデータを管理す
るディレクトリを記録しないことにより、同様にそのデ
ータは論理的に無効なデータとして管理されるので、不
完全なデータを有効データとして管理することを防止す
ることができる。
Further, when the recording area of the data section runs out during the additional recording of the file data, the data is managed as logically invalid data by not recording the directory for managing the data. It is possible to prevent incomplete data from being managed as valid data.

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

【図1】本発明の情報記録方法の一実施例を説明するた
めの図である。
FIG. 1 is a diagram for explaining an embodiment of an information recording method of the present invention.

【図2】図1の方法で記録されたディレクトリの再生時
の動作を説明するための図である。
FIG. 2 is a diagram for explaining an operation at the time of reproducing a directory recorded by the method of FIG.

【図3】本発明の他の実施例を示した説明図である。FIG. 3 is an explanatory view showing another embodiment of the present invention.

【図4】光カードの一例を示した概略平面図である。FIG. 4 is a schematic plan view showing an example of an optical card.

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

1 光カード 300 ディレクトリ部 300a データ部 301〜308 ディレクトリ 301a〜307a データ 1 optical card 300 directory part 300a data part 301-308 directory 301a-307a data

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 情報記録媒体のデータ記録領域に順にフ
ァイルデータを記録すると共に、前記記録媒体のディレ
クトリ記録領域に順に前記ファイルデータを管理するた
めのディレクトリ情報を記録する情報記録方法におい
て、追加ファイルデータの記録中に前記データ記録領域
の記録容量が無くなった場合は、この追加ファイルデー
タを管理するためのディレクトリ情報を前記ディレクト
リ記録領域に記録した後に、前記追加ファイルデータが
無効であることを示す情報を有するディレクトリ情報を
前記ディレクトリ記録領域に記録することを特徴とする
情報記録方法。
1. An information recording method for recording file data in order in a data recording area of an information recording medium and recording directory information for managing the file data in order in a directory recording area of the recording medium. If the recording capacity of the data recording area runs out during data recording, it indicates that the additional file data is invalid after the directory information for managing the additional file data is recorded in the directory recording area. An information recording method comprising recording directory information having information in the directory recording area.
【請求項2】 情報記録媒体のデータ記録領域に順にフ
ァイルデータを記録すると共に、前記記録媒体のディレ
クトリ記録領域に順に前記ファイルデータを管理するた
めのディレクトリ情報を記録する情報記録方法におい
て、追加ファイルデータの記録中に前記データ記録領域
の記録容量が無くなった場合は、この追加ファイルデー
タを管理するためのディレクトリ情報を記録しないこと
を特徴とする情報記録方法。
2. An information recording method for recording file data in order in a data recording area of an information recording medium and for recording directory information for managing the file data in order in a directory recording area of the recording medium. An information recording method, wherein directory information for managing the additional file data is not recorded when the recording capacity of the data recording area is exhausted during data recording.
【請求項3】 請求項1または請求項2のいずれかに記
載の情報記録方法において、前記ファイルデータ及びデ
ィレクトリ情報は記録媒体の相対する方向から順に所定
記録単位毎に記録され、前記記録媒体の残り記録容量を
検出する場合は、ファイルデータを記録する場合に記録
媒体の記録領域が無くなったと判断するデータ記録領域
とディレクトリ記録領域間の所定の未記録トラック本数
よりもディレクトリ情報を記録する場合に記録領域が無
くなったと判断する所定の未記録トラック本数が小さな
値に設定されることを特徴とする情報記録方法。
3. The information recording method according to claim 1, wherein the file data and the directory information are recorded in a predetermined recording unit in order from a direction in which the recording medium faces each other. When detecting the remaining recording capacity, it is determined that the recording area of the recording medium is exhausted when recording file data.When recording directory information more than the predetermined number of unrecorded tracks between the data recording area and the directory recording area. An information recording method, characterized in that a predetermined number of unrecorded tracks for determining that the recording area is exhausted is set to a small value.
【請求項4】 請求項1または請求項2のいずれかに記
載の情報記録方法において、前記ディレクトリ情報はフ
ァイルデータの追加を示すフラグを含み、既存のファイ
ルにデータを追加記録する場合は、追加すべきデータを
別ファイルとしてデータ記録領域に記録すると共に、該
ファイルデータを管理するためのディレクトリ情報を前
記フラグをインクリメントして記録し、ファイル名が同
じで、フラグが異なるファイルは、フラグの番号順に分
割記録された1つのファイルとして管理されることを特
徴とする情報記録方法。
4. The information recording method according to claim 1, wherein the directory information includes a flag indicating addition of file data, and when the data is additionally recorded in an existing file, the addition is performed. The data to be recorded is recorded as a separate file in the data recording area, and the directory information for managing the file data is recorded by incrementing the flag. The files having the same file name but different flags are flag numbers. An information recording method characterized in that the information is managed as one file which is divided and recorded in order.
JP7015338A 1995-02-01 1995-02-01 Information recording method Pending JPH08212125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7015338A JPH08212125A (en) 1995-02-01 1995-02-01 Information recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7015338A JPH08212125A (en) 1995-02-01 1995-02-01 Information recording method

Publications (1)

Publication Number Publication Date
JPH08212125A true JPH08212125A (en) 1996-08-20

Family

ID=11886007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7015338A Pending JPH08212125A (en) 1995-02-01 1995-02-01 Information recording method

Country Status (1)

Country Link
JP (1) JPH08212125A (en)

Similar Documents

Publication Publication Date Title
EP0479535B1 (en) File managing method
US4953122A (en) Pseudo-erasable and rewritable write-once optical disk memory system
KR100854954B1 (en) Method and devices for storing and reading data on a storage medium and storage medium
JPH05313980A (en) Information recording method
JPH1139801A (en) Method for recording information
JPH0646488B2 (en) Storage medium auto changer device
US7821896B2 (en) Data recording/reproduction for write-once discs
US20080192595A1 (en) Data Recording/Reproduction for Write-Once Discs
CA1320268C (en) Information record medium having an area for recording information indicating logical erasure of data and method for recording information on the same
CA1316600C (en) Optical recording medium recording and reproducing device
JP2790265B2 (en) Information recording method
JPH0876935A (en) Backup data preparation and reproduction system
JPH03217972A (en) File retrieving device
JPH08212125A (en) Information recording method
JPH03192436A (en) Information recording and reproducing system
CN100573693C (en) Pseudo-overwriting data on write-once discs
JPH10302397A (en) Optical disk recording device
JP2612589B2 (en) Directory search method
JPS6391887A (en) Data recording system
JPH01282778A (en) Storing control method for optical disk
JP2784650B2 (en) Optical disk storage management method
JPH02132516A (en) System and method for write enable type optical disk controlling
JP2652388B2 (en) Optical disk storage management method
JPH06250909A (en) File management method
JP3222898B2 (en) Information recording medium and information recording method