JPH11232159A - File management method and medium storing file management program - Google Patents

File management method and medium storing file management program

Info

Publication number
JPH11232159A
JPH11232159A JP10046318A JP4631898A JPH11232159A JP H11232159 A JPH11232159 A JP H11232159A JP 10046318 A JP10046318 A JP 10046318A JP 4631898 A JP4631898 A JP 4631898A JP H11232159 A JPH11232159 A JP H11232159A
Authority
JP
Japan
Prior art keywords
file
server
identifier
client
content management
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
JP10046318A
Other languages
Japanese (ja)
Inventor
Minahito Sawada
皆人 澤田
Masahiro Horiuchi
正広 堀内
Yukikazu Misumi
幸和 三隅
Mitsuru Shiratori
充 白鳥
Hiroshi Ikeda
浩 池田
Kiyoshi Kurita
潔 栗田
Yoshikazu Ikinari
芳和 行形
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.)
Japan Research Institute Ltd
Original Assignee
Japan Research Institute Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Research Institute Ltd filed Critical Japan Research Institute Ltd
Priority to JP10046318A priority Critical patent/JPH11232159A/en
Publication of JPH11232159A publication Critical patent/JPH11232159A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To always keep a file on the client side and that on the server side equal to each other up to their contents. SOLUTION: Identifiers reflecting the contents of management object files are described for every files in a contents management file. A client 20 acquires the contends management file from a server 10 and compares the acquired contents management file of the server 10 with the contents management file of the client 20. Based on the comparison result between these two contents management files, the client 20 acquires required files from the server 10 and deletes unnecessary files. Files managed by the contents management file of the server 10 coincide with a designated file group stored in an HD device of the client 20.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【技術分野】この発明は,2つのファイルのコンテンツ
(内容)を同一に保つためのファイル管理方法,および
ファイル管理をコンピュータによって実現するためのプ
ログラムを格納した媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file management method for keeping the contents of two files the same, and a medium storing a program for realizing file management by a computer.

【0002】[0002]

【背景技術】コンピュータ装置内の2つのファイルのコ
ンテンツを一致させる従来の方法は,ファイル・システ
ムが管理する情報(ファイルの作成日,サイズ等)を比
較し,その差分に基づいて一方のファイルが更新された
かどうかを判別するものである。しかしながら,ファイ
ル・システムが管理する上記の情報はファイルのコンテ
ンツとは別個のものであるから,2つのファイルのコン
テンツが異なっていても上記管理情報が同一である場合
があり得,必ずしも充分ではない。
2. Description of the Related Art A conventional method of matching the contents of two files in a computer device is to compare information (file creation date, size, etc.) managed by a file system and determine whether one of the files is based on the difference. It is to determine whether or not it has been updated. However, since the information managed by the file system is separate from the contents of the file, the management information may be the same even if the contents of the two files are different, which is not always sufficient. .

【0003】一方のファイルを更新したときには必ず他
方のファイルのすべてを削除した上で更新後のファイル
をコピーする方法もある。しかしながら,この方法はシ
ステムに負荷がかかりすぎるとともに,処理に要する時
間も長くなるので実用的ではない。
[0003] There is also a method in which, when one file is updated, the updated file is copied after deleting all of the other file. However, this method is not practical because it overloads the system and increases the time required for processing.

【0004】[0004]

【発明の開示】この発明は,比較的簡便に,しかも確実
に2つのファイルの同一性を保つことのできるファイル
管理方法を提供するものである。
DISCLOSURE OF THE INVENTION The present invention provides a file management method that can relatively easily and surely maintain the identity of two files.

【0005】この発明によるファイル管理方法は,第1
のファイル,および第1のファイルとコンテンツが同一
に保たれるべき第2のファイルを含むシステムにおい
て,第2のファイルのコンテンツを第1のファイルのコ
ンテンツと同一化するためのファイル管理方法であり,
第1のファイルのコンテンツに基づいて第1のファイル
識別子を生成し,少なくとも第1のファイル識別子を含
む第1のファイル管理情報を作成し,第1のファイルの
更新があったときに,それに応じて第1のファイル識別
子を含む第1のファイル管理情報を更新し,第2のファ
イルに関する第2のファイル識別子を含む第2のファイ
ル管理情報を,第1のファイル識別子を含む第1のファ
イル管理情報と比較し,第2の識別子が第1の識別子と
相違するときに,第2のファイルを第1のファイルの更
新に応じて更新し,かつ第2のファイル管理情報を第1
のファイル管理情報の更新に応じて更新するものであ
る。
[0005] The file management method according to the present invention comprises:
A file management method for making a content of a second file identical to a content of a first file in a system including a second file and a second file whose content is to be kept the same as the first file. ,
A first file identifier is generated based on the contents of the first file, first file management information including at least the first file identifier is created, and when the first file is updated, The first file management information including the first file identifier is updated by the first file management information including the second file identifier for the second file. Comparing the second file with the first file, when the second identifier is different from the first identifier, updating the second file according to the update of the first file, and updating the second file management information to the first file.
Is updated in accordance with the update of the file management information.

【0006】最も一般的には第1のファイルは第1の記
憶装置に格納され,第2のファイルは第1の記憶装置と
異なる第2の記憶装置に記憶される。この場合には,第
1の記憶装置は一般的には第1のコンピュータの一部を
構成し,または第1のコンピュータにおいて利用され,
第2の記憶装置は第1のコンピュータとは異なる第2の
コンピュータの一部であるか,または第2のコンピュー
タにおいて利用される。第1のコンピュータと第2のコ
ンピュータとはネットワークまたはシステムバス(もし
くはライン)により接続される。第1および第2の記憶
装置は半導体メモリ,磁気記憶装置,光磁気記憶装置,
光学的記憶装置などにより実現される。
[0006] Most commonly, the first file is stored on a first storage device and the second file is stored on a second storage device different from the first storage device. In this case, the first storage device generally forms part of or is used in the first computer,
The second storage device is a part of the second computer different from the first computer or is used in the second computer. The first computer and the second computer are connected by a network or a system bus (or line). The first and second storage devices are a semiconductor memory, a magnetic storage device, a magneto-optical storage device,
This is realized by an optical storage device or the like.

【0007】上記のシステムにおいては第1のファイル
管理情報,および第1のファイル管理情報を作成するた
めの,または更新するためのプログラム(ファイル管理
情報作成プログラム)は第1のコンピュータ内に,第2
のファイル管理情報,ならびにファイル管理情報の比
較,第2のファイルの更新および第2の管理情報の更新
のためのプログラム(ファイル更新プログラム)は第2
のコンピュータ内に保存されるであろう。ファイル管理
情報の比較のために,および第2のファイル管理情報の
更新のために,第1のファイル管理情報が第1のコンピ
ュータから第2のコンピュータに転送される(第2のコ
ンピュータがネットワーク,バス等を通して第1のファ
イル管理情報を取得する)。第2のファイルの更新のた
めに必要な第1のファイルが第1のコンピュータから第
2のコンピュータに転送される,または携帯型記録媒体
(FD,CD−ROM等)から第2のコンピュータに読
込まれる(転送される)。
In the above system, the first file management information and a program for creating or updating the first file management information (file management information creation program) are stored in the first computer. 2
File management information and a program (file update program) for comparing the file management information, updating the second file, and updating the second management information are the second file.
Will be stored in your computer. The first file management information is transferred from the first computer to the second computer for comparison of the file management information and for updating the second file management information. First file management information is obtained through a bus or the like). A first file required for updating the second file is transferred from the first computer to the second computer, or read from a portable recording medium (FD, CD-ROM, etc.) into the second computer. (Transferred).

【0008】もっとも,第1のファイル管理情報および
ファイル管理情報作成プログラムを,第1のコンピュー
タと接続された第3のコンピュータに設けてもよい。同
じように,第2のファイル管理情報およびファイル更新
プログラムを,第2のコンピュータに接続された第4の
コンピュータに設けてもよい。
The first file management information and the file management information creating program may be provided in a third computer connected to the first computer. Similarly, the second file management information and the file update program may be provided on a fourth computer connected to the second computer.

【0009】第1のコンピュータと第2のコンピュータ
とをネットワーク,バス等により接続しなくてもよい。
この場合には,第1のファイル管理情報や第1のファイ
ルは携帯型記録媒体(たとえばFD,CD−ROM)を
用いて第1のコンピュータから第2のコンピュータに移
されよう。
The first computer and the second computer do not have to be connected by a network, a bus or the like.
In this case, the first file management information and the first file will be transferred from the first computer to the second computer using a portable recording medium (for example, FD, CD-ROM).

【0010】第1のコンピュータと第2のコンピュータ
とが同じものであってもよい。第1の記憶装置と第2の
記憶装置が同じものである場合もありうる。これらの場
合には第2のファイルは一般的には第1のファイルのバ
ックアップ用となろう。
[0010] The first computer and the second computer may be the same. The first storage device and the second storage device may be the same. In these cases, the second file will generally be for backup of the first file.

【0011】第1のファイルは一般には複数のファイル
を含む。同じように第2のファイルは一般的に複数のフ
ァイルを含む。ファイル識別子はファイルごとに作成さ
れる。ファイルとは実行プログラム・ファイル,データ
・ファイルなどを含む概念である。
The first file generally includes a plurality of files. Similarly, the second file generally includes a plurality of files. A file identifier is created for each file. The file is a concept including an execution program file, a data file, and the like.

【0012】ファイル識別子とはファイルのコンテンツ
を一意に表わすもので,種々のアルゴリズムにしたがっ
てファイル・コンテンツを用いて算出される。
A file identifier uniquely represents the content of a file, and is calculated using the file content according to various algorithms.

【0013】ファイル管理情報には,ファイル識別子以
外に,ファイル名,バージョン番号,その他(ディレク
トリ情報など)のデータを含めてもよい。
The file management information may include a file name, a version number, and other data (such as directory information) in addition to the file identifier.

【0014】ファイルの更新とは,ファイルのコンテン
ツの変更,ファイルの追加,ファイルの削除等を含む。
したがって,対応する第1のファイル識別子と第2のフ
ァイル識別子との比較において,一方が存在しないこと
もありうる。ファイル管理情報の更新とはファイル識別
子の変更,追加または削除を含むことになる。
Updating a file includes changing the contents of the file, adding a file, deleting a file, and the like.
Therefore, in the comparison between the corresponding first file identifier and the second file identifier, one may not exist. Updating the file management information includes changing, adding or deleting a file identifier.

【0015】ファイル管理の運用の開始時に第1のファ
イルと第2のファイルがコンテンツを含めて同一である
ことが前提である。また,第2のファイル管理情報とし
ては第1のファイル管理情報と同じものが用意される。
It is assumed that the first file and the second file are the same including the content at the start of the file management operation. Further, the same file management information as the first file management information is prepared as the second file management information.

【0016】第1のファイル管理情報と第2のファイル
管理情報の比較は,システム起動時,定期的に,または
ユーザからの入力に応答して行なわれよう。
The comparison between the first file management information and the second file management information may be performed at system startup, periodically, or in response to an input from a user.

