[go: up one dir, main page]

JP2011198033A - P2p distribution system, and method and system for calculating network distance between peer nodes in the same - Google Patents

P2p distribution system, and method and system for calculating network distance between peer nodes in the same Download PDF

Info

Publication number
JP2011198033A
JP2011198033A JP2010064101A JP2010064101A JP2011198033A JP 2011198033 A JP2011198033 A JP 2011198033A JP 2010064101 A JP2010064101 A JP 2010064101A JP 2010064101 A JP2010064101 A JP 2010064101A JP 2011198033 A JP2011198033 A JP 2011198033A
Authority
JP
Japan
Prior art keywords
peer
network distance
network
node
distance
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
JP2010064101A
Other languages
Japanese (ja)
Inventor
Emi Shibuya
惠美 渋谷
Tomohiko Ogishi
智彦 大岸
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.)
KDDI Corp
Original Assignee
KDDI 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 KDDI Corp filed Critical KDDI Corp
Priority to JP2010064101A priority Critical patent/JP2011198033A/en
Publication of JP2011198033A publication Critical patent/JP2011198033A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

【課題】ネットワークやピアノードに大きな負荷をかけることなくピアノード間のネットワーク距離を精度良く計測する。
【解決手段】各ピアノード1は、各参照サーバ3へ計測要求パケットを送信し、これに対して返信される計測応答パケットに基づいて自ノードと各参照サーバ3とのネットワーク距離指標値を計測し、これをネットワーク距離管理サーバ4へ通知する。ネットワーク距離管理サーバ4は、各ピアノード1から通知されたネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出する。配信制御サーバ2は、要求ピア1aからピアリスト要求を受信すると、ネットワーク距離管理サーバ4へ要求ピア1aと各相手ピア候補とのネットワーク距離指標値を要求して取得し、ネットワーク距離が近い相手ピアほど優先順位が高く設定されたピアリストを作成する。
【選択図】図1
An object of the present invention is to accurately measure a network distance between peer nodes without imposing a large load on a network or peer nodes.
Each peer node transmits a measurement request packet to each reference server, and measures a network distance index value between the own node and each reference server based on a measurement response packet returned in response thereto. This is notified to the network distance management server 4. The network distance management server 4 calculates a network distance index value between the peer nodes based on the network distance index value notified from each peer node 1. When the distribution control server 2 receives the peer list request from the requesting peer 1a, the distribution control server 2 requests and acquires the network distance index value between the requesting peer 1a and each peer candidate from the network distance management server 4 and obtains the peer peer with a short network distance Create a peer list with higher priority.
[Selection] Figure 1

Description

本発明は、ネットワーク上に分散配置されたピアノード間のネットワーク距離を算出し、P2P配信の相手ピアをピアノード間のネットワーク距離に基づいて選択するP2P配信システムならびにそのピアノード間のネットワーク距離算出方法およびシステムに関する。   The present invention calculates a network distance between peer nodes distributed on a network, and selects a peer peer of P2P distribution based on the network distance between peer nodes, and a network distance calculation method and system between the peer nodes About.

P2Pネットワークにおいて、コンテンツファイルの配信サービスなどを受けたいピアノード(要求ピア)は、コンテンツのピースを所持している相手ピア候補を、例えば配信制御サーバから取得したピアリストや他のピアノードから取得したノード情報等に基づいて把握し、その中から最適な相手ピアを選択してP2P通信を行う。   In a P2P network, a peer node (requesting peer) that wants to receive a content file distribution service or the like obtains a peer candidate possessing a piece of content, for example, a peer list acquired from a distribution control server or a node acquired from another peer node Based on information, etc., P2P communication is performed by selecting the most appropriate peer from the information.

特許文献1には、複数の相手ピア候補の中から最適な相手ピアを選択するために、要求ピアがピアノード間の物理ネットワーク距離情報、処理能力、回線帯域情報等の中から1つもしくは複数の組み合わせに基づいて相手ピア候補に優先順位を設定し、優先順位の高い相手ピア候補を相手ピアとして選択する技術が開示されている。このとき、ピアノード間の物理ネットワーク距離は、要求ピアが計測用のパケットをブロードキャストで送信することにより、ホップ数または応答遅延として評価される。   In Patent Document 1, in order to select an optimum partner peer from among a plurality of partner peer candidates, the requesting peer has one or more of physical network distance information, processing capability, line bandwidth information, etc. between peer nodes. A technique is disclosed in which priority is set for a peer candidate based on a combination, and a peer peer candidate with a high priority is selected as a peer peer. At this time, the physical network distance between the peer nodes is evaluated as the number of hops or the response delay when the requesting peer broadcasts a measurement packet.

特開2004−258747号公報JP 2004-258747 A

従来技術には以下のような課題があった。   The prior art has the following problems.

(1)ピアノード間の距離を測定するために、要求ピアから計測用のパケットがブロードキャストで送信されるので、計測用パケットのトラヒックによりネットワークに負荷がかかる。   (1) In order to measure the distance between peer nodes, a measurement packet is transmitted by broadcast from a requesting peer, so that a load is imposed on the network due to traffic of the measurement packet.

(2)各ピアノードに対して計測用パケットが送信されるため、配信処理中のピアノードでは計測用パケットの処理に要する負荷によりコンテンツ配信処理に支障を来す場合がある。   (2) Since the measurement packet is transmitted to each peer node, the content distribution process may be hindered by the load required for the measurement packet process at the peer node during the distribution process.

(3)計測用パケットをブロードキャストで送信する計測方法では、計測結果が1対1間の応答時間のみで求まるので、計測結果がネットワーク状況の影響を受け易くなり、十分な精度を得られない場合がある。   (3) In the measurement method in which the measurement packet is transmitted by broadcast, the measurement result can be obtained only with a one-to-one response time, so the measurement result is easily affected by the network status and sufficient accuracy cannot be obtained. There is.

本発明の目的は、上記した従来技術の課題を解決し、ネットワークやピアノードに大きな負荷をかけることなくピアノード間のネットワーク距離を精度良く計測できるP2P配信システムならびにそのピアノード間のネットワーク距離算出方法およびシステムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems of the prior art, and to provide a P2P distribution system capable of accurately measuring a network distance between peer nodes without applying a large load to the network or peer node, and a network distance calculation method and system between the peer nodes. Is to provide.

上記の目的を達成するために、本発明は、以下のような構成を具備した点に特徴がある。   In order to achieve the above object, the present invention is characterized in that it has the following configuration.

(1)本発明のネットワーク距離算出システムは、各ピアノードから受信した計測要求パケットに対して計測応答パケットを返信する複数の参照サーバと、各ピアノードと各参照サーバとのネットワーク距離の指標となるネットワーク距離指標値として、例えば計測要求メッセージに対する前記計測応答メッセージの応答遅延時間、に基づいて各ピアノード間のネットワーク距離指標値を算出するネットワーク距離管理サーバとを具備し、各ピアノードが、複数の参照サーバへ計測要求メッセージを送信する手段と、計測要求メッセージに対して返信される計測応答メッセージに基づいて各参照サーバとのネットワーク距離指標値を計測する手段と、各参照サーバとのネットワーク距離指標値を前記ネットワーク距離管理サーバへ通知する手段とを具備した。   (1) The network distance calculation system of the present invention includes a plurality of reference servers that return measurement response packets in response to measurement request packets received from each peer node, and a network that serves as an index of the network distance between each peer node and each reference server. A network distance management server that calculates a network distance index value between each peer node based on, for example, a response delay time of the measurement response message with respect to a measurement request message as a distance index value, and each peer node includes a plurality of reference servers Means for transmitting a measurement request message to the device, means for measuring a network distance index value with each reference server based on a measurement response message returned to the measurement request message, and a network distance index value with each reference server. Means for notifying the network distance management server; Equipped.

(2)本発明のP2P配信システムは、各ピアノードから受信した計測要求パケットに対して計測応答パケットを返信する複数の参照サーバと、各ピアノードと各参照サーバとのネットワーク距離の指標となるネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出するネットワーク距離管理サーバとを具備し、各ピアノードが、複数の参照サーバへ計測要求メッセージを送信する手段と、計測要求メッセージに対して返信される計測応答メッセージに基づいて各参照サーバとのネットワーク距離指標値を計測する手段と、各参照サーバとのネットワーク距離指標値を前記ネットワーク距離管理サーバへ通知する手段と、所望のコンテンツピースを所持している相手ピア候補のアドレス情報を取得する手段と、自ノードおよび各相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバへ送信する手段とを具備した。   (2) The P2P distribution system of the present invention includes a plurality of reference servers that return measurement response packets in response to measurement request packets received from each peer node, and a network distance that serves as an index of the network distance between each peer node and each reference server. A network distance management server for calculating a network distance index value between each peer node based on the index value, each peer node sending a measurement request message to a plurality of reference servers, and a reply to the measurement request message Means for measuring the network distance index value with each reference server based on the measurement response message, means for notifying the network distance index value with each reference server to the network distance management server, and possessing a desired content piece Means for acquiring the address information of the other peer candidate, Beauty peer distance request address information is described for each peer with candidate and means for transmitting to the network distance management server.

また、ネットワーク距離管理サーバが、通知された各ピアノードと各参照サーバとのネットワーク距離指標値に基づいて、各ピアノード間のネットワーク距離指標値を算出する手段と、ピア間距離要求に応答して、その要求ピアと各相手ピア候補とのネットワーク距離指標値の記述されたピア間距離応答を返信する手段とを具備した。   Further, in response to the inter-peer distance request, the network distance management server calculates a network distance index value between each peer node based on the notified network distance index value between each peer node and each reference server, And a means for returning a distance response between peers in which network distance index values between the requesting peer and each peer candidate are described.

さらに、前記各ピアノードが、ネットワーク距離管理サーバから、自ノードと各相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信する手段と、ピア間距離応答に基づいて、自ノードとのネットワーク距離が近い相手ピア候補ほど優先度を高く設定する手段と、優先度に基づいて、相手ピア候補の中から相手ピアを選択してコネクションを確立する手段とを具備した。   Further, each peer node receives, from the network distance management server, a peer distance response in which a network distance index value between the node and each peer candidate is described, and based on the peer distance response, Means for setting a higher priority for the peer peer candidate with a shorter network distance, and means for establishing a connection by selecting the peer peer from the peer peer candidates based on the priority.

本発明によれば、以下のような効果が達成される。   According to the present invention, the following effects are achieved.

(1)距離計測用のパケットが要求ピアから参照サーバへ送信されるので、各ピアノードは距離計測用パケットを処理する負荷から解放される。   (1) Since the distance measurement packet is transmitted from the requesting peer to the reference server, each peer node is released from the load for processing the distance measurement packet.

(2)距離計測用のパケットが、要求ピアからブロードキャストではなく各参照サーバを宛先として限定的に送信されるので、計測用パケットのトラヒックによりネットワークに過大な負荷が加わることが無い。   (2) Since the distance measurement packet is transmitted from the requesting peer to each reference server as a destination instead of broadcasting, an excessive load is not applied to the network due to the traffic of the measurement packet.

(3)ピアノード間のネットワーク距離が、当該ピアノード間で送受信される計測用パケットの応答遅延ではなく、各ピアノードと各参照サーバとの複数の応答遅延に基づいて算出されるので、ネットワーク状況の影響を受けにくく精度の高い計測結果を得られるようになる。   (3) Network distance between peer nodes is calculated based on multiple response delays between each peer node and each reference server, not the response delay of measurement packets sent and received between the peer nodes. Highly accurate measurement results can be obtained.

(4)プレフィックスが同一のピアノードがネットワーク距離管理サーバに既登録である他のピアノードは、自ノードと各参照サーバとの距離計測を免除されるので、計測要求パケットおよびその応答パケットのトラフィックを削減できるようになる。   (4) Other peer nodes whose peers with the same prefix are already registered in the network distance management server are exempt from distance measurement between the local node and each reference server, so the traffic of the measurement request packet and its response packet is reduced. become able to.

本発明の第1実施形態に係るP2P配信システムのブロック図である。1 is a block diagram of a P2P distribution system according to a first embodiment of the present invention. 第1実施形態におけるピアノードの動作を示したフローチャートである。It is the flowchart which showed the operation | movement of the peer node in 1st Embodiment. 第1実施形態におけるネットワーク距離管理サーバの動作を示したフローチャートである。It is the flowchart which showed operation | movement of the network distance management server in 1st Embodiment. 第1実施形態における配信制御サーバの動作を示したフローチャートである。It is the flowchart which showed operation | movement of the delivery control server in 1st Embodiment. 第1実施形態のシーケンスフローである。It is a sequence flow of a 1st embodiment. 応答時間管理テーブルの一例を示した図である。It is the figure which showed an example of the response time management table. 遅延時間の計算方法を示した図である。It is the figure which showed the calculation method of delay time. ネットワーク距離管理テーブルの一例を示した図である。It is the figure which showed an example of the network distance management table. 第1実施形態の機能ブロック図である。It is a functional block diagram of a 1st embodiment. 本発明の第2実施形態に係るP2P配信システムのブロック図である。It is a block diagram of the P2P delivery system concerning a 2nd embodiment of the present invention. 第2実施形態のシーケンスフローである。It is a sequence flow of a 2nd embodiment. 第2実施形態の機能ブロック図である。It is a functional block diagram of a 2nd embodiment. 本発明の第3実施形態のシーケンスフローである。It is a sequence flow of 3rd Embodiment of this invention. 第3実施形態の機能ブロック図である。It is a functional block diagram of a 3rd embodiment. 第4実施形態の動作を示したフローチャートである。It is the flowchart which showed the operation | movement of 4th Embodiment. プレフィックス分類テーブルの一例を示した図である。It is the figure which showed an example of the prefix classification | category table.

[実施形態1]
図1は、本発明の第1実施形態に係るP2P配信システムのネットワーク構成を示したブロック図であり、コンテンツ(ファイル)をピース単位で送受信する複数のピアノード1(要求ピア1aおよび相手ピア1b,1c)と、各コンテンツのピースを所持するピアノード(相手ピア候補)を把握してピアリストを作成するP2Pの配信制御サーバ2と、各ピアノード1からネットワーク距離に関する計測要求パケットを受信して計測応答パケットを返信する参照サーバ3(3a,3b,3c)と、各ピアノード1から通知される当該ピアノード1と各参照サーバ3とのネットワーク距離(または、当該ネットワーク距離の指標となる情報あるいは当該ネットワーク距離を代表できる情報:以下、ネットワーク距離指標値で総称する)に基づいて各ピアノード間のネットワーク距離指標値を算出するネットワーク距離管理サーバ4とを含む。
[Embodiment 1]
FIG. 1 is a block diagram showing a network configuration of the P2P distribution system according to the first embodiment of the present invention, and a plurality of peer nodes 1 (requesting peer 1a and counterpart peer 1b, which transmit and receive content (files) in pieces. 1c), a P2P distribution control server 2 that grasps the peer node (partner peer candidate) possessing each piece of content and creates a peer list, and receives a measurement request packet related to the network distance from each peer node 1 and receives a measurement response The network distance between the reference server 3 (3a, 3b, 3c) that returns the packet and the peer node 1 and each reference server 3 notified from each peer node 1 (or information that is an index of the network distance or the network distance) Based on the following information: And a network distance management server 4 to calculate the network distance index value between the nodes.

このようなネットワーク構成において、各ピアノード1は各参照サーバ3へ計測要求パケットを送信し、各参照サーバ3から返信される計測応答パケットに基づいて自ノードと各参照サーバ3とのネットワーク距離指標値を算出すると共に、この算出結果を前記ネットワーク距離管理サーバ4へ通知する。ここでは、各ピアノード1において計測要求パケットを送信してから計測応答パケットが返信されるまでの応答遅延時間がネットワーク距離指標値とされるものとして説明を続ける。ネットワーク距離管理サーバ4は、各ピアノード1から通知された各参照サーバ3とのネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出する。   In such a network configuration, each peer node 1 transmits a measurement request packet to each reference server 3, and the network distance index value between the own node and each reference server 3 based on the measurement response packet returned from each reference server 3. And the network distance management server 4 is notified of the calculation result. Here, the description is continued assuming that the response delay time from the transmission of the measurement request packet to the return of the measurement response packet at each peer node 1 is the network distance index value. The network distance management server 4 calculates a network distance index value between each peer node based on the network distance index value with each reference server 3 notified from each peer node 1.

配信制御サーバ2は、要求ピア1aからピアリスト要求を受信すると、配信要求されたコンテンツのピースを所持している相手ピア候補を、例えば自身のデータベースを参照して選択し、要求ピア1aおよび各相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバ4へ送信する。前記ネットワーク距離管理サーバ4は、このピア間距離要求に対して、要求ピア1aと各相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を返信する。   When the distribution control server 2 receives the peer list request from the requesting peer 1a, the distribution control server 2 selects a peer candidate having the piece of content requested to be distributed with reference to its own database, for example, and selects the requesting peer 1a and each of the requesting peers 1a and The inter-peer distance request in which the address information of the partner peer candidate is described is transmitted to the network distance management server 4. In response to the inter-peer distance request, the network distance management server 4 returns an inter-peer distance response in which the network distance index values between the requesting peer 1a and each peer candidate are described.

配信制御サーバ2はさらに、前記返信されたピア間距離応答に基づいて、ネットワーク距離が近い相手ピア候補ほど優先順位が高く設定されたピアリストを作成して要求ピア1aへ通知する。要求ピア1aは、優先順位の高い相手ピア候補から優先的にコネクションを確立してコンテンツピースを取得する。   Further, based on the returned inter-peer distance response, the distribution control server 2 creates a peer list in which the higher priority is set for the peer candidate with a shorter network distance and notifies the requesting peer 1a. The requesting peer 1a acquires a content piece by establishing a connection preferentially from a peer candidate with a higher priority.

次いで、本実施形態の動作について説明する。図2,3,4は、それぞれピアノード1,ネットワーク距離管理サーバ4および配信制御サーバ2の動作を示したフローチャートであり、図5は、そのシーケンスフローである。   Next, the operation of this embodiment will be described. 2, 3 and 4 are flowcharts showing operations of the peer node 1, the network distance management server 4 and the distribution control server 2, respectively, and FIG. 5 is a sequence flow thereof.

図2を参照し、各ピアノード1は、例えばP2Pネットワークへの参加時などの適宜のタイミングで自ノードと各参照サーバ3とのネットワーク距離指標値を算出する。本実施形態では、ステップS1において各参照サーバ3へ固定長の計測要求パケットとして、例えばICMP Echoパケットなどが送信される。ステップS2において、各参照サーバ3から計測応答パケットとして、例えばICMP Replyパケットなどが受信されると、ステップS3では、対応するパケットの応答遅延時間が算出され、これが自ノードと各参照サーバ3との間のネットワーク距離指標値とされる。なお、計測要求パケットおよび計測応答パケットの送受信は1回に限定されるものではなく、複数回を繰り返して各応答遅延時間の平均値をネットワーク距離指標値とするようにしても良い。   Referring to FIG. 2, each peer node 1 calculates a network distance index value between itself and each reference server 3 at an appropriate timing, for example, when participating in a P2P network. In the present embodiment, for example, an ICMP Echo packet or the like is transmitted as a fixed length measurement request packet to each reference server 3 in step S1. When, for example, an ICMP Reply packet or the like is received as a measurement response packet from each reference server 3 in step S2, a response delay time of the corresponding packet is calculated in step S3, and this is calculated between the own node and each reference server 3. Network distance index value between. The transmission / reception of the measurement request packet and the measurement response packet is not limited to one time, and the average value of each response delay time may be used as the network distance index value by repeating a plurality of times.

ステップS4では、前記ネットワーク距離指標値がネットワーク距離管理サーバ4へ通知される。なお、同様の手順は要求ピア1aおよび相手ピア1b,1cの区別無しに全てのピアノード1において非同期に実施され、当該他のピアノードからも各参照サーバ3との間のネットワーク距離指標値がネットワーク距離管理サーバ4へ通知される。   In step S4, the network distance index value is notified to the network distance management server 4. A similar procedure is performed asynchronously in all peer nodes 1 without distinguishing between the requesting peer 1a and the counterpart peers 1b and 1c, and the network distance index value between each other reference node 3 and the other peer nodes is the network distance. The management server 4 is notified.

図3を参照し、前記ネットワーク距離管理サーバ4は、ステップS11で各ピアノード1から各参照サーバ3との間のネットワーク距離指標値を受信すると、ステップS12では、受信された指標値が応答時間管理テーブル41に記録される。図6は、応答時間管理テーブル41の一例を示した図であり、ピアノード1x(1a,1b…)ごとに各参照サーバ#y(#1,#2…#n)とのネットワーク距離指標値(ここでは、応答遅延時間txy)が記録されている。ステップS13では、前記応答時間管理テーブル41に基づいて、ピアノードペアごとに、図7に一例を示したような遅延時間計算方法によりピアノード間のネットワーク距離指標値dが算出される。   Referring to FIG. 3, when the network distance management server 4 receives a network distance index value from each peer node 1 to each reference server 3 in step S11, the received index value is response time management in step S12. Recorded in the table 41. FIG. 6 is a diagram illustrating an example of the response time management table 41. Each peer node 1x (1a, 1b...) Has a network distance index value (with each reference server #y (# 1, # 2... #N)). Here, the response delay time txy) is recorded. In step S13, based on the response time management table 41, the network distance index value d between the peer nodes is calculated for each peer node pair by the delay time calculation method as shown in FIG.

本実施形態では、距離算出対象のピアノードペア1a、1bと各参照サーバ#1,#2…#nとのネットワーク距離指標値(応答遅延時間)を、それぞれta1,ta2…tanおよびtb1,tb2…tbnとし、各ピアノード1a、1bと各参照サーバ#1,#2…#nとの遅延時間差をそれぞれD1,D2…Dnとしたとき、ピアノード1a、1b間のネットワーク距離指標値dabが次式(1)で算出される。   In this embodiment, the network distance index values (response delay times) between the peer node pairs 1a, 1b for distance calculation and the reference servers # 1, # 2,... #N are respectively ta1, ta2 ... tan and tb1, tb2,. where tbn is the delay time difference between each peer node 1a, 1b and each reference server # 1, # 2... #n, D1, D2... Dn, the network distance index value dab between the peer nodes 1a, 1b is Calculated in 1).

Figure 2011198033
Figure 2011198033

ステップS14では、全てのピアノードペアのネットワーク距離指標値dに基づいて、図8に一例を示したような、全てのピアノード間のネットワーク距離指標値を管理するネットワーク距離管理テーブル42が生成される。ステップS15〜S17については後述する。   In step S14, based on the network distance index values d of all the peer node pairs, a network distance management table 42 for managing the network distance index values between all the peer nodes as shown in FIG. 8 is generated. Steps S15 to S17 will be described later.

図4を参照し、配信制御サーバ2では、コンテンツ配信を要求する要求ピア1aから送信されたピアリスト要求がステップS31で受信される。このピアリスト要求には、要求ピア1aが配信要求するコンテンツの識別情報や要求ピア1aの属性情報が記述されている。ステップS32では,前記ピアリスト要求に記述されていた配信要求コンテンツの識別情報に基づいて、そのピースを所持しているピアノードが相手ピア候補として選択される。ステップS33では、要求ピア1aのIPアドレスおよび前記各相手ピア候補のIPアドレスの記述されたピア間距離要求が前記ネットワーク距離管理サーバ4へ送信される。   Referring to FIG. 4, in distribution control server 2, the peer list request transmitted from request peer 1a requesting content distribution is received in step S31. In this peer list request, content identification information requested by the requesting peer 1a and attribute information of the requesting peer 1a are described. In step S32, based on the identification information of the distribution request content described in the peer list request, a peer node possessing the piece is selected as a partner peer candidate. In step S33, the inter-peer distance request in which the IP address of the requesting peer 1a and the IP addresses of the respective peer candidates are described is transmitted to the network distance management server 4.

図3へ戻り、ネットワーク距離管理サーバ4では、ステップS15で前記ピア間距離要求が受信されるとステップS16へ進む。ステップS16では、要求ピア1aのIPアドレスおよび各相手ピア候補のIPアドレスに基づいて前記ネットワーク距離管理テーブル42が参照され、要求ピア1aと各相手ピア候補とのネットワーク距離指標値dが抽出される。ステップS17では、前記抽出されたネットワーク距離指標値dの記述されたピア間距離応答が配信制御サーバ2へ返信される。   Returning to FIG. 3, when the network distance management server 4 receives the inter-peer distance request in step S15, the process proceeds to step S16. In step S16, the network distance management table 42 is referred to based on the IP address of the requesting peer 1a and the IP address of each partner peer candidate, and the network distance index value d between the requesting peer 1a and each partner peer candidate is extracted. . In step S17, the inter-peer distance response in which the extracted network distance index value d is described is returned to the distribution control server 2.

