JP2004187034A - System and method for solving pier resource - Google Patents

System and method for solving pier resource Download PDF

Info

Publication number
JP2004187034A
JP2004187034A JP2002352023A JP2002352023A JP2004187034A JP 2004187034 A JP2004187034 A JP 2004187034A JP 2002352023 A JP2002352023 A JP 2002352023A JP 2002352023 A JP2002352023 A JP 2002352023A JP 2004187034 A JP2004187034 A JP 2004187034A
Authority
JP
Japan
Prior art keywords
resource
inquiry
peer
protocol
network
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
JP2002352023A
Other languages
Japanese (ja)
Inventor
Tomonori Ishii
友規 石井
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002352023A priority Critical patent/JP2004187034A/en
Publication of JP2004187034A publication Critical patent/JP2004187034A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a pier resource solving system which can realize pier resource retrieve at a low cost and is excellent in followability to pier generation and elimination. <P>SOLUTION: This pier resource solving system is provided with a P2P resource registering part 252 for registering a P2P resource retrieving part 250 in a P2P domain name record 300, a P2P resource inquiring part 120 for transmitting a pier inquiry request, a DNS resource inquiring part 150 for converting the pier inquiry request into a DNS resource inquiry request, a domain server 30 for performing static resource retrieval on the basis of registered information of the P2P domain name record 300, the P2P resource retrieving part 250 for converting the DNS resource inquiry request into a pier response request, simultaneously transmitting the pier response request to responding side pier groups 21 to 24 and dynamically retrieving pier resources, and a P2P resource request responding part 240 for returning a pier response for the pier response request. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術の分野】
本発明は、P2P(Peer to Peer、ピアツーピア)ネットワークにおけるP2Pリソースを解決するシステムに関し、特に一のネットワークに属するピアから他のネットワークに属するピアのリソースを解決するシステムに関する。
【0002】
【従来の技術】
ネットワークによって接続された端末間で通信を行なうためには、通信先の端末を何らかの方法によって指定しなければならない。この通信先の端末を指定する方法として、例えば、IP(Internet Protocol)ネットワークにおいては「192.168.0.1」のように32bitのユニークなIPアドレスを端末毎に割り当ててこのIPアドレスを用いて端末を指定する方法がある。
【0003】
しかしながら、このような数字の羅列は、人間にとって覚えにくく扱いづらいものであるため、DNS(Domain Name System)等のディレクトリサービスを用いて、分かり易い文字列で表した端末名(ドメイン名)からIPアドレスを割り出すという名前解決の手法が用いられる。このようにディレクトリサービスによって、通信先端末に関する一の属性情報(リソース)から通信先端末に関する他の必要な属性情報を導き出すことをリソース解決といい、先に述べた名前解決はリソース解決の一つを構成する関係にある。
【0004】
ここで、一般的なディレクトリサービスとしてDNSについて説明する。
このDNSは、クライアント端末が通信先のクライアント端末名を指定してDNSサーバに問い合わせ要求を送信すると、DNSサーバはクライアント端末名とクライアント端末に割り当てられたIPアドレスとを対応させたA(host Address)レコード(IPv6においては、AAAAレコードまたはA6レコードである。以下、簡略して「Aレコード」と示す。)を参照して、指定されたクライアント端末名からIPアドレスへの名前解決を行なうシステムであり、DNSサーバがツリー状に階層化されて構成されている。
【0005】
より詳しく説明すると、階層化されたDNSサーバ群は、夫々DNSサーバが管理するクライアント端末名とIPアドレスとを対応させたAレコードを内部に保持しており、クライアント端末から問い合わせ要求を取得するとAレコードを参照する。ここで、自らが保持するAレコードにおいて指定されたクライアント端末名がヒットすれば、DNSサーバは名前解決を行ないクライアント端末に対して問い合わせ結果を、すなわち通信先のクライアント端末のIPアドレスを返す。また、自らが保持するAレコードにおいて指定されたクライアント端末名がヒットしない場合は上位のDNSサーバへ回送し、DNSサーバ間において同様の処理を繰り返し、最終的には指定されたクライアント端末名がヒットしたDNSサーバから取得した問い合わせ結果をクライアント端末に返す。このようにして、DNSによる名前解決を用いてリソース解決を行ないクライアント端末間の通信を可能にすることができる(例えば、非特許文献1および非特許文献2参照。)。
【0006】
また、DNSによる名前解決はDNSサーバ内にクライアント端末名とIPアドレスとを対応させてAレコードに登録することが必要となるが、DNSは、このAレコードへの登録を行なう方法によって、予め各クライアント端末名と各IPアドレスとを対応させて登録している静的なDNSと、各クライアント端末が起動時にDNSサーバ内のAレコードにクライアント端末名とIPアドレスとをエントリー(登録)する動的なDNS(ダイナミックDNS)とに大別される。
【0007】
このダイナミックDNSにおいて、各クライアント端末は、終了処理によりネットワーク上から消滅する際、終了処理に先立ってDNSサーバにアクセスしてエントリーの削除を行ない、Aレコードを更新する必要がある(例えば、非特許文献3参照。)。
【0008】
一方、不特定多数の端末装置(ピア)を接続し、ピア同士で通信を行なうことを可能とするP2P(Peer to Peer)ネットワークにおいても、ユニークなピアアドレスをピア毎に割り当て、このピアアドレスを用いてピアを指定する方法がある。このピアアドレスも先に述べたIPアドレスと同様に、ユニークな数字の羅列となるため、P2Pネットワークにおいても分かり易い文字列のピア名からピアアドレスを割り出す名前解決の手法をリソース解決の手順に用いることが考えられる。
【0009】
この場合、P2Pネットワークにおける名前解決を行なう第1の方法として、静的な解決方法、すなわち各ISP(Internet Service Provider)等の自律システム、いわゆるAS(Autonomous System)単位で、ピアグループを形成してディレクトリサービスを提供し、ピア名とピアアドレスとを対応させたP2Pレコードを相互に交換して各ピアグループ間の連携を図り、ピア名からピアアドレスへの名前解決を行なうという方法が考えられる。
【0010】
また、第2の方法として、ダイナミックDNSのような動的な名前解決、すなわち既にAS内において稼動しているDNSサーバ等に対してピアが起動した際、DNSサーバが保持しているP2Pレコードにピア名とピアアドレスとを動的にエントリーする方法が考えられる。
【0011】
さらに、第3の方法として、ピアネットワークを構成するLAN(Local AreaNetwork)上にP2Pレコードを保持するDNSサーバ等を設置して、各ピアの起動時にP2Pレコードにピア名とピアアドレスとを動的にエントリーするとともに、このDNSサーバをP2Pネットワークを管理しているネームサーバとして、既にISP内で稼動しているDNSサーバ内のAレコードに登録する方法も考えられる。
【0012】
【非特許文献1】
ポール・モッカペトリス(Paul. Mockapetris)著、「リクエストフォーコメント1034・ドメインネーム−コンセプトアンドファシリティーズ(Request for Comments1034・DOMAIN NAMES − CONCEPTS AND FACILITIES)」、インターネットエンジニアリングタスクフォース(Internet Engineering Task Force)、1987年11月発行、p5−7等、[平成14年11月1日検索]、インターネット〈URL:ftp://ftp.rfc−editor.org/in−notes/rfc1034.txt〉
【0013】
【非特許文献2】
ポール・モッカペトリス(Paul. Mockapetris)著、「リクエストフォーコメント1035・ドメインネーム−インプレメンテーションアンドスペシフィケーション(Request for Comments1035・DOMAIN NAMES − IMPLEMENTATION AND SPECIFICATION)」、インターネットエンジニアリングタスクフォース(Internet Engineering Task Force)、1987年11月発行、p2等、[平成14年11月1日検索]、インターネット
〈URL:ftp://ftp.rfc−editor.org/in−notes/rfc1035.txt〉
【0014】
【非特許文献3】
ポール・ヴィクシー(Paul Vixie)他4名著、「リクエストフォーコメント2136・ダイナミックアップデートインザドメインネームシステム(Request for Comments2136・Dynamic Updates in the Domain Name System)」、インターネットエンジニアリングタスクフォース(Internet Engineering Task Force)、1997年4月発行、p3等、[平成14年11月1日検索]、インターネット〈URL:ftp://ftp.rfc−editor.org/in−notes/rfc2136.txt〉
【0015】
【発明が解決しようとする課題】
しかしながら、上記第1の方法によれば、ピアグループを管理するためのサーバを構築し、かつ、ピアグループを管理するサーバ間におけるP2Pレコードの相互交換および動的な連携を図るためのネットワークシステムを新たに構築する必要があり、その構築および運用に要するコストが大きくなってしまうという問題がある。
【0016】
また、上記第2の方法によれば、不特定多数のピアからエントリーの要求がAS内のDNSサーバに集中することになるので、既存のDNSサーバの処理速度を著しく低下させてしまうという問題がある。一方、DNSサーバの処理速度を維持しようとすれば、既存システムの増設コストが大きくなってしまうという問題もある。
【0017】
さらに、上記第3の方法によれば、LAN上にDNS等のディレクトリサービスを設置することになるので、ネットワークを管理するための管理者が必要となり、また、DNSサーバを構築する等、ディレクトリサービスを運用するためのコストも大きくなるので、家庭内LAN等において導入する場合、利用者が高度なネットワーク管理技術を有する者に限られてしまうという問題がある。
【0018】
そして、上記第2および第3の方法のように、P2Pレコードにピア名とピアアドレスとを動的にエントリーする方法によれば、端末のシステムエラーによるフリーズ等が生じてピアが終了処理を行なわずにネットワーク上から消滅した場合には、P2Pレコードに存在しないピアのエントリーが残ってしまう等、各ピアの生成や消滅をP2Pレコードに即時的に反映することができないという問題もある。
【0019】
そこで、本発明は、かかる問題点に鑑みなされたものであり、増設コストをかけることなくピアリソースの検索を実現することができ、かつ、ピアの生成や消滅に対する追従性に優れたピアリソース解決システムを提供することを目的とする。
【0020】
【課題を解決するための手段】
上記の目的を達成するために、本発明は、以下のような技術的手段を講じている。
すなわち、本発明に係るピアリソース解決システムは、第1ネットワーク内における第1ピア端末と第2ネットワーク内における第2ピア端末とのピアツーピア通信において、ピア端末の一の属性を示すリソース情報から前記ピア端末の他の属性を示すリソース解決情報を導き出すピアリソース解決システムであって、前記第1ネットワークに接続され、前記第2ピア端末に関する前記リソース情報について前記リソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、前記第2ネットワークに接続され、前記第2ピアに関する前記リソース情報に基づいて前記第2ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとを仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備える。
【0021】
ここで、本発明の1実施態様として、前記第1ピア端末は、前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信手段と、前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信手段とを備え、前記リソース問合せ装置は、前記第1プロトコルに従って前記第1ピア端末から受信した前記問合せメッセージを、前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せ手段と、前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送手段とを備える。
【0022】
また、本発明の別の実施態様として、前記リソース検索装置は、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記リソース情報についての問い合わせであることを示す問合せメッセージを受信し、当該問合せメッセージを前記第1プロトコルに従って前記第2ピア端末に送信するリソース検索手段と、前記第1プロトコルに従って前記第2ピア端末から受信した前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを、前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信手段とを備え、前記第2ピア端末は、前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信手段と、前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決手段と、前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信手段とを備える。
【0023】
また、本発明のさらに別の実施態様として、上記2つの実施態様の組合せであってもよく、ここで、前記ドメインサーバは、前記所定のディレクトリサービスにより、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送し、また、リソース検索装置から送信された前記応答メッセージを前記リソース問合せ装置に転送することを特徴とする。
【0024】
また、本発明は、これらピアリソース解決システムにおける各構成要素をステップとするピアリソース解決方法として実現することもでき、各ステップをコンピュータに実行させるプログラム、またはこれを記録した記録媒体として実現することもできる。
【0025】
さらに、本発明は、ピアリソース解決システムにおける特徴的な手段を備えるリソース問合せ装置として、また、ピアリソース解決システムにおける特徴的な手段を備えるリソース検索装置として実現することもできる。
【0026】
【発明の実施の形態】
以下、本発明の実施の形態について詳細に説明するが、これらは例示を目的とするものであり、本発明は、これらに限定されるものではない。
【0027】
(実施の形態1)
まず、本発明の実施の形態1に係るピアリソース解決システムについて、図面を参照しながら説明する。
図1は、本実施の形態1に係るピアリソース解決システム1の全体の構成を示す図である。
【0028】
このピアリソース解決システム1は、P2Pネットワークにおけるピアリソースの検索を低いコストで実現し、ピアリソースの解決を行なうシステムである。ここで、ピアリソースの解決とは、ピアに関する一の属性情報から他の必要な属性情報を導き出すことをいい、本明細書においては、ピアツーピア通信を確立するためにピア名からピアアドレスを導き出す場合を例示して説明することとする。
【0029】
そして、このピアリソース解決システム1は、ピアリソースの問い合わせを行なう側の問い合わせ側P2Pネットワーク10と、ピアリソースの問い合わせに対して応答する側の応答側P2Pネットワーク20と、応答側P2Pネットワーク20にディレクトリサービスを提供するP2Pドメインサーバ30と、広域ネットワーク40とから構成される。ここで、応答側P2Pネットワーク20に提供されるディレクトリサービスはDNSであるとし、広域ネットワーク40は、IPネットワークでありTCP/IPプロトコルによる通信が行なわれているものとする。
【0030】
問い合わせ側P2Pネットワーク10は、家庭内等の複数のピアを有し、各ピア同士の通信を可能とするP2P形態のLANであり、ピアリソースの問い合わせを行なう問い合わせ側ピア11〜14と、ピアリソースの問い合わせをLANの外、すなわちWAN(Wide Area Network)に送信する問い合わせ側通信装置15とから構成される。
【0031】
なお、この問い合わせ側P2Pネットワーク10内において、各ピア同士の通信はTCP/IPプロトコルと異なるP2Pネットワークプロトコルによって行なわれているものとする。
【0032】
問い合わせ側ピア11〜14は、問い合わせ側P2Pネットワーク10内において物理的に接続された端末装置群であり、パーソナルコンピュータ、ネットワーク接続に対応したTVやハードディスク内蔵ビデオレコーダ等の家電機器であり、内部にCPU等を備える。また、問い合わせ側ピア11〜14は夫々、通信先となるピア名等を入力するためのインターフェースを備えており、入力されたピア名等をピア問い合わせ要求として送信する。なお、ここにいうインターフェースとしては、例えば、キーボードやマウス、TVのリモコン等がある。
【0033】
問い合わせ側通信装置15は、問い合わせ側P2Pネットワーク10と広域ネットワーク40との通信を可能とするブロードバンドルータ等の通信機器であり、内部にCPUやメモリ等を備え、問い合わせ側P2Pネットワーク10におけるゲートウェイ装置として機能する。この問い合わせ側通信装置15は、問い合わせ側P2Pネットワーク10のドメインサーバ(図示せず)と接続されており、問い合わせ側ピア11〜14からピア問い合わせ要求を取得し、DNSリソース問い合わせ要求に変換して、DNSリソース問い合わせ要求を問い合わせ側P2Pネットワーク10のドメインサーバに送信する。その後、このDNSリソース問い合わせ要求は、不特定のDNSサーバが介在する広域ネットワーク40を経由してP2Pドメインサーバ30に送信される。
【0034】
応答側P2Pネットワーク20は、家庭内等の複数の端末装置から成り、端末装置間の通信を可能とするP2P形態のLANであり、ピアリソースの問い合わせに対して応答する応答側ピア21〜24と、ピアリソースの問い合わせをWANから受信し、ピアリソースの問い合わせに対する応答をWANに送信する応答側通信装置25とから構成される。
【0035】
なお、この応答側P2Pネットワーク20内においても、各ピア同士の通信は、問い合わせ側P2Pネットワーク10と同一のP2Pネットワークプロトコルによって行なわれているものとする。
【0036】
応答側ピア21〜24は、応答側P2Pネットワーク20内において物理的に接続された端末装置群であり、パーソナルコンピュータ、ネットワーク接続に対応したデジタルビデオカメラ等の家電機器であり、夫々CPUやメモリ等を内部に備えている。
【0037】
応答側通信装置25は、応答側P2Pネットワーク20とP2Pドメインサーバ30との通信を可能とするブロードバンドルータ等の通信機器であり、内部にCPUやメモリ等を備え、応答側P2Pネットワーク20におけるゲートウェイ装置として機能する。この応答側通信装置25は、応答側P2Pネットワーク20のドメインサーバであるP2Pドメインサーバ30と接続されており、P2Pドメインサーバ30からDNSリソース問い合わせ要求を取得して、ピア応答要求に変換し、応答側ピア21〜24に送信する。また、この応答側通信装置25は、応答側ピア21〜24からピア応答を取得して、DNSリソース問い合わせ応答に変換し、DNSリソース問い合わせ応答をP2Pドメインサーバ30に送信する。
【0038】
P2Pドメインサーバ30は、応答側P2Pネットワーク20にディレクトリサービスを提供するDNSサーバ装置であり、広域ネットワーク40と接続されて相互に通信をすることができる。また、このP2Pドメインサーバ30は、応答側P2Pネットワーク20の他にP2Pネットワーク20b等の複数のP2Pネットワークにもディレクトリサービスを提供している。
【0039】
次に、各構成要素の機能について、図2を用いてより詳しく説明する。
図2は、本実施の形態1に係るピアリソース解決システム1における各構成要素の機能ブロック図である。
【0040】
まず、問い合わせ側P2Pネットワーク10において、問い合わせ側ピア12は、P2Pリソース問い合わせ部120を備える。このP2Pリソース問い合わせ部120は、P2Pネットワークプロトコルに則ったピア問い合わせ要求を生成し、問い合わせ側通信装置15に送信する処理部であり、問い合わせ側ピア12の内部メモリに格納されているプログラム等により実現される。ここで、ピア問い合わせ要求とは、問い合わせ側ピア12の入力インターフェースから入力されたピア名や自らのピア名等を含むパケットであり、P2Pネットワークプロトコルに則って生成される。なお、図2において図示していないが、他の問い合わせ側ピア11、13および14もP2Pリソース問い合わせ部120を備えている。
【0041】
また、問い合わせ側通信装置15は、DNSリソース問い合わせ部150を備える。このDNSリソース問い合わせ部150は、問い合わせ側ピア12のP2Pリソース問い合わせ部120からピア問い合わせ要求を取得し、TCP/IPプロトコルに則ったDNSリソース問い合わせ要求にプロトコル変換を行ない、問い合わせ側P2Pネットワーク10のドメインサーバに送信する処理部である。このDNSリソース問い合わせ部150は、ブロードバンドルータ等である問い合わせ側通信装置15に実装されたソフトウェア等によって実現される。そして、DNSリソース問い合わせ要求とは、ピア問い合わせ要求に含まれる情報を含むパケットであり、TCP/IPプロトコルに則って生成される。
【0042】
ここで、ピア問い合わせ要求からDNSリソース問い合わせ要求へのプロトコル変換について、図3を用いて説明することとする。
図3は、本実施の形態1に係るピアリソース解決システム1におけるプロトコル変換処理を模式的に示す図である。
【0043】
P2Pネットワークプロトコル100は、P2Pヘッダ101とP2Pデータ102とから構成されており、さらに、P2Pヘッダ101は、P2Pメッセージ種別103、送信先ピア名104、送信先P2Pドメイン名105、発信元ピアアドレス106および発信元ピア名107等から構成され、夫々の項目に所定のビット数が割り当てられている。
【0044】
P2Pメッセージ種別103は、ピアリソースの問い合わせであることを示す。
送信先ピア名104は、通信先となるピア名を示す。
【0045】
送信先P2Pドメイン名105は、通信先のP2Pドメイン名を示す。
そして、発信元ピアアドレス106等は、自己のピアアドレス等を示す。
このようにして、ピア問い合わせ要求が生成される。
【0046】
一方、TCP/IPプロトコル110は、TCP/IPヘッダ111とTCP/IPデータ112とから構成されており、さらに、TCP/IPデータ112は、DNSメッセージヘッダ114、問い合わせDNSリソース115およびDNSリソース応答116等を含むDNS問い合わせ113等から構成されており、夫々の項目に所定のビット数が割り当てられている。
【0047】
DNSメッセージヘッダ114は、DNSサーバに対してリソースの問い合わせであることを示す情報である。
問い合わせDNSリソース115は、問い合わせ対象のDNSリソース名を示す。
【0048】
このようにして、DNSリソース問い合わせ要求が生成される。
すなわち、P2Pネットワークプロトコル100におけるP2Pメッセージ種別103に格納されている情報がTCP/IPプロトコル110におけるDNSメッセージヘッダ114に格納され、P2Pネットワークプロトコル100における送信先ピア名104および送信先P2Pドメイン名105に格納されている情報がTCP/IPプロトコル110における問い合わせDNSリソース115に格納される等し、さらに、TCP/IPヘッダ111等が付け加えられたり、不要な情報が削除されたりすることによって、情報の同一性を保持しつつピア問い合わせ要求からDNSリソース問い合わせ要求へのプロトコル変換が行なわれる。
【0049】
次に、再び図2を参照すると、応答側P2Pネットワーク20において、応答側ピア24はP2Pリソース問い合わせ応答部240を備える。このP2Pリソース問い合わせ応答部240は、応答側通信装置25からP2Pネットワークプロトコルに則ったピア応答要求を取得して解析し、自己のピア名と一致するか否かを判断して、一致する場合にはピア名からピアアドレスへの名前解決を行ない、P2Pネットワークプロトコルに則ったピア応答を応答側通信装置25に送信する処理部である。このP2Pリソース問い合わせ応答部240は、応答側ピア24の内部メモリに格納されているプログラム等によって実現される。ここで、ピア応答とは、ピアリソースが解決したことを知らせる情報と応答側ピア24のピア名やピアアドレスとを含むパケットであり、P2Pネットワークプロトコルに則って生成される。なお、図2において図示していないが、他の応答側ピア21〜23もP2Pリソース問い合わせ応答部240を備えている。
【0050】
また、応答側通信装置25は、P2Pリソース検索部250とP2Pリソース登録部252とを備える。
P2Pリソース検索部250は、応答側P2Pネットワーク20のP2Pドメインのネームサーバとして機能し、応答側P2Pネットワーク20内における問い合わせ対象のピアを動的に検索する処理部であり、応答側通信装置25に実装されたソフトウェア等によって実現される。このP2Pリソース検索部250は、P2Pドメインサーバ30からTCP/IPプロトコルに則ったDNSリソース問い合わせ要求を取得して、P2Pネットワークプロトコルに則ったピア応答要求にプロトコル変換を行ない、ピア応答要求を応答側P2Pネットワーク内における応答側ピア21〜24に向けて一斉に送信する。ここで、ピア応答要求とは、応答側ピア21〜24に向けて名前解決を求める情報と応答を求めるピア名とを含むパケットであり、P2Pネットワークプロトコルに則って生成される。
【0051】
また、P2Pリソース検索部250は、応答側ピア21〜24からP2Pネットワークプロトコルに則ったピア応答を取得して、TCP/IPプロトコルに則ったDNSリソース問い合わせ応答にプロトコル変換を行ない、P2Pドメインサーバ30に送信する。ここで、DNSリソース問い合わせ応答とは、ピア応答に含まれる情報を含むパケットであり、TCP/IPプロトコルに則って生成される。
【0052】
なお、P2Pリソース検索部250におけるDNSリソース問い合わせ要求からピア応答要求へのプロトコル変換は、図3に示す変換方向と反対方向の処理を行なう。また、ピア応答からDNSリソース問い合わせ応答へのプロトコル変換は、図3に示す変換方向と同一方向の変換処理を行なう。そして、図3に示すDNSリソース応答116は、応答側ピア21〜24のいずれかのピアアドレスを示す。
【0053】
さらに、このP2Pリソース検索部250は、キャッシュメモリ251を備える。このキャッシュメモリ251は、P2Pリソース検索部250が応答側ピア21〜24から取得したピア問い合わせ応答に含まれるピア名とピアアドレスとを対応づけて蓄積するRAM(Random Access Memory)等である。このキャッシュメモリ251を備えることによって、応答側P2Pネットワーク20内における同一のピアに対するリソースの問い合わせ要求があった場合、キャッシュメモリ251に蓄積されている結果に基づいて問い合わせ対象のピアを静的に検索することができる。
【0054】
P2Pリソース登録部252は、P2Pリソース検索部250を、応答側P2Pネットワーク20のネームサーバとして、P2Pドメインサーバ30に登録する処理部であり、応答側通信装置25に実装されたソフトウェア等によって実現される。このP2Pリソース登録部252は、応答側通信装置25の起動時に、P2Pリソース検索部250を示す情報をP2Pドメインサーバ30に送信する。ここで、P2Pリソース検索部250を示す情報とは、P2Pドメインサーバ30が、P2Pドメインのネームサーバとして機能しDNSリソース問い合わせ要求の送信先となるP2Pリソース検索部250を識別するためのユニークなアドレス等であり、本実施の形態1においては、例えば、応答側通信装置25のグローバルIPアドレスである。
【0055】
さらに、P2Pドメインサーバ30は、P2Pドメインネームレコード300を備える。このP2Pドメインネームレコード300は、P2Pドメインサーバ30がDNSリソースの名前解決を行なうために参照するデータを集積したものであり、P2Pドメインサーバ30におけるハードディスク等の記憶装置に記録されている。
【0056】
図4は、本実施の形態1に係るピアリソース解決システム1におけるP2Pドメインサーバ30内のP2Pドメインネームレコード300を示す図である。
図4に示すように、このP2Pドメインネームレコード300は、応答側P2Pネットワーク20等のように、P2Pドメインサーバ30からディレクトリサービスの提供を受けているP2Pドメインのドメイン名をP2Pドメインネーム列301に記録する。そして、このP2Pドメインネーム列301に対応づけて、先に述べたP2Pドメインのネームサーバとして機能するP2Pリソース検索部250を識別するために必要なアドレス、すなわち本実施の形態1においては応答側通信装置25のグローバルIPアドレスをIPアドレス列302に記録する。
【0057】
以上のように構成されたピアリソース解決システムにおいて、具体的にピアリソースを解決するための処理を手順に従って説明する。ここでは、例示として問い合わせ側P2Pネットワーク10の問い合わせ側ピア12が、応答側P2Pネットワーク20の応答側ピア24との通信を確立する際のピアリソース解決処理を用いることとする。そして、問い合わせ側P2Pネットワーク10のドメイン名は、”xyz.p2p”であり、応答側P2Pネットワーク20のドメイン名は、”abc.p2p”であるとし、さらに、問い合わせ側ピア12のピア名は、”HDDVIDEO”であるとし、応答側ピア24のピア名は、”DVCamera”であることとする。
【0058】
図5は、本実施の形態1に係るピアリソース解決システム1におけるピアリソース解決の処理手順を示すシーケンス図である。
まず、応答側P2Pネットワーク20内の応答側通信装置25において、P2Pリソース登録部252は、起動時にP2Pリソース検索部250をP2PドメインのネームサーバとしてP2Pドメインサーバ30にエントリー登録する(S100)。このエントリー登録は、具体的には、応答側P2Pネットワーク20のドメイン名”abc.p2p”と、P2Pリソース検索部250を識別するために必要なアドレス、すなわち、応答側通信装置25のグローバルIPアドレスとを表す情報を含むパケットをP2Pドメインサーバ30に送信することによって行なう。
【0059】
P2Pドメインサーバ30は、応答側通信装置25からP2Pリソース検索部250をエントリー登録するためのパケットを取得すると、パケットに含まれる情報を解析して、応答側P2Pネットワーク20のドメイン名”abc.p2p”と応答側通信装置25のグローバルIPアドレスとを対応づけて、P2Pドメインネームレコード300のP2Pドメインネーム列301とIPアドレス列302とに格納し、P2Pドメインネームレコード300を更新する(S101)。
【0060】
ここで、問い合わせ側ピア12から応答側ピア24との通信を確立しようとする場合、まず、問い合わせ側ピア12は、応答側ピア24のピア名”DVCamera”とP2Pドメイン名”abc.p2p”を指定したピア問い合わせ要求を生成し、問い合わせ側P2Pネットワーク10を経由して問い合わせ側通信装置15に送信する(S102)。
【0061】
次に、問い合わせ側通信装置15は、問い合わせ側ピア12からピア問い合わせ要求を取得すると、DNSリソース問い合わせ部150によってDNSリソース問い合わせ要求にプロトコル変換を行なう(S103)。その後、問い合わせ側通信装置15は、DNSリソース問い合わせ要求を問い合わせ側P2Pネットワーク10のドメインサーバに送信すると、”abc.p2p”のドメイン名を管理するDNSサーバが広域ネットワーク40上において階層化されているDNSサーバ群において検索される。そして、その結果P2Pドメインサーバ30にDNSリソース問い合わせ要求が転送されることになる(S104)。
【0062】
ここで、P2Pドメインサーバ30は、DNSリソース問い合わせ要求を取得すると、DNSリソース問い合わせ要求の問い合わせDNSリソース115に含まれている情報を解析して、内部に保持しているP2Pドメインネームレコード300のP2Pドメインネーム列301を参照する(S105)。このとき、DNSリソース問い合わせ要求の問い合わせDNSリソース115に、応答側P2Pネットワーク20のドメイン名である”abc.p2p”がP2Pドメインネーム列301に存在するので、P2Pドメインサーバ30は、”abc.p2p”に対応づけられたIPアドレス列302に格納されている応答側通信装置25のグローバルIPアドレスを読み出し、このアドレスに向けてDNSリソース問い合わせを回送する(S106)。
【0063】
その後、応答側通信装置25は、P2Pドメインサーバ30から回送されたDNSリソース問い合わせ要求を取得すると、P2Pリソース検索部250によってピア応答要求にプロトコル変換を行なう(S107)。そして、P2Pリソース検索部250から応答側P2Pネットワーク内の応答側ピア群21〜24に対してピア応答要求を一斉送信する(S108)。
【0064】
応答側ピア群21〜24は、夫々P2Pリソース検索部250から送信されたピア応答要求を取得すると、P2Pリソース問い合わせ応答部240によってピア応答要求の送信先ピア名104に含まれている情報を解析して自己のピア名と一致するか否かを判断する(S109)。このとき、ピア応答要求の送信先ピア名104に、応答側ピア24のピア名である”DVCamera”が含まれているため、応答側ピア24は、P2Pリソース問い合わせ応答部240によって自己のピア名からピアアドレスへの名前解決を行ない、これによってピアリソースが解決されることとなる。
【0065】
その後、応答側ピア24は、ピアリソースの解決という結果をピア問い合わせ要求の発信元である問い合わせ側ピア12に返すため、自己のピアアドレスを示す情報を含めたピア応答を生成して、応答側通信装置25に送信する(S110)。
【0066】
応答側通信装置25は、P2Pリソース検索部250によって、応答側ピア24からピア応答を取得し、DNSリソース問い合わせ応答にプロトコル変換を行なって(S111)、P2Pドメインサーバ30にDNSリソース問い合わせ応答を送信する(S112)。
【0067】
P2Pドメインサーバ30は、DNSリソース問い合わせ応答を取得すると、DNSリソース問い合わせ応答のTCP/IPヘッダ111に含まれる送信先IPアドレスを参照して問い合わせ側通信装置15のグローバルIPアドレスを割り出し、DNSリソース問い合わせ応答を問い合わせ側通信装置15に回送する(S113)。
【0068】
問い合わせ側通信装置15は、P2Pドメインサーバ30から広域ネットワーク40を経由して回送されたDNSリソース問い合わせ応答を受信すると、DNSリソース問い合わせ部150によってピア問い合わせ応答にプロトコル変換を行なう(S114)。そして、DNSリソース問い合わせ部150は、ピアリソースの問い合わせを行なった問い合わせ側ピア12にピア問い合わせ応答を送信して、応答側ピア24においてピアリソースの解決が行なわれた結果を返し(S115)、これによって問い合わせ側ピア12と応答側ピア24とのP2P通信が可能となる。その結果、P2P通信を介して、問い合わせ側ピア12は応答側ピア24が録画した動画ファイルを応答側ピア24から直接入手することや、応答側ピア24に対して動作指示を行なう等の制御をすることができる。
【0069】
このように、本実施の形態1によれば、DNSというディレクトリサービスによる静的なリソース解決とP2Pリソース検索部による動的なリソース解決とを組み合わせることによって、ピア名とピアアドレスが静的にエントリーされていないP2Pネットワーク上のピアのリソースを解決することができるので、既存のディレクトリサービスの増設コストをかけることなく、低コストでP2P通信を実現することができる。
【0070】
また、P2Pネットワーク上において動的なリソース解決を行なうことによって、ピアの生成や消滅に対する即応性を確保することができる。
なお、この実施の形態1において、応答側P2Pネットワーク20内に送信先となるべきピアが存在しない場合、すなわち、応答側P2Pネットワーク内の応答側ピア21〜24のいずれもピア応答要求の送信先ピア名104に含まれている情報と自己のピア名とが一致しない場合は、以下の処理手順となる。
【0071】
この場合、例えば、応答側ピア21〜24は、P2Pリソース問い合わせ応答部240によって、ピア応答要求の送信先ピア名104に含まれている情報と自己のピア名とが一致しない場合は、一致しなかったことを示す情報を含めたパケットを応答側通信装置25に送信し、応答側通信装置25は、P2Pリソース検索部250によって、応答側P2Pネットワーク20内のすべてのピアからこのパケットを取得した場合に、ピアリソースが解決できなかったという結果を知らせるDNSリソース不応答を生成し、P2Pドメインサーバ30に送信することとする。
【0072】
また、応答側通信装置25は、P2Pリソース検索部250にタイマー等を備え、これによって、ピア応答要求を応答側ピア21〜24に送信してから一定時間の経過を計測し、この一定時間内にピア応答を取得しなければ、DNSリソース不応答を生成し、P2Pドメインサーバ30に送信することとしてもよい。
【0073】
(実施の形態2)
次に、本発明の実施の形態2に係るピアリソース解決システムについて、図面を参照しながら説明する。
図6は、本実施の形態2に係るピアリソース解決システム2における各構成要素の機能ブロック図である。
【0074】
このピアリソース解決システム2の構成は、前記実施の形態1におけるピアリソース解決システム1の構成と略共通するが、応答側P2Pネットワーク20aに所定のファイアウォール26aが存在することによって、P2Pドメインサーバ30aから回送されるDNSリソース問い合わせ要求が応答側P2Pネットワーク20aに直接アクセスすることができないため、リソース問い合わせ中継サーバ50を応答側P2Pネットワーク20aとP2Pドメインサーバ30aとの間に介在させている点において、実施の形態1と異なる。
【0075】
以下、実施の形態1と異なる点を中心に説明する。なお、実施の形態1と同一の構成要素には同一の符号を付し、その説明を省略する(以下、他の図面についても同様)。
【0076】
図6に示すように、応答側P2Pネットワーク20aは、応答側ピア21a〜24aと、応答側通信装置25aと、応答側P2Pネットワーク20aへ外部から侵入されるのを防ぐファイアウォール26aとから構成される。
【0077】
ファイアウォール26aは、応答側P2Pネットワーク20aと他のネットワークとの境界を流れるデータを監視して、応答側通信装置25aに対する不正なアクセスを検出し、遮断する処理装置である。このファイアウォール26aは、専用のハードウェアで実現されるが、ブロードバンドルータ等である応答側通信装置25aに実装されたソフトウェアによって実現されるものであってもよい。本実施の形態2において、P2Pドメインサーバ30aから回送されるDNSリソース問い合わせ要求は、このファイアウォール26aによってアクセスが遮断され通過することができないこととする。
【0078】
また、応答側P2Pネットワーク20aにおいて、応答側通信装置25aは、P2Pリソース検索部250aとP2Pリソース登録部252aとを備える。
P2Pリソース検索部250aは、実施の形態1におけるP2Pリソース検索部250と略共通するが、P2Pドメインサーバ30aから直接DNSリソース問い合わせ要求を取得せずに、リソース問い合わせ中継サーバ50にDNSリソース問い合わせ要求の蓄積情報を求めるメッセージを送信し、リソース中継サーバ50からDNSリソース問い合わせ要求を取得する点において、実施の形態1と異なっている。なお、ここにいうDNSリソース問い合わせ要求の蓄積情報を求めるメッセージとは、リソース問い合わせ中継サーバ50に送信されるパケットに格納される情報であり、応答側P2Pネットワーク20aに対するDNSリソース問い合わせ要求が蓄積されているか否かの確認を実行し、蓄積されている場合には応答側通信装置25aに送信することを要求する情報である。
【0079】
P2Pリソース登録部252aは、応答側P2Pネットワーク20aへのDNSリソース問い合わせ要求の転送先となるリソース問い合わせ中継サーバ50を、P2Pドメインサーバ30aに登録する処理部であり、応答側通信装置25aに実装されたソフトウェア等によって実現される。このP2Pリソース登録部252aは、応答側通信装置25aの起動時に、リソース問い合わせ中継サーバ50を示す情報をP2Pドメインサーバ30aに送信する。ここで、リソース問い合わせ中継サーバ50を示す情報とは、P2Pドメインサーバ30aが、DNSリソース問い合わせ要求の送信先となるリソース問い合わせ中継サーバ50を識別するためのユニークなアドレス等であり、本実施の形態2においては、リソース問い合わせ中継サーバ50のグローバルIPアドレスである。
【0080】
さらに、P2Pドメインサーバ30aは、P2Pドメインネームレコード300aを備える。このP2Pドメインネームレコード300aは、実施の形態1と同様に、ハードディスク等の記憶装置に記録されているデータベースであるが、記録する内容において実施の形態1と異なる。
【0081】
図7は、本実施の形態2に係るピアリソース解決システム2におけるP2Pドメインサーバ30a内のP2Pドメインネームレコード300aを示す図である。
【0082】
図7に示すように、このP2Pドメインネームレコード300aは、応答側P2Pネットワーク20a等のように、P2Pドメインサーバ30aからディレクトリサービスの提供を受けているP2Pドメインのドメイン名をP2Pドメインネーム列301aに記録する。そして、このP2Pドメインネーム列301aに対応づけて、DNSリソース問い合わせ回送の送信先となるリソース問い合わせ中継サーバ50を識別するために必要なアドレス、すなわち本実施の形態2においてはリソース問い合わせ中継サーバ50のグローバルIPアドレスをIPアドレス列302aに記録する。
【0083】
次に、再び図6を参照し、P2Pドメインサーバ30aと応答側P2Pネットワーク20aとの間におけるデータの流れを見ると、ファイアウォール26aによって、P2Pドメインサーバ30aは応答側P2Pネットワーク20aに自由なアクセスができない。そのため、P2Pドメインサーバ30aから応答側P2Pネットワーク20aへのアクセスは、リソース問い合わせ中継サーバ50を経由することになる。
【0084】
このリソース問い合わせ中継サーバ50は、応答側通信装置25aとP2Pドメインサーバ30aとの間に介在するサーバ装置であり、DNSリソース問い合わせ要求を一時的に蓄積する問い合わせメッセージ保留部51を備える。このリソース問い合わせ中継サーバ50は、例えば、プロキシサーバ装置のようなハードウェアやサーバ装置に格納されているプログラム等のソフトウェアによって実現される。
【0085】
問い合わせメッセージ保留部51は、P2Pドメインサーバ30aから取得したDNSリソース問い合わせ要求を蓄積するハードディスク等の記憶装置である。
【0086】
このリソース問い合わせ中継サーバ50は、P2Pリソース検索部250aからDNSリソース問い合わせ要求の蓄積情報を求めるメッセージを受け取ると、DNSリソース問い合わせ要求を保持している問い合わせメッセージ保留部51からDNSリソース問い合わせ要求を読み出して、P2Pリソース検索部250aに送信する。
【0087】
このように構成された本実施の形態2に係るピアリソース解決システムにおいて、具体的にピアリソースを解決するための処理を手順に従って説明する。ここでは、例示として、問い合わせ側P2Pネットワーク10の問い合わせ側ピア12が、応答側P2Pネットワーク20aの応答側ピア24aとの通信を確立する際のピアリソース解決処理を用いることとする。そして、問い合わせ側P2Pネットワーク10のドメイン名は、”xyz.p2p”であり、応答側P2Pネットワーク20aのドメイン名は、”def.p2p”であるとし、さらに、問い合わせ側ピア12のピア名は、”HDDVIDEO”であるとし、応答側ピア24aのピア名は、”DVCamera”であることとする。
【0088】
図8は、本実施の形態2に係るピアリソース解決システム2におけるピアリソース解決の処理手順を示すシーケンス図である。
まず、応答側P2Pネットワーク20a内の応答側通信装置25aにおいて、P2Pリソース登録部252aは、起動時にリソース問い合わせ中継サーバ50をP2PドメインのネームサーバとしてP2Pドメインサーバ30aにエントリー登録する(S200)。このエントリー登録は、具体的には、応答側P2Pネットワーク20aのドメイン名である”def.p2p”と、リソース問い合わせ中継サーバ50を識別するために必要なアドレス、すなわち、リソース問い合わせ中継サーバ50のグローバルIPアドレスとを表す情報を含むパケットをP2Pドメインサーバ30aに送信することによって行なう。
【0089】
P2Pドメインサーバ30aは、応答側通信装置25aからリソース問い合わせ中継サーバ50をエントリー登録するためのパケットを取得すると、パケットに含まれる情報を解析して、応答側P2Pネットワーク20aのドメイン名”def.p2p”とリソース問い合わせ中継サーバ50のグローバルIPアドレスとを対応づけて、P2Pドメインネームレコード300aのP2Pドメインネーム列301aとリソース問い合わせ中継サーバIPアドレス列302aとに格納し、P2Pドメインネームレコード300aを更新する(S201)。
【0090】
ここで、問い合わせ側ピア12から応答側ピア24aとの通信を確立しようとする場合、問い合わせ側ネットワーク10において、実施の形態1と同様の処理が行なわれる。図面において表記を省略するが、問い合わせ側ピア12は、応答側ピア24aのピア名”DVcamera”とP2Pドメイン名”def.p2p”を指定したピア問い合わせ要求を生成して、問い合わせ側通信装置15に送信し、問い合わせ側通信装置15が、ピア問い合わせ要求をDNSリソース問い合わせ要求にプロトコル変換を行なって、問い合わせ側P2Pネットワーク10のドメインサーバに送信する。なお、これらの処理は、図5に示すS102およびS103における処理に相当する。
【0091】
そして、広域ネットワーク40上において階層化されたDNSサーバ群を経由してP2Pドメインサーバ30aは、DNSリソース問い合わせ要求を取得すると(S204)、DNSリソース問い合わせ要求の問い合わせDNSリソース115に含まれている情報を解析して、内部に保持しているP2Pドメインネームレコード300aのP2Pドメインネーム列301aを参照する(S205)。このとき、DNSリソース問い合わせ要求の問い合わせDNSリソース115に、応答側P2Pネットワーク20aのドメイン名である”def.p2p”がP2Pドメインネーム列301aに存在するので、P2Pドメインサーバ30aは、”def.p2p”に対応づけられたリソース問い合わせ中継サーバ50のグローバルIPアドレスを読み出し、このアドレスに向けてDNSリソース問い合わせ要求を回送する(S206)。
【0092】
リソース問い合わせ中継サーバ50は、P2Pドメインサーバ30aから回送されたDNSリソース問い合わせ要求を取得すると、サーバ内部に備えている問い合わせメッセージ保留部51に格納し、DNSリソース問い合わせ要求を保持する(S207)。
【0093】
ここで、応答側通信装置25aにおいて、P2Pリソース検索部250aが、リソース問い合わせ中継サーバ50に対して、DNSリソース問い合わせ要求の有無を確認するメッセージを送信すると(S208)、リソース問い合わせ中継サーバ50は問い合わせメッセージ保留部51を参照して、DNSリソース問い合わせ要求を読み出しP2Pリソース検索部250aに送信する(S209)。
【0094】
その後、応答側通信装置25aにおいて、P2Pリソース検索部250aがDNSリソース問い合わせ要求を取得した後、P2Pリソース検索部250aおよび応答側ピア21〜24は、実施の形態1と同様の処理を行ない、ピアリソースの解決をする(S210)。すなわち、P2Pリソース検索部250aが、送信先ピア名104に”DVcamera”という情報を含めたピア応答要求を応答側ピア群21a〜24aに送信すると、応答側ピア24aは、P2Pリソース問い合わせ応答部240aによって、自己のピア名からピアアドレスへの名前解決を行なって、ピアリソースを解決し、ピアリソースの解決という結果をピア問い合わせ要求の発信元である問い合わせ側ピア12に返すため、ピア応答を生成する。
【0095】
そして、応答側通信装置25aは、応答側ピア24aが生成したピア応答を取得し、P2Pリソース検索部250aによってDNSリソース問い合わせ応答へのプロトコル変換を行なって、P2Pドメインサーバ30aに送信する(S211)。P2Pドメインサーバ30aは、DNSリソース問い合わせ応答を取得すると、実施の形態1と同様に、問い合わせ側通信装置15のグローバルIPアドレスを割り出して、DNSリソース問い合わせ応答を問い合わせ側通信装置15に回送し(S212)、最終的には、問い合わせ側通信装置15が問い合わせ側ピア12にピアリソースの解決が行なわれた結果を返すことによって、問い合わせ側ピア12と応答側ピア24aとのP2Pによる通信が可能となる。
【0096】
このように、本実施の形態2によれば、P2Pドメインサーバと応答側P2Pネットワークとの間にリソース問い合わせ中継サーバを介在させることによって、応答側P2Pネットワークにファイアウォールが存在し、P2Pドメインサーバと応答側P2pネットワークとの通信が制約される場合であっても、上記実施の形態1と同様の効果を得ることができる。
【0097】
以上のように、本発明に係るピアリソース解決システムについて、各実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではない。
【0098】
例えば、上記各実施の形態において、問い合わせ側P2PネットワークにおけるDNSリソース問い合わせ部は、ブロードバンドルータ等である問い合わせ側通信装置に実装されたソフトウェアによって実現されることとしているが、PC(Personal Computer)にインストールされたソフトウェアによって実現されるものであってもよい。同様に、応答側P2PネットワークにおけるP2Pリソース検索部およびP2Pリソース登録部も、ブロードバンドルータ等である応答側通信装置に実装されたソフトウェアによって実現されることとしているが、PCにインストールされたソフトウェアによって実現されるものであってもよい。
【0099】
また、上記各実施の形態において、P2Pリソース検索部とP2Pリソース登録部とは、同一の装置内に備えられていることとしているが、これに限られることは無く、例えば、PCがP2Pリソース検索部を備え、ブロードバンドルータ等の通信装置がP2Pリソース登録部を備えることとしてもよい。またさらに、PCまたは通信装置は、P2Pリソース検索部とP2Pリソース登録部とを一体としたP2Pリソース登録検索部を備えることとしてもよい。
【0100】
さらに、上記各実施の形態において、問い合わせ側P2Pネットワークにディレクトリサービスを提供するドメインサーバは、応答側P2Pネットワークにディレクトリサービスを提供するP2Pドメインサーバと異なることとしているが、問い合わせ側P2Pネットワークは、応答側P2Pネットワークと同様に、P2Pドメインサーバからディレクトリサービスの提供を受けることとしてもよい。この場合、DNSリソース問い合わせ要求は、問い合わせ側通信装置から広域ネットワークを経由することなくP2Pドメインサーバに直接送信されることは言うまでもない。
【0101】
また、上記実施の形態1においては、実施の形態2と異なり、応答側P2Pネットワークにファイアウォールは存在していないが、ファイアウォールを排除する趣旨ではなく、例えば、P2Pドメインサーバから回送されるDNSリソース問い合わせ要求の通過を認めるポート番号を指定するパケットフィルタリングを用いたファイアウォールが存在することとしてもよい。
【0102】
さらに、上記実施の形態2において、応答側P2Pリソース検索部におけるキャッシュメモリについて触れていないが、実施の形態1と同様に、応答側P2Pリソース検索部はキャッシュメモリを備えることとしてもよい。
【0103】
そして、上記各実施の形態において、ピアリソースの解決として、ピアツーピア通信を確立するためにピア名からピアアドレスを導き出すことを例示しているが、本発明は、ピア名からピア端末におけるハードディスクの空き容量を導き出す等のリソース解決に用いてもよい。
【0104】
【発明の効果】
以上説明したように、本発明に係るピアリソース解決システムは、第1ネットワーク内における第1ピア端末と第2ネットワーク内における第2ピア端末とのピアツーピア通信において、ピア端末の一の属性を示すリソース情報から前記ピア端末の他の属性を示すリソース解決情報を導き出すピアリソース解決システムであって、前記第1ネットワークに接続され、前記第2ピア端末に関する前記リソース情報について前記リソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、前記第2ネットワークに接続され、前記第2ピアに関する前記リソース情報に基づいて前記第2ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとを仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備える。
【0105】
ここで、本発明の1実施態様として、前記第1ピア端末は、前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信手段と、前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信手段とを備え、前記リソース問合せ装置は、前記第1プロトコルに従って前記第1ピア端末から受信した前記問合せメッセージを、前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せ手段と、前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送手段とを備える。
【0106】
また、本発明の別の実施態様として、前記リソース検索装置は、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記リソース情報についての問い合わせであることを示す問合せメッセージを受信し、当該問合せメッセージを前記第1プロトコルに従って前記第2ピア端末に送信するリソース検索手段と、前記第1プロトコルに従って前記第2ピア端末から受信した前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを、前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信手段とを備え、前記第2ピア端末は、前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信手段と、前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決手段と、前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信手段とを備える。
【0107】
また、本発明のさらに別の実施態様として、上記2つの実施態様の組合せであってもよく、ここで、前記ドメインサーバは、前記所定のディレクトリサービスにより、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送し、また、リソース検索装置から送信された前記応答メッセージを前記リソース問合せ装置に転送することを特徴とする。
【0108】
これによって、ピアの静的なエントリー登録を行なうことなくP2Pネットワーク上のピアのリソースを解決することができ、既存のディレクトリサービスのシステムを増設することなくP2P通信を確立することができる。
【0109】
また、ピアの生成や消滅に対して優れた追従性を発揮することができ、ピアの問い合わせに対して応答する時間を短縮することができる。
さらに、既存のディレクトリサービスを利用することができるので、サーバ管理をするというネットワーク管理技術を備えていなくても本システムの運用は可能であり、例えば、家庭内LAN等においても容易に導入することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1に係るピアリソース解決システムの全体の構成を示す図である。
【図2】本発明の実施の形態1に係るピアリソース解決システムにおける各構成要素の機能ブロック図である。
【図3】本発明の実施の形態1に係るピアリソース解決システムにおけるプロトコル変換処理を模式的に示す図である。
【図4】本発明の実施の形態1に係るピアリソース解決システムにおけるP2Pドメインサーバ内のP2Pドメインネームレコードを示す図である。
【図5】本発明の実施の形態1に係るピアリソース解決システムにおけるピアリソース解決の処理手順を示すシーケンス図である。
【図6】本発明の実施の形態2に係るピアリソース解決システムにおける各構成要素の機能ブロック図である。
【図7】本発明の実施の形態2に係るピアリソース解決システムにおけるP2Pドメインサーバ内のP2Pドメインネームレコードを示す図である。
【図8】本発明の実施の形態2に係るピアリソース解決システムにおけるピアリソース解決の処理手順を示すシーケンス図である。
【符号の説明】
10 問い合わせ側P2Pネットワーク
11、12、13、14 問い合わせ側ピア
15 問い合わせ側通信装置
20、20a 応答側P2Pネットワーク
20b P2Pネットワーク
21、21a、22、22a、23、23a、24、24a 応答側ピア
25、25a 応答側通信装置
26a ファイアウォール
30 P2Pドメインサーバ
40 広域ネットワーク
50 リソース問い合わせ中継サーバ
51 問い合わせメッセージ保留部
100 P2Pネットワークプロトコル
101 P2Pヘッダ
102 P2Pデータ
103 P2Pメッセージ種別
104 送信先ピア名
105 送信先P2Pドメイン名
106 発信元ピアアドレス
107 発信元ピア名
110 TCP/IPプロトコル
111 TCP/IPヘッダ
112 TCP/IPデータ
113 DNS問い合わせ
114 DNSメッセージヘッダ
115 問い合わせDNSリソース
116 DNSリソース応答
120 P2Pリソース問い合わせ部
150 DNSリソース問い合わせ部
240、240a P2Pリソース問い合わせ応答部
250、250a P2Pリソース検索部
251 キャッシュメモリ
252、252a P2Pリソース登録部
300、300a P2Pドメインネームレコード
301、301a P2Pドメインネーム列
302 IPアドレス列
302a リソース中継サーバIPアドレス列
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a system for resolving P2P resources in a peer-to-peer (P2P) network, and more particularly to a system for resolving resources of a peer belonging to one network from a peer belonging to one network.
[0002]
[Prior art]
In order to perform communication between terminals connected by a network, a terminal of a communication destination must be specified by some method. As a method of specifying the terminal of the communication destination, for example, in an IP (Internet Protocol) network, a 32-bit unique IP address such as “192.168.0.1” is assigned to each terminal and this IP address is used. There is a method to specify the terminal.
[0003]
However, such a sequence of numbers is difficult for a human to remember and is difficult to handle. Therefore, using a directory service such as DNS (Domain Name System), the terminal name (domain name) represented by an easy-to-understand character string is converted to the IP address. A name resolution method of determining an address is used. Deriving other necessary attribute information on the communication destination terminal from one attribute information (resource) on the communication destination terminal by the directory service in this way is called resource resolution, and the name resolution described above is one of the resource solutions. Are in a relationship.
[0004]
Here, DNS will be described as a general directory service.
When the client terminal sends an inquiry request to the DNS server by designating the client terminal name of the communication destination, the DNS server associates the client terminal name with the IP address assigned to the client terminal by A (host Address). ) Record (in the case of IPv6, it is an AAAA record or an A6 record. Hereinafter, simply referred to as an "A record"), a system for performing name resolution from a designated client terminal name to an IP address. Yes, DNS servers are arranged in a tree-like hierarchy.
[0005]
More specifically, the hierarchical DNS server group internally stores an A record in which a client terminal name and an IP address managed by the DNS server are associated with each other. Browse records. Here, if the client terminal name specified in the A record held by itself is hit, the DNS server performs name resolution and returns an inquiry result to the client terminal, that is, returns the IP address of the client terminal of the communication destination. If the specified client terminal name is not hit in the A record held by itself, the packet is forwarded to the upper DNS server, and the same processing is repeated between the DNS servers. Finally, the specified client terminal name is hit. The query result obtained from the DNS server is returned to the client terminal. In this way, it is possible to perform communication between client terminals by performing resource resolution using name resolution by DNS (for example, see Non-Patent Documents 1 and 2).
[0006]
In addition, DNS name resolution requires that a client terminal name and an IP address be associated with each other and registered in an A record in a DNS server. A static DNS in which the client terminal name and each IP address are registered in association with each other, and a dynamic DNS in which each client terminal enters (registers) the client terminal name and the IP address in an A record in the DNS server at startup. DNS (dynamic DNS).
[0007]
In this dynamic DNS, when each client terminal disappears from the network due to the termination processing, it is necessary to access the DNS server and delete the entry and update the A record before the termination processing (for example, see Non-Patent Reference 3).
[0008]
On the other hand, even in a P2P (Peer to Peer) network that enables an unspecified number of terminal devices (peers) to communicate with each other, a unique peer address is assigned to each peer, and this peer address is assigned. There is a method to specify the peer using the Since this peer address is also a sequence of unique numbers similarly to the above-mentioned IP address, a name resolution method of calculating a peer address from a peer name of a character string that is easy to understand even in a P2P network is used for a resource resolution procedure. It is possible.
[0009]
In this case, as a first method for performing name resolution in a P2P network, a peer solution is formed by a static solution, that is, an autonomous system such as each ISP (Internet Service Provider), that is, a so-called AS (Autonomous System) unit. A method is conceivable in which a directory service is provided, P2P records in which peer names and peer addresses are associated with each other are exchanged with each other to cooperate with each peer group, and perform name resolution from peer names to peer addresses.
[0010]
Also, as a second method, a dynamic name resolution such as a dynamic DNS, that is, when a peer starts up with a DNS server or the like already operating in the AS, a P2P record held by the DNS server is stored in the P2P record. A method of dynamically entering a peer name and a peer address is conceivable.
[0011]
Furthermore, as a third method, a DNS server or the like that holds a P2P record is installed on a LAN (Local Area Network) that configures a peer network, and the peer name and the peer address are dynamically stored in the P2P record when each peer starts up. , And registering this DNS server in an A record in the DNS server already running in the ISP as a name server managing the P2P network.
[0012]
[Non-patent document 1]
Paul Mockapetris, "Request for Comments 1034. Domain Names-Concepts and Facilities 1034. DOMAIN NAMES-CONCEPTS AND FACILITIES", Internet Engineering Task Force, Internet Age 11E, USA. Monthly publication, p5-7, etc. [Retrieved November 1, 2002], Internet <URL: ftp: // ftp. rfc-editor. org / in-notes / rfc1034. txt>
[0013]
[Non-patent document 2]
Paul Mockapetris, "Request for Comments 1035, Domain Name-Implementation and Specification (Request for Comments 1035, DOMAIN NAMES-IMPLEMENTATION AND SPECIFICATIONs)", Internet Engineering Task Force, Internet Engineering Task Force , November 1987, p2, etc., [Searched November 1, 2002], Internet
<URL: ftp: // ftp. rfc-editor. org / in-notes / rfc1035. txt>
[0014]
[Non-Patent Document 3]
Paul Vixie and four other authors, "Request for Comments 2136, Dynamic Updates in the Domain Name System," Internet Engineering Task Force, Internet Engineering Task Force, Internet Engine Task Force Published in April, 2002, p3, etc. [searched on November 1, 2002], Internet <URL: ftp: // ftp. rfc-editor. org / in-notes / rfc2136. txt>
[0015]
[Problems to be solved by the invention]
However, according to the first method, a network system for constructing a server for managing a peer group and for mutually exchanging P2P records and dynamically cooperating between the servers for managing the peer group is provided. There is a problem that it is necessary to newly construct, and the cost required for the construction and operation increases.
[0016]
Further, according to the second method, entry requests from an unspecified number of peers are concentrated on the DNS server in the AS, so that the processing speed of the existing DNS server is significantly reduced. is there. On the other hand, if the processing speed of the DNS server is to be maintained, there is also a problem that the cost of adding an existing system increases.
[0017]
Furthermore, according to the third method, since a directory service such as DNS is installed on the LAN, an administrator for managing the network is required, and a directory service such as constructing a DNS server is required. Since the cost for operating the system increases, there is a problem that when introducing the system to a home LAN or the like, the users are limited to those having advanced network management technology.
[0018]
According to the method of dynamically entering the peer name and the peer address in the P2P record as in the second and third methods, the terminal performs a termination process due to a freeze or the like due to a terminal system error. In the case where the peer disappears from the network without first being created, there is a problem that the generation or disappearance of each peer cannot be immediately reflected in the P2P record, for example, entries of peers that do not exist in the P2P record remain.
[0019]
Therefore, the present invention has been made in view of such a problem, and a peer resource search which can realize a search for a peer resource without incurring an additional cost and has excellent followability to generation and disappearance of a peer. The purpose is to provide a system.
[0020]
[Means for Solving the Problems]
In order to achieve the above object, the present invention employs the following technical means.
That is, in a peer-to-peer communication between a first peer terminal in a first network and a second peer terminal in a second network, the peer resource solving system according to the present invention uses the peer information based on resource information indicating one attribute of the peer terminal. A peer resource resolution system for deriving resource resolution information indicating other attributes of a terminal, the resource being connected to the first network and inquiring about the resource information on the second peer terminal for deriving the resource resolution information. An inquiry device, a resource search device connected to the second network, searching for the second peer terminal based on the resource information about the second peer, and returning a search result to the resource inquiry device; Intermediate between one network and the second network 3 is connected to a network, and a domain server which provides a predetermined directory service to the second network.
[0021]
Here, as one embodiment of the present invention, the first peer terminal transmits an inquiry message indicating an inquiry about the resource information to the resource inquiry device according to a predetermined first protocol; Response message receiving means for receiving, from the resource inquiry device, a response message including the resource resolution information on the second peer terminal according to the first protocol, wherein the resource inquiry device is configured to execute the first Resource inquiry means for transmitting the inquiry message received from the peer terminal to the resource search device according to a second protocol for performing communication with the domain server; and a resource inquiry device transmitted from the resource search device according to the second protocol. The response message Receiving a di-, and a response message forwarding unit configured to transmit the response message to the first peer terminal in accordance with the first protocol.
[0022]
As another embodiment of the present invention, the resource search device receives an inquiry message indicating that the inquiry is about the resource information transmitted from the resource inquiry device according to the second protocol, and the inquiry message Resource search means for transmitting to the second peer terminal according to the first protocol, and a response message containing the resource resolution information on the second peer terminal received from the second peer terminal according to the first protocol, Resource response transmission means for transmitting to the resource inquiry device according to the two protocols, wherein the second peer terminal receives the inquiry message transmitted from the resource search device according to the first protocol. And the received inquiry message Resource resolution means for analyzing the resource information included in the message and deriving the resource resolution information, and response message transmission means for generating the response message including the resource resolution information and transmitting the response message to the resource search device according to the first protocol And
[0023]
Further, as still another embodiment of the present invention, a combination of the above two embodiments may be provided. Here, the domain server is configured to transmit the predetermined directory service from the resource inquiry device according to the second protocol. The transmitted inquiry message is transferred to the resource search device, and the response message transmitted from the resource search device is transferred to the resource inquiry device.
[0024]
Further, the present invention can also be realized as a peer resource solving method in which each component in the peer resource solving system is a step, and is realized as a program for causing a computer to execute each step or a recording medium recording the program. You can also.
[0025]
Furthermore, the present invention can also be realized as a resource inquiry device having characteristic means in a peer resource resolution system, or as a resource search device having characteristic means in a peer resource resolution system.
[0026]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail, but these are for the purpose of illustration, and the present invention is not limited thereto.
[0027]
(Embodiment 1)
First, a peer resource solving system according to Embodiment 1 of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing an overall configuration of a peer resource solving system 1 according to the first embodiment.
[0028]
The peer resource solving system 1 is a system that realizes a search for peer resources in a P2P network at low cost and solves peer resources. Here, the resolution of the peer resource refers to deriving other necessary attribute information from one attribute information regarding the peer, and in this specification, when deriving a peer address from a peer name to establish peer-to-peer communication Will be described as an example.
[0029]
The peer resource solving system 1 includes a query P2P network 10 for inquiring a peer resource, a responding P2P network 20 for responding to a query for a peer resource, and a directory in the responding P2P network 20. It comprises a P2P domain server 30 for providing services and a wide area network 40. Here, it is assumed that the directory service provided to the responding P2P network 20 is DNS, and that the wide area network 40 is an IP network and is performing communication according to the TCP / IP protocol.
[0030]
The inquiry-side P2P network 10 is a P2P-type LAN that has a plurality of peers in a home or the like and enables communication between the peers, and includes inquiry-side peers 11 to 14 that inquire about peer resources, and peer resources. And an inquiry-side communication device 15 that transmits the inquiry to the outside of the LAN, that is, to a WAN (Wide Area Network).
[0031]
Note that, in the inquiry side P2P network 10, communication between the peers is performed by a P2P network protocol different from the TCP / IP protocol.
[0032]
The inquiry-side peers 11 to 14 are terminal devices physically connected in the inquiry-side P2P network 10 and are home appliances such as a personal computer, a TV compatible with a network connection, and a video recorder with a built-in hard disk. It has a CPU and the like. Each of the inquiry-side peers 11 to 14 is provided with an interface for inputting a peer name or the like as a communication destination, and transmits the input peer name or the like as a peer inquiry request. Note that examples of the interface include a keyboard, a mouse, and a TV remote controller.
[0033]
The inquiry-side communication device 15 is a communication device such as a broadband router that enables communication between the inquiry-side P2P network 10 and the wide area network 40. The inquiry-side communication device 15 includes a CPU, a memory, and the like, and functions as a gateway device in the inquiry-side P2P network 10. Function. The inquiry-side communication device 15 is connected to a domain server (not shown) of the inquiry-side P2P network 10, acquires a peer inquiry request from the inquiry-side peers 11 to 14, converts the request into a DNS resource inquiry request, A DNS resource inquiry request is transmitted to the domain server of the inquiry side P2P network 10. Thereafter, this DNS resource inquiry request is transmitted to the P2P domain server 30 via the wide area network 40 in which an unspecified DNS server is interposed.
[0034]
The responding P2P network 20 is composed of a plurality of terminal devices at home or the like, is a P2P-type LAN that enables communication between the terminal devices, and includes a responding peer 21 to 24 responding to an inquiry about a peer resource. , A response-side communication device 25 that receives a peer resource inquiry from the WAN and transmits a response to the peer resource inquiry to the WAN.
[0035]
It is assumed that communication between the peers is also performed within the responding P2P network 20 using the same P2P network protocol as that of the inquiry P2P network 10.
[0036]
The responding peers 21 to 24 are a group of terminal devices physically connected in the responding P2P network 20, and are home electric appliances such as a personal computer and a digital video camera compatible with the network connection. Is provided inside.
[0037]
The response-side communication device 25 is a communication device such as a broadband router that enables communication between the response-side P2P network 20 and the P2P domain server 30. The response-side communication device 25 includes a CPU, a memory, and the like, and is a gateway device in the response-side P2P network 20. Function as The responding communication device 25 is connected to a P2P domain server 30 which is a domain server of the responding P2P network 20, acquires a DNS resource inquiry request from the P2P domain server 30, converts it into a peer response request, To the side peers 21-24. In addition, the responding communication device 25 acquires a peer response from the responding peers 21 to 24, converts it into a DNS resource inquiry response, and transmits the DNS resource inquiry response to the P2P domain server 30.
[0038]
The P2P domain server 30 is a DNS server device that provides a directory service to the responding P2P network 20, and is connected to the wide area network 40 and can communicate with each other. The P2P domain server 30 also provides a directory service to a plurality of P2P networks such as the P2P network 20b in addition to the responding P2P network 20.
[0039]
Next, the function of each component will be described in more detail with reference to FIG.
FIG. 2 is a functional block diagram of each component in the peer resource solving system 1 according to the first embodiment.
[0040]
First, in the query-side P2P network 10, the query-side peer 12 includes a P2P resource query unit 120. The P2P resource inquiry unit 120 is a processing unit that generates a peer inquiry request conforming to the P2P network protocol and transmits the request to the inquiry-side communication device 15, and is realized by a program or the like stored in the internal memory of the inquiry-side peer 12. Is done. Here, the peer inquiry request is a packet including a peer name input from the input interface of the inquiry peer 12 or its own peer name, and is generated according to the P2P network protocol. Although not shown in FIG. 2, the other inquiring peers 11, 13, and 14 also include the P2P resource inquiry unit 120.
[0041]
In addition, the inquiry communication device 15 includes a DNS resource inquiry unit 150. The DNS resource inquiry unit 150 acquires a peer inquiry request from the P2P resource inquiry unit 120 of the inquiry peer 12, performs a protocol conversion to the DNS resource inquiry request in accordance with the TCP / IP protocol, and obtains a domain of the inquiry P2P network 10. It is a processing unit that transmits to the server. The DNS resource inquiry unit 150 is realized by software or the like mounted on the inquiry communication device 15 such as a broadband router. The DNS resource inquiry request is a packet including information included in the peer inquiry request, and is generated according to the TCP / IP protocol.
[0042]
Here, the protocol conversion from the peer inquiry request to the DNS resource inquiry request will be described with reference to FIG.
FIG. 3 is a diagram schematically illustrating a protocol conversion process in the peer resource solving system 1 according to the first embodiment.
[0043]
The P2P network protocol 100 includes a P2P header 101 and P2P data 102. The P2P header 101 further includes a P2P message type 103, a destination peer name 104, a destination P2P domain name 105, and a source peer address 106. And a source peer name 107, etc., and a predetermined number of bits are assigned to each item.
[0044]
The P2P message type 103 indicates that the inquiry is a peer resource inquiry.
The destination peer name 104 indicates the name of a peer that is a communication destination.
[0045]
The transmission destination P2P domain name 105 indicates the P2P domain name of the communication destination.
The source peer address 106 and the like indicate its own peer address and the like.
In this way, a peer inquiry request is generated.
[0046]
On the other hand, the TCP / IP protocol 110 includes a TCP / IP header 111 and TCP / IP data 112. Further, the TCP / IP data 112 includes a DNS message header 114, an inquiry DNS resource 115, and a DNS resource response 116. And the like, and includes a DNS inquiry 113 and the like, and a predetermined number of bits is assigned to each item.
[0047]
The DNS message header 114 is information indicating that a resource inquiry is made to the DNS server.
The inquiry DNS resource 115 indicates the name of the DNS resource to be inquired.
[0048]
In this way, a DNS resource inquiry request is generated.
That is, the information stored in the P2P message type 103 in the P2P network protocol 100 is stored in the DNS message header 114 in the TCP / IP protocol 110, and the information is stored in the destination peer name 104 and the destination P2P domain name 105 in the P2P network protocol 100. The stored information is stored in the inquiry DNS resource 115 in the TCP / IP protocol 110, and furthermore, the TCP / IP header 111 and the like are added, or unnecessary information is deleted. The protocol conversion from the peer inquiry request to the DNS resource inquiry request is performed while maintaining the property.
[0049]
Next, referring to FIG. 2 again, in the responding P2P network 20, the responding peer 24 includes a P2P resource inquiry responding unit 240. The P2P resource inquiry response unit 240 obtains and analyzes a peer response request in accordance with the P2P network protocol from the responding communication device 25, determines whether or not it matches its own peer name. Is a processing unit for performing name resolution from a peer name to a peer address and transmitting a peer response to the responding communication device 25 in accordance with the P2P network protocol. The P2P resource inquiry response unit 240 is realized by a program or the like stored in the internal memory of the response peer 24. Here, the peer response is a packet including information indicating that the peer resource has been resolved and the peer name and the peer address of the responding peer 24, and is generated in accordance with the P2P network protocol. Although not shown in FIG. 2, the other responding peers 21 to 23 also include the P2P resource inquiry responding unit 240.
[0050]
Further, the responding communication device 25 includes a P2P resource search unit 250 and a P2P resource registration unit 252.
The P2P resource search unit 250 functions as a name server of the P2P domain of the responding P2P network 20 and is a processing unit that dynamically searches for a peer to be queried in the responding P2P network 20. This is realized by implemented software or the like. The P2P resource search unit 250 obtains a DNS resource inquiry request according to the TCP / IP protocol from the P2P domain server 30, converts the request into a peer response request according to the P2P network protocol, and converts the peer response request into a response side. It transmits all at once to the responding peers 21 to 24 in the P2P network. Here, the peer response request is a packet including information requesting name resolution toward the responding peers 21 to 24 and a peer name requesting a response, and is generated in accordance with the P2P network protocol.
[0051]
Further, the P2P resource search unit 250 acquires a peer response according to the P2P network protocol from the responding peers 21 to 24, performs protocol conversion into a DNS resource inquiry response according to the TCP / IP protocol, and Send to Here, the DNS resource inquiry response is a packet including information included in the peer response, and is generated according to the TCP / IP protocol.
[0052]
Note that the protocol conversion from the DNS resource inquiry request to the peer response request in the P2P resource search unit 250 is performed in a direction opposite to the conversion direction shown in FIG. In the protocol conversion from the peer response to the DNS resource inquiry response, a conversion process in the same direction as the conversion direction shown in FIG. 3 is performed. Then, the DNS resource response 116 shown in FIG. 3 indicates one of the peer addresses of the responding peers 21 to 24.
[0053]
Further, the P2P resource search unit 250 includes a cache memory 251. The cache memory 251 is, for example, a RAM (Random Access Memory) that stores a peer name and a peer address included in the peer inquiry response acquired from the responding peers 21 to 24 by the P2P resource search unit 250 in association with each other. By providing the cache memory 251, when there is a resource inquiry request to the same peer in the responding P2P network 20, the peer to be queried is statically searched based on the result stored in the cache memory 251. can do.
[0054]
The P2P resource registration unit 252 is a processing unit that registers the P2P resource search unit 250 as a name server of the responding P2P network 20 in the P2P domain server 30, and is realized by software or the like mounted on the responding communication device 25. You. The P2P resource registration unit 252 transmits information indicating the P2P resource search unit 250 to the P2P domain server 30 when the responding communication device 25 is activated. Here, the information indicating the P2P resource search unit 250 is a unique address for identifying the P2P resource search unit 250 that the P2P domain server 30 functions as a name server of the P2P domain and transmits a DNS resource inquiry request to. In the first embodiment, for example, it is the global IP address of the responding communication device 25.
[0055]
Further, the P2P domain server 30 includes a P2P domain name record 300. The P2P domain name record 300 is an accumulation of data that the P2P domain server 30 refers to for performing DNS resource name resolution, and is recorded in a storage device such as a hard disk in the P2P domain server 30.
[0056]
FIG. 4 is a diagram showing a P2P domain name record 300 in the P2P domain server 30 in the peer resource solution system 1 according to the first embodiment.
As shown in FIG. 4, the P2P domain name record 300 includes, in the P2P domain name column 301, the domain name of the P2P domain that is provided with the directory service from the P2P domain server 30, such as the responding P2P network 20. Record. Then, in association with the P2P domain name column 301, an address required to identify the P2P resource search unit 250 functioning as the P2P domain name server described above, that is, in the first embodiment, the response side communication is performed. The global IP address of the device 25 is recorded in the IP address column 302.
[0057]
In the peer resource solving system configured as described above, a process for solving a peer resource will be specifically described according to a procedure. Here, as an example, it is assumed that the inquiry-side peer 12 of the inquiry-side P2P network 10 uses a peer resource resolution process when establishing communication with the response-side peer 24 of the response-side P2P network 20. The domain name of the query side P2P network 10 is “xyz.p2p”, the domain name of the response side P2P network 20 is “abc.p2p”, and the peer name of the query side peer 12 is It is assumed that “HDVIDEO”, and the peer name of the responding peer 24 is “DVCamera”.
[0058]
FIG. 5 is a sequence diagram illustrating a processing procedure of the peer resource resolution in the peer resource resolution system 1 according to the first embodiment.
First, in the responding communication device 25 in the responding P2P network 20, the P2P resource registration unit 252 performs entry registration of the P2P resource search unit 250 as a P2P domain name server in the P2P domain server 30 at startup (S100). Specifically, this entry registration includes the domain name “abc.p2p” of the responding P2P network 20 and the address required to identify the P2P resource search unit 250, that is, the global IP address of the responding communication device 25. Is transmitted to the P2P domain server 30.
[0059]
When the P2P domain server 30 acquires a packet for entry registration of the P2P resource search unit 250 from the responding communication device 25, the P2P domain server 30 analyzes information included in the packet, and acquires the domain name “abc.p2p” of the responding P2P network 20. Is associated with the global IP address of the response-side communication device 25 and stored in the P2P domain name column 301 and the IP address column 302 of the P2P domain name record 300, and the P2P domain name record 300 is updated (S101).
[0060]
Here, when trying to establish communication with the responding peer 24 from the querying peer 12, the querying peer 12 firstly inputs the peer name "DVCamera" and the P2P domain name "abc.p2p" of the responding peer 24. It generates the specified peer inquiry request and transmits it to the inquiry communication device 15 via the inquiry P2P network 10 (S102).
[0061]
Next, upon acquiring the peer inquiry request from the inquiry side peer 12, the inquiry side communication device 15 performs a protocol conversion to the DNS resource inquiry request by the DNS resource inquiry unit 150 (S103). After that, when the inquiry-side communication device 15 transmits a DNS resource inquiry request to the domain server of the inquiry-side P2P network 10, the DNS server that manages the domain name “abc.p2p” is hierarchized on the wide area network 40. Searched in DNS servers. Then, as a result, the DNS resource inquiry request is transferred to the P2P domain server 30 (S104).
[0062]
Here, upon acquiring the DNS resource inquiry request, the P2P domain server 30 analyzes the information included in the inquiry DNS resource 115 of the DNS resource inquiry request, and stores the P2P of the P2P domain name record 300 held therein. The domain name string 301 is referred to (S105). At this time, since “abc.p2p” which is the domain name of the responding P2P network 20 exists in the P2P domain name column 301 in the inquiry DNS resource 115 of the DNS resource inquiry request, the P2P domain server 30 executes “abc.p2p”. The global IP address of the responding communication device 25 stored in the IP address column 302 associated with "" is read, and a DNS resource inquiry is forwarded to this address (S106).
[0063]
After that, when the response side communication device 25 acquires the DNS resource inquiry request forwarded from the P2P domain server 30, the P2P resource search unit 250 converts the protocol into the peer response request (S107). Then, the P2P resource search unit 250 broadcasts a peer response request to the responding peer groups 21 to 24 in the responding P2P network (S108).
[0064]
When each of the responding peer groups 21 to 24 obtains the peer response request transmitted from the P2P resource search unit 250, the P2P resource inquiry response unit 240 analyzes the information included in the destination peer name 104 of the peer response request. Then, it is determined whether or not it matches its own peer name (S109). At this time, since the destination peer name 104 of the peer response request includes “DVCamera” which is the peer name of the responding peer 24, the responding peer 24 transmits its own peer name by the P2P resource inquiry response unit 240. To the peer address, which resolves the peer resource.
[0065]
Thereafter, the responding peer 24 generates a peer response including information indicating its own peer address to return the result of the resolution of the peer resource to the querying peer 12 that is the source of the peer inquiry request. This is transmitted to the communication device 25 (S110).
[0066]
The responding communication device 25 obtains the peer response from the responding peer 24 by the P2P resource search unit 250, performs protocol conversion on the DNS resource inquiry response (S111), and transmits the DNS resource inquiry response to the P2P domain server 30. (S112).
[0067]
Upon acquiring the DNS resource inquiry response, the P2P domain server 30 refers to the destination IP address included in the TCP / IP header 111 of the DNS resource inquiry response to determine the global IP address of the inquiry-side communication device 15, and The response is forwarded to the inquiry-side communication device 15 (S113).
[0068]
When the inquiry-side communication device 15 receives the DNS resource inquiry response transmitted from the P2P domain server 30 via the wide area network 40, the DNS resource inquiry unit 150 converts the protocol into a peer inquiry response (S114). Then, the DNS resource inquiry unit 150 transmits a peer inquiry response to the inquiry side peer 12 that has made the inquiry about the peer resource, and returns a result of the resolution of the peer resource in the response side peer 24 (S115). This allows P2P communication between the inquiry-side peer 12 and the response-side peer 24. As a result, via the P2P communication, the inquiring peer 12 performs control such as directly obtaining the moving image file recorded by the responding peer 24 from the responding peer 24 and giving an operation instruction to the responding peer 24. can do.
[0069]
As described above, according to the first embodiment, by combining the static resource resolution by the directory service called DNS and the dynamic resource resolution by the P2P resource search unit, the peer name and the peer address are statically entered. Since the resources of the peers on the P2P network that have not been established can be solved, P2P communication can be realized at low cost without increasing the cost of adding an existing directory service.
[0070]
Further, by dynamically resolving resources on the P2P network, it is possible to ensure responsiveness to peer generation and disappearance.
In the first embodiment, when there is no peer to be a destination in the responding P2P network 20, that is, when any of the responding peers 21 to 24 in the responding P2P network is the destination of the peer response request. If the information included in the peer name 104 does not match its own peer name, the following processing procedure is performed.
[0071]
In this case, for example, if the information included in the destination peer name 104 of the peer response request does not match its own peer name by the P2P resource inquiry response unit 240, the responding peers 21 to 24 match. The response-side communication device 25 transmits a packet including information indicating that the packet has not been transmitted to the response-side communication device 25, and the response-side communication device 25 obtains the packet from all peers in the response-side P2P network 20 by the P2P resource search unit 250. In this case, a DNS resource non-response notifying that the peer resource could not be resolved is generated and transmitted to the P2P domain server 30.
[0072]
In addition, the responding communication device 25 includes a timer or the like in the P2P resource search unit 250, thereby measuring the elapse of a fixed time after transmitting the peer response request to the responding peers 21 to 24, and within this fixed time. If a peer response is not acquired, a DNS resource non-response may be generated and transmitted to the P2P domain server 30.
[0073]
(Embodiment 2)
Next, a peer resource solving system according to Embodiment 2 of the present invention will be described with reference to the drawings.
FIG. 6 is a functional block diagram of each component in the peer resource solving system 2 according to the second embodiment.
[0074]
Although the configuration of the peer resource resolution system 2 is substantially the same as the configuration of the peer resource resolution system 1 in the first embodiment, the presence of the predetermined firewall 26a in the responding P2P network 20a allows the P2P domain server 30a to Since the forwarded DNS resource inquiry request cannot directly access the response-side P2P network 20a, the resource inquiry relay server 50 is interposed between the response-side P2P network 20a and the P2P domain server 30a. Different from the form 1.
[0075]
Hereinafter, points different from the first embodiment will be mainly described. The same components as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted (hereinafter, the same applies to other drawings).
[0076]
As shown in FIG. 6, the responding P2P network 20a is composed of responding peers 21a to 24a, a responding communication device 25a, and a firewall 26a for preventing the responding P2P network 20a from being intruded from outside. .
[0077]
The firewall 26a is a processing device that monitors data flowing on a boundary between the responding P2P network 20a and another network, detects an unauthorized access to the responding communication device 25a, and cuts off the unauthorized access. The firewall 26a is realized by dedicated hardware, but may be realized by software mounted on the responding communication device 25a such as a broadband router. In the second embodiment, it is assumed that a DNS resource inquiry request forwarded from the P2P domain server 30a is blocked by the firewall 26a and cannot be passed.
[0078]
In the responding P2P network 20a, the responding communication device 25a includes a P2P resource searching unit 250a and a P2P resource registering unit 252a.
The P2P resource search unit 250a is substantially the same as the P2P resource search unit 250 in the first embodiment, but does not directly obtain the DNS resource inquiry request from the P2P domain server 30a but sends the DNS inquiry request to the resource inquiry relay server 50. This embodiment is different from the first embodiment in that a message for requesting storage information is transmitted and a DNS resource inquiry request is obtained from the resource relay server 50. Here, the message for requesting the storage information of the DNS resource inquiry request is information stored in a packet transmitted to the resource inquiry relay server 50, and stores the DNS resource inquiry request to the responding P2P network 20a. This is information for confirming whether or not it is stored, and requesting transmission to the responding communication device 25a if it is stored.
[0079]
The P2P resource registration unit 252a is a processing unit that registers, in the P2P domain server 30a, the resource inquiry relay server 50 that is a transfer destination of the DNS resource inquiry request to the response side P2P network 20a, and is mounted on the response side communication device 25a. It is realized by software or the like. The P2P resource registration unit 252a transmits information indicating the resource inquiry relay server 50 to the P2P domain server 30a when the responding communication device 25a is activated. Here, the information indicating the resource inquiry relay server 50 is a unique address or the like for the P2P domain server 30a to identify the resource inquiry relay server 50 to which the DNS resource inquiry request is transmitted, and the present embodiment 2 is the global IP address of the resource inquiry relay server 50.
[0080]
Further, the P2P domain server 30a includes a P2P domain name record 300a. The P2P domain name record 300a is a database recorded in a storage device such as a hard disk as in the first embodiment, but differs from the first embodiment in the recorded contents.
[0081]
FIG. 7 is a diagram showing a P2P domain name record 300a in the P2P domain server 30a in the peer resource solving system 2 according to the second embodiment.
[0082]
As shown in FIG. 7, the P2P domain name record 300a includes, in the P2P domain name column 301a, the domain name of the P2P domain that is provided with the directory service from the P2P domain server 30a, such as the responding P2P network 20a. Record. Then, in association with the P2P domain name column 301a, an address necessary to identify the resource inquiry relay server 50 to which the DNS resource inquiry is forwarded, that is, in the second embodiment, the address of the resource inquiry relay server 50 The global IP address is recorded in the IP address column 302a.
[0083]
Next, referring again to FIG. 6, looking at the data flow between the P2P domain server 30a and the responding P2P network 20a, the firewall 26a allows the P2P domain server 30a to freely access the responding P2P network 20a. Can not. Therefore, access from the P2P domain server 30a to the responding P2P network 20a is via the resource inquiry relay server 50.
[0084]
The resource inquiry relay server 50 is a server device interposed between the responding communication device 25a and the P2P domain server 30a, and includes an inquiry message holding unit 51 for temporarily storing a DNS resource inquiry request. The resource inquiry relay server 50 is realized by, for example, hardware such as a proxy server device or software such as a program stored in the server device.
[0085]
The inquiry message holding unit 51 is a storage device such as a hard disk that stores the DNS resource inquiry request acquired from the P2P domain server 30a.
[0086]
When the resource inquiry relay server 50 receives the message requesting the accumulated information of the DNS resource inquiry request from the P2P resource search unit 250a, the resource inquiry relay server 50 reads the DNS resource inquiry request from the inquiry message holding unit 51 holding the DNS resource inquiry request. , P2P resource search unit 250a.
[0087]
In the thus configured peer resource solving system according to the second embodiment, a process for solving a peer resource will be specifically described according to a procedure. Here, as an example, it is assumed that the querying peer 12 of the querying P2P network 10 uses a peer resource resolution process when establishing communication with the responding peer 24a of the responding P2P network 20a. The domain name of the query side P2P network 10 is “xyz.p2p”, the domain name of the response side P2P network 20a is “def.p2p”, and the peer name of the query side peer 12 is It is assumed that "HDVIDEO" and the peer name of the responding peer 24a is "DVCamera".
[0088]
FIG. 8 is a sequence diagram illustrating a processing procedure of the peer resource resolution in the peer resource resolution system 2 according to the second embodiment.
First, in the responding communication device 25a in the responding P2P network 20a, the P2P resource registration unit 252a registers the resource inquiry relay server 50 as a P2P domain name server in the P2P domain server 30a at the time of startup (S200). Specifically, this entry registration is performed by registering the domain name “def.p2p” of the responding P2P network 20a and an address necessary to identify the resource inquiry relay server 50, that is, the global address of the resource inquiry relay server 50. This is performed by transmitting a packet including information indicating the IP address to the P2P domain server 30a.
[0089]
When the P2P domain server 30a acquires a packet for registering the resource inquiry relay server 50 from the responding communication device 25a, the P2P domain server 30a analyzes the information included in the packet and determines the domain name “def.p2p” of the responding P2P network 20a. Is associated with the global IP address of the resource inquiry relay server 50 and stored in the P2P domain name column 301a and the resource inquiry relay server IP address column 302a of the P2P domain name record 300a, and the P2P domain name record 300a is updated. (S201).
[0090]
Here, when the communication from the inquiry-side peer 12 to the response-side peer 24a is to be established, the same processing as that of the first embodiment is performed in the inquiry-side network 10. Although not shown in the drawing, the inquiry-side peer 12 generates a peer inquiry request that specifies the peer name “DVcamera” and the P2P domain name “def.p2p” of the response-side peer 24a, and sends the request to the inquiry-side communication device 15. Then, the query communication device 15 performs protocol conversion of the peer query request into a DNS resource query request and transmits the request to the domain server of the query P2P network 10. Note that these processes correspond to the processes in S102 and S103 shown in FIG.
[0091]
When the P2P domain server 30a acquires the DNS resource inquiry request via the hierarchically arranged DNS server group on the wide area network 40 (S204), the information included in the DNS resource 115 inquiry DNS resource inquiry request is provided. Is analyzed, and the P2P domain name column 301a of the P2P domain name record 300a stored therein is referred to (S205). At this time, in the inquiry DNS resource 115 of the DNS resource inquiry request, the domain name “def.p2p” of the responding P2P network 20a exists in the P2P domain name column 301a, so the P2P domain server 30a sends “def.p2p”. The global IP address of the resource inquiry relay server 50 associated with "" is read, and a DNS resource inquiry request is forwarded to this address (S206).
[0092]
Upon acquiring the DNS resource inquiry request forwarded from the P2P domain server 30a, the resource inquiry relay server 50 stores the DNS resource inquiry request in the inquiry message holding unit 51 provided inside the server, and holds the DNS resource inquiry request (S207).
[0093]
Here, in the responding communication device 25a, when the P2P resource search unit 250a transmits a message confirming the presence or absence of the DNS resource inquiry request to the resource inquiry relay server 50 (S208), the resource inquiry relay server 50 makes the inquiry. With reference to the message holding unit 51, a DNS resource inquiry request is read and transmitted to the P2P resource search unit 250a (S209).
[0094]
Thereafter, in the responding communication device 25a, after the P2P resource searching unit 250a acquires the DNS resource inquiry request, the P2P resource searching unit 250a and the responding peers 21 to 24 perform the same processing as in the first embodiment, and The resource is resolved (S210). That is, when the P2P resource search unit 250a transmits a peer response request including the information “DVcamera” to the destination peer name 104 to the responding peer groups 21a to 24a, the responding peer 24a sends the P2P resource inquiry response unit 240a Generates a peer response in order to resolve the peer resource by performing name resolution from its peer name to the peer address, and to return the result of the resolution of the peer resource to the inquiring peer 12 that is the source of the peer inquiry request. I do.
[0095]
Then, the responding communication device 25a acquires the peer response generated by the responding peer 24a, converts the protocol into a DNS resource inquiry response by the P2P resource searching unit 250a, and transmits the protocol response to the P2P domain server 30a (S211). . Upon acquiring the DNS resource inquiry response, the P2P domain server 30a determines the global IP address of the inquiry communication device 15 and forwards the DNS resource inquiry response to the inquiry communication device 15 as in the first embodiment (S212). Finally, the inquiry-side communication device 15 returns the result of the resolution of the peer resource to the inquiry-side peer 12, so that P2P communication between the inquiry-side peer 12 and the response-side peer 24a becomes possible. .
[0096]
As described above, according to the second embodiment, by interposing the resource inquiry relay server between the P2P domain server and the responding P2P network, the firewall exists in the responding P2P network, Even when the communication with the side P2p network is restricted, the same effects as in the first embodiment can be obtained.
[0097]
As described above, the peer resource solving system according to the present invention has been described based on the embodiments, but the present invention is not limited to these embodiments.
[0098]
For example, in each of the above embodiments, the DNS resource inquiry unit in the inquiry side P2P network is realized by software implemented in the inquiry side communication device such as a broadband router, but is installed in a PC (Personal Computer). It may be realized by implemented software. Similarly, the P2P resource search unit and the P2P resource registration unit in the responding P2P network are realized by software installed in the responding communication device such as a broadband router, but are realized by software installed in the PC. May be performed.
[0099]
Further, in each of the above embodiments, the P2P resource search unit and the P2P resource registration unit are provided in the same device. However, the present invention is not limited to this. And a communication device such as a broadband router may include a P2P resource registration unit. Furthermore, the PC or the communication device may include a P2P resource registration and search unit in which the P2P resource search unit and the P2P resource registration unit are integrated.
[0100]
Further, in each of the above embodiments, the domain server that provides the directory service to the querying P2P network is different from the P2P domain server that provides the directory service to the responding P2P network. Similarly to the side P2P network, a directory service may be provided from a P2P domain server. In this case, it goes without saying that the DNS resource inquiry request is transmitted directly from the inquiry-side communication device to the P2P domain server without passing through the wide area network.
[0101]
Also, in the first embodiment, unlike the second embodiment, there is no firewall in the responding P2P network. However, this is not intended to exclude the firewall. For example, a DNS resource inquiry sent from a P2P domain server is not sent. There may be a firewall that uses packet filtering that specifies a port number that is allowed to pass requests.
[0102]
Further, in the second embodiment, the cache memory in the response-side P2P resource search unit is not described, but the response-side P2P resource search unit may include a cache memory as in the first embodiment.
[0103]
In each of the above embodiments, as a solution of the peer resource, it is exemplified that the peer address is derived from the peer name in order to establish the peer-to-peer communication. It may be used for resource resolution such as deriving capacity.
[0104]
【The invention's effect】
As described above, a peer resource solving system according to the present invention provides a resource indicating one attribute of a peer terminal in peer-to-peer communication between a first peer terminal in a first network and a second peer terminal in a second network. A peer resource resolution system for deriving resource resolution information indicating other attributes of said peer terminal from information, said peer resource resolution system being connected to said first network for deriving said resource resolution information for said resource information about said second peer terminal. A resource inquiry device that makes an inquiry, and a resource search device that is connected to the second network and searches for the second peer terminal based on the resource information about the second peer, and returns a search result to the resource inquiry device And the first network and the second network Is connected to a third network that mediates, and a domain server which provides a predetermined directory service to the second network.
[0105]
Here, as one embodiment of the present invention, the first peer terminal transmits an inquiry message indicating an inquiry about the resource information to the resource inquiry device according to a predetermined first protocol; Response message receiving means for receiving, from the resource inquiry device, a response message including the resource resolution information on the second peer terminal according to the first protocol, wherein the resource inquiry device is configured to execute the first Resource inquiry means for transmitting the inquiry message received from the peer terminal to the resource search device according to a second protocol for performing communication with the domain server; and a resource inquiry device transmitted from the resource search device according to the second protocol. The response message Receiving a di-, and a response message forwarding unit configured to transmit the response message to the first peer terminal in accordance with the first protocol.
[0106]
As another embodiment of the present invention, the resource search device receives an inquiry message indicating that the inquiry is about the resource information transmitted from the resource inquiry device according to the second protocol, and the inquiry message Resource search means for transmitting to the second peer terminal according to the first protocol, and a response message containing the resource resolution information on the second peer terminal received from the second peer terminal according to the first protocol, Resource response transmission means for transmitting to the resource inquiry device according to the two protocols, wherein the second peer terminal receives the inquiry message transmitted from the resource search device according to the first protocol. And the received inquiry message Resource resolution means for analyzing the resource information included in the message and deriving the resource resolution information, and response message transmission means for generating the response message including the resource resolution information and transmitting the response message to the resource search device according to the first protocol And
[0107]
Further, as still another embodiment of the present invention, a combination of the above two embodiments may be provided. Here, the domain server is configured to transmit the predetermined directory service from the resource inquiry device according to the second protocol. The transmitted inquiry message is transferred to the resource search device, and the response message transmitted from the resource search device is transferred to the resource inquiry device.
[0108]
As a result, the resources of the peer on the P2P network can be resolved without performing static entry registration of the peer, and P2P communication can be established without adding an existing directory service system.
[0109]
Further, it is possible to exhibit excellent followability with respect to generation and disappearance of a peer, and it is possible to shorten a time for responding to a peer inquiry.
Furthermore, since the existing directory service can be used, the system can be operated even without the network management technology of server management, and can be easily introduced to, for example, a home LAN. Can be.
[Brief description of the drawings]
FIG. 1 is a diagram showing an overall configuration of a peer resource solving system according to Embodiment 1 of the present invention.
FIG. 2 is a functional block diagram of each component in the peer resource solving system according to Embodiment 1 of the present invention.
FIG. 3 is a diagram schematically illustrating a protocol conversion process in the peer resource solving system according to the first embodiment of the present invention.
FIG. 4 is a diagram showing a P2P domain name record in a P2P domain server in the peer resource solving system according to the first embodiment of the present invention.
FIG. 5 is a sequence diagram showing a processing procedure of peer resource resolution in the peer resource resolution system according to Embodiment 1 of the present invention.
FIG. 6 is a functional block diagram of each component in a peer resource solving system according to Embodiment 2 of the present invention.
FIG. 7 is a diagram showing a P2P domain name record in a P2P domain server in the peer resource solving system according to Embodiment 2 of the present invention.
FIG. 8 is a sequence diagram showing a processing procedure of peer resource resolution in the peer resource resolution system according to Embodiment 2 of the present invention.
[Explanation of symbols]
10 Inquiry P2P network
11, 12, 13, 14 Querying peer
15 Inquiring communication device
20, 20a Responder P2P network
20b P2P network
21, 21a, 22, 22a, 23, 23a, 24, 24a Responding peer
25, 25a Responding communication device
26a firewall
30 P2P domain server
40 Wide area network
50 Resource inquiry relay server
51 Inquiry Message Holder
100 P2P network protocol
101 P2P header
102 P2P data
103 P2P message type
104 Destination peer name
105 Destination P2P domain name
106 Source peer address
107 Source peer name
110 TCP / IP protocol
111 TCP / IP header
112 TCP / IP data
113 DNS inquiry
114 DNS Message Header
115 Inquiry DNS resource
116 DNS Resource Response
120 P2P resource inquiry section
150 DNS resource inquiry section
240, 240a P2P resource inquiry response unit
250, 250a P2P resource search unit
251 cache memory
252, 252a P2P resource registration unit
300, 300a P2P domain name record
301, 301a P2P domain name string
302 IP address column
302a Resource relay server IP address column

