JP2005292868A - File sharing control system, sharing control server, and sharing control program - Google Patents
File sharing control system, sharing control server, and sharing control program Download PDFInfo
- Publication number
- JP2005292868A JP2005292868A JP2004102454A JP2004102454A JP2005292868A JP 2005292868 A JP2005292868 A JP 2005292868A JP 2004102454 A JP2004102454 A JP 2004102454A JP 2004102454 A JP2004102454 A JP 2004102454A JP 2005292868 A JP2005292868 A JP 2005292868A
- Authority
- JP
- Japan
- Prior art keywords
- file
- directory
- name
- information table
- client computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000006870 function Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 19
- 238000000034 method Methods 0.000 description 17
- 238000012545 processing Methods 0.000 description 16
- 230000008569 process Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 8
- 230000009471 action Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000007710 freezing Methods 0.000 description 3
- 230000008014 freezing Effects 0.000 description 3
- 230000014759 maintenance of location Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
【課題】 ユーザによる煩雑な操作なくファイルをバックアップし、また、複数のコンピュータ間で、ファイルを共有する。
【解決手段】 制御サーバ10は、クライアントPC12から送られたファイル基本属性情報に基づいて、DB20中の実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果をクライアントPC12に返信する。クライアントPC12のローカル条件判断部32は、判断結果にしたがって、ファイルのダウンロード或いはアップロードを、制御サーバ10に対して要求する。
【選択図】 図1
PROBLEM TO BE SOLVED: To back up a file without complicated operation by a user and to share the file among a plurality of computers.
A control server refers to a file basic attribute information sent from a client PC and refers to a real file information table and a real file generation information table in a DB to determine download or upload conditions related to the file. The determination result is returned to the client PC 12. The local condition determination unit 32 of the client PC 12 requests the control server 10 to download or upload a file according to the determination result.
[Selection] Figure 1
Description
本発明は、ファイルのバックアップおよびその共有を制御するシステム、共有制御サーバおよびプログラムに関する。 The present invention relates to a system for controlling file backup and sharing, a sharing control server, and a program.
近年のコンピュータ機器の性能向上によりパーソナルコンピュータの小型化が進み、 オフィス内で使用されるパーソナルコンピュータが小型化しつつある。また、オフィススペースの制約により、使用されるパーソナルコンピュータも、デスクトップ型のものからノート型の物にシフトしつつある。さらにまた、当然のように、ローカルエリアネットワーク(LAN)によってネットワーク接続され、仕事の成果物である各種ファイル(ドキュメントファイルや表計算ソフトのデータファイル等)は、ファイルサーバーに格納するという業務運用が一般化してきている。
しかしながら、ノート型のパーソナルコンピュータが利用されるようになってくると、つぎのような事態が多々発生するようになってきた。
(1)オフィス内のLAN接続できない場所での作業時にノート型パーソナルコンピュータ(以下、「ノートPC」とも称する。)をLANから切り離して移動し作業する。
(2)オフィス内にとどまらず、出先にもノートPCを持ち出して作業する。
However, when notebook-type personal computers have come to be used, the following situations have frequently occurred.
(1) When working at a location in the office where LAN connection is not possible, a notebook personal computer (hereinafter also referred to as “notebook PC”) is moved away from the LAN to work.
(2) Not only stay in the office, but also take a notebook PC at the place of work.
このような利用方法を取る場合、以下のような作業方法をとるケースが頻繁に発生している。 When using such a method of use, there are frequent cases where the following work method is used.
タイプ1
業務に使用する各種のファイルはファイルサーバーから一旦ノートPCのローカルディスクにコピーして使用する。
作業終了後、ローカルディスクからファイルサーバーに書き戻す
Various files used for business are temporarily copied from the file server to the local disk of the notebook PC.
When finished, write back from local disk to file server
タイプ2
新規に作成するファイルは、ローカルディスク内にて作成し、作業完了後ファイルサーバーに書き出す。
A newly created file is created on the local disk and written to the file server after the work is completed.
しかしながら、このような使用方法では、以下のようなトラブルが生じたときに、業務に必要とするファイルが永遠に失われてしまう事態となりかねない。
(1)使用しているノートPCが故障した場合
(2)誤操作により必要ファイルを削除してしまった場合
(3)ノートPCを紛失(盗難)した場合
上述した状況が発生する背景として、主として以下のような原因があると言われている。
(1)ファイルサーバーへのコピー作業が人間の手作業に依存している。
(2)ノートPCのローカルディスクのバックアップ手段になかなかよい物がない。
However, in such a usage method, when the following trouble occurs, there is a possibility that a file required for business is lost forever.
(1) When the notebook PC being used fails (2) When a necessary file is deleted due to an erroneous operation (3) When the notebook PC is lost (stolen) The background described above mainly occurs as follows. It is said that there is such a cause.
(1) Copying to the file server depends on human manual work.
(2) There is no good backup method for local disk of notebook PC.
また、コストの問題と、使用場所を選ばなくても作業できるノートPCという特性上、 各ノートPCにバックアップ装置をつけるというのも現実的に無理という問題点もある。 Moreover, due to the problem of cost and the characteristics of notebook PCs that can be operated without selecting a place of use, there is a problem that it is practically impossible to attach a backup device to each notebook PC.
その結果、一旦ノートPCに障害が発生した場合には、ファイルを復旧できないという致命的な事態となる確率が大きくなってきている。そして、コンピュータ性能の向上によりより大きなローカルディスクが標準的に装着されるようになってきており、その被害影響度合いはますます深刻度を増している。 As a result, once a failure has occurred in a notebook PC, the probability of a fatal situation in which a file cannot be recovered is increasing. And with the improvement of computer performance, larger local disks have come to be mounted as standard, and the degree of damage impact has become increasingly serious.
また、システム設計などにおいて、1つのプロジェクトを複数人で実現することが一般化している。この場合、自己の担当箇所について、パーソナルコンピュータにて作業し、その成果物である各種ファイルを、サーバにも格納し、他の者がこれを閲覧し、場合によっては、更新できるようにしておく。 Also, in system design and the like, it has become common to implement one project with multiple people. In this case, work on a personal computer for the part in charge, and store various files that are the result of the work on the server so that others can view it and, in some cases, update it. .
たとえば、特許文献1には、プロセス定義情報により、グループ名の羅列による処理経路が表わされ、あるグループが処理を終了すると、次のグループが処理を開始できるような協同作業支援システムが開示されている。しかしながら、各作業者が自由に作業を進めることで、全体を進行される場合には、上記システムを利用するのは困難である。また、予めプロセス定義情報を作成しておくという手順も必要となる。
For example,
本発明は、ユーザによる煩雑な操作なくファイルのバックアップができ、また、煩雑な操作なく、複数のコンピュータ間で、ファイルを共有することができるシステムを提供することを目的とする。 An object of the present invention is to provide a system capable of backing up files without complicated operations by a user and sharing files among a plurality of computers without complicated operations.
本発明の目的は、自己が所有するファイルが格納されたディレクトリパス、ディレクトリ名を含むレコードを有する所有ディレクトリ情報テーブル、および、前記ファイルのネットワークを介したアップロードおよびダウンロードを管理するローカルファイル管理手段を有するクライアントコンピュータと、ネットワークを介して送付された所有ディレクトリ情報テーブルのレコードに基づき生成された、前記ファイル所有者のノード名、当該クライアントコンピュータのファイルを格納するディレクトリ名、および、アップデート時刻を含むレコードを格納する所有者パス情報テーブル、ファイル所有者のノード名、ファイル名、当該ファイルが格納されたディレクトリパスを含むレコードを有する実ファイル情報テーブル、ファイル名、ファイルのタイムスタンプ、ファイルの内容を示す情報を含むレコードを有する実ファイル世代情報テーブル、前記ローカル管理手段からネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するセンター条件判断手段、並びに、前記クライアントコンピュータからの要求にしたがって、アップロードされたファイルを、記憶装置中、所定のディレクトリパスに格納し、また、所定のディレクトリパスに格納されたファイルを、前記クライアントコンピュータにダウンロードするセンターファイル管理手段を有する制御サーバとを備え、前記クライアントコンピュータが、前記判断結果にしたがって、前記ファイルのダウンロード或いはアップロードを、前記制御サーバに対して要求するローカル条件判断手段を有することを特徴とするファイル共有制御システムにより達成される。 An object of the present invention is to provide a directory path in which a file owned by itself is stored, an owned directory information table having a record including a directory name, and a local file management means for managing upload and download of the file via a network. A record including the node name of the file owner, the name of the directory storing the file of the client computer, and the update time, generated based on the record of the possessed directory information table sent via the network Owner path information table, file owner's node name, file name, real file information table having a record including the directory path where the file is stored, file name, File time stamp, real file generation information table having a record including information indicating the contents of the file, file name, directory path, file time stamp, and file name sent from the local management means via the network Based on the file basic attribute information including information indicating the contents, the download or upload condition regarding the file is determined with reference to the actual file information table and the actual file generation information table, and the determination result is transmitted to the client computer. In accordance with a request from the center condition determining means and the client computer, the uploaded file is stored in a predetermined directory path in the storage device, and the file stored in the predetermined directory path is stored. And a control server having a center file management means for downloading a file to the client computer, and the client computer requests the control server to download or upload the file according to the determination result. This is achieved by a file sharing control system characterized by having a judging means.
本発明によれば、センター条件判断手段が、ファイルのタイムスタンプやファイルの内容の一致などに基づいて、判断結果を、クライアントコンピュータに送信し、クライアントコンピュータのローカル条件判断手段が、ファイルのダウンロード或いはアップロードの是非を判断する。これにより、ユーザが煩雑な操作をすることなく、ファイルのバックアップ(制御サーバへのファイルのアップロード)、バックアップされたファイルの取得(制御サーバからのファイルのダウンロード)を実現することができる。 According to the present invention, the center condition determining means transmits the determination result to the client computer based on the file time stamp or the match of the file contents, and the local condition determining means of the client computer downloads the file or Determine whether you want to upload. Accordingly, it is possible to realize backup of a file (uploading a file to the control server) and acquisition of a backed-up file (downloading of a file from the control server) without complicated operations by the user.
好ましい実施態様においては、さらに、クライアントコンピュータが、利用したいファイルを所有する他のクライアントコンピュータのノード名、ディレクトリ名を含むレコードを有する利用ディレクトリ情報テーブルを有し、前記ローカルファイル管理手段が、利用ディレクトリ情報テーブルに基づいて、利用するファイルのファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本情報を送信し、前記制御サーバのセンター条件判断手段が、ローカル管理手段からネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブル、および、実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を送信し、前記クライアントコンピュータのローカル条件判断手段が、前記判断結果にしたがって、前記ファイルのダウンロード或いはアップロードを、前記制御サーバに対して要求する。 In a preferred embodiment, the client computer further includes a usage directory information table having a record including a node name and a directory name of another client computer that owns a file to be used, and the local file management means includes a usage directory. Based on the information table, the file basic information including the file name, directory path, file time stamp of the file to be used, and information indicating the contents of the file is transmitted, and the center condition determining means of the control server performs local management. Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file content sent from the means via the network, the actual file information table, and Refer to the file generation information table to determine download or upload conditions for the file, and send a determination result. The local condition determination means of the client computer downloads or uploads the file according to the determination result. , Request to the control server.
本実施の形態によれば、クライアントコンピュータにおいて、他のクライアントコンピュータが所有するファイル中、利用したいものの情報を、利用ディレクトリ情報テーブルのレコードとして用意しておけば、センター条件判断手段およびセンター条件判断手段により、当該他のクライアントコンピュータのファイルのダウンロードなどの是非が判断される。これにより、他のクライアントコンピュータが所有するファイルを、利用者が共有することが可能となる。 According to the present embodiment, in the client computer, if the information of what is desired to be used in the files owned by other client computers is prepared as a record in the usage directory information table, the center condition determining means and the center condition determining means Thus, whether to download the file of the other client computer is determined. Thereby, users can share files owned by other client computers.
別の実施態様においては、さらに、クライアントコンピュータが、利用したいファイルを所有する他のクライアントコンピュータのノード名、ディレクトリ名を含むレコードを有する利用ディレクトリ情報テーブルを有し、前記ローカルファイル管理手段が、利用ディレクトリ情報テーブルに基づいて、利用するファイルのファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本情報を送信し、前記制御サーバのセンター条件判断手段が、ローカル管理手段からネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を送信し、前記クライアントコンピュータのローカル条件判断手段が、前記判断結果にしたがって、前記ファイルのダウンロード或いはアップロードを、前記ファイルを所有するクライアントコンピュータに対して要求する。 In another embodiment, the client computer further includes a use directory information table having a record including a node name and a directory name of another client computer that owns the file to be used. Based on the directory information table, the file basic information including the file name of the file to be used, the directory path, the file time stamp, and the information indicating the contents of the file is transmitted. Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file content sent from the management means via the network, the file can be downloaded or downloaded. Determine the conditions of the upload, and transmits the determination result, the local condition determination means of the client computer, in accordance with the determination result, the download or upload of the file, requests the client computer that owns the file.
より好ましい実施態様においては、前記所有ディレクトリテーブルのレコードが、ファイルの公開の可否を示す公開フラグ、公開が可能である場合のファイルの更新の可否を示す公開タイプ情報を含み、前記所有者パス情報テーブルが、前記公開フラグおよび公開タイプ情報を含み、前記センター条件判断手段が、前記所有者パス情報テーブルの、公開フラグおよび公開タイプ情報を参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断する。 In a more preferred embodiment, the record of the possessed directory table includes a disclosure flag indicating whether or not the file can be disclosed, and disclosure type information indicating whether or not the file can be updated when the disclosure is possible, and the owner path information. The table includes the public flag and the public type information, and the center condition determining unit refers to the public flag and the public type information in the owner path information table to determine a download or upload condition regarding the file. .
また、好ましい実施態様においては、前記ファイルの内容を示す情報が、ファイルのハッシュ値であり、前記センター条件判断手段が、ハッシュ値を比較することにより、ファイルの内容の一致を判断する。 In a preferred embodiment, the information indicating the contents of the file is a hash value of the file, and the center condition determining means determines the match of the contents of the file by comparing the hash values.
また、本発明の目的は、クライアントコンピュータが有する、自己が所有するファイルが格納されたディレクトリパス、ディレクトリ名を含むレコードを有する所有ディレクトリ情報テーブルに基づき、前記クライアントコンピュータにて生成され、かつ、ネットワークを介して送信された、クライアントコンピュータ名、当該クライアントコンピュータのファイルを格納するディレクトリ名、および、アップデート時刻を含むレコードを格納する所有者パス情報テーブル、ファイル所有者のノード名、ファイル名、当該ファイルが格納されたディレクトリパスを含むレコードを有する実ファイル情報テーブル、ファイル名、ファイルのタイムスタンプ、ファイルの内容を示す情報を含むレコードを有する実ファイル世代情報テーブル、ネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するセンター条件判断手段、並びに、前記クライアントコンピュータからの要求にしたがって、アップロードされたファイルを、記憶装置中、所定のディレクトリパスに格納し、また、所定のディレクトリパスに格納されたファイルを、前記クライアントコンピュータにダウンロードするセンターファイル管理手段を備え、前記クライアントコンピュータから前記判断結果にしたがった前記ファイルのダウンロード或いはアップロードの要求に応じて、前記センターファイル管理手段が、前記ファイルをダウンロード或いはアップロードすることを特徴とするファイル共有制御サーバによっても達成される。 Another object of the present invention is to create a network that is generated by the client computer based on an owned directory information table having a record including a directory path and a directory name in which the client computer has a file owned by the client computer. The client computer name, the directory name that stores the file of the client computer, and the owner path information table that stores the record including the update time, the node name of the file owner, the file name, and the file A real file information table having a record including the directory path where the file is stored, a file name, a file time stamp, a real file generation information table having a record including information indicating the contents of the file, and a network. Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file contents sent via the work, the real file information table and the real file generation information table are referred to. Determining a download or upload condition relating to the file, and a center condition determining means for transmitting the determination result to the client computer, and in accordance with a request from the client computer, the uploaded file is stored in the storage device, Center file management means for storing the file stored in the predetermined directory path and downloading the file stored in the predetermined directory path to the client computer is provided. In response to a request to download or upload of the file in accordance with, the center file management means also achieved by the file sharing control server, characterized by downloading or uploading the file.
好ましい実施態様においては、前記センター条件判断手段が、クライアントコンピュータが有する、利用したいファイルを所有する他のクライアントコンピュータのノード名、ディレクトリ名を含むレコードを有する利用ディレクトリ情報テーブルに基づき、前記クライアントコンピュータにて生成され、かつ、ネットワークを介して送信された、利用するファイルのファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信する。 In a preferred embodiment, the center condition determining means has a client computer based on a directory information table having a record including a node name and a directory name of another client computer that owns a file to be used. The actual file information table based on the basic file information including information indicating the file name, directory path, file time stamp, and file content of the file to be used, generated and transmitted over the network. Then, referring to the real file generation information table, the download or upload condition regarding the file is determined, and the determination result is transmitted to the client computer.
また、本発明の目的は、クライアントコンピュータが有する、自己が所有するファイルが格納されたディレクトリパス、ディレクトリ名を含むレコードを有する所有ディレクトリ情報テーブルに基づき、前記クライアントコンピュータにて生成され、かつ、ネットワークを介して送信された、クライアントコンピュータ名、当該クライアントコンピュータのファイルを格納するディレクトリ名、および、アップデート時刻を含むレコードを格納する所有者パス情報テーブルと、ファイル所有者のノード名、ファイル名、当該ファイルが格納されたディレクトリパスを含むレコードを有する実ファイル情報テーブルと、ファイル名、ファイルのタイムスタンプ、ファイルの内容を示す情報を含むレコードを有する実ファイル世代情報テーブルとを備えたコンピュータにより読み出し可能なプログラムであって、前記コンピュータを、ネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するセンター条件判断手段、並びに、前記クライアントコンピュータからの要求にしたがって、アップロードされたファイルを、記憶装置中、所定のディレクトリパスに格納し、また、所定のディレクトリパスに格納されたファイルを、前記クライアントコンピュータにダウンロードするセンターファイル管理手段であって、クライアントコンピュータから前記判断結果にしたがった前記ファイルのダウンロード或いはアップロードの要求に応じて、前記ファイルをダウンロード或いはアップロードするセンターファイル管理手段として機能させることを特徴とするファイル共有制御プログラムによっても達成される。 Another object of the present invention is to create a network that is generated by the client computer based on an owned directory information table having a record including a directory path and a directory name in which the client computer has a file owned by the client computer. The client computer name, the directory name that stores the file of the client computer, and the owner path information table that stores the record including the update time, and the node name and file name of the file owner A real file information table having a record including a directory path in which the file is stored, and a real file generation information table having a record including information indicating a file name, a file time stamp, and the contents of the file; A computer-readable program comprising the file basic attribute information including information indicating a file name, a directory path, a file time stamp, and a file content sent via the network. Based on the actual file information table and the actual file generation information table, the download condition or the upload condition relating to the file is determined, and the determination result is transmitted to the client computer, and the client computer In response to a request from the user, the uploaded file is stored in a predetermined directory path in the storage device, and the file stored in the predetermined directory path is downloaded to the client computer. Center file management means for downloading, in response to a request for downloading or uploading the file according to the determination result from a client computer, the center file management means for downloading or uploading the file, This is also achieved by a file sharing control program.
好ましい実施態様においては、前記コンピュータを、センター条件判断手段として機能させる際に、クライアントコンピュータが有する、利用したいファイルを所有する他のクライアントコンピュータのノード名、ディレクトリ名を含むレコードを有する利用ディレクトリ情報テーブルに基づき、前記クライアントコンピュータにて生成され、かつ、ネットワークを介して送信された、利用するファイルのファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するように、前記コンピュータを動作させる。 In a preferred embodiment, when the computer is caused to function as a center condition determining means, the client computer has a record including a record including a node name and a directory name of another client computer that owns a file that the client computer wants to use. File basic information including information indicating the file name, directory path, file time stamp, and file content of the file to be used, generated by the client computer and transmitted via the network Based on the actual file information table and the actual file generation information table, the download or upload condition relating to the file is determined, and the determination result is transmitted to the client computer. So that, the operating the computer.
本発明によれば、ユーザによる煩雑な操作なくファイルのバックアップができ、また、煩雑な操作なく、複数のコンピュータ間で、ファイルを共有することができるシステムを提供することが可能となる。 ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to provide the system which can back up a file without complicated operation by a user, and can share a file between several computers without complicated operation.
以下、添付図面を参照して、本発明の実施の形態について説明する。図1は、本発明の実施の形態にかかるファイルバックアップ・共有制御サーバ(以下、「制御サーバ」或いは場合によって「センターコントローラ」と称する。)を含むシステム全体の構成を示すブロックダイヤグラムである。図1に示すように、ファイルバックアップ・共有制御サーバ10と、複数のクライアント・パーソナルコンピュータ(以下、「クライアントPC」或いは場合によって「ノード」と称する)12−1、12−2、・・・、12−nは、ネットワーク14を介して接続可能となっている。また、ネットワーク14には、制御サーバ10におけるファイルバックアップやファイル共有の処理について、クライアントPCに通知するメールサーバ16が接続されていても良い。本実施の形態において、ネットワークとして、TCP/IPを利用しているが、これに限定されるものではなく、任意の有線或いは無線のネットワークを利用することができる。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a configuration of an entire system including a file backup / sharing control server (hereinafter referred to as “control server” or “center controller” in some cases) according to an embodiment of the present invention. As shown in FIG. 1, a file backup /
図2(a)に示すように、制御サーバ10は、後述するオンラインノード管理テーブル200、所有者パス(path)情報テーブル201、実ファイル情報テーブル202および実ファイル世代情報テーブル203を含むデータベース20を有する。また、制御サーバ10は、クライアントPC12からの送信された電文の内容およびテーブルの内容に基づいて、ファイルのダウンロード或いはアップロードに関して、どの条件に合致するかを判断する条件判断部(センター条件判断部)22と、ファイルの読み出し/書き込みおよび送信/受信を管理するファイル管理部(センターファイル管理部)24とを有している。条件判断部22およびファイル管理部24の機能は、制御サーバ10のメモリなどの記憶装置に記憶されたエージェントプログラム(以下、単に「エージェント」と称する。)により実現される。
As shown in FIG. 2A, the
図2(b)に示すように、各クライアントPC12の記憶装置30には、ノード基本情報テーブル211、所有ディレクトリ情報テーブル212および利用ディレクトリ情報テーブル213が記憶される。また、各クライアントPC12は、ファイルのダウンロード或いはアップロードに関しての条件を判断する条件判断部(ローカル条件判断部)32、および、ファイルをアップロード或いはダウンロードするファイル管理部(ローカルファイル管理部)34を備えている。記憶装置32には、エージェント(図示せず)が記憶されており、条件判断部32およびファイル管理部34の機能は、エージェントにより実現される。
As shown in FIG. 2B, the
図3は、ノード基本情報テーブル211のデータ構成を示す図である。図3に示すように、ノード基本情報テーブル211は、項目として、「自ノード名」、「ノード識別キー」、「センターコントローラIPアドレス」、「センターコントローラListenポート番号」、「E-Mailアドレス」および「ディレクトリSync間隔」から構成される。 FIG. 3 is a diagram illustrating a data configuration of the node basic information table 211. As shown in FIG. 3, the node basic information table 211 includes, as items, “own node name”, “node identification key”, “center controller IP address”, “center controller listen port number”, “E-Mail address”. And “Directory Sync Interval”.
図4は、所有ディレクトリ情報テーブル212のデータ構成を示す図である。図4に示すように、所有ディレクトリ情報テーブル212のレコードは、項目として、「所有ディレクトリPath(パス)」、「所有ディレクトリ呼称」、「最大保存世代数」、「削除ファイル保存期間」、「公開フラグ」、「公開パスワード」、「公開タイプ」、「通知メール受領フラグ」、「前回同期時刻(ノード側)」および「前回同期時刻(センター側)」を含む。所有ディレクトリ情報テーブルのレコードは、クライアントPC(たとえば、クライアントPC12−1)が所有する一群のファイルを特定するための情報である。たとえば、「所有ディレクトリPath」および「所有ディレクトリ呼称」により特定されるディレクトリに属するファイル群を特定することができる。「公開フラグ」が「ON」である場合には、そのファイル群は、他のクライアントPC(たとえば、クライアントPC12−2)と共有することができる。 FIG. 4 is a diagram showing a data configuration of the owned directory information table 212. As shown in FIG. As shown in FIG. 4, the records of the owned directory information table 212 include, as items, “owned directory path”, “owned directory name”, “maximum number of saved generations”, “deleted file retention period”, “public” “Flag”, “public password”, “public type”, “notification mail receipt flag”, “previous synchronization time (node side)” and “previous synchronization time (center side)”. The record of the owned directory information table is information for specifying a group of files owned by the client PC (for example, the client PC 12-1). For example, a file group belonging to a directory specified by “owned directory Path” and “owned directory name” can be specified. When the “public flag” is “ON”, the file group can be shared with other client PCs (for example, the client PC 12-2).
図5は、利用ディレクトリ情報テーブル213のデータ構成を示す図である。図5に示すように、利用ディレクトリ情報テーブル213のレコードは、項目として、「ディレクトリ所有者ノード名」、「ディレクトリ呼称」、「公開パスワード」、「ファイル格納先基準ディレクトリPath(パス)」、「通知メール受領フラグ」、「変更結果反映フラグ」、「前回同期時刻(ノード側)」および「前回同期時刻(センター側)」を含む。「ディレクトリ所有者ノード名」および「ディレクトリ呼称」により、クライアントPC(たとえば、クライアントPC12−1)が、ファイルの共有を希望する他のクライアントPC(たとえば、クライアントPC12−2)のファイル群が特定される。「公開パスワード」により、そのファイル群の共有が許可される。また、「ファイル格納先基準ディレクトリパス」により、クライアントPC(たとえば、クライアントPC12−1)が、他のクライアントPC(たとえば、クライアントPC12−2)から共有を希望するファイル群をダウンロードした際の、クライアントPC(たとえば、クライアントPC12−1)における格納場所が特定される。 FIG. 5 is a diagram illustrating a data configuration of the usage directory information table 213. As shown in FIG. 5, the records of the usage directory information table 213 include items such as “directory owner node name”, “directory name”, “public password”, “file storage destination reference directory Path”, “ "Notification mail receipt flag", "change result reflection flag", "previous synchronization time (node side)" and "previous synchronization time (center side)". The “directory owner node name” and “directory name” specify a file group of another client PC (for example, client PC 12-2) that the client PC (for example, client PC 12-1) desires to share the file. The Sharing of the file group is permitted by the “public password”. Also, the client when the client PC (for example, client PC 12-1) downloads a file group desired to be shared from another client PC (for example, client PC 12-2) by the “file storage destination reference directory path”. A storage location in the PC (for example, the client PC 12-1) is specified.
図6(a)は、オンラインノード管理テーブル200のデータ構成を示す図である。図6(a)に示すように、オンラインノード管理テーブル200のレコードは、項目として、「ノード名」、「ノード識別コード」、「ノードIPアドレス」、「ノードポート番号」、「ノード状態」、「Online(オンライン)開始日時」、「Offline(オフライン)日時」、「ノード管理者アドレス」を含む。このレコードに含まれる項目の値により、制御サーバ10は、ネットワーク14を介して接続したクライアントPC12を特定することができる。
FIG. 6A is a diagram illustrating a data configuration of the online node management table 200. As shown in FIG. 6A, the record of the online node management table 200 includes items such as “node name”, “node identification code”, “node IP address”, “node port number”, “node state”, Includes "Online start date and time", "Offline (offline) date and time", and "Node administrator address". Based on the value of the item included in this record, the
図6(b)は、所有者パス情報テーブル201のデータ構成を示す図である。図6(b)に示すように、所有者パス情報テーブルのレコードは、項目として、「ノード名」、「所有ディレクトリ呼称」、「最大保存世代数」、「削除ファイル保存期間」、「公開フラグ」、「公開パスワード」、「公開タイプ」、「通知メール受領フラグ」、「Path内Syncフラグ」、「更新者ノード名」、「最終Upload(アップロード)時刻」および「削除フラグ」を含む。 FIG. 6B is a diagram illustrating a data configuration of the owner path information table 201. As shown in FIG. 6B, the record of the owner path information table includes, as items, “node name”, “owned directory name”, “maximum number of saved generations”, “deleted file retention period”, “public flag”. ”,“ Public password ”,“ Public type ”,“ Notification mail receipt flag ”,“ Sync flag in path ”,“ Updater node name ”,“ Last upload (upload) time ”, and“ Delete flag ”.
このレコードは、クライアントPC12の所有ディレクトリ情報テーブルのレコードが、制御サーバ10に登録される際に新規に作成される。したがって、「ノード名」は、クライアントPCのノード名に相当し、また、所有者パス情報テーブルのレコード中、「所有ディレクトリ呼称」、「最大保存世代数」、「削除ファイル保存期間」、「公開フラグ」、「公開パスワード」、「公開タイプ」、「通知メール受領フラグ」の値が、所有ディレクトリ情報のレコード中、対応する項目の値として格納される。
This record is newly created when a record in the owned directory information table of the
図7(a)は、実ファイル情報テーブル202のデータ構成を示す図である。図7(a)に示すように、実ファイル情報テーブル202のレコードは、項目として、「ノード名」、「所有ディレクトリ呼称」、「相対Path(パス)」、「実ファイル名」、「サーバファイル名」および「削除フラグ」を有する。「ノード名」は、クライアントPC12のノード名に対応し、「所有ディレクトリ呼称」は、所有ディレクトリ情報テーブルのレコード中、「所有ディレクトリ呼称」に対応する。「相対Path」は、ファイルが、クライアントPC12において、所有ディレクトリ内のサブディレクトリに格納されている場合の、所有ディレクトリからの相対パスを示す。また、「サーバファイル名」は、当該ファイルを制御サーバ10において格納する場合のファイル名である。この実ファイル情報テーブル202のレコードにより、クライアントPC12中のファイルを特定することができる。
FIG. 7A shows the data structure of the real file information table 202. As shown in FIG. 7A, the records of the real file information table 202 include items such as “node name”, “owned directory name”, “relative path (path)”, “real file name”, “server file”. “Name” and “delete flag”. “Node name” corresponds to the node name of the
図7(b)は、実ファイル世代情報テーブル203のデータ構成を示す図である。図7(b)に示すように、実ファイル世代情報テーブル203のレコードは、項目として、「サーバファイル名」、「登録日時」、「登録ディレクトリ」、「登録ノード名」、「格納ファイルサイズ」、「ファイルサイズ」、「ハッシュ値」、「圧縮後ハッシュ値」および「タイムスタンプ」を有する。「登録日時」は、ファイルが制御サーバ10の記憶装置に格納された日時に相当する。「登録ディレクトリ」は、制御サーバ10にファイルを格納するときのパスに相当する。制御サーバ10は、記憶装置に、格納ファイル情報テーブル(図示せず)を記憶しておく。この格納ファイル情報テーブルのレコードには、クライアントPC12からアップロードされたファイルを、制御サーバ10にて保存する、記憶装置内のディレクトリパスに相当する「ファイルバックアップ基準Path(パス)」が含まれる。登録ディレクトリは、格納ファイル情報テーブルの何れかのレコードの値と一致する。
FIG. 7B shows the data structure of the real file generation information table 203. As shown in FIG. 7B, the record of the real file generation information table 203 includes items such as “server file name”, “registration date / time”, “registration directory”, “registration node name”, and “storage file size”. , “File size”, “hash value”, “compressed hash value”, and “time stamp”. “Registration date and time” corresponds to the date and time when the file was stored in the storage device of the
まず、クライアントPC(例として、クライアントPC12−1を考える。)から、当該クライアントPC12−1が所有するファイルをアップロードし、或いは、制御サーバ10からファイルをダウンロードする際の手順について説明する。本実施の形態においては、クライアントPC12−1自身のファイルを、制御サーバ10にアップロードすることにより、制御サーバ10にバックアップすることができる。バックアップされたファイルを、クライアントPC12−1がダウンロードすることで、バックアップされたファイルを取得することができる。
First, a procedure for uploading a file owned by the client PC 12-1 or downloading a file from the
クライアントPC12−1のファイルを共有する場合には、クライアントPC12−1がファイルを制御サーバ10にアップロードし、そのファイルを利用する他のクライアントPC(例として、クライアントPC12−2を考える。)は、制御サーバ10から、ファイルをダウンロードする。また、他のクライアントPC12−2において一定の作業がなされ、更新されたファイルが、制御サーバ10にアップロードされ、その後、クライアントPC12−1に、更新が反映されるように、そのファイルがダウンロードされる場合もある。
When sharing the file of the client PC 12-1, the client PC 12-1 uploads the file to the
図8は、クライアントPC(ノード)と、制御サーバ(センターコントローラ)との間で、ファイルを比較した結果の態様を示す表である。以下、図8を参照して、比較結果の態様にしたがった処理について概説する。 FIG. 8 is a table showing a mode of a result of comparing files between the client PC (node) and the control server (center controller). Hereinafter, with reference to FIG. 8, the process according to the mode of the comparison result will be outlined.
なお、所有者とは、初期的に、自己のファイルを制御サーバ10にアップロードする者をいい、利用者とは、初期的に、他人がアップロードしたファイルをダウンロードして利用する者をいう。
The owner refers to a person who initially uploads his / her file to the
処理は、以下に述べる基本原則に従う。
(1)ディレクトリ内のファイルを更新してもよいノードが、センターコントローラよりも新しいファイルを持っている場合は、センターコントローラにアップロードする。
(2)ディレクトリ内のファイルを更新してもよいノードが、センターコントローラよりも 古いファイルを持っている場合は、センターコントローラから、ファイルをダウンロードして上書きする。ただし、ノード内のファイルがセンターセンターコントローラ内に履歴として存在しているかをチェックして、履歴にある場合には、センターコントローラからファイルをダウンロードして上書きする。その一方、履歴にない場合には、ノードのファイルの名称を変更(元のファイル名に追加の拡張子「.dif」を付けた名前)する。
Processing follows the basic principles described below.
(1) If a node that may update a file in the directory has a newer file than the center controller, upload the file to the center controller.
(2) If a node that may update a file in the directory has a file older than the center controller, download the file from the center controller and overwrite it. However, it is checked whether the file in the node exists as a history in the center center controller. If it is in the history, the file is downloaded from the center controller and overwritten. On the other hand, if it is not in the history, the file name of the node is changed (name with an additional extension “.dif” added to the original file name).
[ケース1:所有者、非公開、ファイル一致]
所有ディレクトリは、公開されていない。つまり、当該ファイルに関する所有ディレクトリ情報のレコード中、「公開フラグ」は「OFF」である。また、ノードのファイルとセンターコントローラのファイルとは一致する。
この場合、なんらアクションは生じない。
[Case 1: Owner, private, file match]
The owning directory is not disclosed. That is, the “public flag” is “OFF” in the record of owned directory information regarding the file. Also, the node file and the center controller file match.
In this case, no action occurs.
[ケース2:所有者、非公開、ノードのファイルが旧バージョン]
所有ディレクトリは公開されておらず、また、ノードのファイルとセンターコントローラのファイルとでは、ノードのものが古い。この場合、センターコントローラのファイルをノードにダウンロードする。
[Case 2: Owner, private, node file is old version]
The owned directory is not disclosed, and the node file and the center controller file are old in the node. In this case, the center controller file is downloaded to the node.
なお、通常の本ケースは発生しないが、ノードで古いファイルに手動で置き換えたりした場合や、所有ディレクトリを公開・更新可の状態から非公開に切り替えた時に、その変更がセンターコントローラに反映される前にディレクトリ利用者のクライアントPCで、変更されたファイルがアップロードされた場合などで、生じる可能性がある。 Although this normal case does not occur, the change is reflected in the center controller when the file is manually replaced with an old file on the node, or when the owning directory is switched from public / updateable to private. This may occur, for example, when a modified file has been previously uploaded on the directory user's client PC.
[ケース3:所有者、非公開、ノードのファイルが新バージョン]
所有ディレクトリは公開されておらず、かつ、ノードのファイルが新しい場合には、ノードPCのファイルをセンターコントローラにアップロードする。アップロードされたセンターコントローラでは、アップロードされたファイルを新世代のファイルとして格納する。
[Case 3: Owner, private, node file is new version]
If the owned directory is not disclosed and the node file is new, the node PC file is uploaded to the center controller. The uploaded center controller stores the uploaded file as a new generation file.
[ケース4:所有者、非公開、ノードにファイルなし]
所有ディレクトリは公開されておらず、かつ、ノードにファイルが無い場合には、ノードからのファイル同期(Sync)処理終了の通知が、センターコントローラに来たタイミングで、センターコントローラは、所有者パス情報テーブルの、そのファイルに対応するレコード中、「削除フラグ」を「ON」にする。
[Case 4: Owner, private, no file on node]
If the owning directory is not disclosed and there is no file in the node, the center controller will notify the owner controller of the owner path information when the file synchronization (Sync) processing end notification is received from the node. Set the “delete flag” to “ON” in the record corresponding to the file in the table.
[ケース5:所有者、非公開、センターコントローラにファイルなし]
所有ディレクトリは公開されておらず、かつ、センターコントローラにファイルがない場合には、ノードからセンターコントローラに、ファイルをアップロードする。受信したセンターコントローラはそのファイルを新規ファイルとして、記憶装置に記憶する。
[Case 5: Owner, private, no file in center controller]
If the owned directory is not disclosed and there is no file in the center controller, the file is uploaded from the node to the center controller. The received center controller stores the file as a new file in the storage device.
[ケース6:所有者、公開、更新不可、ファイル一致]
所有ディレクトリは公開されている。その一方、利用者による更新は不可、つまり、所有者パス情報テーブルにおいて、当該ファイルについてのレコード中、「公開タイプ」が、「更新不可」となっている。また、ノードのファイルと、センターコントローラのファイルとは一致する。このような場合には、なんらアクションは生じない。
[Case 6: Owner, release, non-updatable, file match]
The owning directory is public. On the other hand, updating by the user is not possible, that is, in the owner path information table, “public type” is “not updatable” in the record for the file. Also, the node file and the center controller file match. In such a case, no action occurs.
[ケース7:所有者、公開、更新不可、ノードのファイルが旧バージョン]
所有ディレクトリは公開され、かつ、利用者による更新は不可となっている。また、ノードのファイルと、センターコントローラのファイルとでは、ノードのものが古い。この場合、センターコントローラのファイルの更新者がノード所有者と同じか確認する。ここで、センターコントローラのファイルの更新者は、ノードからセンターコントローラに送信される電文中の「ノード名」により特定される。両者が同一であれば、ノードは、センターコントローラのファイルをダウンロードして上書きする。両者が異なる場合には、ノードのファイルの名称を変更した上で、センターコントローラからファイルをダウンロードする。
[Case 7: Owner, release, non-updatable, node file is old version]
The owned directory is open to the public and cannot be updated by the user. The node file and the center controller file are old in the node. In this case, it is confirmed whether the file updater of the center controller is the same as the node owner. Here, the updater of the file of the center controller is specified by the “node name” in the message transmitted from the node to the center controller. If both are the same, the node downloads the file of the center controller and overwrites it. If both are different, the file name of the node is changed and then the file is downloaded from the center controller.
[ケース8:所有者、公開、更新不可、ノードのファイルが新バージョン]
所有ディレクトリは公開され、かつ、利用者による更新は不可となっている。また、ノードのファイルとセンターコントローラのファイルとでは、ノードのものが新しい。この場合には、ノードのファイルをセンターコントローラにアップロードする。ファイルをアップロードされたセンターコントローラでは、アップロードされたファイルを新世代のファイルとして格納する。
[Case 8: Owner, release, update not possible, node file is new version]
The owned directory is open to the public and cannot be updated by the user. The node file and the center controller file are new to the node. In this case, the node file is uploaded to the center controller. The center controller to which the file is uploaded stores the uploaded file as a new generation file.
[ケース9:所有者、公開、更新不可、ノードにファイルなし]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、ノードにはファイルが存在しない。この場合には、ノードからファイル同期(Sync)処理終了の通知がセンターコントローラに来たタイミングで、センターコントローラは、所有者パス情報テーブルの、そのファイルに対応するレコード中、「削除フラグ」を「ON」にする。
[Case 9: Owner, release, non-updatable, no file on node]
The owning directory is open to the public and cannot be updated by the user. Also, no file exists on the node. In this case, at the timing when the file synchronization (Sync) processing end notification comes from the node to the center controller, the center controller sets the “delete flag” in the record corresponding to the file in the owner path information table. "ON".
[ケース10:所有者、公開、更新不可、センターコントローラにファイルなし]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、センターコントローラとでは、センターコントローラにファイルが存在しない。この場合には、ノードからセンターコントローラに、ファイルをアップロードする。受信したセンターコントローラはそのファイルを新規ファイルとして、記憶装置に記憶する。
[Case 10: Owner, release, non-updatable, no file in center controller]
The owning directory is open to the public and cannot be updated by the user. Further, with the center controller, no file exists in the center controller. In this case, the file is uploaded from the node to the center controller. The received center controller stores the file as a new file in the storage device.
[ケース11:所有者、公開、更新可、ファイル一致]
所有ディレクトリは公開され、かつ、利用者による更新は可、つまり、所有者パス情報テーブルにおいて、当該ファイルについてのレコード中、「公開タイプ」が「公開可」となっている。また、ノードのファイルとセンターコントローラのファイルとは一致する。このような場合には、なんらアクションは生じない。
[Case 11: Owner, release, update possible, file match]
The owned directory is made public and can be updated by the user. That is, in the owner path information table, the “public type” is “public” in the record for the file. Also, the node file and the center controller file match. In such a case, no action occurs.
[ケース12:所有者、公開、更新可、ノードのファイルが旧バージョン]
所有ディレクトリは公開され、利用者による更新は可となっている。また、ノードのファイルとセンターコントローラのファイルとでは、ノードのものが古い。この場合、センターコントローラのファイルの更新者がノード所有者と同じか確認する。両者が同一であれば、ノードは、センターコントローラのファイルをダウンロードして上書きする。両者が異なる場合には、ノードのファイルの名称を変更した上で、センターコントローラからファイルをダウンロードする。
[Case 12: Owner, release, update possible, node file is old version]
The owning directory is open to the public and can be updated by the user. The node file and the center controller file are old in the node. In this case, it is confirmed whether the file updater of the center controller is the same as the node owner. If both are the same, the node downloads the file of the center controller and overwrites it. If both are different, the file name of the node is changed and then the file is downloaded from the center controller.
[ケース13:所有者、公開、更新可、ノードのファイルが新バージョン]
所有ディレクトリは公開され、利用者による更新は可となっている。また、また、ノードのファイルとセンターコントローラのファイルとでは、ノードのものが新しい。この場合には、ノードのファイルをセンターコントローラにアップロードする。ファイルをアップロードされたセンターコントローラでは、アップロードされたファイルを新世代のファイルとして格納する。
[Case 13: Owner, release, update possible, node file is new version]
The owning directory is open to the public and can be updated by the user. Also, the node file and the center controller file are new to the node. In this case, the node file is uploaded to the center controller. The center controller to which the file is uploaded stores the uploaded file as a new generation file.
[ケース14:所有者、公開、更新可、ノードにファイルなし]
所有ディレクトリは公開され、利用者による更新は可となっている。また、ノードにはファイルが存在しない。この場合には、ノードからファイル同期(Sync)処理終了の通知がセンターコントローラに来たタイミングで、センターコントローラは、所有者パス情報テーブルの、そのファイルに対応するレコード中、「削除フラグ」を「ON」にする。
[Case 14: Owner, public, updateable, no file on node]
The owning directory is open to the public and can be updated by the user. Also, no file exists on the node. In this case, at the timing when the file synchronization (Sync) processing end notification comes from the node to the center controller, the center controller sets the “delete flag” in the record corresponding to the file in the owner path information table. "ON".
[ケース15:所有者、公開、更新可、センターコントローラにファイルなし]
所有ディレクトリは公開され、利用者による更新は可となっている。また、センターコントローラにファイルが存在しない。この場合には、ノードからセンターコントローラに、ファイルをアップロードする。受信したセンターコントローラはそのファイルを新規ファイルとして、記憶装置に記憶する。
[Case 15: Owner, release, update possible, no file in center controller]
The owning directory is open to the public and can be updated by the user. The file does not exist in the center controller. In this case, the file is uploaded from the node to the center controller. The received center controller stores the file as a new file in the storage device.
[ケース16:利用者、非公開]
所有ディレクトリは公開されていない。したがって、利用者からのファイル同期処理の開始時点で、センターコントローラからアクセスが拒否される。
[Case 16: User, undisclosed]
The owning directory is not disclosed. Therefore, access is denied from the center controller at the start of file synchronization processing from the user.
[ケース17:利用者、公開、更新不可、ファイル一致]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、利用者のノード(以下、「利用者ノード」と称する。)のファイルとセンターコントローラのファイルとは一致する。この場合、なんらアクションは生じない。
[Case 17: User, release, non-updatable, file match]
The owning directory is open to the public and cannot be updated by the user. Further, the file of the user node (hereinafter referred to as “user node”) and the file of the center controller match. In this case, no action occurs.
[ケース18:利用者、公開、更新不可、利用者ノードのファイルが旧バージョン]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、利用者ノードのファイルとセンターコントローラのファイルとでは、利用者ノードのものが古い。ここで、利用者ノードのファイルが、センターコントローラの履歴に存在する場合には、利用者ノードは、センターコントローラからファイルをダウンロードして上書きする。その一方、利用者ノードのファイルがセンターコントローラの履歴に存在しない場合には、利用者ノードは、ファイルの名称を変更した後、センターコントローラからファイルをダウンロードする。なお、ファイルがセンターコントローラの履歴に存在するとは、実ファイル世代情報テーブル中に、当該ファイルに関するレコードが存在することを意味する。
[Case 18: User, release, update not possible, user node file is old version]
The owning directory is open to the public and cannot be updated by the user. The user node file and the center controller file are old in the user node. Here, when the file of the user node exists in the history of the center controller, the user node downloads the file from the center controller and overwrites it. On the other hand, if the user node file does not exist in the history of the center controller, the user node changes the file name and then downloads the file from the center controller. Note that a file exists in the history of the center controller means that a record relating to the file exists in the actual file generation information table.
[ケース19:利用者、公開、更新不可、利用者ノードのファイルが新バージョン]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、利用者ノードのファイルとセンターコントローラのファイルとでは、利用者ノードのものが新しい。この場合、ファイルの更新は不可であるため、なんらアクションは生じない。
[Case 19: User, release, non-updatable, user node file is new version]
The owning directory is open to the public and cannot be updated by the user. Also, the user node file and the center controller file are new to the user node. In this case, no update occurs because the file cannot be updated.
[ケース20:利用者、公開、更新不可、利用者ノードにファイルなし]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、利用者ノードにはファイルが存在しない。この場合、利用者ノードは、センターコントローラからファイルをダウンロードする。
[Case 20: User, public, non-updatable, no file on user node]
The owning directory is open to the public and cannot be updated by the user. In addition, no file exists in the user node. In this case, the user node downloads a file from the center controller.
[ケース21:利用者、公開、更新不可、センターコントローラにファイルなし]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、センターコントローラにファイルが存在しない。この場合にも、ファイルの更新は不可であるため、なんらアクションは生じない。
[Case 21: User, public, non-updatable, no file in center controller]
The owning directory is open to the public and cannot be updated by the user. The file does not exist in the center controller. In this case as well, no action occurs because the file cannot be updated.
[ケース22:利用者、公開、更新可、ファイル一致]
所有ディレクトリは公開され、利用者による更新は可となっている。また、利用者ノードのファイルとセンターコントローラのファイルとは一致する。この場合には、なんらアクションは生じない。
[Case 22: User, release, update possible, file match]
The owning directory is open to the public and can be updated by the user. Also, the user node file and the center controller file match. In this case, no action occurs.
[ケース23:利用者、公開、更新可、利用者ノードのファイルが旧バージョン]
所有ディレクトリは公開され、利用者による更新は可となっている。また、利用者ノードのファイルとセンターコントローラのファイルとでは、利用者ノードのものが古い。この場合、利用者ノードのファイルがセンターコントローラの履歴に存在している場合には、利用者ノードは、センターコントローラからファイルをダウンロードし上書きする。その一方、利用者ノードのファイルがセンターコントローラの履歴に存在しない場合には、利用者ノードは、ファイルの名称を変更した後、センターコントローラからファイルをダウンロードする。
[Case 23: User, release, update possible, user node file is old version]
The owning directory is open to the public and can be updated by the user. The user node file and the center controller file are old in the user node. In this case, if the user node file exists in the history of the center controller, the user node downloads the file from the center controller and overwrites it. On the other hand, if the user node file does not exist in the history of the center controller, the user node changes the file name and then downloads the file from the center controller.
[ケース24:利用者、公開、更新可、利用者ノードのファイルが新バージョン]
所有ディレクトリは公開され、利用者による更新は可となっている。また、利用者ノードのファイルとセンターコントローラのファイルとでは、利用者ノードのファイルが新しい。この場合、利用者ノードのファイルを、センターコントローラにアップロードする。ファイルをアップロードされたセンターコントローラは、アップロードされたファイルを新世代のファイルとして格納する。また、センターコントローラは、メールサーバ16に、利用者ノードによるファイル更新を、所有者のノードにメールにて通知するよう指示する。
[Case 24: User, release, update possible, user node file is new version]
The owning directory is open to the public and can be updated by the user. Also, the user node file and the center controller file are new in the user node file. In this case, the user node file is uploaded to the center controller. The center controller to which the file is uploaded stores the uploaded file as a new generation file. The center controller instructs the
[ケース25:利用者、公開、更新可、利用者ノードにファイルなし]
所有ディレクトリは公開され、利用者による更新は可となっている。また、利用者ノードにファイルが存在しない。この場合には、利用者ノードは、センターコントローラからファイルをダウンロードする。
[Case 25: User, public, updateable, no file on user node]
The owning directory is open to the public and can be updated by the user. Also, the file does not exist on the user node. In this case, the user node downloads a file from the center controller.
[ケース26:利用者、公開、更新可、センターコントローラにファイルなし]
所有ディレクトリは公開され、利用者による更新は不可となっている。また、センターコントローラにファイルが存在しない。
[Case 26: User, release, update possible, no file in center controller]
The owning directory is open to the public and cannot be updated by the user. The file does not exist in the center controller.
この場合、利用者ノードがセンターコントローラにファイルをアップロードする。ファイルを受信したセンターコントローラは、そのファイルを新規ファイルとして登録する。或いは、所有者によって削除されたファイルが復活されたとして、センターコントローラがそのファイルを登録しても良い。 In this case, the user node uploads a file to the center controller. The center controller that has received the file registers the file as a new file. Alternatively, assuming that the file deleted by the owner is restored, the center controller may register the file.
次に、ファイル所有者のクライアントPC(ノード)と、制御サーバ(センターコントローラ)との間の実際の情報の授受およびそれぞれにおける処理について、より詳細に説明する。初期的には、クライアントPC12のファイル管理部34は、自己の情報(ノード名、ノード識別コード)などを制御サーバ10に送信する。制御サーバ10は、受信した情報に基づいて、オンラインノード管理テーブルのレコードを生成して、これをDB20に記憶しておく。
Next, actual information exchange between the file owner's client PC (node) and the control server (center controller) and processing in each will be described in more detail. Initially, the
また、ファイルの授受に先立って、クライアントPC12のファイル管理部34は、バックアップ或いは共有すべきファイルの情報を、所有ディレクトリ情報テーブル212のレコードとして用意する。このレコードの値が、ネットワーク14を介して制御サーバ10に送信されると、制御サーバ10のファイル管理部24は、このレコードの値に基づいて、所有者パス情報テーブル201のレコードを作成して、所有者パス情報テーブル201に格納する。
Prior to file transfer, the
また、ファイル所有者のファイルを利用したい者(利用者)のクライアントPC12においては、ファイル管理部34は、利用ディレクトリ情報テーブル213のレコードを用意しておく。たとえば、クライアントPC12が制御サーバ10にアクセスして、所有者パス情報テーブルを参照し、利用したいファイルを指定して、そのレコードの情報を受信することにより、利用ディレクトリ情報テーブル213のレコードを作成することができる。
Further, in the
次に、図9を参照して、ファイル所有者のクライアントPC12におけるファイルのダウンロードおよびアップロードに関する同期(Sync)処理について説明する。
Next, with reference to FIG. 9, a synchronization (Sync) process related to file download and upload in the client owner's
クライアントPC12のファイル管理部34は、制御サーバ10との間の通信を確立した後(ステップ901)、所有ディレクトリ内の各ファイルについて、そのファイルの基本属性情報を制御サーバ10に送信する(ステップ902)。ファイル基本属性情報には、以下の項目の値が含まれる。
・ファイル名
・該当ファイルの絶対Pathから所有ディレクトリを基準とした相対Path
・ファイルのタイムスタンプ
・ファイルのMD5(Message Digest 5)ハッシュ値
・ファイルサイズ(バイト数)
After establishing communication with the control server 10 (step 901), the
-File name-Relative path relative to the owning directory from the absolute path of the file
-Time stamp of the file-MD5 (Message Digest 5) hash value of the file-File size (number of bytes)
制御サーバ10のファイル管理部24は、クライアントPC12−1から送信されたファイル基本情報の内容と、DB20に格納されたテーブル(たとえば、所有者パス情報テーブル、実ファイル世代情報テーブル)中のレコードの値とを比較し、前述した何れのケースに該当するかを判断する(ステップ903)。ここでは、ファイルの一致、ファイルの更新者の一致などについて以下の態様が考えられる。
(1)ファイルの一致(クライアントPCの更新者および制御サーバに記録されている更新者も一致)。
(2)ファイルの一致(ただし、更新者は不一致)。
(3)クライアントPC(ノード)のファイルのバージョンが古い(クライアントPCの更新者および制御サーバに記録されている更新者は一致)。
(4)クライアントPCのファイルのバージョンが古い(更新者は不一致)。
(5)クライアントPCのファイルのバージョンが新しい(クライアントPCの更新者および制御サーバに記録されている更新者は一致)。
(6)クライアントPCのファイルのバージョンが新しい(更新者は不一致)。
(7)ファイルが制御サーバに存在しない。
The
(1) File matching (the updater of the client PC and the updater recorded in the control server also match).
(2) File match (however, the updater does not match).
(3) The file version of the client PC (node) is old (the updater of the client PC matches the updater recorded in the control server).
(4) The file version of the client PC is old (the updater does not match).
(5) The file version of the client PC is new (the updater of the client PC matches the updater recorded in the control server).
(6) The file version of the client PC is new (the updater does not match).
(7) The file does not exist on the control server.
更新者の一致については、クライアントPC12と制御サーバ10との間で通信を確立した際に、クライアントPC12から制御サーバ10に送られる電文中のノード名と、所有者パス情報テーブル中のノード名とを比較することにより判断できる。
Regarding the updater match, when communication is established between the
また、ファイル(の内容)の一致は、以下のように判断される。 In addition, the file (contents) match is determined as follows.
ファイルが格納されている相対Path、ファイル名(実ファイル情報テーブル:図7(a)参照)、そのファイルのタイムスタンプおよび双方のファイルのMD5ハッシュ値(実ファイル世代情報テーブル:図7(b)参照)が比較される。 Relative path, file name (real file information table: see FIG. 7A), time stamp of the file, and MD5 hash value of both files (real file generation information table: FIG. 7B) Are compared).
同一のファイルであることを示す判定基準は、同一相対Pathで、かつ、同一ハッシュ値を持つファイルであることとする。すなわち、ファイル名、タイムスタンプが異なっていてもハッシュ値が同じであれば、双方のファイル内容は同じと識別する。ハッシュ値が異なる場合、双方のファイルのタイムスタンプを比較しどちらが新しいものかを判定する。 Assume that the determination criteria indicating the same file are files having the same relative path and the same hash value. That is, if the hash value is the same even if the file name and the time stamp are different, both file contents are identified as the same. If the hash values are different, the time stamps of both files are compared to determine which is newer.
制御サーバ10の条件判断部32は、判断結果が上記(1)〜(7)の何れの態様であったかを、クライアントPC12に返信する(ステップ904)。
The
クライアントPC12の条件判断部32は、判断結果を受信し、その結果に基づいて、ファイルをアップロードすべき場合には(ステップ905でイエス(Yes))、ファイル管理部34は、ファイルを制御サーバ10に対してアップロードする(ステップ906)。その一方、ファイルをダウンロードすべき場合には(ステップ907でイエス(Yes))、ファイル管理部34は、制御サーバ10に対して、ファイルのダウンロードを求める(ステップ908)。ダウンロード要求に応じて、制御サーバ10からファイルがダウンロードされる(ステップ909)
ファイルのアップロード処理(ステップ906)についてより詳細に説明する。クライアントPC12のファイル管理部34は、次の手順で自己の記憶装置30に記憶されたファイルを加工した上で、制御サーバ10のDB20にアップロードする。図10(a)に示すように、クライアントPC12は、ファイル基本属性情報を再度収集する(ステップ1001)。これは、先にステップ901において制御サーバ10に送信したものを利用すればよい。次いで、ファイルの圧縮後の属性情報を収集する(ステップ1002)。より詳細には、ファイルを、圧縮ツールを利用して圧縮し(ステップ1003)、圧縮後のファイルのサイズ(バイト数)を算出し(ステップ1004)、かつ、圧縮後のファイルのMD5ハッシュ値を算出する(ステップ1005)。その後、ファイル基本属性情報、圧縮後の属性情報および圧縮されたファイルを、制御サーバ10に送信する(ステップ1005)。
The
The file upload process (step 906) will be described in more detail. The
制御サーバ10は、図10(b)に示すように、ファイル等を受信すると(ステップ1011)、DB20中、ファイル基本属性情報中の相対パスにしたがった位置にファイルを格納するとともに(ステップ1012)、ファイル基本属性情報および圧縮後の属性情報にしたがって、実ファイル世代情報テーブル203中の該当レコードの値を更新する(ステップ1013)。その後、制御サーバ10は、ファイルのアップロードを通知する電文を、クライアントPC12に送信する(ステップ1014)。
As shown in FIG. 10B, when the
クライアントPC12が、制御サーバ10からファイルをダウンロードする際には、ダウンロードを要求する電文(ステップ908参照)中に、自己の「ノード名」、「ノード識別番号」などのほか、「相対Path」、「ファイル名」、ダウンロードするファイルの「タイムスタンプ」および「ハッシュ値」を含ませる。これにより、制御サーバ10のファイル管理部24は、ダウンロードすべきファイルを特定することが可能となる。
When the
次に、ファイル利用者のクライアントPC12におけるファイルのダウンロードおよびアップロードに関する同期(Sync)処理について説明する。この処理も基本的には、図9を参照して説明したファイル所有者のクライアントPCにおける同期処理と類似する。
Next, a synchronization (Sync) process related to file download and upload in the file user's
ファイル利用者のクライアントPC12のファイル管理部34は、制御サーバ10との間の通信を確立した後、利用ディレクトリ内の各ファイルについて、そのファイルの基本属性情報を制御サーバ10に送信する。
ファイル基本属性情報には、以下の項目の値が含まれる。
・ファイル名
・該当ファイルの絶対Pathから所有ディレクトリを基準とした相対Path
・ファイルのタイムスタンプ
・ファイルのMD5(Message Digest 5)ハッシュ値
・ファイルサイズ(バイト数)
After establishing communication with the
The file basic attribute information includes the values of the following items.
-File name-Relative path relative to the owning directory from the absolute path of the file
-Time stamp of the file-MD5 (Message Digest 5) hash value of the file-File size (number of bytes)
制御サーバ10のファイル管理部24は、クライアントPC12−1から送信されたファイル基本情報の内容などと、DB20に格納されたテーブル中のレコードの内容とを比較し、前述した何れのケースに該当するかを判断する(ステップ903)。ここでは、ファイルの一致などについて以下の態様が考えられる。
(1)ファイルの一致
(2)クライアントPC(ノード)のファイルのバージョンが古い(実ファイル世代情報テーブルには、ファイルに関するレコードが存在する)。
(3)クライアントPC(ノード)のファイルのバージョンが古い(実ファイル世代情報テーブルには、ファイルに関するレコードが存在しない)。
(4)クライアントPC(ノード)のファイルのバージョンが新しい(所有者パス情報テーブルにおいて、ファイルに関するレコード中、ファイル更新は可能となっている)。
(5)クライアントPC(ノード)のファイルのバージョンが新しい(ファイル更新は不可となっている)。
(6)ファイルが制御サーバに存在しない。
The
(1) File match (2) The file version of the client PC (node) is old (a record relating to the file exists in the real file generation information table).
(3) The file version of the client PC (node) is old (the record for the file does not exist in the actual file generation information table).
(4) The file version of the client PC (node) is new (in the owner path information table, the file can be updated in the record related to the file).
(5) The file version of the client PC (node) is new (file update is disabled).
(6) The file does not exist on the control server.
制御サーバ10の条件判断部32は、判断結果が上記(1)〜(6)の何れの態様であったかを、クライアントPC12に返信する。クライアントPC12の条件判断部32は、判断結果を受信し、その結果に基づいて、ファイルをアップロードすべき場合には、ファイル管理部34は、ファイルを制御サーバ10に対してアップロードする。その一方、ファイルをダウンロードすべき場合には、ファイル管理部34は、制御サーバ10に対して、ファイルのダウンロードを求める。ダウンロード要求に応じて、制御サーバ10からファイルがダウンロードされる。
The
なお、上記例においては、利用者のクライアントPCは、制御サーバ10からファイルをダウンロードするように構成しているが、これに限定されるものではない。たとえば、制御サーバ10にダウンロードを要求する前に、利用者のクライアントPCが、所有者のクライアントPCに対して、ダウンロード要求の電文を送信し、可能な場合には、所有者のクライアントPCからファイルをダウンロードしても良い。ここで、利用者のクライアントPCから所有者のクライアントPCに対して送信されるダウンロード要求の電文には、ファイルを特定するため、タイムスタンプおよびハッシュ値を含める。所有者のクライアントPCは、自己のファイルが、要求されたファイルと異なれば、利用者クライアントPCからのダウンロード要求を拒否すればよい。この場合には、利用者のクライアントPCは、制御サーバ10に対して、ファイルのダウンロードを求めることになる。
In the above example, the client PC of the user is configured to download a file from the
次に、本実施の形態の適用事例について説明する。まず、制御サーバ10を、クライアントPC12のファイルバックアップ装置として使用する場合について説明する。図11に示すように、クライアントPC12において、あるファイル(クライアントPC12がファイル所有者となっているファイル)が更新されたと考える(ステップ1101)。クライアントPC12のファイル管理部34が、更新されたファイルのファイル基本属性情報を制御サーバ12に送信する(ステップ1102)。制御サーバ10の条件判断部22は、ファイル基本情報の内容と、DB20に格納されたテーブル中のレコードの値とを比較して、先に説明した(1)〜(7)の何れの態様に該当するかを判断する(ステップ1103)。この例では、
(5)クライアントPCのファイルのバージョンが新しい(クライアントPCの更新者および制御サーバに記録されている更新者は一致)。
に該当すると判断される。判断結果は、クライアントPC12に送信され(ステップ11004)。クライアントPC12の条件判断部32は、ファイルをアップロードすべきと判断し、ファイル管理部34が、当該ファイルを制御サーバ10にアップロードする(ステップ1105)。制御サーバ10のファイル管理部24は、アップロードされたファイルを、DB20中の所定の位置に格納するとともに、実ファイル世代情報テーブルのレコードを更新する(ステップ1106)。
Next, application examples of the present embodiment will be described. First, the case where the
(5) The file version of the client PC is new (the updater of the client PC matches the updater recorded in the control server).
It is judged to fall under. The determination result is transmitted to the client PC 12 (step 11004). The
次に、チームで作業をする場合について説明する。あるクライアントPC(たとえば、クライアントPC12−1)がライブラリアンとして機能し、他のクライアントPC(たとえば、クライアントPC12−2、12−3、・・・)が、チームのメンバーとして機能すると考える。 Next, the case of working as a team will be described. It is assumed that one client PC (for example, client PC 12-1) functions as a librarian and other client PCs (for example, client PCs 12-2, 12-3,...) Function as team members.
システム設計など、複数人で1つのプロジェクトに関する仕事をする場合などでは、いつだれがどのファイルを作成・変更したかの記録と作成・変更タイミングの衆知徹底がプロジェクト推進上重要なポイントとなる。このような場合は本機構の補助手段としてE-Mailのメーリングリスト機能をもったメールサーバ16を組み合わせることにより、ファイルを共有化した作業を実現できる。
When working on a project with multiple people, such as system design, it is important to keep track of who created and changed which files and who knows when to create and change them. In such a case, a file sharing operation can be realized by combining the
まず、ドキュメント全体を管理する立場の人(ライブラリアン)が所有ディレクトリを定義して、ライブラリアンのクライアントPC12−1が、所有ディレクトリ情報テーブルのレコードを、制御サーバ10に登録する。これにより、制御サーバ10には、必要な所有者Path情報テーブルのレコードが生成される。ここで、メールサーバ16を介して、プロジェクトのメンバーのクライアントPCにメールが通知できるようなメーリングリストを設定しておく。
First, a person (librarian) in charge of managing the entire document defines an owned directory, and the client PC 12-1 of the librarian registers a record of the owned directory information table in the
たとえば、プロジェクトのメンバーに、即時通知或いは1日1回のまとめ送りの何れかのメーリングリストに登録することにより、実際の作業に携わるプロジェクトのメンバーは他のメンバーが作成・修正したファイルを自動的に、自己のクライアントPCのローカルディスクに保管することができ、かつ、変更の都度、変更通知メールを受取ることができる。 For example, by registering a project member with a mailing list for immediate notification or once-a-day batch sending, project members who are engaged in actual work automatically create and modify files created by other members. It can be stored in the local disk of its own client PC, and a change notification mail can be received at every change.
また、実際の作業には携わらないが、全体の動向を知る必要のある人(例えばプロジェクトリーダー/サブリーダー)は、前日行われた変更内容をメールで通知を受け、その成果物である各種ファイルが、自己のクライアントPCのローカルディスクに既に保管されているというような状況を作り出す事が可能となる。 Also, those who are not involved in the actual work but need to know the overall trends (for example, project leaders / subleaders) are notified by email of the changes made the previous day, and the various files that are the deliverables. However, it is possible to create a situation where it is already stored in the local disk of its own client PC.
また、プロジェクトが一区切りついたとき(例えば、製品の1次リリース向けの作業完了時)には、ライブラリアンがその所有ディレクトリを公開・更新可から公開・更新不可と属性変更することにより、ドキュメントの凍結を行う事が簡単にできる。 In addition, when a project is separated (for example, when the work for the first release of the product is completed), the librarian changes the attribute of the owned directory from public / updateable to public / non-updateable, so that the document Freezing can be done easily.
また、そのリリース時点のファイルを固定・保管する為に、ライブラリアンが利用ディレクトリを定義し、一旦固定したファイルをローカルディスクに、ダウンロードし、その後、改めてそのローカルディスクのディレクトリを先に登録した、所有ディレクトリとは別の所有ディレクトリー(公開・更新不可)として定義する事により、特定時点のファイルを永久に保管する事が可能である。その後、元の所有ディレクトリを公開・更新可と属性変更することにより、次のリリースに向けた変更作業が継続できるようになる。 In addition, in order to fix and store the file at the time of release, the librarian defines the usage directory, downloads the fixed file to the local disk, and then registers the directory on the local disk first. By defining it as an own directory (public / unupdateable) different from the own directory, it is possible to store a file at a specific point in time. Then, by changing the attribute of the original owned directory to be public / updatable, the change work for the next release can be continued.
たとえば、図12に示すように、ライブラリアンのクライアントPC12−1は、共有するファイルの所有ディレクトリ情報テーブルのレコードを、制御サーバ10に送信する(ステップ1201)。ここで、レコード中、「公開フラグ」は「ON」、「公開タイプ」は「更新可」としておく。送信されたレコードは、制御サーバ10において、所有者パス情報テーブルのレコードとして登録される(ステップ1202)。また、クライアントPC12−1は、メールサーバ16に、メーリングリスト用の各メンバーのMailアドレスを登録する(ステップ1203)。 For example, as shown in FIG. 12, the librarian's client PC 12-1 transmits a record of the ownership directory information table of the file to be shared to the control server 10 (step 1201). Here, in the record, “public flag” is set to “ON”, and “public type” is set to “updateable”. The transmitted record is registered as a record of the owner path information table in the control server 10 (step 1202). Further, the client PC 12-1 registers the mail address of each member for the mailing list in the mail server 16 (step 1203).
その一方、プロジェクトのメンバーのクライアントPC12−2、12−3、・・・においては、制御サーバ10の所有者パス情報テーブルのレコードを参照して、クライアントPCの記憶装置中に、利用ディレクトリ情報のレコードを作成しておく。
On the other hand, the client PCs 12-2, 12-3,... Of the project members refer to the record of the owner path information table of the
図13に示すように、たとえば、プロジェクトのメンバーのクライアントPC12−2は、利用ディレクトリ情報テーブルのレコードにて特定されるディレクトリのファイルを作成、更新する(ステップ1301)。ファイルが作成、更新されると、クライアントPC12−2のファイル管理部34が、ファイルの基本属性情報を、制御サーバ10に送信する(ステップ1302)。
As shown in FIG. 13, for example, the client PC 12-2 of the project member creates and updates a file in the directory specified by the record in the usage directory information table (step 1301). When the file is created and updated, the
制御サーバ10の条件判断部22は、ファイルの基本属性情報と、当該ファイルの実ファイル世代情報の該当レコードの情報とを比較して(ステップ1303)、その判断結果を、各クライアントPC12−1、12−3、・・・に送信する(ステップ1304)。また、制御サーバ10は、メールサーバ16に対して、メーリングリストを利用したMail送信を依頼する(ステップ1305)。クライアントPC12−1は、判断結果に基づいて、作成、更新にかかるファイルを制御サーバ10にアップロードする。これにより、制御サーバ10は、当該ファイルに関して、実ファイル世代情報テーブルの該当レコードを更新する。
The
各PC12−1、12−3、・・・の条件判断部22は、ファイルのダウンロードをすべきと判断し、制御サーバ10に対してファイルのダウンロードを要求する。これにより、メンバーがクライアントPC12−2を利用して作成、変更したファイルを取得することができる。
The
次に、ファイルの凍結作業と次のフェーズの作業開始について、図14を参照して、説明する。まず、ライブラリアンのクライアントPC12−1が、メールサーバ16に対して、変更作業停止の通知を、メーリングリストを利用してMail送信するように要求する(ステップ1401)。次いで、クライアントPC12−1は、所有ディレクトリ情報テーブルの該当ファイルのレコードにおいて、「公開タイプ」を「更新可」から「更新不可」に変更する(ステップ1402)。
Next, the file freezing operation and the operation start of the next phase will be described with reference to FIG. First, the librarian's client PC 12-1 requests the
その後、クライアントPC12−1は、凍結ファイル格納用のディレクトリを、記憶装置30中に新規作成し、そのディレクトリを、利用ディレクトリとして登録する(ステップ1403)。つまり、利用ディレクトリ情報テーブルのレコードを作成する。この基本属性情報を制御サーバ10に送信する結果、制御サーバ10から、各ファイルの最新バージョンのものが全て、クライアントPC12−1にダウンロードされる(ステップ1404)。
Thereafter, the client PC 12-1 newly creates a directory for storing frozen files in the
ダウンロード終了後、クライアントPC12−1において、利用者ディレクトリ情報テーブルのレコードを削除し、改めて、そのローカルディレクトリについて、所有ディレクトリとして定義する(ステップ1405)。つまり、そのローカルディレクトリの情報を、所有ディレクトリ情報テーグルのレコードとして格納する。ここでは、「公開タイプ」を「更新不可」としておく。これにより、このローカルディレクトリのファイルは、別途、制御サーバ10で管理されることになる。
After the download is completed, the client PC 12-1 deletes the record in the user directory information table and defines the local directory as the owning directory again (step 1405). That is, the information of the local directory is stored as a record of the owned directory information tag. Here, the “public type” is set to “unupdateable”. As a result, the files in this local directory are separately managed by the
その後、当初のディレクトリの「公開タイプ」を、「更新不可」から「更新可」に変更することで、利用者によるファイルの更新が可能となる(ステップ1406)。クライアントPC12−1は、メールサーバ16に対して、変更作業再開の通知を、メーリングリストを利用してMail送信するように要求する(ステップ1407)。
Thereafter, the user can update the file by changing the “public type” of the original directory from “not updatable” to “updatable” (step 1406). The client PC 12-1 requests the
上記クライアントPC12−1の処理は、上記シーケンスにしたがって自動的に実行することができる。 The processing of the client PC 12-1 can be automatically executed according to the sequence.
上述したクライアントPC12−1の処理の結果、制御サーバ10のDB20には、各メンバーが継続して作業するための所有ディレクトリ(もともと作業に使用していたディレクトリ)と、リリースに伴って固定されたファイルが格納されている変更不可の所有ディレクトリの2つが存在することになる。
As a result of the above-described processing of the client PC 12-1, the
本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.
10 制御サーバ
12 クライアントPC
14 ネットワーク
16 メールサーバ
20 DB
22 条件判断部(センター条件判断部)
24 ファイル管理部(センターファイル管理部)
30 記憶装置
32 条件判断部(ローカル条件判断部)
34 ファイル管理部(ローカルファイル管理部)
10
14
22 Condition Judgment Unit (Center Condition Judgment Unit)
24 File Management Department (Center File Management Department)
30
34 File Manager (Local File Manager)
Claims (9)
前記ファイルのネットワークを介したアップロードおよびダウンロードを管理するローカルファイル管理手段を有するクライアントコンピュータと、
ネットワークを介して送付された所有ディレクトリ情報テーブルのレコードに基づき生成された、前記ファイル所有者のノード名、当該クライアントコンピュータのファイルを格納するディレクトリ名、および、アップデート時刻を含むレコードを格納する所有者パス情報テーブル、
ファイル所有者のノード名、ファイル名、当該ファイルが格納されたディレクトリパスを含むレコードを有する実ファイル情報テーブル、
ファイル名、ファイルのタイムスタンプ、ファイルの内容を示す情報を含むレコードを有する実ファイル世代情報テーブル、
前記ローカル管理手段からネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するセンター条件判断手段、並びに、
前記クライアントコンピュータからの要求にしたがって、アップロードされたファイルを、記憶装置中、所定のディレクトリパスに格納し、また、所定のディレクトリパスに格納されたファイルを、前記クライアントコンピュータにダウンロードするセンターファイル管理手段を有する制御サーバとを備え、
前記クライアントコンピュータが、前記判断結果にしたがって、前記ファイルのダウンロード或いはアップロードを、前記制御サーバに対して要求するローカル条件判断手段を有することを特徴とするファイル共有制御システム。 A directory path in which a file owned by itself is stored, an owned directory information table having a record including a directory name, and
A client computer having local file management means for managing uploading and downloading of the file via a network;
The owner that stores the record including the node name of the file owner, the directory name that stores the file of the client computer, and the update time generated based on the record of the owned directory information table sent via the network Path information table,
An actual file information table having a record including a node name of the file owner, a file name, and a directory path in which the file is stored;
Real file generation information table having a record including file name, file time stamp, information indicating the contents of the file,
Based on file basic attribute information including information indicating the file name, directory path, file time stamp, and file contents sent from the local management unit via the network, the real file information table and the real file generation Referring to the information table, determining a download or upload condition relating to the file, and sending a determination result to the client computer;
Center file management means for storing the uploaded file in a predetermined directory path in the storage device and downloading the file stored in the predetermined directory path to the client computer in accordance with a request from the client computer And a control server having
A file sharing control system, wherein the client computer has local condition determination means for requesting the control server to download or upload the file according to the determination result.
前記ローカルファイル管理手段が、利用ディレクトリ情報テーブルに基づいて、利用するファイルのファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本情報を送信し、
前記制御サーバのセンター条件判断手段が、ローカル管理手段からネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブル、および、実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を送信し、
前記クライアントコンピュータのローカル条件判断手段が、前記判断結果にしたがって、前記ファイルのダウンロード或いはアップロードを、前記制御サーバに対して要求することを特徴とする請求項1に記載のファイル共有制御システム。 Furthermore, the client computer has a usage directory information table having a record including the node name and directory name of another client computer that owns the file to be used,
The local file management means transmits file basic information including information indicating the file name, directory path, file time stamp, and file content of the file to be used based on the usage directory information table,
Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file content sent from the local management means via the network by the center condition determining means of the control server. Refer to the real file information table and the real file generation information table, determine the download or upload conditions for the file, and send the determination result,
2. The file sharing control system according to claim 1, wherein local condition determination means of the client computer requests the control server to download or upload the file according to the determination result.
前記ローカルファイル管理手段が、利用ディレクトリ情報テーブルに基づいて、利用するファイルのファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本情報を送信し、
前記制御サーバのセンター条件判断手段が、ローカル管理手段からネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を送信し、
前記クライアントコンピュータのローカル条件判断手段が、前記判断結果にしたがって、前記ファイルのダウンロード或いはアップロードを、前記ファイルを所有するクライアントコンピュータに対して要求することを特徴とする請求項1に記載のファイル共有制御システム。 Furthermore, the client computer has a usage directory information table having a record including the node name and directory name of another client computer that owns the file to be used,
The local file management means transmits file basic information including information indicating the file name, directory path, file time stamp, and file content of the file to be used based on the usage directory information table,
Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file content sent from the local management means via the network by the center condition determining means of the control server. Determine the download or upload conditions for the file, send the determination results,
2. The file sharing control according to claim 1, wherein local condition determination means of the client computer requests the client computer that owns the file to download or upload the file according to the determination result. system.
前記所有者パス情報テーブルが、前記公開フラグおよび公開タイプ情報を含み、
前記センター条件判断手段が、前記所有者パス情報テーブルの、公開フラグおよび公開タイプ情報を参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断することを特徴とする請求項2または3に記載のファイル共有制御システム。 The record of the owned directory table includes a disclosure flag indicating whether or not the file can be disclosed, and disclosure type information indicating whether or not the file can be updated when the disclosure is possible.
The owner path information table includes the disclosure flag and disclosure type information;
The said center condition judgment means judges the conditions of the download or upload regarding the said file with reference to the publication flag and publication type information of the said owner path information table. File sharing control system.
ファイル所有者のノード名、ファイル名、当該ファイルが格納されたディレクトリパスを含むレコードを有する実ファイル情報テーブル、
ファイル名、ファイルのタイムスタンプ、ファイルの内容を示す情報を含むレコードを有する実ファイル世代情報テーブル、
ネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するセンター条件判断手段、並びに、
前記クライアントコンピュータからの要求にしたがって、アップロードされたファイルを、記憶装置中、所定のディレクトリパスに格納し、また、所定のディレクトリパスに格納されたファイルを、前記クライアントコンピュータにダウンロードするセンターファイル管理手段を備え、
前記クライアントコンピュータから前記判断結果にしたがった前記ファイルのダウンロード或いはアップロードの要求に応じて、前記センターファイル管理手段が、前記ファイルをダウンロード或いはアップロードすることを特徴とするファイル共有制御サーバ。 Client generated by the client computer and transmitted via the network on the basis of the owning directory information table having a record including a directory path and directory name in which the client computer has a file owned by the client computer. An owner path information table for storing a record including a computer name, a directory name for storing a file of the client computer, and an update time;
An actual file information table having a record including a node name of the file owner, a file name, and a directory path in which the file is stored;
Real file generation information table having a record including file name, file time stamp, information indicating the contents of the file,
Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file content sent via the network, the real file information table and the real file generation information table are referred to. Center condition determining means for determining a download or upload condition relating to the file, and transmitting the determination result to the client computer, and
Center file management means for storing the uploaded file in a predetermined directory path in the storage device and downloading the file stored in the predetermined directory path to the client computer in accordance with a request from the client computer With
The file sharing control server, wherein the center file management means downloads or uploads the file in response to a request for downloading or uploading the file according to the determination result from the client computer.
ネットワークを介して送付された、ファイル名、ディレクトリパス、ファイルのタイムスタンプ、および、ファイルの内容を示す情報を含むファイル基本属性情報に基づき、前記実ファイル情報テーブルおよび実ファイル世代情報テーブルを参照して、前記ファイルに関するダウンロード或いはアップロードの条件を判断し、判断結果を、前記クライアントコンピュータに送信するセンター条件判断手段、並びに、
前記クライアントコンピュータからの要求にしたがって、アップロードされたファイルを、記憶装置中、所定のディレクトリパスに格納し、また、所定のディレクトリパスに格納されたファイルを、前記クライアントコンピュータにダウンロードするセンターファイル管理手段であって、クライアントコンピュータから前記判断結果にしたがった前記ファイルのダウンロード或いはアップロードの要求に応じて、前記ファイルをダウンロード或いはアップロードするセンターファイル管理手段として機能させることを特徴とするファイル共有制御プログラム。 Client generated by the client computer and transmitted via the network on the basis of the owning directory information table having a record including a directory path and directory name in which the client computer has a file owned by the client computer. The owner name information table that stores the record including the computer name, the file name of the client computer, and the update time, the node name of the file owner, the file name, and the directory path where the file is stored A computer having a real file information table having a record including a file name, a file time stamp, and a real file generation information table having a record including information indicating the contents of the file. Ri a readable program, said computer,
Based on the file basic attribute information including information indicating the file name, directory path, file time stamp, and file content sent via the network, the real file information table and the real file generation information table are referred to. Center condition determining means for determining a download or upload condition relating to the file, and transmitting the determination result to the client computer, and
Center file management means for storing the uploaded file in a predetermined directory path in the storage device and downloading the file stored in the predetermined directory path to the client computer in accordance with a request from the client computer A file sharing control program that functions as center file management means for downloading or uploading the file in response to a request for downloading or uploading the file according to the determination result from a client computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004102454A JP4497983B2 (en) | 2004-03-31 | 2004-03-31 | File sharing control system, sharing control server, and sharing control program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004102454A JP4497983B2 (en) | 2004-03-31 | 2004-03-31 | File sharing control system, sharing control server, and sharing control program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005292868A true JP2005292868A (en) | 2005-10-20 |
| JP4497983B2 JP4497983B2 (en) | 2010-07-07 |
Family
ID=35325776
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004102454A Expired - Fee Related JP4497983B2 (en) | 2004-03-31 | 2004-03-31 | File sharing control system, sharing control server, and sharing control program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4497983B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007293619A (en) * | 2006-04-25 | 2007-11-08 | Canon Software Inc | Server device, information sharing system, program, and recording medium |
| WO2008010473A1 (en) * | 2006-07-19 | 2008-01-24 | Panasonic Corporation | Distributed file managing system |
| JP2010049647A (en) * | 2008-08-25 | 2010-03-04 | Nec Corp | Client server system, client computer, server, file management method, and program therefor |
| JP2016530656A (en) * | 2013-12-17 | 2016-09-29 | ヒタチ データ システムズ コーポレーションHitachi Data Systems Corporation | Distributed disaster recovery file synchronization server system |
| JP2018509688A (en) * | 2015-01-23 | 2018-04-05 | エースキャン コーポレイション,リミテッド | File sharing system and method |
| JP2019145142A (en) * | 2012-09-22 | 2019-08-29 | グーグル エルエルシー | Subscription-notification mechanisms for synchronization of distributed states |
| CN114647620A (en) * | 2018-09-10 | 2022-06-21 | 创新先进技术有限公司 | File uploading method, device, equipment, program product and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000339211A (en) * | 1999-05-25 | 2000-12-08 | Casio Comput Co Ltd | File processing device, file processing system, and storage medium |
| JP2003296215A (en) * | 2002-03-29 | 2003-10-17 | Sony Corp | File management system and file management method |
| JP2003316788A (en) * | 2002-04-24 | 2003-11-07 | Aisan Technology Co Ltd | Material providing method and server system |
| JP2004078802A (en) * | 2002-08-22 | 2004-03-11 | Matsushita Electric Ind Co Ltd | Digital image storage device, digital image storage method, recording medium, and program |
-
2004
- 2004-03-31 JP JP2004102454A patent/JP4497983B2/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000339211A (en) * | 1999-05-25 | 2000-12-08 | Casio Comput Co Ltd | File processing device, file processing system, and storage medium |
| JP2003296215A (en) * | 2002-03-29 | 2003-10-17 | Sony Corp | File management system and file management method |
| JP2003316788A (en) * | 2002-04-24 | 2003-11-07 | Aisan Technology Co Ltd | Material providing method and server system |
| JP2004078802A (en) * | 2002-08-22 | 2004-03-11 | Matsushita Electric Ind Co Ltd | Digital image storage device, digital image storage method, recording medium, and program |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007293619A (en) * | 2006-04-25 | 2007-11-08 | Canon Software Inc | Server device, information sharing system, program, and recording medium |
| WO2008010473A1 (en) * | 2006-07-19 | 2008-01-24 | Panasonic Corporation | Distributed file managing system |
| JP2009259265A (en) * | 2006-07-19 | 2009-11-05 | Panasonic Corp | System for managing distributed files |
| JP2010049647A (en) * | 2008-08-25 | 2010-03-04 | Nec Corp | Client server system, client computer, server, file management method, and program therefor |
| JP2019145142A (en) * | 2012-09-22 | 2019-08-29 | グーグル エルエルシー | Subscription-notification mechanisms for synchronization of distributed states |
| US11102334B2 (en) | 2012-09-22 | 2021-08-24 | Google Llc | Subscription-notification mechanisms for synchronization of distributed states |
| US11516275B2 (en) | 2012-09-22 | 2022-11-29 | Google Llc | Subscription-notification mechanisms for synchronization of distributed states |
| US12095839B2 (en) | 2012-09-22 | 2024-09-17 | Google Llc | Subscription-notification mechanisms for synchronization of distributed states |
| JP2016530656A (en) * | 2013-12-17 | 2016-09-29 | ヒタチ データ システムズ コーポレーションHitachi Data Systems Corporation | Distributed disaster recovery file synchronization server system |
| JP2018509688A (en) * | 2015-01-23 | 2018-04-05 | エースキャン コーポレイション,リミテッド | File sharing system and method |
| CN114647620A (en) * | 2018-09-10 | 2022-06-21 | 创新先进技术有限公司 | File uploading method, device, equipment, program product and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4497983B2 (en) | 2010-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10911518B2 (en) | Network folder synchronization | |
| CN101167069B (en) | System and method for peer-to-peer synchronization of files | |
| EP3685268B1 (en) | File system point-in-time restore using recycle bin and version history | |
| JP5608811B2 (en) | Information processing system management method and data management computer system | |
| US6615405B1 (en) | Method and system for distributing and maintaining software across a computer network | |
| KR101169117B1 (en) | Extensible and automatically replicating server farm configuration management infrastructure | |
| US6694335B1 (en) | Method, computer readable medium, and system for monitoring the state of a collection of resources | |
| US8595381B2 (en) | Hierarchical file synchronization method, software and devices | |
| US8972348B2 (en) | Method and system for supporting off-line mode of operation and synchronization | |
| US8069144B2 (en) | System and methods for asynchronous synchronization | |
| JP5727020B2 (en) | Cloud computing system and data synchronization method thereof | |
| JP4794143B2 (en) | System and method for managing cache objects using notification bonds | |
| US20150199414A1 (en) | Locally cached file system | |
| US20040162853A1 (en) | Method, apparatus, system, and program product for attaching files and other objects to a partially replicated database | |
| EP2414941B1 (en) | Employing user-context in connection with backup or restore of data | |
| JP2004265418A (en) | Method and system for synchronizing data shared between peer-to-peer computing devices | |
| JP2009518757A (en) | Method and system for maintaining up-to-date data of wireless devices | |
| JP2011527799A (en) | Personal information file management tool | |
| JP4497983B2 (en) | File sharing control system, sharing control server, and sharing control program | |
| JP4497984B2 (en) | File sharing control system and sharing control program | |
| JP2004220259A (en) | Attached file management system, program, information storage medium, and attached file management method | |
| JP4622300B2 (en) | Information sharing system and information sharing program | |
| JP2013250762A (en) | Document management server, computer program, and document management method | |
| JP2002506254A (en) | Method, apparatus, system, and program product for applying files and other objects to a partially replicated database | |
| JP5535998B2 (en) | Data management system and data management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070402 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091215 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100215 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100406 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100413 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130423 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130423 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160423 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |