JP4705795B2 - Data sharing program, computer for data sharing system, and data sharing method - Google Patents
Data sharing program, computer for data sharing system, and data sharing method Download PDFInfo
- Publication number
- JP4705795B2 JP4705795B2 JP2005101512A JP2005101512A JP4705795B2 JP 4705795 B2 JP4705795 B2 JP 4705795B2 JP 2005101512 A JP2005101512 A JP 2005101512A JP 2005101512 A JP2005101512 A JP 2005101512A JP 4705795 B2 JP4705795 B2 JP 4705795B2
- Authority
- JP
- Japan
- Prior art keywords
- transferred
- untransferred
- metadata
- computer
- status
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、ピアツーピアネットワークに接続されたコンピュータ端末間において、ファイルやフォルダなどのデータの共用を行なうことが可能なデータ共用プログラム、データ共用システム及びデータ共用方法に関する。 The present invention relates to a data sharing program, a data sharing system, and a data sharing method capable of sharing data such as files and folders between computer terminals connected to a peer-to-peer network.
事業所などで構築されるLANとして、これまでクライアントサーバ型のネットワークが普及している。クライアントサーバシステムの場合、ネットワークに接続されているコンピュータが、クライアントとサーバに役割分担されている。このようなシステムにおいてネットワークに接続されるコンピュータは、利用者の操作入力に従って様々な要求や仕事の依頼を発するクライアントと、クライアントからの要求依頼に迅速に応えるサーバとに分けられる。多くの場合ネットワークに接続されたパソコンがクライアントとなり、大容量記憶装置と高性能CPUを備えた高価で高性能の専用サーバ機がサーバとなる。一方、最近では、ネットワークに接続されるパソコンのCPU性能の向上、ディスク容量の大型化により、ネットワークに接続されるコンピュータをクライアントとサーバに分けないピアツーピア(P2P)ネットワークが利用されている。 As a LAN constructed at a business office or the like, a client server type network has been widely used. In the case of a client server system, a computer connected to a network is divided into roles by a client and a server. Computers connected to a network in such a system are divided into clients that issue various requests and job requests in accordance with user operation inputs, and servers that quickly respond to request requests from clients. In many cases, a personal computer connected to a network serves as a client, and an expensive and high-performance dedicated server equipped with a mass storage device and a high-performance CPU serves as a server. On the other hand, recently, a peer-to-peer (P2P) network in which a computer connected to a network is not divided into a client and a server is used due to an improvement in CPU performance of a personal computer connected to the network and an increase in disk capacity.
ピアツーピアネットワークは、全てのコンピュータがクライアントとして機能するとともに、サーバとしても機能する。専用サーバ機を必要としないため費用も安価に済むことから、小規模なLANでファイルやプリンタを共用するのに向いている。 In a peer-to-peer network, all computers function as clients and also as servers. Since a dedicated server machine is not required and the cost is low, it is suitable for sharing files and printers over a small LAN.
このようなピアツーピアネットワークにおいて、ファイルを共用する場合、共用の対象となるファイルを同期させて使用されている。例えば、ピアツーピアネットワークに接続されている一のコンピュータ端末の特定のフォルダ(ディレクトリ)に格納されているファイルを他のコンピュータと同期させて利用する場合、その一のコンピュータ端末の特定のフォルダを他のコンピュータ端末との同期の対象として指定して同期処理することにより、一のコンピュータ端末の特定のフォルダのコピーが他のコンピュータ端末に格納される。一方、他のコンピュータ端末の利用者が同期フォルダ内のファイルを更新すると、一のコンピュータ端末の同期フォルダ内のファイルも更新されるように構成されている(特許文献1)。
しかしながら、特許文献1に記載されたファイルの同期方法は、フォルダ毎に同期処理が行なわれているため、ファイル毎に同期管理を行なうことができず、例えば、ファイルを他のフォルダに移動した場合など、同期処理を行なうことができないという問題がある。ファイル毎に同期させる方法は、存在しているが、同期対象のファイルのコピーを所定のフォルダに格納するため、ハードディスクを必要以上に消費するという問題があり、また他の方法は、ファイルの更新を行なっても、自動的に同期されず、またファイルのバージョン管理ができないなどという問題がある。 However, since the file synchronization method described in Patent Document 1 performs synchronization processing for each folder, synchronization management cannot be performed for each file. For example, when a file is moved to another folder There is a problem that synchronization processing cannot be performed. There is a method to synchronize each file, but there is a problem that the hard disk is consumed more than necessary because a copy of the file to be synchronized is stored in a predetermined folder. However, there is a problem that the file is not automatically synchronized and the file version cannot be managed.
そこで、本発明は、ピアツーピアネットワークに接続されたコンピュータ端末間において、制約が少なくファイルやフォルダなどのデータを同期させて共用することが可能なデータ共用プログラム、データ共用システム及びデータ共用方法を提供することを目的とする。 Therefore, the present invention provides a data sharing program, a data sharing system, and a data sharing method that can share data such as files and folders in a synchronized manner with less restrictions between computer terminals connected to a peer-to-peer network. For the purpose.
以上の目的を達成するため、本発明は、ピアツーピアで接続された他のコンピュータと共用される実データに、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報を少なくとも有するメタデータを添付することによってデータセットを作成するデータセット作成ステップと、該データセット作成ステップによって作成されたデータセットを前記メタデータの保存先アドレス情報に基づいて前記他のコンピュータに転送するデータ転送ステップと、をコンピュータに実行させることを特徴とするデータ共用プログラムである。 In order to achieve the above object, the present invention attaches metadata having at least storage destination address information regarding the storage destination address of each shared computer to actual data shared with other computers connected by peer-to-peer. A data set creation step for creating a data set by the computer, and a data transfer step for transferring the data set created by the data set creation step to the other computer based on the storage destination address information of the metadata. This is a data sharing program characterized in that the program is executed.
以上のように本発明に係るデータ共用プログラムによれば、実データに添付されたメタデータに基づいて、実データを共用する他のコンピュータに、実データを含むデータセットの転送を行なっているので、同期処理させて共用できるデータの種類に制限を受けることはなく、保存先などがメタデータに記憶されているだけで、保存先のフォルダなど他の制約を受けることが少なくデータの同期処理を行なうことができる。 As described above, according to the data sharing program of the present invention, the data set including the actual data is transferred to the other computer sharing the actual data based on the metadata attached to the actual data. The data type that can be shared by synchronizing is not limited, and the storage destination is stored in the metadata, and it is less subject to other restrictions, such as the storage destination folder. Can be done.
また、本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセット又はそのメタデータが受信されると、その受信されたデータセットのメタデータ又は受信されたメタデータの転送済・未転送ステイタス情報のうち、自身のステイタスを転送済に変更する転送済・未転送ステイタス情報変更ステップと、前記受信されたデータセット又はメタデータを前記メタデータが有する保存先アドレス情報の保存先に格納する格納ステップと、をコンピュータに実行させるデータ共用プログラムであって、前記転送済・未転送ステイタス情報変更ステップによって転送済・未転送ステイタス情報が変更され、かつ前記格納ステップによってデータセット又はメタデータが格納されると、前記転送済・未転送ステイタス情報変更ステップによって変更された転送済・未転送ステイタス情報にステイタスが未転送のコンピュータが含まれているかの否かの判断を行なう未転送コンピュータ判断ステップと、該未転送コンピュータ判断ステップによって、ステイタスが未転送のコンピュータが含まれていると判断された場合、いずれかの未転送のコンピュータに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送ステップと、をさらにコンピュータに実行させることを特徴とする。 In addition, the present invention provides real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, and transfer of each shared computer Metadata having at least transferred / untransferred status information related to the status related to completed / untransferred, and when the metadata is received, the metadata of the received data set or the received metadata Of the transferred / untransferred status information, the transferred / untransferred status information changing step for changing its own status to transferred, and the storage destination address information included in the metadata of the received data set or metadata Storing in the storage location of the And when the transferred / untransferred status information is changed by the transfer / untransfer status information change step and the data set or metadata is stored by the storage step, An untransferred computer determination step for determining whether or not the transferred / untransferred status information changed by the untransferred status information change step includes a computer whose status is not transferred, and the untransferred computer determination step A data transfer step of transferring the data set or metadata to any of the untransferred computers based on the storage address information of the metadata when it is determined that a computer whose status has not been transferred is included; , Let the computer run further And wherein the door.
このようにメタデータに転送済・未転送ステイタス情報を設け、その転送済・未転送ステイタス情報をその都度更新するとともに、その更新された情報に基づいて転送処理を行なっているので、データセットやメタデータの重複転送を防止することができる。このようなデータ共用プログラムにおいて、前記メタデータには、前記実データが作成されたコンピュータに関する作成元コンピュータ情報がさらに含まれており、該未転送コンピュータ判断ステップによって未転送のコンピュータが含まれていると判断された場合、前記データ転送ステップは、前記作成元コンピュータ情報に基づいて前記メタデータを前記実データが作成されたコンピュータに転送するよう構成されていることが好ましい。また、受信されたデータがメタデータだけか否かの判断を行なうメタデータ判断ステップをさらにコンピュータに実行させ、メタデータだけなく、実データを含むと判断された場合に、受信された実データが更新されたデータか否かの判断を行なう更新データ判断ステップをさらにコンピュータに実行させ、前記メタデータ判断ステップにおいてメタデータであると判断されるか、前記更新データ判断ステップにおいて更新データであると判断された場合、メタデータの保存先アドレス情報の保存先にメタデータ又はデータセットが存在するかの判断を行なうデータ存在判断ステップをさらにコンピュータに実行させ、データが存在しないと判断された場合、そのデータの検索を行なう検索ステップをさらにコンピュータに実行させ、ファイルが検索された場合、メタデータの保存先アドレス情報の変更を行なうメタデータ変更ステップをさらにコンピュータに実行させるように構成しても良い。 As described above, the transferred / untransferred status information is provided in the metadata, the transferred / untransferred status information is updated each time, and the transfer process is performed based on the updated information. Duplicate transfer of metadata can be prevented. In such a data sharing program, the metadata further includes creation source computer information related to the computer on which the actual data is created, and includes an untransferred computer in the untransferred computer determination step. If it is determined, the data transfer step is preferably configured to transfer the metadata to the computer on which the actual data is generated based on the source computer information. Further, when the computer further executes a metadata determination step for determining whether or not the received data is only metadata, when it is determined that the received data includes not only the metadata but also the actual data, An update data determination step for determining whether or not the data is updated is further executed by the computer, and the metadata determination step determines that the data is metadata, or the update data determination step determines that the data is update data. If it is determined that the data is not present, the computer further executes a data presence determination step for determining whether the metadata or the data set exists in the storage destination of the metadata storage destination address information. Let the computer further perform a search step to search for data and If is retrieved, it may be configured to execute on metadata change step of changing the destination address information of the meta data further to a computer.
さらに、本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセットの前記実データ又はメタデータが更新されると、前記転送済・未転送ステイタス情報のうち、更新が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する転送済・未転送ステイタス情報変更ステップと、前記転送済・未転送ステイタス情報変更ステップによって、前記転送済・未転送ステイタス情報が変更されると、前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送ステップと、をコンピュータに実行させることを特徴とするデータ共用プログラムである。 Furthermore, the present invention provides real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, and transfer of each shared computer When the actual data or metadata of the data set composed of metadata having at least transferred / untransferred status information related to status regarding transferred / untransferred is updated, update of the transferred / untransferred status information is performed. The transferred / untransferred status information changing step for changing the status of the shared computer other than the computer to which the transfer is performed to untransferred, and the transferred / untransferred status information changing step, the transferred / untransferred status information is When changed, the changed transferred / not transferred A data transfer step of causing the computer to execute a data transfer step of transferring the data set or metadata to any of computers whose status information has not been transferred based on the storage address information of the metadata. It is a program.
このように、実データ又はメタデータが更新されると、更新が行なわれたコンピュータ以外の転送済・未転送ステイタス情報のステイタスを未転送に変更するよう構成することにより、更新された実データ又はメタデータを共用対象のコンピュータに転送することができる。前記転送済・未転送ステイタス情報変更ステップは、先ず、転送済・未転送ステイタス情報の全てのコンピュータのステイタスを未転送とした後に、更新が行なわれたコンピュータのステイタスを転送済としても良い。実データが更新される場合、メタデータには、実データのバージョン情報が含まれており、実データが更新されると、そのバージョン情報を更新するバージョン情報更新ステップをさらにコンピュータに実行させるよう構成しても良く、メタデータが更新される場合、メタデータには、メタデータの更新履歴が含まれており、メタデータが更新されると、その更新履歴を変更する更新履歴変更ステップをさらにコンピュータに実行させるよう構成しても良い。 In this way, when the actual data or metadata is updated, the updated actual data or the non-transferred status information other than the updated computer is changed to “untransferred”. Metadata can be transferred to a computer to be shared. In the transfer / non-transfer status information change step, first, the status of all computers in the transfer / untransfer status information may be untransferred, and the status of the updated computer may be transferred. When actual data is updated, the metadata includes version information of the actual data. When the actual data is updated, the computer is further configured to execute a version information update step for updating the version information. If the metadata is updated, the metadata includes an update history of the metadata. When the metadata is updated, an update history change step for changing the update history is further performed by the computer. You may comprise so that it may be made to perform.
さらに、本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセットの保存されている保存先が変更されると、前記保存先アドレス情報の変更されたコンピュータの保存先の変更を行なう保存先変更ステップと、前記保存先変更ステップによって保存先の変更が行なわれると、前記転送済・未転送ステイタス情報のうち、保存先の変更が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する転送済・未転送ステイタス情報変更ステップと、前記転送済・未転送ステイタス情報変更ステップによって、前記転送済・未転送ステイタス情報が変更されると、前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに前記更新されたメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送ステップと、をコンピュータに実行させることを特徴とするデータ共用プログラムである。 Furthermore, the present invention provides real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, and transfer of each shared computer When the storage destination of the data set consisting of metadata having at least transferred / untransferred status information related to the status related to completed / untransferred is changed, the storage of the computer in which the storage destination address information is changed is changed. When the storage destination is changed by the storage destination changing step for changing the destination and when the storage destination is changed by the storage destination changing step, the transfer destination / untransferred status information other than the computer where the storage destination is changed is shared. Change the status of the computer to untransferred. When the transferred / untransferred status information is changed by the step and the transferred / untransferred status information changing step, any of the computers whose status of the changed transferred / untransferred status information is not transferred A data sharing program that causes a computer to execute a data transfer step of transferring the updated metadata based on storage address information of the metadata.
このように構成することにより、データセットの保存先が変更、すなわちデータセットを他の保存先に移動すると、メタデータの保存先アドレス情報が変更され、その保存先アドレス情報が変更されたメタデータが、他の共用コンピュータに転送される。 By configuring in this way, when the storage destination of the data set is changed, that is, when the data set is moved to another storage destination, the storage address information of the metadata is changed, and the metadata in which the storage destination address information is changed Are transferred to other shared computers.
また、本発明は、ピアツーピアで接続された他のコンピュータと共用される実データに、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報を少なくとも有するメタデータを添付することによってデータセットを作成するデータセット作成手段と、該データセット作成手段によって作成されたデータセットを前記メタデータの保存先アドレス情報に基づいて前記他のコンピュータに転送するデータ転送手段と、を備えたことを特徴とするデータ共用システムである。 In addition, the present invention creates a data set by attaching metadata having at least storage destination address information regarding the storage destination address of each shared computer to actual data shared with other computers connected by peer-to-peer. And a data transfer means for transferring the data set created by the data set creation means to the other computer based on the storage destination address information of the metadata. It is a data sharing system.
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセット又はそのメタデータを受信する受信手段と、該受信手段によって受信されたデータセットのメタデータ又は受信されたメタデータの転送済・未転送ステイタス情報のうち、自身のステイタスを転送済に変更する転送済・未転送ステイタス情報変更手段と、前記受信されたデータセット又はメタデータを前記メタデータが有する保存先アドレス情報の保存先に格納する格納手段と、前記転送済・未転送ステイタス情報変更手段によって転送済・未転送ステイタス情報が変更され、かつ前記格納手段によってデータセット又はメタデータが格納されると、前記転送済・未転送ステイタス情報変更手段によって変更された転送済・未転送ステイタス情報にステイタスが未転送のコンピュータが含まれているかの否かの判断を行なう未転送コンピュータ判断手段と、該未転送コンピュータ判断手段によって、ステイタスが未転送のコンピュータが含まれていると判断された場合、いずれかの未転送のコンピュータに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送手段と、を備えたことを特徴とするデータ共用システムである。 The present invention relates to real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, Metadata having at least transferred / untransferred status information relating to the status relating to untransferred, and a receiving means for receiving the metadata or the metadata of the data set received by the receiving means or received Transferred / untransferred status information changing means for changing its own status to transferred among the transferred / untransferred status information of the metadata, and a storage destination in which the metadata includes the received data set or metadata Storage means for storing the address information in the storage destination and the transferred / untransferred When the transferred / untransferred status information is changed by the status information changing unit and the data set or metadata is stored by the storage unit, the transferred / untransferred status information changing unit changed by the transferred / untransferred status information changing unit. Non-transfer computer determining means for determining whether or not the transfer status information includes a computer whose status is not transferred, and the non-transfer computer determining means determines that a computer whose status is not transferred is included. And a data transfer means for transferring the data set or metadata to any untransferred computer based on the storage address information of the metadata. .
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセットの前記実データ又はメタデータが更新されると、前記転送済・未転送ステイタス情報のうち、更新が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する転送済・未転送ステイタス情報変更手段と、前記転送済・未転送ステイタス情報変更手段によって、前記転送済・未転送ステイタス情報が変更されると、前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送手段と、を備えたことを特徴とするデータ共用システムである。 The present invention relates to real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, When the actual data or metadata of the data set consisting of metadata having at least transferred / untransferred status information related to the status related to untransferred is updated, update is performed in the transferred / untransferred status information. The transferred / untransferred status information changing means for changing the status of a shared computer other than the transferred computer to untransferred and the transferred / untransferred status information changing means change the transferred / untransferred status information. Then, the status of the changed transferred / untransferred status information is changed. Itasu is a data sharing system, characterized in that it and a data transfer means for transferring, based on the data set or the storage address information of the metadata the metadata to any untransferred computer.
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセットの保存されている保存先が変更されると、前記保存先アドレス情報の変更されたコンピュータの保存先の変更を行なう保存先変更手段と、前記保存先変更手段によって保存先の変更が行なわれると、前記転送済・未転送ステイタス情報のうち、保存先の変更が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する転送済・未転送ステイタス情報変更手段と、前記転送済・未転送ステイタス情報変更手段によって、前記転送済・未転送ステイタス情報が変更されると、前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに前記更新されたメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送手段と、を備えたことを特徴とするデータ共用システムである。 The present invention relates to real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, When the storage location where the data set consisting of metadata having at least transferred / untransferred status information related to untransferred status is stored is changed, the storage location of the computer where the storage address information is changed is changed. When the storage destination is changed by the storage destination changing means for changing the storage destination and the storage destination changing means, a shared computer other than the computer in which the storage destination is changed among the transferred / untransferred status information. Transferred / untransferred status information changing means for changing the status to untransferred, and the transfer When the transferred / untransferred status information is changed by the completed / untransferred status information changing unit, the changed status of the transferred / untransferred status information is updated to one of the untransferred computers. A data sharing system comprising: data transfer means for transferring the metadata based on the storage address information of the metadata.
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データに、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報を少なくとも有するメタデータを添付することによってデータセットを作成するデータセット作成工程スと、該データセット作成工程によって作成されたデータセットを前記メタデータの保存先アドレス情報に基づいて前記他のコンピュータに転送するデータ転送工程と、を備えたことを特徴とするデータ共用方法である。 The present invention provides data for creating a data set by attaching metadata having at least storage destination address information related to the storage destination address of each shared computer to actual data shared with other computers connected by peer-to-peer A data creation process comprising: a set creation process; and a data transfer process for transferring the data set created by the data set creation process to the other computer based on the storage destination address information of the metadata. It is a sharing method.
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセット又はそのメタデータが受信されると、その受信されたデータセットのメタデータ又は受信されたメタデータの転送済・未転送ステイタス情報のうち、自身のステイタスを転送済に変更する転送済・未転送ステイタス情報変更工程と、前記受信されたデータセット又はメタデータを前記メタデータが有する保存先アドレス情報の保存先に格納する格納工程と、をコンピュータに実行させるデータ共用プログラムであって、前記転送済・未転送ステイタス情報変更工程によって転送済・未転送ステイタス情報が変更され、かつ前記格納工程によってデータセット又はメタデータが格納されると、前記転送済・未転送ステイタス情報変更工程によって変更された転送済・未転送ステイタス情報にステイタスが未転送のコンピュータが含まれているか否かの判断を行なう未転送コンピュータ判断工程と、該未転送コンピュータ判断工程によって、ステイタスが未転送のコンピュータが含まれていると判断された場合、いずれかの未転送のコンピュータに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送工程と、を備えたことを特徴とする。 The present invention relates to real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, When a data set consisting of metadata having at least transferred / untransferred status information relating to the status relating to untransferred or the metadata thereof is received, the metadata of the received data set or the transfer of the received metadata Transferred / untransferred status information changing step of changing own status to transferred among stored / untransferred status information, and storage of storage destination address information included in the metadata of the received data set or metadata Data sharing that allows the computer to execute the storage process that is stored first When the transferred / untransferred status information is changed by the transferred / untransferred status information changing step and the data set or metadata is stored by the storing step, the transferred / untransferred status is changed. An untransferred computer determination step for determining whether the transferred / untransferred status information changed by the information change step includes a computer whose status is not transferred, and the untransferred computer determination step determines whether the status is And a data transfer step of transferring the data set or metadata to any untransferred computer based on the storage address information of the metadata when it is determined that a transfer computer is included. It is characterized by that.
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセットの前記実データ又はメタデータが更新されると、前記転送済・未転送ステイタス情報のうち、更新が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する転送済・未転送ステイタス情報変更工程と、前記転送済・未転送ステイタス情報変更工程によって、前記転送済・未転送ステイタス情報が変更されると、前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送工程と、を備えたことを特徴とするデータ共用方法である。 The present invention relates to real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, When the actual data or metadata of the data set consisting of metadata having at least transferred / untransferred status information related to the status related to untransferred is updated, update is performed in the transferred / untransferred status information. The transferred / untransferred status information changing step for changing the status of the shared computer other than the transferred computer to untransferred and the transferred / untransferred status information changing step change the transferred / untransferred status information. Then, the status of the changed transferred / untransferred status information is changed. Itasu is a data sharing method characterized by comprising a data transfer step of transferring on the basis of the data set or the storage address information of the metadata the metadata to any untransferred computer.
本発明は、ピアツーピアで接続された他のコンピュータと共用される実データと、該実データに添付され、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータと、からなるデータセットの保存されている保存先が変更されると、前記保存先アドレス情報の変更されたコンピュータの保存先の変更を行なう保存先変更工程と、前記保存先変更工程によって保存先の変更が行なわれると、前記転送済・未転送ステイタス情報のうち、保存先の変更が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する転送済・未転送ステイタス情報変更工程と、前記転送済・未転送ステイタス情報変更工程によって、前記転送済・未転送ステイタス情報が変更されると、前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに前記更新されたメタデータを前記メタデータの保存先アドレス情報に基づいて転送するデータ転送工程と、を備えたことを特徴とするデータ共用方法である。 The present invention relates to real data shared with other computers connected by peer-to-peer, storage destination address information related to the storage destination address of each computer to be shared and attached to the real data, When the storage location where the data set consisting of metadata having at least transferred / untransferred status information related to untransferred status is stored is changed, the storage location of the computer where the storage address information is changed is changed. When the storage destination is changed by the storage destination changing step and the storage destination changing step is performed, a shared computer other than the computer in which the storage destination is changed among the transferred / untransferred status information Transferred / untransferred status information changing step for changing the status to untransferred, and the transfer When the transferred / untransferred status information is changed in the completed / untransferred status information changing step, the changed status of the transferred / untransferred status information is updated to one of the untransferred computers. And a data transfer step of transferring the metadata based on the storage address information of the metadata.
以上のように本発明に係るデータ共用プログラム、データ共用システム及びデータ共用方法において、実データには、ファイルデータやフォルダデータなど様々なデータがあり、これら様々なデータにメタデータを添付することによって、制約が少ない同期処理を行って共用することができる。 As described above, in the data sharing program, the data sharing system, and the data sharing method according to the present invention, the actual data includes various data such as file data and folder data. By attaching metadata to these various data, , It can be shared by performing synchronous processing with few restrictions.
また、本発明に係るデータ共用プログラム、データ共用システム及びデータ共用方法において、実データを共用するコンピュータは、実データを作成した作成元コンピュータとその他の共用コンピュータに大別することができ、メタデータの転送済・未転送ステイタス情報に、作成元コンピュータとその他の共用コンピュータの情報のいずれを含ませても良く、またその他の共用コンピュータの情報のみを含ませてもよい。転送済・未転送ステイタス情報に作成元コンピュータの情報を含ませない場合、別途、メタデータに作成元コンピュータの情報を含ませる。このような場合に、実データやメタデータの更新や変更が行なわれた場合、先ず、転送済・未転送ステイタス情報の全てのコンピュータのステイタスを未転送と変更するとともに、その更新や変更が行なわれたコンピュータが作成元コンピュータか否かの判断が行なわれ、作成元コンピュータと判断された場合、転送済・未転送ステイタス情報のステイタスが未転送のコンピュータのいずれかに、これら更新された実データを含むデータセットや変更されたメタデータを転送する。作成元コンピュータでないと判断された場合、転送済・未転送ステイタス情報のうち、更新や変更が行なわれたコンピュータのステイタスを転送済に変更した後、作成元コンピュータにこれら更新された実データを含むデータセットや変更されたメタデータを転送する。なお、このように転送済・未転送ステイタス情報に、作成元コンピュータ端末の情報が形式的に含まれていない場合であっても、ファイルデータやメタデータが作成元コンピュータ以外のコンピュータによって更新された場合、更新されたファイルデータやメタデータは、最初に作成元コンピュータに転送されるので、作成元コンピュータ端末の転送済・未転送のステイタスも実質的には、本発明における転送済・未転送ステイタス情報に含まれている。 In the data sharing program, the data sharing system, and the data sharing method according to the present invention, the computers that share the actual data can be broadly classified into a creation source computer that created the actual data and other shared computers. The transferred / untransferred status information may include information on the creation source computer and other shared computers, or may include only information on other shared computers. When information on the creation source computer is not included in the transferred / untransferred status information, information on the creation source computer is separately included in the metadata. In such a case, when actual data or metadata is updated or changed, first, the status of all computers in the transferred / untransferred status information is changed to untransferred, and the update or change is performed. If it is determined whether the generated computer is the creation source computer, and if it is determined that it is the creation source computer, the updated actual data is transferred to one of the computers whose status of the transferred / untransferred status information is not transferred. Transfer datasets and modified metadata that contain. If it is determined that the computer is not the creation source computer, the updated computer status is changed to “transferred” in the transferred / untransferred status information, and the updated source computer includes the updated actual data. Transfer datasets and modified metadata. Note that the file data and metadata are updated by a computer other than the creation source computer even if the information of the creation source computer terminal is not formally included in the transferred / untransferred status information in this way. In this case, since the updated file data and metadata are first transferred to the creation source computer, the transferred / untransferred status of the creation source computer terminal is substantially the transferred / untransferred status in the present invention. Included in the information.
以上のように本発明によれば、ピアツーピアネットワークに接続されたコンピュータ端末間において、制約が少なくファイルやフォルダなどのデータを同期させて共用することが可能なデータ共用プログラム、データ共用システム及びデータ共用方法を提供することができる。 As described above, according to the present invention, a data sharing program, a data sharing system, and a data sharing that can share data such as files and folders in synchronization with less restrictions between computer terminals connected to a peer-to-peer network. A method can be provided.
次に本発明に係るデータ共用プログラム、データ共用システム及びデータ共用方法の実施例について図面に基づいて説明する。図1は、本実施例に係るデータ共用プログラムによって共用されるファイルデータ10とそれに添付されるメタデータ12の概念図であり、図2は、本実施例に係るデータ共用プログラム14が格納されたコンピュータ端末16A、16B、16C、16Dがピアツーピアネットワークによって接続された状態を示す概念図であり、図3は、本実施例に係るデータ共用プログラムが格納されたコンピュータ端末16A、16B、16C、16Dの概念図である。
Next, embodiments of a data sharing program, a data sharing system, and a data sharing method according to the present invention will be described with reference to the drawings. FIG. 1 is a conceptual diagram of
ファイルデータ10に添付されるメタデータ12には、図1に示すようにファイルデータ10に関するタイトル、キーワード、メタデータ12の更新履歴、ファイルデータ10のバージョン情報、共用コンピュータ端末のファイルデータ10の保存先アドレス情報、ファイルデータが作成された作成元コンピュータ端末の情報、及び共用する他の各コンピュータ端末の転送済み又は未転送の状態、すなわち転送済・未転送ステイタスに関する情報などが含まれている。このうち、転送済・未転送ステイタスに関する情報は、ファイルデータや更新済みのメタデータが転送済みのコンピュータ端末を「true」とし、未転送のコンピュータを「false」とすることによって、管理されている。これらメタデータ12に含まれている情報は、データ共用プログラム14の動作やメタデータエディタプログラム28による変更によって更新される。また、このメタデータ12は、隠しファイルとしてファイルデータ10に添付された状態で格納されており、これらファイルデータ10とメタデータ12によってデータセットを形成する。なお、本実施例において、メタデータは、XMLをベースとしたRDF(Resource Description Framework)により記述されている。
As shown in FIG. 1, the
本実施例に係るデータ共用プログラムが格納されたコンピュータ端末16A、16B、16C、16Dは、図2に示すようにそれぞれハブやルータなどからなるネットワーク18を介して接続されており、ピアツーピアネットワークを形成している。このネットワーク18としては、イントラネットやインターネットなどがある。これらコンピュータ端末16A、16B、16C、16Dは、同一の構成からなるので、以下、コンピュータ端末16Aの構成のみについて説明する。
The
コンピュータ端末16Aは、主として図3に示すようにメモリ20と、CPUやチップセットなどからなる処理ユニット22と、LANカードなどからなるネットワーク接続部24と、処理ユニット22などに特定の処理を実行させるプログラムやファイルデータなどを格納可能なハードディスク26と、を備えており、これらの他モニタや入力装置など通常のコンピュータ端末に備えているものは当然に備えている。ハードディスク26には、本実施例に係るデータ共用プログラム14とメタデータを変更可能なメタデータエディタプログラム28が格納されている。また、ハードディスク26内には、共用データの一時的な保管先である一時フォルダ32や他のフォルダ34などが作成されており、これらフォルダ32、34の中にファイルデータ10などを格納することができる。
As shown mainly in FIG. 3, the
次に、本実施例に係るデータ共用プログラム14の動作について説明する。先ず、コンピュータ端末16Aに格納されたファイルデータをコンピュータ端末16B、16Cと共用させる場合について、図4に示すフローチャートに基づいて説明する。先ず、コンピュータ端末16Aの使用者は、コンピュータ端末16A内に存するファイルデータのうち、共用の対象とするフィルデータ10を選択する(S100)。ファイルデータ10が選択されると、データ共用プログラム14が実行され、メタデータエディタプログラム28が起動される(S102)。コンピュータ端末16Aの使用者は、メタデータエディタプログラム28によって共用ファイルデータのタイトル、キーワード、及びこのファイルデータ10を共用する他のコンピュータ端末16B、16Cに関する情報を入力し、そのメタデータ12を保存する(S104)。メタデータ12は、保存されると、ファイルデータ10に添付されるとともに、メタデータ12内のデフォルト処理、例えば、共用する他の各コンピュータ端末16B、16Cの一時フォルダのアドレス情報や共用する他の各コンピュータ端末の転送済・未転送ステイタスを「false」とするなどの処理が行なわれる(S106)。メタデータのデフォルト処理が終わると、共用ファイルデータ10とそれに添付されたメタデータ12からなるデータセットのコピーが作成される(S108)。次いで、メタデータ12の各コンピュータ端末の保存先アドレス情報が参照されることによって、「false」の状態にあるコンピュータ端末16B、16Cのうち、いずれかのコンピュータ端末の保存先アドレス、例えば一時フォルダ32が宛先アドレスとされ、ネットワーク接続部24を介してそのデータセットのコピーが転送される(S110)。このような転送処理により、データセットは、図5に示すようにコンピュータ端末16Aから16Bに転送される(図5の矢印a)。
Next, the operation of the
データセットの転送処理
次に、共用ファイルデータ10とメタデータ12のデータセットが転送された際の処理について図6A及び6Bに示すフローチャートに基づいて説明する。先ず、コンピュータ端末16Bによってネットワーク接続部24を介してファイルデータ10とメタデータ12のデータセットが受信されると、データ共用プログラム14が実行され、受信されたものがメタデータ12だけか、ファイルデータ10が含まれたデータセットかの判断が行なわれる(S200)。メタデータ12だけであると判断された場合、ステップ214に進む。このメタデータの転送処理については、後述する。ステップ200において、ファイルデータ10も含まれていると判断された場合、受信されたデータセットのメタデータ12が有するファイルデータ10のバージョン情報を参照することによってファイルデータ10が更新されたものであるか、新規なものであるかの判断が行なわれる(S202)。更新されたものであると判断された場合、ステップ214に進む。この更新されたファイルデータの転送処理については、後述する。ステップ202において、ファイルデータ10が新規なものであると判断された場合、メタデータ12の各コンピュータ端末の保存先アドレス情報が参照されることによって、受信された共用ファイルデータ10とメタデータ12のデータセットが保存先アドレスに格納される(S204)。次いで、ステイタスが「false」のコンピュータ端末があるか否かの判断が行なわれる(S206)。ステイタスが「false」のコンピュータ端末があると判断されると、共用ファイルデータ10とそれに添付されたメタデータ12からなるデータセットのコピーが作成される(S208)。次いで、メタデータ12の各コンピュータ端末の保存先アドレス情報が参照されることによって、「false」の状態にあるコンピュータ端末のうち、いずれかのコンピュータ端末の保存先アドレス、例えば一時フォルダ32が宛先アドレスとされ、ネットワーク接続部24を介してそのデータセットのコピーが転送処理される(S210)。これにより、データセットは、例えば図5におけるコンピュータ端末16Bから16Cに転送される(図5の矢印b)。転送済・未転送ステイタスが「false」のコンピュータ端末がないと確認されると、メタデータ12のコピーが作成される(S212)。次いで、メタデータ12の作成元コンピュータ端末の情報が参照されることによって、ファイル作成元のコンピュータ端末16Aの保存先が宛先アドレスとされ、ネットワーク接続部24を介してそのメタデータ12のコピーが転送処理される(S214)。これにより、メタデータ12は、例えば図5におけるコンピュータ端末16Cから16Aに転送される(図5の矢印c)。
Data Set Transfer Processing Next, processing when the shared
メタデータの更新
次に、メタデータ12をメタデータエディタプログラム28によって変更して更新した場合について図7に示すフローチャートに基づいて説明する。先ず、利用者がメタデータエディタプログラム28を起動させて、メタデータ12を変更し、保存することによって、メタデータ12が更新されると(S300)、データ共用プログラム14が実行され、メタデータ12の更新が認識される(S302)。メタデータ12の更新が認識されると、メタデータ12が有する更新履歴が変更されるとともに、共用コンピュータ端末全てのステイタスが「false」に変更される(S304)。次いで、メタデータ12の更新処理が行なわれたコンピュータ端末が、ファイルデータ10の作成元コンピュータ端末16Aであるか否かの判断が行なわれ(S306)、作成元コンピュータ端末16Aであると判断されると、メタデータ12のコピーが作成される(S308)。次いで、メタデータ12の各コンピュータ端末の保存先アドレス情報が参照されることによって、「false」の状態にあるコンピュータ端末16B、16Cのうち、いずれかのコンピュータ端末の保存先アドレスが宛先アドレスとされ、ネットワーク接続部24を介してそのメタデータ12のコピーが転送処理される(S310)。これにより、例えば、メタデータ12は、図8のコンピュータ端末16Aから16Cに転送される(図8の矢印a)。作成元コンピュータ端末でないと判断された場合、メタデータ12の更新処理が行なわれたコンピュータ端末自身の転送済・未転送のステイタスが「true」に変更されるとともに(S310)、メタデータ12のコピーが作成される(S312)。次いで、メタデータ12の作成元コンピュータ端末の情報が参照されることによって、作成元コンピュータ端末16Aの保存先アドレスが宛先アドレスとされ、ネットワーク接続部24を介してそのメタデータ12のコピーが転送処理される(S316)。これにより、例えば、メタデータ12は、図8のコンピュータ端末16Bから16Aに転送される(図8の矢印b)。
Update of Metadata Next, a case where the
メタデータの転送処理
次に、メタデータ12が転送される場合について、図6A及び6Bに示すフローチャートに基づいて説明する。先ず、コンピュータ端末によってネットワーク接続部24を介してメタデータ12が受信されると、データ共用プログラム14が実行され、データセットの転送処理の場合と同様に、受信されたものがメタデータ12だけか、ファイルデータ10が含まれたデータセットかの判断が行なわれる(S200)。ファイルデータ10が含まれると判断された場合は、ステップ202に進み上述のデータセットの転送処理に従い処理される。メタデータ12だけであると判断された場合、メタデータ12の保存先アドレス情報の保存先にメタデータ12が格納されているかの判断が行なわれる(S214)。格納されていると判断された場合、ステップ222に進み、メタデータ12が上書き保存されて、格納される。格納されていないと判断された場合、メタデータ12の検索が行なわれ(S216)、メタデータ12が検索された場合、メタデータ12の保存先アドレス情報が変更され(S218、S220)、その変更された保存先に上書き保存されて、格納される(S222)。このようにメタデータ12の保存先情報が変更されると、上述したメタデータの更新処理が行なわれる。メタデータ12が検索されなかった場合(S218)、ステップ220に進み、メタデータ12の保存先アドレス情報の保存先にメタデータ12が格納される(S222)。次いで、ステイタスが「false」のコンピュータ端末があるか否かの判断が行なわれる(S206)。ステイタスが「false」のコンピュータ端末があると判断されると、メタデータ12のコピーが作成され(S208)、メタデータ12の各コンピュータ端末の保存先アドレス情報が参照されることによって、「false」の状態にあるコンピュータ端末のうち、いずれかのコンピュータ端末の保存先アドレスが宛先アドレスとされ、ネットワーク接続部24を介してそのメタデータ12のコピーが転送処理される(S210)。これにより、メタデータ12は、例えば図9におけるコンピュータ端末16Bから16Cに転送される(図9の矢印a)。また、ステップ208において、転送済・未転送ステイタスが「false」のコンピュータ端末がないと確認されると、メタデータ12のコピーが作成され(S212)、メタデータ12の作成元コンピュータ端末の情報が参照されることによって、ファイル作成元のコンピュータ端末16Aの保存先アドレスが宛先アドレスとされ、ネットワーク接続部24を介してそのメタデータ12のコピーが転送処理される(S214)。これにより、メタデータ12は、例えば図9におけるコンピュータ端末16Cから16Aに転送される(図9の矢印b)。
Metadata Transfer Processing Next, the case where the
データセットの移動
次に、コンピュータ端末16Bの一時フォルダ32に格納されている共用ファイルデータ10とメタデータ12からなるデータセットを他のフォルダ34に移動させた場合の処理について、図10に示すフローチャートに基づいて説明する。先ず、図3の矢印Xで示すように、共用ファイルデータ10とメタデータ12からなるデータセットを他のフォルダ34に移動させると(S400)、データ共用プログラム14が実行され、データセットの移動が認識され、メタデータ12のコンピュータ端末16Bの保存先のアドレスが他のフォルダ34に変更さるとともに(S402)、以下、上記ステップ304から316と同様の動作が行なわれる(S404〜416)。
Moving data sets Next, the processing of the case of moving the data set of the shared
ファイルデータの更新
次に、ファイルデータ10を変更して更新した場合について図11A及び11Bに示すフローチャートに基づいて説明する。先ず、利用者がファイルデータ10を変更し、保存処理を行なうと、ファイルデータ10の更新が認識され(S500)、データ共用プログラム14が実行され、データ共用プログラム14によって更新されたファイルデータ10にメタデータ12が添付されているか否かの判断が行なわれる(S502)。メタデータ12が添付されていないと判断された場合、本データ共用プログラム14の動作は、終了する。メタデータ12が添付されていると判断された場合、変更・保存処理が行なわれたファイルが上書き可能か否かの判断が行なわれる(S504)。上書きが不可と判断された場合、新しいファイル名で保存処理が行なわれ、図4に示すフローにしたがい、新しい共用ファイルデータを含むデータセットの作成の処理が行なわれる。上書きが可能と判断された場合、上書き保存される(S506)。次いで、更新されたファイルデータ10に添付されたメタデータが有するファイルデータ10のバージョン情報が更新されるとともに、共用コンピュータ端末全ての転送済・未転送ステイタスが「false」に変更され(S508)、ファイルデータ10の更新処理が行なわれたコンピュータ端末が、ファイルデータ10の作成元コンピュータ端末であるか否かの判断が行なわれる(S510)。作成元コンピュータ端末であると判断されると、更新されたファイルデータ10とメタデータ12からなるデータセットのコピーが作成される(S512)。次いで、メタデータ12の各コンピュータ端末の保存先アドレス情報が参照されることによって、「false」の状態にあるコンピュータ端末16B、16Cのうち、いずれかのコンピュータ端末の保存先アドレスが宛先アドレスとされ、ネットワーク接続部24を介してそのデータセットのコピーが転送処理される(S514)。これにより、データセットは、例えば図12におけるコンピュータ端末16Aから16Cに転送される(図12の矢印a)。作成元コンピュータ端末でないと判断された場合、ファイルデータ10の更新処理が行なわれたコンピュータ端末自身の転送済・未転送のステイタスが「true」に変更されるとともに(S516)、更新されたファイルデータ10とメタデータ12からなるデータセットのコピーが作成される(S518)。次いで、メタデータ12の作成元コンピュータ端末の情報が参照されることによって、作成元コンピュータ端末16Aの保存先アドレスが宛先アドレスとされ、ネットワーク接続部24を介してそのデータセットのコピーが転送処理される(S520)。これにより、メタデータ12は、例えば図12におけるコンピュータ端末16Bから16Aに転送される(図12の矢印b)。
Update of File Data Next, a case where the
更新ファイルデータの転送
次に、更新されたファイルデータが転送される場合について、説明する。上述したデータセットの転送処理のステップ202において、更新ファイルであると判断された場合、上述のメタデータの転送処理のステップ214に進み、それ以降、メタデータの転送処理と同様に処理される。
Transfer update file data
Next, a case where updated file data is transferred will be described. If it is determined in step 202 of the data set transfer process described above that the file is an update file, the process proceeds to step 214 of the metadata transfer process described above, and thereafter, the same process as the metadata transfer process is performed.
10 ファイルデータ
12 メタデータ
14 データ共用プログラム
16A、16B、16C、16D コンピュータ端末
28 メタデータエディタプログラム
32 一時フォルダ
34 他のフォルダ
10
Claims (9)
ピアツーピアで接続された他のコンピュータと共用される実データに、共用する各コンピュータの保存先のアドレスに関する保存先アドレス情報及び共用する各コンピュータの転送済・未転送に関するステイタスに関する転送済・未転送ステイタス情報を少なくとも有するメタデータを添付することによってデータセットを作成するデータセット作成ステップと、
該データセット作成ステップによって作成されたデータセットを前記メタデータの保存先アドレス情報に基づいて前記各コンピュータのうちいずれかの未転送の一つの他のコンピュータに転送する第1データ転送ステップと、
他のコンピュータからの前記データセットが受信されたときに、その受信されたデータセットのメタデータにおける転送済・未転送ステイタス情報のうち、自身のステイタスを転送済に変更する第1転送済・未転送ステイタス情報変更ステップと、
前記受信されたデータセット又はメタデータを前記メタデータが有する保存先アドレス情報の保存先に格納する格納ステップと、
前記第1転送済・未転送ステイタス情報変更ステップによって転送済・未転送ステイタス情報が変更され、かつ前記格納ステップによってデータセット又は受信されたメタデータが格納されると、前記第1転送済・未転送ステイタス情報変更ステップによって変更された転送済・未転送ステイタス情報にステイタスが未転送のコンピュータが含まれているかの否かの判断を行なう未転送コンピュータ判断ステップと、
該未転送コンピュータ判断ステップによって、ステイタスが未転送のコンピュータが含まれていると判断された場合、前記各コンピュータのうちいずれかの未転送の一つの他のコンピュータに前記データセットを前記メタデータの保存先アドレス情報に基づいて転送する第2データ転送ステップと、
を実行させることを特徴とするデータ共用プログラム。 On the computer,
For real data shared with other computers connected by peer-to-peer, storage destination address information regarding the storage destination address of each computer to be shared, and transferred / untransferred status regarding the status regarding the transfer / non-transfer of each computer to be shared A dataset creation step for creating a dataset by attaching metadata having at least information ;
A first data transfer step of transferring the data set created by the data set creation step to one other untransferred computer among the computers based on the storage address information of the metadata;
When the data set is received from another computer, the first transferred / untransferred status is changed to transferred among the transferred / untransferred status information in the metadata of the received data set. A transfer status information change step;
A storage step of storing the received data set or metadata in a storage destination of storage destination address information included in the metadata;
When the transferred / untransferred status information is changed by the first transferred / untransferred status information changing step and the data set or the received metadata is stored by the storing step, the first transferred / untransferred status information is stored. An untransferred computer determination step for determining whether or not the transferred / untransferred status information changed by the transfer status information change step includes a computer whose status is not transferred;
If the untransferred computer determination step determines that a computer whose status has not been transferred is included, the data set is transferred to one of the other untransferred computers among the computers. A second data transfer step for transferring based on the storage destination address information;
Data sharing program for causing the execution.
前記データセットの前記実データ又はメタデータが更新されると、前記転送済・未転送ステイタス情報のうち、更新が行なわれたコンピュータ以外の共用するコンピュータのステイタスを未転送に変更する第2転送済・未転送ステイタス情報変更ステップと、
前記第2転送済・未転送ステイタス情報変更ステップによって、前記転送済・未転送ステイタス情報が変更されると、前記各コンピュータのうち前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送の他のコンピュータのいずれか一つに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第3データ転送ステップと、
を実行させることを特徴とする請求項1記載のデータ共用プログラム。 In addition to the computer,
When the actual data or metadata of the data set is updated, the second transferred data that changes the status of the shared computer other than the updated computer to non-transferred among the transferred / untransferred status information・ Untransfer status information change step,
When the transferred / untransferred status information is changed in the second transferred / untransferred status information changing step, the changed status of the transferred / untransferred status information among the computers is not transferred. A third data transfer step of transferring the data set or metadata to any one of the other computers based on the storage address information of the metadata;
Claim 1, wherein the data sharing program, characterized in that for the execution.
前記データセットの保存されている保存先が変更されると、前記保存先アドレス情報の変更されたコンピュータの保存先の変更を行なう保存先変更ステップと、
前記保存先変更ステップによって保存先の変更が行なわれると、前記転送済・未転送ステイタス情報のうち、保存先の変更が行なわれたコンピュータ以外の共用する他のコンピュータのステイタスを未転送に変更する第3転送済・未転送ステイタス情報変更ステップと、
前記第3転送済・未転送ステイタス情報変更ステップによって、前記転送済・未転送ステイタス情報が変更されると、前記各コンピュータのうち前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送の他のコンピュータのいずれか一つに前記更新されたメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第4データ転送ステップと、
を実行させることを特徴とする請求項1または請求項2に記載のデータ共用プログラム。 In addition to the computer,
When the storage location where the data set is stored is changed, a storage location change step for changing the storage location of the computer where the storage location address information is changed,
When the storage location is changed in the storage location changing step, the status of other shared computers other than the computer where the storage location is changed is changed to untransferred in the transferred / untransferred status information. A third transferred / untransferred status information changing step;
When the transferred / untransferred status information is changed by the third transferred / untransferred status information changing step, the changed status of the transferred / untransferred status information among the computers is not transferred. A fourth data transfer step of transferring the updated metadata to any one of the other computers based on the storage address information of the metadata;
The data sharing program according to claim 1, wherein the data sharing program is executed.
該データセット作成手段によって作成されたデータセットを前記メタデータの保存先アドレス情報に基づいて前記各コンピュータのうちいずれかの未転送の一つの他のコンピュータに転送する第1データ転送手段と、
他のコンピュータからの前記データセットを受信する受信手段と、
該受信手段によって受信されたデータセットのメタデータ又は受信されたメタデータの転送済・未転送ステイタス情報のうち、自身のステイタスを転送済に変更する第1転送済・未転送ステイタス情報変更手段と、
前記受信されたデータセット又はメタデータを前記メタデータが有する保存先アドレス情報の保存先に格納する格納手段と、
前記第1転送済・未転送ステイタス情報変更手段によって転送済・未転送ステイタス情報が変更され、かつ前記格納手段によってデータセット又はメタデータが格納されると、前記第1転送済・未転送ステイタス情報変更手段によって変更された転送済・未転送ステイタス情報にステイタスが未転送のコンピュータが含まれているかの否かの判断を行なう未転送コンピュータ判断手段と、
該未転送コンピュータ判断手段によって、ステイタスが未転送のコンピュータが含まれていると判断された場合、前記各コンピュータのうちいずれかの未転送の一つの他のコンピュータに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第2データ転送手段と、
を備えたことを特徴とするデータ共用システム用のコンピュータ。 For real data shared with other computers connected by peer-to-peer, storage destination address information regarding the storage destination address of each computer to be shared, and transferred / untransferred status regarding the status regarding the transfer / non-transfer of each computer to be shared A data set creation means for creating a data set by attaching metadata having at least information ;
First data transfer means for transferring the data set created by the data set creation means to one other untransferred computer among the computers based on the storage address information of the metadata;
Receiving means for receiving the data set from another computer;
First transferred / untransferred status information changing means for changing its own status to transferred among the metadata of the data set received by the receiving means or the transferred / untransferred status information of the received metadata; ,
Storage means for storing the received data set or metadata in a storage destination of storage destination address information included in the metadata;
When the transferred / untransferred status information is changed by the first transferred / untransferred status information changing means and the data set or metadata is stored by the storage means, the first transferred / untransferred status information Untransferred computer determining means for determining whether or not the transferred / untransferred status information changed by the changing means includes a computer whose status is not transferred;
If the untransferred computer determination means determines that a computer whose status has not been transferred is included, the data set or metadata is transferred to the other untransferred one of the computers. Second data transfer means for transferring based on metadata storage address information;
A computer for a data sharing system.
前記第2転送済・未転送ステイタス情報変更手段によって、前記転送済・未転送ステイタス情報が変更されると、前記各コンピュータのうち前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送の他のコンピュータのいずれか一つに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第3データ転送手段と、
を備えたことを特徴とする請求項4記載のデータ共用システム用のコンピュータ。 When the actual data or metadata of the data set is updated, the second transferred data that changes the status of the shared computer other than the updated computer to non-transferred among the transferred / untransferred status information・ Untransfer status information change means,
When the transferred / untransferred status information is changed by the second transferred / untransferred status information changing unit, the status of the changed transferred / untransferred status information among the computers is not transferred. Third data transfer means for transferring the data set or metadata to any one of the other computers based on the storage address information of the metadata;
5. The computer for data sharing system according to claim 4, further comprising:
前記保存先変更手段によって保存先の変更が行なわれると、前記転送済・未転送ステイタス情報のうち、保存先の変更が行なわれたコンピュータ以外の共用する他のコンピュータのステイタスを未転送に変更する第3転送済・未転送ステイタス情報変更手段と、
前記第3転送済・未転送ステイタス情報変更手段によって、前記転送済・未転送ステイタス情報が変更されると、前記各コンピュータのうち前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送の他のコンピュータのいずれか一つに前記更新されたメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第4データ転送手段と、
を備えたことを特徴とする請求項4または請求項5に記載のデータ共用システム用のコンピュータ。 When the storage location where the data set is stored is changed, storage location changing means for changing the storage location of the computer whose storage location address information has been changed,
When the storage destination is changed by the storage destination changing means, the status of other shared computers other than the computer whose storage destination has been changed is changed to untransferred in the transferred / untransferred status information. A third transferred / untransferred status information changing means;
When the transferred / untransferred status information is changed by the third transferred / untransferred status information changing unit, the changed status of the transferred / untransferred status information among the computers is not transferred. A fourth data transfer means for transferring the updated metadata to any one of the other computers based on the storage address information of the metadata;
A computer for a data sharing system according to claim 4 or 5, characterized by comprising :
該データセット作成工程によって作成されたデータセットを前記メタデータの保存先アドレス情報に基づいて前記各コンピュータのうちいずれかの未転送の一つの他のコンピュータに転送する第1データ転送工程と、
他のコンピュータからの前記データセットが受信されたときに、その受信されたデータセットのメタデータ又は受信されたメタデータの転送済・未転送ステイタス情報のうち、自身のステイタスを転送済に変更する第1転送済・未転送ステイタス情報変更工程と、
前記受信されたデータセット又はメタデータを前記メタデータが有する保存先アドレス情報の保存先に格納する格納工程と、
前記第1転送済・未転送ステイタス情報変更工程によって転送済・未転送ステイタス情報が変更され、かつ前記格納工程によってデータセット又はメタデータが格納されると、前記第1転送済・未転送ステイタス情報変更工程によって変更された転送済・未転送ステイタス情報にステイタスが未転送のコンピュータが含まれているかの否かの判断を行なう未転送コンピュータ判断工程と、
該未転送コンピュータ判断工程によって、ステイタスが未転送のコンピュータが含まれていると判断された場合、前記各コンピュータのうちいずれかの未転送の一つの他のコンピュータに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第2データ転送工程と、
を備えたことを特徴とするデータ共用方法。 For real data shared with other computers connected by peer-to-peer, storage destination address information regarding the storage destination address of each computer to be shared, and transferred / untransferred status regarding the status regarding the transfer / non-transfer of each shared computer a higher data set creation factory create a data set by appending metadata having at least information,
A first data transfer step of transferring the data set created by the data set creation step to one other untransferred computer among the computers based on the storage address information of the metadata;
When the data set from another computer is received, the status of the received data set or the transferred / untransferred status information of the received metadata is changed to transferred. First transferred / untransferred status information changing process;
A storage step of storing the received data set or metadata in a storage destination of storage destination address information included in the metadata;
When the transferred / untransferred status information is changed by the first transferred / untransferred status information changing step and the data set or metadata is stored by the storing step, the first transferred / untransferred status information is stored. An untransferred computer determination step for determining whether the transferred / untransferred status information changed by the change step includes a computer whose status is not transferred;
If the untransferred computer determination step determines that a computer whose status has not been transferred is included, the data set or metadata is transferred to one of the untransferred computers among the computers. A second data transfer step of transferring based on the storage address information of the metadata;
A data sharing method characterized by comprising:
前記第2転送済・未転送ステイタス情報変更工程によって、前記転送済・未転送ステイタス情報が変更されると、前記各コンピュータのうち前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送の他のコンピュータのいずれかに前記データセット又はメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第3データ転送工程と、
を備えたことを特徴とする請求項7記載のデータ共用方法。 When the actual data or metadata of the data set is updated, the second transferred data that changes the status of the shared computer other than the updated computer to non-transferred among the transferred / untransferred status information・ Untransfer status information change process,
When the transferred / untransferred status information is changed in the second transferred / untransferred status information changing step, the changed status of the transferred / untransferred status information among the computers is not transferred. A third data transfer step of transferring the data set or metadata to any of other computers based on the storage address information of the metadata;
The data sharing method according to claim 7, further comprising :
前記保存先変更工程によって保存先の変更が行なわれると、前記転送済・未転送ステイタス情報のうち、保存先の変更が行なわれたコンピュータ以外の共用する他のコンピュータのステイタスを未転送に変更する第3転送済・未転送ステイタス情報変更工程と、
前記第3転送済・未転送ステイタス情報変更工程によって、前記転送済・未転送ステイタス情報が変更されると、前記各コンピュータのうち前記変更された前記転送済・未転送ステイタス情報のステイタスが未転送の他のコンピュータのいずれか一つに前記更新されたメタデータを前記メタデータの保存先アドレス情報に基づいて転送する第4データ転送工程と、
を備えたことを特徴とする請求項7または請求項8に記載のデータ共用方法。 When the storage location where the data set is stored is changed, a storage location change step for changing the storage location of the computer where the storage location address information is changed,
When the storage destination is changed by the storage destination changing step, the status of other shared computers other than the computer whose storage destination has been changed is changed to untransferred in the transferred / untransferred status information. A third transferred / untransferred status information changing step;
When the transferred / untransferred status information is changed in the third transferred / untransferred status information changing step, the status of the changed transferred / untransferred status information among the computers is not transferred. A fourth data transfer step of transferring the updated metadata to any one of the other computers based on the storage address information of the metadata;
The data sharing method according to claim 7 or 8, further comprising :
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005101512A JP4705795B2 (en) | 2005-03-31 | 2005-03-31 | Data sharing program, computer for data sharing system, and data sharing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005101512A JP4705795B2 (en) | 2005-03-31 | 2005-03-31 | Data sharing program, computer for data sharing system, and data sharing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006285398A JP2006285398A (en) | 2006-10-19 |
| JP4705795B2 true JP4705795B2 (en) | 2011-06-22 |
Family
ID=37407293
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005101512A Expired - Fee Related JP4705795B2 (en) | 2005-03-31 | 2005-03-31 | Data sharing program, computer for data sharing system, and data sharing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4705795B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9164997B2 (en) * | 2012-01-19 | 2015-10-20 | Microsoft Technology Licensing, Llc | Recognizing cloud content |
| CN116614518B (en) * | 2023-05-30 | 2025-11-28 | 北京奇艺世纪科技有限公司 | Cluster data sharing method, device, equipment and medium |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4357827B2 (en) * | 2002-11-07 | 2009-11-04 | 大日本印刷株式会社 | Peer-to-peer document sharing network system |
| US20040107242A1 (en) * | 2002-12-02 | 2004-06-03 | Microsoft Corporation | Peer-to-peer content broadcast transfer mechanism |
-
2005
- 2005-03-31 JP JP2005101512A patent/JP4705795B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006285398A (en) | 2006-10-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101167069B (en) | System and method for peer-to-peer synchronization of files | |
| US9330106B2 (en) | Selective synchronization of remotely stored content | |
| RU2471227C2 (en) | Peer-to-peer synchronisation assisted with service unit | |
| JP4851113B2 (en) | System and method for implementing a pull-type autonomous synchronization system based on peer-to-peer rules | |
| US8078577B2 (en) | Method of bi-directional synchronization of user data | |
| CN1828599B (en) | Ghosted synchronization system and method | |
| US7779073B2 (en) | Computer network | |
| US8219526B2 (en) | Synchronizing file partitions utilizing a server storage model | |
| EP2441030B1 (en) | Content mesh searching | |
| US20110087738A1 (en) | System and method for distributing shared storage for collaboration across multiple devices | |
| US20150199414A1 (en) | Locally cached file system | |
| CN102365634A (en) | System for managing distributed assets and metadata | |
| US20080195739A1 (en) | Resolving Synchronization Duplication | |
| JP2012168968A (en) | Document synchronization over stateless protocols | |
| JP6506374B2 (en) | Cache management | |
| US20070185919A1 (en) | Using directory historical data to facilitate automated file updates | |
| JP2023539945A (en) | External location synchronization | |
| WO2016067376A1 (en) | Terminal device, data management system, and server device | |
| JP4705795B2 (en) | Data sharing program, computer for data sharing system, and data sharing method | |
| WO2008044239A1 (en) | A method, system and apparatus to seamlessly manage and access files across multiple devices | |
| JP2005321922A (en) | Information sharing system and information sharing program | |
| JP2002149465A (en) | System for sharing information | |
| JP2009169466A (en) | Client / server system, preview data creation device, preview data creation program | |
| US20100205161A1 (en) | Transitive file copying | |
| US20080270453A1 (en) | Keyword-based content management |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20071106 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20071107 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080324 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101116 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110114 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110222 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110314 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |