JP2005316690A - P2p file transfer method, system, user terminal, relay terminal and program - Google Patents

P2p file transfer method, system, user terminal, relay terminal and program Download PDF

Info

Publication number
JP2005316690A
JP2005316690A JP2004133512A JP2004133512A JP2005316690A JP 2005316690 A JP2005316690 A JP 2005316690A JP 2004133512 A JP2004133512 A JP 2004133512A JP 2004133512 A JP2004133512 A JP 2004133512A JP 2005316690 A JP2005316690 A JP 2005316690A
Authority
JP
Japan
Prior art keywords
file
file transfer
user terminal
folder
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004133512A
Other languages
Japanese (ja)
Inventor
Takashi Nakada
隆 中田
Ryoichi Ono
亮一 小野
Hiroyuki Nakamura
宏之 中村
Sumio Miyazaki
純生 宮崎
Mikio Maeda
幹夫 前田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2004133512A priority Critical patent/JP2005316690A/en
Publication of JP2005316690A publication Critical patent/JP2005316690A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform direct file transfer without making a user aware of network environment even under environment wherein both terminals performing file transmission/reception can perform only one-way communication. <P>SOLUTION: A file acquisition part 112 of a user terminal 1B transmits file arrangement requirement to a relay terminal 2 by use of a P2P communication part 114. A P2P communication part 214 of the relay terminal 2 transfers the file arrangement requirement to a user terminal 1A. A P2P communication part 114 of the user terminal 1A receives the file arrangement requirement, and delivers it to the file acquisition part 112. The file acquisition part 112 acquires a designated file 11111 from a file DB 1111 inside a file management part 111, and transfers it to the relay terminal 2 from a file transfer part 115. A file transfer part 215 of the relay terminal 2 receives the file 11111, and registers it into a file DB 2111 inside a file management part 211. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、利用者端末間で直接ファイル転送を行うP2Pファイル転送方法に関する。   The present invention relates to a P2P file transfer method for directly transferring files between user terminals.

代表的なP2Pファイル共有であるGnutella(www.gnutella.com/)におけるファイアウォール対応方法は、ファイル保持側からプッシュ(送信)する方法をとっており、1つのファイアウォールにしか対応していない(非特許文献1)。ファイルをプッシュされる(取得する)側は、ネットワークの外から内へ通信を許容するネットワーク環境に変更する必要があり、セキュリティ面で問題となる。また、Gnutella固有の機能であり他P2Pアプリケーション開発者・ユーザが汎用的に利用できる機能ではない。   The firewall support method in Gnutella (www.gnutella.com/), which is a typical P2P file sharing, is a method of pushing (transmitting) from the file holding side, and only supports one firewall (non-patent) Reference 1). The side to which the file is pushed (obtained) needs to change to a network environment that allows communication from the outside to the inside of the network, which is a problem in terms of security. Further, it is a function unique to Gnutella and is not a function that can be used universally by other P2P application developers / users.

異なるファイアウォール環境に位置する端末間でファイルを送受信することは、現状のクライアント/サーバモデルを用いたアプリケーション(サイボウズ:http://cybozu.co.jp/)で実現されているが、様々な環境からアクセスを許容した場合、ファイル管理装置であるサーバにファイル原本を定常的に保存することになりセキュリティ管理を厳重に行う必要がある。
http://www.atmarkit.co.jp/fwin2k/experiments/gnutella_for_admin/gnutella_for_admin_5.html 「ブローカモデルとSIONet」電気通信協会発行 JXTA(http://www.jxta.org/)
Sending and receiving files between terminals located in different firewall environments is realized by an application using the current client / server model (Cybozu: http://cybozu.co.jp/). When access is permitted from the beginning, the original file is regularly stored in the server that is the file management apparatus, and security management must be strictly performed.
http: // www. atmarkit. co. jp / fwin2k / experiments / gnutella_for_admin / gnutella_for_admin_5. html "Broker Model and SIONet" published by Telecommunications Association JXTA (http://www.jxta.org/)

P2PプラットフォームであるSIONet(非特許文献2)においては、異なるファイアウォール環境での接続方法について提案されているが、P2Pネットワーク上でのメッセージを送受信するためのコネクション確立のみであり、ファイル転送の機能がない。また、非特許文献3においては、パイプを利用することにより、異なるファイアウォール間のファイル転送が可能であるが、大きなファイルを転送する場合、分割転送されるため上位アプリケーションでのファイルの分割・組立てを実施する必要がある。また、分割メッセージの欠損が発生した場合についても上位アプリケーション側で対応する必要があり、JXTAのみで保障されたファイル自体の転送を完結して行うことは困難である。   In SIONet (Non-patent Document 2) which is a P2P platform, a connection method in different firewall environments has been proposed, but only a connection establishment for transmitting and receiving messages on a P2P network is performed, and a file transfer function is provided. Absent. In Non-Patent Document 3, files can be transferred between different firewalls by using a pipe. However, when transferring a large file, the file is divided and assembled in a host application because it is divided and transferred. Need to be implemented. In addition, it is necessary for the host application side to deal with the case where the loss of the divided message occurs, and it is difficult to complete the transfer of the file itself guaranteed only by JXTA.

本発明の目的は、ファイル送受信を行う双方の端末がファイアウォール、NAT(Network Address Translator)等、片方向の通信しかできない環境下においても、ユーザに双方向通信の可否等ネットワーク環境を意識させることなく直接ファイル転送を行うことを可能とするP2Pファイル転送方法、システム、利用者端末、中継端末、およびプログラムを提供することにある。   The object of the present invention is to make the user aware of the network environment such as whether or not bi-directional communication is possible even in an environment where both terminals performing file transmission / reception can only perform one-way communication such as a firewall and NAT (Network Address Translator). The object is to provide a P2P file transfer method, system, user terminal, relay terminal, and program that enable direct file transfer.

本発明のP2Pファイル転送方法は、
自律分散協調により任意の情報、タスクを送受信する、P2Pネットワーク上に接続された複数の利用者端末間でファイルを共有し、ネットワーク環境の制約により双方向通信が不可能な状況における通信手段としてDMZ(DeMillitarized Area)に位置するRP(ランデンブピア)を用いて通信を行うP2Pファイル転送方法であって、
利用者端末が所定のファイルもしくはフォルダ情報を送受信する段階と、
利用者端末がRPへ所定のファイルを送信する段階と、
RPにおいて、端末から受信したファイルもしくはフォルダ情報の一意性(ファイル名やフォルダ名が改されることなく通信できること)を保障し、該当の利用者端末間に受信させる段階と、
を有する。
The P2P file transfer method of the present invention
DMZ as a means of communication in situations where two or more user terminals connected on a P2P network share files and transmit and receive arbitrary information and tasks by autonomous distributed cooperation, and bidirectional communication is impossible due to network environment restrictions A P2P file transfer method for performing communication using an RP (Random Buopia) located in (DeMilliliterized Area),
A stage in which the user terminal sends and receives predetermined file or folder information;
A stage in which the user terminal sends a predetermined file to the RP;
In the RP, ensuring the uniqueness of the file or folder information received from the terminal (that the file name or folder name can be communicated without being modified) and receiving between the corresponding user terminals;
Have

また、本発明のP2Pファイル転送システムは、
ファイルを管理するファイルDBを含み、そのファイルの管理を行うファイル管理手段と、
ファイル管理手段にアクセスし、ファイルの取得を行うファイル取得手段と、
ファイル管理手段にアクセスし、任意のフォルダごと取得を行うフォルダ取得手段と、
利用者端末間でHop−by−Hopで転送する機能を持つP2P通信手段と、
ファイルの転送を行うファイル転送手段と
を含むP2Pファイル転送装置を有する利用者端末と、
ファイアウォール外の他ホストからアクセス可能な領域に設置され、ファイルを管理するファイルDBを含み、そのファイルの管理を行うファイル管理手段と、
利用者端末間でHop−by−Hopで転送する機能を持つP2P通信手段と、
ファイルの転送を行うファイル転送手段と
を含むP2Pファイル転送装置を有する中継端末とを有する。
The P2P file transfer system of the present invention
A file management means for managing the file, including a file DB for managing the file;
File acquisition means for accessing the file management means and acquiring files;
A folder acquisition means for accessing a file management means and acquiring an arbitrary folder;
P2P communication means having a function of transferring by Hop-by-Hop between user terminals;
A user terminal having a P2P file transfer device including a file transfer means for transferring a file;
A file management means installed in an area accessible from other hosts outside the firewall, including a file DB for managing files, and managing the files;
P2P communication means having a function of transferring by Hop-by-Hop between user terminals;
A relay terminal having a P2P file transfer apparatus including a file transfer means for transferring a file.

本発明では、図16に示すように、FW/NAT等を介して別セグメントとの通信がない場合、RP非経由にて直接利用者端末間の通信を行い、FW/NAT等を介して拠点間を跨る通信がある場合、RP経由による通信を行う。   In the present invention, as shown in FIG. 16, when there is no communication with another segment via FW / NAT or the like, communication between user terminals is performed directly without passing through the RP, and the base is established via FW / NAT or the like. If there is communication between the two, communication via RP is performed.

DMZに中継装置(RP)を設置することで、外部に公開することができるため、別拠点の人がRPにファイルを置いたり、ファイルを取得したりすることができる。そのため、RPは利用者端末の外にあることにある。   Since a relay device (RP) is installed in the DMZ and can be disclosed to the outside, a person at another base can place a file on the RP or obtain a file. Therefore, the RP is located outside the user terminal.

また、P2Pファイル転送装置は図17に示すソフトウェア構造を取り、上位アプリケーションにFW/NAT等の環境を意識させることなく、ファイル単位、フォルダ単位のファイル転送APIを提供している。   The P2P file transfer apparatus has the software structure shown in FIG. 17 and provides a file transfer API for each file and folder without making the upper application aware of the environment such as FW / NAT.

本発明は、異なるファイアウォール、NAT環境に位置する端末間でP2Pの利点である集中管理装置の導入・運用コスト削減、回線帯域の削減を損なうことなくファイルの送受信を実現する。   The present invention realizes transmission / reception of files between terminals located in different firewalls and NAT environments without impairing the introduction / operation cost of the centralized management apparatus, which is the advantage of P2P, and the reduction of the line bandwidth.

Gnutellaにおけるセキュリティ面での問題は、ファイル送受信端末からアクセス可能なRP(ランデブピア)を利用することにより、一般的なインターネット環境で許可されている内から外へのアクセス(Webの参照等)のみでファイル転送を可能とするためセキュリティ上新たな考慮点は、発生しない。また、2つのファイアウォール環境にも対応している。   The security problem in Gnutella is that only RP (Rendezvous Peer) that can be accessed from a file sending / receiving terminal allows access from inside to outside (Web reference etc.) that is permitted in a general Internet environment. There are no new security considerations to enable file transfer. It also supports two firewall environments.

RPには転送するファイルが一時的に保存されるだけであり、サーバのような厳重なセキュリティ管理を必要としないネットワーク構成が可能となる。   A file to be transferred is only temporarily stored in the RP, and a network configuration that does not require strict security management like a server is possible.

本発明は、ファイル送受信を行う双方の端末がファイアウォール、NAT等、片方向の通信しかできない環境下においても、DMZに配置されたRPを用いることにより、ユーザに双方向通信の可否等ネットワーク環境を意識させることなく直接ファイル転送を行うことが可能となる効果がある。   In the present invention, even in an environment where both terminals performing file transmission / reception can only perform one-way communication such as a firewall and NAT, a network environment such as whether or not two-way communication is possible can be provided to the user by using the RP arranged in the DMZ. There is an effect that direct file transfer can be performed without being conscious.

次に、本発明の実施の形態について図面を参照して説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

図1は本発明の一実施形態のシステム構成図である。   FIG. 1 is a system configuration diagram of an embodiment of the present invention.

本システムは利用者端末1A、1Bと中継端末2で構成されている。利用者端末1AはP2Pファイル転送装置11とアプリケーション12を含んでいる。P2Pファイル転送装置11は、ファイルを管理するファイルDB1111を含み、ファイルを管理するファイル管理部111と、ファイル管理部111にアクセスし、ファイルを取得するファイル取得部112と、ファイル管理部111にアクセスし、任意のフォルダを取得するフォルダ取得部113と、他端末との間でHop−by−Hopで転送するP2P通信部114と、他端末にファイルを転送するファイル転送部115を有している。利用者端末1Bも利用者端末1Aと同様の構成である。中継端末2はP2Pファイル転送装置21を含んでいるランデブピア(RP)である。P2Pファイル転送装置21は、ファイルを管理する、ファイルDB2111を含むファイル管理部211と、利用者端末1A、1Bとの間でHop−by−Hopで転送するP2P通信部214と、ファイルを転送するファイル転送部215を有している。   This system includes user terminals 1A and 1B and a relay terminal 2. The user terminal 1A includes a P2P file transfer device 11 and an application 12. The P2P file transfer apparatus 11 includes a file DB 1111 that manages files, accesses the file management unit 111 that manages files, the file management unit 111, and accesses the file acquisition unit 112 that acquires files and the file management unit 111. A folder acquisition unit 113 that acquires an arbitrary folder, a P2P communication unit 114 that transfers Hop-by-Hop to another terminal, and a file transfer unit 115 that transfers a file to the other terminal. . The user terminal 1B has the same configuration as the user terminal 1A. The relay terminal 2 is a rendezvous peer (RP) including a P2P file transfer device 21. The P2P file transfer device 21 transfers a file to and from the file management unit 211 including the file DB 2111 for managing the file, and the P2P communication unit 214 for transferring by Hop-by-Hop between the user terminals 1A and 1B. A file transfer unit 215 is included.

次に、本実施形態におけるプル型およびプッシュ型のファイル単位、フォルダ単位(フォルダ配下の全ファイル)のファイル転送動作を説明する。   Next, the file transfer operation of pull type and push type file units and folder units (all files under a folder) in this embodiment will be described.

1)プル型のファイル転送動作(図2〜図6)
利用者端末1Aにあるファイルを利用者端末1Bが取得する場合、利用者端末1Bのアプリケーション12からファイル取得部112に利用者端末1A内のファイルを指定し、Deliver Pull File(ファイルをデリバリにて取得)を要求する。要求を受けたファイル取得部112は、任意の方法(固定的に受け取る方法、段階的に通信環境を変えて通信を行い適切な通信を採用する、前記方法で取得した情報を保存しておき、次回以降の通信はこれを利用する等)で中継端末2を利用するか利用しないか判断する。すなわち、利用者端末1Aは、利用者端末1Bが同一ネットワーク内にいるのか、それとも拠点を跨るネットワーク内にいるのかわからない。そのため、利用者端末1Aは、同一ネットワーク内か拠点を跨るネットワークなのか判断する処理(疎通を確認する処理)を行うことで、利用者端末1Aは、利用者端末1Bと通信を行うための最適な方法を選択し、適切な通信を行うことになる。
1) Pull-type file transfer operation (FIGS. 2 to 6)
When the user terminal 1B acquires a file in the user terminal 1A, the file in the user terminal 1A is designated from the application 12 of the user terminal 1B to the file acquisition unit 112, and a Deliver Pull File (file is delivered by delivery). Request). Upon receiving the request, the file acquisition unit 112 stores information acquired by any method (a method of receiving a fixed method, adopting appropriate communication by changing communication environment step by step, It is determined whether the relay terminal 2 is used or not used in the subsequent communication or the like. That is, the user terminal 1A does not know whether the user terminal 1B is in the same network or a network that spans bases. Therefore, the user terminal 1A performs optimal processing for communicating with the user terminal 1B by performing processing (processing for confirming communication) to determine whether the user terminal 1A is in the same network or across networks. The appropriate method will be selected and appropriate communication will be performed.

中継端末2を介さずにファイル転送を行う場合(図2)について説明する。利用者端末1Bのファイル取得部112はファイル取得要求を利用者端末1Aのファイル転送部115に送信する。ファイル転送部115はファイル管理部111にアクセスし、指定されたファイル11111をファイルDB1111から取得し、ファイル転送部115よりファイル取得応答とともにファイル11111を利用者端末1Bに転送する。利用者端末1Bのファイル取得部112はファイル11111を取得し、ファイルDB1111に格納する。   A case where file transfer is performed without going through the relay terminal 2 (FIG. 2) will be described. The file acquisition unit 112 of the user terminal 1B transmits a file acquisition request to the file transfer unit 115 of the user terminal 1A. The file transfer unit 115 accesses the file management unit 111, acquires the specified file 11111 from the file DB 1111, and transfers the file 11111 together with the file acquisition response from the file transfer unit 115 to the user terminal 1B. The file acquisition unit 112 of the user terminal 1B acquires the file 11111 and stores it in the file DB 1111.

中継端末2を介してファイル転送を行う場合(図3〜図5)を説明する。利用者端末1Bのファイル取得部112はP2P通信部114を用いて中継端末2にファイル配置要求を送信する。中継端末2のP2P通信部214はファイル配置要求を利用者端末1Aに転送する。利用者端末1AのP2P通信部114はファイル配置要求を受信し、ファイル転送部115に渡す。ファイル転送部115はファイル管理部111内のファイルDB1111から指定されたファイル11111を取得し、ファイル転送部115より中継端末2に転送する。中継端末2のファイル転送部215はファイル11111を受信し、ファイル管理部211内のファイルDB2111に登録する。   The case where file transfer is performed via the relay terminal 2 (FIGS. 3 to 5) will be described. The file acquisition unit 112 of the user terminal 1B transmits a file arrangement request to the relay terminal 2 using the P2P communication unit 114. The P2P communication unit 214 of the relay terminal 2 transfers the file arrangement request to the user terminal 1A. The P2P communication unit 114 of the user terminal 1A receives the file placement request and passes it to the file transfer unit 115. The file transfer unit 115 acquires the designated file 11111 from the file DB 1111 in the file management unit 111 and transfers the file 11111 from the file transfer unit 115 to the relay terminal 2. The file transfer unit 215 of the relay terminal 2 receives the file 11111 and registers it in the file DB 2111 in the file management unit 211.

中継端末2にファイルを転送した利用者端末1Aは次にファイル配置完了通知を中継端末2に送信する。中継端末2のP2P通信部214はこの通知を受け、指定されたファイルのアップロードが完了した旨を利用者端末1Bに通知する。利用者端末1BのP2P通信部114はこの通知をファイル取得部112に送る。ファイル取得部112はファイル取得要求を中継端末2に送信する。中継端末2のファイル転送部215はこの要求を受けてファイル管理部211内のファイルDB2111からファイル11111を取得し、ファイル取得応答とともに利用者端末1Bに送信する。利用者端末1Bのファイル取得部112はファイル11111を取得し、ファイル管理部111内のファイルDB1111に格納する。   The user terminal 1 </ b> A that has transferred the file to the relay terminal 2 then transmits a file placement completion notification to the relay terminal 2. The P2P communication unit 214 of the relay terminal 2 receives this notification and notifies the user terminal 1B that the upload of the designated file has been completed. The P2P communication unit 114 of the user terminal 1B sends this notification to the file acquisition unit 112. The file acquisition unit 112 transmits a file acquisition request to the relay terminal 2. Upon receiving this request, the file transfer unit 215 of the relay terminal 2 acquires the file 11111 from the file DB 2111 in the file management unit 211, and transmits it to the user terminal 1B together with a file acquisition response. The file acquisition unit 112 of the user terminal 1B acquires the file 11111 and stores it in the file DB 1111 in the file management unit 111.

利用者端末1Bのファイル取得部112は次に、ファイル削除要求を中継端末2に送信する。中継端末2のP2P通信部214はファイル削除要求を利用者端末1Aに転送する。利用者端末1AのP2P通信部114はファイル削除要求を受け取ると、ファイル転送部115より中継端末2に対してファイルの削除を依頼する。中継端末2のファイル転送部215はこの依頼を受けてファイル管理部211のファイルDB2111にあるファイル11111を削除する。   Next, the file acquisition unit 112 of the user terminal 1 </ b> B transmits a file deletion request to the relay terminal 2. The P2P communication unit 214 of the relay terminal 2 transfers the file deletion request to the user terminal 1A. When the P2P communication unit 114 of the user terminal 1A receives the file deletion request, the file transfer unit 115 requests the relay terminal 2 to delete the file. In response to this request, the file transfer unit 215 of the relay terminal 2 deletes the file 11111 in the file DB 2111 of the file management unit 211.

図6はプル型のファイル転送が完了した状態を示している。   FIG. 6 shows a state in which pull-type file transfer is completed.

2)プッシュ型のファイル転送動作(図7〜図9)
プル型のファイル取得動作と同様に、利用者端末1A内のファイルDB1111にあるファイルを利用者端末1Bにコピーするものとし、利用者端末1A側の動作でこれを行う。
2) Push-type file transfer operation (FIGS. 7 to 9)
Similar to the pull-type file acquisition operation, the file in the file DB 1111 in the user terminal 1A is copied to the user terminal 1B, and this is performed by the operation on the user terminal 1A side.