Claims (17)

第1ネットワーク内における第1ピア端末と第2ネットワーク内における第2ピア端末とのピアツーピア通信において、ピア端末の一の属性を示すリソース情報から前記ピア端末の他の属性を示すリソース解決情報を導き出すピアリソース解決システムであって、
前記第1ネットワークに接続され、前記第2ピア端末に関する前記リソース情報について前記リソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、
前記第2ネットワークに接続され、前記第2ピア端末に関する前記リソース情報に基づいて前記第2ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、
前記第1ネットワークと前記第2ネットワークとを仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備え、
前記第1ピア端末は、
前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信手段と、
前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信手段とを備え、
前記リソース問合せ装置は、
前記第1プロトコルに従って前記第1ピア端末から受信した前記問合せメッセージを、前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せ手段と、
前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送手段とを備える
ことを特徴とするピアリソース解決システム。
In peer-to-peer communication between a first peer terminal in a first network and a second peer terminal in a second network, resource resolution information indicating another attribute of the peer terminal is derived from resource information indicating one attribute of the peer terminal. A peer resource resolution system,
A resource inquiry device connected to the first network and inquiring to derive the resource solution information for the resource information on the second peer terminal;
A resource search device connected to the second network, searching for the second peer terminal based on the resource information about the second peer terminal, and returning a search result to the resource inquiry device;
A domain server that is connected to a third network that mediates between the first network and the second network and that provides a predetermined directory service to the second network;
The first peer terminal,
Inquiry message transmitting means for transmitting an inquiry message indicating that the inquiry is about the resource information to the resource inquiry device according to a predetermined first protocol;
Response message receiving means for receiving a response message including the resource resolution information regarding the second peer terminal from the resource inquiry device according to the first protocol,
The resource inquiry device,
Resource inquiry means for transmitting the inquiry message received from the first peer terminal according to the first protocol to the resource search device according to a second protocol for communicating with the domain server;
A response message forwarding unit that receives the response message transmitted from the resource search device according to the second protocol, and transmits the response message to the first peer terminal according to the first protocol. Resource resolution system.
第1ネットワーク内における第1ピア端末と第2ネットワーク内における第2ピア端末とのピアツーピア通信において、ピア端末の一の属性を示すリソース情報から前記ピア端末の他の属性を示すリソース解決情報を導き出すピアリソース解決システムであって、
前記第1ネットワークに接続され、前記第2ピア端末に関する前記リソース情報について前記リソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、
前記第2ネットワークに接続され、前記第2ピア端末に関する前記リソース情報に基づいて前記第2ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、
前記第1ネットワークと前記第2ネットワークとを仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備え、
前記リソース検索装置は、
前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース問合せ装置から送信された前記リソース情報についての問い合わせであることを示す問合せメッセージを受信し、当該問合せメッセージを所定の第1プロトコルに従って前記第2ピア端末に送信するリソース検索手段と、
前記第1プロトコルに従って前記第2ピア端末から受信した前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信手段とを備え、
前記第2ピア端末は、
前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信手段と、
前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決手段と、
前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信手段とを備える
ことを特徴とするピアリソース解決システム。
In peer-to-peer communication between a first peer terminal in a first network and a second peer terminal in a second network, resource resolution information indicating another attribute of the peer terminal is derived from resource information indicating one attribute of the peer terminal. A peer resource resolution system,
A resource inquiry device connected to the first network and inquiring to derive the resource solution information for the resource information on the second peer terminal;
A resource search device connected to the second network, searching for the second peer terminal based on the resource information about the second peer terminal, and returning a search result to the resource inquiry device;
A domain server that is connected to a third network that mediates between the first network and the second network and that provides a predetermined directory service to the second network;
The resource search device,
Receiving an inquiry message indicating that the inquiry is about the resource information transmitted from the resource inquiry device according to a second protocol for performing communication with the domain server; 2 resource search means for transmitting to the peer terminal;
Resource response transmission means for transmitting a response message including the resource resolution information on the second peer terminal received from the second peer terminal according to the first protocol to the resource inquiry device according to the second protocol,
The second peer terminal,
Inquiry message receiving means for receiving the inquiry message transmitted from the resource search device according to the first protocol;
Resource resolution means for analyzing the resource information included in the received inquiry message and deriving the resource resolution information,
Response message transmitting means for generating the response message including the resource resolution information and transmitting the response message to the resource search device according to the first protocol.
第1ネットワーク内における第1ピア端末と第2ネットワーク内における第2ピア端末とのピアツーピア通信において、ピア端末の一の属性を示すリソース情報から前記ピア端末の他の属性を示すリソース解決情報を導き出すピアリソース解決システムであって、
前記第1ネットワークに接続され、前記第2ピア端末に関するリソース情報について前記リソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、
前記第2ネットワークに接続され、前記第2ピア端末に関する前記リソース情報に基づいて前記第2ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、
前記第1ネットワークと前記第2ネットワークとを仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備え、
前記第1ピア端末は、
前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信手段と、
前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信手段とを備え、
前記リソース問合せ装置は、
前記第1プロトコルに従って前記第1ピア端末から受信した前記問合せメッセージを、前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せ手段と、
前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送手段とを備え、
前記リソース検索装置は、
前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを受信し、当該問合せメッセージを前記第1プロトコルに従って前記第2ピア端末に送信するリソース検索手段と、
前記第1プロトコルに従って前記第2ピア端末から受信した前記応答メッセージを、前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信手段とを備え、
前記第2ピア端末は、
前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信手段と、
前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決手段と、
前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信手段とを備え、
前記ドメインサーバは、
前記所定のディレクトリサービスにより、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送し、また、リソース検索装置から送信された前記応答メッセージを前記リソース問合せ装置に転送する
ことを特徴とするピアリソース解決システム。
In peer-to-peer communication between a first peer terminal in a first network and a second peer terminal in a second network, resource resolution information indicating another attribute of the peer terminal is derived from resource information indicating one attribute of the peer terminal. A peer resource resolution system,
A resource inquiry device connected to the first network and inquiring to derive the resource solution information for resource information on the second peer terminal;
A resource search device connected to the second network, searching for the second peer terminal based on the resource information about the second peer terminal, and returning a search result to the resource inquiry device;
A domain server that is connected to a third network that mediates between the first network and the second network and that provides a predetermined directory service to the second network;
The first peer terminal,
Inquiry message transmitting means for transmitting an inquiry message indicating that the inquiry is about the resource information to the resource inquiry device according to a predetermined first protocol;
Response message receiving means for receiving a response message including the resource resolution information regarding the second peer terminal from the resource inquiry device according to the first protocol,
The resource inquiry device,
Resource inquiry means for transmitting the inquiry message received from the first peer terminal according to the first protocol to the resource search device according to a second protocol for communicating with the domain server;
Response message forwarding means for receiving the response message transmitted from the resource search device according to the second protocol, and transmitting the response message to the first peer terminal according to the first protocol;
The resource search device,
Resource search means for receiving the inquiry message transmitted from the resource inquiry device according to the second protocol, and transmitting the inquiry message to the second peer terminal according to the first protocol;
Resource response transmission means for transmitting the response message received from the second peer terminal according to the first protocol to the resource inquiry device according to the second protocol,
The second peer terminal,
Inquiry message receiving means for receiving the inquiry message transmitted from the resource search device according to the first protocol;
Resource resolution means for analyzing the resource information included in the received inquiry message and deriving the resource resolution information,
Response message transmitting means for generating the response message including the resource resolution information, and transmitting the response message to the resource search device according to the first protocol,
The domain server,
The predetermined directory service transfers the inquiry message transmitted from the resource inquiry device to the resource search device according to the second protocol, and sends the response message transmitted from the resource search device to the resource inquiry device. A peer resource resolution system characterized by forwarding.
前記ピアリソース解決システムは、さらに、
前記第2ネットワークに接続され、前記リソース検索手段を前記ドメインサーバに登録するためのリソース登録装置を備え、
前記リソース登録装置は、
当該リソース登録装置の起動時に前記リソース検索手段を示す情報を前記ドメインサーバが保持するレコードに登録するリソース登録手段を備え、
前記ドメインサーバは、
前記リソース登録手段によって前記レコードに登録された前記リソース検索手段を示す情報に基づいて、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送する
ことを特徴とする請求項2または3記載のピアリソース解決システム。
The peer resource resolution system further comprises:
A resource registration device connected to the second network for registering the resource search means with the domain server;
The resource registration device,
A resource registration unit that registers information indicating the resource search unit in a record held by the domain server when the resource registration device is activated,
The domain server,
Transferring the inquiry message transmitted from the resource inquiry device to the resource search device according to the second protocol, based on the information indicating the resource search device registered in the record by the resource registration device. 4. The peer resource resolution system according to claim 2, wherein
前記リソース検索装置は、さらに、
前記第1プロトコルに従って前記第2ピア端末から受信した前記応答メッセージを一時的に保持するキャッシュ手段を備え、
前記リソース検索手段は、
前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージが、前記キャッシュ手段に保持されている第2ピア端末と同一のピア端末のリソース情報についての問い合わせであることを示す情報を含むか否かを解析し、前記情報を含む場合には前記応答メッセージを前記リソース応答送信手段に出力し、前記情報を含まない場合には前記問合せメッセージを前記第1プロトコルに従って前記第2ピア端末に送信し、
前記リソース応答送信手段は、
前記リソース検索手段から前記応答メッセージを取得した場合に、当該応答メッセージを前記第2プロトコルに従って前記リソース問合せ装置に向けて送信する
ことを特徴とする請求項2〜4のいずれか1項に記載のピアリソース解決システム。
The resource search device further includes:
Cache means for temporarily holding the response message received from the second peer terminal according to the first protocol,
The resource search means,
Does the inquiry message transmitted from the resource inquiry device according to the second protocol include information indicating that the inquiry message is an inquiry about resource information of the same peer terminal as the second peer terminal held in the cache unit? Analyzing whether or not the information includes the information, outputs the response message to the resource response transmitting unit, and if not including the information, transmits the inquiry message to the second peer terminal according to the first protocol And
The resource response transmitting means,
The method according to any one of claims 2 to 4, wherein, when the response message is obtained from the resource search unit, the response message is transmitted to the resource inquiry device according to the second protocol. Peer resource resolution system.
前記ピアリソース解決システムは、さらに、
前記ドメインサーバと前記第2ネットワークとの間における第3ネットワークに接続されたリソース問い合わせ中継サーバを備え、
前記ドメインサーバは、
前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース問い合わせ中継サーバに転送し、
前記リソース問い合わせ中継サーバは、
前記ドメインサーバから受信した前記問合せメッセージを一時的に保留し、所定の条件に従って前記リソース検索装置に当該問合せメッセージを送信するプロキシ手段を備える
ことを特徴とする請求項1〜5のいずれか1項に記載のピアリソース解決システム。
The peer resource resolution system further comprises:
A resource inquiry relay server connected to a third network between the domain server and the second network;
The domain server,
Transferring the inquiry message transmitted from the resource inquiry device to the resource inquiry relay server according to the second protocol,
The resource inquiry relay server,
6. The server according to claim 1, further comprising a proxy unit that temporarily holds the inquiry message received from the domain server and transmits the inquiry message to the resource search device according to a predetermined condition. A peer resource resolution system according to claim 1.
前記リソース登録手段は、
前記リソース登録装置の起動時に前記プロキシ手段を示す情報を前記ドメインサーバが保持するレコードに登録し、
前記第2ドメインサーバは、
前記リソース登録手段によって前記レコードに登録された前記プロキシ手段を示す情報に基づいて、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース問い合わせ中継サーバに転送する
ことを特徴とする請求項6記載のピアリソース解決システム。
The resource registration means,
Registering information indicating the proxy means in a record held by the domain server when starting the resource registration device,
The second domain server comprises:
Transferring the inquiry message transmitted from the resource inquiry device according to the second protocol to the resource inquiry relay server based on the information indicating the proxy unit registered in the record by the resource registration unit. 7. The peer resource resolution system according to claim 6, wherein:
前記ピアリソース解決システムは、
前記リソース検索装置と前記リソース登録装置とを一体としたリソース登録検索装置を備える
ことを特徴とする請求項4〜7のいずれか1項に記載のピアリソース解決システム。
The peer resource resolution system comprises:
The peer resource solving system according to any one of claims 4 to 7, further comprising a resource registration and search device that integrates the resource search device and the resource registration device.
第1ネットワークに接続され、ピア端末の一の属性を示すリソース情報について前記ピア端末の他の属性を示すリソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、第2ネットワークに接続され、前記リソース情報に基づいて前記ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとの間を仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとから構成され、前記第1ネットワークに接続された第1ピア端末と前記第2ネットワークに接続された第2ピア端末とのピアツーピア通信におけるピアリソース解決システムのリソース問合せ装置であって、
前記第1ピア端末は、
前記第2ピア端末に関する前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信手段と、
前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信手段とを備え、
前記リソース問合せ装置は、
前記第1プロトコルに従って前記第1ピア端末から受信した前記問合せメッセージを、前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せ手段と、
前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送手段とを備え、
前記リソース検索装置は、
前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを受信し、当該問合せメッセージを前記第1プロトコルに従って前記第2ピア端末に送信するリソース検索手段と、
前記第1プロトコルに従って前記第2ピア端末から受信した前記応答メッセージを、前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信手段とを備え、
前記第2ピア端末は、
前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信手段と、
前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決手段と、
前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信手段とを備え、
前記ドメインサーバは、
前記所定のディレクトリサービスにより、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送し、また、リソース検索装置から送信された前記応答メッセージを前記リソース問合せ装置に転送する
ことを特徴とするリソース問合せ装置。
A resource inquiry device connected to the first network and inquiring about resource information indicating one attribute of the peer terminal to derive resource resolution information indicating another attribute of the peer terminal; and A resource search device that searches for the peer terminal based on resource information and returns a search result to the resource inquiry device; and a third network that mediates between the first network and the second network, A domain server that provides a predetermined directory service to the second network, and a peer in peer-to-peer communication between a first peer terminal connected to the first network and a second peer terminal connected to the second network A resource inquiry device of a resource resolution system,
The first peer terminal,
Inquiry message transmitting means for transmitting an inquiry message indicating an inquiry about the resource information regarding the second peer terminal to the resource inquiry device according to a predetermined first protocol;
Response message receiving means for receiving a response message including the resource resolution information regarding the second peer terminal from the resource inquiry device according to the first protocol,
The resource inquiry device,
Resource inquiry means for transmitting the inquiry message received from the first peer terminal according to the first protocol to the resource search device according to a second protocol for communicating with the domain server;
Response message forwarding means for receiving the response message transmitted from the resource search device according to the second protocol, and transmitting the response message to the first peer terminal according to the first protocol;
The resource search device,
Resource search means for receiving the inquiry message transmitted from the resource inquiry device according to the second protocol, and transmitting the inquiry message to the second peer terminal according to the first protocol;
Resource response transmission means for transmitting the response message received from the second peer terminal according to the first protocol to the resource inquiry device according to the second protocol,
The second peer terminal,
Inquiry message receiving means for receiving the inquiry message transmitted from the resource search device according to the first protocol;
Resource resolution means for analyzing the resource information included in the received inquiry message and deriving the resource resolution information,
Response message transmitting means for generating the response message including the resource resolution information, and transmitting the response message to the resource search device according to the first protocol,
The domain server,
The predetermined directory service transfers the inquiry message transmitted from the resource inquiry device to the resource search device according to the second protocol, and sends the response message transmitted from the resource search device to the resource inquiry device. A resource inquiry device characterized by transferring.
第1ネットワークに接続され、ピア端末の一の属性を示すリソース情報について前記ピア端末の他の属性を示すリソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、第2ネットワークに接続され、前記リソース情報に基づいて前記ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとの間を仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとから構成され、前記第1ネットワークに接続された第1ピア端末と前記第2ネットワークに接続された第2ピア端末とのピアツーピア通信におけるピアリソース解決システムのリソース検索装置であって、
前記第1ピア端末は、
前記第2ピア端末に関する前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信手段と、
前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信手段とを備え、
前記リソース問合せ装置は、
前記第1プロトコルに従って前記第1ピア端末から受信した前記問合せメッセージを、前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せ手段と、
前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送手段とを備え、
前記リソース検索装置は、
前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを受信し、当該問合せメッセージを前記第1プロトコルに従って前記第2ピア端末に送信するリソース検索手段と、
前記第1プロトコルに従って前記第2ピア端末から受信した前記応答メッセージを、前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信手段とを備え、
前記第2ピア端末は、
前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信手段と、
前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決手段と、
前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信手段とを備え、
前記ドメインサーバは、
前記所定のディレクトリサービスにより、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送し、また、リソース検索装置から送信された前記応答メッセージを前記リソース問合せ装置に転送する
ことを特徴とするリソース検索装置。
A resource inquiry device connected to the first network and inquiring about resource information indicating one attribute of the peer terminal to derive resource resolution information indicating another attribute of the peer terminal; and A resource search device that searches for the peer terminal based on resource information and returns a search result to the resource inquiry device; and a third network that mediates between the first network and the second network, A domain server that provides a predetermined directory service to the second network, and a peer in peer-to-peer communication between a first peer terminal connected to the first network and a second peer terminal connected to the second network A resource search device of a resource resolution system,
The first peer terminal,
Inquiry message transmitting means for transmitting an inquiry message indicating an inquiry about the resource information regarding the second peer terminal to the resource inquiry device according to a predetermined first protocol;
Response message receiving means for receiving a response message including the resource resolution information regarding the second peer terminal from the resource inquiry device according to the first protocol,
The resource inquiry device,
Resource inquiry means for transmitting the inquiry message received from the first peer terminal according to the first protocol to the resource search device according to a second protocol for communicating with the domain server;
Response message forwarding means for receiving the response message transmitted from the resource search device according to the second protocol, and transmitting the response message to the first peer terminal according to the first protocol;
The resource search device,
Resource search means for receiving the inquiry message transmitted from the resource inquiry device according to the second protocol, and transmitting the inquiry message to the second peer terminal according to the first protocol;
Resource response transmission means for transmitting the response message received from the second peer terminal according to the first protocol to the resource inquiry device according to the second protocol,
The second peer terminal,
Inquiry message receiving means for receiving the inquiry message transmitted from the resource search device according to the first protocol;
Resource resolution means for analyzing the resource information included in the received inquiry message and deriving the resource resolution information,
Response message transmitting means for generating the response message including the resource resolution information, and transmitting the response message to the resource search device according to the first protocol,
The domain server,
The predetermined directory service transfers the inquiry message transmitted from the resource inquiry device to the resource search device according to the second protocol, and sends the response message transmitted from the resource search device to the resource inquiry device. A resource search device for transferring.
第1ネットワークに接続され、ピア端末の一の属性を示すリソース情報について前記ピア端末の他の属性を示すリソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、第2ネットワークに接続され、前記リソース情報に基づいて前記ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとの間を仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備え、前記第1ネットワークに接続された第1ピア端末と前記第2ネットワークに接続された第2ピア端末とのピアツーピア通信において、前記ピア端末の前記リソース情報から前記ピア端末の前記リソース解決情報を導き出すピアリソース解決システムにおけるピアリソース解決方法であって、
前記第1ピア端末において、
前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信ステップと、
前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信ステップとを含み、
前記リソース問合せ装置において、
前記第1プロトコルに従って前記第1ピア端末から送信された前記問合せメッセージを受信し、当該問合せメッセージを前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース検索装置に向けて送信するリソース問合せステップと、
前記第2プロトコルに従って前記リソース検索装置から送信された前記応答メッセージを受信し、当該応答メッセージを前記第1プロトコルに従って前記第1ピア端末に送信する応答メッセージ回送ステップとを含む
ことを特徴とするピアリソース解決方法。
A resource inquiry device connected to the first network and inquiring about resource information indicating one attribute of the peer terminal to derive resource resolution information indicating another attribute of the peer terminal; and A resource search device that searches for the peer terminal based on resource information and returns a search result to the resource inquiry device; and a third network that mediates between the first network and the second network, A domain server that provides a predetermined directory service to the second network, wherein in peer-to-peer communication between a first peer terminal connected to the first network and a second peer terminal connected to the second network, Solving the resource of the peer terminal from the resource information of the peer terminal A peer resource solution in a peer resource resolution system to derive the distribution,
In the first peer terminal,
An inquiry message transmitting step of transmitting an inquiry message indicating the inquiry about the resource information to the resource inquiry device according to a predetermined first protocol;
Receiving a response message including the resource resolution information regarding the second peer terminal from the resource inquiry device according to the first protocol,
In the resource inquiry device,
A resource inquiry step of receiving the inquiry message transmitted from the first peer terminal according to the first protocol, and transmitting the inquiry message to the resource search device according to a second protocol for communicating with the domain server; When,
A response message forwarding step of receiving the response message transmitted from the resource search device according to the second protocol, and transmitting the response message to the first peer terminal according to the first protocol. Resource resolution.
第1ネットワークに接続され、ピア端末の一の属性を示すリソース情報について前記ピア端末の他の属性を示すリソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、第2ネットワークに接続され、前記リソース情報に基づいて前記ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとの間を仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備え、前記第1ネットワークに接続された第1ピア端末と前記第2ネットワークに接続された第2ピア端末とのピアツーピア通信において、前記ピア端末の前記リソース情報から前記ピア端末の前記リソース解決情報を導き出すピアリソース解決システムにおけるピアリソース解決方法であって、
前記リソース検索装置において、
前記ドメインサーバと通信を行なうための第2プロトコルに従って前記リソース問合せ装置から送信された前記リソース情報についての問い合わせであることを示す問合せメッセージを受信し、当該問合せメッセージを所定の第1プロトコルに従って前記第2ピア端末に送信するリソース検索ステップと、
前記第1プロトコルに従って前記第2ピア端末から受信した前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信ステップとを含み、
前記第2ピア端末において、
前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信ステップと、
前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決ステップと、
前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信ステップとを含む
ことを特徴とするピアリソース解決方法。
A resource inquiry device connected to the first network and inquiring about resource information indicating one attribute of the peer terminal to derive resource resolution information indicating another attribute of the peer terminal; and A resource search device that searches for the peer terminal based on resource information and returns a search result to the resource inquiry device; and a third network that mediates between the first network and the second network, A domain server that provides a predetermined directory service to the second network, wherein in peer-to-peer communication between a first peer terminal connected to the first network and a second peer terminal connected to the second network, Solving the resource of the peer terminal from the resource information of the peer terminal A peer resource solution in a peer resource resolution system to derive the distribution,
In the resource search device,
Receiving an inquiry message indicating that the inquiry is about the resource information transmitted from the resource inquiry device according to a second protocol for performing communication with the domain server, and transmitting the inquiry message according to a predetermined first protocol 2 a resource search step to send to the peer terminal;
Transmitting a response message including the resource resolution information on the second peer terminal received from the second peer terminal according to the first protocol to the resource inquiry device according to the second protocol,
In the second peer terminal,
An inquiry message receiving step of receiving the inquiry message transmitted from the resource search device according to the first protocol;
A resource resolution step of analyzing the resource information included in the received inquiry message to derive the resource resolution information,
Transmitting a response message including the resource resolution information and transmitting the response message to the resource search device according to the first protocol.
第1ネットワークに接続され、ピア端末の一の属性を示すリソース情報について前記ピア端末の他の属性を示すリソース解決情報を導き出すための問い合わせを行なうリソース問合せ装置と、第2ネットワークに接続され、前記リソース情報に基づいて前記ピア端末を検索し、その検索結果を前記リソース問合せ装置に返信するリソース検索装置と、前記第1ネットワークと前記第2ネットワークとの間を仲介する第3ネットワークに接続され、前記第2ネットワークに所定のディレクトリサービスを提供するドメインサーバとを備え、前記第1ネットワークに接続された第1ピア端末と前記第2ネットワークに接続された第2ピア端末とのピアツーピア通信において、前記ピア端末の前記リソース情報から前記ピア端末の前記リソース解決情報を導き出すピアリソース解決システムにおけるピアリソース解決方法であって、
前記第1ピア端末において、
前記リソース情報についての問い合わせであることを示す問合せメッセージを所定の第1プロトコルに従って前記リソース問合せ装置に送信する問合せメッセージ送信ステップと、
前記第2ピア端末に関する前記リソース解決情報を含む応答メッセージを前記第1プロトコルに従って前記リソース問合せ装置から受信する応答メッセージ受信ステップとを含み、
前記リソース検索装置において、
前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを受信し、当該問合せメッセージを所定の第1プロトコルに従って前記第2ピア端末に送信するリソース検索ステップと、
前記第1プロトコルに従って前記第2ピア端末から受信した前記応答メッセージを前記第2プロトコルに従って前記リソース問合せ装置に向けて送信するリソース応答送信ステップとを含み、
前記第2ピア端末において、
前記第1プロトコルに従って前記リソース検索装置から送信された前記問合せメッセージを受信する問合せメッセージ受信ステップと、
前記受信した問合せメッセージに含まれる前記リソース情報を解析し前記リソース解決情報を導き出すリソース解決ステップと、
前記リソース解決情報を含む前記応答メッセージを生成し、前記第1プロトコルに従って前記リソース検索装置に送信する応答メッセージ送信ステップとを含み、
前記ドメインサーバにおいて、
前記所定のディレクトリサービスにより、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送し、また、リソース検索装置から送信された前記応答メッセージを前記リソース問合せ装置に転送する
ことを特徴とするピアリソース解決方法。
A resource inquiry device connected to the first network and inquiring about resource information indicating one attribute of the peer terminal to derive resource resolution information indicating another attribute of the peer terminal; and A resource search device that searches for the peer terminal based on resource information and returns a search result to the resource inquiry device; and a third network that mediates between the first network and the second network, A domain server that provides a predetermined directory service to the second network, wherein in peer-to-peer communication between a first peer terminal connected to the first network and a second peer terminal connected to the second network, Solving the resource of the peer terminal from the resource information of the peer terminal A peer resource solution in a peer resource resolution system to derive the distribution,
In the first peer terminal,
An inquiry message transmitting step of transmitting an inquiry message indicating the inquiry about the resource information to the resource inquiry device according to a predetermined first protocol;
Receiving a response message including the resource resolution information regarding the second peer terminal from the resource inquiry device according to the first protocol,
In the resource search device,
A resource search step of receiving the inquiry message transmitted from the resource inquiry device according to the second protocol, and transmitting the inquiry message to the second peer terminal according to a predetermined first protocol;
Transmitting a response message received from the second peer terminal according to the first protocol to the resource inquiry device according to the second protocol,
In the second peer terminal,
An inquiry message receiving step of receiving the inquiry message transmitted from the resource search device according to the first protocol;
A resource resolution step of analyzing the resource information included in the received inquiry message to derive the resource resolution information,
Generating a response message including the resource resolution information, and transmitting the response message to the resource search device according to the first protocol,
In the domain server,
The predetermined directory service transfers the inquiry message transmitted from the resource inquiry device to the resource search device according to the second protocol, and transmits the response message transmitted from the resource search device to the resource inquiry device. A peer resource solving method characterized by transferring.
さらに、前記第2ネットワークに接続され、前記リソース検索装置を前記ドメインサーバに登録するためのリソース登録装置を備えるシステムにおけるピアリソースの解決方法であって、
前記リソース登録装置において、
当該リソース登録装置の起動時に前記リソース検索装置を示す情報を前記ドメインサーバが保持するレコードに登録するリソース登録ステップを含み、
前記ドメインサーバにおいて、
前記リソース登録ステップにおいて前記レコードに登録された前記リソース検索装置を示す情報に基づいて、前記第2プロトコルに従って前記リソース問合せ装置から送信された前記問合せメッセージを前記リソース検索装置に転送する
ことを特徴とする請求項12または13記載のピアリソース解決方法。
Furthermore, a method of solving a peer resource in a system connected to the second network and including a resource registration device for registering the resource search device with the domain server,
In the resource registration device,
Including a resource registration step of registering information indicating the resource search device in a record held by the domain server when starting the resource registration device,
In the domain server,
Transferring the inquiry message transmitted from the resource inquiry device according to the second protocol to the resource search device based on the information indicating the resource search device registered in the record in the resource registration step. 14. The peer resource solving method according to claim 12, wherein
リソース問い合わせ装置のためのプログラムであって、
請求項11または13記載のピアリソース解決方法におけるリソース問合せステップと応答メッセージ回送ステップとをコンピュータに実行させる
ことを特徴とするプログラム。
A program for a resource inquiry device,
14. A program for causing a computer to execute a resource inquiry step and a response message forwarding step in the peer resource solving method according to claim 11 or 13.
リソース検索装置のためのプログラムであって、
請求項12または13記載のピアリソース解決方法におけるリソース検索ステップとリソース応答送信ステップとをコンピュータに実行させる
ことを特徴とするプログラム。
A program for a resource search device,
14. A program for causing a computer to execute a resource search step and a resource response transmission step in the peer resource solving method according to claim 12 or 13.
リソース登録装置のためのプログラムであって、
請求項14記載のピアリソース解決方法におけるリソース登録ステップをコンピュータに実行させる
ことを特徴とするプログラム。
A program for a resource registration device,
15. A program for causing a computer to execute a resource registration step in the peer resource solving method according to claim 14.
JP2002352023A 2002-12-04 2002-12-04 System and method for solving pier resource Pending JP2004187034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002352023A JP2004187034A (en) 2002-12-04 2002-12-04 System and method for solving pier resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002352023A JP2004187034A (en) 2002-12-04 2002-12-04 System and method for solving pier resource

