[go: up one dir, main page]

JP2003015924A - File management method - Google Patents

File management method

Info

Publication number
JP2003015924A
JP2003015924A JP2001204148A JP2001204148A JP2003015924A JP 2003015924 A JP2003015924 A JP 2003015924A JP 2001204148 A JP2001204148 A JP 2001204148A JP 2001204148 A JP2001204148 A JP 2001204148A JP 2003015924 A JP2003015924 A JP 2003015924A
Authority
JP
Japan
Prior art keywords
file
information
updated
recorded
backup
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
JP2001204148A
Other languages
Japanese (ja)
Inventor
Eiji Kitsuke
英士 木付
Hirotoshi Iwano
裕利 岩野
Takayoshi Yamaguchi
孝好 山口
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2001204148A priority Critical patent/JP2003015924A/en
Publication of JP2003015924A publication Critical patent/JP2003015924A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

(57)【要約】 【課題】 ファイルに特殊なフィールドを追加すること
なく、ファイルが他のドライバもしくはアプリケーショ
ンにより更新されたことを簡単に検出することが可能な
ファイル管理システムを提供する。 【解決手段】 自由な書き込みが許可されたフィールド
に、ファイルの更新時に必ず更新される情報をバックア
ップ情報として書き込んでおき、このファイルの更新時
に必ず更新される情報とバックアップ情報とを比較する
ことによって、容易にファイルの更新の有無を検出する
ものである。
(57) [Problem] To provide a file management system capable of easily detecting that a file has been updated by another driver or application without adding a special field to the file. SOLUTION: Information that is always updated when a file is updated is written as backup information in a field where free writing is permitted, and the information that is always updated when the file is updated is compared with the backup information. This makes it easy to detect whether or not the file has been updated.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファイルの更新時
に必ず更新される情報を含む管理情報を用いて、データ
と前記管理情報から構成されるファイルを管理するファ
イル管理方法に関し、より詳細には、ファイルの更新の
有無を簡単に検出することが可能なファイル管理方法に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated. The present invention relates to a file management method capable of easily detecting whether a file has been updated.

【0002】[0002]

【従来の技術】PC(パーソナルコンピュータ)用途や
AV(オーディオビジュアル)用途などの様々な用途
で、ディスク媒体にデータを記録する場合、一般的に論
理ファイルシステムが用いられる。論理ファイルシステ
ムを用いることによって、記録したデータをファイルと
して管理し、ディレクトリ階層を構築することが可能と
なり、管理が容易となる。論理ファイルシステムの例と
しては、広く普及しているFAT方式やDVDなどで導
入されているUDF(Universal Disk Format)などが
挙げられる。
2. Description of the Related Art A logical file system is generally used to record data on a disk medium for various purposes such as PC (personal computer) use and AV (audiovisual) use. By using the logical file system, recorded data can be managed as a file and a directory hierarchy can be constructed, which facilitates management. Examples of the logical file system include the widely used FAT system and UDF (Universal Disk Format) introduced in DVD and the like.

【0003】論理ファイルシステムとは、ディスクに記
録されたデータに対して、データを識別するための情報
やデータが記録されたディスク上の位置情報などを管理
情報としてディスクに記録し、それらの情報にアクセス
することによって、データアクセスを可能にする仕組み
のことである。
The logical file system is such that, for data recorded on a disc, information for identifying the data, position information on the disc where the data is recorded, and the like are recorded on the disc as management information, and the information is recorded. It is a mechanism that enables data access by accessing the.

【0004】例えば、論理ファイルシステムの管理情報
には、ファイル名、そのファイルに関する作成日時、フ
ァイルサイズ、状態を示す情報などの属性情報、対応す
る実データが記録されているディスク上の位置情報など
が記録されている。
For example, the management information of the logical file system includes a file name, attribute information such as the creation date and time of the file, file size, information indicating the state, and position information on the disk in which the corresponding actual data is recorded. Is recorded.

【0005】FATやUDFなどといった様々な種類の
論理ファイルシステムが存在するが、これらは管理情報
の構成や管理する属性情報が異なるだけで、ファイル名
あるいはそれに準ずる情報からディスク上の目的のデー
タにアクセスすることが出来るという意味では、同じ目
的のためのものである。
There are various kinds of logical file systems such as FAT and UDF. However, these differ only in the structure of management information and the attribute information to be managed, and the file name or similar information is converted into the target data on the disk. In the sense that they can be accessed, they serve the same purpose.

【0006】ここで、従来の一般的なファイルシステム
例を、DVDなどにも用いられているUDFについて説
明する。ディスク内にはファイルやディレクトリが記録
され、ルートディレクトリを基準にツリー構造を形成す
る。UDFファイルシステムは、ディスク上をボリュー
ム情報を記録する領域とパーティション領域とに分けて
管理し、ファイルやディレクトリはパーティション領域
に記録される。
Here, an example of a conventional general file system will be described with respect to the UDF which is also used for a DVD and the like. Files and directories are recorded on the disc, and a tree structure is formed based on the root directory. The UDF file system manages the disk by dividing it into an area for recording volume information and a partition area, and files and directories are recorded in the partition area.

【0007】ディスク上には、ディスク全体に割り振ら
れた論理セクタ番号(LSN:Logical Sector Numbe
r)とパーティション内に割り振られた論理ブロック番
号(LBN:Logical Block Number)との二つのアドレ
ス情報が付加されている。
On the disk, a logical sector number (LSN: Logical Sector Numbe) is assigned to the entire disk.
Two pieces of address information, that is, r) and a logical block number (LBN: Logical Block Number) allocated in the partition are added.

【0008】図14、図15にファイルとディレクトリ
の構造をそれぞれ示す。図14及び図15はパーティシ
ョン内のディスク上のイメージ図であり、左から右方向
へ論理ブロック番号が付加されている。ディスクから管
理情報やデータを読み出す際は、この論理ブロック番号
を指定して読み出すことになる。
The structures of files and directories are shown in FIGS. 14 and 15, respectively. 14 and 15 are image diagrams on a disk in a partition, in which logical block numbers are added from left to right. When reading the management information and data from the disk, this logical block number is specified and read.

【0009】データは、その管理情報であるFE(File
Entry)内のAD(Allocation Descriptor)によって
記録位置が管理されている。図16及び図17にFE、
ADの構造規格を示す。FEの先頭にはDescriptor Tag
が記録される。Descriptor Tagについては後述する。
The data is FE (File
The recording position is managed by an AD (Allocation Descriptor) in the Entry. FE in FIG. 16 and FIG.
The structural standard of AD is shown. Descriptor Tag at the beginning of FE
Is recorded. The Descriptor Tag will be described later.

【0010】ICB Tagにはファイル構造に関する記述が
記録され、Uid、Gid にはユーザIDとグループIDが
記録され、Permissionにファイルのパーミッションが記
録される。File Link CountはこのFEが参照している
ファイルやディレクトリの数が記録される。
A description about the file structure is recorded in the ICB Tag, a user ID and a group ID are recorded in Uid and Gid, and a file permission is recorded in Permission. The File Link Count records the number of files and directories referenced by this FE.

【0011】Record Format、Record Display Attribut
e、Record Lengthはレコード記録用のフィールドで現在
のUDFでは使用しない。Information LengthにはAD
の管理する領域であるデータの総サイズ、Logical Bloc
k RecordedにはADの管理する領域であるデータの総論
理ブロック数が記録される。
Record Format, Record Display Attribut
e and Record Length are fields for record recording and are not used in the current UDF. AD for Information Length
Logical Bloc, the total size of data that is the area managed by
In k Recorded, the total number of logical blocks of data, which is an area managed by AD, is recorded.

【0012】Access Date and Time、Modification Dat
e and Time、Attribute Date and Timeには最終アクセ
ス時刻、最終更新時刻、最終属性変更時刻が記録され
る。Checkpointは現在のUDFでは常に1が記録され、
使用されていない。Extended Attribute ICB及びExtend
ed Attributesは拡張属性用のフィールド、Implementat
ion Identifierはシステム用の識別情報が記述出来るフ
ィールドで、Unique IDには各FE固有の番号が付与さ
れる。
Access Date and Time, Modification Dat
The last access time, last update time, and last attribute change time are recorded in e and Time and Attribute Date and Time. Checkpoint is always recorded as 1 in the current UDF,
not being used. Extended Attribute ICB and Extend
ed Attributes is a field for extended attributes, Implementat
The ion identifier is a field in which identification information for the system can be described, and the Unique ID is given a unique number to each FE.

【0013】Extended Attributeフィールドの大きさは
Length of Extended Attributesに記録される。Allocat
ion DescriptorsはADを記録するフィールドで、Lengt
h of Allocation Descriptorsに大きさが記録される。
ファイル用のFEにおいてADはデータを記録したディ
スク上の連続した1領域を記録し、Extent LengthとExte
nt Positionから構成される。
The size of the Extended Attribute field is
Recorded in Length of Extended Attributes. Allocat
ion Descriptors is a field for recording AD, and Lengt
The size is recorded in h of Allocation Descriptors.
In FE for file, AD records one continuous area on the disc on which data is recorded, and uses Extent Length and Exte
It consists of nt Position.

【0014】Extent Lengthは図18に示す2ビットのタ
イプと30ビットの値から構成される。2ビットのタイプ
については、図19で示した4つのタイプが存在する。
通常は0がセットされる。この30ビットには領域の長さ
がバイト単位で記録され、Extent Positionには領域の
開始LBNが記録される。FEには複数のADを記録す
ることが出来、分断記録されたファイルを一元的に管理
することが出来る。
The Extent Length is composed of a 2-bit type and a 30-bit value shown in FIG. As for the 2-bit type, there are four types shown in FIG.
Normally set to 0. The length of the area is recorded in bytes in 30 bits, and the start LBN of the area is recorded in the Extent Position. A plurality of ADs can be recorded in the FE, and the divided and recorded files can be centrally managed.

【0015】ディレクトリも同様にFEで管理されてい
る。ディレクトリ用のFE内のADはFID(File Iden
tifier Descriptor)の集合の記録位置を管理している。
ただし、先頭のFIDは親ディレクトリの記録位置を管
理するものであり、本書面の図中ではその矢印を省略す
る。図20及び図21にFIDとFIDに含まれるIC
B(Information Control Block)の構造規格を示す。F
IDの先頭もDescriptor Tagが記録されている。File V
ersion Numberにファイルの版数、File Characteristic
sには属性情報が記録される。
The directory is similarly managed by FE. The AD in the FE for the directory is FID (File Iden
It manages the recording position of a set of tifier descriptors.
However, the head FID manages the recording position of the parent directory, and the arrow is omitted in the drawings of this document. 20 and 21 show an FID and an IC included in the FID.
The structural standard of B (Information Control Block) is shown. F
The Descriptor Tag is also recorded at the beginning of the ID. File V
ersion Number, file version number, File Characteristic
Attribute information is recorded in s.

【0016】Length of File IdentifierはFile Identi
fierフィールドの大きさを、Lengthof Implementation
UseはImplementation Useフィールドの大きさを記録す
る。Implementation Useフィールドはシステム用の記録
領域で、File Identifierフィールドにはファイル名も
しくはディレクトリ名が記録される。
Length of File Identifier is File Identi
Size of fier field, Length of Implementation
Use records the size of the Implementation Use field. The Implementation Use field is a recording area for the system, and the file identifier or the directory name is recorded in the File Identifier field.

【0017】ICBはFE領域の記録位置を管理する情
報で、Extent Length、Extent Location、Flags、UDF U
nique IDから構成されている。Extent Lengthには領域
の大きさがバイト単位で、Extent Locationには領域の
開始LBNが、Flagsは領域管理属性用のフィールドでU
DF Unique IDにはFIDの参照先であるFEと同じUniqueI
Dが記録される。
ICB is information for managing the recording position of the FE area, and includes Extent Length, Extent Location, Flags, UDF U.
It consists of a nique ID. Extent Length is the size of the area in bytes, Extent Location is the start LBN of the area, and Flags is a field for the area management attribute.
DF Unique ID is the same as the FE that is the reference destination of the FID Unique I
D is recorded.

【0018】図22にDescriptor Tagの構造規格を示
す。Tag Identifierにはタグ種別が番号で記録される。
Descriptor Versionには版数が、Tag ChecksumにはDesc
riptorTagのチェックサム用の値が記録される。Tag Ser
ial Numberにはフォーマットする度につけられる通し番
号が付けられる。
FIG. 22 shows the structure standard of the Descriptor Tag. The tag type is recorded as a number in the Tag Identifier.
Descriptor Version is the version number, Tag Checksum is Desc
The value for the checksum of riptorTag is recorded. Tag Ser
The ial number has a serial number that is assigned each time it is formatted.

【0019】Descriptor CRCはタグ以降のDescriptor C
RC Lengthで指定された長さのデータに対してCRC(C
yclic Redundancy Check)用の値が記録される。CRC
は、巡回冗長検査と呼ばれ、ディスクコントローラなど
でよく使われるデータの読み書きに対するエラーチェッ
クである。Tag Locationにはこの記述子自体の記録位置
(LBN)が記録される。
Descriptor CRC is the Descriptor C after the tag.
For the data of the length specified by RC Length, CRC (C
The value for yclic Redundancy Check) is recorded. CRC
Is a cyclic redundancy check, which is an error check for reading and writing data that is often used in disk controllers and the like. In Tag Location, the recording position (LBN) of this descriptor itself is recorded.

【0020】ここで、図23を用いてUDFファイルシ
ステムにおけるファイルの書き込み手順、及びファイル
の読み出し手順について説明する。まず、図23に示す
ようにデータをディスクに書き込む。データの書き込み
が終了したらその記録領域の位置情報などを管理するF
Eをディスクに書き込む。データの記録領域の位置情報
は、FEに含まれるADに記録される。
Here, a file writing procedure and a file reading procedure in the UDF file system will be described with reference to FIG. First, as shown in FIG. 23, data is written to the disc. When the writing of data is completed, F that manages the position information of the recording area, etc.
Write E to disk. The position information of the data recording area is recorded in the AD included in the FE.

【0021】さらに、ファイル名であるSHRP0001.MQTや
このFEの記録位置などを管理するFIDを作成する。
このFEの記録位置はFIDに含まれるICBに記録さ
れる。作成したFIDは、SHRP0001.MQTを作成するディ
レクトリMQ#ROOTのFEが管理するFID列に追加され
る。
Further, an FID for managing the file name SHRP0001.MQT and the recording position of this FE is created.
The recording position of this FE is recorded in the ICB included in the FID. The created FID is added to the FID column managed by the FE of the directory MQ # ROOT that creates SHRP0001.MQT.

【0022】次に、ファイルを読み出す手順について説
明する。例えば作成した\MQ#ROOT\SHRP0001.DATを読み
出したい場合、まずROOTディレクトリのFEをディ
スクから読み出し、このFEが管理するFID列が記録
されている位置をFE内のADから把握する。この情報
を元にFID列をディスクから読み出す。読み出したF
ID列の中からディレクトリ名であるMQ#ROOTを含むF
IDを抽出する。
Next, the procedure for reading a file will be described. For example, to read the created \ MQ # ROOT \ SHRP0001.DAT, the FE in the ROOT directory is first read from the disc, and the position in which the FID string managed by this FE is recorded is grasped from the AD in the FE. The FID string is read from the disc based on this information. Read F
F including the directory name MQ # ROOT from the ID column
Extract the ID.

【0023】抽出したFID内のICBよりMQ#ROOTデ
ィレクトリのFEの記録位置を把握しディスクから読み
出す。同様に、MQ#ROOTディレクトリのFEが管理する
FID列よりSHRP0001.MQTに対応するFIDを抽出し、
これによりFEをディスクから読み出す。読み出したF
Eには目的のファイルSHRP0001.MQTの実体の記録位置が
ADに記録されているため、この情報を元にディスクか
ら読み出すことが可能となる。
The recording position of the FE in the MQ_ROOT directory is grasped from the ICB in the extracted FID and read from the disc. Similarly, extract the FID corresponding to SHRP0001.MQT from the FID column managed by the FE in the MQ # ROOT directory,
This reads the FE from the disc. Read F
Since the recording position of the substance of the target file SHRP0001.MQT is recorded in AD in E, it is possible to read from the disc based on this information.

【0024】[0024]

【発明が解決しようとする課題】ここで、FEのImplem
entation Identifierに注目する。通常このフィールド
はどのファイルシステムドライバによって編集されたの
かを示す識別情報が記録される。この情報を用いること
で、ファイルが最後に更新されたのはどのドライバが編
集した時であるかを確認することが出来る。しかしなが
ら、このフィールドを更新しないドライバでアクセスし
た場合、最後の更新がどのドライバによるものなのかは
保証されないという問題があった。
[Problems to be Solved by the Invention] Here, FE's Implem
Pay attention to the entation Identifier. Normally, in this field, identification information indicating which file system driver has edited the field is recorded. Using this information, you can see which driver was the last time the file was updated. However, when accessed by a driver that does not update this field, there is a problem that it is not guaranteed which driver is the last update.

【0025】また、HTMLファイルなどのデータフォ
ーマットにおいて、HTMLエディタなどのアプリケー
ションで作成されたファイルには、ヘッダ情報やコメン
トとしてエディタを識別する情報が記録されることがあ
る。しかし、作成されたファイルに対し、他のHTML
エディタで編集してもヘッダ情報を書き換えない可能性
がある。また、コメントはそのまま残されることが充分
に考えられる。その結果、上記と同様に最後に編集した
アプリケーションを特定することが出来ないという問題
があった。
Further, in a data format such as an HTML file, a file created by an application such as an HTML editor may record information for identifying the editor as header information or a comment. However, for the created file, another HTML
Header information may not be rewritten even if edited with an editor. Also, it is fully possible that comments are left as they are. As a result, similarly to the above, there is a problem in that the last edited application cannot be specified.

【0026】本発明は、上記課題に鑑みてなされたもの
であり、特定のファイルシステムドライバ、もしくはア
プリケーションでアクセスしたファイルに対し、初めて
アクセスするファイルであるのか、以前アクセスしたフ
ァイルが更新されたものであるのか、以前アクセスした
ままのファイルであるのかを容易に判別することが可能
なファイル管理システムを提供するものである。
The present invention has been made in view of the above problems, and is a file accessed by a specific file system driver or application for the first time, or a previously accessed file is updated. The present invention provides a file management system capable of easily determining whether the file is a file that has been accessed before.

【0027】[0027]

【課題を解決するための手段】本願の第1の発明は、フ
ァイルの更新時に必ず更新される情報を含む管理情報を
用いて、データと前記管理情報から構成されるファイル
を管理するファイル管理方法において、前記管理情報内
の自由な書き込みが許可されたフィールドに、前記ファ
イルの更新時に必ず更新される情報をバックアップ情報
として書き込むことを特徴とする。
A first invention of the present application is a file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated. In the above, in the management information, in the field in which free writing is permitted, the information which is always updated when the file is updated is written as backup information.

【0028】本願の第2の発明は、ファイルの更新時に
必ず更新される情報を含む管理情報を用いて、データと
前記管理情報から構成されるファイルを管理するファイ
ル管理方法において、前記データ内の自由な書き込みが
許可されたフィールドに、前記ファイルの更新時に必ず
更新される情報をバックアップ情報として書き込むこと
を特徴とする。
A second invention of the present application is a file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated. It is characterized in that information that is always updated when the file is updated is written as backup information in a field in which free writing is permitted.

【0029】本願の第3の発明は、ファイルの更新時に
必ず更新される情報を含む管理情報を用いて、データと
前記管理情報から構成されるファイルを管理するファイ
ル管理方法において、所定の1ファイルの中に、前記フ
ァイルの更新時に必ず更新される情報をバックアップ情
報として、ファイル名と対応付けて書き込むことを特徴
とする。
A third invention of the present application is a file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated. In the above, the information that is always updated when the file is updated is written as backup information in association with the file name.

【0030】本願の第4の発明は、前記ファイルの更新
時に必ず更新される情報と前記バックアップ情報とを比
較することにより、ファイルの更新の有無を検出するこ
とを特徴とする。
The fourth invention of the present application is characterized in that the presence or absence of the update of the file is detected by comparing the information that is always updated when the file is updated with the backup information.

【0031】[0031]

【発明の実施の形態】以下、本発明の第1の実施形態
を、UDFにおけるFEのInformation Lengthの変更を
検出するものについて、図1乃至図4とともに詳細に説
明する。
BEST MODE FOR CARRYING OUT THE INVENTION A first embodiment of the present invention, which detects a change in FE Information Length in UDF, will be described in detail below with reference to FIGS.

【0032】すなわち、本実施形態は、管理情報内の自
由な書き込みが許可されたフィールドに、ファイルの更
新時に必ず更新される情報をバックアップ情報として書
き込むものである。
That is, in the present embodiment, the information that is always updated when the file is updated is written as backup information in the field in the management information where free writing is permitted.

【0033】最初に、本実施形態を適用したUDFドラ
イバでファイルを更新する際の手順を、図1のフローチ
ャートとともに説明する。まず、通常のファイルの更新
処理を行う(ステップ101)。ただし、以降に行うImpleme
ntation IdentifierとDescriptor Tagの書き込みは、こ
の時点では行わない。
First, the procedure for updating a file with the UDF driver to which this embodiment is applied will be described with reference to the flowchart of FIG. First, a normal file update process is performed (step 101). However, Impleme performed later
The ntation Identifier and Descriptor Tag are not written at this point.

【0034】次に、Information Lengthを読み込み(ス
テップ102)、Implementation Identifierにその情報を
記録する(ステップ103)。最後に、Descriptor Tagを編
集し、記録する(ステップ104)。
Next, the Information Length is read (step 102) and the information is recorded in the Implementation Identifier (step 103). Finally, the Descriptor Tag is edited and recorded (step 104).

【0035】ここで、Implementation Identifierフィ
ールドのフォーマットについて図2を用いて説明する。
UDF規格では、Implementation IdentifierはEntity
Identifierフォーマットで記録される。そのうち、Iden
tifierフィールドにDeveloper IDが記録出来るので、こ
こでは"SHARP-UDF"と記録することにする。
The format of the Implementation Identifier field will be described with reference to FIG.
In the UDF standard, the Implementation Identifier is Entity
Recorded in the Identifier format. Of which Iden
Since the Developer ID can be recorded in the tifier field, it will be recorded as "SHARP-UDF" here.

【0036】また、Implementation Useフィールドが自
由に規定出来るので、前2バイトにBackup Identifier
という名称でバックアップ情報の種類を規定する。ここ
ではInformation Lengthを示す値として"IL"と記録する
ことにする。後4バイトはBackup Valueと定義し、バッ
クアップ情報を記録する。ここではInformation Length
の下位4バイトを記録する。
Since the Implementation Use field can be freely defined, the Backup Identifier is set in the previous 2 bytes.
Specifies the type of backup information. Here, "IL" is recorded as a value indicating Information Length. The last 4 bytes are defined as Backup Value and backup information is recorded. Information Length here
The lower 4 bytes of are recorded.

【0037】次に、上記の過程で記録されたファイル
を、本実施形態を適用していないUDFドライバで編集
した場合について考える。まず、編集の結果、情報量が
変化すれば、Information Lengthが更新される。また、
Implementation Identifierを書き換えるドライバであ
れば、他のDeveloper IDが記録される。ここでは、Deve
loper IDとして"OTHER"が記録されるものとする。
Next, consider a case where the file recorded in the above process is edited by a UDF driver to which this embodiment is not applied. First, if the amount of information changes as a result of editing, the Information Length is updated. Also,
If the driver rewrites the Implementation Identifier, another Developer ID is recorded. Here, Deve
"OTHER" shall be recorded as the loper ID.

【0038】また、上記の過程で再編集されたファイル
に対し、本実施形態を適用したUDFドライバでアクセ
スした際に更新の有無を検出する手順について、図3の
フローチャートとともに説明する。まず、対象となるフ
ァイルのFEを読み込み(ステップ201)、Implementatio
n Identifierを参照する(ステップ202)。
A procedure for detecting the presence / absence of an update when the UDF driver to which the present embodiment is applied to the file re-edited in the above process will be described with reference to the flowchart of FIG. First, read the FE of the target file (step 201) and implement ratio
Refer to n Identifier (step 202).

【0039】ここで、Identifierフィールドに書き込ま
れたDeveloper IDが本ドライバのものでない場合、つま
り"OTHER"と記録されていた場合は、すでにデータの編
集が行われていることがわかる。もしくは、新規に作成
されたファイルも異なったDeveloper IDが付与されてい
るはずである(ステップ203)。
If the Developer ID written in the Identifier field is not for this driver, that is, "OTHER" is recorded, it can be seen that the data has already been edited. Alternatively, the newly created file should have a different Developer ID (step 203).

【0040】Developer IDとして"SHARP"と記録されて
いた場合は、Implementation Useフィールドの前2バイ
トにBackup Identifierが記録されている。Backup Iden
tifierを読み込み、いずれの情報がバックアップされて
いるのかを判定する(ステップ204)。
When "SHARP" is recorded as the Developer ID, the Backup Identifier is recorded in the two bytes before the Implementation Use field. Backup Iden
The tifier is read to determine which information is backed up (step 204).

【0041】Backup Identifierに"IL"が記録されてい
た場合は、比較対象となるInformation Lengthを読み込
む(ステップ205)。もし、"IL"以外のものが記録されて
いた場合は、管理情報が書き換えられたことがわかり、
これはデータが編集されたことを示す。対象がInformat
ion Lengthであれば、Information Lengthの下位4バイ
トとBackup Valueを比較する(ステップ206)。2値が異
なる場合は、すでにデータの編集が行われていることが
わかる。
When "IL" is recorded in the Backup Identifier, the Information Length to be compared is read (step 205). If anything other than "IL" is recorded, it means that the management information has been rewritten,
This indicates that the data has been edited. Target is Informat
If it is the ion length, the lower 4 bytes of the information length are compared with the backup value (step 206). If the two values are different, it can be seen that the data has already been edited.

【0042】本実施形態では、ファイルの更新時に必ず
更新される情報としてInformationLengthを例にとった
が、Access Timeやそれらの情報の組み合わせなど他の
情報を用いることも可能である。また、UDFに限らず
同様の情報をもった他のファイルシステムに適用して
も、同様の機能を実現出来ることは言うまでもない。
In this embodiment, Information Length is taken as an example of the information that is always updated when the file is updated, but other information such as Access Time or a combination of those information can be used. Needless to say, the same function can be realized by applying the invention to not only the UDF but also another file system having similar information.

【0043】さらに、上述した特定のドライバ以外で編
集されたことを検出する機能は、図4に示すような状況
にも利用することが出来る。図4において、本実施形態
を適用したドライバ101は、ファイルのバックアップ機
能、もしくはファイルの管理情報のバックアップ機能を
搭載している。
Furthermore, the above-mentioned function of detecting editing by a driver other than the specific driver can be used in the situation as shown in FIG. In FIG. 4, the driver 101 to which this embodiment is applied has a file backup function or a file management information backup function.

【0044】まず、本実施形態を適用したドライバ101
で、ある媒体にファイルAを作成する。すると、ドライ
バ101はバックアップ作成回路102を起動させ、ファイル
Aの複製ファイルA'を自動生成する。
First, the driver 101 to which this embodiment is applied
Then, the file A is created on a certain medium. Then, the driver 101 activates the backup creation circuit 102 and automatically creates a duplicate file A ′ of the file A.

【0045】次に、この媒体に本実施形態を適用してい
ないドライバ103でアクセスする。ここで、ドライバ103
を使用してファイルAを編集してファイルBに書き換え
る。すると、ファイルBと複製ファイルA'の間に不整
合が生じる。
Next, the medium is accessed by the driver 103 to which this embodiment is not applied. Where the driver 103
To edit file A and rewrite it to file B. Then, a mismatch occurs between the file B and the duplicate file A ′.

【0046】そしてまた、この媒体に本実施形態を適用
したドライバ101で再度アクセスする。すると、ドライ
バ101の更新検出回路104が機能し、ファイルが更新され
ていることが検出される。それをトリガとして、バック
アップ更新回路105が起動し、複製ファイルA'を複製フ
ァイルB'に自動更新する。
Then, the medium is again accessed by the driver 101 to which this embodiment is applied. Then, the update detection circuit 104 of the driver 101 operates to detect that the file has been updated. With that as a trigger, the backup update circuit 105 is activated to automatically update the duplicate file A ′ to the duplicate file B ′.

【0047】上記のように、バックアップを目的とした
場合、対象のファイルと複製ファイルとを比較すること
により、ファイルの更新を検出することは出来るが、交
互にファイルにアクセスする必要があるなど効率がよく
ない。これに対し、本実施形態によれば、アクセスする
のは対象のファイルのFEのみであるため、高速にファ
イル更新の有無の検出を行うことが可能である。
As described above, for the purpose of backup, it is possible to detect the update of the file by comparing the target file and the duplicate file, but it is necessary to alternately access the file, which is effective. Is not good. On the other hand, according to the present embodiment, since only the FE of the target file is accessed, it is possible to detect the presence / absence of file update at high speed.

【0048】以上詳述したとおり、本実施形態において
は、バックアップを目的とした場合に限らず他の目的に
対しても、容易にファイルの更新の有無を検出すること
が出来る。また、ファイルの管理情報として特殊なフィ
ールドを追加する必要がないことも有用な特徴である。
As described above in detail, in the present embodiment, whether or not the file has been updated can be easily detected not only for the purpose of backup but also for other purposes. Another useful feature is that it is not necessary to add a special field as file management information.

【0049】次に、本発明の第2の実施形態として、H
TMLエディタによるHTMLファイルの最終更新時刻
の更新を検出するものについて、図5乃至図7とともに
詳細に説明する。
Next, as a second embodiment of the present invention, H
What detects the update of the last update time of the HTML file by the TML editor will be described in detail with reference to FIGS.

【0050】すなわち、本実施形態は、データ内の自由
な書き込みが許可されたフィールドに、ファイルの更新
時に必ず更新される情報をバックアップ情報として書き
込むものである。
That is, in this embodiment, the information that is always updated when the file is updated is written as backup information in the field in the data where free writing is permitted.

【0051】最初に、本実施形態を適用したHTMLエ
ディタでHTMLファイルを更新する際の手順につい
て、図5のフローチャートとともに説明する。まず、通
常のHTMLエディットを行う(ステップ301)。保存時
にコメントタグを用いてエディタ情報と保存時刻を記録
し(ステップ302)、ファイルを閉じる(ステップ303)。
First, the procedure for updating the HTML file with the HTML editor to which this embodiment is applied will be described with reference to the flowchart of FIG. First, normal HTML editing is performed (step 301). At the time of saving, the editor information and the saving time are recorded using the comment tag (step 302), and the file is closed (step 303).

【0052】この際に保存時刻とファイルの最終更新時
刻は同一の値でなければならない。本実施形態では、誤
差の許容範囲を考え、保存時刻は秒以下の情報を切り捨
てた値とする。
At this time, the save time and the file last update time must have the same value. In the present embodiment, considering the allowable range of the error, the storage time is a value obtained by truncating the information of seconds or less.

【0053】図6にコメントタグの記録例を示す。この
例では、HTMLヘッダ情報の中に"SHARP#BACKUP#INF
O"という識別情報と、このHTMLファイルを2001年6
月26日15時5分に編集完了したことを示す情報とが記録
されている。
FIG. 6 shows an example of recording comment tags. In this example, "SHARP # BACKUP # INF" is included in the HTML header information.
The identification information "O" and this HTML file
Information indicating that editing is completed at 15:05 on the 26th of the month is recorded.

【0054】次に、上記の過程で記録されたHTMLフ
ァイルを、本実施形態を適用していないHTMLエディ
タで編集した場合について考える。まず、編集の結果、
ファイルの最終更新時刻が更新される。また、編集の過
程でコメントタグを削除するようなエディタの存在も考
えられる。
Next, consider a case where the HTML file recorded in the above process is edited by an HTML editor to which this embodiment is not applied. First, as a result of editing,
The last modified time of the file is updated. There may be an editor that deletes the comment tag during the editing process.

【0055】また、上記の過程で再編集されたHTML
ファイルに対し、本実施形態を適用したエディタで再度
アクセスした際に更新の有無を検出する手順について、
図7のフローチャートとともに説明する。まず、対象と
なるHTMLファイルを読み込み(ステップ401)、コメ
ントタグを抽出する(ステップ402)。
The HTML re-edited in the above process
Regarding the procedure for detecting the presence or absence of update when a file is accessed again by the editor to which this embodiment is applied,
Description will be made with reference to the flowchart of FIG. 7. First, the target HTML file is read (step 401) and the comment tag is extracted (step 402).

【0056】次に、コメントの内容から上述の"SHARP#B
ACKUP#INFO:"の記述を検索する(ステップ403)。もし検
出できなかった場合は、上記再編集過程で編集されたH
TMLファイル、もしくは新規作成されたHTMLファ
イルであると判断することが出来る。
Next, from the contents of the comment, the above-mentioned "SHARP # B
Search for the description of ACKUP # INFO: "(step 403). If it is not detected, H edited in the above re-editing process is searched.
It can be determined that the file is a TML file or a newly created HTML file.

【0057】また、検出できた場合は、ファイルの最終
更新時刻を読み込み(ステップ404)、上記コメントタグ
から保存時刻を読み出して比較する(ステップ405)。も
し、ファイルの最終更新時刻と異なる場合は、上記再編
集過程で編集されたものであると判断することが出来
る。
If it is detected, the last update time of the file is read (step 404), the save time is read from the comment tag and compared (step 405). If it is different from the last update time of the file, it can be judged that the file was edited in the re-editing process.

【0058】上記のようなファイル管理手法をHTML
エディタに実装することで、HTMLの規格にファイル
更新検出用の特別なフィールドを定義することなく、容
易に更新の有無を検出することが可能となる。
The file management method as described above is used in HTML.
By implementing it in the editor, it becomes possible to easily detect the presence or absence of update without defining a special field for detecting file update in the HTML standard.

【0059】尚、本実施形態においては、ファイルの更
新時に必ず更新される情報として最終更新時刻を例に説
明したが、ファイルサイズやそれらの情報の組み合わせ
など他の情報を用いることも可能である。
In the present embodiment, the last update time has been described as an example of the information that is always updated when the file is updated, but other information such as the file size and a combination of those information can be used. .

【0060】また、HTMLファイルに限らず、本実施
形態のコメントタグのように、付加情報を記録するフィ
ールドを備えたファイルであれば、PDFファイルやJ
PEGファイル、MIDIファイルなどに適用しても、
同様の機能を実現出来ることは言うまでもない。
Not only the HTML file but also a PDF file or a J file as long as the file has a field for recording additional information like the comment tag of this embodiment.
Even when applied to PEG files, MIDI files, etc.
It goes without saying that the same function can be realized.

【0061】次に、本発明の第3の実施形態として、U
DFにおけるFEのDescriptor CRCの変更を検出するも
のについて、図8乃至図10とともに詳細に説明する。
Next, as a third embodiment of the present invention, U
What detects a change in the FE Descriptor CRC in the DF will be described in detail with reference to FIGS. 8 to 10.

【0062】すなわち、本実施形態は、所定の1ファイ
ルの中に、ファイルの更新時に必ず更新される情報をバ
ックアップ情報として、ファイル名と対応付けて書き込
むものであり、ここでは、更新をチェックする対象のフ
ァイルの前状態を保持する更新チェック用バックアップ
ファイルを用意する。
That is, in the present embodiment, the information that is always updated when a file is updated is written in a predetermined file in association with a file name. Here, the update is checked. Prepare a backup file for update check that retains the previous status of the target file.

【0063】最初に、本実施形態を適用したUDFドラ
イバでファイルを更新する際の手順について、図8のフ
ローチャートとともに説明する。まず、通常のファイル
の更新処理を行う(ステップ501)。ここでは、上記第1
の実施形態と異なり、Implementation IdentifierとDes
criptor Tagの更新も行う。
First, the procedure for updating a file with the UDF driver to which this embodiment is applied will be described with reference to the flowchart of FIG. First, a normal file update process is performed (step 501). Here, the first
Unlike the embodiment described above, the Implementation Identifier and Des
We will also update the criptor Tag.

【0064】次に、Descriptor CRCの値を読み出し(ス
テップ502)、更新チェック用バックアップファイル"bac
kup.inf"を開き(ステップ503)、前記バックアップファ
イルに編集中のファイルのフルパスファイル名とCRC
の対応を記録する(ステップ504)。すでに同ファイルの
記録がある場合には更新する。
Next, the value of the Descriptor CRC is read (step 502) and the backup file for update check "bac
Open "kup.inf" (step 503) and enter the full path file name and CRC of the file being edited in the backup file.
The correspondence of is recorded (step 504). If the same file is already recorded, update it.

【0065】前記バックアップファイルの記述例を図9
に示す。ここでは、16進2バイトのCRCデータとファ
イルのフルパス名とが対応付けて記録されている。
A description example of the backup file is shown in FIG.
Shown in. Here, the hexadecimal 2-byte CRC data and the full path name of the file are recorded in association with each other.

【0066】次に、上記の過程で記録されたファイル
を、本実施形態を適用していないUDFドライバで編集
した場合について考える。ファイルを編集すれば、その
FEに記録された値はそれぞれ更新され、Descriptor C
RCも異なった値になる。
Next, consider a case where the file recorded in the above process is edited by a UDF driver to which this embodiment is not applied. If you edit the file, the values recorded in the FE will be updated respectively and the Descriptor C
RC also has a different value.

【0067】また、上記の過程で再編集されたファイル
に対し、本実施形態を適用したドライバで再度アクセス
した際に更新を検出する手順について、図10のフロー
チャートとともに説明する。まず、媒体をマウントした
時点でバックアップファイル"backup.inf"を読み込む
(ステップ601)。
A procedure for detecting an update when the driver to which the embodiment is applied again accesses the file re-edited in the above process will be described with reference to the flowchart of FIG. First, read the backup file "backup.inf" when the medium is mounted
(Step 601).

【0068】アクセスしようとしたファイルがバックア
ップファイルに記録されたリストに含まれているかを判
定する(ステップ602)。もし、含まれていない場合、新
規作成されたものと判断され、ファイルの読み込みを開
始する(ステップ603)。
It is determined whether the file to be accessed is included in the list recorded in the backup file (step 602). If it is not included, it is determined that the file is newly created, and reading of the file is started (step 603).

【0069】含まれていた場合も、ファイルの読み込み
を開始し(ステップ604)、バックアップファイルに記録
されたCRCとFEのDescriptor Tagに記録されたDesc
riptor CRCとを比較する(ステップ605)。2値が異なる
場合、FEが以前と異なる情報を保持していることを示
し、ファイルの更新があったと判断することが出来る。
Even if it is included, the reading of the file is started (step 604) and the Desc recorded in the CRC and FE Descriptor Tag recorded in the backup file.
Compare with riptor CRC (step 605). If the two values are different, it indicates that the FE holds information different from the previous one, and it can be determined that the file has been updated.

【0070】尚、本実施形態においては、ファイルの更
新時に必ず更新される情報としてDescriptor CRCを例に
とって説明したが、第1の実施形態で示したようなInfo
rmation LengthやAccess Timeを使用することも可能で
ある。また、Descriptor Tag全体やこれら要素を組み合
わせたものでも可能である。
In the present embodiment, the Descriptor CRC has been described as an example of the information that is always updated when the file is updated, but the Info as shown in the first embodiment is used.
It is also possible to use rmation Length or Access Time. Also, the whole Descriptor Tag or a combination of these elements is possible.

【0071】さらに、本実施形態では、バックアップフ
ァイルというファイル形式で記録した例を示したが、論
理フォーマットを拡張するなどして、ファイルとは異な
る形式で記録しても良い。
Furthermore, in the present embodiment, an example in which the file is recorded in a file format called a backup file has been shown, but the logical format may be expanded and the file may be recorded in a format different from the file.

【0072】第1の実施形態では、CRCの演算対象に
Implementation Useフィールドがあるので、CRC演算
後にImplementation Useフィールドに書き込むことが出
来ない。これに対し、本実施形態では、CRC演算後に
バックアップファイル"backup.inf"に識別対象の情報と
してCRCのバックアップを記録することにより、第1
の実施形態では実装できなかったCRCなどの情報を識
別対象の情報に適用することが可能である。また、第1
の実施形態のImplementation Useフィールドにあたるフ
ィールドが用意されていない場合にも、本実施形態は有
効である。
In the first embodiment, the CRC calculation target is
Since there is an Implementation Use field, it cannot be written in the Implementation Use field after the CRC calculation. On the other hand, in the present embodiment, after the CRC calculation, the backup of the CRC is recorded in the backup file "backup.inf" as the information of the identification target.
It is possible to apply information such as CRC that could not be implemented in the above embodiment to the information to be identified. Also, the first
The present embodiment is effective even when a field corresponding to the Implementation Use field of the above embodiment is not prepared.

【0073】次に、本発明の第4の実施形態として、上
記第2の実施形態と同様に、HTMLエディタによるH
TMLファイルの最終更新時刻の更新を検出するものに
ついて、図11乃至図13とともに詳細に説明する。
Next, as a fourth embodiment of the present invention, as in the second embodiment, the H
A method for detecting the update of the last update time of the TML file will be described in detail with reference to FIGS. 11 to 13.

【0074】すなわち、本実施形態は、所定の1ファイ
ルの中に、ファイルの更新時に必ず更新される情報をバ
ックアップ情報として、ファイル名と対応付けて書き込
むものであり、ここでは、更新をチェックする対象のフ
ァイルの前状態を保持する更新チェック用バックアップ
ファイルを用意する。
That is, in the present embodiment, the information that is always updated when the file is updated is written in a predetermined file in association with the file name. Here, the update is checked. Prepare a backup file for update check that retains the previous status of the target file.

【0075】最初に、本実施形態を適用したHTMLエ
ディタでHTMLファイルを更新する際の手順につい
て、図11のフローチャートとともに説明する。まず、
通常のHTMLエディットを行い、保存する(ステップ7
01)。次に、ファイルの最終更新時刻を読み出し(ステッ
プ702)、更新チェック用バックアップファイル"backup.
inf"を開く(ステップ703)。
First, the procedure for updating the HTML file with the HTML editor to which this embodiment is applied will be described with reference to the flowchart of FIG. First,
Perform normal HTML edit and save (step 7
01). Next, the last update time of the file is read (step 702), and the update check backup file "backup.
Open inf "(step 703).

【0076】また、更新したファイルのフルパスファイ
ル名と読み出した最終更新時刻とを登録する(ステップ7
04)。すでに同ファイルの記録がある場合には、更新す
る。
Further, the full path file name of the updated file and the last updated time read out are registered (step 7
04). If the same file is already recorded, update it.

【0077】前記バックアップファイルの記述例を図1
2に示す。ここでは、各ファイルの最終更新日時とファ
イルのフルパス名とが対応付けられている。
A description example of the backup file is shown in FIG.
2 shows. Here, the last update date and time of each file is associated with the full path name of the file.

【0078】次に、上記の過程で記録されたHTMLフ
ァイルを、本実施形態を適用していないHTMLエディ
タで編集した場合、ファイルの最終更新時刻が更新され
る。
Next, when the HTML file recorded in the above process is edited by an HTML editor to which this embodiment is not applied, the last update time of the file is updated.

【0079】また、上記の過程で再編集されたHTML
ファイルに対し、本実施形態を適用したエディタでアク
セスした際に更新を検出する手順について、図13のフ
ローチャートとともに説明する。まず、媒体をマウント
した時点でバックアップファイル"backup.inf"を読み込
む(ステップ801)。
The HTML re-edited in the above process
A procedure for detecting an update when a file is accessed by an editor to which the present embodiment is applied will be described with the flowchart of FIG. First, when the medium is mounted, the backup file "backup.inf" is read (step 801).

【0080】そして、アクセスしようとしたHTMLフ
ァイルがバックアップファイルに記録されたリストに含
まれているかを判定する(ステップ802)。もし、含まれ
ていない場合、新規作成されたものと判断され、HTM
Lファイルの読み込みを開始する(ステップ803)。
Then, it is determined whether the HTML file to be accessed is included in the list recorded in the backup file (step 802). If it is not included, it is judged that it was newly created and HTM
The reading of the L file is started (step 803).

【0081】アクセスしようとしたHTMLファイルが
リストに含まれていた場合も、HTMLファイルの読み
込みを開始し(ステップ804)、バックアップファイルに
記録された最終更新時刻とファイルの管理情報に記録さ
れた最終更新時刻とを比較する(ステップ805)。2値が
異なる場合、HTMLファイルの管理情報が以前と異な
る情報を保持していることを示し、ファイルの更新があ
ったと判断することが出来る。
Even when the HTML file to be accessed is included in the list, the reading of the HTML file is started (step 804), and the last update time recorded in the backup file and the last recorded in the file management information are recorded. The update time is compared (step 805). When the two values are different, it indicates that the management information of the HTML file holds information different from the previous one, and it can be determined that the file has been updated.

【0082】本実施形態では、第2の実施形態のように
システムの動作による時間の誤差を考える必要はない。
また、HTML規格は容易にコメントを追加することが
出来るが、フィールドの大きさが限定されるなどバック
アップ情報を記録する領域が充分になかった場合や、H
TMLのタグを解析する手間を省きたい場合などに、本
実施形態は有効である。
In the present embodiment, it is not necessary to consider the time error due to the operation of the system as in the second embodiment.
Also, the HTML standard allows easy addition of comments, but when there is not enough area for recording backup information due to the limited size of fields,
This embodiment is effective when it is desired to save the trouble of analyzing the TML tag.

【0083】尚、本実施形態においては、ファイルの更
新時に必ず更新される情報として最終更新時刻を例にと
って説明したが、ファイルサイズやそれらの情報の組み
合わせなど他の情報を適用することも可能である。ま
た、HTMLファイルに限らず、PDFファイルやJP
EGファイル、MIDIファイルなどに適用しても、同
様の機能を実現出来ることは言うまでもない。
In the present embodiment, the last update time is described as an example of the information that is always updated when the file is updated, but other information such as the file size and a combination of those information can be applied. is there. Not only HTML files but also PDF files and JP
Needless to say, the same function can be realized by applying it to EG files, MIDI files, etc.

【0084】[0084]

【発明の効果】本発明のファイル管理方法によれば、特
殊なフィールドを追加することなく、自由な書き込みが
許可されたフィールドに、ファイルの更新時に必ず更新
される情報をバックアップ情報として書き込むため、こ
のファイルの更新時に必ず更新される情報とバックアッ
プ情報とを比較することで、容易にファイルの更新の有
無を検出することができる。
According to the file management method of the present invention, the information that is always updated when a file is updated is written as backup information in a field in which free writing is permitted without adding a special field. Whether or not the file is updated can be easily detected by comparing the information that is always updated when the file is updated with the backup information.

【0085】また、上述のような自由な書き込みが許可
されたフィールドが存在しない場合であっても、前記フ
ァイルの更新時に必ず更新される情報をバックアップ情
報として、ファイル名と対応付けて所定の1ファイルの
中に書き込むことにより、容易にファイルの更新の有無
を検出することが可能となる。
Even if there is no field in which free writing is permitted as described above, the information that is always updated when the file is updated is used as backup information in association with a file name and a predetermined value of 1 is set. By writing in the file, it becomes possible to easily detect whether or not the file has been updated.

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

【図1】本発明の第1の実施形態におけるファイルの更
新手順を示すフローチャートである。
FIG. 1 is a flowchart showing a file update procedure according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態におけるImplementati
on Identifierを示す説明図である。
FIG. 2 Implementati in the first embodiment of the present invention
It is explanatory drawing which shows on Identifier.

【図3】本発明の第1の実施形態におけるファイル更新
の検出手順を示すフローチャートである。
FIG. 3 is a flowchart showing a file update detection procedure according to the first embodiment of the present invention.

【図4】本発明の第1の実施形態をバックアップ機能に
利用した場合を示す説明図である。
FIG. 4 is an explanatory diagram showing a case where the first embodiment of the present invention is used for a backup function.

【図5】本発明の第2の実施形態におけるファイルの更
新手順を示すフローチャートである。
FIG. 5 is a flowchart showing a file update procedure according to the second embodiment of the present invention.

【図6】本発明の第2の実施形態におけるバックアップ
情報の記録例を示す説明図である。
FIG. 6 is an explanatory diagram showing a recording example of backup information according to the second embodiment of the present invention.

【図7】本発明の第2の実施形態におけるファイル更新
の検出手順を示すフローチャートである。
FIG. 7 is a flowchart showing a file update detection procedure according to the second embodiment of the present invention.

【図8】本発明の第3の実施形態におけるファイルの更
新手順を示すフローチャートである。
FIG. 8 is a flowchart showing a file update procedure according to the third embodiment of the present invention.

【図9】本発明の第3の実施形態におけるバックアップ
ファイルの記録例を示す説明図である。
FIG. 9 is an explanatory diagram showing a recording example of a backup file according to the third embodiment of the present invention.

【図10】本発明の第3の実施形態におけるファイル更
新の検出手順を示すフローチャートである。
FIG. 10 is a flowchart showing a file update detection procedure according to the third embodiment of the present invention.

【図11】本発明の第4の実施形態におけるファイルの
更新手順を示すフローチャートである。
FIG. 11 is a flowchart showing a file update procedure according to the fourth embodiment of the present invention.

【図12】本発明の第4の実施形態におけるバックアッ
プファイルの記録例を示す説明図である。
FIG. 12 is an explanatory diagram showing a recording example of a backup file according to the fourth embodiment of the present invention.

【図13】本発明の第4の実施形態におけるファイル更
新の検出手順を示すフローチャートである。
FIG. 13 is a flowchart showing a file update detection procedure according to the fourth embodiment of the present invention.

【図14】UDFファイルシステムにおけるファイルの
記録方式を示す説明図である。
FIG. 14 is an explanatory diagram showing a file recording method in the UDF file system.

【図15】UDFファイルシステムにおけるディレクト
リの記録方式を示す説明図である。
FIG. 15 is an explanatory diagram showing a directory recording method in the UDF file system.

【図16】File Entryを示す説明図である。FIG. 16 is an explanatory diagram showing File Entry.

【図17】Allocation Descriptorを示す説明図であ
る。
FIG. 17 is an explanatory diagram showing an Allocation Descriptor.

【図18】Extent Lengthのフォーマットを示す説明図
である。
FIG. 18 is an explanatory diagram showing a format of Extent Length.

【図19】Type of the Extentを示す説明図である。FIG. 19 is an explanatory diagram showing Type of the Extent.

【図20】File Identifier Descriptorを示す説明図で
ある。
FIG. 20 is an explanatory diagram showing a File Identifier Descriptor.

【図21】Information Control Blockを示す説明図で
ある。
FIG. 21 is an explanatory diagram showing an Information Control Block.

【図22】Descriptor Tagを示す説明図である。FIG. 22 is an explanatory diagram showing a Descriptor Tag.

【図23】UDFファイルシステムにおける記録例を示
す説明図である。
FIG. 23 is an explanatory diagram showing a recording example in the UDF file system.

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

101 ドライバ 102 バックアップ作成回路 103 ドライバ 104 更新検出回路 105 バックアップ更新回路 101 driver 102 Backup creation circuit 103 driver 104 Update detection circuit 105 Backup update circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山口 孝好 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 5B082 DE06 EA01 GA14 5D110 AA17 DA01 DA06 DA11 DA15 DA17 DB03 DC05 DC16 DC28   ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Takayoshi Yamaguchi             22-22 Nagaikecho, Abeno-ku, Osaka-shi, Osaka             Inside the company F-term (reference) 5B082 DE06 EA01 GA14                 5D110 AA17 DA01 DA06 DA11 DA15                       DA17 DB03 DC05 DC16 DC28

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ファイルの更新時に必ず更新される情報
を含む管理情報を用いて、データと前記管理情報から構
成されるファイルを管理するファイル管理方法におい
て、 前記管理情報内の自由な書き込みが許可されたフィール
ドに、前記ファイルの更新時に必ず更新される情報をバ
ックアップ情報として書き込むことを特徴とするファイ
ル管理方法。
1. A file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated, and free writing in the management information is permitted. A file management method characterized in that information updated without fail when the file is updated is written as backup information in the specified field.
【請求項2】 ファイルの更新時に必ず更新される情報
を含む管理情報を用いて、データと前記管理情報から構
成されるファイルを管理するファイル管理方法におい
て、 前記データ内の自由な書き込みが許可されたフィールド
に、前記ファイルの更新時に必ず更新される情報をバッ
クアップ情報として書き込むことを特徴とするファイル
管理方法。
2. A file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated, and free writing in the data is permitted. In the file management method, the information that is updated when the file is updated is written as backup information in the field.
【請求項3】 ファイルの更新時に必ず更新される情報
を含む管理情報を用いて、データと前記管理情報から構
成されるファイルを管理するファイル管理方法におい
て、 所定の1ファイルの中に、前記ファイルの更新時に必ず
更新される情報をバックアップ情報として、ファイル名
と対応付けて書き込むことを特徴とするファイル管理方
法。
3. A file management method for managing a file composed of data and the management information by using management information including information that is always updated when the file is updated. The file management method is characterized in that the information that is always updated when is updated is written as backup information in association with the file name.
【請求項4】 前記請求項1乃至3のいずれかに記載の
ファイル管理方法において、 前記ファイルの更新時に必ず更新される情報と前記バッ
クアップ情報とを比較することにより、ファイルの更新
の有無を検出することを特徴とするファイル管理方法。
4. The file management method according to claim 1, wherein whether or not a file has been updated is detected by comparing information that is always updated when updating the file with the backup information. A file management method characterized by:
JP2001204148A 2001-07-05 2001-07-05 File management method Pending JP2003015924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001204148A JP2003015924A (en) 2001-07-05 2001-07-05 File management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001204148A JP2003015924A (en) 2001-07-05 2001-07-05 File management method

Publications (1)

Publication Number Publication Date
JP2003015924A true JP2003015924A (en) 2003-01-17

Family

ID=19040655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001204148A Pending JP2003015924A (en) 2001-07-05 2001-07-05 File management method

Country Status (1)

Country Link
JP (1) JP2003015924A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006070622A1 (en) * 2004-12-28 2008-06-12 松下電器産業株式会社 Marking method, recording method, marking device, recording device, and recording medium
JP2009536418A (en) * 2006-05-05 2009-10-08 ハイバー インコーポレイテッド Group-based full and incremental computer file backup systems, processing and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03250341A (en) * 1990-02-28 1991-11-08 Mitsubishi Electric Corp File control system
JPH10149304A (en) * 1996-11-15 1998-06-02 Nec Corp Monitoring system for update information on home page
JPH11194933A (en) * 1998-01-06 1999-07-21 Hitachi Ltd File verification method
JPH11232838A (en) * 1998-02-16 1999-08-27 Matsushita Electric Ind Co Ltd Optical disk, optical disk recording device, and optical disk reader
JP2000090079A (en) * 1998-09-08 2000-03-31 Toshiba Corp Content creation apparatus and method, and computer-readable recording medium recording program
JP2000200208A (en) * 1999-01-06 2000-07-18 Fujitsu Ltd File backup method, apparatus and program recording medium thereof
JP2001142788A (en) * 1999-11-18 2001-05-25 Hitachi Ltd Data security method and device by monitoring data update, and storage medium storing data security program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03250341A (en) * 1990-02-28 1991-11-08 Mitsubishi Electric Corp File control system
JPH10149304A (en) * 1996-11-15 1998-06-02 Nec Corp Monitoring system for update information on home page
JPH11194933A (en) * 1998-01-06 1999-07-21 Hitachi Ltd File verification method
JPH11232838A (en) * 1998-02-16 1999-08-27 Matsushita Electric Ind Co Ltd Optical disk, optical disk recording device, and optical disk reader
JP2000090079A (en) * 1998-09-08 2000-03-31 Toshiba Corp Content creation apparatus and method, and computer-readable recording medium recording program
JP2000200208A (en) * 1999-01-06 2000-07-18 Fujitsu Ltd File backup method, apparatus and program recording medium thereof
JP2001142788A (en) * 1999-11-18 2001-05-25 Hitachi Ltd Data security method and device by monitoring data update, and storage medium storing data security program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2006070622A1 (en) * 2004-12-28 2008-06-12 松下電器産業株式会社 Marking method, recording method, marking device, recording device, and recording medium
US8125675B2 (en) 2004-12-28 2012-02-28 Panasonic Corporation Labeling method, recording method, labeling apparatus, recording apparatus and recording medium
JP2009536418A (en) * 2006-05-05 2009-10-08 ハイバー インコーポレイテッド Group-based full and incremental computer file backup systems, processing and equipment

Similar Documents

Publication Publication Date Title
EP0479535B1 (en) File managing method
JP4416914B2 (en) Method for providing control information to a drive via a data storage medium
US20030163449A1 (en) File managing method
CN1833287B (en) Information processing device and method
US20040107223A1 (en) File management method
JP4352600B2 (en) Data falsification check device and method, and recording medium
US6675257B1 (en) System and method for managing storage space on a sequential storage media
JPH08138019A (en) Memory card and recording / reproducing / erasing method thereof
US7061836B2 (en) Method and apparatus for processing information data and management information thereof
JPS62281167A (en) Emulation for mobile memory
JP2003015924A (en) File management method
JPH0588957A (en) Directory format
JPH0876935A (en) Backup data creation playback system
JP2002373099A (en) Disk management method
JP2622418B2 (en) Information recording / reproducing method
JP2822869B2 (en) Library file management device
JPH11175380A (en) Information reproduction method
JP3058086B2 (en) Data version management
JPS6369072A (en) Directory format
JP3453185B2 (en) Write-once optical disc creation and playback system
JP3936839B2 (en) Data storage system
JPH02132516A (en) Writable optical disc management system and method
JP2001229019A (en) Unauthorized copy protection recording medium
US7634172B1 (en) Methods for recording multiple sessions on a rewritable DVD disc
JP4333758B2 (en) Data reproduction apparatus and data recording apparatus, data falsification check method, data falsification check apparatus, and data falsification check system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071026

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20071205

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20100513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100629

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101116