中継端末2を介さずにファイル転送を行う場合(図7)について説明する。利用者端末1Aのアプリケーション12はファイル取得部112にDeliver Push File(ファイルをデリバリにて送信)を要求し、ファイル取得部112はP2P通信部114を用いてDelivery Pull Fileを利用者端末1Bに送信する。利用者端末1BのP2P通信部114はこれを受信し、ファイル取得部112は指定されたファイルのDeliver Pull Fileを行う。   A case where file transfer is performed without going through the relay terminal 2 (FIG. 7) will be described. The application 12 of the user terminal 1A requests a Deliver Push File (sends the file by delivery) to the file acquisition unit 112, and the file acquisition unit 112 transmits the Delivery Pull File to the user terminal 1B using the P2P communication unit 114. To do. The P2P communication unit 114 of the user terminal 1B receives this, and the file acquisition unit 112 performs a Deliver Pull File of the specified file.

次に、中継端末2を介してファイル転送を行う場合(図8)について説明する。利用者端末1Aのアプリケーション12はファイル取得部112にDeliver Push Fileを要求する。ファイル取得部112はP2P通信部114を用いてDeliver Pull Fileを中継端末2に依頼する。中継端末2のP2P通信部214はこの依頼を利用者端末1Bに転送する。利用者端末1BのP2P通信部114はこの依頼を受信し、ファイル取得部112は指定されたファイルのDeliver Pull Fileを行う。   Next, a case where file transfer is performed via the relay terminal 2 (FIG. 8) will be described. The application 12 of the user terminal 1 </ b> A requests a driver push file from the file acquisition unit 112. The file acquisition unit 112 uses the P2P communication unit 114 to request the relay pull file from the relay terminal 2. The P2P communication unit 214 of the relay terminal 2 transfers this request to the user terminal 1B. The P2P communication unit 114 of the user terminal 1B receives this request, and the file acquisition unit 112 performs a Deliver Pull File for the specified file.

中継端末2を経由しない場合はP2P通信部114が直接通信を行い、中継端末2を経由する場合は、図8に示すように、中継端末2内のP2P通信部214を経由して通信が行われるが、この差異はP2P通信部114内で吸収するため上位アプリケーションにおいて特に意識する必要はない。   When not passing through the relay terminal 2, the P2P communication unit 114 performs direct communication. When passing through the relay terminal 2, the communication is performed via the P2P communication unit 214 in the relay terminal 2 as shown in FIG. However, since this difference is absorbed in the P2P communication unit 114, there is no need to be particularly conscious in the upper application.

図9はプッシュ型のファイル転送結果を示している。   FIG. 9 shows a push-type file transfer result.

3)プル型のフォルダ単位のファイル転送(図10〜図12)
1)と同様に利用者端末1A内のファイルDB1111にあるファイルを利用者端末1Bにコピーする。この時に、フォルダを指定し、該フォルダ内にあるファイルをすべてコピーするものとする。
3) Pull-type folder unit file transfer (FIGS. 10 to 12)
Similarly to 1), the file in the file DB 1111 in the user terminal 1A is copied to the user terminal 1B. At this time, a folder is designated, and all files in the folder are copied.

プル型のフォルダ単位のファイル転送の場合、フォルダ内のファイルイメージを取得する必要がある。この際にP2P転送部114を用いて該問い合わせを行う。   In the case of pull-type folder-based file transfer, it is necessary to acquire the file image in the folder. At this time, the P2P transfer unit 114 is used to make the inquiry.