Publications (1)

Publication Number Publication Date
JP2004187034A true JP2004187034A (en) 2004-07-02

Family

ID=32753756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002352023A Pending JP2004187034A (en) 2002-12-04 2002-12-04 System and method for solving pier resource

Country Status (1)

Country Link
JP (1) JP2004187034A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006074722A (en) * 2004-08-06 2006-03-16 Matsushita Electric Ind Co Ltd Ip telephone apparatus, enum server and ip telephone system
JP2007013353A (en) * 2005-06-29 2007-01-18 Nec Corp Character/data transmission/reception system, terminal management equipment and character/data transmission/reception method to be used for the same and its program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006074722A (en) * 2004-08-06 2006-03-16 Matsushita Electric Ind Co Ltd Ip telephone apparatus, enum server and ip telephone system
US7751386B2 (en) 2004-08-06 2010-07-06 Panasonic Corporation IP telephone apparatus, ENUM server, IP telephone system and method for deleting terminal information
JP4603913B2 (en) * 2004-08-06 2010-12-22 パナソニック株式会社 IP telephone apparatus and IP telephone system
JP2007013353A (en) * 2005-06-29 2007-01-18 Nec Corp Character/data transmission/reception system, terminal management equipment and character/data transmission/reception method to be used for the same and its program
JP4595712B2 (en) * 2005-06-29 2010-12-08 日本電気株式会社 Character / data transmission / reception system, terminal management apparatus, character / data transmission / reception method used therefor, and program thereof