【0017】この発明はまた,上述したファイル管理方
法をコンピュータにより実現するためにコンピュータを
制御するファイル管理プログラムを格納した記録媒体を
提供している。ファイル管理プログラムは,ファイル管
理情報作成プログラムとファイル更新プログラムとに大
別することができる。これらのファイル管理情報作成プ
ログラムとファイル更新プログラムを別個の記録媒体に
格納してもよい。プログラム記録媒体とは半導体メモ
リ,磁気記憶装置(FD,ハードディスク等),光磁気
記憶装置,光学的記憶装置(CD−ROM等)を含む。
ファイル管理プログラム,ファイル管理情報作成プログ
ラム,ファイル更新プログラムはそれ単独で,またはア
プリケーション・プログラム,システム・プログラム等
の一部として,OSの一部として,もしくはユーティリ
ティとして提供されうる。
The present invention also provides a recording medium storing a file management program for controlling a computer in order to realize the above-described file management method by the computer. File management programs can be broadly divided into file management information creation programs and file update programs. These file management information creation program and file update program may be stored in separate recording media. The program recording medium includes a semiconductor memory, a magnetic storage device (FD, hard disk, etc.), a magneto-optical storage device, and an optical storage device (CD-ROM, etc.).
The file management program, the file management information creation program, and the file update program can be provided by themselves, or as a part of an application program, a system program, or the like, as a part of the OS, or as a utility.

【0018】この発明によると,ファイルのコンテンツ
を用いて算出されたファイル識別子をファイル・コンテ
ンツの比較のために用いている。ファイル識別子はファ
イル・コンテンツを反映するものであるからそのファイ
ルに特有(ユニーク)なものであり,きわめて高い一意
性を保持しうる。したがって,2つのファイルのコンテ
ンツの異同をきわめて正確に判断することができる。フ
ァイル識別子のデータ長はファイル・コンテンツに比べ
ればはるかに短くすることができるので,伝送するにし
ても,比較処理するにしても短時間で行なうことがで
き,システムの負荷が少なく,所要時間も短い。ファイ
ル識別子が異なるファイルについてのみファイル・コン
テンツの更新が行なわれるので,この点からも負荷の軽
減と処理時間の短縮化を図ることができる。
According to the present invention, the file identifier calculated using the contents of the file is used for comparing the file contents. Since the file identifier reflects the file content, it is unique (unique) to the file, and can maintain extremely high uniqueness. Therefore, the difference between the contents of the two files can be determined very accurately. Since the data length of the file identifier can be much shorter than that of the file contents, it can be transmitted and compared in a short time, and the system load is small and the required time is short. short. Since the file content is updated only for files having different file identifiers, the load can be reduced and the processing time can be reduced from this point as well.

【0019】[0019]

【実施例の説明】第1実施例 第1実施例は複数台のコンピュータがネットワークを構
成するシステムにおけるファイル管理に関するものであ
る。複数台のコンピュータのうち1台がサーバ,他のコ
ンピュータがクライアントとして位置づけられる。管理
すべき1または複数の同一のファイル(プログラム・フ
ァイル,データ・ファイル,その他のファイルを含む)
がサーバとクライアントの両方にそれぞれ存在すること
が原則的に前提となる(サーバには後述するマスタDI
Rおよびコンテンツ管理ファイルが存在すればファイル
管理のためには充分であるから,例外的にはサーバには
ファイルが存在しなくとも許容される)。サーバにおい
てファイルの追加,削除およびファイル・コンテンツ
(内容)の変更があったときには,そのことがクライア
ントにおいて容易に検出され,クライアントにおいても
同様にファイルの追加,削除またはコンテンツの変更が
行われる。ネットワークで接続されたすべてのクライア
ントにおけるファイルがサーバの管理するファイルと同
一化される。サーバの負担およびクライアントの負担が
軽減され,かつ処理時間(ファイル転送に要する時間を
含む)の短縮化が図られる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment The first embodiment relates to file management in a system in which a plurality of computers constitute a network. One of the plurality of computers is a server, and the other computer is a client. One or more identical files to be managed (including program files, data files, and other files)
In principle, it is assumed that the server exists on both the server and the client.
If the R and the content management file exist, it is sufficient for file management, and in exceptional cases, it is permissible that the file does not exist on the server.) When a server adds or deletes a file or changes a file content (content), the client easily detects the change, and the client similarly adds or deletes a file or changes the content. The files on all clients connected via the network are identified with the files managed by the server. The load on the server and the load on the client are reduced, and the processing time (including the time required for file transfer) is reduced.

【0020】(1) ネットワーク・システムの構成 図1はネットワーク・システムの全体構成を示し,図2
は同システムを構成するサーバのハードウエア構成を示
すものである。
(1) Configuration of Network System FIG. 1 shows the overall configuration of the network system.
Shows a hardware configuration of a server constituting the system.

【0021】サーバ・コンピュータ10(以下,サーバと
いう)と,1または複数のクライアント・コンピュータ
20(以下,クライアントという)がネットワークを介し
て通信可能に接続されている。ネットワークは,公衆回
線網,専用回線網,LAN(Local Area Network)な
ど,データ伝送が可能なすべての回線網を含む(インタ
ーネット,WAN(Wide Area Network ),イーサネッ
ト等による運用を含む)。
A server computer 10 (hereinafter referred to as a server) and one or more client computers
20 (hereinafter referred to as clients) are communicably connected via a network. The network includes all circuits capable of data transmission, such as a public line network, a dedicated line network, and a LAN (Local Area Network) (including operation using the Internet, WAN (Wide Area Network), Ethernet, and the like).

【0022】サーバ10は中央処理装置(CPU)13を含
む。CPU13にはバスを介して,入力を受け付けるため
の入力装置11(キーボード,マウスなど),データを可
視的に出力するための出力装置12(CRT表示装置,印
字装置など),ネットワークと接続するための通信装置
14,プログラムを格納するプログラム・エリア,各種演
算のためのワーク・エリア,バッファ・エリアなどを提
供する内部メモリ15,フロッピーディスク(FD)に記
録されたデータを読取り,かつFDにデータを記録する
FDドライブ16,CD−ROM19に記録されたデータを
読取るCD−ROMドライブ17,およびオペレーティン
グ・システムなどが記憶されたハードディスク(HD)
装置18が接続されている。
The server 10 includes a central processing unit (CPU) 13. An input device 11 (keyboard, mouse, etc.) for receiving input, an output device 12 (CRT display device, printing device, etc.) for visually outputting data, and a CPU 13 are connected to the CPU 13 via a bus. Communication equipment
14. Internal memory 15, which provides a program area for storing programs, a work area for various operations, a buffer area, etc., reads data recorded on a floppy disk (FD), and records data on the FD FD drive 16, CD-ROM drive 17 for reading data recorded on CD-ROM 19, and hard disk (HD) storing an operating system and the like
Device 18 is connected.

【0023】クライアント20はサーバ10と基本的に同じ
ハードウエア構成をもつ。図2においてクライアント20
の構成が( )内の符号で示されている。
The client 20 has basically the same hardware configuration as the server 10. In FIG. 2, the client 20
Is indicated by reference numerals in parentheses.

【0024】サーバ10のHD装置18には,ファイル管理
に関して言えば,次のものが記憶されている。 (i) マスタ・ディレクトリ(以下,マスタDIRとい
う) (ii) 管理対象ファイル群 (iii)コンテンツ管理ファイル作成プログラム (iv) コンテンツ管理ファイル
The HD device 18 of the server 10 stores the following in terms of file management. (i) Master directory (hereinafter referred to as master DIR) (ii) Files to be managed (iii) Content management file creation program (iv) Content management file

【0025】クライアント20のHD装置28には,ファイ
ル管理に関して言えば,次のものが記憶されている。 (xi) スレーブ・ディレクトリ(以下,スレーブDIR
という) (xii) 指定ファイル群 (xiii)更新処理プログラム (xiv) 初期設定ファイル (xv) コンテンツ管理ファイル
The following are stored in the HD device 28 of the client 20 in terms of file management. (xi) Slave directory (hereinafter, slave DIR)
(Xii) Specified file group (xiii) Update processing program (xiv) Initial setting file (xv) Content management file

【0026】(2) マスタDIR,スレーブDIR,コン
テンツ管理ファイル等 ネットワークに接続されたすべての(場合によっては特
定のグループを構成する)クライアント20において利用
されるファイルを,そのコンテンツまで含めて常に同じ
ものに保つことがファイル管理の目的である。サーバ10
においてファイルの追加,削除またはファイルのコンテ
ンツの変更があったときには,これに応じて,速やかに
クライアント20においても同様にファイルの追加,削除
またはファイルのコンテンツの変更が行われる。
(2) Master DIR, slave DIR, content management file, etc. Files used by all clients 20 (particularly constituting a specific group) connected to the network are always the same, including their contents. Keeping things is the purpose of file management. Server 10
When there is an addition or deletion of a file or a change in the content of a file, the client 20 promptly also adds or deletes a file or changes the content of the file.

【0027】このようなファイル管理の対象とすべき,
または対象とすることが望まれるファイルがユーザ(管
理者)によって決定される。ファイル管理の対象とす
る,と決定された一般には複数の(または多数の)ファ
イル(これが上記(ii)の管理対象ファイル群である)の
情報(たとえばファイル名,サイズ,作成年月日)およ
び上記(iv)のコンテンツ管理ファイルに関する情報を記
述したのが上記(i) のマスタDIRである。サーバ10に
おけるマスタDIRの「マスタ」とクライアント20にお
けるスレーブDIRの「スレーブ」は,ここでは相互に
対応する用語として用いられている。マスタDIRはこ
の明細書で説明されるファイル管理という観点から作成
されるディレクトリである。マスタDIRは最も一般的
には管理対象ファイル群をサーバ10のHD装置18にイン
ストールするときに完成され,HD装置18に保存され
る。もっとも,マスタDIRを別のコンピュータ・シス
テムにおいて作成し,サーバ10のHD装置18にコピーす
ることもできる。
The target of such file management is as follows:
Alternatively, a file desired to be targeted is determined by a user (administrator). In general, the information (eg, file name, size, creation date) of multiple (or many) files that are determined to be subject to file management (this is the group of files to be managed in (ii) above) and The information regarding the content management file of (iv) is described in the master DIR of (i). The "master" of the master DIR in the server 10 and the "slave" of the slave DIR in the client 20 are used herein as terms that correspond to each other. The master DIR is a directory created from the viewpoint of file management described in this specification. The master DIR is most generally completed when a group of files to be managed is installed in the HD device 18 of the server 10 and stored in the HD device 18. However, the master DIR can be created in another computer system and copied to the HD device 18 of the server 10.

【0028】マスタDIRの内容の一例が図3に示され
ている。マスタDIRはツリー構造に階層化された下位
のディレクトリ(A_DIR,B_DIR,C_DIR,F_DIR,D_DI
R,E_DIR)の記述を含むとともに,各種ファイルm1.ex
e,m1.dat等およびコンテンツ管理ファイルXのディレ
クトリ情報を含む。下位のディレクトリはより下位のデ
ィレクトリ(たとえば,C_DIRによって管理されている
ディレクトリはD_DIRおよびE_DIR である)に関する記
述や,各種ファイルa1.exe,a2.exe,a1.dat,a2.datな
どのディレクトリ情報を含む。ここで,exe は実行(プ
ログラム)ファイルであることを,dat はデータ・ファ
イルであることをそれぞれ示す。マスタDIRにはユー
ザ(サーバの管理者)が,ユーザの都合によって,また
はユーザの便宜のために,管理対象ファイル群以外のフ
ァイル(たとえば,履歴ファイル,ログファイル等)に
関するディレクトリ情報を格納することもある。
FIG. 3 shows an example of the contents of the master DIR. The master DIR has lower directories (A_DIR, B_DIR, C_DIR, F_DIR, D_DI) hierarchically arranged in a tree structure.
R, E_DIR) and various files m1.ex
e, m1.dat, etc., and directory information of the content management file X. The lower directories describe the lower directories (for example, the directories managed by C_DIR are D_DIR and E_DIR) and directory information such as various files a1.exe, a2.exe, a1.dat, and a2.dat including. Here, exe indicates an execution (program) file, and dat indicates a data file. In the master DIR, a user (server administrator) stores directory information relating to files (for example, history files, log files, etc.) other than the files to be managed for the convenience of the user or for the convenience of the user. There is also.

【0029】上記(iv)コンテンツ管理ファイルXは管理
対象ファイルのコンテンツにまでおよぶファイル管理を
行うためのものである。このコンテンツ管理ファイルX
の作成にあたっては,より確実でより効率的なファイル
管理のために,管理対象ファイルの選択(または確認)
とグループ化が行われる。
The (iv) content management file X is for performing file management up to the content of the management target file. This content management file X
When creating a file, select (or confirm) the files to be managed for more reliable and more efficient file management.
And grouping are performed.

【0030】管理対象ファイルは基本的にはクライアン
ト20に配布(FD,CD−ROM等の記録媒体により,
または転送により)され,クライアント20において利用
または使用されるものである。マスタDIRにディレク
トリ情報が記述されたファイルは,上述のように管理対
象という観点から決定されたファイルである。これに対
して,コンテンツ管理ファイルXにコンテンツ情報(詳
しくは後述する)が記述されるファイルは,クライアン
ト20において利用または使用されるという観点から決
定,指定,選択または確認されたものである。マスタD
IRによって管理されるファイルとコンテンツ管理ファ
イルXによって管理されるファイルとは一致するのが一
般的であるが,一致しない場合もあり得る。
The file to be managed is basically distributed to the client 20 (using a recording medium such as an FD or a CD-ROM,
Or by transfer) and used or used in the client 20. The file in which the directory information is described in the master DIR is a file determined from the viewpoint of the management target as described above. On the other hand, the file in which the content information (described in detail later) is described in the content management file X has been determined, specified, selected, or confirmed from the viewpoint of being used or used in the client 20. Master D
The file managed by the IR and the file managed by the content management file X generally match, but may not match.

【0031】上記したように,マスタDIRにはユーザ
の都合によって管理対象ファイル以外のファイルのディ
レクトリ情報も記述されることがあり得る。このような
管理対象ファイル以外のファイルを除くために,コンテ
ンツ管理ファイルXに登録するファイルの選択または確
認が行われる。
As described above, the directory information of files other than the file to be managed may be described in the master DIR for the convenience of the user. In order to exclude such files other than the management target file, a file to be registered in the content management file X is selected or confirmed.

【0032】より積極的な意味では,コンテンツ管理フ
ァイルに登録するファイルの選択または確認は次のよう
なファイル管理システムにおいて有用である。ネットワ
ークに接続された複数のクライアント20を2つのグルー
プに分け,各グループごとに独立のファイル管理を行
う。マスタDIRには両グループのすべてのクライアン
トにおいて利用される管理対象ファイルのディレクトリ
情報を格納しておく。グループごとにコンテンツ管理フ
ァイルを設け,各コンテンツ管理ファイルには対応する
グループで利用されるファイルのコンテンツ情報を格納
する。マスタDIRを2つのグループのファイル管理シ
ステムで共通に利用できる。
In a more positive sense, selection or confirmation of a file to be registered in the content management file is useful in the following file management system. The plurality of clients 20 connected to the network are divided into two groups, and independent file management is performed for each group. The master DIR stores directory information of managed files used by all clients in both groups. A content management file is provided for each group, and content information of files used in the corresponding group is stored in each content management file. The master DIR can be commonly used by two groups of file management systems.

【0033】いずれにしても,コンテンツ管理ファイル
Xはファイルのコンテンツまで管理するための重要なも
のであるから,そこに登録されるファイルは,マスタD
IRのデータを単にコピーするのではなく,ユーザによ
って確認することに意味を持つ。
In any case, since the content management file X is important for managing the contents of the file, the file registered therein is the master D
It is meaningful that the IR data is not simply copied but confirmed by the user.

【0034】今日ではプログラムは細分化され,専用化
され,ユニット化されまたは単能化されている。一つの
アプリケーションのすべてのタスクを一本のプログラム
によって遂行することは殆どなく,一般的に,一つのア
プリケーションは複数のプログラム・ファイルの集合
(または組合せ)によって実現される。その意味で,ア
プリケーションごとに,またはその他の複数のファイル
を効率よく管理するための単位ごとに,ファイルをグル
ープ化しておくことが好ましい。これは特に一つのグル
ープを単位としてバージョン・アップを行うという観点
から望ましい。このようにしてグループ化された各グル
ープをアプリケーション・グループと呼ぶ。
Today, programs are subdivided, dedicated, unitized or singulated. All the tasks of one application are hardly performed by one program, and generally one application is realized by a set (or combination) of a plurality of program files. In that sense, it is preferable to group the files for each application or for each unit for efficiently managing a plurality of files. This is particularly desirable from the viewpoint of performing version upgrade in units of one group. Each group thus grouped is called an application group.

【0035】図4は,マスタDIRに記述された管理対
象ファイルのうち,コンテンツ管理ファイルXに登録す
べきものとして選択(または確認)されたファイルをグ
ループ化した様子を示している。コンテンツ管理ファイ
ルXに登録すべきものとして選択または確認されたファ
イルの総体を「アプリケーション・システム」と呼ぶ。
アプリケーション・システムは複数のアプリケーション
・グループから構成されている。各アプリケーション・
グループに,一般的には複数のファイルが属する。
FIG. 4 shows a state in which files selected (or confirmed) as files to be registered in the content management file X among the files to be managed described in the master DIR are grouped. The entirety of the files selected or confirmed to be registered in the content management file X is called an “application system”.
The application system is composed of a plurality of application groups. Each application
Generally, a plurality of files belong to a group.

【0036】図5はコンテンツ管理ファイルXの内容の
一例を示す。
FIG. 5 shows an example of the content of the content management file X.

【0037】アプリケーション・システム「System」に
関する記述がある。アプリケーション・システムはバー
ジョン番号(Ver=2.00)と,このバージョン番号のシス
テムの使用開始年月日(以下,使用開始日という)(St
art-date=1997/12/19 )とに関するデータを持つ。
There is a description relating to the application system “System”. The application system has a version number (Ver = 2.00) and a start date of use of the system with this version number (hereinafter referred to as “use start date”) (St
art-date = 1997/12/19).

【0038】アプリケーション・グループ「Applicatio
ns」に関する記述がある。この記述には,アプリケーシ
ョン・グループ(APPL_GROUP1,APPL_GROUP2)ごとに,こ
れらのバージョン番号(1.00,2.00)と,それらのバー
ジョン番号のグループの使用期限年月日(以下,使用期
限日という)(1997/12/31,1998/01/15)に関する情報
が含まれる。
The application group "Applicatio
ns ". This description includes, for each application group (APPL_GROUP1, APPL_GROUP2), these version numbers (1.00, 2.00) and the expiration date of the group of those version numbers (hereinafter referred to as the expiration date) (1997/1997). 12/31, 1998/01/15).

【0039】アプリケーション・グループごとに,そこ
に含まれるファイルに関する記述がある。このファイル
に関する記述には,そのファイルが属するマスタDIR
内のディレクトリ名,ファイル名,および識別子に関す
る情報が含まれる。たとえば,「APPL_GROUP1」の第1
行目の「A_DIR」は,アプリケーション・グループ「APP
L_GROUP1」に属するファイルの一つを管理するディレク
トリの名称が「A_DIR」であることを,「a1.exe」はそ
のファイルの名称が「a1.exe」であることをそれぞれ示
し,350889145,69はファイル名「a1.exe」のファイルに
対応して作成されたファイル識別子およびファイル・サ
イズを表している。350889145 がファイル識別子,69が
ファイル・サイズである。ファイル識別子は,ファイル
に含まれるすべて(または一部)のデータを用いて特定
の演算(たとえば,CRC(CyclicRedundancy Check
))を行った結果である。したがってファイル識別子
はファイルのコンテンツそのものを表す一種の圧縮デー
タと考えてよく,ファイルのコンテンツに特有(ユニー
ク)なものである。ファイル識別子によりファイルのコ
ンテンツに変更があったかどうかが判断される。このよ
うなコンテンツ管理ファイルに記述された情報,特にフ
ァイル識別子をコンテンツ情報と呼ぶ。
For each application group, there is a description about the files contained therein. The description about this file includes the master DIR to which the file belongs.
It contains information on directory names, file names, and identifiers in the directory. For example, the first of "APPL_GROUP1"
"A_DIR" on the line is the application group "APP"
The directory that manages one of the files belonging to "L_GROUP1" is named "A_DIR", "a1.exe" indicates that the file is named "a1.exe", and 350889145,69 are It represents the file identifier and file size created for the file with the file name "a1.exe". 350889145 is the file identifier and 69 is the file size. The file identifier is a specific operation (for example, CRC (Cyclic Redundancy Check) using all (or a part of) data included in the file.
)). Therefore, the file identifier may be considered as a kind of compressed data representing the content of the file itself, and is unique to the content of the file. It is determined whether or not the content of the file has been changed based on the file identifier. Information described in such a content management file, particularly a file identifier, is called content information.

【0040】サーバ10の上記(iv)のコンテンツ管理ファ
イルXは,サーバ10において,上記(iii) のコンテンツ
管理ファイル作成プログラムにしたがって作成される。
クライアント20の上記(xv)コンテンツ管理ファイルは,
ファイル管理システムの運用の立上げ(初期設定)にあ
たって,サーバ10で作成されたコンテンツ管理ファイル
がコピーされ(記録媒体または転送を通して),その後
はクライアント20において更新される。上記(iv)のコ
ンテンツ管理ファイル作成プログラムはCD−ROM19
(またはFD)に記録されていたものがサーバ10のHD
装置18にインストールされる。
The content management file X of (iv) of the server 10 is created in the server 10 according to the content management file creation program of (iii).
The (xv) content management file of the client 20 is
In starting up (initial setting) the operation of the file management system, the content management file created in the server 10 is copied (through a recording medium or transfer) and thereafter updated in the client 20. The content management file creation program of (iv) is a CD-ROM 19
(Or FD) is recorded on the HD of the server 10
Installed on device 18.

