JP4207078B2 - Relay server - Google Patents

Relay server Download PDF

Info

Publication number
JP4207078B2
JP4207078B2 JP2006277183A JP2006277183A JP4207078B2 JP 4207078 B2 JP4207078 B2 JP 4207078B2 JP 2006277183 A JP2006277183 A JP 2006277183A JP 2006277183 A JP2006277183 A JP 2006277183A JP 4207078 B2 JP4207078 B2 JP 4207078B2
Authority
JP
Japan
Prior art keywords
relay server
relay
information
communication
server
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.)
Active
Application number
JP2006277183A
Other languages
Japanese (ja)
Other versions
JP2008098881A (en
Inventor
好史 谷本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2006277183A priority Critical patent/JP4207078B2/en
Priority to EP09003961A priority patent/EP2112805B1/en
Priority to EP07018963A priority patent/EP1926285B1/en
Priority to DE602007012475T priority patent/DE602007012475D1/en
Priority to US11/862,654 priority patent/US8316134B2/en
Priority to CN2007101520770A priority patent/CN101163082B/en
Publication of JP2008098881A publication Critical patent/JP2008098881A/en
Application granted granted Critical
Publication of JP4207078B2 publication Critical patent/JP4207078B2/en
Priority to US13/650,180 priority patent/US9294519B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、ワイドエリアネットワーク(WAN)を越えてローカルエリアネットワーク(LAN)内の通信端末同士が通信を行う技術に関する。   The present invention relates to a technique in which communication terminals in a local area network (LAN) communicate with each other over a wide area network (WAN).

SIP(Session Initiation Protocol)などの呼制御プロトコルや、DDNS(Dynamic Domain Name System)を利用して、異なるLANに存在する通信端末同士が、WANを越えて直接通信することが可能である。いわゆるVPN(Virtual Private Network)と呼ばれる技術であり、遠隔地にある異なるLANを、あたかも直接接続されているネットワークのように利用することができる。   Using a call control protocol such as SIP (Session Initiation Protocol) or DDNS (Dynamic Domain Name System), communication terminals existing in different LANs can communicate directly over the WAN. This is a so-called VPN (Virtual Private Network) technology, and different LANs at remote locations can be used as if they were directly connected networks.

このような技術を利用することで、たとえば、本社と支社の間のLANを接続し、それぞれのLANに接続された端末間で、インターネットを越えた通信などを行うことが可能である。   By using such a technique, for example, it is possible to connect a LAN between a head office and a branch office and perform communication across the Internet between terminals connected to each LAN.

特許文献1では、インターネットを越えて、異なるLANに接続された通信端末同士が通信を行うことを可能としている。この技術では、異なるLANに接続されている異なる通信端末が、それぞれゲートウェイを経由してインターネットに接続された中継サーバに対してログインし、中継サーバとの間でそれぞれ通信経路を確立するようにしている。そして、この通信経路を利用して、通信端末間でインターネットを越えて通信することを可能としている。この特許文献1の技術は、WAN上に存在する中継サーバを利用して、LAN間で通信を可能とする技術である。   In Patent Document 1, communication terminals connected to different LANs can communicate with each other over the Internet. In this technique, different communication terminals connected to different LANs log in to a relay server connected to the Internet via a gateway, and establish a communication path with the relay server. Yes. By using this communication path, communication between communication terminals can be performed across the Internet. The technique of Patent Document 1 is a technique that enables communication between LANs using a relay server existing on a WAN.

特開2002−217938号公報JP 2002-217938 A

VPNなどを利用すれば、異なるLANに接続された端末間で仮想的にプライベートなネットワークグループを構成することも可能である。しかし、この種のプライベートなネットワークグループでは、例えば、そのネットワークグループに参加している通信端末が異なるネットワークグループに移動した場合など、通信端末のアカウントの登録状況が変更される場合には簡単には対応できない、つまり、動的に対応できないという問題があった。   By using VPN or the like, it is possible to configure a virtual private network group between terminals connected to different LANs. However, in this kind of private network group, for example, when the registration status of the account of the communication terminal is changed, such as when the communication terminal participating in the network group moves to a different network group, it is easy. There was a problem that it could not be handled, that is, it could not be handled dynamically.

そこで、本発明は前記問題点に鑑み、通信端末の移動等により、プライベートなネットワークグループの登録状況が変動しても、動的に対応できる技術の提供を目的とする。   SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide a technique that can dynamically cope with changes in the registration status of a private network group due to movement of a communication terminal or the like.

本発明の中継サーバは、ローカルエリアネットワークに配置され、ワイドエリアネットワークに配置された外部サーバと通信可能な中継サーバであって、ローカルエリアネットワーク内の通信端末のアカウント情報を登録する手段と、自装置のアカウント情報を外部サーバに登録する手段と、外部サーバに登録されている他の中継サーバを指定して、他の中継サーバと直接通信可能な中継用の通信セッションを構築する手段と、他の中継サーバと、保持しているアカウント情報を交換する手段と、通信端末のアカウント情報をグループ化したグループ情報を登録する手段と、ローカルエリアネットワーク内の通信端末から他の通信端末のアカウントを指定した通信要求を受けると、保持しているグループ情報に基づいて両通信端末が同じグループに登録されているか否かを判断し、登録されている場合に、保持しているアカウント情報に基づいて中継サーバを決定し、その中継サーバとの中継用の通信セッションを通じて、通信端末間の通信データを中継する手段と、を備えることを特徴とする。   The relay server of the present invention is a relay server that is arranged in a local area network and can communicate with an external server arranged in a wide area network, and means for registering account information of communication terminals in the local area network, Means for registering device account information in an external server, means for specifying another relay server registered in the external server, establishing a communication session for relaying that can communicate directly with the other relay server, and others The other relay server, means for exchanging the account information held, means for registering group information that groups account information of communication terminals, and accounts for other communication terminals from communication terminals in the local area network When the received communication request is received, both communication terminals are set to the same group based on the stored group information. If it is registered, the relay server is determined based on the stored account information, and between the communication terminals through the relay communication session with the relay server. Means for relaying communication data.

請求項2に記載の本発明は、請求項1に記載の中継サーバにおいて、自装置がグループ情報を保持していない場合、他の中継サーバにグループ情報の送信を要求する手段、を備える中継サーバである。   According to a second aspect of the present invention, there is provided the relay server according to the first aspect, comprising: means for requesting another relay server to transmit the group information when the own apparatus does not hold the group information. It is.

請求項3に記載の本発明は、請求項1または請求項2に記載の中継サーバにおいて、他の中継サーバに、その中継サーバが保持しているグループ情報に変更が発生した場合に変更後のグループ情報の送信を要求する手段、を備える中継サーバである。   The present invention described in claim 3 is the relay server according to claim 1 or 2, wherein when the group information held by the relay server is changed in another relay server, the change is made. A relay server comprising means for requesting transmission of group information.

請求項4に記載の本発明は、請求項1ないし請求項3のいずれかに記載の中継サーバにおいて、通信端末からのグループ情報の送信要求を受け付けて、その通信端末に関するグループ情報を抽出して送信する手段、を備えることを特徴とする中継サーバである。   According to a fourth aspect of the present invention, the relay server according to any one of the first to third aspects of the present invention receives a group information transmission request from a communication terminal and extracts group information related to the communication terminal. A relay server comprising: means for transmitting.

請求項5に記載の本発明は、請求項1ないし請求項4のいずれかに記載の中継サーバにおいて、通信端末からグループ情報を受信して、保持しているグループ情報を更新する手段、を備えることを特徴とする中継サーバである。   According to a fifth aspect of the present invention, the relay server according to any one of the first to fourth aspects further comprises means for receiving group information from a communication terminal and updating the held group information. This is a relay server characterized by the above.

本発明の中継サーバを用いて通信システムを構築すれば、プライベートなネットワークを自在に構成して通信できる。そして、いずれか一つの中継サーバにおいて、グループ情報を登録あるいは更新すれば、他の中継サーバでは、中継サーバ間の送受信によって連鎖的にグループ情報の共有化が行われるため、簡単に対応できる。   If a communication system is constructed using the relay server of the present invention, a private network can be freely configured and communicated. If the group information is registered or updated in any one of the relay servers, the other relay servers can share the group information in a chained manner by transmission / reception between the relay servers.

以下、図面を参照しつつ本発明の実施の形態について説明する。図1は、本実施の形態に係る通信システムの全体図である。この通信システムは、インターネット3と、インターネット3に接続された3つのLAN1,2,5とから構成されている。LAN1,2,5とは、物理的に離れた場所に構築されたネットワークである。たとえば、LAN1が本社ビルに構築されたローカルネットワークであり、LAN2,5がそれぞれ別の支社ビルに構築されたローカルネットワークであり、これら3つのLAN1,2,5が、グローバルなネットワークであるインターネット3にそれぞれ接続されている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an overall view of a communication system according to the present embodiment. This communication system is composed of the Internet 3 and three LANs 1, 2, 5 connected to the Internet 3. The LANs 1, 2, and 5 are networks constructed in physically separated locations. For example, LAN 1 is a local network constructed in a head office building, LANs 2 and 5 are local networks constructed in separate branch office buildings, and these three LANs 1, 2, and 5 are the global networks Internet 3. Are connected to each.

{LAN}
各LAN1,2,5には、図1に示すように、通信端末11,12・21,22・51,52がそれぞれ接続されている。各通信端末には、それぞれLANの中でのみユニークに管理されたプライベートIPアドレスが付与されている。そして、各通信端末には、そのプライベートIPアドレスと対応付けられたアカウントが付与されている。本実施形態の通信システムでは、各LAN1,2,5上に存在する各通信端末11,・・・のアカウントは、全てネットワーク管理者などによって一元的に管理されている。その概念図を図2に示す。図2に示すように、各通信端末には、通信端末ごとにアカウントが付与されており、通信システム内でユニークに管理されている。したがって、各通信端末は、通信システム内にある限り、そのアカウントに基づいて通信端末が特定できるため、通信端末がLANを越えて移動しても、動的に対応できる。
{LAN}
As shown in FIG. 1, communication terminals 11, 12, 21, 22, 51, 52 are connected to the respective LANs 1, 2, 5. Each communication terminal is assigned a private IP address that is uniquely managed only within the LAN. Each communication terminal is given an account associated with the private IP address. In the communication system according to the present embodiment, the accounts of the communication terminals 11,... Existing on the LANs 1, 2, 5 are all managed by a network administrator or the like. The conceptual diagram is shown in FIG. As shown in FIG. 2, each communication terminal is given an account for each communication terminal and is uniquely managed in the communication system. Therefore, as long as each communication terminal is in the communication system, the communication terminal can be specified based on the account, so that even if the communication terminal moves beyond the LAN, it can dynamically cope with it.

また、各LAN1,2,5には、それぞれ中継サーバ13,23,53が接続されている。各中継サーバ13,23,53は、各LAN1,2,5に接続されるとともに、インターネット3にも接続されている。各中継サーバ13,23,53には、それぞれLANインタフェース用のプライベートIPアドレスとWANインタフェース用のグローバルIPアドレスが付与されている。そして、通信端末と同様に、各中継サーバにも、これらのIPアドレスと対応付けられたアカウントが付与されている。   In addition, relay servers 13, 23, and 53 are connected to the LANs 1, 2, and 5, respectively. Each relay server 13, 23, 53 is connected to each LAN 1, 2, 5 and also connected to the Internet 3. Each relay server 13, 23, 53 is assigned a private IP address for the LAN interface and a global IP address for the WAN interface. Similarly to the communication terminal, each relay server is also given an account associated with these IP addresses.

{インターネット}
インターネット3には、SIPサーバ4が接続されている。SIPサーバ4は、中継サーバ13,23,53がSIP(Session Initiation Protocol)を利用した通信を行うときに、SIPメソッドやレスポンスなどを中継するプロキシーサーバとしての機能や、中継サーバ13,23,53のアカウントを登録するSIPレジストラサーバとしての機能を備えている。
{the Internet}
A SIP server 4 is connected to the Internet 3. The SIP server 4 functions as a proxy server that relays SIP methods, responses, and the like when the relay servers 13, 23, and 53 perform communication using SIP (Session Initiation Protocol), and the relay servers 13, 23, and 53. Function as a SIP registrar server for registering the account.

{LANとインターネットとの関係}
例えば、LAN1に接続されている中継サーバ13は、SIPを利用して、LAN1に接続されている通信端末11,12等のアカウントを登録するSIPレジストラサーバとしての機能を備えている。
{Relationship between LAN and Internet}
For example, the relay server 13 connected to the LAN 1 has a function as a SIP registrar server that registers an account of the communication terminals 11 and 12 connected to the LAN 1 using SIP.

つまり、図3に示すように、中継サーバ13は、通信端末11,12との関係では、通信端末11,12から受信した登録要求(REGISTER)に基づいて、アカウントを登録するSIPレジストラサーバとして機能し、SIPサーバ4との関係では、SIPサーバ4に対してアカウントの登録要求(REGISTER)を送信するクライアントとして機能する。   That is, as shown in FIG. 3, the relay server 13 functions as a SIP registrar server that registers an account based on a registration request (REGISTER) received from the communication terminals 11 and 12 in relation to the communication terminals 11 and 12. In the relationship with the SIP server 4, it functions as a client that transmits an account registration request (REGISTER) to the SIP server 4.

同様に、LAN2,5に接続されている各中継サーバ23,53も、SIPを利用して、LAN2,5に接続されている通信端末21,22等、51,52等のアカウントを登録するSIPレジストラサーバとして機能するとともに、SIPサーバ4との関係では、クライアントとして機能する。   Similarly, each of the relay servers 23 and 53 connected to the LANs 2 and 5 also uses the SIP to register the accounts of the communication terminals 21 and 22 and the like 51 and 52 connected to the LANs 2 and 5. In addition to functioning as a registrar server, it functions as a client in relation to the SIP server 4.

{中継サーバ}
図4は、中継サーバ13,23,53の機能ブロック図である。中継サーバ13,23,53は、同様の機能を備えているので、同じ図面を用いて説明する。中継サーバ13,23,53は、LANインタフェース101、WANインタフェース102、通信制御部103、ローカルアカウント情報データベース104、中継情報データベース105、グループ情報データベース106を備えている。
{Relay server}
FIG. 4 is a functional block diagram of the relay servers 13, 23, and 53. Since the relay servers 13, 23, and 53 have the same function, they will be described using the same drawings. The relay servers 13, 23, and 53 include a LAN interface 101, a WAN interface 102, a communication control unit 103, a local account information database 104, a relay information database 105, and a group information database 106.

{LANインタフェース}
LANインタフェース101は、プライベートIPアドレスを利用して、LANに接続された通信端末との通信を行うインタフェースである。つまり、中継サーバ13は、LANインタフェース101を利用して、通信端末11,12等と通信を行い、中継サーバ23は、LANインタフェース101を利用して、通信端末21,22等と通信を行い、中継サーバ53は、LANインタフェース101を利用して、通信端末51,52等と通信を行う。
{LAN interface}
The LAN interface 101 is an interface that communicates with a communication terminal connected to a LAN using a private IP address. That is, the relay server 13 communicates with the communication terminals 11, 12, etc. using the LAN interface 101, and the relay server 23 communicates with the communication terminals 21, 22, etc. using the LAN interface 101, The relay server 53 communicates with the communication terminals 51 and 52 using the LAN interface 101.

{WANインタフェース}
WANインタフェース102は、グローバルIPアドレスを利用して、グローバルネットワークであるインターネット3に接続されたSIPサーバ4や、インターネット3に接続されたその他の通信サーバ、通信端末と通信を行うインタフェースである。なお、本実施の形態においては、中継サーバがWANインタフェースを備える構成としているが、WANとの接続はルータが行い、その配下に中継サーバを設置する形態であってもよい。
{WAN interface}
The WAN interface 102 is an interface that communicates with the SIP server 4 connected to the Internet 3, which is a global network, and other communication servers and communication terminals connected to the Internet 3 using a global IP address. In the present embodiment, the relay server is configured to include a WAN interface. However, the router may be connected to the WAN, and the relay server may be installed under the router.

{通信制御部}
通信制御部103は、LANインタフェース101およびWANインタフェース102を介して行う様々な通信を制御する処理部である。通信制御部103は、TCP/IPや、UDP、SIPなどのプロトコルに従った様々な通信処理を制御する。通信制御部103は、とくに、ローカルアカウント情報データベース104や中継情報データベース105、グループ情報データベース106を用いて、アカウント情報、中継情報、グループ情報の各情報の制御、および中継セッションの制御を行っている。次にこれらについて詳細に説明する。
{Communication control unit}
The communication control unit 103 is a processing unit that controls various communications performed via the LAN interface 101 and the WAN interface 102. The communication control unit 103 controls various communication processes according to protocols such as TCP / IP, UDP, and SIP. In particular, the communication control unit 103 uses the local account information database 104, the relay information database 105, and the group information database 106 to control account information, relay information, group information, and relay sessions. . Next, these will be described in detail.

{アカウント情報の制御}
通信制御部103は、LANに接続されている通信端末から、アカウントの登録要求(REGISTER)を受信し、その通信端末のアカウント情報をローカルアカウント情報データベース104に登録する。たとえば、中継サーバ13は、通信端末11からアカウントの登録要求(REGISTER)を受信し、通信端末11のアカウント情報をローカルアカウント情報データベース104に登録する。
{Account information control}
The communication control unit 103 receives an account registration request (REGISTER) from a communication terminal connected to the LAN, and registers the account information of the communication terminal in the local account information database 104. For example, the relay server 13 receives an account registration request (REGISTER) from the communication terminal 11 and registers the account information of the communication terminal 11 in the local account information database 104.

通信制御部103は、また、他の中継サーバとの間で、アカウント情報を交換し、自装置が保持するアカウント情報をその中継サーバに送信するとともに、その中継サーバが保持するアカウント情報を受信して自装置のローカルアカウント情報データベース104に登録する。そして、他の中継サーバに、その中継サーバが保持しているアカウント情報に変更が発生した場合、変更通知と変更後のアカウント情報とを継続して送信することを要求する変更通知設定を行い、自装置のアカウント情報に変更が発生した場合には、変更通知設定が行われている中継サーバに対して、変更通知と変更後のアカウント情報とを送信する。この処理は、SIPでは後述するように、SUBSCRIBEおよびNOTIFYのメソッドによる通知イベントを利用して行われる。通知イベントでは、通知イベントを実行する期間を設定することができる。オペレータ操作などによって、SUBSCRIBEメソッドを送信することにより、通知イベントを利用した変更通知設定が行われると、それ以降は、通知イベントが実行可能な期間中、SUBSCRIBEメソッドを受信した側の中継サーバのアカウント情報に変更が生じた場合、その都度、NOTIFYメソッドにより、SUBSCRIBEメソッドを送信した側の中継サーバに、変更通知と新たなアカウント情報の通知とが行われる。   The communication control unit 103 also exchanges account information with other relay servers, transmits account information held by the own device to the relay server, and receives account information held by the relay server. To the local account information database 104 of the own device. Then, when a change occurs in the account information held by the relay server to another relay server, a change notification setting is made to request that the change notification and the changed account information be continuously transmitted, When a change occurs in the account information of the own apparatus, the change notification and the account information after the change are transmitted to the relay server in which the change notification is set. This processing is performed in SIP using a notification event by SUBSCRIBE and NOTIFY methods, as will be described later. In the notification event, a period for executing the notification event can be set. When the change notification setting using the notification event is performed by transmitting the SUBSCRIBE method by an operator operation or the like, the account of the relay server on the side that has received the SUBSCRIBE method is subsequently executed during the period in which the notification event can be executed. When a change occurs in the information, a change notification and a notification of new account information are sent to the relay server on the side that sent the SUBSCRIBE method by the NOTIFY method each time.

通知されるアカウント情報は、ローカルアカウント情報データベース104に登録される。変更があれば、その都度、変更後の内容が登録され、継続的に更新される。   The notified account information is registered in the local account information database 104. If there is a change, the contents after the change are registered and continuously updated.

{中継情報の制御}
通信制御部103は、他の中継サーバとの間で構築されている中継用の通信セッションの中継経路情報を含む中継情報を交換する。そして、自装置が保持する中継情報をその中継サーバに送信するとともに、その中継サーバが保持する中継情報を受信して自装置の中継情報データベース105に登録する。また、他の中継サーバに、その中継サーバが保持している中継情報に変更が発生した場合、変更通知と変更後の中継情報とを継続して送信することを要求する変更通知設定を行う。自装置の中継情報に変更が発生した場合には、変更通知設定が行われている中継サーバに対して、変更通知と変更後の中継情報とを送信する。これらの処理は、先のアカウント情報の場合と同様に、SUBSCRIBEおよびNOTIFYのメソッドによる通知イベントを利用して行われる。
{Relay information control}
The communication control unit 103 exchanges relay information including relay route information of a relay communication session established with another relay server. Then, the relay information held by the own device is transmitted to the relay server, and the relay information held by the relay server is received and registered in the relay information database 105 of the own device. In addition, when a change occurs in the relay information held by the relay server, the change notification is set to request that the change notification and the relay information after the change are continuously transmitted to another relay server. When there is a change in the relay information of the own device, the change notification and the changed relay information are transmitted to the relay server in which the change notification is set. These processes are performed using notification events by the SUBSCRIBE and NOTIFY methods, as in the case of the previous account information.

通知される中継情報は、中継情報データベース105に登録される。変更があれば、その都度、変更後の内容が登録され、継続的に更新される。   The relay information to be notified is registered in the relay information database 105. If there is a change, the contents after the change are registered and continuously updated.

INVITEメソッドによって他の中継サーバと直接通信可能な中継用の通信セッションを構築する際、自装置の中継情報に変更が発生した場合に、変更通知設定が行われている中継サーバに対して、変更通知と変更後の中継情報とを送信するか否かを指定できる。つまり、送信しないことを指定した場合には、中継サーバは、他の中継サーバからのSUBSCRIBEメソッドの送信によって変更通知設定が行われても、それに基づくNOTIFYのメソッドによる中継情報の変更通知と変更後の中継情報の送信は行わない。   When a relay communication session that can communicate directly with another relay server by the INVITE method is established, if a change occurs in the relay information of the local device, the change is made to the relay server for which change notification is set You can specify whether to send notifications and changed relay information. In other words, when it is specified that transmission is not performed, the relay server, even if the change notification is set by transmission of the SUBSCRIBE method from another relay server, the relay information change notification by the NOTIFY method based on the change notification setting and after the change No relay information is transmitted.

また、同様に、INVITEメソッドによって他の中継サーバと直接通信可能な中継用の通信セッションを構築する際、この通信セッションによって形成される中継経路情報を、中継情報に含めるか否かについても指定できる。つまり、中継サーバは、この中継経路情報を中継情報に含めないことを指定することで、新たに構築される中継用の通信セッションを秘匿状態に保持することができる。   Similarly, when a relay communication session capable of directly communicating with another relay server is established by the INVITE method, it is possible to specify whether or not to include the relay route information formed by this communication session in the relay information. . That is, the relay server can hold the newly established relay communication session in a concealed state by designating that this relay route information is not included in the relay information.

{グループ情報の制御}
グループ情報は、ネットワーク上に仮想的に構成されるプライベートなネットワークグループの情報である。そこには、接続されているLANを越えてグループ化された一群の通信端末のアカウント情報が含まれる。例えば、本通信システムでは、図1の破線で示すように、通信端末11と通信端末21、通信端末21と通信端末51とは、それぞれが接続されているLANを越えてプライベートなネットワークグループとしてグループ化されている。このネットワークグループは、同じグループ内の通信端末間では通信可能であるが、グループ外の通信端末からの通信は受け付けない閉じたネットワークとなっている。中継サーバは、グループ情報を通信端末から受信することもできるし、中継サーバから受信することもできる。
{Control of group information}
The group information is information on a private network group that is virtually configured on the network. This includes account information of a group of communication terminals grouped over the connected LAN. For example, in this communication system, as shown by the broken line in FIG. 1, the communication terminal 11 and the communication terminal 21, and the communication terminal 21 and the communication terminal 51 are grouped as private network groups beyond the LAN to which they are connected. It has become. This network group is a closed network that can communicate between communication terminals in the same group, but does not accept communication from communication terminals outside the group. The relay server can receive the group information from the communication terminal and can also receive from the relay server.

そして、他の中継サーバに対し、その中継サーバが保持しているグループ情報に変更が発生した場合、変更通知と変更後のグループ情報とを継続して送信することを要求する変更通知設定を行う。自装置のグループ情報に変更が発生した場合には、変更通知設定が行われている中継サーバに対して、変更通知と変更後のグループ情報とを送信する。これらの処理は、先と同様に、SUBSCRIBEおよびNOTIFYのメソッドによる通知イベントを利用して行われる。   Then, when a change occurs in the group information held by the relay server, a change notification setting is made to request that another change server and the changed group information be continuously transmitted. . When a change occurs in the group information of the own device, the change notification and the changed group information are transmitted to the relay server in which the change notification setting is performed. These processes are performed using notification events by the SUBSCRIBE and NOTIFY methods, as before.

受信するグループ情報は、グループ情報データベース106に登録される。変更があれば、その都度、変更後の内容が登録され、継続的に更新される。   The received group information is registered in the group information database 106. If there is a change, the contents after the change are registered and continuously updated.

また、LANに接続されている通信端末からのグループ情報の送信要求を受け付けて、その通信端末が登録されているグループ情報だけを抽出して、返信する機能も備えている。したがって、通信端末を利用するユーザは、その通信端末と同じグループに参加している通信端末を容易に知ることができる。   Further, it has a function of accepting a group information transmission request from a communication terminal connected to the LAN, extracting only the group information in which the communication terminal is registered, and sending it back. Therefore, a user who uses a communication terminal can easily know a communication terminal participating in the same group as the communication terminal.

また、LANに接続されている通信端末から、編集されたグループ情報を受信して、自装置が保持しているグループ情報を更新する機能も備えている。したがって、いずれか一つの通信端末でグループ情報を編集して、その通信端末が接続されているLANの中継サーバに送信してそのグループ情報を更新すれば、先のグループ情報の変更通知設定によって、後は自動的に中継サーバ間で更新したグループ情報が送受信されて共有化される。そのため、通信端末の移動等によるプライベートなネットワークグループの登録内容に変更があっても、煩雑な手続きを要せず、極めてユーザーフレンドリーなシステムとなっている。   Also, it has a function of receiving edited group information from a communication terminal connected to the LAN and updating the group information held by the own apparatus. Therefore, if the group information is edited by any one communication terminal and transmitted to the relay server of the LAN to which the communication terminal is connected to update the group information, the change notification setting of the previous group information After that, the updated group information is automatically transmitted and received between the relay servers and shared. Therefore, even if there is a change in the registration contents of the private network group due to movement of the communication terminal or the like, the system is extremely user-friendly without requiring complicated procedures.

{中継セッションの制御}
通信制御部103は、相手側の中継サーバ13,23,53との間で、トネリングセッションを接続して維持する機能を備える。つまり、中継サーバ13,23,53は、いずれか一方から、SIPのINVITEメソッドを送信することで、中継サーバ13,23,53間でトネリングセッションを確立することができる。中継サーバ13,23,53の通信制御部103は、この確立されたトネリングセッションを維持することで、LAN1,2,5に接続された通信端末間の通信データを中継することが可能となる。
{Relay session control}
The communication control unit 103 has a function of connecting and maintaining a tunneling session with the relay server 13, 23, 53 on the other side. That is, the relay server 13, 23, 53 can establish a tunneling session between the relay servers 13, 23, 53 by transmitting the SIP INVITE method from either one. The communication control unit 103 of the relay servers 13, 23, 53 can relay communication data between the communication terminals connected to the LANs 1, 2, 5 by maintaining this established tunneling session. .

つまり、LAN1,2,5に接続された通信端末には、それぞれユニークなアカウントが付与されているため、互いに別のLAN1,2,5に配置された通信端末と通信する場合、宛先のユニークなアカウントが指定されることになる。しかし、このアカウントが指定されたSIPコマンドなどの通信データは、中継サーバ13,23,53間において、カプセル化され、他方の中継サーバ13,23,53に中継される。受信側の中継サーバ13,23,53は、中継されてきたSIPコマンドを取り出し、ユニークなアカウントを指定した通信データを、該当する通信端末に対して中継送信する。   In other words, each communication terminal connected to the LAN 1, 2, 5 is assigned a unique account. Therefore, when communicating with communication terminals arranged in different LANs 1, 2, 5, each other, An account will be specified. However, communication data such as a SIP command in which this account is specified is encapsulated between the relay servers 13, 23, 53 and relayed to the other relay server 13, 23, 53. The receiving-side relay servers 13, 23, and 53 take out the relayed SIP command, and relay-transmit the communication data specifying the unique account to the corresponding communication terminal.

通信制御部103は、間接的な中継制御も行う。すなわち、同じLAN内の通信端末から、他のLAN内の通信端末のアカウントを指定した通信要求を受けると、他の中継サーバから受信したアカウント情報から指定されたアカウントが登録されている中継サーバを決定する。そして、該当する中継サーバとの間で、直接通信可能な中継用の通信セッションが構築されているか否かを検出する。直接通信可能な中継用の通信セッションが構築されていない場合は、交換した中継情報から中継経路を決定して、中継経路上の中継サーバとの中継用の通信セッションを通じて、間接的に、通信端末間の通信データを中継する。   The communication control unit 103 also performs indirect relay control. That is, when a communication request specifying an account of a communication terminal in another LAN is received from a communication terminal in the same LAN, the relay server in which the account specified from the account information received from the other relay server is registered. decide. Then, it is detected whether or not a relay communication session capable of direct communication with the corresponding relay server is established. If a relay communication session capable of direct communication is not established, a relay route is determined from the exchanged relay information, and indirectly through a communication session for relay with a relay server on the relay route, the communication terminal Relay communication data between them.

そのほかにも通信制御部103は、SIPサーバ4に対して中継サーバ自身のアカウント登録を行うための登録要求(REGISTER)を送信する機能を備える。   In addition, the communication control unit 103 has a function of transmitting a registration request (REGISTER) for registering an account of the relay server itself to the SIP server 4.

{SIPサーバ}
図5は、SIPサーバ4の機能ブロック図である。SIPサーバ4は、WANインタフェース41、通信制御部42、中継サーバアカウント情報データベース43を備えている。
{SIP server}
FIG. 5 is a functional block diagram of the SIP server 4. The SIP server 4 includes a WAN interface 41, a communication control unit 42, and a relay server account information database 43.

WANインタフェース41は、グローバルIPアドレスを利用して、インターネット3に接続されたサーバ、端末との間で通信を行うインタフェースである。SIPサーバ4は、WANインタフェース41を利用して、中継サーバ13,23,53と通信可能としている。   The WAN interface 41 is an interface that communicates with a server and a terminal connected to the Internet 3 using a global IP address. The SIP server 4 can communicate with the relay servers 13, 23, and 53 using the WAN interface 41.

通信制御部42は、WANインタフェース41を介して行う様々な通信を制御する処理部である。通信制御部42は、TCP/IPやUDP、SIPなどのプロトコルに従った通信処理を制御する。   The communication control unit 42 is a processing unit that controls various communications performed via the WAN interface 41. The communication control unit 42 controls communication processing according to protocols such as TCP / IP, UDP, and SIP.

通信制御部42の1つの機能は、インターネット3に接続されている中継サーバから、アカウントの登録要求(REGISTER)を受信し、当該中継サーバのアカウント情報を中継サーバアカウント情報データベース43に登録することである。たとえば、SIPサーバ4は、中継サーバ13からアカウントの登録要求(REGISTER)を受信し、中継サーバ13のアカウント情報を中継サーバアカウント情報データベース43に登録する。   One function of the communication control unit 42 is to receive an account registration request (REGISTER) from a relay server connected to the Internet 3 and register the account information of the relay server in the relay server account information database 43. is there. For example, the SIP server 4 receives an account registration request (REGISTER) from the relay server 13 and registers the account information of the relay server 13 in the relay server account information database 43.

通信制御部42は、他にも、中継サーバ13,23,53から送信された様々なSIPメソッドやレスポンスなどの通信データを他方の中継サーバに中継する機能を備える。   In addition, the communication control unit 42 has a function of relaying communication data such as various SIP methods and responses transmitted from the relay servers 13, 23, and 53 to the other relay server.

{通信処理の流れ}
以上の通り構成された通信システムにおける通信処理の流れについて、図6ないし図8の処理シーケンス図を参照しながら説明する。なお、図6は、ステップS1からステップS8までのシーケンスを示し、それに続くステップS9からステップS15までのシーケンスは図6に、ステップS16からステップS18までのシーケンスは図8に示す。
{Flow of communication processing}
The flow of communication processing in the communication system configured as described above will be described with reference to the processing sequence diagrams of FIGS. FIG. 6 shows the sequence from step S1 to step S8, the sequence from step S9 to step S15 is shown in FIG. 6, and the sequence from step S16 to step S18 is shown in FIG.

ここでは、図1に示すように、通信端末11と通信端末21、そして通信端末21と通信端末51とが、それぞれが接続されているLANを越えて、2つのプライベートなネットワークグループとしてグループ化される(図1中、破線で示す)。中継サーバ13と中継サーバ23、そして中継サーバ13と中継サーバ53とで、それぞれ中継用の通信セッションが構築される(図1中、矢印線で示す)。そして、通信端末間の通信データの送受信が、中継サーバを経由して中継可能となるまでの通信処理の流れを示している。以下、ステップごとに順を追って説明する。   Here, as shown in FIG. 1, the communication terminal 11 and the communication terminal 21, and the communication terminal 21 and the communication terminal 51 are grouped as two private network groups across the LAN to which they are connected. (Indicated by a broken line in FIG. 1). The relay server 13 and the relay server 23, and the relay server 13 and the relay server 53 respectively establish a relay communication session (indicated by an arrow line in FIG. 1). And the flow of the communication processing until transmission / reception of the communication data between the communication terminals becomes possible via the relay server is shown. Hereinafter, the steps will be described step by step.

(ステップS1)まず、中継サーバ13は、SIPサーバ4に対してアカウントの登録要求(REGISTER)を送信する。図6に示すように、ここでは、中継サーバ13が、自身のアカウント(SIP:relay-server1@sip.srv)の登録要求を行う。SIPサーバ4は、OKレスポンスを中継サーバ13に返信し、中継サーバ13のアカウントと中継サーバ13のグローバルIPアドレスとを対応付けて中継サーバアカウント情報データベース43に登録する。パスワード認証を行う場合には、あらかじめ中継サーバアカウント情報データベース43に、中継サーバのアカウントとパスワードとを対応付けて登録しておく。この場合、ユーザは、登録要求時に合わせてパスワードを送信するのである。そして、パスワード認証が成功した場合に、IPアドレスと対応付けられてアカウントが登録されることになる。   (Step S <b> 1) First, the relay server 13 transmits an account registration request (REGISTER) to the SIP server 4. As shown in FIG. 6, here, the relay server 13 makes a registration request for its own account (SIP: relay-server1@sip.srv). The SIP server 4 returns an OK response to the relay server 13 and registers the account of the relay server 13 and the global IP address of the relay server 13 in the relay server account information database 43 in association with each other. When performing password authentication, a relay server account and a password are registered in advance in the relay server account information database 43. In this case, the user transmits a password in accordance with the registration request. If password authentication is successful, an account is registered in association with the IP address.

(ステップS2)続いて、中継サーバ23が、SIPサーバ4に対してアカウントの登録要求(REGISTER)を送信する。ここでは、中継サーバ23が、自身のアカウント(SIP:relay-server2@sip.srv)の登録要求を行う。SIPサーバ4は、OKレスポンスを中継サーバ23に返信し、中継サーバ23のアカウントと中継サーバ23のグローバルIPアドレスとを対応付けて中継サーバアカウント情報データベース43に登録する。同様に、パスワード認証を行うようにしてもよい。   (Step S2) Subsequently, the relay server 23 transmits an account registration request (REGISTER) to the SIP server 4. Here, the relay server 23 makes a registration request for its own account (SIP: relay-server2@sip.srv). The SIP server 4 returns an OK response to the relay server 23 and registers the account of the relay server 23 and the global IP address of the relay server 23 in association with each other in the relay server account information database 43. Similarly, password authentication may be performed.

(ステップS3)次に、通信端末11が、中継サーバ13に対してアカウントの登録要求(REGISTER)を送信する。ここでは、通信端末11が、自身のアカウント(SIP:0001@privatesip)の登録要求を行う。中継サーバ13は、OKレスポンスを行い、通信端末11のアカウントと通信端末11のプライベートIPアドレスとを対応付けてローカルアカウント情報データベース104に登録する。パスワード認証を行う場合には、あらかじめローカルアカウント情報データベース104に、通信端末のアカウントとパスワードとを対応付けて登録しておく。この場合、ユーザは、登録要求時に合わせてパスワードを送信するのである。そして、パスワード認証が成功した場合に、IPアドレスと対応付けられてアカウントが登録されることになる。   (Step S <b> 3) Next, the communication terminal 11 transmits an account registration request (REGISTER) to the relay server 13. Here, the communication terminal 11 makes a registration request for its own account (SIP: 0001 @ privatesip). The relay server 13 performs an OK response, and registers the account of the communication terminal 11 and the private IP address of the communication terminal 11 in the local account information database 104 in association with each other. When performing password authentication, the account and password of the communication terminal are registered in advance in the local account information database 104. In this case, the user transmits a password in accordance with the registration request. If password authentication is successful, an account is registered in association with the IP address.

(ステップS4)次に、通信端末21が、中継サーバ23に対してアカウントの登録要求(REGISTER)を送信する。ここでは、通信端末21が、自身のアカウント(SIP:0002@privatesip)の登録要求を行う。中継サーバ23は、OKレスポンスを行い、通信端末21のアカウントと通信端末21のプライベートIPアドレスとを対応付けてローカルアカウント情報データベース104に登録する。この場合も、同様にパスワード認証を行ってもよい。   (Step S <b> 4) Next, the communication terminal 21 transmits an account registration request (REGISTER) to the relay server 23. Here, the communication terminal 21 makes a registration request for its own account (SIP: 0002 @ privatesip). The relay server 23 performs an OK response, and registers the account of the communication terminal 21 and the private IP address of the communication terminal 21 in the local account information database 104 in association with each other. In this case, password authentication may be performed in the same manner.

以上により、中継サーバ13,23のSIPサーバ4に対するアカウント登録が完了し、通信端末11,21の中継サーバ13,23に対するアカウント登録が完了する。   As described above, account registration of the relay servers 13 and 23 to the SIP server 4 is completed, and account registration of the communication terminals 11 and 21 to the relay servers 13 and 23 is completed.

(ステップS5)次のステップS5は、グループ情報の登録処理を示している。グループ情報の登録は、通信システムのネットワークに接続されているいずれの通信端末からでも行うことができる。要は、ネットワーク上のいずれか一つの中継サーバにグループ情報を登録すればよい。ネットワーク上のいずれか一つの中継サーバにグループ情報を登録すれば、後は自動的に中継サーバ間でグループ情報が連鎖的に送受信されて、中継サーバ間でグループ情報を共有することができるからである。ここでは、通信端末11から行う場合を示している。   (Step S5) The next step S5 shows a group information registration process. The group information can be registered from any communication terminal connected to the network of the communication system. In short, group information may be registered in any one relay server on the network. If group information is registered on any one relay server on the network, group information can be automatically transmitted and received between the relay servers in a chain, and the group information can be shared between relay servers. is there. Here, the case where it performs from the communication terminal 11 is shown.

通信端末11は、中継サーバ13に対し、グループ情報の登録要求コマンド(SetGroup)を送信する。その際送信されるグループ情報(GL)の内容を図6のシーケンス図内に示す。ここでは、通信端末11と通信端末21とからなるグループと、通信端末21と通信端末51とからなるグループとの2つのグループが構成されており、グループ化された通信端末のアカウント情報が、グループを示すグループ標識の下に記録されている。具体的には、グループ化された通信端末11のアカウント(SIP:0001@privatesip)と通信端末21のアカウント(SIP:0002@privatesip)に、グループ標識(group001)が付されて、グループ化された通信端末21のアカウント(SIP:0002@privatesip)と通信端末51のアカウント(SIP:0003@privatesip)に、グループ標識(group002)が付されて、グループ情報データベース106に登録される。   The communication terminal 11 transmits a group information registration request command (SetGroup) to the relay server 13. The contents of the group information (GL) transmitted at that time are shown in the sequence diagram of FIG. Here, two groups of a group consisting of the communication terminal 11 and the communication terminal 21 and a group consisting of the communication terminal 21 and the communication terminal 51 are configured, and the account information of the grouped communication terminals is the group. Is recorded below the group indicator. Specifically, a group indicator (group001) is attached to the grouped communication terminal 11 account (SIP: 0001 @ privatesip) and the communication terminal 21 account (SIP: 0002 @ privatesip) to form a group. The group terminal (group002) is attached to the account (SIP: 0002 @ privatesip) of the communication terminal 21 and the account (SIP: 0003 @ privatesip) of the communication terminal 51, and is registered in the group information database 106.

中継サーバ13は、通信端末11からグループ情報とその登録要求コマンドを受信すると、通信端末11に対してOKレスポンスが転送される。   When the relay server 13 receives the group information and the registration request command from the communication terminal 11, an OK response is transferred to the communication terminal 11.

(ステップS6)次に、中継サーバ13が、中継サーバ23に対する接続要求コマンド(INVITEメソッド)を、SIPサーバ4に送信する。このINVITEメソッドでは、接続要求先の中継サーバ23のアカウント(SIP:relay-sever2@sip.srv)が指定されている。SIPサーバ4は、中継サーバアカウント情報データベース43を参照することで、中継サーバ23のグローバルIPアドレスを取得する。そして、SIPサーバ4は、中継サーバ13から送信されたINVITEメソッドを中継サーバ23に中継する。   (Step S6) Next, the relay server 13 transmits a connection request command (INVITE method) to the relay server 23 to the SIP server 4. In this INVITE method, the account (SIP: relay-sever2@sip.srv) of the relay server 23 that is the connection request destination is specified. The SIP server 4 acquires the global IP address of the relay server 23 by referring to the relay server account information database 43. Then, the SIP server 4 relays the INVITE method transmitted from the relay server 13 to the relay server 23.

このようにして、接続要求コマンドが中継サーバ13から中継サーバ23に送信されると、SIPサーバ4を介して中継サーバ23から中継サーバ13に対してOKレスポンスが転送される。   In this way, when the connection request command is transmitted from the relay server 13 to the relay server 23, an OK response is transferred from the relay server 23 to the relay server 13 via the SIP server 4.

(ステップS7)このようにして、接続要求コマンドが受け入れられると、中継サーバ13,23間でトネリングセッションが確立される。   (Step S7) When the connection request command is accepted in this way, a tunneling session is established between the relay servers 13 and 23.

以上のステップS1からステップS7までの処理は、オペレータによって、ネットワークの初期設定として行われるのが一般的である。オペレータは、インターネット3を越えて接続したいLANに配置されている中継サーバをSIPサーバ4に登録する操作を行う。また、インターネット3を越えて通信を行いたい通信端末を中継サーバに登録する操作を行う。そして、グループ情報を通信端末からネットワーク上のいずれかの中継サーバに登録する操作を行うのである。   The processes from step S1 to step S7 are generally performed as an initial network setting by an operator. The operator performs an operation of registering in the SIP server 4 a relay server arranged in a LAN to be connected over the Internet 3. In addition, an operation of registering a communication terminal that wants to communicate over the Internet 3 in the relay server is performed. Then, an operation for registering the group information from the communication terminal to any relay server on the network is performed.

(ステップS8)次に、中継サーバ13が、中継サーバ23に対してSUBSCRIBEメソッドを利用して、中継サーバ23との間に、通知イベントを利用した変更通知設定を行う。SUBSCRIBEメソッドは、SIPサーバ4を経由するか、あるいは直接中継サーバ13に対して送信される。これによって、中継サーバ23がもつアカウント情報、中継情報、あるいはグループ情報に変更が発生した場合、その都度、NOTIFYメソッドにより、その変更通知と、変更後のアカウント情報、変更後の中継情報、あるいは変更後のグループ情報が、中継サーバ23から中継サーバ13に通知されることとなる。なお、ここでは、アカウント情報および中継情報はローカルアカウント情報LAに含まれているため、そのいずれかに変更があった場合は一括して変更後のローカルアカウント情報を通知すれば足りる。   (Step S8) Next, the relay server 13 uses the SUBSCRIBE method for the relay server 23 to perform change notification setting using the notification event with the relay server 23. The SUBSCRIBE method is sent via the SIP server 4 or directly to the relay server 13. As a result, when account information, relay information, or group information held by the relay server 23 is changed, the change notification, changed account information, changed relay information, or changed are notified by the NOTIFY method each time. The subsequent group information is notified from the relay server 23 to the relay server 13. Here, since the account information and the relay information are included in the local account information LA, if any of them is changed, it is sufficient to notify the changed local account information collectively.

ステップS8のSUBSCRIBEメソッドに基づいて、NOTIFYメソッドにより中継サーバ23から中継サーバ13に通知されるローカルアカウント情報LA1の内容を、図6のシーケンス図内に示す。   The contents of the local account information LA1 notified from the relay server 23 to the relay server 13 by the NOTIFY method based on the SUBSCRIBE method in step S8 are shown in the sequence diagram of FIG.

このローカルアカウント情報LA1は、中継サーバ23が配置されているLAN2に接続されている通信端末であって、中継サーバ23に対してアカウント登録を行った通信端末の情報を含んでいる。今の状態では、中継サーバ23に対しては、通信端末21がアカウントの登録を行っているので、ローカルアカウント情報LA1には、通信端末21のアカウント情報(SIP:0002@privatesip)が記録されている。   The local account information LA1 includes information on a communication terminal connected to the LAN 2 in which the relay server 23 is disposed, and the communication terminal that has registered an account with the relay server 23. In the current state, since the communication terminal 21 has registered an account for the relay server 23, the account information (SIP: 0002 @ privatesip) of the communication terminal 21 is recorded in the local account information LA1. Yes.

ローカルアカウント情報LA1を受信した中継サーバ13は、その情報を、自装置のローカルアカウント情報データベース104に登録する。ただし、受信したアカウント情報については、そのアカウント情報の発信元である中継サーバのアカウント情報と対応付けて登録される。この場合であれば、通信端末21のアカウント(SIP:0002@privatesip)が、中継サーバ23のアカウント(SIP:relay-server2@sip.srv)と対応付けて登録される。   The relay server 13 that has received the local account information LA1 registers the information in the local account information database 104 of its own device. However, the received account information is registered in association with the account information of the relay server that is the transmission source of the account information. In this case, the account of the communication terminal 21 (SIP: 0002 @ privatesip) is registered in association with the account of the relay server 23 (SIP: relay-server2@sip.srv).

また、ローカルアカウント情報LA1は、中継サーバ23が構築している直接通信可能な通信セッションの中継経路情報を含む中継情報を含んでいる。しかし、中継サーバ23は、まだ、中継サーバ13以外とは直接通信可能な通信セッションが構築されていないため、中継情報に含まれる中継経路情報が存在しないこと(none)が記録されている。ローカルアカウント情報LA1を受信した中継サーバ13は、その情報を、その中継情報の発信元である中継サーバ23のアカウント情報(SIP:relay-server2@sip.srv)と対応付けて自装置の中継情報データベース105に登録する。   Further, the local account information LA1 includes relay information including relay route information of a communication session established by the relay server 23 and capable of direct communication. However, since the relay server 23 has not yet established a communication session that can communicate directly with other than the relay server 13, it is recorded that the relay route information included in the relay information does not exist (none). The relay server 13 that has received the local account information LA1 associates the information with the account information (SIP: relay-server2@sip.srv) of the relay server 23 that is the source of the relay information, and relay information of the own device. Register in the database 105.

中継サーバ13には、すでにグループ情報が登録されているため(ステップS5参照)、中継サーバ23に対して、グループ情報の送信要求は行われない。   Since group information has already been registered in the relay server 13 (see step S5), no request for transmission of group information is made to the relay server 23.

(ステップS9)次に、図7に示すように、中継サーバ23が、中継サーバ13に対してSUBSCRIBEメソッドを利用して、中継サーバ13との間に、通知イベントを利用した変更通知設定を行う。これによって、中継サーバ13がもつアカウント情報、中継情報、あるいはグループ情報に変更が発生した場合、その都度、NOTIFYメソッドにより、その変更通知と、変更後のアカウント情報、変更後の中継情報、あるいは変更後のグループ情報が、中継サーバ13から中継サーバ23に通知されることとなる。   (Step S9) Next, as shown in FIG. 7, the relay server 23 uses the SUBSCRIBE method to the relay server 13 to set change notification using the notification event with the relay server 13. . As a result, whenever account information, relay information, or group information held by the relay server 13 is changed, the change notification, the account information after the change, the relay information after the change, or the change are made by the NOTIFY method. The subsequent group information is notified from the relay server 13 to the relay server 23.

中継サーバ23は、グループ情報を保持していない。そのため、中継サーバ13に対して、上記変更通知設定と併せてグループ情報の送信要求が行われる。   The relay server 23 does not hold group information. Therefore, a group information transmission request is made to the relay server 13 together with the change notification setting.

ステップS9のSUBSCRIBEメソッドに基づいて、NOTIFYメソッドにより中継サーバ13から中継サーバ23に通知されるローカルアカウント情報LA2の内容を、同時に通知されるグループ情報を含めて図7のシーケンス図内に示す。このローカルアカウント情報LA2は、中継サーバ13が配置されているLAN1に接続されている通信端末であって、中継サーバ13に対してアカウント登録を行った通信端末の情報を含んでいる。中継サーバ23は、その情報を、自装置のローカルアカウント情報データベース104に登録する。この場合であれば、通信端末11のアカウント(SIP:0001@privatesip)と、中継サーバ13のアカウント(SIP:relay-server1@sip.srv)とを対応付けた状態で、ローカルアカウント情報データベース104に登録する。   Based on the SUBSCRIBE method in step S9, the contents of the local account information LA2 notified from the relay server 13 to the relay server 23 by the NOTIFY method are shown in the sequence diagram of FIG. 7 including the group information notified at the same time. The local account information LA2 includes information on a communication terminal connected to the LAN 1 in which the relay server 13 is arranged, and the communication terminal that has registered an account with the relay server 13. The relay server 23 registers the information in the local account information database 104 of its own device. In this case, the account (SIP: 0001 @ privatesip) of the communication terminal 11 and the account (SIP: relay-server1@sip.srv) of the relay server 13 are associated with each other in the local account information database 104. sign up.

ローカルアカウント情報LA2は、中継サーバ13が構築している直接通信可能な通信セッションの中継経路情報を含む中継情報を含む。しかし、中継サーバ13もまた、中継サーバ23以外とは直接通信可能な通信セッションが構築されていないため、中継情報に含まれる中継経路情報が存在しないこと(none)が記録されている。ローカルアカウント情報LA2を受信した中継サーバ23は、その情報を、その中継情報の発信元である中継サーバ13のアカウント情報(SIP:relay-server1@sip.srv)と対応付けて自装置の中継情報データベース105に登録する。   The local account information LA2 includes relay information including relay route information of a communication session that is directly communicable established by the relay server 13. However, the relay server 13 also records that there is no relay route information included in the relay information (none) because a communication session capable of directly communicating with other than the relay server 23 is not established. The relay server 23 that has received the local account information LA2 associates the information with the account information (SIP: relay-server1@sip.srv) of the relay server 13 that is the transmission source of the relay information, and relay information of its own device. Register in the database 105.

グループ情報は、中継サーバ13が保持しているグループ情報が送信される。中継サーバ23は、その情報を自装置のグループ情報データベース106に登録する。   As the group information, the group information held by the relay server 13 is transmitted. The relay server 23 registers the information in the group information database 106 of its own device.

LAN1に接続された通信端末11は、中継サーバ13にアクセスすることで、中継サーバ13が管理しているローカルアカウント情報データベース104や中継情報データベース105、グループ情報データベース106を参照することが可能である。たとえば、通信端末11のユーザは、アドレス帳を参照するような操作により、ローカルアカウント情報データベース104の内容を参照することができる。同様に、LAN2に接続された通信端末21は、中継サーバ23が管理しているローカルアカウント情報データベース104等を参照できる。   The communication terminal 11 connected to the LAN 1 can refer to the local account information database 104, the relay information database 105, and the group information database 106 managed by the relay server 13 by accessing the relay server 13. . For example, the user of the communication terminal 11 can refer to the contents of the local account information database 104 by an operation of referring to the address book. Similarly, the communication terminal 21 connected to the LAN 2 can refer to the local account information database 104 and the like managed by the relay server 23.

以上のようにして、中継サーバ13と中継サーバ23との間で直接中継用の通信セッションが構築されるのである。続いて、さらに、中継サーバ13と中継サーバ53との間で直接中継用の通信セッションが構築される通信処理の流れを説明する。   As described above, a direct relay communication session is established between the relay server 13 and the relay server 23. Subsequently, a flow of communication processing in which a direct relay communication session is established between the relay server 13 and the relay server 53 will be described.

(ステップS10)中継サーバ53が、SIPサーバ4に対してアカウントの登録要求(REGISTER)を送信する。ここでは、中継サーバ53が、自身のアカウント(SIP:relay-server3@sip.srv)の登録要求を行う。SIPサーバ4は、OKレスポンスを中継サーバ53に返信し、中継サーバ53のアカウントと中継サーバ53のグローバルIPアドレスとを対応付けて中継サーバアカウント情報データベース43に登録する。同様に、パスワード認証を行うようにしてもよい。   (Step S <b> 10) The relay server 53 transmits an account registration request (REGISTER) to the SIP server 4. Here, the relay server 53 makes a registration request for its own account (SIP: relay-server3@sip.srv). The SIP server 4 returns an OK response to the relay server 53 and registers the account of the relay server 53 and the global IP address of the relay server 53 in association with each other in the relay server account information database 43. Similarly, password authentication may be performed.

(ステップS11)続いて、通信端末51が、中継サーバ53に対してアカウントの登録要求(REGISTER)を送信する。中継サーバ53は、通信端末51にOKレスポンスを返信するとともに、通信端末51のアカウント(SIP:0003@privatesip)を通信端末51のプライベートIPアドレスと対応付けてローカルアカウント情報データベース104に登録する。   (Step S <b> 11) Subsequently, the communication terminal 51 transmits an account registration request (REGISTER) to the relay server 53. The relay server 53 returns an OK response to the communication terminal 51 and registers the account (SIP: 0003 @ privatesip) of the communication terminal 51 in the local account information database 104 in association with the private IP address of the communication terminal 51.

(ステップS12)次に、中継サーバ53は、中継サーバ13に対する接続要求コマンド(INVITEメソッド)を、SIPサーバ4に送信する。このINVITEメソッドでは、接続要求先の中継サーバ13のアカウント(SIP:relay-sever1@sip.srv)が指定されている。SIPサーバ4は、中継サーバアカウント情報データベース43を参照することで、中継サーバ13のグローバルIPアドレスを取得する。そして、SIPサーバ4は、中継サーバ53から送信されたINVITEメソッドを中継サーバ13に中継する。   (Step S12) Next, the relay server 53 transmits a connection request command (INVITE method) to the relay server 13 to the SIP server 4. In this INVITE method, the account (SIP: relay-sever1@sip.srv) of the relay server 13 that is the connection request destination is specified. The SIP server 4 acquires the global IP address of the relay server 13 by referring to the relay server account information database 43. Then, the SIP server 4 relays the INVITE method transmitted from the relay server 53 to the relay server 13.

このようにして、接続要求コマンドが中継サーバ53から中継サーバ13に送信されると、SIPサーバ4を介して中継サーバ13から中継サーバ53に対してOKレスポンスが転送される。   In this way, when the connection request command is transmitted from the relay server 53 to the relay server 13, an OK response is transferred from the relay server 13 to the relay server 53 via the SIP server 4.

(ステップS13)このようにして、接続要求コマンドが受け入れられると、中継サーバ53,13間でトネリングセッションが確立される。なお、ステップS10からステップS13までの処理は、オペレータによって行われる。   (Step S13) When the connection request command is accepted in this way, a tunneling session is established between the relay servers 53 and 13. Note that the processing from step S10 to step S13 is performed by an operator.

(ステップS14)次に、中継サーバ53が、中継サーバ13に対してSUBSCRIBEメソッドを利用して、中継サーバ13との間に、通知イベントを利用した変更通知設定を行う。これによって、中継サーバ13がもつアカウント情報、中継情報、あるいはグループ情報に変更が発生した場合、その都度、NOTIFYメソッドにより、その変更通知と、変更後のアカウント情報、変更後の中継情報、あるいは変更後のグループ情報が、中継サーバ13から中継サーバ53に通知されることとなる。   (Step S14) Next, the relay server 53 uses the SUBSCRIBE method for the relay server 13 to perform change notification setting using the notification event with the relay server 13. As a result, whenever account information, relay information, or group information held by the relay server 13 is changed, the change notification, the account information after the change, the relay information after the change, or the change are made by the NOTIFY method. The subsequent group information is notified from the relay server 13 to the relay server 53.

中継サーバ53は、グループ情報を保持していない。そのため、中継サーバ13に対して、上記変更通知設定と併せてグループ情報の送信要求が行われる。   The relay server 53 does not hold group information. Therefore, a group information transmission request is made to the relay server 13 together with the change notification setting.

ステップS14のSUBSCRIBEメソッドに基づいて、NOTIFYメソッドにより中継サーバ13から中継サーバ53に通知されるローカルアカウント情報LA3の内容を、同時に通知されるグループ情報を含めて図7のシーケンス図内に示す。このローカルアカウント情報LA3は、中継サーバ13が配置されているLAN1に接続されている通信端末であって、中継サーバ13に対してアカウント登録を行った通信端末の情報を含んでいる。今の状態では、中継サーバ13に対しては、通信端末11がアカウントの登録を行っているので、ローカルアカウント情報LA3には、通信端末11のアカウント情報(SIP:0001@privatesip)が記録されている。   Based on the SUBSCRIBE method in step S14, the contents of the local account information LA3 notified from the relay server 13 to the relay server 53 by the NOTIFY method are shown in the sequence diagram of FIG. 7 including the group information notified at the same time. The local account information LA3 includes information on a communication terminal connected to the LAN 1 in which the relay server 13 is disposed, and the communication terminal that has registered an account with the relay server 13. In the current state, since the communication terminal 11 registers an account for the relay server 13, the account information (SIP: 0001 @ privatesip) of the communication terminal 11 is recorded in the local account information LA3. Yes.

また、中継サーバ13は、中継サーバ23との間で直接通信可能な通信セッションが構築されているため、中継情報には、中継サーバ23との直接通信可能な通信セッションが構築されていることを示す中継経路情報(SIP:relay-sever2@sip.srv)が記録されている。また、その中継経路情報は、その中継サーバ23が配置されているLAN2に接続されている通信端末であって、中継サーバ23に対してアカウント登録を行った通信端末21のアカウント情報(SIP:0002@privatesip)とともに記録されている。   In addition, since the relay server 13 has established a communication session that allows direct communication with the relay server 23, the relay information indicates that a communication session that allows direct communication with the relay server 23 is established. The relay route information shown (SIP: relay-sever2@sip.srv) is recorded. Further, the relay route information is account information (SIP: 0002) of the communication terminal 21 connected to the LAN 2 where the relay server 23 is arranged and having registered an account with the relay server 23. @privatesip).

ローカルアカウント情報LA3を受信した中継サーバ53は、受信したアカウント情報を、自装置のローカルアカウント情報データベース104に登録する。ただし、受信したアカウント情報については、そのアカウント情報の発信元である中継サーバのアカウント情報と対応付けて登録される。この場合であれば、通信端末11のアカウント(SIP:0001@privatesip)が、中継サーバ13のアカウント(SIP:relay-server1@sip.srv)と対応付けて登録される。   The relay server 53 that has received the local account information LA3 registers the received account information in the local account information database 104 of its own device. However, the received account information is registered in association with the account information of the relay server that is the transmission source of the account information. In this case, the communication terminal 11 account (SIP: 0001 @ privatesip) is registered in association with the relay server 13 account (SIP: relay-server1@sip.srv).

また、中継サーバ53は、受信した中継情報を、自装置の中継情報データベース105に登録する。この場合であれば、中継経路情報(SIP:relay-sever2@sip.srv)が、その中継サーバ23の管理下にある通信端末21のアカウント情報(SIP:0002@privatesip)とともに、中継サーバ13のアカウント(SIP:relay-server1@sip.srv)と対応付けて登録される。   Further, the relay server 53 registers the received relay information in the relay information database 105 of the own device. In this case, the relay route information (SIP: relay-sever2@sip.srv) is stored in the relay server 13 together with the account information (SIP: 0002 @ privatesip) of the communication terminal 21 under the management of the relay server 23. Registered in association with an account (SIP: relay-server1@sip.srv).

グループ情報は、中継サーバ13が保持しているグループ情報が送信される。中継サーバ53は、その情報を自装置のグループ情報データベース106に登録する。   As the group information, the group information held by the relay server 13 is transmitted. The relay server 53 registers the information in the group information database 106 of its own device.

これによって、中継セッションが構築されているネットワーク上の中継サーバ13、23,53でグループ情報の共有化が達成されている。すなわち、先のステップS5で中継サーバ13にグループ情報を登録しただけで、ネットワーク上の中継サーバと連鎖的にグループ情報を送受信して共有化することができるのである。   As a result, sharing of group information is achieved by the relay servers 13, 23, and 53 on the network where the relay session is established. That is, simply registering group information in the relay server 13 in the previous step S5 allows the group information to be transmitted and received in a chain with the relay server on the network and shared.

(ステップS15)次に、中継サーバ13が、中継サーバ53に対してSUBSCRIBEメソッドを利用して、中継サーバ53との間に、通知イベントを利用した変更通知設定を行う。これによって、中継サーバ53がもつローカルアカウント情報に含まれるアカウント情報、中継情報、あるいはグループ情報に変更が発生した場合、その都度、NOTIFYメソッドにより、その変更通知と、変更後のアカウント情報、変更後の中継情報、あるいは変更後のグループ情報が、中継サーバ53から中継サーバ13に通知されることとなる。   (Step S15) Next, the relay server 13 uses the SUBSCRIBE method with respect to the relay server 53 to perform change notification setting using the notification event with the relay server 53. As a result, each time the account information, relay information, or group information included in the local account information of the relay server 53 is changed, the change notification, the changed account information, and the changed information are notified by the NOTIFY method. Relay information or group information after change is notified from the relay server 53 to the relay server 13.

ステップS15のSUBSCRIBEメソッドに基づいて、NOTIFYメソッドにより中継サーバ53から中継サーバ13に通知されるローカルアカウント情報LA4の内容を、図7のシーケンス図内に示している。このローカルアカウント情報LA4は、中継サーバ53が配置されているLAN5に接続されている通信端末であって、中継サーバ53に対してアカウント登録を行った通信端末の情報を含んでいる。中継サーバ13は、受信したアカウント情報を、自装置のローカルアカウント情報データベース104に登録する。この場合であれば、通信端末51のアカウント(SIP:0003@privatesip)と、中継サーバ53のアカウント(SIP:relay-server3@sip.srv)とを対応付けた状態で、ローカルアカウント情報データベース104に登録するのである。   The contents of the local account information LA4 notified from the relay server 53 to the relay server 13 by the NOTIFY method based on the SUBSCRIBE method in step S15 are shown in the sequence diagram of FIG. The local account information LA4 includes information on a communication terminal connected to the LAN 5 in which the relay server 53 is arranged and the account registration with the relay server 53 is performed. The relay server 13 registers the received account information in the local account information database 104 of the own device. In this case, the account (SIP: 0003 @ privatesip) of the communication terminal 51 and the account (SIP: relay-server3@sip.srv) of the relay server 53 are associated with each other in the local account information database 104. Register.

また、ローカルアカウント情報LA4は中継サーバ53の中継情報を含むが、中継サーバ53は、まだ、中継サーバ13以外とは直接通信可能な通信セッションを構築していないため、中継経路情報が存在しないこと(none)が記録されている。ローカルアカウント情報LA4を受信した中継サーバ13は、その情報を、その中継情報の発信元である中継サーバ53のアカウント情報(SIP:relay-server3@sip.srv)と対応付けて自装置の中継情報データベース105に登録する。   Further, the local account information LA4 includes the relay information of the relay server 53, but the relay server 53 has not yet established a communication session that can communicate directly with other than the relay server 13, and therefore there is no relay route information. (None) is recorded. The relay server 13 that has received the local account information LA4 associates the information with the account information (SIP: relay-server3@sip.srv) of the relay server 53 that is the transmission source of the relay information, and relay information of its own device. Register in the database 105.

なお、中継サーバ13は、自装置にグループ情報を保持しているため、グループ情報の送信要求は行われない。   Since the relay server 13 holds group information in its own device, no transmission request for group information is made.

このようにして、中継サーバ53と中継サーバ13とが、ローカルアカウント情報LA3,LA4を交換し、ローカルアカウント情報データベース104、中継情報データベース105、グループ情報データベース106に、それぞれ取得した情報を登録する。   In this way, the relay server 53 and the relay server 13 exchange the local account information LA3 and LA4, and register the acquired information in the local account information database 104, the relay information database 105, and the group information database 106, respectively.

(ステップS16)中継サーバ13では、中継サーバ53との間で直接通信可能な中継用の通信セッションが構築されたことで、中継情報に変更が発生する。その結果、先に、中継サーバ23との間で発生している変更通知設定(ステップS9)に基づいて、NOTIFYメソッドにより、その変更通知および変更後の中継情報を含むローカルアカウント情報LA5が、中継サーバ13から中継サーバ23に通知される。   (Step S <b> 16) In the relay server 13, the relay information is changed because a relay communication session capable of directly communicating with the relay server 53 is established. As a result, the local account information LA5 including the change notification and the changed relay information is relayed by the NOTIFY method based on the change notification setting (step S9) that has occurred with the relay server 23 first. The server 13 notifies the relay server 23.

そのローカルアカウント情報LA5の内容を、図8のシーケンス図内に示す。このローカルアカウント情報LA5には、中継サーバ13が配置されているLAN1に接続されている通信端末であって、中継サーバ13に対してアカウント登録を行った通信端末の情報(SIP:0001@privatesip)が、中継サーバ13のアカウント(SIP:relay-server1@sip.srv)と対応付けた状態で含まれている。そして、中継情報として、新たに中継サーバ53との間で、直接通信可能な通信セッションが構築されていることを示す中継経路情報(SIP:relay-sever3@sip.srv)が、その中継サーバ53の管理下にある通信端末51のアカウント情報(SIP:0003@privatesip)と対応付けされた状態で記録されている。   The contents of the local account information LA5 are shown in the sequence diagram of FIG. The local account information LA5 includes information on a communication terminal connected to the LAN 1 in which the relay server 13 is located and the account registered with the relay server 13 (SIP: 0001 @ privatesip). Are associated with the account of the relay server 13 (SIP: relay-server1@sip.srv). As relay information, relay route information (SIP: relay-sever3@sip.srv) indicating that a communication session capable of directly communicating with the relay server 53 has been newly established is established. Is recorded in a state associated with the account information (SIP: 0003 @ privatesip) of the communication terminal 51 under the management of.

