[go: up one dir, main page]

WO2006100723A1 - ファイル管理システム - Google Patents

ファイル管理システム Download PDF

Info

Publication number
WO2006100723A1
WO2006100723A1 PCT/JP2005/004983 JP2005004983W WO2006100723A1 WO 2006100723 A1 WO2006100723 A1 WO 2006100723A1 JP 2005004983 W JP2005004983 W JP 2005004983W WO 2006100723 A1 WO2006100723 A1 WO 2006100723A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
node
history list
distribution
peer
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.)
Ceased
Application number
PCT/JP2005/004983
Other languages
English (en)
French (fr)
Inventor
Jun Ogawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007509077A priority Critical patent/JP5184078B2/ja
Priority to PCT/JP2005/004983 priority patent/WO2006100723A1/ja
Publication of WO2006100723A1 publication Critical patent/WO2006100723A1/ja
Priority to US11/851,516 priority patent/US20080010299A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1834Distributed file systems implemented based on peer-to-peer networks, e.g. gnutella

Definitions

  • the present invention relates to a file management system in a peer-to-peer network (P2P). More specifically, a file distribution destination node is stored in a distribution source of an updatable file, and an update file is stored in the distribution destination every time a file is updated. Concerning the file management system to be distributed.
  • P2P peer-to-peer network
  • P2P peer-to-peer
  • a copy file at one node in the network is further copied at another node to realize file sharing with scalability.
  • P2P communication the following two functions enable file sharing between end nodes.
  • File search function A function for searching which node has a file. There are two main ways to achieve this.
  • Central server type A method in which the central server has file attribute information (file name, time stamp, etc.) and a list of nodes that have the file, and the end node searches for it.
  • Pure-P2P type A method of searching for a node having a file by flooding a search message between P2P nodes.
  • File download function A function to transfer a file by establishing a session with a node obtained by file search.
  • FIG. 1 is a schematic diagram for explaining the outline of a conventional Gnutella. Gnutella overview
  • Gnutella is an application software for exchanging files between individuals over the Internet. Gnutella users are connected to each other through the Internet and publish a list of files they can share with other users from among the files they own. When a file search is performed on Gnutella, nodes other than its own node are released, and those that match the conditions are extracted from the files. The node that has performed the file search also directly acquires the resource. Can be downloaded.
  • a file discovery request query (Query)
  • the request is sequentially relayed between adjacent nodes.
  • the host having the requested file returns a hit response, thereby realizing the file discovery.
  • Fig. 2 is a diagram for explaining the file distribution status in a conventional pure P2P network.
  • the file with the file name Work.doc, update time 20AA BB month CC day, DD hour EE minute FF second is viewed from node A through node A via node A.
  • Node C is a distribution destination node as seen from node A. Disclosure of the invention
  • An object of the present invention is to immediately transmit an updated file to a delivery destination node when a file is updated when performing file exchange in the P2P framework.
  • a database storing updatable files
  • a file management system comprising distribution history list creation means for creating a delivery history list for storing a delivery destination node of a stored file.
  • At least one of the nodes included in the peer-to-peer network holds the distribution history list of the updated file distribution destination node, so that the updated file can be immediately distributed to the distribution destination.
  • the distribution destination node can always obtain the latest file even if the distribution source node updates the file.
  • At least one node is registered in the distribution history list within a predetermined time when the file is updated.
  • File redistribution means to distribute updated files to existing distribution destination nodes #2.
  • all nodes included in the peer-to-peer network include a distribution history list creation unit and a file redistribution unit.
  • the file management system allows a peer-to-peer network separate from the distribution source node when the file distribution source node also leaves the peer-to-peer network capability.
  • a distribution history list delegation means for delegating the distribution history list to the included alternative node is provided.
  • the distribution history list can be entrusted to the alternative node, so that the update file cannot be obtained.
  • the file management system is configured such that when a node that has also lost its peer-to-peer network capability returns to the peer-to-peer network, the distribution history list is returned from the alternative node.
  • the alternative node has a file return means to return to
  • the updated node can distribute the update file to the delivery destination node.
  • a method for realizing the file management system, a program for causing a computer to execute the operation of the file management system, and a recording medium recording the program are also provided.
  • FIG. 1 is a schematic diagram for explaining the outline of a conventional Gnutella.
  • FIG. 2 is a diagram for explaining a file distribution state in a conventional pure P2P network.
  • FIG. 3 is a block diagram showing a configuration of one relay node according to the embodiment of the present invention.
  • FIG. 4 is a diagram for explaining the overall flow of processing for dynamically creating a file distribution route according to an embodiment of the present invention.
  • FIG. 5 is a diagram for explaining a processing flow in a distribution source node a according to the embodiment of the present invention.
  • FIG. 6 is a diagram for explaining the flow of processing in the delivery destination node ⁇ according to the embodiment of the present invention.
  • FIG. 8 is a diagram for explaining the flow of processing in a distribution source node a at the time of file update according to the embodiment of the present invention.
  • FIG. 9 is a diagram for explaining the flow of processing in the delivery destination node ⁇ when updating a file according to the embodiment of the present invention.
  • FIG. 10A is a diagram for explaining the overall flow of processing when requesting management of a distribution history list database according to the embodiment of the present invention.
  • FIG. 10B is a time sequence diagram showing a flow of processing when a distribution history list database management request is made according to the embodiment of the present invention.
  • FIG. 10C A diagram showing a distribution history list of node a at the time of a management request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 10D is a diagram showing a distribution history list of node ⁇ at the time of a management request for a distribution history list database according to an embodiment of the present invention.
  • FIG. 10E] is a diagram showing a distribution history list of node ⁇ at the time of a management request for a distribution history list database according to an embodiment of the present invention.
  • FIG. 10F A diagram showing a distribution history list of node ⁇ at the time of a management request for a distribution history list database according to an embodiment of the present invention.
  • FIG. 10B is a diagram for explaining the flow of the process of FIG. 10B (a) at the distribution destination node ⁇ at the time of the management request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 14 is a diagram for explaining the flow of the process (d) of FIG. 10B at the distribution destination node ⁇ at the time of the management request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 15A is a diagram for explaining the overall flow of processing when a distribution history list database return request is made according to an embodiment of the present invention.
  • FIG. 15B is a time sequence diagram illustrating a processing flow when a distribution history list database is requested to be returned according to the embodiment of the present invention.
  • FIG. 15C is a diagram showing a distribution history list of node a at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 15D is a diagram showing a distribution history list of node ⁇ at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 15E is a diagram showing a distribution history list of node ⁇ when a distribution history list database is returned according to an embodiment of the present invention.
  • FIG. 16 is a diagram for explaining the flow of the process of FIG. 15B (a) in the distribution destination node ⁇ at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 17 is a diagram for explaining the flow of the process (b) of FIG. 15B at the distribution destination node ⁇ when the distribution history list database is returned according to the embodiment of the present invention.
  • FIG. 18 is a diagram for explaining the flow of the process (c) of FIG. 15B at the distribution destination node ⁇ at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 19 is a diagram for explaining the flow of the process (d) of FIG. 15B at the distribution destination node ⁇ at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • FIG. 3 is a functional block diagram showing the configuration of one relay node in the P2P network according to the embodiment of the present invention.
  • node 3 is the distribution history list database 3 01, final database 302, reception 303, update final processing 304, P2P processing unit 305, field extraction unit 306, distribution history list creation Z update unit 307, distribution history list search unit 308
  • Distribution history list search unit 308 also includes a return distribution history list search unit.
  • Distribution history list transmission unit 309 also includes a return distribution history list transmission unit.
  • the distribution history list database 301 is a database for managing the distribution history list, and stores the following information as shown in the table in the figure.
  • File name File name of the file downloaded to the local node or downloaded by the local node via the P2P network.
  • Distribution destination IP address IP address of the distribution destination node of the file with the above "file name”. Node power with this database When this file is downloaded to multiple nodes, multiple IP addresses are listed in this entry. If the file has not been downloaded from this node, this entry will be “NUL” (denoted as “-” in the figure).
  • Request flag Indicates an entry in the distribution history list requested from another node. If the content is “0”, it indicates that the entry is created on the own node, and if it is “1”, it indicates that the entry is created on another node. The following “Requester IP address” entry is also listed.
  • the file database 302 is a database for managing files.
  • the receiving unit 303 electrically terminates communication from the network, identifies the type of received frame, and determines an internal processing flow (a group of functional blocks that pass through).
  • the update file processing unit 304 writes the updated file to the file database 302 when receiving the updated file from the upstream node.
  • the writing method is implementation-dependent, such as unconditionally overwriting old files or overwriting after inquiring the user.
  • the P2P processing unit 305 performs the following processing that is necessary in so-called P2P.
  • File search processing P2P file search processing in response to a file search request, forward processing of the request (when there is a search target file in the local node), and notification of file search results Perform processing (if there is a file to be searched on the local node).
  • the field extraction unit 306 extracts information on the fields necessary for creating the distribution history list database 301 when the file is downloaded or when the file is downloaded.
  • the field information to be extracted is as follows:
  • Distribution history list creation Z update unit 307 creates and updates entries in the distribution history list (changes and deletes entry fields).
  • the distribution history list search unit 308 searches the distribution history list using the search key in which the function block power in the previous stage is also specified, and uses the field of the hit entry as a return value.
  • the distribution history list transmission unit 309 returns the distribution history list for each IP address extracted by the distribution history list search unit 308.
  • the distribution history list search unit 308 also includes a return distribution history list search unit for files that are returned when the shutdown of the node is recovered.
  • the distribution history list transmission unit 309 also includes a return distribution history list transmission unit for the returned file.
  • Control message transmission unit 310 transmits a control message related to management of distribution history list database 301. There are two types of control frames (see the next section for the meaning of each).
  • Distribution history list transmission section 309 transmits all entries in distribution history list database 301.
  • the file transmission unit 312 searches the distribution history list database 301 for the file found as a search result in the file search unit 311 and transmits it to the distribution destination IP address. Or when sending a request to return the distribution history list, send it to the requesting IP address.
  • FIG. 4 is a diagram for explaining the overall flow of processing for dynamically creating a file distribution route according to the embodiment of the present invention.
  • the P2P file download process is performed and the distribution history list is created by the file distribution source node ⁇ and the file distribution destination node ⁇ .
  • the fields “request flag” and “request source IP address” in the “distribution history list” are omitted because they are not used for dynamically creating a file distribution route.
  • a file distribution route can be created dynamically.
  • the download request frame is transmitted to the node OC of the requesting node ⁇ force distribution destination, and the distribution destination node OC transfers the file (Document-A) to the requesting node j8 in response to the download request frame.
  • the distribution source node registers the distribution destination node in the distribution history list.
  • FIG. 6 is a diagram for explaining the flow of processing in the delivery destination node ⁇ according to the embodiment of the present invention.
  • the receiving unit 303 receives from the node ⁇ a file requested by the own node (node j8) to download, as a file transfer frame.
  • the P2P processing unit 305 writes the received file into the distribution history list database 301.
  • the field extraction unit 306 extracts the following information from the received download file and its transfer frame.
  • Distribution history list creation Z update unit 307 creates a new entry in distribution history list database 301 from the data extracted from field extraction unit 306.
  • FIG. 7 is a diagram for explaining the overall flow of processing when updating a file according to the embodiment of the present invention.
  • the file (Document-A) is updated at node a that has the original of the file (1), and triggered by that, the updated file (Document-A) is delivered to the S node ⁇ 8 based on the distribution history list. (2) shows the process.
  • the file is downloaded to nodes other than the power node described only when delivering from node oc to node ⁇ , and the process is the same. .
  • FIG. 8 is a diagram for explaining the flow of processing in the distribution source node a at the time of file update according to the embodiment of the present invention.
  • a timer unit 313 periodically drives a file search unit.
  • the file search unit 311 searches the file database 302 for files that have been updated since the previous search.
  • the file information (file name and file itself) is passed to the distribution history list search unit 308. If there are no updated files, the process ends.
  • the distribution history list search unit 308 searches the distribution history list database 301 using the file name of the file information passed from the file search unit 311 as a search key. If there is an entry for that file name, the IP address of the node of “distribution destination IP address” and the file information passed from the file search unit 311 are passed to the file transmission unit 312.
  • the file transmission unit 312 transmits the file as an update file transfer frame to the node of “distribution destination IP address”.
  • FIG. 9 is a diagram for explaining the flow of processing in the delivery destination node ⁇ at the time of file update according to the embodiment of the present invention.
  • the receiving unit 303 receives the update file transfer frame transmitted by the node ⁇ .
  • the update file processing unit 304 writes a file included in the update file transfer frame to the file database 302.
  • the detailed procedure of the writing method such as whether to write unconditionally or whether or not the user can write, is not specified in the present invention.
  • FIG. 10A to FIG. 10F are diagrams for explaining the overall flow of processing when requesting management of the distribution history list database according to the embodiment of the present invention.
  • FIG. 10C, FIG. 10D, FIG. 10E, and FIG. 10F show the distribution history lists of the nodes ( ⁇ , ⁇ , ⁇ , and ⁇ , respectively).
  • the requesting node j8 leaves the ⁇ 2 ⁇ network, if there is a file reception due to a file update, the requesting node ⁇ receives it on behalf of it, and when the distribution history list is returned, the file is also received. Requested node ⁇ force Sent to requesting node ⁇ .
  • the node ⁇ is determined in advance by a method (a selection method based on a criterion such as an adjacent node on the ⁇ 2 ⁇ network) that does not describe other nodes (node ⁇ ) on the ⁇ 2 ⁇ network. And shall.
  • FIG. 11 is a diagram for explaining the flow of the process of FIG. 10B (a) in the distribution destination node j8 at the time of the management request for the distribution history list database according to the embodiment of the present invention.
  • the console unit 314 is triggered by a user giving a shutdown instruction to the node j8, etc., and the distribution history list search unit 308 requests that another console manage the distribution history list from the console unit 314. Notify Receiving this, the distribution history list search unit 308 extracts “distribution destination IP address” and “download source IP address” from all entries of the distribution history list in the distribution history list database 301.
  • the control message transmission unit 310 transmits a distribution history list change request frame to both IP addresses extracted by the distribution history list search unit 308.
  • the change request sent contains the following information: (1) Change request source IP address (in this case, node 13)
  • the "change destination IP address" is determined in advance by a method (such as a selection method based on a criterion such as a node adjacent to the P2P network). To do.
  • Distribution history list transmission section 309 transmits the distribution history list as a distribution history list change request frame to an arbitrary adjacent node (node ⁇ in this case) on the P2P network that has been determined in advance.
  • FIG. 12 is a diagram for explaining the flow of the process (b) of FIG. 10B at the distribution destination node ⁇ at the time of the management request for the distribution history list database according to the embodiment of the present invention.
  • the receiving unit 303 receives the distribution history list change request frame (transmitted by the node j8).
  • the distribution history list creation Z update unit 307 includes the distribution history list change request frame included in the distribution history list change request frame.
  • the following two search processes are performed on the distribution history list database 301 using the “change request source IP address” as a search key.
  • Requester IP address field Write the IP address of the sender node (node ⁇ ) in the distribution history list.
  • the distribution history list database 301 transmits a distribution history list reception completion frame to the transmission history list transmission source (node j8).
  • FIG. 14 is a diagram for explaining the flow of the process (d) of FIG. 10B in the distribution destination node j8 at the time of the management request for the distribution history list database according to the embodiment of the present invention.
  • receiving section 303 receives a distribution history list reception completion frame (transmitted by node ⁇ ).
  • the distribution history list creation / update unit 307 deletes all entries in the distribution history list, and then notifies the console unit 314 that the processing for managing the distribution history list has been completed.
  • FIG. 15A to FIG. 15F are diagrams for explaining the overall flow of processing at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • the distribution history list is retained by another node (in Figure 15A).
  • requesting node ⁇ if the reason why the requesting node (node j8) temporarily leaves the P2P network is resolved again, it joins the P2P network again and the distribution history list of its own node is requested (node ⁇ ) Have the power returned.
  • node ⁇ is determined in advance by other methods (node ⁇ ) on the ⁇ 2 ⁇ network by a method not described here (such as a selection method based on criteria such as an adjacent node on the ⁇ 2 ⁇ network). It shall be. 15C, FIG. 15D, FIG. 15E, and FIG. 15F show the distribution history lists of node ⁇ , node j8, node ⁇ , and node ⁇ at this time, respectively.
  • FIG. 16 is a diagram for explaining the flow of the process of FIG. 15B (a) in the distribution destination node ⁇ at the time of a return request for the distribution history list database according to the embodiment of the present invention.
  • the timer unit 313 drives the distribution history list search unit 308 to periodically search for an entry having the “request flag field” force S ”l”.
  • the distribution history list search unit 308 that has been driven by the timer unit 313 searches the distribution history list database 301 for an entry having the “request flag field” force, T. For each “request source IP address field” of the corresponding entry, the fields other than the “request flag field” and “request source IP address field” of the entry are passed to the distribution history list transmission unit. If the file in the distribution history list that is managed by the proxy is updated during the proxy management according to the management request procedure of the distribution history list database 301 described with reference to FIG. 10 to FIG. Is also delivered to the distribution history list transmission unit 309 (not shown).
  • the distribution history list transmission unit 309 distributes the distribution history list entry and file (if updated) passed from the distribution history list search unit 308 with the requesting IP address as the destination address. It is transmitted as a history list transmission frame.
  • FIG. 17 is a diagram for explaining the flow of the process (b) of FIG. 15B in the distribution destination node j8 when the distribution history list database is returned according to the embodiment of the present invention.
  • receiving section 303 receives a distribution history list transmission frame.
  • the distribution history list creation Z updating unit 307 also creates an entry in the distribution history list database 301 (restoration of entries) for the distribution history list transmission frame power. If the file is also included in the distribution history list transmission frame, the file in the file database 302 is also updated (not shown).
  • the control message transmission unit 310 transmits the following two control messages.
  • Distribution history list reception completion frame Transmitted to the transmission history list transmission frame transmission source (node ⁇ ).
  • Distribution history list change request frame transmitted for each download source IP address (IP-a) and distribution destination IP address (IP-y) of the restored entry.
  • the distribution history list change request frame includes the transmission source IP address (IP- ⁇ ) of the distribution history list transmission frame.
  • FIG. 18 is a diagram for explaining the flow of the process (c) of FIG. 15B at the delivery destination node ⁇ at the time of a return request for the delivery history list database according to the embodiment of the present invention.
  • receiving section 303 receives a distribution history list reception completion frame. If the frame is not received within a certain time after the transmission history list transmission frame is transmitted, it ends with a reception timeout. This is the power to determine that the requesting IP address is not yet able to re-manage the distribution history list.
  • Distribution history list transmission unit 309 searches for “request source IP address field” in distribution history list database 301 using the transmission source IP address (IP- ⁇ ) of the distribution history list reception completion frame as a search key. , Delete the corresponding entry.
  • FIG. 19 is a diagram for explaining the flow of the process (d) of FIG. 15B at the distribution destination node ⁇ at the time of the distribution history list database return request according to the embodiment of the present invention.
  • the receiving unit 303 receives a distribution history list change request frame.
  • the distribution history list transmission unit 309 performs the following two search processes on the distribution history list DB using the IP address (IP- ⁇ ) included in the distribution history list change request frame as a search key.
  • each node manages the file distribution route in the network, enabling redistribution of the update file, thereby allowing the user to search for the file. Man-hours are reduced.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

 ピアツーピア型ネットワークに含まれるノードの少なくとも1つにおいて、更新可能ファイルを格納するデータベースと、該データベースに格納されたファイルの配信先ノードを記憶する配信履歴リストを作成する配信履歴リスト作成部とを備えることを特徴とするファイル管理システム、ファイル管理方法、ファイル管理プログラム及びファイル管理プログラム記録媒体が提供される。