【0041】コンテンツ管理ファイルXに登録すべきも
のとして選択または確認されたファイル群を上記(xii)
指定ファイル群と呼ぶ。サーバ10においては管理対象フ
ァイル群はCD−ROMまたはFDからHD装置18にイ
ンストールされる(インストールされないものがあって
もよい)。クライアント20においては指定ファイル群は
CD−ROMまたはFDからHD装置28にインストール
される(サーバ10から転送されることもある)。ファイ
ル管理システムの立ち上げ時(設定時)にはクライアン
ト20のHD装置28に格納されている指定ファイル群とコ
ンテンツ管理ファイルXに登録されているファイル群と
は一致していることが前提である。
The file group selected or confirmed to be registered in the content management file X is described in (xii) above.
This is called a specified file group. In the server 10, the group of files to be managed is installed from the CD-ROM or FD in the HD device 18 (some files may not be installed). In the client 20, the specified files are installed from the CD-ROM or FD to the HD device 28 (they may be transferred from the server 10). When the file management system is started (at the time of setting), it is assumed that the specified file group stored in the HD device 28 of the client 20 matches the file group registered in the content management file X. .

【0042】上記(xi)スレーブDIRはクライアント
20のHD装置28に格納されている指定ファイル群につい
てのディレクトリ情報を記述したものであり,ディレク
トリ情報のうちファイル名などはマスタDIRに基づい
てコンテンツ管理ファイルXを参照してサーバ10におい
て作成される。このスレーブDIRはクライアント20の
HD装置28にコピーされ(記録媒体または転送を通し
て),クライアント20において指定ファイル群をHD装
置28にインストールしたとき(またはサーバ10から転送
されたとき)に完成される。スレーブDIRをクライア
ント20において作成することもできる。スレーブDIR
もまたファイル管理のために用いられる。管理対象ファ
イル群と指定ファイル群とが同じ場合には,基本的には
(ディレクトリ情報のうちファイル名などについては)
マスタDIRのデータとスレーブDIRのデータは同じ
になろう。
The (xi) slave DIR is a client
The directory information describes a specified file group stored in the HD device 28. The file name of the directory information is created in the server 10 by referring to the content management file X based on the master DIR. You. The slave DIR is copied to the HD device 28 of the client 20 (through a recording medium or transfer), and is completed when the client 20 installs the designated file group in the HD device 28 (or when transferred from the server 10). A slave DIR can also be created at the client 20. Slave DIR
Is also used for file management. If the managed file group and the specified file group are the same, basically (file name etc. in directory information)
The master DIR data and the slave DIR data will be the same.

【0043】上述のようにファイル管理システムの運用
の開始にあたってはクライアント20のHD装置28に格納
されている指定ファイル群のそれぞれのファイルはその
コンテンツに至るまでサーバ10のコンテンツ管理ファイ
ルXによって管理されているファイルと全く同じであ
る。サーバ10において,コンテンツ管理ファイルXによ
って管理されているファイルの追加,削除またはファイ
ル・コンテンツの変更があった場合には,クライアント
20の指定ファイル群はコンテンツ管理ファイルXによっ
て管理されているファイル群と一致しなくなる。
As described above, at the start of the operation of the file management system, each file of the specified file group stored in the HD device 28 of the client 20 is managed by the content management file X of the server 10 up to its contents. File is exactly the same. When the server 10 adds or deletes a file managed by the content management file X or changes the file content, the client 10
The 20 designated file groups no longer match the file group managed by the content management file X.

【0044】上記(xiii)更新処理プログラムは,クライ
アント20のHD装置28に格納されている指定ファイル群
とサーバ10のコンテンツ管理ファイルXに登録されてい
るファイル群とが一致するかどうかを,ファイルの存
在,不存在のみならずファイルのコンテンツまでについ
てチェックし,一致しない場合にはサーバ10から必要な
ファイルを取得したり,不要なファイルをHD装置28か
ら削除したりすることにより,クライアント20のHD装
置28に格納されている指定ファイル群をサーバ10のコン
テンツ管理ファイルXによって管理されているファイル
群と一致させるためのプログラムである。
The update processing program (xiii) determines whether or not the specified file group stored in the HD device 28 of the client 20 and the file group registered in the content management file X of the server 10 match. Is checked not only for the presence / absence of the file but also for the contents of the file. If the contents do not match, a necessary file is obtained from the server 10 or an unnecessary file is deleted from the HD device 28, so that This is a program for matching a specified file group stored in the HD device 28 with a file group managed by the content management file X of the server 10.

【0045】上記(xiv) 初期設定ファイルにはサーバ10
のネットワーク上のアドレス,サーバ10のHD装置18に
格納されたコンテンツ管理ファイルXへのパス,クライ
アント20のネットワーク上のアドレス,クライアント20
のHD装置28に格納されたコンテンツ管理ファイルへの
パス,および後述する通信結果ログの送信先アドレスが
記述されている。初期設定ファイルは更新処理プログラ
ムとともにCD−ROM29(またはFD)に記録されて
いたものがクライアント20のHD装置28にインストール
される。
The (xiv) initialization file contains the server 10
Address on the network, the path to the content management file X stored in the HD device 18 of the server 10, the address of the client 20 on the network,
The path to the content management file stored in the HD device 28 and the destination address of a communication result log described later are described. The initial setting file recorded on the CD-ROM 29 (or FD) together with the update processing program is installed in the HD device 28 of the client 20.

【0046】(3) サーバにおけるコンテンツ管理ファイ
ルの作成および更新 コンテンツ管理ファイルXはファイル管理システムの運
用の立上げ時(初期設定時)に新規に作成される。また
コンテンツ管理ファイルXは,アプリケーション・シス
テムにおいて,ファイルの追加もしくは削除またはファ
イルのコンテンツの変更があったときに更新される。図
7はコンテンツ管理ファイル作成プログラムにしたがう
コンテンツ管理ファイルXの作成処理および更新処理の
手順を示す。
(3) Creation and Update of Content Management File in Server The content management file X is newly created when the operation of the file management system is started (initial setting). The content management file X is updated when a file is added or deleted or the content of the file is changed in the application system. FIG. 7 shows the procedure of the processing for creating and updating the content management file X according to the content management file creation program.

【0047】コンテンツ管理ファイル作成プログラムが
立ち上げられると,コンテンツ管理ファイルXの「作
成」または「更新」を指示するメニューが出力装置(C
RT表示装置)12の表示画面に表示される。ユーザがコ
ンテンツ管理ファイルXの「作成」を選択すると(ステ
ップ103 で作成),マスタDIRに管理されているファ
イルの一覧が表示される。ユーザはマスタDIRによっ
て管理されているファイルの中からコンテンツ管理ファ
イルXに登録すべきファイルを選択(または確認)しな
がら,これらを表示画面上でグループ化する。選択した
すべてのファイルを含むアプリケーション・システムの
属性情報(バージョン番号,使用開始日),各アプリケ
ーション・グループの属性情報(グループ名,バージョ
ン番号,使用期限日)を入力装置11を用いて入力する
(ステップ104,105)。
When the content management file creation program is started, a menu instructing "creation" or "update" of the content management file X is displayed on the output device (C).
(RT display device) 12 is displayed on the display screen. When the user selects "create" of the content management file X (created in step 103), a list of files managed by the master DIR is displayed. The user selects (or confirms) files to be registered in the content management file X from the files managed by the master DIR, and groups them on the display screen. Input attribute information (version number, use start date) of the application system including all selected files and attribute information (group name, version number, expiration date) of each application group using the input device 11 ( Steps 104 and 105).

【0048】属性情報の設定およびグループ化を伴った
ファイルの選択(指定)が終わり保存を指示すると,選
択されたすべてのファイルのそれぞれについて,そのコ
ンテンツを用いてファイル識別子がコンテンツ管理ファ
イル作成プログラムにしたがって自動的に算出される
(ステップ106 )。入力された属性情報,算出されたフ
ァイル識別子等を用いて図5に示すようなコンテンツ管
理ファイルXが作成され,HD装置18に格納(保存)さ
れる(ステップ107 )。
When the selection (designation) of the files with the setting of the attribute information and the grouping is completed and the save is instructed, the file identifier is transmitted to the content management file creating program using the contents of each of the selected files. Therefore, it is automatically calculated (step 106). A content management file X as shown in FIG. 5 is created using the input attribute information, the calculated file identifier, and the like, and is stored (saved) in the HD device 18 (step 107).

【0049】サーバ10において作成されたコンテンツ管
理ファイルはクライアント20に渡され(記録媒体または
転送を通して),そのHD装置28にも格納(保存)され
る。ファイル管理システムの運用の開始時には,サーバ
10のコンテンツ管理ファイルXとクライアント20のコン
テンツ管理ファイルとは全く同一である。
The content management file created in the server 10 is passed to the client 20 (through a recording medium or transfer) and stored (saved) in the HD device 28. When starting operation of the file management system, the server
The ten content management files X and the content management file of the client 20 are exactly the same.

【0050】サーバ10においてユーザはアプリケーショ
ン・システムへのファイルの追加,またはアプリケーシ
ョン・システムに含まれるファイルのコンテンツの変更
(HD装置18に格納されているファイルの書き換え等)
を行うことができる。このような場合には,マスタDI
Rの更新処理を伴う。図6に示すように,マスタDIR
の更新が終了すると(ステップ101 ),ユーザはコンテ
ンツ管理ファイル作成プログラムを起動する(ステップ
102 )。アプリケーション・システムに含まれるファイ
ルを削除する場合には,ユーザはマスタDIRの更新を
することなく(もちろん削除するファイルのディレクト
リ情報を削除してもよい),コンテンツ管理ファイル作
成プログラムを起動する。
In the server 10, the user adds a file to the application system or changes the content of a file included in the application system (eg, rewrites a file stored in the HD device 18).
It can be performed. In such a case, the master DI
This involves updating of R. As shown in FIG.
When the updating of the content is completed (step 101), the user starts the content management file creation program (step 101).
102). When deleting a file included in the application system, the user activates the content management file creation program without updating the master DIR (of course, the directory information of the file to be deleted may be deleted).

【0051】ユーザはコンテンツ管理ファイル作成プロ
グラムにしたがう処理(図7)において,「更新」を選
択することになる(ステップ103 で「更新」)。サーバ
10のHD装置18に格納されているコンテンツ管理ファイ
ルXが読み出され(ステップ108 ),コンテンツ管理フ
ァイルXによって管理されているアプリケーション・シ
ステムに属するファイルおよび属性情報が表示される。
ファイルを追加する場合には,ユーザは追加すべきファ
イルを(マスタDIRも表示されるのでユーザはその中
からファイルを選択することができる),いずれかのア
プリケーション・グループに属するように選択(指定)
する。ファイルを削除する場合には,ユーザはそのファ
イルをコンテンツ管理ファイルXから削除するよう指示
する(ステップ109 )。
The user selects "update" in the process (FIG. 7) according to the content management file creation program ("update" in step 103). server
The content management file X stored in the ten HD devices 18 is read (step 108), and the files belonging to the application system managed by the content management file X and the attribute information are displayed.
When adding a file, the user selects (designates) the file to be added (the master DIR is also displayed so that the user can select a file from the file) to belong to any application group. )
I do. When deleting a file, the user instructs to delete the file from the content management file X (step 109).