中継サーバ23は、中継サーバ13のアカウント(SIP:relay-server1@sip.srv)と対応付けた状態で、それぞれ、受信したアカウント情報を自装置のローカルアカウント情報データベース104に登録し、受信した中継情報を自装置の中継情報データベース105に登録して、変更後の情報に更新する。   The relay server 23 registers the received account information in the local account information database 104 of its own device in a state associated with the account (SIP: relay-server1@sip.srv) of the relay server 13, and receives the received relay. The information is registered in the relay information database 105 of the own device and updated to the changed information.

次に、こうして構築されたネットワークで行われる通信端末間の通信データの送受信について説明する。   Next, transmission / reception of communication data between communication terminals performed in the network thus constructed will be described.

(ステップS17)ステップS17では、通信端末11のユーザが、通信端末51にアクセスを試みた場合を示している。通信端末11から宛先を通信端末51とするSIPコマンドが中継サーバ13に送信される。中継サーバ13は、そのSIPコマンドを受信すると、自装置のグループ情報データベース106を参照し、送信元の通信端末11と宛先の通信端末51とが、同じグループに登録されているか否かをチェックする(CheckGroupコマンド)。ここでは両通信端末11・51は、同じグループに登録されていないため(図1参照)、中継サーバ13は、送信元の通信端末11に対して、エラー応答を返信する。   (Step S17) Step S17 shows a case where the user of the communication terminal 11 tries to access the communication terminal 51. A SIP command whose destination is the communication terminal 51 is transmitted from the communication terminal 11 to the relay server 13. When the relay server 13 receives the SIP command, the relay server 13 refers to the group information database 106 of its own device, and checks whether the source communication terminal 11 and the destination communication terminal 51 are registered in the same group. (CheckGroup command). Here, since both the communication terminals 11 and 51 are not registered in the same group (see FIG. 1), the relay server 13 returns an error response to the communication terminal 11 of the transmission source.

(ステップS18)ステップS18では、通信端末21のユーザが、通信端末51にアクセスを試みた場合を示している。通信端末21から宛先を通信端末51とするSIPコマンドが中継サーバ23に送信される。中継サーバ23は、そのSIPコマンドを受信すると、自装置のグループ情報データベース106を参照し、送信元の通信端末21と宛先の通信端末51とが、同じグループに登録されているか否かをチェックする(CheckGroupコマンド)。両通信端末21・51は、同じグループに登録されているため(図1参照)、中継サーバ23は、ローカルアカウント情報データベース104を参照し、当該宛先アカウントが登録されている中継サーバを特定する。この場合、通信端末51のアカウントは、中継サーバ53と対応付けて登録されているので、中継先として中継サーバ53が選択される。   (Step S18) Step S18 shows a case where the user of the communication terminal 21 tries to access the communication terminal 51. A SIP command whose destination is the communication terminal 51 is transmitted from the communication terminal 21 to the relay server 23. When the relay server 23 receives the SIP command, the relay server 23 refers to the group information database 106 of its own device, and checks whether the source communication terminal 21 and the destination communication terminal 51 are registered in the same group. (CheckGroup command). Since both communication terminals 21 and 51 are registered in the same group (see FIG. 1), the relay server 23 refers to the local account information database 104 and identifies the relay server in which the destination account is registered. In this case, since the account of the communication terminal 51 is registered in association with the relay server 53, the relay server 53 is selected as a relay destination.

次に、中継サーバ53との間で、直接通信可能な中継用の通信セッションが構築されているか否かを検出する。中継用の通信セッションが構築されていれば、そのまま直接通信データを中継サーバ53に送信する。しかし、ここでは、中継サーバ23と中継サーバ53とは、直接通信可能な中継用の通信セッションが構築されていない。そこで、中継サーバ23は、中継情報データベース105を参照し、交換した中継情報から中継経路を決定する。   Next, it is detected whether or not a relay communication session capable of direct communication with the relay server 53 is established. If a relay communication session is established, the communication data is directly transmitted to the relay server 53 as it is. However, here, the relay server 23 and the relay server 53 have not established a relay communication session capable of direct communication. Therefore, the relay server 23 refers to the relay information database 105 and determines a relay route from the exchanged relay information.

具体的には、自装置の中継情報データベース105に保持している中継情報には、中継サーバ23と中継用の通信セッションが構築されている中継サーバ13が、中継サーバ53との間で中継用の通信セッションが構築されていることが記録されている(ローカルアカウント情報LA5参照)。したがって、これを参照することで、中継サーバ13を経由する、中継サーバ53との間接的な中継経路を決定することができるのである。中継サーバを介して間接的に中継することは、中継サーバ間の通信負荷の低減に役立つ。   Specifically, in the relay information held in the relay information database 105 of the own device, the relay server 13 in which the relay communication session is established with the relay server 23 is used for relaying with the relay server 53. Is established (see local account information LA5). Therefore, by referring to this, an indirect relay route with the relay server 53 via the relay server 13 can be determined. Relaying indirectly via a relay server is useful for reducing the communication load between relay servers.

中継経路を決定すると、中継サーバ23は、通信端末21から受信したSIPコマンドを、トネリングセッションを利用して、中継サーバ13に直接転送する(ステップS18.1)。さらに、中継サーバ13は、中継サーバ23から受信したSIPコマンドを、中継サーバ53に直接転送する(ステップS18.1.1)。そして、中継サーバ53から通信端末51に転送するのである(ステップS18.1.1.1)。こうして通信端末21から送信されたSIPコマンドが、通信端末51に転送される。   When the relay path is determined, the relay server 23 directly transfers the SIP command received from the communication terminal 21 to the relay server 13 using the tunneling session (step S18.1). Further, the relay server 13 directly transfers the SIP command received from the relay server 23 to the relay server 53 (step S18.1.1). And it transfers to the communication terminal 51 from the relay server 53 (step S18.1.1.1). Thus, the SIP command transmitted from the communication terminal 21 is transferred to the communication terminal 51.

通信端末51は、通信端末21から送信されたSIPコマンドを受信すると、通信端末21に対してSIPレスポンスを返信する。このレスポンスは、再びトネリングセッションを利用して中継サーバ53から中継サーバ13を経由して中継サーバ23に転送され、さらに、中継サーバ23によって通信端末21に転送される。   Upon receiving the SIP command transmitted from the communication terminal 21, the communication terminal 51 returns a SIP response to the communication terminal 21. This response is transferred again from the relay server 53 to the relay server 23 via the relay server 13 using the tunneling session, and further transferred to the communication terminal 21 by the relay server 23.