まず、中継端末2を介さずにプル型のフォルダ単位ファイル転送を行う場合(図10)について説明する。利用者端末1Bのアプリケーション12はフォルダ毎のファイル取得をフォルダ取得部113に要求し、フォルダ取得部113はP2P通信部114よりフォルダ情報要求を利用者端末1Aに送信する。利用者端末1AのP2P通信部114はフォルダ情報要求を受信し、ファイル管理部111内のファイルDB1111の情報からファイルリストを作成し、フォルダ情報を利用者端末1Bに送信する。利用者端末1BのP2P通信部114はこれを受信し、ファイル取得部112は該フォルダ情報を元にファイル毎にDeliver Pull Fileを行う。   First, a case where pull-type folder unit file transfer is performed without using the relay terminal 2 (FIG. 10) will be described. The application 12 of the user terminal 1B requests the folder acquisition unit 113 to acquire a file for each folder, and the folder acquisition unit 113 transmits a folder information request from the P2P communication unit 114 to the user terminal 1A. The P2P communication unit 114 of the user terminal 1A receives the folder information request, creates a file list from the information in the file DB 1111 in the file management unit 111, and transmits the folder information to the user terminal 1B. The P2P communication unit 114 of the user terminal 1B receives this, and the file acquisition unit 112 performs a Deliver Pull File for each file based on the folder information.

次に、中継端末2を介してプル型のフォルダ単位ファイル転送を行う場合(図11)について説明する。利用者端末1Bのアプリケーション12は、フォルダ毎のファイル取得をフォルダ取得部113に要求する。P2P通信部114はフォルダ情報取得要求を中継端末2に送信する。中継端末2のP2P通信部214はこれを利用者端末1Aに転送する。利用者端末1AのP2P送信部114はファイル管理部111内のファイルDB1111の情報からファイルリストを作成し、フォルダ情報を中継端末2に送信する。中継端末2のP2P通信部214は受信したフォルダ情報を利用者端末1Bに転送する。利用者端末1BのP2P通信部114はこれを受信し、ファイル取得部112はフォルダ情報を元にファイル毎にDeliver Pull Fileを行う。   Next, a case where pull-type folder unit file transfer is performed via the relay terminal 2 (FIG. 11) will be described. The application 12 of the user terminal 1B requests the folder acquisition unit 113 to acquire a file for each folder. The P2P communication unit 114 transmits a folder information acquisition request to the relay terminal 2. The P2P communication unit 214 of the relay terminal 2 transfers this to the user terminal 1A. The P2P transmission unit 114 of the user terminal 1A creates a file list from the information in the file DB 1111 in the file management unit 111, and transmits folder information to the relay terminal 2. The P2P communication unit 214 of the relay terminal 2 transfers the received folder information to the user terminal 1B. The P2P communication unit 114 of the user terminal 1B receives this, and the file acquisition unit 112 performs a Deliver Pull File for each file based on the folder information.

P2P転送部114を経由して受信した利用者端末1Bは、1)で記載したプル型のファイル転送の手順を利用して、受信したフォルダ内のファイル情報に基づいて繰り返しファイル転送を行う。   The user terminal 1B received via the P2P transfer unit 114 performs file transfer repeatedly based on the file information in the received folder using the pull-type file transfer procedure described in 1).

図12はプル型のフォルダ単位ファイル転送結果を示している。   FIG. 12 shows a pull type folder unit file transfer result.

中継端末2を経由せずに該通信が行われる場合は、図10に示すように、直接通信を行い、中継端末2を経由する場合には、図11に示すように、中継端末2内のファイル転送部215を用いて転送されるが、2)の場合と同様、この差異はP2P通信部114内で吸収されるため、上位アプリケーションにおいて特に意識する必要はない。   When the communication is performed without going through the relay terminal 2, direct communication is performed as shown in FIG. 10. When the communication is made through the relay terminal 2, as shown in FIG. Although transfer is performed using the file transfer unit 215, this difference is absorbed in the P2P communication unit 114 as in the case of 2).

4)プッシュ型のフォルダ単位のファイル転送(図13〜図15)
1)と同様に利用者端末1A内のファイルDB1111にあるファイルを利用者端末1Bにコピーする。この時に、フォルダを指定し、該フォルダ内にあるファイルをすべてコピーするものとする。また、このオペレーションはファイルを保持する利用者端末1Aから行われるものとする。
4) Push-type folder-based file transfer (FIGS. 13 to 15)
Similarly to 1), the file in the file DB 1111 in the user terminal 1A is copied to the user terminal 1B. At this time, a folder is designated, and all files in the folder are copied. This operation is performed from the user terminal 1A that holds the file.

プッシュ型のフォルダ単位のファイル転送の場合には、フォルダ内のファイルイメージが必要となる。このため、受信側(利用者端末1B)へファイル取得依頼を行う際に、ファイル管理部111に問い合わせ、該フォルダ内のファイル情報を取得し、P2P転送部114を用いて依頼を行う。   In the case of push-type file transfer in folder units, a file image in the folder is required. Therefore, when a file acquisition request is made to the receiving side (user terminal 1B), the file management unit 111 is inquired, file information in the folder is acquired, and the request is made using the P2P transfer unit 114.

まず、中継端末2を介さずにプッシュ型のフォルダ単位ファイル転送を行う場合(図13)について説明する。利用者端末1Aのアプリケーション12はファイル取得部112にDeliver Push Folder(フォルダをデリバリにて送信)を要求する。ファイル取得部112はファイル管理部111のファイルDB1111からフォルダ内のファイル情報を取得する。P2P通信部114は利用者端末1BにDeliver Pull Folder(フォルダをデリバリにて取得)を依頼する。利用者端末1BのP2P通信部114はこの依頼を受信し、ファイル取得部112は指定されたファイルのDeliver Pull Fileを行う。   First, a case where push type folder unit file transfer is performed without using the relay terminal 2 (FIG. 13) will be described. The application 12 of the user terminal 1A requests a driver push folder (sends a folder by delivery) to the file acquisition unit 112. The file acquisition unit 112 acquires file information in the folder from the file DB 1111 of the file management unit 111. The P2P communication unit 114 requests the user terminal 1B for a driver pull folder (acquires a folder by delivery). The P2P communication unit 114 of the user terminal 1B receives this request, and the file acquisition unit 112 performs a Deliver Pull File for the specified file.

次に、中継端末2を介してプッシュ型のフォルダ単位ファイル転送を行う場合(図14)について説明する。利用者端末1Aのアプリケーション12はファイル取得部112にDeliver Push Folderを要求する。ファイル取得部112はファイル管理部111内のファイルDB1111からフォルダ内のファイル情報を取得する。P2P通信部114は中継端末2にDeliver Pull Folderを依頼する。中継端末2のP2P通信部214はこの依頼を利用者端末1Bに転送する。利用者端末1BのP2P通信部114はこの依頼を受信し、ファイル取得部112は指定されたファイルのDeliver Pull Fileを行う。   Next, a case where push-type folder unit file transfer is performed via the relay terminal 2 (FIG. 14) will be described. The application 12 of the user terminal 1 </ b> A requests a driver push folder from the file acquisition unit 112. The file acquisition unit 112 acquires file information in the folder from the file DB 1111 in the file management unit 111. The P2P communication unit 114 requests the relay terminal 2 for a driver pull folder. The P2P communication unit 214 of the relay terminal 2 transfers this request to the user terminal 1B. The P2P communication unit 114 of the user terminal 1B receives this request, and the file acquisition unit 112 performs a Deliver Pull File for the specified file.

中継端末2を経由せずに該通信が行われる場合は、図13に示すように、直接通信を行い、中継端末2を経由する場合には、図14に示すように、中継端末2内のファイル転送部215を用いて転送される。3)の場合と同様、この差異はP2P通信部114内で吸収されるため、上位アプリケーションにおいて特に意識する必要なない。   When the communication is performed without going through the relay terminal 2, direct communication is performed as shown in FIG. 13. When the communication is made through the relay terminal 2, as shown in FIG. The file is transferred using the file transfer unit 215. As in the case of 3), since this difference is absorbed in the P2P communication unit 114, there is no need to be particularly conscious in the upper application.

P2P転送部114を経由して受信した利用者端末1Bは、1)で記載したプル型のファイル転送の手順を利用して、受信したフォルダ内のファイル情報に基づいて繰り返しファイル転送を行う。   The user terminal 1B received via the P2P transfer unit 114 performs file transfer repeatedly based on the file information in the received folder using the pull-type file transfer procedure described in 1).

上記に示した手順を経て、図15に示すようにプッシュ型のフォルダ単位のファイル転送を完了する。   Through the procedure described above, the push-type folder unit file transfer is completed as shown in FIG.

なお、利用者端末、中継端末は専用のハードウェアにより実現されるもの以外に、その機能を実現するためのプログラムを、コンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するものであってもよい。コンピュータ読み取り可能な記録媒体とは、フロッピーディスク、光磁気ディスク、CD−ROM等の記録媒体、コンピュータシステムに内蔵されるハードディスク装置等の記憶装置を指す。さらに、コンピュータ読み取り可能な記録媒体は、インターネットを介してプログラムを送信する場合のように、短時間の間、動的にプログラムを保持するもの(伝送媒体もしくは伝送波)、その場合のサーバとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含む。   In addition to the user terminal and the relay terminal realized by dedicated hardware, a program for realizing the function is recorded on a computer-readable recording medium, and the program recorded on the recording medium is recorded. May be read by a computer system and executed. The computer-readable recording medium refers to a recording medium such as a floppy disk, a magneto-optical disk, a CD-ROM, or a storage device such as a hard disk device built in the computer system. Furthermore, a computer-readable recording medium is a server that dynamically holds a program (transmission medium or transmission wave) for a short period of time, as in the case of transmitting a program via the Internet, and a server in that case. Some of them hold programs for a certain period of time, such as volatile memory inside computer systems.

本発明の一実施形態のP2Pファイル転送システムの構成図である。It is a block diagram of the P2P file transfer system of one Embodiment of this invention. プル型のファイル転送(RP非経由)の一連の処理を示す図である。It is a figure which shows a series of processing of pull type file transfer (RP non-passing). プル型のファイル転送(RP経由)の一連の処理を示す図である。It is a figure which shows a series of processes of pull type file transfer (via RP). プル型のファイル転送(RP経由)の一連の処理を示す図である。It is a figure which shows a series of processes of pull type file transfer (via RP). プル型のファイル転送(RP経由)の一連の処理を示す図である。It is a figure which shows a series of processes of pull type file transfer (via RP). プル型のファイル転送の結果を示す図である。It is a figure which shows the result of a pull type file transfer. プッシュ型のファイル転送(RPなしで、ファイルをデリバリにて取得)の一連の処理を示す図である。It is a figure which shows a series of processes of push type file transfer (A file is acquired by delivery without RP). プッシュ型のファイル転送(RPなしで、ファイルをデリバリにて取得)の一連の処理を示す図である。It is a figure which shows a series of processes of push type file transfer (A file is acquired by delivery without RP). プッシュ型のファイル転送の結果を示す図である。It is a figure which shows the result of a push type file transfer. プル型のフォルダ単位ファイル転送(RPなしでのフォルダ情報収集)の一連の処理を示す図である。It is a figure which shows a series of processes of pull type folder unit file transfer (folder information collection without RP). プル型のフォルダ単位ファイル転送(RPなしでのフォルダ情報収集)の一連の処理を示す図である。It is a figure which shows a series of processes of pull type folder unit file transfer (folder information collection without RP). プル型のフォルダ単位ファイル転送の結果を示す図である。It is a figure which shows the result of a pull type folder unit file transfer. プッシュ型のフォルダ単位ファイル転送(RPなしで、フォルダをデリバリにて収集)の一連の処理を示す図である。It is a figure which shows a series of processes of push type folder unit file transfer (collecting a folder by delivery without RP). プッシュ型のフォルダ単位ファイル転送(RPなしで、フォルダをデリバリにて収集)の一連の処理を示す図である。It is a figure which shows a series of processes of push type folder unit file transfer (collecting a folder by delivery without RP). プッシュ型のフォルダ単位ファイル転送結果を示す図である。It is a figure which shows a push type folder unit file transfer result. 本発明が前提とする環境を示す図である。It is a figure which shows the environment which this invention presupposes. ソフトウェアアーキテクチャを示す図である。It is a figure which shows a software architecture.

符号の説明Explanation of symbols

1A、1B 利用者端末
2 中継端末
11 P2Pファイル転送装置
12 アプリケーション
21 P2Pファイル転送装置
111 ファイル管理部
112 ファイル取得部
113 フォルダ取得部
114 P2P通信部
115 ファイル転送部
211 ファイル管理部
214 P2P通信部
215 ファイル転送部
1111 ファイルDB
2111 ファイルDB
1A, 1B User terminal 2 Relay terminal 11 P2P file transfer device 12 Application 21 P2P file transfer device 111 File management unit 112 File acquisition unit 113 Folder acquisition unit 114 P2P communication unit 115 File transfer unit 211 File management unit 214 P2P communication unit 215 File transfer unit 1111 File DB
2111 File DB

Claims (9)

自律分散協調により任意の情報、タスクを送受信する、P2Pネットワーク上に接続された複数の利用者端末間でファイルを共有し、ネットワーク環境の制約により双方向通信が不可能な状況における通信手段としてDMZに位置するRPを用いて通信を行うP2Pファイル転送方法であって、
前記利用者端末が所定のファイルもしくはフォルダ情報を送受信する段階と、
前記利用者端末がRPへ所定のファイルを送信する段階と、
前記RPにおいて、前記利用者端末から受信したファイルもしくはフォルダ情報の一意性を保障し該当の端末間に受信させる段階と、
を有する、P2Pファイル転送方法。
DMZ as a means of communication in situations where arbitrary information and tasks are transmitted and received by autonomous distributed cooperation, files are shared among a plurality of user terminals connected on a P2P network, and bidirectional communication is not possible due to network environment restrictions A P2P file transfer method for performing communication using an RP located in
The user terminal transmitting and receiving predetermined file or folder information; and
The user terminal transmitting a predetermined file to the RP;
In the RP, ensuring the uniqueness of the file or folder information received from the user terminal and receiving it between the corresponding terminals;
A P2P file transfer method.
前記利用者端末同士間で情報を取得するプル型または、情報を提供するプッシュ型のファイル転送を行う、請求項1に記載のP2Pファイル転送方法。   The P2P file transfer method according to claim 1, wherein pull-type file transfer for acquiring information between the user terminals or push-type file transfer for providing information is performed. 前記利用者端末同士間で情報を送受信する場合、ファイル単位またはフォルダ単位の指定を行いファイル転送を行う、請求項1または2に記載のP2Pファイル転送方法。   The P2P file transfer method according to claim 1 or 2, wherein when information is transmitted / received between the user terminals, file transfer is performed by specifying a file unit or a folder unit. 前記利用者端末は、直接通信が可能な場合は直接ファイル転送を、前記RPを用いる必要のある場合は、前記RPを用いたファイル転送を自動で選択する、請求項1から3のいずれかに記載のP2Pファイル転送方法。   The user terminal automatically selects direct file transfer when direct communication is possible, and file transfer using the RP when the RP needs to be used. The P2P file transfer method described. ファイルを管理するファイルDBを含み、そのファイルの管理を行うファイル管理手段と、
前記ファイル管理手段にアクセスし、ファイルの取得を行うファイル取得手段と、
前記ファイル管理手段にアクセスし、任意のフォルダごと取得を行うフォルダ取得手段と、
端末間でHop−by−Hopで転送する機能を持つP2P通信手段と、
ファイルの転送を行うファイル転送手段と
を含むP2Pファイル転送装置を有する利用者端末と、
ファイアウォール外の他ホストからアクセス可能な領域に設置され、ファイルを管理するファイルDBを含み、そのファイルの管理を行うファイル管理手段と、
利用者端末間でHop−by−Hopで転送する機能を持つP2P通信手段と、
ファイルの転送を行うファイル転送手段と
を含むP2Pファイル転送装置を有する中継端末を
有するP2Pファイル転送システム。
A file management means for managing the file, including a file DB for managing the file;
File acquisition means for accessing the file management means and acquiring files;
A folder acquisition unit that accesses the file management unit and acquires an arbitrary folder;
P2P communication means having a function of transferring between terminals by Hop-by-Hop;
A user terminal having a P2P file transfer device including a file transfer means for transferring a file;
A file management means installed in an area accessible from other hosts outside the firewall, including a file DB for managing files, and managing the files;
P2P communication means having a function of transferring by Hop-by-Hop between user terminals;
A P2P file transfer system having a relay terminal having a P2P file transfer device including file transfer means for transferring a file.
前記両P2Pファイル転送装置は、上位アプリケーションとOSの間に位置している、請求項5に記載のP2Pファイル転送システム。   6. The P2P file transfer system according to claim 5, wherein both the P2P file transfer apparatuses are located between a host application and an OS. P2Pネットワーク上に接続された利用者端末において、
ファイルを管理するファイルDBを含み、そのファイルの管理を行うファイル管理手段と、
前記ファイル管理手段にアクセスし、ファイルの取得を行うファイル取得手段と、
前記ファイル管理手段にアクセスし、任意のフォルダごと取得を行うフォルダ取得手段と、
端末間でHop−by−Hopで転送する機能を持つP2P通信手段と、
ファイルの転送を行うファイル転送手段と
を含むP2Pファイル転送装置を有することを特徴とする利用者端末。
In the user terminal connected on the P2P network,
A file management means for managing the file, including a file DB for managing the file;
File acquisition means for accessing the file management means and acquiring files;
A folder acquisition unit that accesses the file management unit and acquires an arbitrary folder;
P2P communication means having a function of transferring between terminals by Hop-by-Hop;
A user terminal comprising: a P2P file transfer device including a file transfer means for transferring a file.
P2Pネットワークシステム上に接続された中継端末において、
ファイアウォール外の他ホストからアクセス可能な領域に設置され、ファイルを管理するファイルDBを含み、そのファイルの管理を行うファイル管理手段と、
端末間でHop−by−Hopで転送する機能を持つP2P通信手段と、
ファイルの転送を行うファイル転送手段と
を含むP2Pファイル転送装置を有することを特徴とする中継端末。
In the relay terminal connected on the P2P network system,
A file management means installed in an area accessible from other hosts outside the firewall, including a file DB for managing files, and managing the files;
P2P communication means having a function of transferring between terminals by Hop-by-Hop;
A relay terminal comprising: a P2P file transfer device including a file transfer means for transferring a file.
請求項7または請求項8に記載の端末の機能をコンピュータで実行するためのコンピュータプログラム。   The computer program for performing the function of the terminal of Claim 7 or Claim 8 with a computer.
JP2004133512A 2004-04-28 2004-04-28 P2p file transfer method, system, user terminal, relay terminal and program Pending JP2005316690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004133512A JP2005316690A (en) 2004-04-28 2004-04-28 P2p file transfer method, system, user terminal, relay terminal and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004133512A JP2005316690A (en) 2004-04-28 2004-04-28 P2p file transfer method, system, user terminal, relay terminal and program

Publications (1)

Publication Number Publication Date
JP2005316690A true JP2005316690A (en) 2005-11-10

Family

ID=35444055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004133512A Pending JP2005316690A (en) 2004-04-28 2004-04-28 P2p file transfer method, system, user terminal, relay terminal and program

Country Status (1)

Country Link
JP (1) JP2005316690A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100810759B1 (en) * 2006-02-17 2008-03-07 엔에이치엔(주) P2P File Transmission System and Method
WO2019102690A1 (en) * 2017-11-24 2019-05-31 クラリオン株式会社 Server device, onboard apparatus, and data communication method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100810759B1 (en) * 2006-02-17 2008-03-07 엔에이치엔(주) P2P File Transmission System and Method
WO2019102690A1 (en) * 2017-11-24 2019-05-31 クラリオン株式会社 Server device, onboard apparatus, and data communication method
JP2019096097A (en) * 2017-11-24 2019-06-20 クラリオン株式会社 Server device, on-vehicle machine, and data communication method
CN111373384A (en) * 2017-11-24 2020-07-03 歌乐株式会社 Server device, vehicle-mounted device, and data communication method

Similar Documents

Publication Publication Date Title
US9521217B2 (en) System and method for remote access to cloud-enabled network devices
JP5050095B2 (en) Method, system, and node for P2P content sharing
US8463936B2 (en) Method and device for distributing digital data in particular for a peer-to-peer network
JP3851275B2 (en) Scalable resource discovery and reconfiguration of distributed computer networks
US20070016680A1 (en) Method and system for proxy-based file sharing
JP2005275937A (en) P2p network system
US20070180079A1 (en) Method and system for peer-to-peer stream
TW200401201A (en) Secured and access controlled peer-to-peer resource sharing method and apparatus
US20060236386A1 (en) Method and apparatus for cooperative file distribution in the presence of firewalls
JP5847185B2 (en) Content sharing method and apparatus using group change information in content-centric network environment
US8219618B2 (en) Information communication system, information communication method, and recording medium having information communication program stored thereon
EP1880302A2 (en) Peer data transfer orchestration
JP2012504282A (en) Selective data transfer storage
KR101573197B1 (en) Control method for transmitting distributed file based on P2Peer and P2P communication control apparatus therefor
JP2008234206A (en) Information transmitting system, information processor, information management device, and information transmission method
KR20170055174A (en) Method of managing resource and peer-to-peer system including network management server
JP2010517479A (en) Automatic protocol switching
JP2006195546A (en) Information processing apparatus, method, and program
KR20090006504A (en) Apparatus and method for providing p2p service in ip multimedia subsystem
KR100375796B1 (en) Direct interpersonal distributed network system for communication by using jointly-owned back-up storage device on the web
JP2005316690A (en) P2p file transfer method, system, user terminal, relay terminal and program
KR20120052444A (en) File transmission management system and file transmission mangement method for supporting file transmission in mobile messaging service
KR101041092B1 (en) Effective p2p system by using web folder
WO2008050585A1 (en) Two-way communication system, server apparatus, relay apparatus, two-way communication method and program
Lombera et al. Peer-to-peer publication, search and retrieval using the Android mobile platform