【0052】ファイルの追加,削除およびファイル・コ
ンテンツの変更のいずれの場合にも,この実施例ではユ
ーザは追加したファイルが属すべきアプリケーション・
グループ,削除したファイルが属していたアプリケーシ
ョン・グループまたはコンテンツが変更されたファイル
が属しているアプリケーション・グループのバージョン
番号を変更する。また,アプリケーション・システムの
バージョン番号を変更する(ステップ110 )。
In either case of adding or deleting a file or changing a file content, in this embodiment, the user is required to enter the application / file to which the added file belongs.
Change the version number of the group, the application group to which the deleted file belongs, or the application group to which the file whose contents have changed. Further, the version number of the application system is changed (step 110).

【0053】この後,アプリケーション・システムに含
まれているファイル(選択されているファイル)のそれ
ぞれについて,再びそのファイル・コンテンツを用いて
ファイル識別子が算出される(ステップ106 )。追加ま
たはコンテンツの変更のあったファイルについてのみフ
ァイル識別子を算出してもよい。サーバ10のHD装置18
には新たに算出されたファイル識別子等を含むコンテン
ツ管理ファイルXが保存される(ステップ107 )。
Thereafter, for each of the files (selected files) included in the application system, a file identifier is calculated again using the file contents (step 106). File identifiers may be calculated only for files that have been added or whose contents have been changed. HD device 18 of server 10
Stores the content management file X including the newly calculated file identifier and the like (step 107).

【0054】ファイル識別子の算出は常に同じアルゴリ
ズムにしたがって行われる。したがって,コンテンツが
変更されたファイルについてのファイル識別子はコンテ
ンツ変更前のファイル識別子と異なるものになる。コン
テンツの変更のないファイルのファイル識別子はもちろ
ん変わらない。新たに追加されたファイルについては,
そのファイル名等とともにファイルのコンテンツの内容
を反映したファイル識別子が生成され,コンテンツ管理
ファイルXに登録される。削除されたファイルについて
のデータは,コンテンツ管理ファイルXにはもはや存在
しない。
The calculation of the file identifier is always performed according to the same algorithm. Therefore, the file identifier of the file whose content has been changed is different from the file identifier before the content is changed. Of course, the file identifier of a file whose content has not changed does not change. For newly added files,
A file identifier reflecting the content of the file is generated together with the file name and the like, and registered in the content management file X. Data about the deleted file no longer exists in the content management file X.

【0055】コンテンツ管理ファイルの更新時には,ア
プリケーション・グループの追加または削除を行うこと
もできる。新たに追加したファイルを,新たに追加した
アプリケーション・グループに属させるようにしてもよ
い。アプリケーション・グループを削除すると,そのグ
ループに属するすべてのファイルについてのデータがコ
ンテンツ管理ファイルXから削除される。
When updating the content management file, an application group can be added or deleted. The newly added file may belong to the newly added application group. When the application group is deleted, data on all files belonging to the group is deleted from the content management file X.

【0056】(4) クライアントにおける指定ファイル群
の更新処理 指定ファイル群はクライアント20に配布され,上述のよ
うにクライアント20のHD装置28にインストールされて
いる。サーバ10においてファイルの追加,削除,または
ファイル・コンテンツの変更があったときには,上述の
ようにコンテンツ管理ファイルXが更新される。サーバ
10におけるファイルの追加,削除,コンテンツの変更は
クライアント20のHD装置28に格納されている指定ファ
イル群においても反映されなければならない。クライア
ント20において,サーバ10の更新されたコンテンツ管理
ファイルXを利用して,サーバ10と同じように,ファイ
ルの追加,削除またはファイル・コンテンツの変更を行
う処理を,指定ファイル群の更新処理という。図8はク
ライアント20のHD装置28に格納された更新処理プログ
ラムの処理手順を示すフローチャートである。
(4) Update Process of Specified File Group at Client The specified file group is distributed to the client 20 and installed in the HD device 28 of the client 20 as described above. When a file is added, deleted, or changed in file content in the server 10, the content management file X is updated as described above. server
The addition, deletion, and change of contents of the file in 10 must be reflected also in the specified file group stored in the HD device 28 of the client 20. In the client 20, using the updated content management file X of the server 10, a process of adding or deleting a file or changing a file content in the same manner as in the server 10 is called a specified file group update process. FIG. 8 is a flowchart showing a processing procedure of the update processing program stored in the HD device 28 of the client 20.

【0057】更新処理プログラムは,たとえば,クライ
アント20のユーザによって入力装置21から更新処理プロ
グラムの起動命令が入力されることにより起動される。
あらかじめ定められた時間(たとえば午前0時)に,自
動的に起動するように設定しておいてもよいし,または
ユーザもしくは他のプログラムによって起動されるよう
にしてもよい。クライアント20の電源をオンとしたとき
に,自動的に起動するようにしてもよいし,またはユー
ザもしくは他のプログラムによって起動されるようにし
てもよい。一定時間が経過する度に起動する,または起
動されるようにしてもよい。いずれにしても,更新処理
プログラムは,あらかじめ定められたときに,定期的
に,または必要に応じてクライアント20において起動さ
れる。
The update processing program is started, for example, when a user of the client 20 inputs a start instruction of the update processing program from the input device 21.
It may be set to start automatically at a predetermined time (for example, midnight), or may be started by a user or another program. When the power of the client 20 is turned on, the client 20 may be started automatically, or may be started by a user or another program. It may be activated every time a fixed time elapses, or may be activated. In any case, the update processing program is started in the client 20 at a predetermined time, periodically, or as needed.

【0058】まず,初期設定ファイルに記述されたサー
バ10のネットワーク上のアドレスおよびコンテンツ管理
ファイルXへのパスに基づいて,クライアント20はサー
バ10のHD装置18に格納されたコンテンツ管理ファイル
Xのコピーを取得する(ステップ201 )。サーバ10から
取得したコンテンツ管理ファイルXはクライアント20の
内部メモリ25に格納される。
First, based on the address of the server 10 on the network and the path to the content management file X described in the initialization file, the client 20 copies the content management file X stored in the HD device 18 of the server 10. Is obtained (step 201). The content management file X obtained from the server 10 is stored in the internal memory 25 of the client 20.

【0059】クライアント20のHD装置28に格納されて
いるコンテンツ管理ファイルもまたその内部メモリ25に
転送される。2つのコンテンツ管理ファイルの比較が行
われる。
The content management file stored in the HD device 28 of the client 20 is also transferred to its internal memory 25. The two content management files are compared.

【0060】はじめに,2つのコンテンツ管理ファイル
のそれぞれに記述されたアプリケーション・システムの
バージョン番号(以下,システムVer という)が比較さ
れる(ステップ202 )。システムVer が異なる場合(ス
テップ202 でNO)には,サーバ10において,アプリケ
ーション・システムへのファイルの追加,アプリケーシ
ョン・システムからのファイルの削除,またはアプリケ
ーション・システムに含まれるファイルのファイル・コ
ンテンツの変更が行われたことを意味する。ここでファ
イルの追加には,新たなファイルを既存のアプリケーシ
ョン・グループに追加する場合と,追加するファイルに
よってアプリケーション・グループを生成する場合(ア
プリケーション・グループの追加)とがある。ファイル
の削除には,既存のアプリケーション・グループからフ
ァイルを削除する場合と,既存のアプリケーション・グ
ループに属するすべてのファイルをアプリケーション・
グループごと削除する場合(アプリケーション・グルー
プの削除)とがある。コンテンツ管理ファイルには,ア
プリケーション・グループに関する記述(グループ名,
バージョン番号,使用期限日)が含まれているので,こ
の記述に基づいて,アプリケーション・グループの追
加,または削除があったかどうかを判別することができ
る。また,ファイルの追加,削除,またはファイル・コ
ンテンツの変更が行われた場合には,必ずそのファイル
が属するアプリケーション・グループのバージョン番号
が変更されるので,ファイルの追加,削除またはファイ
ル・コンテンツの変更があったアプリケーション・グル
ープを特定することができる。したがって,2つのコン
テンツ管理ファイルにおいてアプリケーション・グルー
プの比較が行われる(ステップ203 )。
First, the version number of the application system (hereinafter, referred to as system Ver) described in each of the two content management files is compared (step 202). If the system Vers are different (NO in step 202), the server 10 adds a file to the application system, deletes a file from the application system, or changes a file content of a file included in the application system. Means that it was done. Here, the file addition includes a case where a new file is added to an existing application group and a case where an application group is generated based on a file to be added (addition of an application group). Files can be deleted by deleting files from the existing application group or by deleting all files belonging to the existing application group.
There is a case where each group is deleted (deletion of an application group). The content management file contains descriptions about the application group (group name,
Version number, expiration date), it is possible to determine whether an application group has been added or deleted based on this description. Whenever a file is added, deleted, or its contents changed, the version number of the application group to which the file belongs is changed, so the file is added, deleted, or its contents changed. Can identify the application group in which the error occurred. Therefore, application groups are compared in the two content management files (step 203).

【0061】サーバ10のコンテンツ管理ファイルXにあ
るアプリケーション・グループに関する記述が,クライ
アント20のコンテンツ管理ファイルにない場合には,そ
のアプリケーション・グループはサーバ10において追加
されたグループであると判断される(ステップ203;グル
ープの追加)。クライアント20は,サーバ10において追
加されたアプリケーション・グループに属するすべての
ファイルを,サーバ10から取得する(ステップ204 )。
If there is no description about the application group in the content management file X of the server 10 in the content management file of the client 20, it is determined that the application group is a group added in the server 10. Step 203; Add Group). The client 20 acquires all files belonging to the application group added in the server 10 from the server 10 (step 204).

【0062】クライアント20はサーバ10のHD装置18を
アクセスしてネットワークを通してファイルのコピーを
取得したり,クライアント20に装着されたFDまたはC
D−ROMからファイルを読取ることにより取得するこ
とができる。クライアント20からサーバ10にファイル・
リクエストを送り,サーバ10がネットワークを介してク
ライアント20にファイルを伝送してもよい。
The client 20 accesses the HD device 18 of the server 10 to obtain a copy of a file through a network, or obtains an FD or C
It can be obtained by reading a file from the D-ROM. File from client 20 to server 10
The request may be sent, and the server 10 may transmit the file to the client 20 via the network.

【0063】逆に,クライアント20のコンテンツ管理フ
ァイルにあるアプリケーション・グループに関する記述
が,サーバ10のコンテンツ管理ファイルXにない場合に
は,そのアプリケーション・グループはサーバ10におい
て削除されたグループであると判断される(ステップ20
3;グループの削除)。クライアント20はサーバ10におい
て削除されたグループに属するすべてのファイルを,H
D装置28から削除する(ステップ205 )。
Conversely, if the description of the application group in the content management file of the client 20 is not in the content management file X of the server 10, it is determined that the application group is a group deleted in the server 10. (Step 20
3; delete group). The client 20 copies all files belonging to the group deleted on the server 10 to H
It is deleted from the D device 28 (step 205).

【0064】サーバ10のコンテンツ管理ファイルXに記
述されたアプリケーション・グループに関する記述がク
ライアント20のコンテンツ管理ファイルに存在するが,
しかしそれらのグループのバージョン番号(グループVe
r という)が互いに異なる場合には,サーバ10において
そのグループに属するファイルの追加,削除またはファ
イル・コンテンツの変更が行われたと判断される(ステ
ップ203;グループVerの変更)。そのアプリケーション
・グループに属するすべてのファイルについて,ファイ
ル識別子を用いた差分解析が行われる(ステップ206
)。
Although the description about the application group described in the content management file X of the server 10 exists in the content management file of the client 20,
But the version number of those groups (Group Ve
r) are different from each other, it is determined that the server 10 has added or deleted a file belonging to the group or changed the file content (step 203; change the group Ver). The difference analysis using the file identifier is performed for all the files belonging to the application group (step 206).
).

【0065】クライアント20のコンテンツ管理ファイル
に含まれるすべてのファイル識別子について,それらと
サーバ10のコンテンツ管理ファイルXに含まれるファイ
ル識別子との差が逐一算出される。同じ値を持つファイ
ル識別子が両コンテンツ管理ファイルに存在すれば,そ
のファイル識別子のファイルはサーバ10において追加
も,削除も,ファイル・コンテンツの変更もなかったこ
とを意味する。
For all the file identifiers included in the content management file of the client 20, differences between them and the file identifiers included in the content management file X of the server 10 are calculated one by one. If a file identifier having the same value exists in both content management files, it means that the file with the file identifier has not been added, deleted, or changed in the file content in the server 10.

【0066】クライアント20のコンテンツ管理ファイル
にあるファイル識別子と同じものがサーバ10のコンテン
ツ管理ファイルXに存在しないということは,そのファ
イル識別子に対応するファイルがサーバ10において削除
されたか,またはファイル・コンテンツが変更されたか
のいずれかである。サーバ10のコンテンツ管理ファイル
Xにあるファイル識別子と同じものがクライアント20の
コンテンツ管理ファイルに存在しないということは,そ
のファイル識別子に対応するファイルがサーバ10におい
て追加されたか,またはファイル・コンテンツが変更さ
れたかのいずれかである。
The fact that the same file identifier in the content management file of the client 20 does not exist in the content management file X of the server 10 means that the file corresponding to the file identifier has been deleted in the server 10 or the file content Has either been changed. The fact that the same file identifier in the content management file X of the server 10 does not exist in the content management file of the client 20 means that a file corresponding to the file identifier has been added in the server 10 or the file content has been changed. Either one.

【0067】このような場合には,次のようにして,サ
ーバ10のファイルと同一のファイルをクライアント20に
確保する。すなわち,クライアント20は,サーバ10のコ
ンテンツ管理ファイルXのみに含まれているファイル識
別子に対応するファイルをサーバ10から取得する。ま
た,クライアント20は,クライアント20のコンテンツ管
理ファイルのみに含まれているファイル識別子に対応す
るファイルをHD装置28から削除する。サーバ10のコン
テンツ管理ファイルXによって管理されているファイル
と,クライアント20のHD装置28に格納されている指定
ファイル群とが,そのコンテンツに至るまで同一とな
る。
In such a case, the same file as the file of the server 10 is secured in the client 20 as follows. That is, the client 20 acquires from the server 10 a file corresponding to the file identifier included only in the content management file X of the server 10. Further, the client 20 deletes a file corresponding to the file identifier included only in the content management file of the client 20 from the HD device 28. The file managed by the content management file X of the server 10 and the specified file group stored in the HD device 28 of the client 20 are the same up to the content.

【0068】上記の処理では,ファイル識別子のみに基
づいて,クライアント20に存在しないファイルのサーバ
10からの取得と,クライアント20にはあるが,サーバ10
ではもはや管理されていないファイルのクライアント20
からの削除とが行われている。ファイル識別子はファイ
ルのコンテンツを反映しているので,コンテンツにわず
かでも変更があればファイル識別子は異なるものとな
る。サーバ10のファイルのコンテンツと,クライアント
20のファイルのコンテンツとの同一化が達成できる。
In the above processing, the server of the file that does not exist in the client 20 is determined based on only the file identifier.
Acquisition from server 10 and client 20 but server 10
Client 20 for files no longer managed
Has been removed. Since the file identifier reflects the content of the file, any slight change in the content will result in a different file identifier. File contents of server 10 and client
Identification with the contents of 20 files can be achieved.

【0069】ファイルの追加または削除の判断は,ファ
イル名を用いて行ってもよい(ファイル・コンテンツが
変更されたときにはファイル名を変更しないという前提
で)。すなわち,クライアント20のコンテンツ管理ファ
イルとサーバ10のコンテンツ管理ファイルXとにおいて
ファイル名を相互に比較する。サーバ10のコンテンツ管
理ファイルXに存在し,クライアント20のコンテンツ管
理ファイルに無いものについては追加と判断し,逆にク
ライアントのコンテンツ管理ファイルに存在し,サーバ
10のコンテンツ管理ファイルXに無いものを削除と判断
する。両コンテンツ管理ファイルに同じファイル名が存
在する場合には,そのファイル識別子の比較に進む。フ
ァイル識別子が同一であればファイル・コンテンツの変
更が無かったものと判断し,異なる場合にはファイル・
コンテンツの変更があったと判断する。
The addition or deletion of a file may be determined using the file name (assuming that the file name is not changed when the file content is changed). That is, the file names of the content management file of the client 20 and the content management file X of the server 10 are compared with each other. If the file exists in the content management file X of the server 10 and does not exist in the content management file of the client 20, it is determined to be added.
It is determined that a file not included in the ten content management files X is deleted. If the same file name exists in both content management files, the process proceeds to the comparison of the file identifier. If the file identifiers are the same, it is determined that the file contents have not changed.
It is determined that the content has been changed.

【0070】ファイルの取得や削除が行われた後,サー
バ10から取得したコンテンツ管理ファイルが,クライア
ント20のHD装置28に格納されていたコンテンツ管理フ
ァイルに代わってクライアント20のHD装置28に格納さ
れる(ステップ208 )。最後に,ファイルの取得の成功
または不成功の結果などを記録した通信結果ログが作成
され,初期設定ファイルに記述された転送先アドレス
(一般にはサーバ10)に向けて送信され(ステップ209
),更新処理プログラムのすべての処理が終了する。
After the file is acquired or deleted, the content management file acquired from the server 10 is stored in the HD device 28 of the client 20 instead of the content management file stored in the HD device 28 of the client 20. (Step 208). Finally, a communication result log that records the success or failure of the file acquisition is created and transmitted to the transfer destination address (generally, the server 10) described in the initialization file (step 209).
), All processing of the update processing program ends.

【0071】サーバ10のコンテンツ管理ファイルに記述
されたシステムVer と,クライアント20のコンテンツ管
理ファイルに記述されたシステムVer とが一致する場合
(ステップ202 でYES)には,クライアント20のHD
装置28に格納された指定ファイル群は,そのコンテンツ
に至るまでサーバ10のコンテンツ管理ファイルXによっ
て管理されているファイルと全く同一である。更新処理
プログラムは何等の処理も行わず,終了する。
If the system Ver described in the content management file of the server 10 matches the system Ver described in the content management file of the client 20 (YES in step 202), the HD of the client 20
The specified file group stored in the device 28 is exactly the same as the file managed by the content management file X of the server 10 up to the content. The update processing program terminates without performing any processing.

【0072】図9は,サーバ10においてファイルの追加
および削除が行われた場合に,クライアント20において
行われる更新処理の進行の様子を示している。上段,中
段,下段の順番に更新処理が進行する。
FIG. 9 shows the progress of the updating process performed in the client 20 when a file is added or deleted in the server 10. The updating process proceeds in the order of upper, middle, and lower stages.

【0073】図9の上段において,サーバ10においてア
プリケーション・システムに属するファイルと,クライ
アント20のHD装置28に格納された指定ファイル群は,
ともにaファイル,bファイル,cファイルおよびdフ
ァイルである。サーバ10およびクライアント20は同じコ
ンテンツ情報が記述されたコンテンツ管理ファイルXを
持つ。
In the upper part of FIG. 9, the files belonging to the application system in the server 10 and the designated file group stored in the HD device 28 of the client 20 are:
All are a file, b file, c file and d file. The server 10 and the client 20 have a content management file X in which the same content information is described.

【0074】図9の中段において,サーバ10ではdファ
イルがアプリケーション・システムから削除され,新た
にeファイルが追加されている。サーバ10においてコン
テンツ管理ファイルが更新される。新たなコンテンツ情
報が記述されたコンテンツ管理ファイルを符号Yで示
す。クライアント20はサーバ10からコンテンツ管理ファ
イルYを取得し,クライアント20が持つコンテンツ管理
ファイルXと比較する。比較の結果,クライアント20は
サーバ10からeファイルを取得するとともに,HD装置
28からdファイルを削除する。サーバ10のアプリケーシ
ョン・システムに含まれているファイル(コンテンツ管
理ファイルYによって管理されているファイル)と,ク
ライアント20のHD装置28に格納された指定ファイル群
とが,そのコンテンツに至るまで同一になる(図9の下
段)。
In the middle part of FIG. 9, the server 10 deletes the d file from the application system and newly adds the e file. The server 10 updates the content management file. A content management file in which new content information is described is denoted by a symbol Y. The client 20 acquires the content management file Y from the server 10 and compares it with the content management file X of the client 20. As a result of the comparison, the client 20 acquires the e-file from the server 10 and
Delete file d from 28. The file included in the application system of the server 10 (the file managed by the content management file Y) and the specified file group stored in the HD device 28 of the client 20 become the same up to the content. (Lower part of FIG. 9).

【0075】第2実施例 図10は第2実施例におけるシステムの全体構成を示すも
のである。サーバ10とクライアント20とがネットワーク
を介して接続されていない。他の点は第1実施例と同じ
である。
Second Embodiment FIG. 10 shows the overall configuration of a system according to a second embodiment. The server 10 and the client 20 are not connected via a network. Other points are the same as the first embodiment.

【0076】サーバ10においてファイルの追加,削除ま
たはファイル・コンテンツの変更が行われ,それに応じ
てサーバ10のコンテンツ管理ファイルXが更新される。
このように更新されたコンテンツ管理ファイルXおよび
管理対象ファイル群がサーバ10においてFDに記録(コ
ピー)され,このFDがクライアント20側に渡される。
クライアント20のユーザはこのFDをFDドライブ26に
セットする。更新処理プログラムが起動される。FDか
らサーバ10のコンテンツ管理ファイルXが読み出され,
クライアント20のコンテンツ管理ファイルと比較され
る。この比較の結果に応じて,必要なファイルがFDか
ら読み出され,クライアント20のHD装置28に格納さ
れ,クライアント20のHD装置28にある不要なファイル
が削除される。クライアント20のコンテンツ管理ファイ
ルがFD内のコンテンツ管理ファイルXによって更新さ
れる。このようにして,FDを用いてオフラインで,ク
ライアント20のファイルが,そのコンテンツに至るまで
サーバ10のファイルと同一化される。
In the server 10, a file is added, deleted, or a file content is changed, and the content management file X of the server 10 is updated accordingly.
The content management file X and the management target file group updated in this way are recorded (copied) on the FD in the server 10 and the FD is transferred to the client 20 side.
The user of the client 20 sets this FD in the FD drive 26. The update processing program is started. The content management file X of the server 10 is read from the FD,
This is compared with the content management file of the client 20. In accordance with the result of the comparison, a necessary file is read from the FD, stored in the HD device 28 of the client 20, and an unnecessary file in the HD device 28 of the client 20 is deleted. The content management file of the client 20 is updated by the content management file X in the FD. In this way, the file of the client 20 is made the same as the file of the server 10 up to its contents offline using the FD.

【0077】第3実施例 図11は第3実施例のネットワーク・システムの全体構成
を示すものである。ネットワークに,サーバ10Aおよび
クライアント20Aに加えて,コンテンツ管理ファイル作
成コンピュータ10Bおよび更新処理コンピュータ20Bが
接続されている。サーバ10A,クライアント20A,コン
テンツ管理ファイル作成コンピュータ10Bおよび更新処
理コンピュータ20Bのハード・ウエア構成は,基本的に
図2に示すものと同じである。
Third Embodiment FIG. 11 shows the overall configuration of a network system according to a third embodiment. A content management file creation computer 10B and an update processing computer 20B are connected to the network in addition to the server 10A and the client 20A. The hardware configurations of the server 10A, the client 20A, the content management file creation computer 10B, and the update processing computer 20B are basically the same as those shown in FIG.

【0078】サーバ10AのHD装置にはマスタDIR,
管理対象ファイル群およびコンテンツ管理ファイルが格
納されている。クライアント20AのHD装置にはスレー
ブDIR,指定ファイル群およびコンテンツ管理ファイ
ルが格納されている。コンテンツ管理ファイル作成プロ
グラムはコンテンツ管理ファイル作成コンピュータ10B
のHD装置に,更新処理プログラムおよび初期設定ファ
イルは更新処理コンピュータ20BのHD装置にそれぞれ
格納されている。
The HD device of the server 10A has a master DIR,
A management target file group and a content management file are stored. The HD device of the client 20A stores a slave DIR, a specified file group, and a content management file. The content management file creation program is a content management file creation computer 10B
The update processing program and the initialization file are stored in the HD device of the update processing computer 20B.

【0079】コンテンツ管理ファイル作成プログラムを
持つコンテンツ管理ファイル作成コンピュータ10Bは,
サーバ10AからマスタDIR等の必要なデータを取得し
て,コンテンツ管理ファイルXを作成する。このコンテ
ンツ管理ファイルXはサーバ10AのHD装置に格納され
る。
The content management file creation computer 10B having the content management file creation program
Necessary data such as a master DIR is acquired from the server 10A, and a content management file X is created. This content management file X is stored in the HD device of the server 10A.

【0080】サーバ10Aにおいてファイルの追加,削除
またはファイル・コンテンツの変更等があった場合に
は,コンテンツ管理ファイル作成コンピュータ10Bはそ
れらを表すデータをサーバ10Aから取得して,コンテン
ツ管理ファイルXを更新する。更新されたコンテンツ管
理ファイルXはサーバ10Aに戻される。
When a file is added or deleted or a file content is changed in the server 10A, the content management file creation computer 10B obtains data representing these from the server 10A and updates the content management file X. I do. The updated content management file X is returned to the server 10A.

【0081】更新処理コンピュータ20Bはクライアント
10Aからコンテンツ管理ファイルを取得し,サーバ10A
からコンテンツ管理ファイルXを取得する。両コンテン
ツ管理ファイルの比較に応じて,更新処理コンピュータ
20Bは必要なファイルをサーバ10Aから取得してクライ
アント20Aに渡し,かつクライアント20Aにおける不要
なファイルを削除する。
The update processing computer 20B is a client
Acquires the content management file from 10A, server 10A
Obtains the content management file X from. Update processing computer according to comparison of both content management files
20B obtains necessary files from server 10A, passes them to client 20A, and deletes unnecessary files in client 20A.

【0082】このように,コンテンツ管理ファイル作成
プログラムおよび更新処理プログラムを,サーバおよび
クライアントと異なる装置にそれぞれ格納しておき,コ
ンテンツ管理ファイル作成プログラムおよび更新処理プ
ログラムをサーバおよびクライアントと異なる装置で実
行させる構成を採用することによって,柔軟なネットワ
ーク・システムを構成することができる。
As described above, the content management file creation program and the update processing program are stored in a device different from the server and the client, respectively, and the content management file creation program and the update processing program are executed in a device different from the server and the client. By adopting the configuration, a flexible network system can be configured.