各通信端末は、中継サーバから、その通信端末が登録されているグループ情報だけを抽出して受信することができる。例えば、通信端末11は、中継サーバ13にアクセスしてグループ情報について送信要求したとすると、中継サーバ13は、グループ情報において、通信端末11のアカウント(SIP:0001@privatesip)が登録されているグループ(group001)の情報を抽出して返信する。したがって、ユーザは、各端末からネットワークに構成されているプライベートなネットワークグループの状況を容易に知ることが可能である。   Each communication terminal can extract and receive only the group information in which the communication terminal is registered from the relay server. For example, if the communication terminal 11 accesses the relay server 13 and requests transmission of group information, the relay server 13 is a group in which the account (SIP: 0001 @ privatesip) of the communication terminal 11 is registered in the group information. Extract (group001) information and send it back. Therefore, the user can easily know the status of the private network group configured in the network from each terminal.

中継サーバは、LANに接続されている各通信端末からグループ情報を受信して、保持しているグループ情報を更新することができる。例えば、新たにプライベートなネットワークが構築されたとする。そして、いずれかの通信端末から、オペレータがその新しいプライベートなネットワークを含む新しいグループ情報を、同じLANに接続されている中継サーバに送信する。これを受信した中継サーバは、自装置のグループ情報データベース106を更新する。それによって、中継セッションが構築されている他の中継サーバや、中継セッションが構築される中継サーバに連鎖的に更新されたグループ情報が送受信され、最終的には、自動的に全ての中継サーバで更新されたグループ情報を共有化することができるのである。   The relay server can receive group information from each communication terminal connected to the LAN and update the held group information. For example, assume that a new private network is constructed. Then, from any communication terminal, the operator transmits new group information including the new private network to the relay server connected to the same LAN. The relay server that has received this updates the group information database 106 of its own device. As a result, the group information updated in a chained manner is sent to and received from other relay servers in which the relay session is established and relay servers in which the relay session is established. The updated group information can be shared.

また、通信端末が異なるLANに移動して、新たにそのLAN内の中継サーバに対してアカウント登録が行われるような場合でも、通信端末のアカウントは、図2に示すように、一元的にユニークに管理されているため、プライベートなネットワークグループ等がそのまま利用でき、アカウント情報等の変更があれば、自動的に中継サーバ間で関連する情報の更新が行われるため、動的に対応できる。   Further, even when the communication terminal moves to a different LAN and an account is newly registered for a relay server in the LAN, the account of the communication terminal is uniquely unique as shown in FIG. Therefore, a private network group or the like can be used as it is, and if account information or the like is changed, related information is automatically updated between relay servers, so that it can be handled dynamically.

本実施の形態に係る通信システムのネットワーク構成図である。It is a network block diagram of the communication system which concerns on this Embodiment. 通信端末のアカウント管理を説明するための概念図である。It is a conceptual diagram for demonstrating the account management of a communication terminal. 通信端末と中継サーバの関係および中継サーバとSIPサーバとの関係を示す図である。It is a figure which shows the relationship between a communication terminal and a relay server, and the relationship between a relay server and a SIP server. 中継サーバの機能ブロック図である。It is a functional block diagram of a relay server. SIPサーバの機能ブロック図である。It is a functional block diagram of a SIP server. 通信処理のシーケンス図である。It is a sequence diagram of a communication process. 通信処理のシーケンス図である。It is a sequence diagram of a communication process. 通信処理のシーケンス図である。It is a sequence diagram of a communication process.

符号の説明Explanation of symbols

1,2,5 LAN(ローカルネットワーク)
3 インターネット(グローバルネットワーク)
4 SIPサーバ
11,12,21,22,51,52 通信端末
13,23,53 中継サーバ
1,2,5 LAN (local network)
3 Internet (global network)
4 SIP server 11, 12, 21, 22, 51, 52 Communication terminal 13, 23, 53 Relay server

Claims (5)

ローカルエリアネットワークに配置され、ワイドエリアネットワークに配置された外部サーバと通信可能な中継サーバであって、
ローカルエリアネットワーク内の通信端末のアカウント情報を登録する手段と、
自装置のアカウント情報を外部サーバに登録する手段と、
外部サーバに登録されている他の中継サーバを指定して、他の中継サーバと直接通信可能な中継用の通信セッションを構築する手段と、
他の中継サーバと、保持しているアカウント情報を交換する手段と、
通信端末のアカウント情報をグループ化したグループ情報を登録する手段と、
ローカルエリアネットワーク内の通信端末から他の通信端末のアカウントを指定した通信要求を受けると、保持しているグループ情報に基づいて両通信端末が同じグループに登録されているか否かを判断し、登録されている場合に、保持しているアカウント情報に基づいて中継サーバを決定し、その中継サーバとの中継用の通信セッションを通じて、通信端末間の通信データを中継する手段と、
を備えることを特徴とする中継サーバ。
A relay server arranged in a local area network and capable of communicating with an external server arranged in a wide area network,
Means for registering account information of communication terminals in the local area network;
Means for registering the account information of its own device in an external server;
A means for specifying another relay server registered in the external server and constructing a communication session for relay that can communicate directly with the other relay server;
Means for exchanging account information with other relay servers;
Means for registering group information in which account information of communication terminals is grouped;
When a communication request specifying an account of another communication terminal is received from a communication terminal in the local area network, it is determined whether or not both communication terminals are registered in the same group based on the held group information. Means for determining a relay server based on the held account information and relaying communication data between communication terminals through a relay communication session with the relay server,
A relay server comprising:
請求項1に記載の中継サーバにおいて、
自装置がグループ情報を保持していない場合、他の中継サーバにグループ情報の送信を要求する手段、
を備える中継サーバ。
The relay server according to claim 1,
Means for requesting transmission of group information to another relay server if the own device does not hold group information;
A relay server.
請求項1または請求項2に記載の中継サーバにおいて、
他の中継サーバに、その中継サーバが保持しているグループ情報に変更が発生した場合に変更後のグループ情報の送信を要求する手段、
を備える中継サーバ。
In the relay server according to claim 1 or 2,
Means for requesting another relay server to send the group information after the change when the group information held by the relay server is changed,
A relay server.
請求項1ないし請求項3のいずれかに記載の中継サーバにおいて、
通信端末からのグループ情報の送信要求を受け付けて、その通信端末に関するグループ情報を抽出して送信する手段、
を備えることを特徴とする中継サーバ。
In the relay server according to any one of claims 1 to 3,
Means for accepting a transmission request for group information from a communication terminal, extracting group information relating to the communication terminal, and transmitting the group information;
A relay server comprising:
請求項1ないし請求項4のいずれかに記載の中継サーバにおいて、
通信端末からグループ情報を受信して、保持しているグループ情報を更新する手段、
を備えることを特徴とする中継サーバ。
In the relay server according to any one of claims 1 to 4,
Means for receiving group information from a communication terminal and updating the held group information;
A relay server comprising:
JP2006277183A 2006-10-11 2006-10-11 Relay server Active JP4207078B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2006277183A JP4207078B2 (en) 2006-10-11 2006-10-11 Relay server
EP07018963A EP1926285B1 (en) 2006-10-11 2007-09-26 Relay server
DE602007012475T DE602007012475D1 (en) 2006-10-11 2007-09-26 relay server
EP09003961A EP2112805B1 (en) 2006-10-11 2007-09-26 Relay server
US11/862,654 US8316134B2 (en) 2006-10-11 2007-09-27 File server device arranged in a local area network and being communicable with an external server arranged in a wide area network
CN2007101520770A CN101163082B (en) 2006-10-11 2007-10-09 Relay server apparatus
US13/650,180 US9294519B2 (en) 2006-10-11 2012-10-12 File server device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006277183A JP4207078B2 (en) 2006-10-11 2006-10-11 Relay server

Publications (2)

Publication Number Publication Date
JP2008098881A JP2008098881A (en) 2008-04-24
JP4207078B2 true JP4207078B2 (en) 2009-01-14

Family

ID=39381282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006277183A Active JP4207078B2 (en) 2006-10-11 2006-10-11 Relay server

Country Status (1)

Country Link
JP (1) JP4207078B2 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4803229B2 (en) * 2008-09-04 2011-10-26 村田機械株式会社 Relay server, relay communication system
JP4831145B2 (en) * 2008-09-01 2011-12-07 村田機械株式会社 Relay server and relay communication system
JP4831148B2 (en) * 2008-09-08 2011-12-07 村田機械株式会社 Relay server, relay communication system
TWI455547B (en) 2008-09-01 2014-10-01 Murata Machinery Ltd Relay server and relay communication system
JP4798197B2 (en) * 2008-09-08 2011-10-19 村田機械株式会社 Relay server, relay communication system
WO2010026727A1 (en) * 2008-09-05 2010-03-11 村田機械株式会社 Relay server, relay communication system and communication apparatus
JP4798194B2 (en) * 2008-09-05 2011-10-19 村田機械株式会社 Communication device
JP4947086B2 (en) * 2009-04-09 2012-06-06 村田機械株式会社 Relay communication system
CN102025591B (en) 2009-09-18 2013-12-18 中兴通讯股份有限公司 Method and system for implementing virtual private network
CN102025589B (en) * 2009-09-18 2015-04-01 中兴通讯股份有限公司 Method and system for realizing virtual private network
JP5715476B2 (en) * 2011-04-25 2015-05-07 Kddi株式会社 Mapping server control method and mapping server
JP6515653B2 (en) * 2015-04-16 2019-05-22 日本電気株式会社 INFORMATION PROCESSING APPARATUS, MONITORING METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP2008098881A (en) 2008-04-24

Similar Documents

Publication Publication Date Title
JP4207078B2 (en) Relay server
US8316134B2 (en) File server device arranged in a local area network and being communicable with an external server arranged in a wide area network
JP4222397B2 (en) Relay server
TWI408936B (en) Network traversal method and network communication system
US20070233844A1 (en) Relay device and communication system
JP4154615B2 (en) SIP server sharing module device, SIP message relay method, and program
JP4656536B2 (en) Relay server and relay communication system
JP5125087B2 (en) Relay server
JP4231984B2 (en) Relay server and communication system
JP2008098888A (en) Relay server
TWI523455B (en) Relay servers, relay communication systems and routing machines
US20120008634A1 (en) First relay server and second relay server
JP4187036B2 (en) Relay server
JP4254837B2 (en) File transfer server
JP5207270B2 (en) Communication system between multiple networks
JP4222402B2 (en) Relay server
JP3543767B2 (en) Facsimile system
JP4773312B2 (en) File transfer server
JP4992944B2 (en) Relay server and relay communication system
JP5084716B2 (en) VPN connection apparatus, DNS packet control method, and program
JP3743502B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND NETWORK DEVICE
JP5247534B2 (en) Method and system for establishing a plurality of sessions of different routes depending on home gateway
JP2014053731A (en) Remote controlled device, remote controller, remote control support device, remote control system and remote control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080911

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: 20080924

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081007

R150 Certificate of patent or registration of utility model

Ref document number: 4207078

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141031

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250