図4へ戻り、配信制御サーバ2では、ステップS34において前記ピア間距離応答が受信されるとステップS35へ進み、要求ピア1aと前記各相手ピア候補とのネットワーク距離指標値に基づいて、要求ピア1aとのネットワーク距離が近い相手ピア候補ほど優先度が上位に設定されたピアリストが作成される。ステップS36では、前記ピアリストが要求ピア1aへ通知される。   Returning to FIG. 4, when the inter-peer distance response is received in step S34, the distribution control server 2 proceeds to step S35, and based on the network distance index value between the requesting peer 1a and each partner peer candidate, A peer list in which the priority is set higher as the peer peer candidate whose network distance to 1a is closer is created. In step S36, the peer list is notified to the requesting peer 1a.

図9は、本実施形態の機能ブロック図であり、ここでは、本実施形態の説明に不要な構成は図示が省略されている。   FIG. 9 is a functional block diagram of the present embodiment, and illustrations of components unnecessary for the description of the present embodiment are omitted here.

ピアノード1は、各参照サーバ3へ計測要求パケットを送信し、これに対して返信される計測応答パケットに基づいて自ノードと各参照サーバ3とのネットワーク距離指標値を計測する距離計測部11と、前記ネットワーク距離指標値の計測結果をネットワーク距離管理サーバ4へ通知する距離通知部12と、コンテンツ配信の要求ピア1aとして配信制御サーバ2へピアリスト要求を送信するピアリスト要求部13とを含む。   The peer node 1 transmits a measurement request packet to each reference server 3, and measures a network distance index value between the own node and each reference server 3 based on a measurement response packet returned thereto. A distance notification unit 12 for notifying the network distance management server 4 of the measurement result of the network distance index value, and a peer list requesting unit 13 for transmitting a peer list request to the distribution control server 2 as a content distribution requesting peer 1a. .

ネットワーク距離管理サーバ4は、各ピアノード1から通知されるピアノード/参照サーバ間距離の指標値を受信して前記応答時間管理テーブル41に登録する計測結果管理部43と、前記応答時間管理テーブル41に基づいて各ピアノードペア間のネットワーク距離指標値を算出して前記ネットワーク距離管理テーブル42に登録する距離算出部44と、配信制御サーバ2から受信したピア間距離要求に応答して前記ネットワーク距離管理テーブル42を参照し、要求ピアと各相手ピア候補とのネットワーク距離指標値を提供する距離応答部45とを含む。   The network distance management server 4 receives the index value of the peer node / reference server distance notified from each peer node 1 and registers it in the response time management table 41, and the response time management table 41 A distance calculation unit 44 that calculates a network distance index value between each peer node pair based on the network distance management table 42, and the network distance management table in response to the inter-peer distance request received from the distribution control server 2 42, a distance response unit 45 that provides a network distance index value between the requesting peer and each peer candidate.

配信制御サーバ2は、要求ピア1aから受信したピアリスト要求に応答して相手ピア候補を選択し、要求ピア1aのアドレス情報および少なくとも一つの相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバ4へ送信する距離要求部21と、前記ネットワーク距離管理サーバ4から要求ピア1aと各相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信する距離取得部22と、要求ピア1aとのネットワーク距離が近い相手ピア候補ほど優先度が高く設定されたピアリストを生成するピアリスト生成部23と、このピアリストを含むピアリスト応答を要求ピア1aへ返信するピアリスト提供部24とを含む。   The distribution control server 2 selects a peer candidate in response to the peer list request received from the requesting peer 1a, and requests a peer distance request in which the address information of the requesting peer 1a and the address information of at least one peer candidate are described. A distance request unit 21 that transmits to the network distance management server 4 and a distance acquisition that receives from the network distance management server 4 an inter-peer distance response in which the network distance index values of the requesting peer 1a and each peer candidate are described. Peer list generation unit 23 that generates a peer list in which the priority is set higher as the peer peer candidate with a shorter network distance between unit 22 and request peer 1a, and returns a peer list response including this peer list to request peer 1a And a peer list providing unit 24.

本実施形態によれば、計測要求パケットが要求ピア1aから参照サーバ3へ送信されるので、各ピアノード1は計測要求パケットを処理する負荷から解放される。しかも、計測要求パケットは、要求ピア1aからブロードキャストではなく各参照サーバ3を宛先として限定的に送信されるので、計測要求パケットおよびその応答パケットのトラヒックによりP2Pネットワークに過大な負荷が加わることが無い。さらに、ピアノード間のネットワーク距離が、当該ピアノード間で送受信される計測用パケットの応答遅延ではなく、各ピアノード1と各参照サーバ3との複数の応答遅延に基づいて算出されるので、ネットワーク状況の影響を受けにくく精度の高い計測結果を得られるようになる。   According to the present embodiment, since the measurement request packet is transmitted from the requesting peer 1a to the reference server 3, each peer node 1 is released from the load for processing the measurement request packet. Moreover, since the measurement request packet is transmitted from the requesting peer 1a not to the broadcast but to each reference server 3 as a destination, an excessive load is not added to the P2P network due to the traffic of the measurement request packet and its response packet. . Further, since the network distance between the peer nodes is calculated based on a plurality of response delays between each peer node 1 and each reference server 3 instead of the response delay of the measurement packet transmitted / received between the peer nodes, Highly accurate measurement results can be obtained without being affected.

[実施形態2]
図10は、本発明の第2実施形態に係るP2Pネットワークの構成を示したブロック図であり、前記と同一の符号は同一または同等の構成を示している。図11は、本実施形態の動作を示したシーケンスフローである。
[Embodiment 2]
FIG. 10 is a block diagram showing a configuration of a P2P network according to the second embodiment of the present invention, where the same reference numerals as those described above indicate the same or equivalent configurations. FIG. 11 is a sequence flow showing the operation of this embodiment.

上記の第1実施形態では、要求ピア1aが配信制御サーバ2へピアリストを要求し、配信制御サーバ2がネットワーク距離管理サーバ4へ要求ピア1aと各相手ピア候補との距離を問い合わせるものとして説明したが、本実施形態では、要求ピア1aが配信制御サーバ以外から相手ピア候補の情報を取得し、自らネットワーク距離管理サーバ4へ各相手ピア候補との距離を問い合わせるようにした点に特徴がある。   In the first embodiment described above, the request peer 1a requests the distribution control server 2 for a peer list, and the distribution control server 2 inquires the network distance management server 4 about the distance between the request peer 1a and each peer candidate. However, the present embodiment is characterized in that the requesting peer 1a acquires information on the other peer candidate from other than the distribution control server, and inquires the distance to each other peer candidate from the network distance management server 4 itself. .

P2Pネットワークに参加するピアノード同士は、初めにDHT(分散ハッシュテーブル)を参照するなどの適宜の方法によりノード情報を収集する。もしくは、コネクション要求に応答してコネクションを確立した相手ピアからノード情報を収集する。さらに、各ピアノードは相手ノードとの間にコネクションが確立されると,自ノードが所持しているコンテンツピースのリストを相互に交換し、さらにはピースを取得するたびにコネクションを確立したピアに所持しているノード情報を通知することを繰り返すので、ピースの収集が進行するにつれて、他のピアノードが所持しているピースの情報が多数蓄積されることになる。その結果、要求ピア1aは自ノードのノード情報を参照することにより、所望のコンテンツピースを所持している相手ピア候補を識別できるようになる。   Peer nodes participating in the P2P network first collect node information by an appropriate method such as referring to a DHT (distributed hash table). Alternatively, node information is collected from the peer peer that established the connection in response to the connection request. Furthermore, when a connection is established with each peer node, each peer node exchanges a list of content pieces possessed by the node with each other, and each time a piece is acquired, the peer node possesses the connection with the established peer. Since the node information is repeatedly notified, as pieces are collected, a lot of pieces of pieces of information possessed by other peer nodes are accumulated. As a result, the requesting peer 1a can identify the peer candidate possessing the desired content piece by referring to the node information of the own node.

そこで、本実施形態では要求ピア1aがピースごとに相手ピア候補を識別できると、図11に示したように、自ノード1aおよび各相手ピア候補のIPアドレスが記述されたピア間距離要求をネットワーク距離管理サーバ4へ直接送信(ステップS41)する。要求ピア1aはさらに、各相手ピア候補と自ノードとのネットワーク距離指標値の記述されたピア間距離応答をネットワーク距離管理サーバ4から受信(ステップS42)すると、ピースごとに自ノードとのネットワーク距離が短い相手ピアを選択して当該相手ピアから優先的にピースを取得する。   Therefore, in this embodiment, when the requesting peer 1a can identify the peer candidate for each piece, as shown in FIG. 11, the inter-peer distance request in which the IP address of the node 1a and each peer candidate is described is sent to the network. Direct transmission to the distance management server 4 (step S41). When the requesting peer 1a further receives from the network distance management server 4 the inter-peer distance response in which the network distance index value between each partner peer candidate and the own node is described (step S42), the requesting peer 1a network distance to the own node for each piece Selects a short peer and obtains pieces preferentially from the peer.

図12は、本実施形態の機能ブロック図であり、本実施形態の説明に不要な構成は図示および説明が省略されている。   FIG. 12 is a functional block diagram of the present embodiment, and illustrations and descriptions of components unnecessary for the description of the present embodiment are omitted.

ピアノード1は、各参照サーバ3へ計測要求パケットを送信し、その計測応答パケットに基づいて自ノードと各参照サーバ3とのネットワーク距離指標値を計測する距離計測部11と、前記ネットワーク距離指標値の計測結果をネットワーク距離管理サーバ4へ通知する計測結果通知部12と、DHTや相手ピアからノード情報を取得するノード情報取得部14と、ノード情報に基づいて相手ピア候補を把握し、自ノードおよび相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバ4へ送信する距離要求部15と、ネットワーク距離管理サーバ4から自ノードと相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信し、自ノードとのネットワーク距離が近いピアノードを優先的に相手ピアとする相手ピア選択部16とを含む。   The peer node 1 transmits a measurement request packet to each reference server 3 and measures a network distance index value between the own node and each reference server 3 based on the measurement response packet, and the network distance index value A measurement result notification unit 12 for notifying the network distance management server 4 of the measurement result of the node, a node information acquisition unit 14 for acquiring node information from the DHT or the partner peer, grasping the partner peer candidate based on the node information, and the own node And a distance request unit 15 that transmits an inter-peer distance request in which address information of the partner peer candidate is described to the network distance management server 4, and a network distance index value between the own node and the partner peer candidate from the network distance management server 4. Priority is given to peer nodes that receive the described peer-to-peer distance response and that are close to the network And a mating peer selection unit 16, party peer.

ネットワーク距離管理サーバ4は、各ピアノード1から通知されるピアノード/参照サーバ間のネットワーク距離指標値を受信して前記応答時間管理テーブル41に登録する計測結果管理部43と、前記応答時間管理テーブル41に基づいて各ピアノードペア間のネットワーク距離指標値を算出して前記ネットワーク距離管理テーブル42に登録する距離算出部44と、要求ピア1aから受信したピア間距離要求に応答して前記ネットワーク距離管理テーブル42を参照し、要求ピアと相手ピア候補とのネットワーク距離指標値を提供する距離応答部46とを含む。   The network distance management server 4 receives the network distance index value between the peer node / reference server notified from each peer node 1 and registers it in the response time management table 41, and the response time management table 41. A distance calculation unit 44 that calculates a network distance index value between each peer node pair based on the network distance management table 42 and registers the network distance index value in response to the inter-peer distance request received from the requesting peer 1a. 42, a distance response unit 46 that provides a network distance index value between the requesting peer and the peer candidate.

本実施形態によれば、要求ピアがピアリストを配信制御サーバ2からではなくDHTや相手ピアから取得する場合でも、ネットワーク距離のより短い相手ピアを選択できるようになる。   According to the present embodiment, even when the requesting peer acquires the peer list not from the distribution control server 2 but from the DHT or the partner peer, the partner peer with a shorter network distance can be selected.

[実施形態3]
上記の第1および第2実施形態では、要求ピア1aまたは配信制御サーバ2がネットワーク距離管理サーバ4から要求ピア1aと各相手ピア候補とのネットワーク距離指標値を取得するものとして説明したが、本発明はこれのみに限定されるものではなく、要求ピア1aおよび配信制御サーバ2のいずれもがネットワーク距離管理サーバ4からネットワーク距離指標値を取得するようにしても良い。
[Embodiment 3]
In the first and second embodiments described above, the request peer 1a or the distribution control server 2 has been described as acquiring the network distance index value between the request peer 1a and each peer candidate from the network distance management server 4. The invention is not limited to this, and both the requesting peer 1a and the distribution control server 2 may acquire the network distance index value from the network distance management server 4.

図13は、本実施形態の動作を示したシーケンスフローであり、ここでは、各要求ピアが初めに配信制御サーバ2へピアリスト要求(S31)を送信して優先順位の付されたピアリストを取得(S36)し、相手ピアとの間にコネクションを確立してピースを取得する。その後は、コネクションを確立した相手ピースとピアノード情報を交換して相手ピア候補を識別し、各要求ピア1aがネットワーク距離管理サーバ4へ直に各相手ピア候補に関するピア間距離要求を送信(S41)してピア間距離の指標値を取得(S42)し、ネットワーク距離の近い相手ピアと優先的にコネクションを確立してピースを取得する。   FIG. 13 is a sequence flow showing the operation of the present embodiment. Here, each requesting peer first sends a peer list request (S31) to the distribution control server 2 to display a prioritized peer list. Obtain (S36), establish a connection with the peer and obtain a piece. Thereafter, the peer piece information is exchanged with the peer piece with which the connection has been established to identify the peer peer candidate, and each requesting peer 1a directly transmits the inter-peer distance request regarding the peer peer candidate to the network distance management server 4 (S41). Then, an index value of the distance between peers is acquired (S42), and a connection is preferentially established with a peer peer having a short network distance to acquire a piece.

図14は、本実施形態の機能ブロック図であり、ここでは、本実施形態の説明に不要な構成は図示が省略されている。   FIG. 14 is a functional block diagram of the present embodiment, and illustrations of components unnecessary for the description of the present embodiment are omitted here.

ピアノード1は、各参照サーバ3へ計測要求パケットを送信し、これに対して返信される計測応答パケットに基づいて自ノードと各参照サーバ3とのネットワーク距離指標値を計測する距離計測部11と、前記ネットワーク距離指標値の計測結果をネットワーク距離管理サーバ4へ通知する距離通知部12と、コンテンツ配信の要求ピア1aとして配信制御サーバ2へピアリスト要求を送信するピアリスト要求部13とを含む。   The peer node 1 transmits a measurement request packet to each reference server 3, and measures a network distance index value between the own node and each reference server 3 based on a measurement response packet returned thereto. A distance notification unit 12 for notifying the network distance management server 4 of the measurement result of the network distance index value, and a peer list requesting unit 13 for transmitting a peer list request to the distribution control server 2 as a content distribution requesting peer 1a. .

ネットワーク距離管理サーバ4は、各ピアノード1から通知されるピアノード/参照サーバ間距離の指標値を受信して前記応答時間管理テーブル41に登録する計測結果管理部43と、前記応答時間管理テーブル41に基づいて各ピアノードペア間のネットワーク距離指標値を算出して前記ネットワーク距離管理テーブル42に登録する距離算出部44と、ピア間距離要求に応答して前記ネットワーク距離管理テーブル42を参照し、要求ピアと各相手ピア候補とのネットワーク距離指標値を提供する距離応答部45とを含む。   The network distance management server 4 receives the index value of the peer node / reference server distance notified from each peer node 1 and registers it in the response time management table 41, and the response time management table 41 Based on the distance calculation unit 44 that calculates the network distance index value between each peer node pair based on the network distance management table 42 and refers to the network distance management table 42 in response to the inter-peer distance request, the requested peer And a distance response unit 45 that provides a network distance index value with each peer candidate.

配信制御サーバ2は、要求ピア1aから受信したピアリスト要求に応答して相手ピア候補を選択し、要求ピア1aのアドレス情報および少なくとも一つの相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバ4へ送信する距離要求部21と、前記ネットワーク距離管理サーバ4から要求ピア1aと各相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信する距離取得部22と、要求ピア1aとのネットワーク距離が近い相手ピア候補ほど優先度が高く設定されたピアリストを生成するピアリスト生成部23と、このピアリストを含むピアリスト応答を要求ピア1aへ返信するピアリスト提供部24とを含む。   The distribution control server 2 selects a peer candidate in response to the peer list request received from the requesting peer 1a, and requests a peer distance request in which the address information of the requesting peer 1a and the address information of at least one peer candidate are described. A distance request unit 21 that transmits to the network distance management server 4 and a distance acquisition that receives from the network distance management server 4 an inter-peer distance response in which the network distance index values of the requesting peer 1a and each peer candidate are described. Peer list generation unit 23 that generates a peer list in which the priority is set higher as the peer peer candidate with a shorter network distance between unit 22 and request peer 1a, and returns a peer list response including this peer list to request peer 1a And a peer list providing unit 24.

前記ピアノード1はさらに、DHTやコネクションを確立した相手ピアからノード情報を取得するノード情報取得部14と、取得したノード情報に基づいて相手ピア候補を識別し、自ノードおよび相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバ4へ送信する距離要求部15と、ネットワーク距離管理サーバ4から自ノードと相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信し、自ノードとのネットワーク距離が近いピアノードを優先的に相手ピアとする相手ピア選択部16とを含む。   The peer node 1 further identifies a partner peer candidate based on the node information acquisition unit 14 that acquires node information from a partner peer that has established a DHT or connection, and based on the acquired node information. A distance request unit 15 that transmits an inter-peer distance request in which is described to the network distance management server 4, and an inter-peer distance response in which the network distance index value between the node and the peer candidate is described from the network distance management server 4 And a peer peer selection unit 16 that preferentially designates a peer node having a short network distance to the own node as a peer peer.

前記ネットワーク距離管理サーバ4はさらに、要求ピア1aから受信したピア間距離要求に応答して前記ネットワーク距離管理テーブル42を参照し、要求ピアと相手ピア候補とのネットワーク距離指標値を提供する距離応答部46を含む。   The network distance management server 4 further refers to the network distance management table 42 in response to the inter-peer distance request received from the requesting peer 1a, and provides a network distance index value between the requesting peer and the peer candidate. Part 46 is included.

[実施形態4]
上記の各実施形態では、P2Pネットワークに新たに参加するピアノードは、その全てが参照サーバ3とのネットワーク距離指標値を計測してネットワーク距離管理サーバ4へ通知するものとして説明したが、第4実施形態では、ピアノード1ごとにネットワーク距離計測の要否を判断し、距離計測が不要と判断されたピアノードは距離計測を免除されるようにしている。
[Embodiment 4]
In each of the above embodiments, all the peer nodes newly participating in the P2P network have been described as measuring the network distance index value with the reference server 3 and notifying the network distance management server 4. In the embodiment, the necessity of network distance measurement is determined for each peer node 1, and a peer node that is determined not to require distance measurement is exempt from distance measurement.

図15は、本実施形態の動作を示したフローチャートであり、前記ピアノード1およびネットワーク距離管理サーバ4の動作を示している。   FIG. 15 is a flowchart showing the operation of this embodiment, and shows the operation of the peer node 1 and the network distance management server 4.

各ピアノード1は、各参照サーバ3とのネットワーク距離指標値を計測する以前の適宜のタイミングで、ステップS51において、ネットワーク距離管理サーバ4へ自ノードのIPアドレスが記述された距離計測要否判定要求を送信する。   Each peer node 1 makes a distance measurement necessity determination request in which the IP address of its own node is described to the network distance management server 4 at an appropriate timing before measuring the network distance index value with each reference server 3 in step S51. Send.

ネットワーク距離管理サーバ4は、ステップS61で当該判定要求を受信すると、ステップS62では、ピアノード1のIPアドレスに基づいて、そのプレフィックスが識別される。ネットワーク距離管理サーバ4は、図16に一例を示したように、既登録の各ピアノードを、そのプレフィックスで分類するプレフィックス分類テーブルを具備し、ステップS63では、前記識別されたプレフィックスと同一プレフィックスのピアノード1が前記プレフィックス分類テーブルに既登録であるか否かが判定される。未登録であれば、ステップS64へ進んで計測要判定がなされる。既登録であれば、ステップS65へ進んで計測不要判定がなされる。ステップS66では、前記判定結果の記述された距離計測要否判定応答が各ピアノード1へ返信される。   When the network distance management server 4 receives the determination request in step S61, the prefix is identified based on the IP address of the peer node 1 in step S62. As shown in FIG. 16, the network distance management server 4 includes a prefix classification table that classifies each registered peer node by its prefix. In step S63, the peer node having the same prefix as the identified prefix It is determined whether 1 is already registered in the prefix classification table. If not registered, the process proceeds to step S64 to determine whether measurement is necessary. If it is already registered, the process proceeds to step S65 and determination of unnecessary measurement is made. In step S66, a distance measurement necessity determination response in which the determination result is described is returned to each peer node 1.

各ピアノード1は、ステップS52で前記距離計測要否判定応答を受信するとステップS53へ進み、当該判定応答に記述されている判定結果が参照される。計測要判定であればステップS54へ進み、前記図2に関して説明したネットワーク距離指標値の計測およびその通知処理(ステップS1〜S4)が同様に実行される。これに対して、計測不要判定であれば、前記距離指標値の計測およびその通知処理を実施することなく終了する。   When each peer node 1 receives the distance measurement necessity determination response in step S52, the process proceeds to step S53, and the determination result described in the determination response is referred to. If it is a measurement necessity determination, the process proceeds to step S54, and the network distance index value measurement and the notification process (steps S1 to S4) described with reference to FIG. 2 are similarly executed. On the other hand, if it is determined that the measurement is unnecessary, the measurement is finished without performing the measurement of the distance index value and the notification process thereof.

前記ネットワーク距離管理サーバ4は、その後、配信制御サーバ2(第1,3実施形態)または要求ピア1a(第2,3実施形態)から要求ピアや相手ピアのIPアドレスの記述されたピア間距離要求を受信すると、各ピアノードの位置をプレフィックスが同一の他のピアノードの位置と同一であると見なしてピア間のネットワーク距離指標値を算出する。   Thereafter, the network distance management server 4 sends the inter-peer distance in which the IP addresses of the requesting peer and the other peer are described from the distribution control server 2 (first and third embodiments) or the requesting peer 1a (second and third embodiments). When the request is received, the position of each peer node is regarded as the same as the position of another peer node having the same prefix, and the network distance index value between the peers is calculated.

本実施形態によれば、プレフィックスが同一のピアノードがネットワーク距離管理サーバ4に既登録である他のピアノードは、自ノードと各参照サーバ3との距離計測を免除されるので、計測要求パケットおよびその応答パケットのトラフィックを削減できるようになる。   According to the present embodiment, other peer nodes whose peers having the same prefix are already registered in the network distance management server 4 are exempt from distance measurement between the own node and each reference server 3. Response packet traffic can be reduced.

1…ピアノード
2…配信制御サーバ配信制御サーバ
3…参照サーバ
4…ネットワーク距離管理サーバ
DESCRIPTION OF SYMBOLS 1 ... Peer node 2 ... Distribution control server Distribution control server 3 ... Reference server 4 ... Network distance management server

Claims (10)

ネットワーク上に分散配置された複数のピアノード間のネットワーク距離を算出するシステムにおいて、
各ピアノードから受信した計測要求パケットに対して計測応答パケットを返信する複数の参照サーバと、
各ピアノードと各参照サーバとのネットワーク距離の指標となるネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出するネットワーク距離管理サーバとを具備し、
前記各ピアノードが、
複数の参照サーバへ計測要求メッセージを送信する手段と、
前記各参照サーバから返信される計測応答メッセージに基づいて各参照サーバとのネットワーク距離指標値を算出する手段と、
前記各参照サーバとのネットワーク距離指標値を前記ネットワーク距離管理サーバへ登録する手段とを具備したことを特徴とするピアノード間のネットワーク距離算出システム。
In a system for calculating a network distance between a plurality of peer nodes distributed on a network,
A plurality of reference servers that return measurement response packets in response to measurement request packets received from each peer node;
A network distance management server that calculates a network distance index value between each peer node based on a network distance index value that is an index of the network distance between each peer node and each reference server;
Each peer node is
Means for sending a measurement request message to a plurality of reference servers;
Means for calculating a network distance index value with each reference server based on a measurement response message returned from each reference server;
A network distance calculation system between peer nodes, comprising means for registering a network distance index value with each reference server in the network distance management server.
前記ネットワーク距離指標値が、前記計測要求メッセージに対する前記計測応答メッセージの応答遅延時間であることを特徴とする請求項1に記載のネットワーク距離算出システム。   The network distance calculation system according to claim 1, wherein the network distance index value is a response delay time of the measurement response message with respect to the measurement request message. ネットワーク上に分散配置された複数のピアノード間のネットワーク距離を算出する方法において、
各ピアノードが、複数の参照サーバへ計測要求メッセージを送信する手順と、
各ピアノードが、前記各参照サーバから返信される計測応答メッセージに基づいて各参照サーバとのネットワーク距離の指標となるネットワーク距離指標値を算出する手順と、
各ピアノードが、前記各参照サーバとのネットワーク距離指標値をネットワーク距離管理サーバへ登録する手順と、
前記ネットワーク距離管理サーバが、各ピアノードと各参照サーバとのネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出する手順とを含むことを特徴とするピアノード間のネットワーク距離算出方法。
In a method for calculating a network distance between a plurality of peer nodes distributed on a network,
Each peer node sends a measurement request message to multiple reference servers;
A procedure in which each peer node calculates a network distance index value serving as an index of the network distance to each reference server based on a measurement response message returned from each reference server;
A procedure in which each peer node registers a network distance index value with each reference server in a network distance management server;
A network distance calculation method between peer nodes, wherein the network distance management server includes a procedure for calculating a network distance index value between each peer node based on a network distance index value between each peer node and each reference server.
ネットワーク上に分散配置されたピアノード同士がP2P通信によりコンテンツファイルを送受信するP2P配信システムにおいて、
各ピアノードから受信した計測要求パケットに対して計測応答パケットを返信する複数の参照サーバと、
各ピアノードと各参照サーバとのネットワーク距離の指標となるネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出するネットワーク距離管理サーバと、
各ピアノードから受信したピアリスト要求に応答して、相手ピア候補の記述されたピアリストを返信するP2P配信制御サーバとを具備し、
前記各ピアノードが、
複数の参照サーバへ計測要求メッセージを送信する手段と、
前記各参照サーバから返信される計測応答メッセージに基づいて各参照サーバとのネットワーク距離指標値を算出する手段と、
前記各参照サーバとのネットワーク距離指標値を前記ネットワーク距離管理サーバへ通知する手段と、
前記配信制御サーバへピアリストを要求する手段とを具備し、
前記配信制御サーバが、
前記ピアリスト要求に応答して相手ピア候補を選択する手段と、
前記ピアリストを要求したピアおよび各相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバへ送信する手段とを具備し、
前記ネットワーク距離管理サーバが、
前記通知された各ピアノードと各参照サーバとのネットワーク距離指標値に基づいて、各ピアノード間のネットワーク距離指標値を算出する手段と、
前記ピア間距離要求に応答して、要求ピアと各相手ピア候補とのネットワーク距離指標値の記述されたピア間距離応答を返信する手段とを具備し、
前記配信制御サーバがさらに、
前記ネットワーク距離管理サーバからピア間距離応答を受信する手段と、
要求ピアとのネットワーク距離が近い相手ピア候補ほど優先度が高く設定されたピアリストを生成する手段と、
前記ピアリストの記述されたピアリスト応答を前記要求ピアへ返信する手段とを具備し、
前記各ピアノードがさらに、
前記配信制御サーバからピアリストを受信する手段と、
前記ピアリストに基づいて、相手ピア候補の中から優先度の高い相手ピアを選択してコネクションを確立する手段とを具備したことを特徴とするP2P配信システム。
In a P2P distribution system in which peer nodes distributed on the network send and receive content files via P2P communication,
A plurality of reference servers that return measurement response packets in response to measurement request packets received from each peer node;
A network distance management server that calculates a network distance index value between each peer node based on a network distance index value that is an index of the network distance between each peer node and each reference server;
A P2P distribution control server that responds to a peer list request received from each peer node and returns a peer list in which peer peer candidates are described;
Each peer node is
Means for sending a measurement request message to a plurality of reference servers;
Means for calculating a network distance index value with each reference server based on a measurement response message returned from each reference server;
Means for notifying the network distance management server of the network distance index value with each reference server;
Means for requesting a peer list from the distribution control server,
The delivery control server is
Means for selecting a peer candidate in response to the peer list request;
Means for transmitting an inter-peer distance request in which address information of peers requesting the peer list and each peer candidate is described to the network distance management server;
The network distance management server is
Means for calculating a network distance index value between each peer node based on the notified network distance index value between each peer node and each reference server;
Means for responding to the inter-peer distance request, and returning a inter-peer distance response in which network distance index values between the requesting peer and each peer candidate are described;
The delivery control server further comprises:
Means for receiving a peer-to-peer distance response from the network distance management server;
Means for generating a peer list in which priority is set higher for a peer candidate whose network distance to the requesting peer is closer;
Means for returning a peer list response describing the peer list to the requesting peer;
Each peer node further comprises:
Means for receiving a peer list from the delivery control server;
A P2P distribution system comprising: means for selecting a peer with a higher priority from peer peer candidates based on the peer list and establishing a connection.
ネットワーク上に分散配置されたピアノード同士がP2P通信によりコンテンツファイルを送受信するP2P配信システムにおいて、
各ピアノードから受信した計測要求パケットに対して計測応答パケットを返信する複数の参照サーバと、
各ピアノードと各参照サーバとのネットワーク距離の指標となるネットワーク距離指標値に基づいて各ピアノード間のネットワーク距離指標値を算出するネットワーク距離管理サーバとを具備し、
前記各ピアノードが、
複数の参照サーバへ計測要求メッセージを送信する手段と、
前記各参照サーバから返信される計測応答メッセージに基づいて各参照サーバとのネットワーク距離指標値を算出する手段と、
前記各参照サーバとのネットワーク距離指標値を前記ネットワーク距離管理サーバへ通知する手段と、
コンテンツピースを所持している相手ピア候補のアドレス情報を取得する手段と、
自ノードおよび各相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバへ送信する手段とを具備し、
前記ネットワーク距離管理サーバが、
前記通知された各ピアノードと各参照サーバとのネットワーク距離指標値に基づいて、各ピアノード間のネットワーク距離指標値を算出する手段と、
前記ピア間距離要求に応答して、その要求ピアと各相手ピア候補とのネットワーク距離指標値の記述されたピア間距離応答を返信する手段とを具備し、
前記各ピアノードがさらに、
前記ネットワーク距離管理サーバから、自ノードと各相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信する手段と、
前記ピア間距離応答に基づいて、相手ピア候補の中から自ノードとのネットワーク距離がより近い相手ピア候補を優先的に選択してコネクションを確立する手段とを具備したことを特徴とするP2P配信システム。
In a P2P distribution system in which peer nodes distributed on the network send and receive content files via P2P communication,
A plurality of reference servers that return measurement response packets in response to measurement request packets received from each peer node;
A network distance management server that calculates a network distance index value between each peer node based on a network distance index value that is an index of the network distance between each peer node and each reference server;
Each peer node is
Means for sending a measurement request message to a plurality of reference servers;
Means for calculating a network distance index value with each reference server based on a measurement response message returned from each reference server;
Means for notifying the network distance management server of the network distance index value with each reference server;
Means for acquiring address information of the peer candidate who owns the content piece;
Means for transmitting an inter-peer distance request in which address information of its own node and each peer candidate is described to the network distance management server,
The network distance management server is
Means for calculating a network distance index value between each peer node based on the notified network distance index value between each peer node and each reference server;
Means for responding to the inter-peer distance request, and returning a inter-peer distance response in which the network distance index value between the requesting peer and each peer candidate is described;
Each peer node further comprises:
Means for receiving, from the network distance management server, a peer-to-peer distance response in which a network distance index value between the node and each peer candidate is described;
P2P distribution comprising means for preferentially selecting a partner peer candidate having a shorter network distance from the peer node based on the peer distance response and establishing a connection. system.
各ピアノードから受信したピアリスト要求に応答して、相手ピア候補の記述されたピアリストを返信する配信制御サーバをさらに具備し、
前記各ピアノードがさらに、
前記配信制御サーバへピアリストを要求する手段を具備し、
前記配信制御サーバが、
前記ピアリスト要求に応答して相手ピア候補を選択する手段と、
前記ピアリストを要求したピアおよび各相手ピア候補のアドレス情報が記述されたピア間距離要求を前記ネットワーク距離管理サーバへ送信する手段と、
前記ネットワーク距離管理サーバから、要求ピアと各相手ピア候補とのネットワーク距離指標値が記述されたピア間距離応答を受信する手段と、
前記要求ピアとのネットワーク距離が近い相手ピア候補ほど優先度が高く設定されたピアリストを生成する手段と、
前記ピアリストの記述されたピアリスト応答を前記要求ピアへ返信する手段とを具備し、
前記各ピアノードがさらに、
前記配信制御サーバからピアリストを受信する手段と、
前記受信したピアリストに基づいて相手ピア候補の中から優先度の高い相手ピアを選択してコネクションを確立することを特徴とする請求項5に記載のP2P配信システム。
A distribution control server that responds to a peer list request received from each peer node and returns a peer list in which peer peer candidates are described;
Each peer node further comprises:
Means for requesting a peer list from the distribution control server;
The delivery control server is
Means for selecting a peer candidate in response to the peer list request;
Means for transmitting a peer distance request in which address information of peers requesting the peer list and each peer candidate is described to the network distance management server;
Means for receiving from the network distance management server a peer-to-peer distance response in which network distance index values between the requesting peer and each peer candidate are described;
Means for generating a peer list in which priority is set higher for peer candidates whose network distance to the requesting peer is closer;
Means for returning a peer list response describing the peer list to the requesting peer;
Each peer node further comprises:
Means for receiving a peer list from the delivery control server;
6. The P2P distribution system according to claim 5, wherein a connection is established by selecting a partner peer having a higher priority from partner peer candidates based on the received peer list.
前記各ピアノードにおいて、前記相手ピア候補のアドレス情報を取得する手段が、DHT(分散ハッシュテーブル)を参照して相手ピア候補のアドレス情報を取得することを特徴とする請求項5または6に記載のP2P配信システム。   The means for acquiring address information of the partner peer candidate in each peer node acquires address information of the partner peer candidate with reference to a DHT (distributed hash table). P2P distribution system. 前記各ピアノードにおいて、前記相手ピア候補のアドレス情報を取得する手段が、コネクションを確立した相手ピアと交換したノード情報から相手ピア候補のアドレス情報を取得することを特徴とする請求項5または6に記載のP2P配信システム。   The means for acquiring address information of the partner peer candidate in each peer node acquires address information of the partner peer candidate from node information exchanged with the partner peer with which the connection has been established. The described P2P distribution system. 前記各ピアノードが、
前記参照サーバへの計測要求メッセージの送信に先立って、前記ネットワーク距離管理サーバへ自ノードのアドレス情報が記述された距離計測要否判定要求を送信する手段と、
前記距離計測要否判定要求に対して返信される距離計測要否判定応答を受信する手段とを具備し、
前記ネットワーク距離管理サーバは、
前記距離計測要否判定要求に記述されているピアノードのアドレスとプレフィックスが同一の他のピアノードに関して、既に各参照サーバとの間のネットワーク距離が既登録であるか否かを判定する手段と、
既登録であれば距離計測が不要である旨の判定結果の記述された距離計測要否判定応答を返信する手段とを具備し、
前記各ピアノードは、前記距離計測要否判定応答において、各参照サーバとのネットワーク距離指標値の計測が不要と判定されていると前記計測要求メッセージを送信せず、
前記ネットワーク距離管理サーバは、プレフィックスが同一のピアノードはネットワーク上の位置が同一としてピアノード間のネットワーク距離指標値を算出することを特徴とする請求項4ないし8のいずれかに記載のP2P配信システム。
Each peer node is
Prior to transmission of the measurement request message to the reference server, means for transmitting a distance measurement necessity determination request in which address information of the own node is described to the network distance management server;
Means for receiving a distance measurement necessity determination response returned in response to the distance measurement necessity determination request;
The network distance management server is
Means for determining whether or not the network distance between each reference server has already been registered with respect to another peer node having the same prefix and address of the peer node described in the distance measurement necessity determination request;
And a means for returning a distance measurement necessity determination response in which a determination result indicating that distance measurement is not required is described if registered,
Each peer node does not transmit the measurement request message when it is determined in the distance measurement necessity determination response that measurement of the network distance index value with each reference server is unnecessary,
The P2P distribution system according to any one of claims 4 to 8, wherein the network distance management server calculates a network distance index value between peer nodes assuming that peer nodes having the same prefix have the same position on the network.
前記ネットワーク距離指標値が、前記計測要求メッセージに対する前記計測応答メッセージの応答遅延時間であることを特徴とする請求項4ないし9のいずれかに記載のネットワーク距離算出システム。   The network distance calculation system according to any one of claims 4 to 9, wherein the network distance index value is a response delay time of the measurement response message with respect to the measurement request message.
JP2010064101A 2010-03-19 2010-03-19 P2p distribution system, and method and system for calculating network distance between peer nodes in the same Pending JP2011198033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010064101A JP2011198033A (en) 2010-03-19 2010-03-19 P2p distribution system, and method and system for calculating network distance between peer nodes in the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010064101A JP2011198033A (en) 2010-03-19 2010-03-19 P2p distribution system, and method and system for calculating network distance between peer nodes in the same

Publications (1)

Publication Number Publication Date
JP2011198033A true JP2011198033A (en) 2011-10-06

Family

ID=44876149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010064101A Pending JP2011198033A (en) 2010-03-19 2010-03-19 P2p distribution system, and method and system for calculating network distance between peer nodes in the same

Country Status (1)

Country Link
JP (1) JP2011198033A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230950A (en) * 2016-08-04 2016-12-14 黄新勇 Audio frequency method for down loading nearby and system
WO2018023540A1 (en) * 2016-08-04 2018-02-08 黄新勇 Method and system for proximately downloading audio
CN110971647A (en) * 2018-09-30 2020-04-07 南京工程学院 Node migration method of big data system
CN118233455A (en) * 2024-05-27 2024-06-21 杭州政云数据技术有限公司 Intranet-based file transmission method, device, equipment and medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106230950A (en) * 2016-08-04 2016-12-14 黄新勇 Audio frequency method for down loading nearby and system
WO2018023540A1 (en) * 2016-08-04 2018-02-08 黄新勇 Method and system for proximately downloading audio
CN110971647A (en) * 2018-09-30 2020-04-07 南京工程学院 Node migration method of big data system
CN110971647B (en) * 2018-09-30 2023-12-05 南京工程学院 A node migration method for big data systems
CN118233455A (en) * 2024-05-27 2024-06-21 杭州政云数据技术有限公司 Intranet-based file transmission method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN104836732B (en) The automatic selecting method and system of network connection
EP1335525A3 (en) Method for probing the peer-to-peer quality of service (QOS)
CN107409071B (en) Method, control module, and computer-readable storage medium for obtaining diagnostic test results
US7965655B2 (en) Distributed network distance determination using a distributed hash table overlay network
JP5271247B2 (en) Communication quality data monitoring measurement apparatus and method and program
CN102143290A (en) Method and system for selecting transit node of voice over internet protocol service in peer-to-peer network
CN105704034A (en) Network access method and central server
CN101741750A (en) Resource downloading method and system in P2P
KR101445047B1 (en) Confidential or protected access to a network of nodes distributed over a communication architecture with the aid of a topology server
CN101690133B (en) Method for determining a group of pairs located close to another pair and associated server, analysis device and communication device
Goel et al. Faster web through client-assisted CDN server selection
WO2018068635A1 (en) Scheduling method, server, first peer node and computer-readable storage medium
JP2011198033A (en) P2p distribution system, and method and system for calculating network distance between peer nodes in the same
KR101612475B1 (en) Apparatus and Method for establishing partnership of P2P service based on gossip
JP4763834B2 (en) Method, apparatus, and system for measuring network performance between nodes of overlay network
CN104471910A (en) Method, server and computer program for local discovery
JP5084694B2 (en) Delay time estimation method, peer node and program in overlay network
KR101574863B1 (en) Access to a network of nodes distributed over a communication architecture, using a topology server with multi-criteria selection
CN102811256B (en) A kind of method and system for realizing application layer transmission optimization
US20140181307A1 (en) Routing apparatus and method
TW201244514A (en) Feedback-based peer selection method and apparatus in peer-to-peer networks
JP4947663B2 (en) Delay time determination method, peer node, and program in overlay network
JP2009218728A (en) Information transfer apparatus, information transfer method, and program
CN120710903B (en) Network link quality testing method, testing system, storage medium and program product
JP5062850B2 (en) Response message routing method, peer node, and program in overlay network