Description

ファイル管理システム 技術分野
[0001] 本発明は、ピアツーピアネットワーク(P2P)におけるファイル管理システムに関し、 より詳細には更新可能ファイルの配信元においてファイル配信先ノードを記憶してお き、ファイル更新の都度配信先に更新ファイルを配信するファイル管理システムに関 する。
背景技術
[0002] 従来から、特定のサーバを介さず、エンドノード間でファイル共有を実現するピアツ 一ピア(P2P)型ネットワークが着目されている。 P2P型ネットワークでは、そのネットヮ ーク内のあるノードにおけるコピーファイルが別のノードでさらにコピーされ、スケーラ ピリティがあるファイル共有を実現して 、る。従来の P2P通信では下記の 2つの機能 により、エンドノード間でのファイル共有を実現している。
[0003] 1)ファイル検索機能: ファイルをどのノードが有しているかを検索できる機能。その 実現方式は大きく二つある。
(a)中央サーバ型:中央サーバがファイルの属性情報 (ファイル名やタイムスタンプ など)と、そのファイルを有するノードのリストを有し、エンドノードがこれを検索する方 式。
(b)ピュア- P2P型: P2Pのノード間で検索メッセージをフラッデイング (Flooding)し 、ファイルを有するノードを検索する方式。
[0004] 2)ファイルのダウンロード機能: ファイル検索によって得られたノードとセッションを 張ってファイル転送を行う機能。
本発明は上記のピュア P2P型を対象とするため、以下にその動作例について記載 する。なお P2Pでは、ピュア P2P型であれ中央サーバ型であれ、現状、標準化された 技術はな 、ため、ここではピュア P2P型の代表的なアプリケーションソフトであるグヌ 一テラ (Gnutella)を従来技術として示す。
[0005] 図 1は従来の Gnutellaの概要を説明する概略図である。 Gnutella概要
Gnutellaはインターネットを通じて個人間でファイルの交換を行うアプリケーションソ フトである。 Gnutellaのユーザはインターネットを通じて相互に接続され、互いに所有 するファイルの中から、他のユーザと共有してもよ 、ファイルのリストを公開する。 Gnutella上でファイル検索を行うと自ノード以外のノードが公開して 、るファイルから 条件に合致するものが抽出され、ファイル検索を行ったノードは該リソースを有するノ 一ドカも直接、該リソースをダウンロードすることができる。
Gnutellaにおけるファイル検索手順
以下、 Gnutellaにおけるファイル検索手順にっ 、て記す。
(手順特徴)
図 1において、ファイルの発見要求クエリ(Query)を、接続しているホストに送ると、 該要求が隣ノード間で順次中継される。要求対象のファイルを有するホストがヒット( Hit)応答を返すことで、ファイルの発見を実現する。
(手順)
(1)隣接ノードに対して、ファイルのクエリ (Query)コマンドを送信する。
(2)このコマンドは順次中継される。
(3)ファイルを有するノードは、 Hit応答を返す。
(4) Hit応答は Queryとは逆の経路を順にたどって、 Queryの送信元のノードへ応答 する。
(5) Hit応答を返したノードのうちのいずれかと TCPで接続する。
(6)ファイルの Get要求を送信する。
(7)ファイルの内容が送り返されてくる。
なお上記(2)において、無限に Queryが中継されてしまうことを防ぐために、 IP (Internet Protocol)と同様に TTL(Time To Live)の概念があり、一定ノード数以上を転 送されたクエリは廃棄される。
図 2は従来のピュア P2Pネットワークにおけるファイルの配布状態を説明する図であ る。図示例では、ファイル名が Work.doc、更新時刻が 20AA年 BB月 CC日、 DD時 E E分 FF秒のファイルがノード Aから見てのダウンロード元ノード Bからノード Aを経由し てノード Cに配布されている。ノード Cはノード Aから見ての配布先ノードである。 発明の開示
発明が解決しょうとする課題
[0007] 上記従来技術では、ダウンロードを希望するノードによるファイル検索がトリガとなつ て通信が始まる。これは、従来技術では音楽ファイルなど、更新が行われないことを 前提としたファイルの交換を対象としていたためである。このため、更新が行われるヮ ードゃエタセル等で作成されたファイルをダウンロードした場合は、ダウンロード後の 更新が行われたかどうかは配信先ノードには直ちには分力もないという問題があった
[0008] このため、従来技術では、ファイルの作成元のノードでファイル更新があった際に、 その更新を他ノード (そのファイルのコピーを有するノード)で検知するためには、ファ ィル検索を繰り返すことによって更新有無をチェックする、といった煩雑な手間がかか るという問題があった。これは上記したように、通信のトリガがダウンロードを希望する ノードによるファイル検索となっているためである。
[0009] 本発明の目的は、 P2Pの枠組みでのファイル交換を行う場合に、ファイルの更新が あった場合に配信先ノードにその更新ファイルを直ちに送信することにある。
この目的を達成するために、本発明の第 1の態様によれば、ピアツーピア型ネットヮ ークに含まれるノードの少なくとも 1つにお 、て、更新可能ファイルを格納するデータ ベースと、該データベースに格納されたファイルの配信先ノードを記憶する配信履歴 リストを作成する配信履歴リスト作成手段とを備えることを特徴とするファイル管理シス テムが提供される。
[0010] これにより、ピアツーピア型ネットワークに含まれるノードの少なくとも 1つのノードは 更新されたファイルの配信先ノードの配信履歴リストを保持して ヽるので、配信先に 更新ファイルを直ちに配信することができ、配信先ノードでは配信元ノードでファイル の更新があっても常に最新のファイルを入手することが可能になる。
[0011] 本発明の第 2の態様によれば、上記ファイル管理システムでは、少なくとも 1つのノ ードは、ファイルが更新された時に、その更新時力 所定時間内に配信履歴リストに 登録されている配信先ノードに更新後のファイルを配布するファイル再配布手段を備 える。
これにより、配信先ノードに更新後のファイルが確実に配布される。
[0012] 本発明の第 3の態様によれば、上記ファイル管理システムでは、ピアツーピア型ネッ トワークに含まれるすべてのノードは、配信履歴リスト作成手段とファイル再配布手段 とを備えている。
これにより、ピアツーピア型ネットワークに含まれるすべてのノードにおいて、配信先 ノードに更新後のファイルが確実に配布される。
[0013] 本発明の第 4の態様によれば、上記ファイル管理システムは、ファイルの配信元ノ ードがピアツーピア型ネットワーク力も離脱する場合に、配信元ノードとは別のピアッ 一ピア型ネットワークに含まれる代替ノードに配信履歴リストを委託する配信履歴リス ト委託手段を備えている。
これにより、ファイル配信元ノードがシャットダウン等によりネットワーク力 離脱する 場合でも、代替ノードに配信履歴リストを委託できるので更新ファイルの入手ができな くなることはない。
[0014] 本発明の第 5の態様によれば、上記ファイル管理システムは、ピアツーピア型ネット ワーク力も離脱したノードがピアツーピア型ネットワークに復帰した場合に、代替ノー ドから配信履歴リストを該復帰したノードに返却するファイル返却手段を代替ノードが 備えている。
これにより、ピアツーピア型ネットワーク力 離脱したノードがピアツーピア型ネットヮ ークに復帰した場合に、復帰したノードにより更新ファイルが配信先ノードに配布でき るよつになる。
[0015] 本発明によれば、上記ファイル管理システムを実現する方法、コンピュータに上記 ファイル管理システムの動作を実行させるプログラム及びそのプログラムを記録した 記録媒体も提供される。
図面の簡単な説明
[0016] [図 1]従来の従来の Gnutellaの概要を説明する概略図である。
[図 2]従来のピュア P2Pネットワークにおけるファイルの配布状態を説明する図である [図 3]本発明の実施の形態による一つの中継ノードの構成を示すブロック図である。
[図 4]本発明の実施の形態によるファイルの配布経路を動的に作成する処理の流れ を全体的に説明する図である。
[図 5]本発明の実施の形態による配信元ノード aにおける処理の流れを説明する図 である。
圆 6]本発明の実施の形態による配信先ノード βにおける処理の流れを説明する図 である。
[図 7]本発明の実施の形態によるファイル更新時の処理の流れを全体的に説明する 図である。
[図 8]本発明の実施の形態によるファイル更新時の配信元ノード aにおける処理の流 れを説明する図である。
[図 9]本発明の実施の形態によるファイル更新時の配信先ノード βにおける処理の流 れを説明する図である。
[図 10A]本発明の実施の形態による配信履歴リストデータベースの管理依頼時の処 理の流れを全体的に説明する図である。
[図 10B]本発明の実施の形態による配信履歴リストデータベースの管理依頼時の処 理の流れを示すタイムシーケンス図である。
圆 10C]本発明の実施の形態による配信履歴リストデータベースの管理依頼時にお けるノード aの配信履歴リストを示す図である。
圆 10D]本発明の実施の形態による配信履歴リストデータベースの管理依頼時にお けるノード βの配信履歴リストを示す図である。
圆 10E]本発明の実施の形態による配信履歴リストデータベースの管理依頼時にお けるノード γの配信履歴リストを示す図である。
圆 10F]本発明の実施の形態による配信履歴リストデータベースの管理依頼時にお けるノード δの配信履歴リストを示す図である。
圆 11]本発明の実施の形態による配信履歴リストデータベースの管理依頼時の配信 先ノード βにおける図 10Bの(a)の処理の流れを説明する図である。
圆 12]本発明の実施の形態による配信履歴リストデータベースの管理依頼時の配信 先ノード δにおける図 10Βの(b)処理の流れを説明する図である。
[図 13]本発明の実施の形態による配信履歴リストデータベースの管理依頼時の配信 先ノード δにおける図 10Bの(c)処理の流れを説明する図である。
[図 14]本発明の実施の形態による配信履歴リストデータベースの管理依頼時の配信 先ノード βにおける図 10Bの(d)処理の流れを説明する図である。
[図 15A]本発明の実施の形態による配信履歴リストデータベースの返却依頼時の処 理の流れを全体的に説明する図である。
[図 15B]本発明の実施の形態による配信履歴リストデータベースの返却依頼時の処 理の流れを示すタイムシーケンス図である。
[図 15C]本発明の実施の形態による配信履歴リストデータベースの返却依頼時にお けるノード aの配信履歴リストを示す図である。
[図 15D]本発明の実施の形態による配信履歴リストデータベースの返却依頼時にお けるノード βの配信履歴リストを示す図である。
[図 15E]本発明の実施の形態による配信履歴リストデータベースの返却依頼時にお けるノード γの配信履歴リストを示す図である。
[図 15F]本発明の実施の形態による配信履歴リストデータベースの返却依頼時にお けるノード δの配信履歴リストを示す図である。
[図 16]本発明の実施の形態による配信履歴リストデータベースの返却依頼時の配信 先ノード δにおける図 15Bの(a)の処理の流れを説明する図である。
[図 17]本発明の実施の形態による配信履歴リストデータベースの返却依頼時の配信 先ノード βにおける図 15Bの(b)処理の流れを説明する図である。
[図 18]本発明の実施の形態による配信履歴リストデータベースの返却依頼時の配信 先ノード δにおける図 15Bの(c)処理の流れを説明する図である。
[図 19]本発明の実施の形態による配信履歴リストデータベースの返却依頼時の配信 先ノード αにおける図 15Bの(d)処理の流れを説明する図である。
発明を実施するための最良の形態
図 3は本発明の実施の形態による P2Pネットワーク内の一つの中継ノードの構成を 示す機能ブロック図である。同図において、ノード 3は、配信履歴リストデータベース 3 01と、フアイノレデータベース 302と、受信咅 303と、更新フアイノレ処理咅 304と、 P2P 処理部 305と、フィールド抽出部 306と、配信履歴リスト作成 Z更新部 307と、配信履 歴リスト検索部 308と、配信履歴リスト送信部 309と、制御メッセージ送信部 310と、フ アイノレ検索咅 11と、フアイノレ送信咅 12と、タイマー咅 13と、 =3ンソーノレ咅 14と、 返却配信履歴リスト検索部を備えて 、る。
[0018] 配信履歴リスト検索部 308は返却配信履歴リスト検索部も含む。配信履歴リスト送 信部 309は返却配信履歴リスト送信部も含む。
[0019] 配信履歴リストデータベース 301は、配信履歴リストを管理するデータベースであり 、図に表で示したように、以下の情報を格納する。
(1)ファイル名: P2P網経由で、自ノードにダウンロードした、または自ノードカもダ ゥンロードされたファイルのファイル名。
(2)ダウンロード元 IPアドレス:上記"フアイノレ名 "のファイルのダウンロード元ノード の IPアドレス。本データベースを有するノードがファイルの作成元の場合、ダウンロー ド元にあたるノードは存在しないため、本エントリは" NULじ'となる (図の表記上は"-" とする)。
(3)配布先 IPアドレス:上記"ファイル名 "のファイルの配布先ノードの IPアドレス。 本データベースを有するノード力 該ファイルが複数のノードにダウンロードされた場 合には本エントリには複数の IPアドレスが記載される。なお該ファイルが本ノードから ダウンロードされていない場合には、本エントリは" NULじ'となる (図の表記上は"-"と する)。
(4)更新日時:上記"ファイル名"フィールドに記載したファイルが作成または更新さ れた日時。
(5)依頼フラグ (Flag):他ノードから依頼されて有している配信履歴リストのエントリ を示す。その内容は、 "0"であれば自ノードで作成されたエントリであることを示し、 "1 "であれば他ノードで作成されたエントリであることを示す。次の「依頼元 IPアドレス」 のエントリがあわせて記載される。
(6)依頼元 IPアドレス:本エントリが他ノードからの依頼により作成されている場合は 、その依頼元ノードの IPアドレスを記載する。 [0020] ファイルデータベース 302は、ファイルを管理するデータベースであり、いわゆる O
Sのファイルシステムである。
受信部 303は、ネットワークからの通信を電気的に終端し、また受信フレームの種 別を識別し、内部の処理フロー (経由する機能ブロック群)を決定する。
[0021] 更新ファイル処理部 304は、更新されたファイルを上流ノードから受信時にファイル データベース 302に該ファイルを書き込む。なお書き込み方は、古いファイルを無条 件に上書きする方法や、ユーザに問い合わせた上で上書きするなど、実装依存とし、 特に限定はしない。
[0022] P2P処理部 305は、いわゆる P2P—般で必要となる下記の処理を行う。
(1)ファイル検索処理: P2Pでファイルの検索要求に応じてのファイル検索処理、そ の要求のフォーワード処理(自ノードに検索対象のファイルがな力つた場合)及びファ ィル検索結果の通知処理( (自ノードに検索対象のファイルがあった場合)を行う。
(2)ファイル送受信処理:ファイル転送時のファイルの送受信処理を行う。
[0023] フィールド抽出部 306は、ファイルをダウンロードさせるときやファイルをダウンロード するときにその制御フレーム力も配信履歴リストデータベース 301を作成するために 必要なフィールドの情報を抽出する。抽出するフィールドの情報は下記の通りである
(1)ファイル名
(2)ダウンロード元 IPアドレス、または配布先 IPアドレス
(3)ファイルのタイムスタンプ
[0024] 配信履歴リスト作成 Z更新部 307は、配信履歴リストのエントリの作成及び更新 (ェ ントリのフィールド変更及び削除)を行う。
配信履歴リスト検索部 308は、配信履歴リストの検索を前段の機能ブロック力も指定 された検索キーで検索し、ヒットしたエントリのフィールドを戻り値とする。
[0025] 配信履歴リスト送信部 309は、配信履歴リスト検索部 308で抽出された IPアドレス毎 に配信履歴リストの返却を行う。配信履歴リスト検索部 308は、ノードのシャットダウン が回復した際に返却されるファイルの返却配信履歴リスト検索部も含む。また、配信 履歴リスト送信部 309は、返却されたファイルの返却配信履歴リスト送信部も含む。 [0026] 制御メッセージ送信部 310は、配信履歴リストデータベース 301の管理に関する制 御メッセージの送信を行う。制御フレームには以下の二つがある(それぞれの意味に ついては次節参照)。
(1)配信履歴リスト変更依頼フレーム
(2)配信履歴リスト受信完了フレーム
[0027] 配信履歴リスト送信部 309は、配信履歴リストデータベース 301の全エントリを送信 する。
ファイル検索部 311は、更新があったファイルを、ファイルを蓄積しているデバイス( 例えば自ノードのハードディスク)から検索する。
ファイル送信部 312は、ファイル検索部 311での検索結果として見つかったフアイ ルを対象に、配信履歴リストデータベース 301を検索し、配布先 IPアドレスに向けて 送信する。または配信履歴リストの返却依頼時には依頼元 IPアドレスに向けて送信 する。
[0028] タイマー部 313は、予め決められた時間間隔毎にファイル検索部 311に対して更 新ファイルの検索指示を、また配信履歴リスト検索部 308に、配信履歴リストの検索フ ラグが" Γになっているファイルの依頼元 IPアドレスの抽出を指示する。依頼元ノード が再起動し、依頼されて 、た配信履歴リストを返却できる力確認するためである。 コンソール部 314は、区切り文字保持部と自局 IPアドレス保持部の設定を予め行う ユーザの入出力を扱うインタフェース部である。
[0029] 次に動作を説明する。
図 4は、本発明の実施の形態によるファイルの配布経路を動的に作成する処理の 流れを全体的に説明する図である。同図において、 P2Pのファイルダウンロード処理 が行われ、配信履歴リストをファイル配布元ノード αとファイル配布先ノード βが作成 する過程が示されている。
[0030] 配信履歴リストを作成する前提として、ファイルの検索処理は予め行われているもの とする (図 1の" query"ど' hit"があったとする)。即ち、ノード βはノード αが目的とする ファイル (Document-A)を有して!/、ることをここでは図示しな!、方法、例えば P2Pにお ける一般的なファイル検索手法など、により予め知っているものとする。 [0031] P2Pにおけるファイルダウンロードに関する一般的な処理、即ち、配信履歴リストを 作成する以外の処理、例えば、ダウンロードしたファイルのディスクへの書き込みなど 、は図 5及び図 6の P2P処理部 305で処理することとし、ここではその詳細な記載を 省略する。
[0032] ノード αやノード j8力ら、更に別のノードにファイルがダウンロードされる場合につい ての手順は同様のため記載を省略する。
図 4中では「配信履歴リスト」の「依頼フラグ」と「依頼元 IPアドレス」の両フィールドは 、ファイルの配布経路を動的に作成のためには使用しないので、記載を省略している 。本実施の形態では、ファイルの配布経路を動的に作れる。すなわち、依頼元のノー ド β力 配布先のノード OCにダウンロード要求フレームを送信し、配布先ノード OCでは このダウンロード要求フレームに応答してファイル(Document-A)を依頼元ノード j8に 転送する。ファイルのコピーを配布元ノードカゝら配布先ノードに配布した時点で配布 元ノードにおいて配布先ノードを配布履歴リストに登録することが本実施の形態にお ける重要なポイントである。
[0033] 配布 ノード αの動作
図 5は本発明の実施の形態による配信元ノード aにおける処理の流れを説明する 図である。図 5以降の図において、太線のブロックがそれぞれの処理に係わるブロッ クである。受信部 303は配信先ノード β力 ファイルのダウンロード要求 (例えば図 1 の" get")を受信する。
[0034] P2P処理部 305は、ダウンロード要求のファイルを要求先ノード 13に向けてファイル 転送フレームとして送信する。異常なく送信できた場合にはフィールド抽出部 306へ 処理を渡す。異常時にはコンソール 314にメッセージを表示して処理を終了する。 フィールド抽出部 306は、配信履歴リストを作成するためにダウンロード要求フレー ムカも以下のフィールドを抽出する。
( 1)ファイル名
(2)ダウンロード要求の要求元 IPアドレス
[0035] またダウンロードされたファイルの属性力 ファイルの更新日時(タイムスタンプ)を 抽出する。 配信履歴リスト作成 Z更新部 307は、フィールド抽出部 306から抽出したデータか ら配信履歴リストデータベース 301に新規エントリを作成する。
[0036] 配布先ノード βの動作
図 6は本発明の実施の形態による配信先ノード βにおける処理の流れを説明する 図である。同図において、受信部 303は、ノード αから自ノード (ノード j8 )がダウン口 ードを要求したファイルをファイル転送フレームとして受信する。
[0037] P2P処理部 305は、受信したファイルを配信履歴リストデータベース 301に書き込 む。
フィールド抽出部 306は、受信したダウンロードファイル及びその転送フレームから 以下の情報を抽出する。
( 1)ファイル名
(2)ダウンロード元の IPアドレス
(3)ファイルの更新日時 (タイムスタンプ)
配信履歴リスト作成 Z更新部 307は、フィールド抽出部 306から抽出したデータか ら配信履歴リストデータベース 301に新規エントリを作成する。
[0038] 次にファイル更新時の更新元ノード及び配信先ノードの動作を説明する。
図 7は、本発明の実施の形態によるファイル更新時の処理の流れを全体的に説明 する図である。
ファイル ¥亲斤 ¾の
ファイル (Document-A)の更新が該ファイルのオリジナルを有するノード aで行われ ( 1)、それをトリガにして配信履歴リストに基づき、更新されたファイル (Document-A) 力 Sノード ι8に配信される(2)過程を示す。
ファイルの更新が行われる前提として、本例ではノード ocからノード βに配信する場 合にのみについて記載する力 ノード 以外のノードへも該ファイルがダウンロードさ れて 、る場合の処理も同様である。
[0039] 更新されたファイルを受信したノード βが該受信ファイルをどう処理するか、例えば 、更新前のファイルに無条件に上書きする、ユーザに上書きする力否かを確認する、 などはいずれでもよい。いずれにしても、ノード j8の配信履歴リストに更新済みのファ ィル(Document-A)が書き込まれる。
図 7にお 、ては、「配信履歴リスト」の「依頼フラグ」と「依頼元 IPアドレス」の両フィ一 ルドは未使用なため記載を省略してある。
次にファイル更新時の配信元ノードと配信先ノードにおける各部の動作を説明する
[0040] 配信元ノード exの動作
図 8は本発明の実施の形態によるファイル更新時の配信元ノード aにおける処理 の流れを説明する図である。同図において、タイマー部 313は、定期的にファイル検 索部を駆動する。ファイル検索部 311は、ファイルデータベース 302から前回検索時 以降に更新されたファイルを検索する。更新されたファイルを検出した場合、ファイル 情報 (ファイル名とファイルそのもの)を配信履歴リスト検索部 308へ渡す。更新された ファイルがなカゝつた場合は、処理を終了する。
[0041] 配信履歴リスト検索部 308は、ファイル検索部 311から渡されたファイル情報のファ ィル名を検索キーとして、配信履歴リストデータベース 301を検索する。そのファイル 名のエントリがあった場合、「配布先 IPアドレス」のノードの IPアドレスと、ファイル検索 部 311から渡されたファイル情報をファイル送信部 312に渡す。
ファイル送信部 312は、「配布先 IPアドレス」のノードへファイルを、更新ファイル転 送フレームとして送信する。
[0042] ノード 8の動作
図 9は本発明の実施の形態によるファイル更新時の配信先ノード βにおける処理 の流れを説明する図である。同図において、受信部 303は、ノード αが送信した更新 ファイル転送フレームを受信する。更新ファイル処理部 304は、更新ファイル転送フ レームが有するファイルをファイルデータベース 302に書き込む。無条件に書き込む か、ユーザに書き込む力否かを確認するかなどの書き込み方法の詳細手順は本発 明では特定しない。
[0043] 配信履歴リスト検索部 308は、更新されたファイルを検索する。更新日時を新たに 受信したファイルの更新日時にアップデートするとともに、さらに該ファイルを転送す る力否かを配布先 IPアドレス力も決定する。即ち、配信履歴リストの「配布先 IPァドレ ス」のフィールド力NULLの場合は処理を終了し、 NULLではない場合は、ファイル送 信部 312を経由してファイルをさらに下流のノードに転送する。
[0044] 次に配信履歴リストデータベース 301の管理依頼時の動作を説明する。
図 10A—図 10Fは、本発明の実施の形態による配信履歴リストデータベースの管 理依頼時の処理の流れを全体的に説明する図である。
配信履歴リストデータベース 301の管理依頼時の処理の概要
任意のノード (図 10A及び図 10Bではノード β )が、マシンのシャットダウンなどにより Ρ2Ρ網を一時的に離脱するときに、配信履歴リストの保持を他のノード (図 10A及び 図 Βではノード δ )に依頼する処理の過程を示す。図 10C、図 10D、図 10E、図 10F はそれぞれ、のときのノード (χ、 β、 γ、 δの配信履歴リストを示す。
そして、依頼元ノード j8が Ρ2Ρ網を離脱しているときに、ファイル更新によるファイル 受信があった場合には依頼先ノード δがこれを代理で受信処理し、配信履歴リスト返 却時に該ファイルも依頼先ノード δ力 依頼元ノード βに送信する。
[0045] 前提として、ノード α→ノード β→ノード γとファイルが本処理の始まる以前にダウ ンロードされていたものとする。また、ノード αは Ρ2Ρ網上の他のノード (ノード δ )をこ こでは記載しな 、手法 (Ρ2Ρ網上で隣接して 、るノードであるなどの基準による選択 手法など)で予め決定して 、るものとする。
ノード βの動作その 1
図 11は本発明の実施の形態による配信履歴リストデータベースの管理依頼時の配 信先ノード j8における図 10Bの(a)の処理の流れを説明する図である。同図におい て、コンソール部 314は、ユーザがノード j8にシャットダウン指示をした場合などをトリ ガに、コンソール部 314から配信履歴リストの管理を他ノードに依頼する旨を配信履 歴リスト検索部 308に通知する。これを受けた配信履歴リスト検索部 308は、配信履 歴リストデータベース 301内の配信履歴リストの全エントリから「配布先 IPアドレス」と「 ダウンロード元 IPアドレス」を抽出する。
[0046] 制御メッセージ送信部 310は、配信履歴リスト検索部 308で抽出された両 IPァドレ ス宛に配信履歴リスト変更依頼フレームを送信する。送信される変更依頼には下記 の情報が含まれる。 (1)変更依頼元 IPアドレス (ここではノード 13 )
(2)変更先 IPアドレス (ここではノード δ )
[0047] なお「変更先 IPアドレス」は、ここでは記載しな 、手法 (P2P網上で隣接して 、るノ ードであるなどの基準による選択手法など)で予め決定しているものとする。
配信履歴リスト送信部 309は、配信履歴リストを、配信履歴リスト変更依頼フレーム として、予め決定されている P2P網上の任意の隣接ノード (ここではノード δ )に送信 する。
[0048] ノード exの動作 (ノード の処理も同様)
図 12は、本発明の実施の形態による配信履歴リストデータベースの管理依頼時の 配信先ノード δにおける図 10Bの(b)処理の流れを説明する図である。同図におい て、受信部 303は、(ノード j8が送信した)配信履歴リスト変更依頼フレームを受信する 次 、で配信履歴リスト作成 Z更新部 307は、配信履歴リスト変更依頼フレームに含 まれる「変更依頼元 IPアドレス」を検索キーとして、配信履歴リストデータベース 301 に対して以下の 2回の検索処理を行う。
(1)「ダウンロード元 IPアドレス」を検索対象フィールドとして検索する。ヒットしたェ ントリの「ダウンロード元 IPアドレス」を配信履歴リスト変更依頼に含まれる「変更先 IP アドレス」に変更する。
(2)「配布先 IPアドレス」を検索対象フィールドとして検索する。ヒットしたエントリの「 配布先 IPアドレス」を配信履歴リスト変更依頼に含まれる「変更先 IPアドレス」に変更 する。
[0049] ノード δの動作
図 13は、本発明の実施の形態による配信履歴リストデータベースの管理依頼時の 配信先ノード δにおける図 10Bの(c)処理の流れを説明する図である。同図におい て、受信部 303は、(ノード j8が送信した)配信履歴リスト送信フレームを受信する。次 V、で配信履歴リスト作成 Z更新部 307は、受信した配信履歴リスト送信フレームが有 する配信履歴リストを、配信履歴リストデータベース 301に書き込む。なおこの際に書 き込む全エントリに対し、以下のフィールドを追記する。 ( 1 )依頼フラグ (Flag)フィールド: " 1 "として書き込む。
(2)依頼元 IPアドレスフィールド:配信履歴リストの送信元ノード (ノード β )の IPアド レスを書き込む。
次いで配信履歴リストデータベース 301は、配信履歴リスト受信完了フレームを配 信履歴リストの送信元 (ノード j8 )に向けて送信する。
[0050] ノード の動作その 2
図 14は、本発明の実施の形態による配信履歴リストデータベースの管理依頼時の 配信先ノード j8における図 10Bの(d)処理の流れを説明する図である。同図におい て、受信部 303は、(ノード δが送信した)配信履歴リスト受信完了フレームを受信する 。次いで配信履歴リスト作成 Ζ更新部 307は、配信履歴リストの全エントリを削除し、 次いでコンソール部 314に配信履歴リストの管理の依頼処理が完了したことを通知す る。
[0051] 次に配信履歴リストデータベース 301の返却依頼時の動作を説明する。
¾の
図 15A—図 15Fは、本発明の実施の形態による配信履歴リストデータベースの返 却依頼時の処理の流れを全体的に説明する図である。同図において、任意のノード X 図 15A及び図 15Bではノード β )が、マシンシャットダウンなどの理由により Ρ2Ρ網力 ら一時的に離脱するときに、配信履歴リストの保持を他のノード (図 15Aではノード δ ) に依頼したのち、再び依頼元ノード (ノード j8 )が P2P網から一時的に離脱する理由 が解消すると、 P2P網に再度加入し、自ノードの配信履歴リストを依頼先 (ノード δ ) 力 返却してもらう。
[0052] 前提として、図 10A—図 10Fの場合と同様に、ノード α→ノード j8→ノード γとファ ィルが本処理が始まる以前にダウンロードされていたものとする。また、ノード αは Ρ2 Ρ網上の他のノード (ノード δ )をここでは記載しない手法 (Ρ2Ρ網上で隣接しているノ ードであるなどの基準による選択手法など)で予め決定しているものとする。なお、図 15C、図 15D、図 15E、図 15Fはそれぞれ、このときのノード α、ノード j8、ノード γ、 ノード δの配信履歴リストを示す。
[0053] ノー δの動作その 1 図 16は、本発明の実施の形態による配信履歴リストデータベースの返却依頼時の 配信先ノード δにおける図 15Bの(a)の処理の流れを説明する図である。同図にお いて、タイマー部 313は、配信履歴リスト検索部 308に対し、定期的に「依頼 Flagフィ 一ルド」力 S" l "であるエントリの検索を駆動する。
[0054] タイマー部 313からの駆動を受けた配信履歴リスト検索部 308は、「依頼 Flagフィー ルド」力,T,であるエントリの検索を配信履歴リストデータベース 301に対して実施す る。該当するエントリの「依頼元 IPアドレスフィールド」毎に、該エントリの「依頼 Flagフ ィールド」と「依頼元 IPアドレスフィールド」を除くフィールドを配信履歴リスト送信部へ 渡す。なお図 10—図 14を参照して記載した配信履歴リストデータベース 301の管理 依頼の手順により、代理で管理することになつた配信履歴リスト内のファイルが代理 管理中に更新された場合はそのファイルも配信履歴リスト送信部 309へ渡す(図示せ ず)。
[0055] 配信履歴リスト送信部 309は、配信履歴リスト検索部 308から渡された配信履歴リス トのエントリ及びファイル (もし更新されて 、れば)を、依頼元 IPアドレスを宛先アドレス とし、配信履歴リスト送信フレームとして送信する。
[0056] ノード βの動作
図 17は、本発明の実施の形態による配信履歴リストデータベースの返却依頼時の 配信先ノード j8における図 15Bの(b)処理の流れを説明する図である。同図におい て、受信部 303は、配信履歴リスト送信フレームを受信する。配信履歴リスト作成 Z更 新部 307は、配信履歴リスト送信フレーム力も配信履歴リストデータベース 301にェ ントリを作成 (エントリの復元)する。もしファイルも配信履歴リスト送信フレームに含ま れて ヽれば、ファイルデータベース 302の該ファイルも更新する(図示せず)。
[0057] 制御メッセージ送信部 310は、以下の二つの制御メッセージを送信する。
( 1)配信履歴リスト受信完了フレーム:配信履歴リスト送信フレームの送信元 (ノード δ )に送信する。
(2)配信履歴リスト変更依頼フレーム:復元したエントリのダウンロード元 IPアドレス( IP- a )と配布先 IPアドレス (IP- y )毎に送信する。該配信履歴リスト変更依頼フレーム には、配信履歴リスト送信フレームの送信元 IPアドレス (IP- δ )が含まれる。 [0058] ノード δの動作その 2
図 18は、本発明の実施の形態による配信履歴リストデータベースの返却依頼時の 配信先ノード δにおける図 15Bの(c)処理の流れを説明する図である。同図におい て、受信部 303は、配信履歴リスト受信完了フレームを受信する。なお配信履歴リスト 送信フレームを送信後、一定時間以内に該フレームを受信しない場合には受信タイ ムアウトで終了する。これは、依頼元 IPアドレスがまだ配信履歴リストを再管理できな い状態にあると判断する力 である。
[0059] 配信履歴リスト送信部 309は、配信履歴リスト受信完了フレームの送信元 IPァドレ ス (IP- β )を検索キーとして、配信履歴リストデータベース 301の「依頼元 IPアドレスフ ィールド」を検索し、該当したエントリを削除する。
[0060] ノード aの動作
図 19は、本発明の実施の形態による配信履歴リストデータベースの返却依頼時の 配信先ノード αにおける図 15Bの(d)処理の流れを説明する図である。同図におい て、受信部 303は、配信履歴リスト変更依頼フレームを受信する。配信履歴リスト送信 部 309は、配信履歴リスト変更依頼フレームに含まれる IPアドレス (IP- δ )を検索キ 一として、配信履歴リスト DBに対して以下の 2回の検索処理を行う。
(1)「ダウンロード元 IPアドレス」を検索対象フィールドとして検索する。ヒットしたェ ントリの「ダウンロード元 IPアドレス」を配信履歴リスト変更依頼フレームの送信元 IPァ ドレス (IP- j8 )に変更する。
(2)「配布先 IPアドレス」を検索対象フィールドとして検索する。ヒットしたエントリの「 配布先 IPアドレス」を配信履歴リスト変更依頼フレームの送信元 IPアドレス (IP- β )に 変更する。
産業上の利用可能性
[0061] 以上の説明から明らかなように、本発明によれば、 Ρ2Ρネットワーク内でファイルの 配布経路を各ノードが管理することにより、更新ファイルの再配布を可能とし、それに よりユーザのファイル検索工数が削減される。
また、 Ρ2Ρネットワーク内であるノードがシャットダウンした場合でも、代替ノードによ るファイル配布経路を作成することにより、ファイル配布経路上のノードがシャットダウ ンして 、ても更新ファイルを再送付できるようになり、更新ファイルの配布の即時性が 向上する。

Claims

請求の範囲
[1] ピアツーピア型ネットワークに含まれるノードの少なくとも 1つにおいて、更新可能フ アイルを格納するデータベースと、該データベースに格納されたファイルの配信先ノ ードを記憶する配信履歴リストを作成する配信履歴リスト作成手段とを備えることを特 徴とするファイル管理システム。
[2] 前記少なくとも 1つのノードは、前記ファイルが更新された時に、その更新時力も所 定時間内に前記配信履歴リストに登録されている前記配信先ノードに更新後のファ ィルを配布するファイル再配布手段を備える、請求項 1に記載のファイル管理システ ム。
[3] 前記ピアツーピア型ネットワークに含まれるすべてのノードは、前記配信履歴リスト 作成手段と前記ファイル再配布手段とを備えて ヽる、請求項 2に記載のファイル管理 システム。
[4] 前記ファイルの配信元ノードが前記ピアツーピア型ネットワーク力も離脱する場合に 、前記配信元ノードとは別の前記ピアツーピア型ネットワークに含まれる代替ノードに 前記配信履歴リストを委託する配信履歴リスト委託手段を備えて ヽる、請求項 3に記 載のファイル管理システム。
[5] 前記ピアツーピア型ネットワーク力も離脱したノードが前記ピアツーピア型ネットヮー クに復帰した場合に、前記代替ノードから前記配信履歴リストを該復帰したノードに 返却するファイル返却手段を前記代替ノードが備えて 、る、請求項 4に記載のフアイ ル管理システム。
[6] ピアツーピア型ネットワークに含まれるノードの少なくとも 1つにおいて、データべ一 スに更新可能ファイルを格納するステップと、該更新可能ファイルの配信先ノードを 記憶する配信履歴リストを作成するステップとを備えることを特徴とするファイル管理 方法。
[7] 前記少なくとも 1つのノードにおいて、前記ファイルが更新された時に、その更新時 力 所定時間内に前記配信履歴リストに登録されている前記配信先ノードに更新後 のファイルを配布するステップを更に備える、請求項 6に記載のファイル管理方法。
[8] 前記ピアツーピア型ネットワークに含まれるすべてのノードにおいて、前記配信履 歴リストを作成するステップと、前記ファイルが更新された時に、その更新時から所定 時間内に前記配信履歴リストに登録されている前記配信先ノードに更新後のファイル を配布するステップとを備える、請求項 7に記載のファイル管理方法。
[9] 前記ファイルの配信元ノードが前記ピアツーピア型ネットワーク力も離脱する場合に 、前記配信元ノードとは別の前記ピアツーピア型ネットワークに含まれる代替ノードに 前記配信履歴リストを委託するステップを更に備える、請求項 8に記載のファイル管 理方法。
[10] 前記ピアツーピア型ネットワーク力 離脱したノードが前記ピアツーピア型ネットヮー クに復帰した場合に、前記代替ノードから前記配信履歴リストを該復帰したノードに 返却するステップを更に備える、請求項 9に記載のファイル管理方法。
[11] ピアツーピア型ネットワークに含まれるノードの少なくとも 1つにおいて、コンピュータ にデータベースに更新可能ファイルを格納するステップと、該更新可能ファイルの配 信先ノードを記憶する配信履歴リストを作成するステップとを実行させるためのフアイ ル管理プログラム。
[12] 前記少なくとも 1つのノードにおいて、前記ファイルが更新された時に、コンピュータ にその更新時力 所定時間内に前記配信履歴リストに登録されている前記配信先ノ ードに更新後のファイルを配布するステップを実行させるための、請求項 11に記載 のファイル管理プログラム。
[13] 前記ピアツーピア型ネットワークに含まれるすべてのノードにおいて、コンピュータ に前記配信履歴リストを作成するステップと、前記ファイルが更新された時に、その更 新時力 所定時間内に前記配信履歴リストに登録されている前記配信先ノードに更 新後のファイルを配布するステップとを実行させるための、請求項 12に記載のフアイ ル管理プログラム。
[14] 前記ファイルの配信元ノードが前記ピアツーピア型ネットワーク力 離脱する場合に 、コンピュータに前記配信元ノードとは別の前記ピアツーピア型ネットワークに含まれ る代替ノードに前記配信履歴リストを委託するステップを実行させるための、請求項 1 3に記載のファイル管理プログラム。
[15] 前記ピアツーピア型ネットワーク力 離脱したノードが前記ピアツーピア型ネットヮー クに復帰した場合に、コンピュータに前記代替ノードから前記配信履歴リストを該復 帰したノードに返却するステップを更に実行させるための、請求項 14に記載のフアイ ル管理プログラム。
[16] ピアツーピア型ネットワークに含まれるノードの少なくとも 1つにおいて、コンピュータ にデータベースに更新可能ファイルを格納するステップと、該更新可能ファイルの配 信先ノードを記憶する配信履歴リストを作成するステップとを実行させるためのフアイ ル管理プログラムを記録したコンピュータ読み取り可能な記録媒体。
[17] 前記少なくとも 1つのノードにおいて、前記ファイルが更新された時に、コンピュータ にその更新時力 所定時間内に前記配信履歴リストに登録されている前記配信先ノ ードに更新後のファイルを配布するステップを実行させるためのファイル管理プロダラ ムを記録した、請求項 16に記載のコンピュータ読み取り可能な記録媒体。
[18] 前記ピアツーピア型ネットワークに含まれるすべてのノードにおいて、コンピュータ に前記配信履歴リストを作成するステップと、前記ファイルが更新された時に、その更 新時力 所定時間内に前記配信履歴リストに登録されている前記配信先ノードに更 新後のファイルを配布するステップとを実行させるためのファイル管理プログラムを記 録した、請求項 17に記載のコンピュータ読み取り可能な記録媒体。
[19] 前記ファイルの配信元ノードが前記ピアツーピア型ネットワーク力 離脱する場合に 、コンピュータに前記配信元ノードとは別の前記ピアツーピア型ネットワークに含まれ る代替ノードに前記配信履歴リストを委託するステップを実行させるためのファイル管 理プログラムを記録した、請求項 18に記載のコンピュータ読み取り可能な記録媒体。
[20] 前記ピアツーピア型ネットワーク力 離脱したノードが前記ピアツーピア型ネットヮー クに復帰した場合に、コンピュータに前記代替ノードから前記配信履歴リストを該復 帰したノードに返却するステップを更に実行させるためのファイル管理プログラムを記 録した、請求項 18に記載のコンピュータ読み取り可能な記録媒体。
PCT/JP2005/004983 2005-03-18 2005-03-18 ファイル管理システム Ceased WO2006100723A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2007509077A JP5184078B2 (ja) 2005-03-18 2005-03-18 ファイル管理システム
PCT/JP2005/004983 WO2006100723A1 (ja) 2005-03-18 2005-03-18 ファイル管理システム
US11/851,516 US20080010299A1 (en) 2005-03-18 2007-09-07 File management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2005/004983 WO2006100723A1 (ja) 2005-03-18 2005-03-18 ファイル管理システム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/851,516 Continuation US20080010299A1 (en) 2005-03-18 2007-09-07 File management system

Publications (1)

Publication Number Publication Date
WO2006100723A1 true WO2006100723A1 (ja) 2006-09-28

Family

ID=37023420

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/004983 Ceased WO2006100723A1 (ja) 2005-03-18 2005-03-18 ファイル管理システム

Country Status (3)

Country Link
US (1) US20080010299A1 (ja)
JP (1) JP5184078B2 (ja)
WO (1) WO2006100723A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159054A (ja) * 2006-12-20 2008-07-10 Ncr Corp ソフトウェア自動配布システム
JP2008217769A (ja) * 2007-02-28 2008-09-18 Samsung Electronics Co Ltd P2pネットワーキングを通じた高品質のコンテンツ提供システム及び方法
KR101494047B1 (ko) 2012-02-01 2015-02-17 충북대학교 산학협력단 모바일 p2p 환경에서 콘텐츠 검색을 위한 인덱스 배포 방법

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8296385B2 (en) * 2007-04-23 2012-10-23 Lenovo (Singapore) Pte. Ltd. Apparatus and method for selective engagement in software distribution
US8775373B1 (en) 2008-05-21 2014-07-08 Translattice, Inc. Deleting content in a distributed computing environment
US8417679B1 (en) 2008-05-21 2013-04-09 Translattice, Inc. Fast storage writes
US8346824B1 (en) * 2008-05-21 2013-01-01 Translattice, Inc. Data distribution system
US8495030B2 (en) * 2011-01-06 2013-07-23 International Business Machines Corporation Records declaration filesystem monitoring
EP2211525B1 (en) * 2009-01-22 2011-08-03 Ntt Docomo, Inc. Method for distributing in a self-organizing, distributed overlay network a reference to an object
DE102012209680A1 (de) * 2012-06-11 2013-12-12 Rohde & Schwarz Gmbh & Co. Kg Verfahren und mobiles ad-hoc-Netzwerk zur effektiven Identifizierung von benachbarten Knoten
FR3024839B1 (fr) * 2014-08-12 2016-09-09 Babolat Vs Raquette de tennis

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004252732A (ja) * 2003-02-20 2004-09-09 Nippon Telegr & Teleph Corp <Ntt> データ共有装置
JP2005071238A (ja) * 2003-08-27 2005-03-17 Nippon Telegr & Teleph Corp <Ntt> ファイル共有システム及び端末装置

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6145012A (en) * 1998-10-14 2000-11-07 Veritas Software Corporation Apparatus and method for efficiently updating files in computer networks
AUPR015700A0 (en) * 2000-09-15 2000-10-12 Filecat Pty Ltd Distributed file-sharing network
JP2002132564A (ja) * 2000-10-30 2002-05-10 Nec Corp マスタファイル配信システムおよびマスタファイル配信方法
US7539664B2 (en) * 2001-03-26 2009-05-26 International Business Machines Corporation Method and system for operating a rating server based on usage and download patterns within a peer-to-peer network
US20020147985A1 (en) * 2001-04-05 2002-10-10 Koji Miyajima Video distribution system and video distribution method
US7181506B1 (en) * 2001-04-06 2007-02-20 Mcafee, Inc. System and method to securely confirm performance of task by a peer in a peer-to-peer network environment
US20040148279A1 (en) * 2001-06-20 2004-07-29 Nir Peleg Scalable distributed hierarchical cache
US20030149735A1 (en) * 2001-06-22 2003-08-07 Sun Microsystems, Inc. Network and method for coordinating high availability system services
US8090798B2 (en) * 2002-08-12 2012-01-03 Morganstein System and methods for direct targeted media advertising over peer-to-peer networks
US20040083304A1 (en) * 2002-10-21 2004-04-29 Izumi Usuki Communication terminal and communication system
JP3742401B2 (ja) * 2003-04-28 2006-02-01 株式会社東芝 映像データ記録再生装置および同装置で用いられる映像データ管理方法
TWI237792B (en) * 2003-07-11 2005-08-11 Via Tech Inc Method and apparatus for updating simultaneously distributed webpage data of various languages, and storage medium therefor
JP2005055995A (ja) * 2003-08-07 2005-03-03 Hitachi Ltd ストレージ制御方法、および、冗長化機能を有するサーバシステム
CN100451990C (zh) * 2003-08-08 2009-01-14 安桥株式会社 网络音频及视频系统
US7567987B2 (en) * 2003-10-24 2009-07-28 Microsoft Corporation File sharing in P2P group shared spaces
US20050125456A1 (en) * 2003-12-09 2005-06-09 Junichi Hara File migration method based on access history
JP4490743B2 (ja) * 2004-06-24 2010-06-30 株式会社日立製作所 ファイル共有システム、ファイル共有用管理サーバおよびクライアント装置
US7461259B2 (en) * 2004-06-30 2008-12-02 Nokia Corporation Method and apparatus to provide secure mobile file system
US8150987B2 (en) * 2006-01-30 2012-04-03 Microsoft Corporation Automated peer-to-peer file distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004252732A (ja) * 2003-02-20 2004-09-09 Nippon Telegr & Teleph Corp <Ntt> データ共有装置
JP2005071238A (ja) * 2003-08-27 2005-03-17 Nippon Telegr & Teleph Corp <Ntt> ファイル共有システム及び端末装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008159054A (ja) * 2006-12-20 2008-07-10 Ncr Corp ソフトウェア自動配布システム
JP2008217769A (ja) * 2007-02-28 2008-09-18 Samsung Electronics Co Ltd P2pネットワーキングを通じた高品質のコンテンツ提供システム及び方法
KR101494047B1 (ko) 2012-02-01 2015-02-17 충북대학교 산학협력단 모바일 p2p 환경에서 콘텐츠 검색을 위한 인덱스 배포 방법

Also Published As

Publication number Publication date
US20080010299A1 (en) 2008-01-10
JP5184078B2 (ja) 2013-04-17
JPWO2006100723A1 (ja) 2008-08-28

Similar Documents

Publication Publication Date Title
US20080010299A1 (en) File management system
CN101854338B (zh) 订户设备及其订阅管理方法、实时通信方法和系统
CN101189611B (zh) 可扩展及自动复制的服务器群配置管理基础设施
JP4685299B2 (ja) マルチキャストする方法および装置
EP1488330B1 (en) Method for forming groups
CN1713177B (zh) 文件共享系统和客户端装置
JP4381655B2 (ja) ストレージシステム、ストレージ装置、及び該ストレージ装置を利用した情報共有方法
US20080059656A1 (en) Content synchronization among associated computing devices
JP4794143B2 (ja) 通知ボンドを使用してキャッシュオブジェクトを管理するためのシステムおよび方法
CN106506490B (zh) 一种分布式计算控制方法以及分布式计算系统
US20060047666A1 (en) Control of publish/subscribe messaging
US20010007103A1 (en) Method for file system replication with broadcasting and XDSM
TW200818807A (en) Managing rich presence collections
JP2005316993A (ja) ネットワーク上においてコンピュータ間でオブジェクトを共有するためのシステムおよび方法
JP2004246632A (ja) データ分配サーバ、プログラム及びネットワークシステム
WO2014071786A1 (zh) 一种文件传输的方法及系统
CN101416183B (zh) 保存无线设备当前数据的方法和系统
JP2008129991A (ja) 中継サーバおよび中継通信システム
KR20120038187A (ko) 컨텐츠 중심 네트워킹 환경에서 그룹 변경에 관한 정보를 이용한 컨텐츠 공유 방법 및 장치
JP2008234206A (ja) 情報送信システム、情報処理装置、情報管理装置及び情報送信方法
US7970856B2 (en) System and method for managing and distributing assets over a network
CN101471843A (zh) 中继服务器以及中继通信系统
CN102549568A (zh) 用于能够实现xml文档的修改的方法和设备
JP2008225740A (ja) 情報処理装置および情報処理方法
JP4622300B2 (ja) 情報共有システムおよび情報共有用プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2007509077

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11851516

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

WWW Wipo information: withdrawn in national office

Country of ref document: RU

WWP Wipo information: published in national office

Ref document number: 11851516

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 05726631

Country of ref document: EP

Kind code of ref document: A1

WWW Wipo information: withdrawn in national office

Ref document number: 5726631

Country of ref document: EP