Similar Documents

Publication Publication Date Title
JP4159337B2 (en) How to resolve virtual network names
JP4729987B2 (en) Data management system and data server
US7840699B2 (en) Name resolution server and packet transfer device
JP5404766B2 (en) Method and system for requesting routing
JP3935459B2 (en) Content management apparatus, content management system, and content management program
JP2004312609A (en) Dynamic dns registration method, domain name solution method, proxy server, and address translation instrument
JPH1051449A (en) Mobile computer support system, its management server, its terminal equipment and address conversion method
JPWO2006067951A1 (en) Access control apparatus and access control method
JP2007072525A (en) Data server, data management method, and program
JP2003030079A (en) Contents sharing set and software program to be performed by devices constituting the same
JP2007108905A (en) File server, file providing method, and program
JP4524906B2 (en) Communication relay device, communication relay method, communication terminal device, and program storage medium
KR101416523B1 (en) Security system and operating method thereof
US10608981B2 (en) Name identification device, name identification method, and recording medium
US7440466B2 (en) Method, apparatus and system for accessing multiple nodes on a private network
JP2004199513A (en) Service retrieval device, service retrieving method, and client device
US7610403B2 (en) Device retrieving a name of a communications node in a communications network
EP2802108B1 (en) Data-centric communications system and data forwarding method
JP2004187034A (en) System and method for solving pier resource
JP6523768B2 (en) Name resolution device, name resolution method and name resolution program
JP3896361B2 (en) Communication path setting device, communication path setting method, and communication path setting program
JP2004363745A (en) Communication processor, server device, communication processing system and method, and computer program
JP2010130604A (en) System and method for searching dynamic gateway, and program
JP2009206876A (en) Service release system, communication repeater, and service release device
JP2005043938A (en) Access controller and its method