【0083】第4実施例 図12は第4実施例におけるファイル管理システムのシス
テム構成を示すものである。図12に示す構成では,ネッ
トワークに接続されていない1台のコンピュータ(以
下,スタンドアロン・コンピュータという)30のHD装
置に,第1実施例のサーバ10のHD装置18に格納された
もの(上記(i)マスタDIR,上記(ii) 管理対象ファイ
ル群,上記(iii) コンテンツ管理ファイル作成プログラ
ムおよび上記(iv)コンテンツ管理ファイル)と,クライ
アント20のHD装置28に記憶されたもの(バックアップ
DIR(第1実施例の上記(xi)スレーブDIRと同じで
ある),上記(xii) 指定ファイル群,上記(xiii)更新処
理プログラム,上記(xiv) 初期設定ファイルおよび上記
(xv)コンテンツ管理ファイル)の両方が記憶されてい
る。上記(xii)指定ファイル群は,一般にバックアップ
用として用いられる。
Fourth Embodiment FIG. 12 shows a system configuration of a file management system according to a fourth embodiment. In the configuration shown in FIG. 12, the one stored in the HD device 18 of the server 10 of the first embodiment (the above (( i) the master DIR, the above (ii) group of files to be managed, the above (iii) the content management file creation program and the above (iv) content management file), and the one stored in the HD device 28 of the client 20 (the backup DIR (first (Same as (xi) slave DIR in one embodiment), (xii) specified file group, (xiii) update processing program, (xiv) initialization file, and (xiv)
(xv) content management file). The (xii) designated file group is generally used for backup.

【0084】管理対象ファイル群においてファイルの追
加,削除またはファイル・コンテンツの変更があると,
コンテンツ管理ファイルを利用して,バックアップ用の
指定ファイル群のファイルも同じように追加,削除また
はファイル・コンテンツが変更される。利用されるファ
イル群と常に同一のバックアップ用の指定ファイル群が
確保される。
When a file is added or deleted or a file content is changed in the file group to be managed,
Using the content management file, the files of the specified file group for backup are similarly added, deleted, or the file content is changed. A specified backup file group that is always the same as the used file group is secured.

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

【図1】第1実施例のネットワーク・システムの全体構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating an overall configuration of a network system according to a first embodiment.

【図2】サーバのハード・ウエア構成を示すブロック図
である。
FIG. 2 is a block diagram illustrating a hardware configuration of a server.

【図3】マスタDIRの内容を示す。FIG. 3 shows the contents of a master DIR.

【図4】コンテンツ管理ファイルXに登録すべきものと
して選択されたファイルをグループ化した様子を示す。
FIG. 4 shows a state in which files selected to be registered in the content management file X are grouped.

【図5】コンテンツ管理ファイルXの内容を示す。FIG. 5 shows the contents of a content management file X.

【図6】サーバにおけるマスタDIRの更新処理におけ
るサーバの処理を示すフローチャートである。
FIG. 6 is a flowchart showing a process of the server in a process of updating a master DIR in the server.

【図7】サーバにおけるコンテンツ管理ファイル作成プ
ログラムの処理手順を示すフローチャートである。
FIG. 7 is a flowchart illustrating a processing procedure of a content management file creation program in a server.

【図8】更新処理プログラムの処理手順を示すフローチ
ャートである。
FIG. 8 is a flowchart illustrating a processing procedure of an update processing program.

【図9】サーバにおいてファイルの追加および削除が行
われた場合の,クライアントにおける更新処理の進行の
様子を示している。
FIG. 9 shows a state of progress of an update process in a client when a file is added and deleted in the server.

【図10】第2実施例におけるシステムの全体構成を示
す。
FIG. 10 shows an overall configuration of a system according to a second embodiment.

【図11】第3実施例におけるネットワーク・システム
の全体構成を示す。
FIG. 11 shows an overall configuration of a network system in a third embodiment.

【図12】第4実施例におけるシステムの全体構成を示
す。
FIG. 12 shows an overall configuration of a system according to a fourth embodiment.

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

10 サーバ・コンピュータ 20 クライアント・コンピュータ 11,21 入力装置 12, 22 出力装置 13,23 CPU 14,24 通信装置 15,25 内部メモリ 16,26 FDドライブ 17,27 CD−ROMドライブ 18,28 HD装置 19,29 CD−ROM 10 Server computer 20 Client computer 11, 21 Input device 12, 22 Output device 13, 23 CPU 14, 24 Communication device 15, 25 Internal memory 16, 26 FD drive 17, 27 CD-ROM drive 18, 28 HD device 19 , 29 CD-ROM

───────────────────────────────────────────────────── フロントページの続き (72)発明者 白鳥 充 東京都千代田区一番町16番 株式会社日本 総合研究所内 (72)発明者 池田 浩 東京都千代田区一番町16番 株式会社日本 総合研究所内 (72)発明者 栗田 潔 東京都千代田区一番町16番 株式会社日本 総合研究所内 (72)発明者 行形 芳和 東京都千代田区一番町16番 株式会社日本 総合研究所内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Mitsuru Shiratori 16th Ichibancho, Chiyoda-ku, Tokyo Inside the Japan Research Institute, Inc. (72) Inventor Hiroshi Ikeda 16th Ichibancho, Chiyoda-ku, Tokyo Japan Comprehensive Research Inc. (72) Inventor Kiyoshi Kurita 16th Ichibancho, Chiyoda-ku, Tokyo Inside Japan Research Institute, Inc. (72) Inventor Yoshikazu Yukigata 16th Ichibancho, Chiyoda-ku, Tokyo Inside Japan Research Institute, Inc.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 第1のファイル,および第1のファイル
とコンテンツが同一に保たれるべき第2のファイルを含
むシステムにおいて,第2のファイルのコンテンツを第
1のファイルのコンテンツと同一化するためのファイル
管理方法であり,第1のファイルのコンテンツに基づい
て第1のファイル識別子を生成し,少なくとも第1のフ
ァイル識別子を含む第1のファイル管理情報を作成し,
第1のファイルの更新があったときに,それに応じて第
1のファイル識別子を含む第1のファイル管理情報を更
新し,第2のファイルに関する第2のファイル識別子を
含む第2のファイル管理情報を,第1のファイル識別子
を含む第1のファイル管理情報と比較し,第2の識別子
が第1の識別子と相違するときに,第2のファイルを第
1のファイルの更新に応じて更新し,かつ第2のファイ
ル管理情報を第1のファイル管理情報の更新に応じて更
新する,ファイル管理方法。
1. In a system including a first file and a second file whose contents are to be kept the same as the first file, the contents of the second file are identified with the contents of the first file. Generating a first file identifier based on the contents of the first file, creating first file management information including at least the first file identifier,
When the first file is updated, the first file management information including the first file identifier is updated accordingly, and the second file management information including the second file identifier for the second file is updated. Is compared with the first file management information including the first file identifier, and when the second identifier is different from the first identifier, the second file is updated according to the update of the first file. And updating the second file management information in accordance with the update of the first file management information.
【請求項2】 第1のファイル,および第1のファイル
とコンテンツが同一に保たれるべき第2のファイルを含
むシステムにおいて,第2のファイルのコンテンツを第
1のファイルのコンテンツと同一化するためのファイル
管理をシステム内のコンピュータに実行させるためのプ
ログラムを記憶した媒体であり,このプログラムは,第
1のファイルのコンテンツに基づいて第1のファイル識
別子を生成し,少なくとも第1のファイル識別子を含む
第1のファイル管理情報を作成し,第1のファイルの更
新があったときに,それに応じて第1のファイル識別子
を含む第1のファイル管理情報を更新し,第2のファイ
ルに関する第2のファイル識別子を含む第2のファイル
管理情報を,第1のファイル識別子を含む第1のファイ
ル管理情報と比較し,第2の識別子が第1の識別子と相
違するときに,第2のファイルを第1のファイルの更新
に応じて更新し,かつ第2のファイル管理情報を第1の
ファイル管理情報の更新に応じて更新するようコンピュ
ータを制御する,ファイル管理のためのプログラムを格
納した媒体。
2. In a system including a first file and a second file whose contents are to be kept identical to the first file, the contents of the second file are identified with the contents of the first file. Storing a program for causing a computer in the system to execute file management for generating a first file identifier based on the content of the first file, and at least the first file identifier. The first file management information including the first file identifier is created, and when the first file is updated, the first file management information including the first file identifier is updated accordingly. The second file management information including the second file identifier is compared with the first file management information including the first file identifier. , When the second identifier is different from the first identifier, the second file is updated according to the update of the first file, and the second file management information is updated to the first file management information. A medium that stores a program for file management that controls a computer to update it according to the requirements.
【請求項3】 ファイルのコンテンツに基づいてファイ
ル識別子を作成し,少なくともファイル識別子を含むフ
ァイル管理情報を作成し,ファイルの更新があったとき
に,それに応じてファイル識別子を含むファイル管理情
報を更新するようにコンピュータを制御するためのファ
イル管理情報作成プログラムを格納した媒体。
3. A file identifier is created based on the contents of the file, file management information including at least the file identifier is created, and when the file is updated, the file management information including the file identifier is updated accordingly. That stores a file management information creation program for controlling a computer to execute the program.
【請求項4】 第1のファイルのコンテンツに基づいて
生成または更新された第1のファイル識別子を含む第1
のファイル管理情報を取得し,第2のファイルに関する
第2のファイル識別子を含む第2のファイル管理情報
を,第1のファイル識別子を含む第1のファイル管理情
報と比較し,第2の識別子が第1の識別子と相違すると
きに,第2のファイルを第1のファイルの更新に応じて
更新する指令を出し,かつ第2のファイル管理情報を第
1のファイル管理情報の更新に応じて更新するようコン
ピュータを制御するファイル更新プログラムを格納した
媒体。
4. A first file including a first file identifier generated or updated based on the content of the first file.
And compares the second file management information including the second file identifier for the second file with the first file management information including the first file identifier. When it is different from the first identifier, a command to update the second file according to the update of the first file is issued, and the second file management information is updated according to the update of the first file management information. A medium storing a file update program for controlling a computer to execute.
JP10046318A 1998-02-13 1998-02-13 File management method and medium storing file management program Pending JPH11232159A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10046318A JPH11232159A (en) 1998-02-13 1998-02-13 File management method and medium storing file management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10046318A JPH11232159A (en) 1998-02-13 1998-02-13 File management method and medium storing file management program

Publications (1)

Publication Number Publication Date
JPH11232159A true JPH11232159A (en) 1999-08-27

Family

ID=12743824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10046318A Pending JPH11232159A (en) 1998-02-13 1998-02-13 File management method and medium storing file management program

Country Status (1)

Country Link
JP (1) JPH11232159A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092699A (en) * 1999-09-20 2001-04-06 Nippon Telegr & Teleph Corp <Ntt> File storing device
JP2001306376A (en) * 2000-04-26 2001-11-02 Nikon Corp Recording medium for managing data file, data file management device, method for transmitting picture data, and method for transmitting data
JP2007507030A (en) * 2003-09-25 2007-03-22 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, system and program for synchronizing data
JP2008541263A (en) * 2005-05-09 2008-11-20 マイクロソフト コーポレーション Fast and reliable synchronization of file system directories
JP2009020753A (en) * 2007-07-12 2009-01-29 Toshiba Corp Data synchronization system and program
JP2009514074A (en) * 2005-10-27 2009-04-02 ▲ホア▼▲ウェイ▼技術有限公司 Method, system, client and server for performing data synchronization
JP2009098733A (en) * 2007-10-12 2009-05-07 Olympus Corp Information processor, information processing method and information processing program
JP2010049647A (en) * 2008-08-25 2010-03-04 Nec Corp Client server system, client computer, server, file management method, and program therefor
JP2010165255A (en) * 2009-01-16 2010-07-29 Nec Corp Dynamic generation system and dynamic pair setting method of replicated volume
JP2010182408A (en) * 2000-11-22 2010-08-19 Microsoft Corp Improved playback control method for dvd player, and system and computer readable medium
JP2010271562A (en) * 2009-05-22 2010-12-02 Alpine Electronics Inc Apparatus and method for generating speech recognition dictionary
JP2013120500A (en) * 2011-12-07 2013-06-17 Canon Inc Information processing apparatus, and information processing method
JP2013211036A (en) * 2009-06-05 2013-10-10 Microsoft Corp Synchronizing file partitions utilizing server storage model
US8730349B2 (en) 2000-04-26 2014-05-20 Nikon Corporation Recording medium for data file management, apparatus for data file management, handling apparatus for image data, and image capturing system
JP2014146349A (en) * 2008-03-28 2014-08-14 Alibaba Group Holding Ltd File folder transmission on network
US8984392B2 (en) 2008-05-02 2015-03-17 Microsoft Corporation Document synchronization over stateless protocols
US9300721B2 (en) 2009-09-14 2016-03-29 Alibaba Group Holding Limited Method, apparatus and system for file transfer based on file directory

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092699A (en) * 1999-09-20 2001-04-06 Nippon Telegr & Teleph Corp <Ntt> File storing device
JP2001306376A (en) * 2000-04-26 2001-11-02 Nikon Corp Recording medium for managing data file, data file management device, method for transmitting picture data, and method for transmitting data
US8730349B2 (en) 2000-04-26 2014-05-20 Nikon Corporation Recording medium for data file management, apparatus for data file management, handling apparatus for image data, and image capturing system
JP2010182408A (en) * 2000-11-22 2010-08-19 Microsoft Corp Improved playback control method for dvd player, and system and computer readable medium
JP2007507030A (en) * 2003-09-25 2007-03-22 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, system and program for synchronizing data
JP2008541263A (en) * 2005-05-09 2008-11-20 マイクロソフト コーポレーション Fast and reliable synchronization of file system directories
JP2009514074A (en) * 2005-10-27 2009-04-02 ▲ホア▼▲ウェイ▼技術有限公司 Method, system, client and server for performing data synchronization
JP2009020753A (en) * 2007-07-12 2009-01-29 Toshiba Corp Data synchronization system and program
JP2009098733A (en) * 2007-10-12 2009-05-07 Olympus Corp Information processor, information processing method and information processing program
US9792297B2 (en) 2008-03-28 2017-10-17 Alibaba Group Holding Limited File folder transmission on network
US9128952B2 (en) 2008-03-28 2015-09-08 Alibaba Group Holding Limited File folder transmission on network
JP2014146349A (en) * 2008-03-28 2014-08-14 Alibaba Group Holding Ltd File folder transmission on network
US8984392B2 (en) 2008-05-02 2015-03-17 Microsoft Corporation Document synchronization over stateless protocols
JP2010049647A (en) * 2008-08-25 2010-03-04 Nec Corp Client server system, client computer, server, file management method, and program therefor
JP2010165255A (en) * 2009-01-16 2010-07-29 Nec Corp Dynamic generation system and dynamic pair setting method of replicated volume
JP2010271562A (en) * 2009-05-22 2010-12-02 Alpine Electronics Inc Apparatus and method for generating speech recognition dictionary
JP2013211036A (en) * 2009-06-05 2013-10-10 Microsoft Corp Synchronizing file partitions utilizing server storage model
US9300721B2 (en) 2009-09-14 2016-03-29 Alibaba Group Holding Limited Method, apparatus and system for file transfer based on file directory
JP2013120500A (en) * 2011-12-07 2013-06-17 Canon Inc Information processing apparatus, and information processing method

Similar Documents

Publication Publication Date Title
US20200233880A1 (en) Allocation And Reassignment Of Unique Identifiers For Synchronization Of Content Items
JP4240930B2 (en) Method and apparatus for unifying temporary transmission of multiple network storages
US8131682B2 (en) System and method for replacing contents addressable storage
JP5775177B2 (en) Clone file creation method and file system using it
JPH11232159A (en) File management method and medium storing file management program
JP4250914B2 (en) Storage system
US8463867B2 (en) Distributed storage network
US8429360B1 (en) Method and system for efficient migration of a storage object between storage servers based on an ancestry of the storage object in a network storage system
JP4741371B2 (en) System, server apparatus, and snapshot format conversion method
CN109684282B (en) Method and device for constructing metadata cache
KR20190095066A (en) The method for information processing, apparatus and server and computer readable medium
JP2008033912A (en) Method and device of continuous data protection for nas
JP2006134214A (en) File version management method and computing system
US8745342B2 (en) Computer system for controlling backups using wide area network
JP2020506456A (en) Optimization of content storage by stubbing
US6912632B2 (en) Storage system, storage system control method, and storage medium having program recorded thereon
JP2005301708A (en) Storage device system and software management method in same system
US7281014B2 (en) Method and apparatus for moving data between storage devices
JP2004295465A (en) Computer system
WO2016121083A1 (en) Computer system, distributed object sharing method, and edge node
JP4755244B2 (en) Information generation method, information generation program, and information generation apparatus
US6883093B2 (en) Method and system for creating and managing common and custom storage devices in a computer network
US6952699B2 (en) Method and system for migrating data while maintaining access to data with use of the same pathname
JP4004940B2 (en) Storage system control method and computer
JP2004252957A (en) Method and device for file replication in distributed file system