JP2004104357A - Network system and communication method, information processing apparatus and method therefor, as well as program - Google Patents
Network system and communication method, information processing apparatus and method therefor, as well as program Download PDFInfo
- Publication number
- JP2004104357A JP2004104357A JP2002262002A JP2002262002A JP2004104357A JP 2004104357 A JP2004104357 A JP 2004104357A JP 2002262002 A JP2002262002 A JP 2002262002A JP 2002262002 A JP2002262002 A JP 2002262002A JP 2004104357 A JP2004104357 A JP 2004104357A
- Authority
- JP
- Japan
- Prior art keywords
- information
- information processing
- unique
- communication control
- control device
- 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.)
- Granted
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、ネットワークシステムおよび通信方法、情報処理装置および方法、並びにプログラムに関し、特に、NAT機能を備えたルータを使用し、インターネットを介してストリーミング通信を行なうことができるようにした、ネットワークシステムおよび通信方法、情報処理装置および方法、並びにプログラムに関する。
【0002】
【従来の技術】
複数のコンピュータをインターネットに接続する場合、各コンピュータを、ルータを介してインターネットに接続することが多い。このルータには、1つのグローバルIP(Internet Protocol)アドレス(固有の情報であるグローバルIPアドレス)を複数のコンピュータで共有する技術であるNAT(Network AddressTranslation)が使用されているものがある。
【0003】
NATには、大きく分けて、Full Cone NAT,Restricted Cone NAT、およびPort Restricted Cone NATの3種類がある。
【0004】
図1は、Full Cone NATの機能を備えたルータが接続されたネットワークの構成例を示している。
【0005】
クライアント1は、ローカルアドレス(ローカルのネットワーク内において(限定された範囲において)固有の情報であるローカルアドレス)として、aa.aa.aa.aaが割り当てられており、ポートbbbを介してルータ2に接続されている(以下、このような状態を、aa.aa.aa.aa:bbbと記述する)。また、ポート番号は、ルータ2内のサービスを識別するための識別情報とされる。クライアント1は、ルータ2から、インターネット(図示せず)を介して他の装置(この例の場合サーバ3,4)と通信する。ルータ2は、Full Cone NATの機能を備えており、グローバルアドレス(ルータ2に固有の情報である固有情報)として、tt.tt.tt.ttが割り当てられており、ポートsssを介してサーバ3およびサーバ4と接続されている(tt.tt.tt.tt:sss)。サーバ3は、グローバルアドレスとして、xx.xx.xx.xxが割り当てられており、ポートyyyとポートzzzが、ルータ2のポートtt.tt.tt.tt::sssと接続されている(xx.xx.xx.xx:yyy、xx.xx.xx.xx:zzz)。また、サーバ4は、グローバルアドレスとして、pp.pp.pp.ppが割り当てられており、ポートqqqが、ルータ2のポートtt.tt.tt.tt::sssと接続されている(pp.pp.pp.pp:qqq)。
【0006】
ルータ2は、Full Cone NATの機能を備えているため、クライアント1のポートaa.aa.aa.aa:bbbから送信されたパケットを、ポートtt.tt.tt.tt:sssから、指定されたポート(図1の例の場合、ポートxx.xx.xx.xx:yyy)に送信するとともに、ポートtt.tt.tt.tt:sss宛に送信されてきた全てのパケットを、クライアント1のポートaa.aa.aa.aa:bbbに転送する。従って、サーバ3のポートxx.xx.xx.xx:yyy若しくはポートxx.xx.xx.xx:zzz、またはサーバ4のポートpp.pp.pp.pp:qqqのいずれから送信されたパケットであっても、クライアント1のポートaa.aa.aa.aa:bbbに転送される。
【0007】
図2は、Restricted Cone NATの機能を備えたルータが接続されたネットワークの構成例を示している。
【0008】
図2の例の場合、図1のルータ2(Full Cone NATの機能を備えるルータ)と異なり、ルータ11は、Restricted Cone NATの機能を備えているため、クライアント1が、リクエストしたサーバと同一のグローバルアドレスを有するサーバ(図2の例の場合、サーバ3)からのパケットのみ受信し、クライアント1に転送する。従って、図2に、点線で示されるように、サーバ4からのクライアント1に対する通信は制限される。
【0009】
すなわち、ルータ11は、クライアント1のポートaa.aa.aa.aa:bbbから送信されたパケットを、ルータ11のポートtt.tt.tt.tt:sssから、指定されたポート(図2例の場合、サーバ3のポートxx.xx.xx.xx:yyy)に送信するとともに、指定されたグローバルIPアドレス xx.xx.xx.xxを有するサーバ3のポートxx.xx.xx.xx:yyy若しくはポートxx.xx.xx.xx:zzz からポートtt.tt.tt.tt:sss宛に送信されてきた全てのパケットを、クライアント1のポートaa.aa.aa.aa:bbbに転送する。しかしながら、ルータ11は、指定されたグローバルIPアドレス xx.xx.xx.xxを有しない(グローバルIPアドレス pp.pp.pp.ppを有する)サーバ4のポートpp.pp.pp.pp:qqqからポートtt.tt.tt.tt:sss宛に送信されてきた全てのパケットの受信を拒否する。
【0010】
図3は、Port Restricted Cone NATの機能を備えたルータが接続されたネットワークの構成例を示している。
【0011】
Port Restricted Cone NATは、Restricted Cone NATとほぼ同じ機能を有するが、これに加えて、ポート番号も制限する。
【0012】
すなわち、Port Restricted Cone NATの機能を備えているルータ12は、クライアント1のポートaa.aa.aa.aa:bbbから送信されたパケットを、ルータ12のポートtt.tt.tt.tt:sssから、指定されたポート(図3例の場合、サーバ3のポートxx.xx.xx.xx:yyy)に送信するとともに、指定されたグローバルIPアドレスとポートxx.xx.xx.xx:yyyを有するサーバ3のポートxx.xx.xx.xx:yyyからポートtt.tt.tt.tt:sss宛に送信されてきた全てのパケットを、クライアント1のポートaa.aa.aa.aa:bbbに転送する。しかしながら、ルータ12は、指定されたグローバルIPアドレスとポートxx.xx.xx.xx:yyyを有しない(グローバルIPアドレス pp.pp.pp.ppを有する)サーバ4のポートpp.pp.pp.pp:qqqからポートtt.tt.tt.tt:sss宛に送信されてきたパケットはもとより、グローバルIPアドレス とxx.xx.xx.xxは同一でも、ポートzzzが異なるサーバ3のポートxx.xx.xx.xx:zzzからポートtt.tt.tt.tt:sss宛に送信されてきたパケットの受信を拒否する。
【0013】
また、近年、NAT機能を備えるルータに接続され、UDP(User Datagram Protocol)通信を行なう技術として、STUN(Simple Traversal of UDP through NAT)が知られている(例えば、非特許文献1乃至3参照)。
【0014】
図4は、STUNを利用して接続されているネットワークの構成例を示す図である。
【0015】
クライアント30には、STUNクライアント部31が設けられている。STUNクライアント部31には、グローバルアドレス問い合わせ部41と、グローバルアドレス受信部42が設けられている。
【0016】
クライアント30に接続されているルータ13には、アドレス変換部51が設けられている。
【0017】
インターネット60を介してルータ13と接続されているSTUNサーバ70には、STUNサーバ部71が設けられており、STUNサーバ部71は、グローバルアドレス問い合わせ応答部81を有する。
【0018】
STUNプロトコルの目的は、図5に示されるようなルータ13の下にいるクライアント30が、ルータ13の外のグローバルIPとポート(図5の例の場合、tt.tt.tt.tt:sss)を知ることである。しかしながら、一般的には、クライアント30がルータ13から、直接これらの情報を得ることはできない。
【0019】
そこで、以下の手順により、クライアント30が、ルータ13の外の(インターネット60側の)グローバルIPとポート(図5の例の場合、tt.tt.tt.tt:sss)を取得する。
【0020】
最初に、既知のグローバルIPとポート(図5の例の場合、xx.xx.xx.xx:yyy)を持つSTUNサーバ70をインターネット60上に用意する。
【0021】
次に、クライアント30は、ルータ13とインターネット60を介して、STUNサーバ70に対して、UDPパケットAを送信する。このとき、始点(送信元アドレス)は、aa.aa.aa.aa:bbb(ローカルIPアドレス)であり、終点(送信先アドレス)は、xx.xx.xx.xx:yyy(グローバルIPアドレス)である。
【0022】
ルータ13のアドレス変換部51は、パケットAの始点を、tt.tt.tt.tt:sss(グローバルIPアドレス)に変換し、インターネット60を介して、終点のxx.xx.xx.xx:yyyであるSTUNサーバ70に送信する。またこのとき、ルータ13のアドレス変換部51は、グローバル側からtt.tt.tt.tt:sss(グローバルIPアドレス)宛に送信されてくるパケットを、aa.aa.aa.aa:bbb(ローカルIPアドレス)に転送するアドレス変換マップを生成する。
【0023】
STUNサーバ70のグローバルアドレス問い合わせ応答部81は、インターネット60を介してパケットAを受信すると、パケットAに応答するパケットBを生成する。グローバルアドレス問い合わせ応答部81は、このパケットBに、パケットAの送信元のグローバルIPアドレスtt.tt.tt.tt:sssを含める。STUNサーバ70は、生成したパケットBを、インターネット60を介して、ルータ13に返送する。このパケットBの送信元のアドレスは、xx.xx.xx.xx:yyyとされ、送信先のアドレスは、tt.tt.tt.tt:sssとされる。
【0024】
ルータ13のアドレス変換部51は、アドレス変換マップを参照し、受信したパケットBの終点(送信先)を、aa.aa.aa.aa:bbbに変換し、これをクライアント30に送信する。
【0025】
クライアント30は、この受信したパケットBのデータに含まれるグローバルアドレスtt.tt.tt.ttとポートsssを取得する。これにより、クライアント30は、ルータ13のグローバルIP:ポートが、tt.tt.tt.tt:sssであることを取得することができる。
【0026】
そこで、このSTUNサーバ70を使用して、ルータ13にアドレス変換マップを生成した上で(上述した処理を実行した後)、そのマップを用いてUDPのストリーミング通信を行なうことが考えられる。これを、図6を参照して説明する。
【0027】
図6に示されるように、クライアント30が、ルータ13を介して、インターネット60に接続されており、STUNサーバ70とクライアント90も、それぞれ、インターネット60に接続されている。
【0028】
クライアント30は、ポート10000を有しており、ルータ13は、ポート27000を有し、クライアント90は、ポート10000を有している。すなわち、図6の例の場合、クライアント30とクライアント90は、同じ番号のポート10000を有している。また、ルータ13の下に位置するクライアント30は、ローカルIPアドレスを有しており、ルータを介さずに、インターネット60に直接接続されているクライアント90は、グローバルIPアドレスを有している。
【0029】
次に、図7のアローチャートを参照して、図6のネットワークの構成における処理を説明する。なお、この処理は、クライアント30のユーザにより、クライアント90との間での、ストリーミング通信が指令されたとき、開始される。
【0030】
ステップS1において、クライアント30は、STUNサーバ70に、ルータ13のグローバルIPアドレス:ポートを問い合わせる。このとき、クライアント30が、STUNサーバ70に所定のパケットを送信すると、ルータ13は、上述したようにパケットの始点を、ルータ13が有するグローバルIPアドレス:ポートに変換し、グローバル側からローカル側に転送するマップを生成する。
【0031】
このクライアント30からの問い合わせ(ステップS1)が出力されると、ステップS31において、STUNサーバ70は、この問い合わせを受信する。STUNサーバ70は、この問い合わせに対するパケットを生成する。このパケットには、上述したように、受信したパケットに記述されている送信元(ルータ13)のグローバルIPアドレス:ポートが含められる。
【0032】
ステップS32において、STUNサーバ70は、生成したパケット(ルータ13のグローバルIPアドレス:ポートが含まれているパケット)を送信する。このパケットは、ルータ13に送信され、ルータ13は、生成したマップを参照し、受信したパケットの終点(送信先)を、クライアント30のローカルIPアドレス:ポートに変換し、クライアント30に転送する。
【0033】
ステップS2において、クライアント30は、ステップS32の処理により送信されたパケット(上述したように、ルータ13のグローバルIPアドレス:ポートが含まれるパケット)を受信する。これにより、クライアント30は、ルータ13のグローバルIPアドレス:ポートを取得することができる。
【0034】
ステップS3とステップS51において、クライアント30とクライアント90は、お互いのグローバルIPアドレス:ポートを交換する(自分が受信に使用するグローバルIPアドレス:ポートを相手に通知する)。例えば、クライアント30は、取得したルータ13のグローバルIPアドレス:ポートの情報を含むパケットを生成し、ルータ13とインターネット60を介して、クライアント90に送信し、クライアント90は、自分自身が保有しているグローバルIPアドレス:ポートをクライアント30に送信することにより、お互いのグローバルIPアドレス:ポートを取得することができる。
【0035】
これにより、クライアント30とクライアント90は、お互いのグローバルIPアドレス:ポートに対して情報を送信することができる。
【0036】
ステップS4において、クライアント30は、画像・音声のストリームを、ルータ13とインターネット60を介して、クライアント90のグローバルIPアドレス:ポート宛に送信する。このとき、クライアント90のポートは、10000である。具体的には、クライアント30が、画像・音声のストリームをクライアント90のグローバルIPアドレス:ポートに送信すると、ルータ13は、パケットの送信元としてのクライアント30(送信元)のローカルIPアドレス:ポートを、ルータ13が有するグローバルIPアドレス:ポートに変換し、クライアント90に送信する。
【0037】
ステップS52において、クライアント90は、ステップS4の処理によりクライアント30により送信された画像・音声のストリームを受信し、再生する。
【0038】
ステップS53において、クライアント90は、画像・音声のストリームを、インターネット60を介して、ルータ13のグローバルIPアドレス:ポート宛に送信する。ルータ13は、マップを参照し、パケットの送信先のグローバルIPアドレス:ポート(ルータ13のグローバルIPアドレス:ポート)を、クライアント30のローカルIPアドレス:ポートに変換し、画像・音声のストリームを、クライアント30に転送する。
【0039】
ステップS5において、クライアント30は、ステップS53の処理によりクライアント90により送信された画像・音声のストリームを受信し、再生する。
【0040】
これにより、ルータ13に接続されている、ローカルIPアドレス:ポートを有するクライアント30においても、他のクライアント90との間で画像・音声のストリームを授受することができる。
【0041】
【非特許文献1】
MIDCOM WG,J. Rosenberg, dynamicsoft, J. Weinberger, dynamicsoft, C. Huitema, Microsoft, R. Mahy, Cisco著「STUN − Simple Traversal of UDP Through Network Address Translators」、[online]、2002年3月1日、IETF(The Internet Engineering Task Force)、[2002年8月14日検索]、インターネット,<URL: http://www.ietf.org/internet−drafts/draft−rosenberg−midcom−stun−01.txt >、文書名(draft−rosenberg−midcom−stun−01.txt)
【非特許文献2】
MIDCOM WG,J. Rosenberg, dynamicsoft, J. Weinberger, dynamicsoft, C. Huitema, Microsoft, R. Mahy, Cisco著「STUN − Simple Traversal of UDP Through Network Address Translators」、[online]、2002年3月1日、IETF(The Internet Engineering Task Force)、[2002年8月14日検索]、インターネット,<URL: http://www.potaroo.net/ietf/ids/draft−rosenberg−midcom−stun−01.txt >、文書名(draft−rosenberg−midcom−stun−01.txt)
【非特許文献3】
MIDCOM WG,J. Rosenberg, dynamicsoft, J. Weinberger, dynamicsoft, C. Huitema, Microsoft, R. Mahy, Cisco著「STUN − Simple Traversal of UDP Through Network Address Translators」、[online]、2002年3月1日、IETF(The Internet Engineering Task Force)、[2002年8月14日検索]、インターネット,<URL: http://www.watersprings.org/pub/id/draft−rosenberg−midcom−stun−01.txt>、文書名(draft−rosenberg−midcom−stun−01.txt)
【0042】
【発明が解決しようとする課題】
しかしながら、図6のシステムでは、画像・音声などのストリーミング通信を行なう2者(図6の例の場合、クライアント30とクライアント90)の他に、グローバルアドレスを持たない機器が接続されているルータのグローバルアドレスを取得するためにSTUNサーバ70が必要となるという課題があった。
【0043】
また、ルータ13は、図1に示されるようなFull Cone NATの機能を備えることが必要であり、ルータ外からのアクセスが制限されるRestricted Cone NATまたはPort Restricted Cone NATの機能を備えるルータを用いることができないという課題があった。
【0044】
本発明は、このような状況に鑑みてなされたものであり、NAT機能を備えたルータを使用し、簡便に、インターネットを介するストリーミング通信を行なうことができるようにするものである。
【0045】
【課題を解決するための手段】
本発明の第1のネットワークシステムは、第1の情報処理装置、第1の情報処理装置と第1の側で接続される通信制御装置、および、通信制御装置の第2の側でネットワークを介して接続され、第1の情報処理装置と情報の授受を行う第2の情報処理装置から構成されるネットワークシステムであって、第1の情報処理装置から第2の情報処理装置に対して、通信制御装置の第1の側において固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求手段と、要求手段からの要求を通信制御装置が受信した場合、第1の情報処理装置の第2の側において固有の情報である第2の固有情報および第1の情報処理装置内のサービスを識別するための第2の識別情報を、第1の固有情報および第1の識別情報に変換して、要求を第2の情報処理装置に転送する第1の転送手段と、第1の転送手段から転送された、第1の情報処理装置による要求を第2の情報処理装置が受信した場合、要求された第1の固有情報と、第1の識別情報の通知を含む応答を第1の情報処理装置に対して出力する応答出力手段と、応答出力手段からの応答を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、応答を第1の情報処理装置に転送する第2の転送手段と、第2の転送手段から転送された、第2の情報処理装置からの応答を受信する応答受信手段と、情報の送信を第2の情報処理装置が開始する場合、情報を送信するサービスを識別するための第3の識別情報を、応答を出力するサービスを識別するための第4の識別情報と同じに設定し、情報を送信する情報送信手段と、情報送信手段からの情報を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、情報を第1の情報処理装置に転送する第3の転送手段と、第3の転送手段から転送された、第2の情報処理装置からの情報を受信する情報受信手段とを含むことを特徴とする。
【0046】
前記要求手段は、第2の識別情報を備える第1のポートから要求を送信し、第1の転送手段は、第1の識別情報を備える第2のポートから要求を転送し、応答出力手段は、第4の識別情報を備える第3のポートから応答を出力し、第2の転送手段は、第2のポートから応答を転送し、応答受信手段は、第1のポートで応答を受信し、情報送信手段は、第3の識別情報を備える第3のポートから情報を送信し、第3の転送手段は、第2のポートから情報を転送し、情報受信手段は、第1のポートで情報を受信するようにすることができる。
【0047】
前記第1の固有情報は、グローバルIPアドレスであり、第2の固有情報は、ローカルIPアドレスであり、第1の識別情報は、通信制御装置が通信のサービスを行なうポートのポート番号であり、第2の識別情報は、第1の情報処理装置が通信のサービスを行なうポートのポート番号であり、第3の識別情報は、第2の情報処理装置が情報を送信するサービスを行なうポートのポート番号であり、第4の識別情報は、第2の情報処理装置が、応答を出力するサービスを行なうポートのポート番号であるようにすることができる。
【0048】
本発明の第1の通信方法は、第1の情報処理装置、第1の情報処理装置と第1の側で接続される通信制御装置、および、通信制御装置の第2の側でネットワークを介して接続され、第1の情報処理装置と情報の授受を行う第2の情報処理装置から構成されるネットワークシステムの通信方法であって、第1の情報処理装置から第2の情報処理装置に対して、通信制御装置の第1の側において固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求ステップと、要求ステップの処理による要求を通信制御装置が受信した場合、第1の情報処理装置の第2の側において固有の情報である第2の固有情報および第1の情報処理装置内のサービスを識別するための第2の識別情報を、第1の固有情報および第1の識別情報に変換して、要求を第2の情報処理装置に転送する第1の転送ステップと、第1の転送ステップの処理により転送された、第1の情報処理装置による要求を第2の情報処理装置が受信した場合、要求された第1の固有情報と、第1の識別情報の通知を含む応答を第1の情報処理装置に対して出力する応答出力ステップと、応答出力ステップの処理による応答を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、応答を第1の情報処理装置に転送する第2の転送ステップと、第2の転送ステップの処理により転送された、第2の情報処理装置からの応答を受信する応答受信ステップと、情報の送信を第2の情報処理装置が開始する場合、情報を送信するサービスを識別するための第3の識別情報を、応答を出力するサービスを識別するための第4の識別情報と同じに設定し、情報を送信する情報送信ステップと、情報送信ステップの処理により送信された情報を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、情報を第1の情報処理装置に転送する第3の転送ステップと、第3の転送ステップの処理により転送された、第2の情報処理装置からの情報を受信する情報受信ステップとを含むことを特徴とする。
【0049】
本発明の第1の情報処理装置は、他の情報処理装置から送信された、通信制御装置に固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知の要求を受信する要求受信手段と、要求受信手段により受信された第1の固有情報と第1の識別情報の通知の要求に対応して、通信制御装置の第1の固有情報と第1の識別情報の通知を含む応答を出力する応答出力手段と、他の情報処理装置に情報を送信する情報送信手段とを備え、情報送信手段は、情報処理装置の情報を出力するサービスを識別するための第2の識別情報を、情報処理装置の応答出力手段が応答を出力するサービスを識別するための第3の識別情報と同じとすることを特徴とする。
【0050】
前記要求受信手段により受信された、第1の固有情報と第1の識別情報の通知の要求には、送信元を表わす情報として、通信制御装置の第1の固有情報と第1の識別情報が含まれ、送信先を表わす情報として、情報処理装置に固有の情報である第2の固有情報と情報処理装置内のサービスを識別するための第3の識別情報が含まれ、応答出力手段により出力される、通信制御装置の第1の固有情報と第1の識別情報の通知を含む応答には、送信元を表わす情報として、第2の固有情報と第3の識別情報が含まれ、送信先を表わす情報として、通信制御装置の第1の固有情報と第1の識別情報が含まれ、情報送信手段により送信される情報には、送信元を表わす情報として、第2の固有情報と第2の識別情報が含まれ、送信先を表わす情報として、通信制御装置の第1の固有情報と第1の識別情報が含まれるようにすることができる。
【0051】
前記第1の固有情報は、グローバルIPアドレスであり、第2の固有情報は、グローバルIPアドレスであり、第1の識別情報は、通信制御装置が通信のサービスを行なうポートのポート番号であり、第2の識別情報は、情報処理装置が情報を送信するサービスを行なうポートのポート番号であり、第3の識別情報は、情報処理装置が、応答を出力するサービスを行なうポートのポート番号であるようにすることができる。
【0052】
本発明の情報処理方法は、他の情報処理装置から送信された、通信制御装置に固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知の要求を受信する要求受信ステップと、要求受信ステップの処理により受信された第1の固有情報と第1の識別情報の通知の要求に対応して、通信制御装置の第1の固有情報と第1の識別情報の通知を含む応答を出力する応答出力ステップと、他の情報処理装置に情報を送信する情報送信ステップとを含み、情報送信ステップの処理は、情報処理装置の情報を出力するサービスを識別するための第2の識別情報を、情報処理装置の応答出力ステップの処理により応答を出力するサービスを識別するための第3の識別情報と同じとすることを特徴とする。
【0053】
本発明のプログラムは、他の情報処理装置から送信された、通信制御装置に固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知の要求を受信する要求受信ステップと、要求受信ステップの処理により受信された第1の固有情報と第1の識別情報の通知の要求に対応して、通信制御装置の第1の固有情報と第1の識別情報の通知を含む応答を出力する応答出力ステップと、他の情報処理装置に情報を送信する情報送信ステップとを含み、情報送信ステップの処理は、情報処理装置の情報を出力するサービスを識別するための第2の識別情報を、情報処理装置の応答出力ステップの処理により応答を出力するサービスを識別するための第3の識別情報と同じとすることを特徴とする。
【0054】
本発明の第2のネットワークシステムは、第1の情報処理装置、第1の情報処理装置と第1の側で接続される通信制御装置、および、通信制御装置の第2の側でネットワークを介して接続され、第1の情報処理装置と情報の授受を行う第2の情報処理装置から構成されるネットワークシステムであって、第1の情報処理装置から第2の情報処理装置に対して、通信制御装置の第1の側において固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求手段と、要求手段からの要求を通信制御装置が受信した場合、第1の情報処理装置の第2の側において固有の情報である第2の固有情報および第1の情報処理装置内のサービスを識別するための第2の識別情報を、第1の固有情報および第1の識別情報に変換して、要求を第2の情報処理装置に転送する第1の転送手段と、第1の転送手段から転送された、第1の情報処理装置による要求を第2の情報処理装置が受信した場合、要求された第1の固有情報と、第1の識別情報の通知を含む応答を第1の情報処理装置に対して出力する応答出力手段と、応答出力手段からの応答を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、応答を第1の情報処理装置に転送する第2の転送手段と、第2の転送手段から転送された、第2の情報処理装置からの応答を受信する応答受信手段と、情報の送信を第2の情報処理装置が開始する場合、情報を送信する情報送信手段と、情報送信手段からの情報を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、情報を第1の情報処理装置に転送する第3の転送手段と、第3の転送手段から転送された、第2の情報処理装置からの情報を受信する情報受信手段とを含むことを特徴とする。
【0055】
前記第1の固有情報は、グローバルIPアドレスであり、第2の固有情報は、ローカルIPアドレスであり、第1の識別情報は、通信制御装置が通信のサービスを行なうポートのポート番号であり、第2の識別情報は、第1の情報処理装置が通信のサービスを行なうポートのポート番号であるようにすることができる。
【0056】
本発明の第2の通信方法は、第1の情報処理装置、第1の情報処理装置と第1の側で接続される通信制御装置、および、通信制御装置の第2の側でネットワークを介して接続され、第1の情報処理装置と情報の授受を行う第2の情報処理装置から構成されるネットワークシステムの通信方法であって、第1の情報処理装置から第2の情報処理装置に対して、通信制御装置の第1の側において固有の情報である第1の固有情報と、通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求ステップと、要求ステップの処理による要求を通信制御装置が受信した場合、第1の情報処理装置の第2の側において固有の情報である第2の固有情報および第1の情報処理装置内のサービスを識別するための第2の識別情報を、第1の固有情報および第1の識別情報に変換して、要求を第2の情報処理装置に転送する第1の転送ステップと、第1の転送ステップの処理により転送された、第1の情報処理装置による要求を第2の情報処理装置が受信した場合、要求された第1の固有情報と、第1の識別情報の通知を含む応答を第1の情報処理装置に対して出力する応答出力ステップと、応答出力ステップの処理による応答を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、応答を第1の情報処理装置に転送する第2の転送ステップと、第2の転送ステップの処理により転送された、第2の情報処理装置からの応答を受信する応答受信ステップと、情報の送信を第2の情報処理装置が開始する場合、情報を送信する情報送信ステップと、情報送信ステップの処理により送信された情報を通信制御装置が受信した場合、第1の固有情報および第1の識別情報を、第2の固有情報および第2の識別情報に変換して、情報を第1の情報処理装置に転送する第3の転送ステップと、第3の転送ステップの処理により転送された、第2の情報処理装置からの情報を受信する情報受信ステップとを含むことを特徴とする。
【0057】
本発明の第2の情報処理装置は、他の情報処理装置に対して、通信制御装置に固有の情報である固有情報と、通信制御装置内のサービスを識別するための識別情報の通知を要求する要求手段と、他の情報処理装置から送信された、要求手段の要求に対応する応答であって、固有情報と識別情報の通知を含む応答を受信する応答受信手段と、他の情報処理装置から送信された情報を受信する情報受信手段と、他の情報処理装置に情報を送信する情報送信手段とを備えることを特徴とする。
【0058】
前記固有情報は、グローバルIPアドレスであり、識別情報は、通信制御装置が通信のサービスを行なうポートのポート番号であるようにすることができる。
【0059】
本発明の第3の情報処理装置は、他の情報処理装置から送信された、通信制御装置に固有の情報である固有情報と、通信制御装置内のサービスを識別するための識別情報の通知の要求を受信する要求受信手段と、要求受信手段により受信された固有情報と識別情報の通知の要求に対応して、通信制御装置の固有情報と識別情報の通知を含む応答を出力する応答出力手段と、他の情報処理装置に情報を送信する情報送信手段とを備えることを特徴とする。
【0060】
前記固有情報は、グローバルIPアドレスであり、識別情報は、通信制御装置が通信のサービスを行なうポートのポート番号であるようにすることができる。
【0061】
第1の本願発明においては、第1の情報処理装置から、第2の情報処理装置に対して、通信制御装置に固有の情報である第1の固有情報と通信制御装置内のサービスを識別するための第1の識別情報の通知が要求されると、第2の情報処理装置は、通信制御装置の第1の固有情報と第1の識別情報を含む応答を第1の情報処理装置に送信する。また、第2の情報処理装置は、第1の情報処理装置に情報を送信する場合、情報を送信するサービスを識別するための第3の識別情報を、応答を出力するサービスを識別するための第4の識別情報と同じとする。
【0062】
第2の本願発明においては、他の情報処理装置から通信制御装置に固有の情報である第1の固有情報と通信制御装置内のサービスを識別するための第1の識別情報の通知の要求が受信されると、この要求に対応して、通信制御装置の第1の固有情報と第1の識別情報の通知を含む応答が出力される。また、他の情報処理装置に情報を送信する場合、情報を出力するサービスを識別する第2の識別情報を、応答を出力するサービスを識別するための第3の識別情報と同じとする。
【0063】
第3の本願発明においては、第1の情報処理装置から、第2の情報処理装置に対して、通信制御装置に固有の情報である第1の固有情報と通信制御装置内のサービスを識別するための第1の識別情報の通知が要求されると、第2の情報処理装置は、通信制御装置の第1の固有情報と第1の識別情報を含む応答を第1の情報処理装置に送信する。
【0064】
第4の本願発明においては、他の情報処理装置に対して、通信制御装置に固有の情報である第1の固有情報と通信制御装置内のサービスを識別するための第1の識別情報の通知が要求され、他の情報処理装置から送信された、要求に対応する応答が受信される。
【0065】
第5の本願発明においては、他の情報処理装置から、通信制御装置に固有の情報である第1の固有情報と通信制御装置内のサービスを識別するための第1の識別情報の通知の要求が受信されると、この要求に対応して、通信制御装置の第1の固有情報と第1の識別情報を含む応答が出力され、他の情報処理装置に送信される。
【0066】
【発明の実施の形態】
図8は、本発明を適用したネットワークシステムの構成例を表わしている。
【0067】
クライアント120は、NAT機能を有するルータ180を介して、インターネット60に接続されている。また、クライアント200は、ルータ(NAT機能を有するルータ)を介さずに、インターネット60に直接接続されている。これらのクライアント120,200およびルータ180は、例えば、パーソナルコンピュータ(例えば、後述する図11のパーソナルコンピュータ300)により構成される。
【0068】
クライアント120は、図示せぬ他のクライアントとともに、ルータ180の下側(図8において左側のローカルネットワーク側)に接続され、ローカルIPアドレス:ポート(ローカルIPアドレスは、ルータ180の下側(図8において左側)のネットワーク(ローカルなネットワーク内)においてクライアント120に固有の情報である固有情報であり、ポート番号は、クライアント120内のサービスを識別するための識別情報である)が割り当てられている。より正確には、ローカルIPアドレスは、ルータ180により各クライアントに割り当てられたものであるが、ポートは、各クライアントが設定したものである。また、クライアント120には、STUNクライアント部121、RTP受信部122、STUNサーバ部123、および、RTP送信部124が設けられている。STUNクライアント部121には、グローバルアドレス問い合わせ部141、グローバルアドレス受信部142が設けられており、それぞれ、グローバルアドレスを問い合わせたり、グローバルアドレスを受信したりする。STUNサーバ部123には、グローバルアドレスの問い合わせに対する応答を行なうグローバルアドレス問い合わせ応答部161が設けられている。
【0069】
ルータ180には、アドレス変換部181が設けられており、アドレス変換部181は、グローバルアドレスをローカルアドレスに変換したり、ローカルアドレスをグローバルアドレスに変換し、その変換マップに基づいて、ルーティング処理を実行する。
【0070】
クライアント200は、ルータを介さずに、インターネット60に直接接続されており、グローバルIPアドレス:ポート(グローバルIPアドレスは、グローバルネットワークとしてのインターネット60においてクライアント200に固有の情報である固有情報であり、ポート番号は、クライアント200内のサービスを識別するための識別情報である)が割り当てられている。この場合にも、より正確には、グローバルIPアドレスは割り当てられたものであるが、ポートは自分自身が設定したものである。
【0071】
また、クライアント200には、STUNクライアント部201、RTP受信部202、STUNサーバ部203、および、RTP送信部204が設けられている。STUNクライアント部201には、グローバルアドレス問い合わせ部221、グローバルアドレス受信部222が設けられており、STUNサーバ部123には、グローバルアドレス問い合わせ応答部241が設けられている。このように、クライアント200の構成は、クライアント120の構成と同様であるため、その説明は省略する。
【0072】
いま、クライアント120、ルータ180、クライアント200は、それぞれ、図9に示されるようなIPアドレス:ポートを有するものとする。
【0073】
すなわち、クライアント120のローカルアドレスは、192.168.0.2とされており、ポート10000とポート20000を有している。STUNサーバ部123は、ポート20000を使用して情報の授受を行なう。また、クライアント120は、情報の受信をポート10000で行い、情報の送信をポート20000から行なっている。
【0074】
ルータ180のローカルアドレスは、192.168.0.1とされており、グローバルアドレスは、12.34.56.78とされている。また、ルータ180は、グローバル側(インターネット60の側)に、ポート27000と、ポート37000を有している。
【0075】
クライアント200のグローバルアドレスは、11.22.33.44とされており、ポート10000とポート20000を有している。また、STUNサーバ部203は、ポート20000を使用して情報の授受を行なう。クライアント200は、さらに、ポート10000で情報を受信し、ポート20000から情報を送信する。
【0076】
すなわち、クライアント120とクライアント200のポートは、同じ番号のポート(図9の例の場合、ポート10000とポート20000)とされている。
【0077】
図10のアローチャートを参照して、図9のクライアント120とクライアント200における通信処理を説明する。なお、この処理は、クライアント120のユーザにより、クライアント200との間の通信が指令されたとき開始される(例えば、クライアント200から、画像・音声のストリームを送信するか、受信し、再生するように指令されたとき、開始される)。
【0078】
ステップS101において、クライアント120のグローバルアドレス問い合わせ部141は、クライアント200のSTUNサーバ部203に対して、グローバルIPアドレス:ポートの問い合わせ(ルータ180のグローバルIPアドレス:ポートの問い合わせ)をする(通知を要求する)。このとき、クライアント120が送信する要求のパケットには、送信元(From)のアドレスは、192.168.0.2:10000(IPアドレス:ポート番号)とされ、送信先(To)のアドレスは、11.22.33.44:20000(IPアドレス:ポート番号)とされている。
【0079】
ステップS101の処理によりクライアント120のグローバルアドレス問い合わせ部141から出力されたパケット(問い合わせパケット(通知要求パケット))は、ステップS131において、ルータ180に受信される。ルータ180のアドレス変換部181は、このパケットの送信元(From)のアドレス192.168.0.2:10000(IPアドレス:ポート番号)と、送信先(To)のアドレス11.22.33.44:20000(IPアドレス:ポート番号)のうち、送信元(From)のアドレス192.168.0.2:10000(IPアドレス:ポート番号)を、ルータ180自身が有するグローバルIPアドレス:ポートに変換し、2つのアドレスを対応付けるマップを生成する。その後、アドレス変換部181は、インターネット60を介してこのパケットを送信先に送信する。
【0080】
具体的には、ルータ180のアドレス変換部181は、送信元(From)のアドレス192.168.0.2:10000(ローカルIPアドレス:ポート番号)を、12.34.56.78:27000(グローバルIPアドレス:ポート番号)に変換する。このとき、上述したように、アドレス変換部181は、マップを生成する。マップには、ローカルIPアドレス:ポート192.168.0.2:10000に、グローバルIPアドレス:ポート12.34.56.78:27000が対応するという情報が含まれている。その後、ルータ180は、このパケットを、インターネット60を介して、送信先であるクライアント200(送信先(To)の11.22.33.44:20000(IPアドレス:ポート番号))に送信する。このとき、送信されるパケットの送信元(From)のアドレスは12.34.56.78:27000(IPアドレス:ポート番号)とされ、送信先(To)のアドレスは11.22.33.44:20000(IPアドレス:ポート番号)とされている。
【0081】
ステップS131の処理により送信されたパケット(問い合わせパケット)は、ステップS161において、クライアント200のグローバルアドレス問い合わせ応答部241により受信される。具体的には、パケットの送信先(To)は、11.22.33.44:20000(IPアドレス:ポート番号)とされているため、STUNサーバ部203のグローバルアドレス問い合わせ応答部241がこれを受信する。
【0082】
ステップS162において、クライアント200のグローバルアドレス問い合わせ応答部241は、受信したパケットが、その内容からグローバルIPアドレスとポートの通知を要求するパケットであると判定した場合、ステップS161の処理により受信した問い合わせに対する応答のパケットを生成する。グローバルアドレス問い合わせ応答部241は、この応答パケットに、問い合わせパケットの送信元(From)のアドレスとして記述されていた、ルータ180のグローバルIPアドレス:ポート12.34.56.78:27000(IPアドレス:ポート番号)を、データ(パケットの内容)として記述するとともに、送信元(From)のアドレスとして、STUNサーバ部203のグローバルIPアドレス:ポート番号11.22.33.44:20000(IPアドレス:ポート番号)を記述し、送信先(To)のアドレスとして、問い合わせパケットの送信元として記述されていたアドレス12.34.56.78:20000(IPアドレス:ポート番号)を記述する。
【0083】
ステップS162の処理により送信された応答パケットは、ステップS132において、ルータ180により受信される(応答パケットの送信先(To)のアドレスは、ルータ180のアドレスとなっているため)。ルータ180のアドレス変換部181は、ステップS131の処理により生成されたマップ(ローカルIPアドレス:ポート192.168.0.2:10000に、グローバルIPアドレス:ポート12.34.56.78:27000が対応するという対応関係が記述されているマップ)を参照し、応答パケットの送信先(To)のアドレス(12.34.56.78:20000)を、クライアント120のローカルIPアドレス(192.168.0.2:10000)に変換する。ルータ180は、その後、この応答パケットを、クライアント120に転送する。
【0084】
ステップS132の処理により転送された応答パケットは、その送信先(To)のアドレスが、192.168.0.2:10000(IPアドレス:ポート番号)であり、送信元(From)のアドレスが11.22.33.44:20000(IPアドレス:ポート番号)であるため、ステップS102において、クライアント120のポート10000により受信される。この応答パケットには、データとしてルータ180のグローバルIPアドレス:ポートである12.34.56.78:27000(IPアドレス:ポート番号)が記述されている。従って、クライアント120のグローバルアドレス受信部142は、応答パケットのデータ部を読み取ることで、ルータ180の受信用のグローバルIPアドレス:ポートである12.34.56.78:27000(IPアドレス:ポート番号)を取得することができる。
【0085】
なお、例えば、仮に、ステップS163において、クライアント200のグローバルアドレス問い合わせ応答部221が、クライアント120(クライアント120のSTUNサーバ部123)に、グローバルIPアドレス:ポートの問い合わせをしたとする。この問い合わせのパケットには、送信元(From)のアドレス11.22.33.44:10000と、送信先(To)のアドレス12.34.56.78:20000が記述されている。
【0086】
送信先のアドレスのうちのポート20000は、このネットワークシステムにおいて、STUNサーバ部203の共通のポート番号として、予め決められているものである。しかしながら、クライアント120のSTUNサーバ部123は番号20000のポートを使用したとしても、クライアント120は、ルータの下に接続されており、ルータは、このポート番号を、ルータのポート番号として解釈する。ルータは、番号20000のポートに関するマップを有していないので、結局、ルータは、クライアント200からの問い合わせパケットの受信を拒絶することになる。
【0087】
最も、クライアント200は、ルータに接続されておらず、そのルータのグローバルIPアドレスを問い合わせる必要がないので、クライアント200は、実際には、このような処理を行わない。
【0088】
ステップS103において、クライアント120は、ステップS102の処理により取得したルータ180のグローバルIPアドレス:ポート(12.34.56.78:27000)(ルータ180は、ポート27000とポート37000を有しているが、受信するためのポートとしては、ポート27000を使用する)をクライアント200に送信する。また、同様に、ステップS164において、クライアント200は、自分自身が有するグローバルIPアドレス:ポート(11.22.33.44:10000)(クライアント200は、ポート10000とポート20000を有するが、受信する為のポートとしては、ポート10000を使用する)をクライアント120に送信する。すなわち、ステップS103とステップS164の処理により、クライアント120とクライアント200は、相手側から送信されてきた受信用の、グローバルIPアドレス:ポートを受信することになる。
【0089】
なお、このグローバルIPアドレス:ポートの交換は、その後の方法により行なうこともできる。クライアント120が、クライアント200に対して画像・音声のストリームを送信する場合、ステップS104において、クライアント120のRTP送信部124は、パケットの送信先(To)を、ステップS103の処理により取得したクライアント200のグローバルIPアドレス:ポート(図10の例の場合、11.22.33.44:10000)とし、そのパケットのデータ部に、画像・音声のストリームを配置して、パケットを送信する。このとき、パケットの送信元(From)のアドレスは、192.168.0.2:20000とされる。
【0090】
これに対して、ステップS134において、ルータ180のアドレス変換部181は、クライアント120から送信された画像・音声のストリームのパケットの送信元(From)とされているアドレス192.168.0.2:20000を、ルータ180のアドレス(送信に使用されるポート37000のアドレス)12.34.56.78:37000に変換し、クライアント200(送信先のアドレスに指定されている11.22.33.44:10000)に送信する。クライアント200のRTP受信部202は、ポート10000から、このパケットを受信し、所定の処理を実行する(例えば、受信したパケットのデータ部に格納されている画像・音声のストリームを、表示部やスピーカ(いずれも図示せず)に出力する)。
【0091】
クライアント200が、クライアント120に対して画像・音声のストリームを送信する場合、ステップS166において、クライアント200のRTP送信部204は、ステップS164の処理により取得したクライアント120のグローバルIPアドレス:ポート(実際には、ルータ180のグローバルIPアドレス:ポート)(図10の例の場合、12.34.56.78:27000)をパケットの送信先(To)アドレスとし、画像・音声のストリームをパケットのデータ部に格納して送信する。このとき、パケットの送信元(From)のアドレスは、11.22.33.44:20000とされる。
【0092】
これに対して、ステップS135において、ルータ180のアドレス変換部181は、クライアント200から送信された画像・音声のストリームのパケットの送信先(To)とされているアドレス12.34.56.78:27000を、クライアント120のアドレス(受信に使用されるポート10000(勿論、このアドレスは、ローカルIPアドレス:ポートである)に変換し、クライアント120(送信先のアドレスに指定されている192.168.0.2:10000)に転送する。クライアント120のRTP受信部122は、ポート10000から、このパケットを受信し、所定の処理を実行する(例えば、受信した画像・音声のストリームを、表示部やスピーカに出力する)。
【0093】
以上により、STUNサーバの役割(例えば、図6に示されるSTUNサーバ70)を、ストリーミング通信を行なう相手(図9の例の場合、クライアント200)が担うことにより(クライアント200にSTUNサーバ部203を設けることにより)、ネットワークシステム上に、STUNサーバを設ける必要がなくなり、もって、STUNサーバに制限されない通信を行なうことができる。
【0094】
また、ルータ180によりマップを生成するのに使用するSTUNサーバ部(図9の例の場合、STUNサーバ部203)と、画像・音声のストリームを送信する機器(図9の例の場合、クライアント200)が、同一のグローバルIPアドレス(図9の例の場合、11.22.33.44)を有するため、ルータ180として、Full ConeNATは勿論のこと、Restricted Cone NATの機能を備えたルータを使用することができる。
【0095】
さらに、STUNサーバ部203のポート番号(図9の例の場合、STUNサーバ部203のポート番号20000)と、ストリームを送信するポート番号(図9の例の場合、クライアント200のポート番号20000、すなわち、RTP送信部204により使用されるポートのポート番号)を同一にするようにしたので、ルータ180として、Port Restricted Cone NATを使用することもできる。
【0096】
ただし、ストリーミング通信をする少なくとも一方(図9の例の場合、クライアント200)は、インターネット60に、NATを介さずに直接接続されている必要がある。
【0097】
なお、ルータ180とインターネット60の間には、インターネットサービスプロバイダを設けるようにしてもよい。この場合、ルータ180のグローバルアドレスは、インターネットサービスプロバイダが、割り当てたものとなる。また、同様に、クライアント200とインターネット60の間に、インターネットサービスプロバイダを設けるようにしてもよい。この場合においても、クライアント200のグローバルアドレスは、インターネットサービスプロバイダにより割り当てられたグローバルアドレスが使用される。
【0098】
また、以上においては、ネットワークをインターネットとしたが、インターネット以外のネットワークが使用される場合にも、本発明は適用することができる。また、クライアントは、パーソナルコンピュータ以外に、PDA(Personal Digital Assistants)、携帯電話機、その他の情報処理装置とすることができる。また、ルータも、ルータ以外の通信を制御する通信制御装置とすることができる。
【0099】
さらに、以上においては、グローバルIPアドレス、ローカルIPアドレス、およびルータを使用するようにしたが、グローバルIPアドレスは、その装置に固有の情報であれば、他の情報でもよく、ローカルIPアドレスについても、その装置の限定された範囲において固有の情報であれば、他の情報でもよい。また、ポート番号についても、その装置内のサービスを識別するための識別情報であれば、他のものでもよい。さらに、サービスとは、例えば、所定のストリーム情報である。
【0100】
上述した一連の処理は、ハードウエアにより実行させることもできるが、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば、汎用のパーソナルコンピュータなどに、ネットワークやプログラム格納媒体からインストールされる。この場合、例えば、図9のクライアント120、ルータ180、またはクライアント200は、図11に示されるようなパーソナルコンピュータ300により構成される。
【0101】
図11において、CPU(Central Processing Unit)301は、ROM(Read Only Memory)302に記憶されているプログラム、または、記憶部308からRAM(Random Access Memory)303にロードされたプログラムに従って各種の処理を実行する。RAM303にはまた、CPU301が各種の処理を実行する上において必要なデータなどが適宜記憶される。
【0102】
CPU301、ROM302、およびRAM303は、内部バス304を介して相互に接続されている。この内部バス304にはまた、入出力インターフェース305も接続されている。
【0103】
入出力インターフェース305には、キーボード、マウスなどよりなる入力部306、CRT(cathode Ray Tube),LCD(Liquid Crystal Display)などよりなるディスプレイ、並びにスピーカなどよりなる出力部307、ハードディスクなどより構成される記憶部308、モデム、ターミナルアダプタなどより構成される通信部309が接続されている。通信部309は、衛星回線やCATVを含む各種のネットワークを介しての通信処理を行なう。
【0104】
入出力インターフェース305にはまた、必要に応じてドライブ310が接続され、磁気ディスク321、光ディスク322、光磁気ディスク323、あるいは半導体メモリ324などが適宜装着され、それから読み出されたコンピュータプログラムが、必要に応じて記憶部308にインストールされる。
【0105】
一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用の専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば、汎用のパーソナルコンピュータなどに、ネットワークやプログラム格納媒体からインストールされる。
【0106】
このプログラム格納媒体は、図11に示されるように、コンピュータとは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク321(フロッピディスクを含む)、光ディスク322(CD−ROM(Compact Disc−Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク323(MD(Mini Disc)を含む)、半導体メモリ324などによりなるパッケージメディアにより構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される、プログラムが記録されているROM302や記憶部308が含まれるハードディスクなどで構成される。
【0107】
なお、本明細書において、コンピュータプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0108】
【発明の効果】
以上の如く、第1の本願発明によれば、アドレスの変換機能を備えた通信制御装置を使用し、ネットワークを介して情報を授受することができる。特に、この発明によれば、アドレスの通知を行なう専用の装置をネットワークから省略することができる。従って、システム全体の構成を簡略化し、低コスト化することができる。また、この発明によれば、ネットワークシステムの構成を複雑にすることなく、かつ、コスト高とすることなく、通信制御装置の種類によらない通信を行なうことができる。
【0109】
第2の本願発明によれば、アドレスの変換機能を備えた通信制御装置を使用し、ネットワークを介して情報を授受することができる。特に、この発明によれば、ネットワークシステムの構成を複雑にすることなく、かつ、コスト高とすることなく、通信制御装置の種類によらない通信を行なうことができる。
【0110】
第3の本願発明によれば、アドレスの変換機能を備えた通信制御装置を使用し、ネットワークを介して情報を授受することができる。特に、この発明によれば、アドレスの通知を行なう専用の装置をネットワークから省略することができる。従って、システム全体の構成を簡略化し、低コスト化することができる。
【0111】
第4の本願発明によれば、アドレスの変換機能を備えた通信制御装置を使用し、ネットワークを介して情報を授受することができる。特に、この発明によれば、アドレスの通知を行なう専用の装置をネットワークから省略することができる。
【0112】
第5の本願発明によれば、アドレスの変換機能を備えた通信制御装置を使用し、ネットワークを介して情報を授受することができる。
【図面の簡単な説明】
【図1】従来のFull Cone NATの機能を備えたルータを介して接続されたネットワークの構成例を示す図である。
【図2】従来のRestricted Cone NATの機能を備えたルータを介して接続されたネットワークの構成例を示す図である。
【図3】従来のPort Restricted Cone NATの機能を備えたルータを介して接続されたネットワークの構成例を示す図である。
【図4】従来のSTUNを利用して接続されているネットワークの構成例を示すブロック図である。
【図5】図4のネットワークを説明する図である。
【図6】図4のネットワークにおけるストリーミング通信を説明する図である。
【図7】図6のネットワークにおける処理を説明するアローチャートである。
【図8】本発明を適用したネットワークシステムの構成例を示すブロック図である。
【図9】図8のネットワークシステムのアドレスを説明する図である。
【図10】図8のネットワークシステムにおける処理を説明するアローチャートである。
【図11】パーソナルコンピュータを示すブロック図である。
【符号の説明】
120 クライアント, 121 STUNクライアント部, 122 RTP受信部, 123 STUNサーバ部, 124 RTP送信部, 141 グローバルアドレス問い合わせ部, 142 グローバルアドレス受信部, 161 グローバルアドレス問い合わせ応答部, 180 ルータ, 181 アドレス変換部, 200 クライアント, 201 STUNクライアント部, 202 RTP受信部, 203 STUNサーバ部, 204 RTP送信部, 221 グローバルアドレス問い合わせ部, 222 グローバルアドレス受信部, 241 グローバルアドレス問い合わせ応答部[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a network system and a communication method, an information processing apparatus and a method, and a program, and more particularly, to a network system and a network system capable of performing streaming communication via the Internet using a router having a NAT function. The present invention relates to a communication method, an information processing device and method, and a program.
[0002]
[Prior art]
When connecting a plurality of computers to the Internet, each computer is often connected to the Internet via a router. Some routers use NAT (Network Address Translation) which is a technique for sharing one global IP (Internet Protocol) address (global IP address which is unique information) among a plurality of computers.
[0003]
NATs are broadly divided into three types: Full Cone NAT, Restricted Cone NAT, and Port Restricted Cone NAT.
[0004]
FIG. 1 shows a configuration example of a network to which a router having a function of Full Cone NAT is connected.
[0005]
The client 1 determines that the local address (local address which is unique information (within a limited range) in a local network) is aa. aa. aa. aa is allocated and connected to the
[0006]
Since the
[0007]
FIG. 2 shows a configuration example of a network to which a router having a function of Restricted Cone NAT is connected.
[0008]
In the example of FIG. 2, unlike the router 2 (router having the function of Full Cone NAT) of FIG. 1, the
[0009]
That is, the
[0010]
FIG. 3 shows a configuration example of a network to which a router having a function of Port Restricted Cone NAT is connected.
[0011]
Port Restricted Cone NAT has almost the same function as Restricted Cone NAT, but also restricts the port number.
[0012]
That is, the
[0013]
In recent years, as a technique for performing UDP (User Datagram Protocol) communication connected to a router having a NAT function, STUN (Simple Travel of UDP through NAT) is known (for example, see Non-Patent Documents 1 to 3). .
[0014]
FIG. 4 is a diagram illustrating a configuration example of a network connected using STUN.
[0015]
The
[0016]
The
[0017]
A
[0018]
The purpose of the STUN protocol is that the
[0019]
Therefore, the
[0020]
First, a
[0021]
Next, the
[0022]
The
[0023]
When receiving the packet A via the
[0024]
The
[0025]
The
[0026]
Therefore, it is conceivable that the
[0027]
As shown in FIG. 6, the
[0028]
The
[0029]
Next, processing in the network configuration of FIG. 6 will be described with reference to the arrow chart of FIG. This processing is started when a streaming communication with the
[0030]
In step S1, the
[0031]
When the inquiry (step S1) is output from the
[0032]
In step S32, the
[0033]
In step S2, the
[0034]
In step S3 and step S51, the
[0035]
Thereby, the
[0036]
In step S4, the
[0037]
In step S52, the
[0038]
In step S53, the
[0039]
In step S5, the
[0040]
As a result, even the
[0041]
[Non-patent document 1]
MIDCOM WG, J.M. Rosenberg, dynamics, J. et al. Weinberger, dynamics, C.I. Huitema, Microsoft, R.A. Mahy, Cisco, "STUN-Simple Traversal of UDP Through Network Address Translators", [online], March 1, 2002, IETF (The Internet, August 14, 2002). URL: http: // www. ief. org / internet-drafts / draft-rosenberg-midcom-stun-01. txt>, document name (draft-rosenberg-midcom-stun-01.txt)
[Non-patent document 2]
MIDCOM WG, J.M. Rosenberg, dynamics, J. et al. Weinberger, dynamics, C.I. Huitema, Microsoft, R.A. Mahy, Cisco, "STUN-Simple Traversal of UDP Through Network Address Translators", [online], March 1, 2002, IETF (The Internet, August 14, 2002). URL: http: // www. potaroo. net / ietf / ids / draft-rosenberg-midcom-stun-01. txt>, document name (draft-rosenberg-midcom-stun-01.txt)
[Non-Patent Document 3]
MIDCOM WG, J.M. Rosenberg, dynamics, J. et al. Weinberger, dynamics, C.I. Huitema, Microsoft, R.A. Mahy, Cisco, "STUN-Simple Traversal of UDP Through Network Address Translators", [online], March 1, 2002, IETF (The Internet, August 14, 2002). URL: http: // www. watersprings. org / pub / id / draft-rosenberg-midcom-stun-01. txt>, document name (draft-rosenberg-midcom-stun-01.txt)
[0042]
[Problems to be solved by the invention]
However, in the system of FIG. 6, in addition to the two parties (the
[0043]
Also, the
[0044]
The present invention has been made in view of such a situation, and it is an object of the present invention to easily perform streaming communication via the Internet using a router having a NAT function.
[0045]
[Means for Solving the Problems]
A first network system according to the present invention includes a first information processing apparatus, a communication control apparatus connected to the first information processing apparatus on a first side, and a second side of the communication control apparatus via a network. A network system comprising a second information processing device connected to and connected to the first information processing device, for transmitting and receiving information to and from the first information processing device. Request means for requesting notification of first unique information which is unique information on the first side of the control device, first identification information for identifying a service in the communication control device, and a request from the request means Is received by the communication control device, the second unique information, which is unique information on the second side of the first information processing device, and the second identification for identifying the service in the first information processing device. Information to the first unique information And a first transfer unit for converting the request into the first identification information and transferring the request to the second information processing device; and transmitting the request from the first information processing device transferred from the first transfer unit to the second information processing device. A response output unit that outputs a request including the requested first unique information and a notification of the first identification information to the first information processing device, Is received by the communication control device, the first unique information and the first identification information are converted into the second unique information and the second identification information, and the response is transferred to the first information processing device. A second transfer unit, a response receiving unit that receives a response from the second information processing device transferred from the second transfer unit, and a case where the second information processing device starts transmitting information. Responding to the third identification information for identifying the service transmitting the information; The information is set to be the same as the fourth identification information for identifying the service to be output, and the information transmitting means for transmitting the information, and when the communication control device receives the information from the information transmitting means, the first unique information and the fourth A third transfer unit that converts the first identification information into the second unique information and the second identification information and transfers the information to the first information processing apparatus; and a third transfer unit that transfers the information from the third transfer unit. Information receiving means for receiving information from the second information processing apparatus.
[0046]
The requesting means transmits a request from a first port provided with second identification information, the first transfer means transfers the request from a second port provided with first identification information, and the response output means , A response is output from a third port comprising the fourth identification information, the second transfer means transfers the response from the second port, the response receiving means receives the response at the first port, The information transmitting means transmits information from a third port provided with the third identification information, the third transferring means transfers information from the second port, and the information receiving means transmits information at the first port. Can be received.
[0047]
The first unique information is a global IP address, the second unique information is a local IP address, the first identification information is a port number of a port on which the communication control device performs communication service, The second identification information is a port number of a port on which the first information processing apparatus provides a communication service, and the third identification information is a port number of a port on which the second information processing apparatus provides a service for transmitting information. And the fourth identification information may be a port number of a port that performs a service for outputting a response from the second information processing apparatus.
[0048]
According to a first communication method of the present invention, a first information processing apparatus, a communication control apparatus connected to the first information processing apparatus on a first side, and a second side of the communication control apparatus via a network. A communication method of a network system including a second information processing device connected to and connected to the first information processing device, for transmitting and receiving information to and from the first information processing device. Requesting notification of first unique information that is unique information on the first side of the communication control device, and first identification information for identifying a service in the communication control device; When the communication control device receives the request from the first information processing device, the second side of the first information processing device identifies the second unique information, which is unique information, and the service in the first information processing device. The second identification information is A first transfer step of converting the request into unique information and first identification information, and transferring the request to the second information processing apparatus; and a first information processing apparatus transferred by the processing of the first transfer step. Outputting the requested first unique information and a response including a notification of the first identification information to the first information processing device when the second information processing device receives the request by the second information processing device. When the communication control device receives a response by the process of the response output step, the first unique information and the first identification information are converted into the second unique information and the second identification information, and the response is converted to the first unique information. A second transfer step of transferring the information to the second information processing apparatus, a response receiving step of receiving a response from the second information processing apparatus transferred by the processing of the second transfer step, and a second step of transmitting the information. When the information processing device starts An information transmitting step of transmitting information by setting third identification information for identifying a service for transmitting information to be the same as fourth identification information for identifying a service for outputting a response; When the communication control device receives the information transmitted by the processing of the above, the first unique information and the first identification information are converted into the second unique information and the second identification information, and the information is converted into the first information. It is characterized by including a third transfer step of transferring to the information processing apparatus, and an information receiving step of receiving information from the second information processing apparatus transferred by the processing of the third transfer step.
[0049]
A first information processing apparatus according to the present invention includes a first unique information transmitted from another information processing apparatus, the first unique information being information unique to the communication control apparatus, and a first information for identifying a service in the communication control apparatus. Receiving means for receiving a request for notification of the first identification information, and a first unique information of the communication control device corresponding to the request for notification of the first unique information and the first identification information received by the request receiving means. A response output unit that outputs a response including the notification of the information and the first identification information; and an information transmission unit that transmits the information to another information processing device. The information transmission unit outputs information of the information processing device. The second identification information for identifying the service is the same as the third identification information for identifying the service to which the response output unit of the information processing device outputs a response.
[0050]
The request for notification of the first unique information and the first identification information received by the request receiving means includes the first unique information and the first identification information of the communication control device as information representing a transmission source. The information indicating the transmission destination includes second unique information that is information unique to the information processing apparatus and third identification information for identifying a service in the information processing apparatus, and is output by the response output unit. The response including the notification of the first unique information and the first identification information of the communication control device includes the second unique information and the third identification information as information indicating the transmission source, and Contains the first unique information and the first identification information of the communication control device, and the information transmitted by the information transmitting means includes the second unique information and the second Information that contains the It may be to include the first unique information and the first identification information of the communication control apparatus.
[0051]
The first unique information is a global IP address, the second unique information is a global IP address, the first identification information is a port number of a port on which the communication control device performs communication service, The second identification information is a port number of a port that provides a service for transmitting information from the information processing apparatus, and the third identification information is a port number of a port that provides a service for outputting a response from the information processing apparatus. You can do so.
[0052]
According to the information processing method of the present invention, first information unique to a communication control device and transmitted from another information processing device, and first identification information for identifying a service in the communication control device are provided. Receiving the request for notification of the first unique information and the first unique information of the communication control device in response to the request for notification of the first unique information and the first identification information received by the processing of the request receiving step. And a response output step of outputting a response including a notification of the first identification information, and an information transmission step of transmitting information to another information processing apparatus, wherein the processing of the information transmission step includes outputting information of the information processing apparatus. The second identification information for identifying the service to be provided is the same as the third identification information for identifying the service that outputs a response by the processing of the response output step of the information processing device.
[0053]
The program of the present invention is a program for transmitting first unique information, which is information unique to a communication control device, transmitted from another information processing device, and first identification information for identifying a service in the communication control device. Receiving the first request, and responding to the request for notifying the first unique information and the first identification information received by the processing of the request receiving step, 1) a response output step of outputting a response including a notification of the identification information; and an information transmission step of transmitting information to another information processing apparatus. The processing of the information transmission step is a service for outputting information of the information processing apparatus. Is characterized in that the second identification information for identifying the service is the same as the third identification information for identifying a service that outputs a response by the processing of the response output step of the information processing apparatus.
[0054]
A second network system according to the present invention includes a first information processing device, a communication control device connected to the first information processing device on a first side, and a second side of the communication control device via a network. A network system comprising a second information processing device connected to and connected to the first information processing device, for transmitting and receiving information to and from the first information processing device. Request means for requesting notification of first unique information which is unique information on the first side of the control device, first identification information for identifying a service in the communication control device, and a request from the request means Is received by the communication control device, the second unique information, which is unique information on the second side of the first information processing device, and the second identification for identifying the service in the first information processing device. Information to the first unique information And a first transfer unit for converting the request into the first identification information and transferring the request to the second information processing device; and transmitting the request from the first information processing device transferred from the first transfer unit to the second information processing device. A response output unit that outputs a request including the requested first unique information and a notification of the first identification information to the first information processing device, Is received by the communication control device, the first unique information and the first identification information are converted into the second unique information and the second identification information, and the response is transferred to the first information processing device. A second transfer unit, a response receiving unit that receives a response from the second information processing device transferred from the second transfer unit, and a case where the second information processing device starts transmitting information. Information transmitting means for transmitting information, and communication control of information from the information transmitting means; A third transfer for converting the first unique information and the first identification information into the second unique information and the second identification information when the apparatus receives the information, and transferring the information to the first information processing apparatus; Means, and information receiving means for receiving information from the second information processing device transferred from the third transfer means.
[0055]
The first unique information is a global IP address, the second unique information is a local IP address, the first identification information is a port number of a port on which the communication control device performs communication service, The second identification information may be a port number of a port on which the first information processing device provides communication service.
[0056]
According to a second communication method of the present invention, a first information processing device, a communication control device connected to the first information processing device on a first side, and a second side of the communication control device via a network. A communication method of a network system including a second information processing device connected to and connected to the first information processing device, for transmitting and receiving information to and from the first information processing device. Requesting notification of first unique information that is unique information on the first side of the communication control device, and first identification information for identifying a service in the communication control device; When the communication control device receives the request from the first information processing device, the second side of the first information processing device identifies the second unique information, which is unique information, and the service in the first information processing device. The second identification information is A first transfer step of converting the request into unique information and first identification information, and transferring the request to the second information processing apparatus; and a first information processing apparatus transferred by the processing of the first transfer step. Outputting the requested first unique information and a response including a notification of the first identification information to the first information processing device when the second information processing device receives the request by the second information processing device. When the communication control device receives a response by the process of the response output step, the first unique information and the first identification information are converted into the second unique information and the second identification information, and the response is converted to the first unique information. A second transfer step of transferring the information to the second information processing apparatus, a response receiving step of receiving the response from the second information processing apparatus transferred by the processing of the second transfer step, and a transmission of the information to the second information processing apparatus. When the information processing device starts When the communication control device receives the information transmitted in the information transmitting step of transmitting information and the information transmitted in the information transmitting step, the first unique information and the first identification information are replaced with the second unique information and the second unique information. A third transfer step of converting the information into identification information and transferring the information to the first information processing apparatus, and information receiving the information from the second information processing apparatus transferred by the processing of the third transfer step Receiving step.
[0057]
The second information processing apparatus of the present invention requests another information processing apparatus to notify of unique information that is information unique to the communication control apparatus and identification information for identifying a service in the communication control apparatus. Requesting means, a response receiving means for receiving a response corresponding to the request from the requesting means, the response including a notification of the unique information and the identification information, transmitted from the other information processing apparatus, and the other information processing apparatus. And an information transmitting means for transmitting information to another information processing apparatus.
[0058]
The unique information may be a global IP address, and the identification information may be a port number of a port on which the communication control device provides communication service.
[0059]
The third information processing apparatus of the present invention is configured to transmit a unique information, which is information unique to the communication control apparatus, transmitted from another information processing apparatus, and a notification of identification information for identifying a service in the communication control apparatus. Request receiving means for receiving a request, and response output means for outputting a response including notification of the unique information and identification information of the communication control device in response to the request for notification of the unique information and identification information received by the request receiving means And information transmitting means for transmitting information to another information processing apparatus.
[0060]
The unique information may be a global IP address, and the identification information may be a port number of a port on which the communication control device provides communication service.
[0061]
According to the first aspect of the present invention, the first information processing apparatus identifies, from the second information processing apparatus, first unique information which is information unique to the communication control apparatus and a service in the communication control apparatus. Requesting notification of the first identification information for the communication control device, the second information processing device transmits a response including the first unique information and the first identification information of the communication control device to the first information processing device I do. Further, when transmitting information to the first information processing apparatus, the second information processing apparatus uses third identification information for identifying a service for transmitting the information and information for identifying a service for outputting a response. The same as the fourth identification information.
[0062]
In the second aspect of the present invention, a request for notification of first unique information, which is information unique to the communication control device, and first identification information for identifying a service in the communication control device is issued from another information processing device. When received, a response including a notification of the first unique information and the first identification information of the communication control device is output in response to the request. When transmitting information to another information processing apparatus, the second identification information for identifying the service that outputs information is the same as the third identification information for identifying the service that outputs a response.
[0063]
In the third invention of the present application, the first information processing apparatus identifies the first unique information, which is information unique to the communication control device, and the service in the communication control device from the second information processing device. Requesting notification of the first identification information for the communication control device, the second information processing device transmits a response including the first unique information and the first identification information of the communication control device to the first information processing device I do.
[0064]
According to the fourth aspect of the present invention, notification of first identification information, which is information unique to the communication control device, and first identification information for identifying a service in the communication control device, to another information processing device. Is received, and a response corresponding to the request transmitted from another information processing apparatus is received.
[0065]
According to the fifth aspect of the present invention, a request for notification of first unique information, which is information unique to the communication control device, and first identification information for identifying a service in the communication control device is issued from another information processing device. Is received, in response to this request, a response including the first unique information and the first identification information of the communication control device is output and transmitted to another information processing device.
[0066]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 8 shows a configuration example of a network system to which the present invention is applied.
[0067]
The
[0068]
The
[0069]
The
[0070]
The
[0071]
The
[0072]
Now, it is assumed that each of the
[0073]
That is, the local address of the
[0074]
The local address of the
[0075]
The global address of the
[0076]
That is, the ports of the
[0077]
The communication process between the
[0078]
In step S101, the global
[0079]
The packet (inquiry packet (notification request packet)) output from the global
[0080]
Specifically, the
[0081]
The packet (inquiry packet) transmitted by the processing in step S131 is received by the global address inquiry response unit 241 of the
[0082]
In step S162, if the global address inquiry response unit 241 of the
[0083]
The response packet transmitted by the process of step S162 is received by the
[0084]
In the response packet transferred in the process of step S132, the address of the transmission destination (To) is 192.168.0.2:10000 (IP address: port number), and the address of the transmission source (From) is 11 .22.33.44: 20000 (IP address: port number), and is received by the
[0085]
It is assumed that, for example, in step S163, the global address
[0086]
The
[0087]
Most of all, since the
[0088]
In step S103, the
[0089]
The exchange of the global IP address: port can be performed by a subsequent method. When the
[0090]
On the other hand, in step S134, the
[0091]
When the
[0092]
On the other hand, in step S135, the
[0093]
As described above, the partner of the streaming communication (the
[0094]
Further, a STUN server unit (STUN
[0095]
Further, the port number of the STUN server unit 203 (in the case of FIG. 9, the port number of the
[0096]
However, at least one of the streaming communications (the
[0097]
Note that an internet service provider may be provided between the
[0098]
In the above description, the network is the Internet. However, the present invention can be applied to a case where a network other than the Internet is used. In addition, the client may be a PDA (Personal Digital Assistants), a mobile phone, or another information processing device other than the personal computer. Also, the router can be a communication control device that controls communication other than the router.
[0099]
Furthermore, in the above description, the global IP address, the local IP address, and the router are used. However, the global IP address may be other information as long as the information is unique to the device. Other information may be used as long as the information is unique within a limited range of the device. Also, the port number may be any other information as long as it is identification information for identifying a service in the device. Further, the service is, for example, predetermined stream information.
[0100]
The series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software executes various functions by installing a computer built in dedicated hardware or installing various programs. For example, it is installed in a general-purpose personal computer or the like from a network or a program storage medium. In this case, for example, the
[0101]
In FIG. 11, a CPU (Central Processing Unit) 301 performs various processes according to a program stored in a ROM (Read Only Memory) 302 or a program loaded from a
[0102]
The
[0103]
The input /
[0104]
A
[0105]
When a series of processing is executed by software, a program constituting the software is used to execute various functions by installing a computer incorporated in dedicated hardware or installing various programs. For example, it is installed in a general-purpose personal computer that can be executed from a network or a program storage medium.
[0106]
As shown in FIG. 11, the program storage medium is distributed separately from a computer to provide the program to a user. The program is recorded on a magnetic disk 321 (including a floppy disk) and an optical disk 322 (including a floppy disk). It is only constituted by a package medium including a CD-ROM (Compact Disc-Read Only Memory), a DVD (including a Digital Versatile Disc), a magneto-optical disk 323 (including an MD (Mini Disc)), a
[0107]
In this specification, a step of describing a computer program refers to not only a process performed in chronological order according to the described order, but also a process executed in parallel or individually even if not necessarily performed in chronological order. Is also included.
[0108]
【The invention's effect】
As described above, according to the first aspect of the present invention, information can be exchanged via a network using a communication control device having an address conversion function. In particular, according to the present invention, a dedicated device for notifying an address can be omitted from the network. Therefore, the configuration of the entire system can be simplified and the cost can be reduced. Further, according to the present invention, it is possible to perform communication regardless of the type of the communication control device without complicating the configuration of the network system and without increasing the cost.
[0109]
According to the second aspect of the present invention, information can be exchanged via a network using a communication control device having an address conversion function. In particular, according to the present invention, it is possible to perform communication independent of the type of communication control device without complicating the configuration of the network system and without increasing the cost.
[0110]
According to the third aspect of the present invention, information can be exchanged via a network using a communication control device having an address conversion function. In particular, according to the present invention, a dedicated device for notifying an address can be omitted from the network. Therefore, the configuration of the entire system can be simplified and the cost can be reduced.
[0111]
According to the fourth aspect of the present invention, information can be exchanged via a network using a communication control device having an address conversion function. In particular, according to the present invention, a dedicated device for notifying an address can be omitted from the network.
[0112]
According to the fifth aspect of the present invention, information can be exchanged via a network using a communication control device having an address conversion function.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of a network connected via a router having a conventional Full Cone NAT function.
FIG. 2 is a diagram illustrating a configuration example of a network connected via a router having a function of a conventional restricted cone NAT.
FIG. 3 is a diagram illustrating a configuration example of a network connected via a router having a function of a conventional Port Restricted Cone NAT.
FIG. 4 is a block diagram showing a configuration example of a network connected by using a conventional STUN.
FIG. 5 is a diagram illustrating the network of FIG. 4;
6 is a diagram illustrating streaming communication in the network of FIG.
FIG. 7 is an arrow chart for explaining processing in the network of FIG. 6;
FIG. 8 is a block diagram illustrating a configuration example of a network system to which the present invention has been applied.
FIG. 9 is a diagram illustrating addresses of the network system of FIG. 8;
FIG. 10 is an arrow chart illustrating processing in the network system of FIG. 8;
FIG. 11 is a block diagram illustrating a personal computer.
[Explanation of symbols]
120 client, 121 STUN client unit, 122 RTP reception unit, 123 STUN server unit, 124 RTP transmission unit, 141 global address inquiry unit, 142 global address reception unit, 161 global address inquiry response unit, 180 router, 181 address conversion unit, 200 client, 201 STUN client unit, 202 RTP reception unit, 203 STUN server unit, 204 RTP transmission unit, 221 global address inquiry unit, 222 global address reception unit, 241 global address inquiry response unit
Claims (16)
前記第1の情報処理装置から前記第2の情報処理装置に対して、前記通信制御装置の前記第1の側において固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求手段と、
前記要求手段からの前記要求を前記通信制御装置が受信した場合、前記第1の情報処理装置の前記第2の側において固有の情報である第2の固有情報および前記第1の情報処理装置内のサービスを識別するための第2の識別情報を、前記第1の固有情報および前記第1の識別情報に変換して、前記要求を前記第2の情報処理装置に転送する第1の転送手段と、
前記第1の転送手段から転送された、前記第1の情報処理装置による前記要求を前記第2の情報処理装置が受信した場合、要求された前記第1の固有情報と、前記第1の識別情報の通知を含む応答を前記第1の情報処理装置に対して出力する応答出力手段と、
前記応答出力手段からの前記応答を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記応答を前記第1の情報処理装置に転送する第2の転送手段と、
前記第2の転送手段から転送された、前記第2の情報処理装置からの前記応答を受信する応答受信手段と、
前記情報の送信を前記第2の情報処理装置が開始する場合、前記情報を送信するサービスを識別するための第3の識別情報を、前記応答を出力するサービスを識別するための第4の識別情報と同じに設定し、前記情報を送信する情報送信手段と、
前記情報送信手段からの前記情報を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記情報を前記第1の情報処理装置に転送する第3の転送手段と、
前記第3の転送手段から転送された、前記第2の情報処理装置からの前記情報を受信する情報受信手段と
を含むことを特徴とするネットワークシステム。A first information processing device, a communication control device connected to the first information processing device on a first side, and a first information processing device connected to a second side of the communication control device via a network; In a network system including a second information processing device that exchanges information with the information processing device,
From the first information processing device to the second information processing device, a first unique information which is unique information on the first side of the communication control device, and a service in the communication control device. Request means for requesting notification of first identification information for identification;
When the communication control device receives the request from the request means, the second unique information that is unique information on the second side of the first information processing device and the second unique information in the first information processing device First transfer means for converting the second identification information for identifying the service to the first unique information and the first identification information, and transferring the request to the second information processing apparatus When,
When the second information processing device receives the request by the first information processing device transferred from the first transfer unit, the requested first unique information and the first identification Response output means for outputting a response including a notification of information to the first information processing apparatus;
When the communication control device receives the response from the response output unit, the communication control device converts the first unique information and the first identification information into the second unique information and the second identification information. Second transfer means for transferring the response to the first information processing device;
Response receiving means for receiving the response from the second information processing device transferred from the second transfer means,
When the transmission of the information is started by the second information processing apparatus, the third identification information for identifying the service transmitting the information is replaced with the fourth identification for identifying the service outputting the response. Information transmitting means for setting the same as the information and transmitting the information,
When the communication control device receives the information from the information transmitting unit, the communication control device converts the first unique information and the first identification information into the second unique information and the second identification information. Third transfer means for transferring the information to the first information processing apparatus;
An information receiving unit for receiving the information from the second information processing device transferred from the third transfer unit.
前記第1の転送手段は、前記第1の識別情報を備える第2のポートから前記要求を転送し、
前記応答出力手段は、前記第4の識別情報を備える第3のポートから前記応答を出力し、
前記第2の転送手段は、前記第2のポートから前記応答を転送し、
前記応答受信手段は、前記第1のポートで前記応答を受信し、
前記情報送信手段は、前記第3の識別情報を備える前記第3のポートから前記情報を送信し、
前記第3の転送手段は、前記第2のポートから前記情報を転送し、
前記情報受信手段は、前記第1のポートで前記情報を受信する
ことを特徴とする請求項1に記載のネットワークシステム。The request means transmits the request from a first port including the second identification information,
The first transfer means transfers the request from a second port including the first identification information;
The response output means outputs the response from a third port including the fourth identification information,
The second transfer means transfers the response from the second port,
The response receiving means receives the response at the first port,
The information transmitting unit transmits the information from the third port including the third identification information,
The third transfer means transfers the information from the second port,
The network system according to claim 1, wherein the information receiving unit receives the information at the first port.
前記第2の固有情報は、ローカルIPアドレスであり、
前記第1の識別情報は、前記通信制御装置が通信のサービスを行なうポートのポート番号であり、
前記第2の識別情報は、前記第1の情報処理装置が通信のサービスを行なうポートのポート番号であり、
前記第3の識別情報は、前記第2の情報処理装置が前記情報を送信するサービスを行なうポートのポート番号であり、
前記第4の識別情報は、前記第2の情報処理装置が、前記応答を出力するサービスを行なうポートのポート番号である
ことを特徴とする請求項1に記載のネットワークシステム。The first unique information is a global IP address,
The second unique information is a local IP address,
The first identification information is a port number of a port on which the communication control device provides communication service,
The second identification information is a port number of a port through which the first information processing device provides communication service,
The third identification information is a port number of a port that performs a service for transmitting the information by the second information processing device,
2. The network system according to claim 1, wherein the fourth identification information is a port number of a port that performs a service for outputting the response from the second information processing apparatus.
前記第1の情報処理装置から前記第2の情報処理装置に対して、前記通信制御装置の前記第1の側において固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求ステップと、
前記要求ステップの処理による前記要求を前記通信制御装置が受信した場合、前記第1の情報処理装置の前記第2の側において固有の情報である第2の固有情報および前記第1の情報処理装置内のサービスを識別するための第2の識別情報を、前記第1の固有情報および前記第1の識別情報に変換して、前記要求を前記第2の情報処理装置に転送する第1の転送ステップと、
前記第1の転送ステップの処理により転送された、前記第1の情報処理装置による前記要求を前記第2の情報処理装置が受信した場合、要求された前記第1の固有情報と、前記第1の識別情報の通知を含む応答を前記第1の情報処理装置に対して出力する応答出力ステップと、
前記応答出力ステップの処理による前記応答を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記応答を前記第1の情報処理装置に転送する第2の転送ステップと、
前記第2の転送ステップの処理により転送された、前記第2の情報処理装置からの前記応答を受信する応答受信ステップと、
前記情報の送信を前記第2の情報処理装置が開始する場合、前記情報を送信するサービスを識別するための第3の識別情報を、前記応答を出力するサービスを識別するための第4の識別情報と同じに設定し、前記情報を送信する情報送信ステップと、
前記情報送信ステップの処理により送信された前記情報を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記情報を前記第1の情報処理装置に転送する第3の転送ステップと、
前記第3の転送ステップの処理により転送された、前記第2の情報処理装置からの前記情報を受信する情報受信ステップと
を含むことを特徴とする通信方法。A first information processing device, a communication control device connected to the first information processing device on a first side, and a first information processing device connected to a second side of the communication control device via a network; In a communication method of a network system including a second information processing device that exchanges information with an information processing device,
From the first information processing device to the second information processing device, a first unique information which is unique information on the first side of the communication control device, and a service in the communication control device. Requesting a request for notification of first identification information for identification;
When the communication control device receives the request by the processing of the requesting step, the second unique information, which is unique information on the second side of the first information processing device, and the first information processing device First transfer for converting second identification information for identifying a service within the first into the first unique information and the first identification information, and transferring the request to the second information processing apparatus Steps and
When the second information processing device receives the request by the first information processing device transferred by the processing of the first transfer step, the requested first unique information and the first A response output step of outputting a response including a notification of the identification information to the first information processing apparatus;
When the communication control device receives the response by the process of the response output step, the communication control device converts the first unique information and the first identification information into the second unique information and the second identification information. A second transfer step of transferring the response to the first information processing apparatus;
A response receiving step of receiving the response from the second information processing device transferred by the processing of the second transfer step;
When the transmission of the information is started by the second information processing apparatus, the third identification information for identifying the service transmitting the information is replaced with the fourth identification for identifying the service outputting the response. Setting the same as the information, an information transmitting step of transmitting the information,
When the communication control device receives the information transmitted by the process of the information transmitting step, the first unique information and the first identification information are replaced with the second unique information and the second identification information. A third transfer step of converting the information to the first information processing apparatus;
An information receiving step of receiving the information from the second information processing device transferred by the processing of the third transfer step.
前記他の情報処理装置から送信された、前記通信制御装置に固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知の要求を受信する要求受信手段と、
前記要求受信手段により受信された前記第1の固有情報と前記第1の識別情報の通知の要求に対応して、前記通信制御装置の前記第1の固有情報と前記第1の識別情報の通知を含む応答を出力する応答出力手段と、
前記他の情報処理装置に前記情報を送信する情報送信手段とを備え、
前記情報送信手段は、前記情報処理装置の前記情報を出力するサービスを識別するための第2の識別情報を、前記情報処理装置の前記応答出力手段が前記応答を出力するサービスを識別するための第3の識別情報と同じとする
ことを特徴とする情報処理装置。Another information processing device connected to a network via a communication control device, and an information processing device for exchanging information via the network,
A request for notification of first unique information, which is information unique to the communication control device, transmitted from the other information processing device, and first identification information for identifying a service in the communication control device. Request receiving means for receiving;
In response to the request for notification of the first unique information and the first identification information received by the request receiving unit, notification of the first unique information and the first identification information of the communication control device. Response output means for outputting a response including
Information transmitting means for transmitting the information to the other information processing apparatus,
The information transmitting means may include second identification information for identifying a service of the information processing apparatus that outputs the information, and a second identification information of the information processing apparatus for identifying a service that outputs the response. An information processing apparatus, wherein the information is the same as the third identification information.
前記応答出力手段により出力される、前記通信制御装置の前記第1の固有情報と前記第1の識別情報の通知を含む応答には、送信元を表わす情報として、前記第2の固有情報と前記第3の識別情報が含まれ、送信先を表わす情報として、前記通信制御装置の前記第1の固有情報と前記第1の識別情報が含まれ、
前記情報送信手段により送信される前記情報には、送信元を表わす情報として、前記第2の固有情報と前記第2の識別情報が含まれ、送信先を表わす情報として、前記通信制御装置の前記第1の固有情報と前記第1の識別情報が含まれる
ことを特徴とする請求項5に記載の情報処理装置。In the request for notification of the first unique information and the first identification information received by the request receiving unit, the first unique information of the communication control device and the 1 information, and as information indicating the transmission destination, the second unique information that is information unique to the information processing apparatus and the third identification information for identifying a service in the information processing apparatus are included. Included
The response output by the response output means and including the notification of the first unique information and the first identification information of the communication control device includes, as information representing a transmission source, the second unique information and The first identification information and the first identification information of the communication control device are included as information indicating a transmission destination, including third identification information,
The information transmitted by the information transmitting means includes the second unique information and the second identification information as information indicating a transmission source, and the information of the communication control device as information indicating a transmission destination. The information processing apparatus according to claim 5, wherein the information processing apparatus includes first unique information and the first identification information.
前記第2の固有情報は、グローバルIPアドレスであり、
前記第1の識別情報は、前記通信制御装置が通信のサービスを行なうポートのポート番号であり、
前記第2の識別情報は、前記情報処理装置が前記情報を送信するサービスを行なうポートのポート番号であり、
前記第3の識別情報は、前記情報処理装置が、前記応答を出力するサービスを行なうポートのポート番号である
ことを特徴とする請求項6に記載の情報処理装置。The first unique information is a global IP address,
The second unique information is a global IP address,
The first identification information is a port number of a port on which the communication control device provides communication service,
The second identification information is a port number of a port that performs a service for transmitting the information by the information processing device,
7. The information processing apparatus according to claim 6, wherein the third identification information is a port number of a port that performs a service for outputting the response.
前記他の情報処理装置から送信された、前記通信制御装置に固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知の要求を受信する要求受信ステップと、
前記要求受信ステップの処理により受信された前記第1の固有情報と前記第1の識別情報の通知の要求に対応して、前記通信制御装置の前記第1の固有情報と前記第1の識別情報の通知を含む応答を出力する応答出力ステップと、
前記他の情報処理装置に前記情報を送信する情報送信ステップとを含み、
前記情報送信ステップの処理は、前記情報処理装置の前記情報を出力するサービスを識別するための第2の識別情報を、前記情報処理装置の前記応答出力ステップの処理により前記応答を出力するサービスを識別するための第3の識別情報と同じとする
ことを特徴とする情報処理方法。Another information processing apparatus connected to a network via a communication control apparatus, and an information processing method of an information processing apparatus for exchanging information via the network,
A request for notification of first unique information, which is information unique to the communication control device, transmitted from the other information processing device, and first identification information for identifying a service in the communication control device. A request receiving step to receive;
In response to the request for notification of the first unique information and the first identification information received in the processing of the request receiving step, the first unique information and the first identification information of the communication control device are provided. A response output step of outputting a response including a notification of
Information transmission step of transmitting the information to the other information processing apparatus,
The process of the information transmitting step includes: providing second identification information for identifying a service of the information processing apparatus that outputs the information; and processing of outputting the response by the processing of the response output step of the information processing apparatus. An information processing method, wherein the information is the same as the third identification information for identification.
前記他の情報処理装置から送信された、前記通信制御装置に固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知の要求を受信する要求受信ステップと、
前記要求受信ステップの処理により受信された前記第1の固有情報と前記第1の識別情報の通知の要求に対応して、前記通信制御装置の前記第1の固有情報と前記第1の識別情報の通知を含む応答を出力する応答出力ステップと、
前記他の情報処理装置に前記情報を送信する情報送信ステップとを含み、
前記情報送信ステップの処理は、前記情報処理装置の前記情報を出力するサービスを識別するための第2の識別情報を、前記情報処理装置の前記応答出力ステップの処理により前記応答を出力するサービスを識別するための第3の識別情報と同じとする
ことを特徴とするプログラム。Another information processing device connected to a network through a communication control device, a computer-executable program that controls an information processing device that transmits and receives information via the network,
A request for notification of first unique information, which is information unique to the communication control device, transmitted from the other information processing device, and first identification information for identifying a service in the communication control device. A request receiving step to receive;
In response to the request for notification of the first unique information and the first identification information received in the processing of the request receiving step, the first unique information and the first identification information of the communication control device are provided. A response output step of outputting a response including a notification of
Information transmission step of transmitting the information to the other information processing apparatus,
The process of the information transmitting step includes: providing second identification information for identifying a service of the information processing apparatus that outputs the information; and processing of outputting the response by the processing of the response output step of the information processing apparatus. A program characterized by being the same as third identification information for identification.
前記第1の情報処理装置から前記第2の情報処理装置に対して、前記通信制御装置の前記第1の側において固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求手段と、
前記要求手段からの前記要求を前記通信制御装置が受信した場合、前記第1の情報処理装置の前記第2の側において固有の情報である第2の固有情報および前記第1の情報処理装置内のサービスを識別するための第2の識別情報を、前記第1の固有情報および前記第1の識別情報に変換して、前記要求を前記第2の情報処理装置に転送する第1の転送手段と、
前記第1の転送手段から転送された、前記第1の情報処理装置による前記要求を前記第2の情報処理装置が受信した場合、要求された前記第1の固有情報と、前記第1の識別情報の通知を含む応答を前記第1の情報処理装置に対して出力する応答出力手段と、
前記応答出力手段からの前記応答を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記応答を前記第1の情報処理装置に転送する第2の転送手段と、
前記第2の転送手段から転送された、前記第2の情報処理装置からの前記応答を受信する応答受信手段と、
前記情報の送信を前記第2の情報処理装置が開始する場合、前記情報を送信する情報送信手段と、
前記情報送信手段からの前記情報を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記情報を前記第1の情報処理装置に転送する第3の転送手段と、
前記第3の転送手段から転送された、前記第2の情報処理装置からの前記情報を受信する情報受信手段と
を含むことを特徴とするネットワークシステム。A first information processing device, a communication control device connected to the first information processing device on a first side, and a first information processing device connected to a second side of the communication control device via a network; In a network system including a second information processing device that exchanges information with the information processing device,
From the first information processing device to the second information processing device, a first unique information which is unique information on the first side of the communication control device, and a service in the communication control device. Request means for requesting notification of first identification information for identification;
When the communication control device receives the request from the request means, the second unique information that is unique information on the second side of the first information processing device and the second unique information in the first information processing device First transfer means for converting the second identification information for identifying the service to the first unique information and the first identification information, and transferring the request to the second information processing apparatus When,
When the second information processing device receives the request by the first information processing device transferred from the first transfer unit, the requested first unique information and the first identification Response output means for outputting a response including a notification of information to the first information processing apparatus;
When the communication control device receives the response from the response output unit, the communication control device converts the first unique information and the first identification information into the second unique information and the second identification information. Second transfer means for transferring the response to the first information processing device;
Response receiving means for receiving the response from the second information processing device transferred from the second transfer means,
An information transmitting unit that transmits the information when the second information processing device starts transmitting the information;
When the communication control device receives the information from the information transmitting unit, the communication control device converts the first unique information and the first identification information into the second unique information and the second identification information. Third transfer means for transferring the information to the first information processing apparatus;
An information receiving unit for receiving the information from the second information processing device transferred from the third transfer unit.
前記第2の固有情報は、ローカルIPアドレスであり、
前記第1の識別情報は、前記通信制御装置が通信のサービスを行なうポートのポート番号であり、
前記第2の識別情報は、前記第1の情報処理装置が通信のサービスを行なうポートのポート番号である
ことを特徴とする請求項10に記載のネットワークシステム。The first unique information is a global IP address,
The second unique information is a local IP address,
The first identification information is a port number of a port on which the communication control device provides communication service,
11. The network system according to claim 10, wherein the second identification information is a port number of a port on which the first information processing device provides a communication service.
前記第1の情報処理装置から前記第2の情報処理装置に対して、前記通信制御装置の前記第1の側において固有の情報である第1の固有情報と、前記通信制御装置内のサービスを識別するための第1の識別情報の通知を要求する要求ステップと、
前記要求ステップの処理による前記要求を前記通信制御装置が受信した場合、前記第1の情報処理装置の前記第2の側において固有の情報である第2の固有情報および前記第1の情報処理装置内のサービスを識別するための第2の識別情報を、前記第1の固有情報および前記第1の識別情報に変換して、前記要求を前記第2の情報処理装置に転送する第1の転送ステップと、
前記第1の転送ステップの処理により転送された、前記第1の情報処理装置による前記要求を前記第2の情報処理装置が受信した場合、要求された前記第1の固有情報と、前記第1の識別情報の通知を含む応答を前記第1の情報処理装置に対して出力する応答出力ステップと、
前記応答出力ステップの処理による前記応答を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記応答を前記第1の情報処理装置に転送する第2の転送ステップと、
前記第2の転送ステップの処理により転送された、前記第2の情報処理装置からの前記応答を受信する応答受信ステップと、
前記情報の送信を前記第2の情報処理装置が開始する場合、前記情報を送信する情報送信ステップと、
前記情報送信ステップの処理により送信された前記情報を前記通信制御装置が受信した場合、前記第1の固有情報および前記第1の識別情報を、前記第2の固有情報および前記第2の識別情報に変換して、前記情報を前記第1の情報処理装置に転送する第3の転送ステップと、
前記第3の転送ステップの処理により転送された、前記第2の情報処理装置からの前記情報を受信する情報受信ステップと
を含むことを特徴とする通信方法。A first information processing device, a communication control device connected to the first information processing device on a first side, and a first information processing device connected to a second side of the communication control device via a network; In a communication method of a network system including a second information processing device that exchanges information with an information processing device,
From the first information processing device to the second information processing device, a first unique information which is unique information on the first side of the communication control device, and a service in the communication control device. Requesting a request for notification of first identification information for identification;
When the communication control device receives the request by the processing of the requesting step, the second unique information, which is unique information on the second side of the first information processing device, and the first information processing device First transfer for converting second identification information for identifying a service within the first into the first unique information and the first identification information, and transferring the request to the second information processing apparatus Steps and
When the second information processing device receives the request by the first information processing device transferred by the processing of the first transfer step, the requested first unique information and the first A response output step of outputting a response including a notification of the identification information to the first information processing apparatus;
When the communication control device receives the response by the process of the response output step, the communication control device converts the first unique information and the first identification information into the second unique information and the second identification information. A second transfer step of transferring the response to the first information processing apparatus;
A response receiving step of receiving the response from the second information processing device transferred by the processing of the second transfer step;
An information transmitting step of transmitting the information when the second information processing apparatus starts transmitting the information;
When the communication control device receives the information transmitted by the process of the information transmitting step, the first unique information and the first identification information are replaced with the second unique information and the second identification information. A third transfer step of converting the information to the first information processing apparatus;
An information receiving step of receiving the information from the second information processing device transferred by the processing of the third transfer step.
前記他の情報処理装置に対して、前記通信制御装置に固有の情報である固有情報と、前記通信制御装置内のサービスを識別するための識別情報の通知を要求する要求手段と、
前記他の情報処理装置から送信された、前記要求手段の要求に対応する応答であって、前記固有情報と前記識別情報の通知を含む応答を受信する応答受信手段と、
前記他の情報処理装置から送信された情報を受信する情報受信手段と、
前記他の情報処理装置に情報を送信する情報送信手段と
を備えることを特徴とする情報処理装置。In an information processing device that exchanges information with another information processing device via a communication control device and a network connected thereto,
Requesting means for requesting notification of identification information for identifying a service in the communication control device, to the other information processing device, unique information that is information unique to the communication control device,
Response receiving means for receiving a response transmitted from the other information processing apparatus, the response corresponding to the request of the requesting means, the response including a notification of the unique information and the identification information,
Information receiving means for receiving information transmitted from the other information processing apparatus,
An information processing apparatus comprising: an information transmission unit that transmits information to the another information processing apparatus.
前記識別情報は、前記通信制御装置が通信のサービスを行なうポートのポート番号である
ことを特徴とする請求項13に記載の情報処理装置。The unique information is a global IP address,
14. The information processing apparatus according to claim 13, wherein the identification information is a port number of a port on which the communication control device provides a communication service.
前記他の情報処理装置から送信された、前記通信制御装置に固有の情報である固有情報と、前記通信制御装置内のサービスを識別するための識別情報の通知の要求を受信する要求受信手段と、
前記要求受信手段により受信された前記固有情報と前記識別情報の通知の要求に対応して、前記通信制御装置の前記固有情報と前記識別情報の通知を含む応答を出力する応答出力手段と、
前記他の情報処理装置に情報を送信する情報送信手段と
を備えることを特徴とする情報処理装置。In an information processing device that exchanges information via a network with another information processing device connected to the communication control device,
A request receiving unit that receives a request for notification of identification information for identifying a service in the communication control device, and unique information that is transmitted from the other information processing device and is unique to the communication control device. ,
Response output means for outputting a response including the notification of the unique information and the identification information of the communication control device, in response to the request for notification of the unique information and the identification information received by the request receiving means,
An information processing apparatus comprising: an information transmission unit that transmits information to the another information processing apparatus.
前記識別情報は、前記通信制御装置が通信のサービスを行なうポートのポート番号である
ことを特徴とする請求項15に記載の情報処理装置。The unique information is a global IP address,
16. The information processing apparatus according to claim 15, wherein the identification information is a port number of a port on which the communication control device provides a communication service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002262002A JP4078594B2 (en) | 2002-09-06 | 2002-09-06 | Information processing apparatus and method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002262002A JP4078594B2 (en) | 2002-09-06 | 2002-09-06 | Information processing apparatus and method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2004104357A true JP2004104357A (en) | 2004-04-02 |
JP2004104357A5 JP2004104357A5 (en) | 2005-10-27 |
JP4078594B2 JP4078594B2 (en) | 2008-04-23 |
Family
ID=32262200
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002262002A Expired - Fee Related JP4078594B2 (en) | 2002-09-06 | 2002-09-06 | Information processing apparatus and method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4078594B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006049251A1 (en) * | 2004-11-08 | 2006-05-11 | Matsushita Electric Industrial Co., Ltd. | Communication terminal, and communication method |
JP2006261895A (en) * | 2005-03-16 | 2006-09-28 | Matsushita Electric Ind Co Ltd | Information processing device, port detection device, information processing method, and port detection method |
JP2006333245A (en) * | 2005-05-27 | 2006-12-07 | Fujitsu Ltd | Network system and communication method |
JP2007060281A (en) * | 2005-08-24 | 2007-03-08 | Matsushita Electric Ind Co Ltd | Ip communication device and its controlling method |
JP2008226039A (en) * | 2007-03-14 | 2008-09-25 | Nippon Telegr & Teleph Corp <Ntt> | INTERNET STORAGE NAME SERVICE (iSNS) METHOD, SERVER AND PROGRAM |
US7542466B2 (en) | 2003-11-14 | 2009-06-02 | Sony Corporation | System and method of information communication, information processing apparatus and information processing method, program and recording medium |
JP2010283594A (en) * | 2009-06-04 | 2010-12-16 | Panasonic Corp | Communication device, and method of determining communication possibility |
JP2011205706A (en) * | 2011-07-12 | 2011-10-13 | Canon Inc | Receiver, method, and program |
-
2002
- 2002-09-06 JP JP2002262002A patent/JP4078594B2/en not_active Expired - Fee Related
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7542466B2 (en) | 2003-11-14 | 2009-06-02 | Sony Corporation | System and method of information communication, information processing apparatus and information processing method, program and recording medium |
WO2006049251A1 (en) * | 2004-11-08 | 2006-05-11 | Matsushita Electric Industrial Co., Ltd. | Communication terminal, and communication method |
JPWO2006049251A1 (en) * | 2004-11-08 | 2008-05-29 | 松下電器産業株式会社 | Communication terminal and communication method |
CN101053218B (en) * | 2004-11-08 | 2011-07-20 | 松下电器产业株式会社 | Communication terminal, and communication method |
US7558249B2 (en) | 2004-11-08 | 2009-07-07 | Panasonic Corporation | Communication terminal, and communication method |
JP4667390B2 (en) * | 2004-11-08 | 2011-04-13 | パナソニック株式会社 | Communication terminal and communication method |
JP4665568B2 (en) * | 2005-03-16 | 2011-04-06 | パナソニック株式会社 | Information processing apparatus, port detection apparatus, information processing method, and port detection method |
JP2006261895A (en) * | 2005-03-16 | 2006-09-28 | Matsushita Electric Ind Co Ltd | Information processing device, port detection device, information processing method, and port detection method |
JP2006333245A (en) * | 2005-05-27 | 2006-12-07 | Fujitsu Ltd | Network system and communication method |
JP4557803B2 (en) * | 2005-05-27 | 2010-10-06 | 富士通株式会社 | Network system and communication method |
JP2007060281A (en) * | 2005-08-24 | 2007-03-08 | Matsushita Electric Ind Co Ltd | Ip communication device and its controlling method |
JP2008226039A (en) * | 2007-03-14 | 2008-09-25 | Nippon Telegr & Teleph Corp <Ntt> | INTERNET STORAGE NAME SERVICE (iSNS) METHOD, SERVER AND PROGRAM |
JP2010283594A (en) * | 2009-06-04 | 2010-12-16 | Panasonic Corp | Communication device, and method of determining communication possibility |
JP2011205706A (en) * | 2011-07-12 | 2011-10-13 | Canon Inc | Receiver, method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP4078594B2 (en) | 2008-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7245622B2 (en) | Allowing IPv4 clients to communicate over an IPv6 network when behind a network address translator with reduced server workload | |
US7272650B2 (en) | Communication protocols operable through network address translation (NAT) type devices | |
EP2005694B1 (en) | A node | |
EP2112788B1 (en) | A method and node for p2p content sharing | |
CA2884683C (en) | Split network address translation | |
JP2002176432A (en) | Communication relay system, communication relay method, and communication terminal, and program storage medium | |
CN107257389A (en) | Cooperative nat behavior is found | |
KR100607993B1 (en) | System and method for communication between heterogeneous networks | |
KR20040104929A (en) | Ip multicast distribution system, streaming data distribution system and program therefor | |
US20130117460A1 (en) | Data management methods for use in a network system and network systems using the same | |
JP6291085B2 (en) | Load distribution apparatus, load distribution method and program | |
CN111711705B (en) | Method and device for realizing network connection based on bidirectional NAT (network Address translation) by proxy node | |
JP5091887B2 (en) | Terminal device, communication processing method, and program | |
US20050111486A1 (en) | Device and method for controlling network devices located within private networks | |
JP4078594B2 (en) | Information processing apparatus and method, and program | |
JP2002141954A (en) | Communication relay device, communication relay method, and program storage medium | |
JP2022052742A (en) | Method and system for enhancing communication between ipv6 dedicated sip client and ipv4 dedicated server or client | |
JP2008236278A (en) | Communication connection method and communication apparatus | |
US20090092132A1 (en) | Method and device for translating internet protocol addresses inside a communications network | |
JP4019848B2 (en) | Address translation device | |
EP4175221A1 (en) | Method for accessing network, media gateway, electronic device, and storage medium | |
JP3920791B2 (en) | Call connection relay system, call connection relay device and program thereof, call connection request information conversion device and program thereof | |
JP5908411B2 (en) | Facilitates rapid establishment of human / machine communication links with private SIP-based IP networks by using pre-distributed static network address translation maps | |
JP2003224580A (en) | Network address converter | |
JP2010045451A (en) | Packet sorter, communication system, packet processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050906 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050906 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070926 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070928 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071012 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080110 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080123 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110215 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110215 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120215 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130215 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |