JP2002217938A - Relay server and communication system - Google Patents

Relay server and communication system

Info

Publication number
JP2002217938A
JP2002217938A JP2001007656A JP2001007656A JP2002217938A JP 2002217938 A JP2002217938 A JP 2002217938A JP 2001007656 A JP2001007656 A JP 2001007656A JP 2001007656 A JP2001007656 A JP 2001007656A JP 2002217938 A JP2002217938 A JP 2002217938A
Authority
JP
Japan
Prior art keywords
relay server
connection
terminal
connection information
network 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
Application number
JP2001007656A
Other languages
Japanese (ja)
Other versions
JP2002217938A5 (en
JP4231985B2 (en
Inventor
Yoshifumi Tanimoto
好史 谷本
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 JP2001007656A priority Critical patent/JP4231985B2/en
Priority to US10/045,897 priority patent/US7206088B2/en
Publication of JP2002217938A publication Critical patent/JP2002217938A/en
Publication of JP2002217938A5 publication Critical patent/JP2002217938A5/ja
Application granted granted Critical
Publication of JP4231985B2 publication Critical patent/JP4231985B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication system which can readily conduct connection between terminals within different local systems. SOLUTION: A terminal 11 logs in a relay server 4, and the terminal 11 updates the connection information and notifies the update to a relay server 5, when communication with the relay server 4 is available. Likewise, a terminal 21 logs in the relay server 5, and the terminal 21 updates the connection information and notifies the update to the relay server 4, when communication with the relay server 5 is available. When a connection request from the terminal 11 to the terminal 21 is transmitted to the relay server 4, the relay server 4 refers to the connection information to estimate the connection state of the terminal 21, and the fact that the terminal 21 is connected to the relay server 5. If the terminal 21 can be communicated, the relay server 4 transfers the connection request to the relay server 5, and then the relay server 5 transfers the transferred connection request to the terminal 21. Hereinafter, the relay servers 4 and 5 relay communications between the terminal 11 and the terminal 21.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のネットワー
ク装置及び複数の中継サーバがネットワークによって接
続された通信システムと、そのような通信システムにお
いて利用して好適な中継サーバに関するものである。
The present invention relates to a communication system in which a plurality of network devices and a plurality of relay servers are connected by a network, and a relay server suitable for use in such a communication system.

【0002】[0002]

【従来の技術】図7は、一般的なインターネットを用い
たシステムの一例を示す説明図である。図中、1,2は
ローカルシステム、3はインターネット、11,12,
21,22は端末、13,23はゲートウェイ、14,
24はLANである。ローカルシステム1は、端末1
1、端末12、ゲートウェイ13などがLAN14によ
り接続されて構成されている。ゲートウェイ13は、L
AN14とともにインターネット3に接続されており、
LAN14上の端末11,12など、各種のネットワー
ク機器からインターネットを利用することができる。ま
たローカルシステム2も同様であり、端末21、端末2
2、ゲートウェイ23などがLAN24により接続され
て構成されている。ゲートウェイ23は、LAN24と
ともにインターネット3に接続されており、LAN24
上の端末21,22など、各種のネットワーク機器から
インターネットを利用することができる。もちろん、そ
れぞれのローカルシステム1,2において、他の様々な
機器がLAN14,24により接続されていてよい。
2. Description of the Related Art FIG. 7 is an explanatory diagram showing an example of a general system using the Internet. In the figure, 1 and 2 are local systems, 3 is the Internet, 11, 12, and
21, 22 are terminals, 13, 23 are gateways, 14,
24 is a LAN. The local system 1 is a terminal 1
1, a terminal 12, a gateway 13, and the like are connected by a LAN 14. Gateway 13 is L
It is connected to the Internet 3 together with the AN 14,
The Internet can be used from various network devices such as the terminals 11 and 12 on the LAN 14. The same applies to the local system 2;
2, a gateway 23 and the like are connected by a LAN 24. The gateway 23 is connected to the Internet 3 together with the LAN 24.
The Internet can be used from various network devices such as the terminals 21 and 22 above. Of course, in each of the local systems 1 and 2, various other devices may be connected by the LANs 14 and 24.

【0003】このようなシステムにおいて、通常はロー
カルシステム1,2に対してはグローバルIPアドレス
は1ないし複数個が割り当てられるが、ローカルシステ
ム1,2内のそれぞれのネットワーク機器にグローバル
IPアドレスが割り当てられるわけではない。それぞれ
のローカルシステム1,2内の各ネットワーク機器には
プライベートなIPアドレスが割り振られており、ゲー
トウェイ13,23によってNATやIPマスカレード
などの機能を用いてプライベートなIPアドレスとグロ
ーバルなIPアドレスとの変換を行っている。このよう
なIPアドレスの変換機能を有するゲートウェイ13,
23を用い、例えばローカルシステム1では端末11,
12はゲートウェイ13を介してインターネット3を利
用することになる。またローカルシステム2において
も、端末21,22はゲートウェイ23を介してインタ
ーネット3を利用することになる。
In such a system, one or more global IP addresses are usually assigned to the local systems 1 and 2, but a global IP address is assigned to each network device in the local systems 1 and 2. Not necessarily. A private IP address is allocated to each network device in each of the local systems 1 and 2, and the gateways 13 and 23 use a function such as NAT or IP masquerade to divide the private IP address with the global IP address. Conversion is being performed. Gateway 13 having such an IP address conversion function,
23, for example, in the local system 1, the terminal 11,
12 uses the Internet 3 through the gateway 13. Also in the local system 2, the terminals 21 and 22 use the Internet 3 via the gateway 23.

【0004】またゲートウェイ13,23あるいは別の
ネットワーク装置等においてはファイアウォールやプロ
キシサーバなどの機能を有し、これらの装置を介して各
端末がインターネット3を利用するような構成も利用さ
れており、システムの安全性を向上させている。
The gateways 13 and 23 or other network devices have functions such as a firewall and a proxy server, and a configuration is also used in which each terminal uses the Internet 3 via these devices. Improves system safety.

【0005】ここで、例えばインターネット3からロー
カルシステム1内の端末11に対してアクセスしようと
すると、ゲートウェイ13のグローバルIPアドレスを
知ることはできるものの、端末11のプライベートなI
Pアドレスを知ることはできない。従って、通常の接続
方法ではローカルシステム1の外部から端末11をアク
セスすることはできない。またゲートウェイ13のファ
イアウォールの機能などによって、アクセスを受け付け
るサイトが制限されている場合もある。もちろん、端末
12についても同様であるし、ローカルシステム2内の
端末21,22についても同様である。
Here, for example, when an attempt is made to access the terminal 11 in the local system 1 from the Internet 3, although the global IP address of the gateway 13 can be known, the private I
The P address cannot be known. Therefore, the terminal 11 cannot be accessed from outside the local system 1 by a normal connection method. In some cases, sites that accept access are restricted by the function of the firewall of the gateway 13 or the like. Of course, the same applies to the terminal 12, and the same applies to the terminals 21 and 22 in the local system 2.

【0006】さらに、ローカルシステム1内の端末11
や端末12、ローカルシステム2内の端末21や端末2
2は、通常はクライアント機能しか有しておらず、他の
ネットワーク機器からの情報を受け付けるサーバの機能
を有していない。そのため、端末11,12,21,2
2から他のネットワーク機器にアクセスしない限り、他
のネットワーク機器からこれらの端末に情報を送信する
ことができない。
Further, the terminal 11 in the local system 1
Terminal 12, terminal 21 or terminal 2 in the local system 2.
2 has only a client function and does not have a server function for receiving information from another network device. Therefore, the terminals 11, 12, 21, 22
The information cannot be transmitted from the other network device to these terminals unless the second device accesses the other network device.

【0007】[0007]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、インターネットからローカ
ルシステム内の端末への接続、あるいは異なるローカル
システム内の端末間の接続を容易に行うことができる通
信システム、および、そのような通信システムにおいて
利用して好適な中継サーバを提供することを目的とする
ものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and is intended to facilitate connection from the Internet to a terminal in a local system or connection between terminals in different local systems. And a relay server suitable for use in such a communication system.

【0008】[0008]

【課題を解決するための手段】本発明は、中継サーバに
おいて、複数のネットワーク装置および他の中継サーバ
と通信可能な通信手段と、通信可能な前記ネットワーク
装置の接続情報を保持する接続情報保持手段を有し、前
記通信手段は、前記ネットワーク装置からの要求に基づ
いて前記接続情報を更新するとともに該接続情報の更新
に基づいて前記他の中継サーバに通知することを特徴と
するものである。また、前記通信手段は、前記他の中継
サーバからの接続情報更新時の通知に基づいて前記接続
情報保持手段中の前記接続情報を更新することを特徴と
するものである。
According to the present invention, in a relay server, communication means capable of communicating with a plurality of network devices and other relay servers, and connection information holding means for holding connection information of the communicable network devices. Wherein the communication unit updates the connection information based on a request from the network device and notifies the other relay server based on the update of the connection information. Further, the communication means updates the connection information in the connection information holding means based on a notification at the time of updating the connection information from the another relay server.

【0009】また本発明は、複数のネットワーク装置及
び複数の中継サーバがネットワークによって接続された
通信システムにおいて、前記ネットワーク装置は、いず
れかの前記中継サーバと通信路を確立し、他のネットワ
ーク装置との接続要求を行って通信を行うものであり、
中継サーバは、通信可能なネットワーク装置の接続情報
を保持するとともに、前記ネットワーク装置からの要求
に基づいて前記接続情報を更新して他の中継サーバに通
知し、また他の中継サーバから送られてくる接続情報更
新時の通知に基づいて前記接続情報を更新することを特
徴とするものである。
According to the present invention, in a communication system in which a plurality of network devices and a plurality of relay servers are connected by a network, the network device establishes a communication path with any one of the relay servers and communicates with another network device. Communication by making a connection request of
The relay server holds the connection information of the communicable network device, updates the connection information based on a request from the network device, notifies the other relay server, and sends the connection information from another relay server. The connection information is updated based on a notification at the time of updating the connection information.

【0010】このように、それぞれの中継サーバに接続
されるネットワーク装置の接続情報が更新されると、そ
れを他の中継サーバに通知し、また他の中継サーバから
接続情報の更新通知を受けることによって、ネットワー
ク装置の接続情報を常に更新し、共有することができ
る。従って、ネットワーク装置から他のネットワーク装
置に対して接続要求を行う場合でも、中継サーバは、接
続先のネットワーク装置がどの中継サーバに接続されて
いるかを知ることができ、即座に通信を中継することが
できる。またネットワーク装置側でも、接続先のネット
ワーク装置がどの中継サーバに接続されているかといっ
たことを意識する必要がなく、容易に接続要求を行うこ
とができる。さらに、中継サーバには他の中継サーバに
接続されているネットワーク装置の接続情報も集積され
ていることから、これらの接続情報をネットワーク装置
から参照可能に構成すれば、接続要求を行う前に接続先
の状態などを確認することが可能になる。
As described above, when the connection information of the network device connected to each relay server is updated, the connection information is notified to another relay server and the update notification of the connection information is received from another relay server. Thus, the connection information of the network device can be constantly updated and shared. Therefore, even when a connection request is made from a network device to another network device, the relay server can know which relay server the connected network device is connected to and immediately relay the communication. Can be. Also, the network device does not need to be aware of which relay server the connected network device is connected to, and can easily make a connection request. Furthermore, since connection information of network devices connected to other relay servers is also accumulated in the relay server, if the connection information is configured to be able to be referred to from the network device, the connection is established before a connection request is made. It is possible to check the previous state and the like.

【0011】上述のような接続情報更新時の通知は、更
新を行った中継サーバが他のすべての中継サーバに対し
て行うほか、中継サーバが当該通知についても中継する
ように構成することができる。この場合、中継サーバ
は、通知を受け取ったら発信元以外の他の中継サーバに
対して転送するように構成するとともに、受け取った通
知がそれまでに受け取った通知以前の過去のものである
場合には更新せずに破棄するように構成するとよい。こ
れによって当該通知のループを防ぎながら、当該通知を
行き渡らせることができる。
The notification at the time of updating the connection information as described above is performed by the updated relay server to all other relay servers, and the relay server can also be configured to relay the notification. . In this case, the relay server is configured to forward the notification to another relay server other than the source server when receiving the notification, and if the received notification is in the past before the notification received so far. It may be configured to discard without updating. This makes it possible to spread the notification while preventing the loop of the notification.

【0012】さらに本発明は、複数のネットワーク装置
及び複数の中継サーバがネットワークによって接続され
た通信システムにおいて、さらに前記ネットワーク装置
の接続情報を保持して前記中継サーバに前記接続情報を
提供するデータベースサーバを有し、前記ネットワーク
装置は、いずれかの前記中継サーバと通信路を確立し、
他のネットワーク装置との接続要求を行って通信を行う
ものであり、中継サーバは、前記ネットワーク装置から
の要求に基づいて前記接続情報を更新する場合に、更新
した接続情報を前記データベースサーバに保持させるこ
とを特徴とするものである。
Further, in the present invention, in a communication system in which a plurality of network devices and a plurality of relay servers are connected by a network, a database server for holding the connection information of the network devices and providing the connection information to the relay server Having a communication path with any of the relay servers,
The relay server performs communication by making a connection request with another network device, and the relay server holds the updated connection information in the database server when updating the connection information based on a request from the network device. It is characterized by the following.

【0013】このように、それぞれの中継サーバに接続
されるネットワーク装置の接続情報がデータベースサー
バに保持され、中継サーバに対して接続情報が提供され
ている。そして、接続情報が更新されるとその更新され
た接続情報がデータベースサーバにアップロードされる
ので、常に最新の接続情報が保持され、提供されること
になる。従って、ネットワーク装置から他のネットワー
ク装置に対して接続要求を行う場合でも、中継サーバ
は、データベースサーバから接続情報を取得することに
よって、接続先のネットワーク装置がどの中継サーバに
接続されており、どのような状態であるかを知ることが
でき、通信が可能であれば即座に通信を中継することが
できる。またネットワーク装置側でも、接続先のネット
ワーク装置がどの中継サーバに接続されているかといっ
たことを意識する必要がなく、容易に接続要求を行うこ
とができる。さらに、データベースサーバから接続情報
を取得してネットワーク装置から参照可能に構成すれ
ば、ネットワーク装置において接続要求を行う前に接続
先の状態などを確認することが可能になる。
As described above, the connection information of the network device connected to each relay server is held in the database server, and the connection information is provided to the relay server. Then, when the connection information is updated, the updated connection information is uploaded to the database server, so that the latest connection information is always held and provided. Therefore, even when a connection request is made from a network device to another network device, the relay server obtains connection information from the database server, so that the connection destination network device is connected to which relay server, It is possible to know whether such a state exists, and if the communication is possible, the communication can be immediately relayed. Also, the network device does not need to be aware of which relay server the connected network device is connected to, and can easily make a connection request. Furthermore, if the connection information is acquired from the database server and configured to be able to be referred to from the network device, it is possible to confirm the state of the connection destination before making a connection request in the network device.

【0014】[0014]

【発明の実施の形態】図1は、本発明の中継サーバを含
む通信システムの第1の実施の形態を示す構成図であ
る。図中、図7と同様の部分には同じ符号を付して重複
する説明を省略する。4,5は中継サーバ、41は通信
部、42は接続情報保持部である。中継サーバ4および
中継サーバ5は、インターネット3に接続されており、
それぞれグローバルIPアドレスを有している。このグ
ローバルIPアドレスに対するネットワーク機器からの
ログイン要求を受け付け、そのネットワーク機器との接
続を維持して通信路を確保しておく。また、中継サーバ
4と中継サーバ5との間も通信路が確保されているもの
とする。ネットワーク機器はいずれの中継サーバに対し
て接続していてもよい。図1に示す例では、ローカルシ
ステム1内の端末11や端末12がゲートウェイ13を
介して中継サーバ4に、また、ローカルシステム2内の
端末21や端末22が中継サーバ5に、それぞれ通信路
が確保されている例を示している。なお中継サーバ4,
5は、それぞれ、複数のネットワーク機器との間で接続
を維持しておくことができる。
FIG. 1 is a block diagram showing a first embodiment of a communication system including a relay server according to the present invention. In the figure, the same parts as those in FIG. 7 are denoted by the same reference numerals, and redundant description will be omitted. Reference numerals 4 and 5 are relay servers, 41 is a communication unit, and 42 is a connection information holding unit. The relay server 4 and the relay server 5 are connected to the Internet 3,
Each has a global IP address. A login request for the global IP address is received from a network device, and a connection with the network device is maintained to secure a communication path. It is also assumed that a communication path is provided between the relay server 4 and the relay server 5. The network device may be connected to any of the relay servers. In the example shown in FIG. 1, the terminals 11 and 12 in the local system 1 are connected to the relay server 4 via the gateway 13, the terminals 21 and 22 in the local system 2 are connected to the relay server 5, An example is shown. Note that the relay server 4,
5 can maintain a connection with a plurality of network devices.

【0015】中継サーバ4,5は、このようなネットワ
ーク機器との通信路を用いて、インターネットから、あ
るいは他のローカルシステムのネットワーク機器からの
データを中継して通信を行う。また、ネットワーク機器
から他のネットワーク機器などに対する接続要求を受け
ると、接続先が当該中継サーバとの通信路を確保してい
れば、その通信路を用いて両者間のデータを中継し、通
信を行う。接続先が他の中継サーバと通信可能に接続さ
れている場合には、接続要求を行ったネットワーク機器
と他の中継サーバとの間でデータを中継し、さらにデー
タが転送された他の中継サーバで接続先のネットワーク
機器にデータを中継し、ネットワーク機器間における通
信を実現する。
The relay servers 4 and 5 communicate with each other by relaying data from the Internet or network devices of other local systems using a communication path with such network devices. When a connection request from a network device to another network device or the like is received, if the connection destination has established a communication path with the relay server, data is relayed between the two using the communication path and communication is performed. Do. If the connection destination is communicably connected to another relay server, the relay device relays data between the network device that made the connection request and the other relay server, and further transfers the data to another relay server. Relays the data to the connected network device to realize communication between the network devices.

【0016】例えば中継サーバ4からローカルシステム
1内のゲートウェイ13に対しては接続可能であるが、
端末11や端末12については接続することができな
い。しかし、中継サーバ4のグローバルIPアドレスを
使用すれば、端末11や端末12からゲートウェイ13
を介して中継サーバ4に接続することは可能である。従
って、端末11や端末12から中継サーバ4に対してロ
グイン要求を行うことによって、中継サーバ4とログイ
ン要求を行った端末11あるいは端末12との間の双方
向の通信が可能になる。同様に、中継サーバ5からロー
カルシステム2内のゲートウェイ23に対しては接続可
能であるが、端末21や端末22については接続するこ
とができない。しかし、中継サーバ5のグローバルIP
アドレスを使用すれば、端末21や端末22からゲート
ウェイ23を介して中継サーバ5に接続することは可能
である。従って、端末21や端末22から中継サーバ4
に対してログイン要求を行うことによって、中継サーバ
5とログイン要求を行った端末21あるいは端末22と
の間の双方向の通信が可能になる。さらに中継サーバ4
と中継サーバ5とが通信を行うことによって、端末11
や端末12と、端末21または端末22とが、中継サー
バ4および中継サーバ5を介して通信を行うことができ
る。
For example, the relay server 4 can connect to the gateway 13 in the local system 1,
Terminals 11 and 12 cannot be connected. However, if the global IP address of the relay server 4 is used, the gateway 11
It is possible to connect to the relay server 4 via. Accordingly, by making a login request from the terminal 11 or the terminal 12 to the relay server 4, bidirectional communication between the relay server 4 and the terminal 11 or the terminal 12 that has made the login request becomes possible. Similarly, the relay server 5 can connect to the gateway 23 in the local system 2, but cannot connect to the terminals 21 and 22. However, the global IP of the relay server 5
If the address is used, it is possible to connect to the relay server 5 from the terminal 21 or 22 via the gateway 23. Therefore, the relay server 4 is
, A bidirectional communication between the relay server 5 and the terminal 21 or the terminal 22 that has made the login request becomes possible. In addition, relay server 4
The terminal 11 communicates with the relay server 5 by communication.
Terminal 12 and terminal 21 or terminal 22 can communicate with each other via relay server 4 and relay server 5.

【0017】中継サーバ4は、例えば通信部41および
接続情報保持部42を含んで構成することができる。通
信部41は、インターネット3を介して複数のネットワ
ーク機器および1ないし複数の中継サーバと通信可能で
ある。そして通信部41は、通信可能に接続されている
ネットワーク機器から接続要求情報を受け取ると、その
接続要求情報に従って接続情報保持部42内の接続情報
を参照して接続先のネットワーク機器が接続されている
中継サーバを割り出し、その中継サーバに直接、あるい
は他の中継サーバを介して接続要求を中継し、接続を要
求したネットワーク機器との間でのデータ転送を中継す
る。例えば端末11がそれぞれ通信部41により通信可
能に接続されており、中継サーバ5に接続されている端
末21との接続要求情報を受け取ると、端末11と通信
部41との間でデータ転送を行うとともに、通信部41
と中継サーバ5との間でデータ転送を行う。さらに中継
サーバ5で端末21との間の通信を行うことによって、
実質的に端末11と端末21との間での通信を実現す
る。もちろん、中継サーバ4に接続されている2台のネ
ットワーク機器間での通信も可能である。また、1台の
ネットワーク機器と複数の接続を確保しておくことも可
能であり、1台のネットワーク機器が複数の接続を用い
て複数台のネットワーク機器との通信を行うことが可能
である。
The relay server 4 can include, for example, a communication unit 41 and a connection information holding unit 42. The communication unit 41 can communicate with a plurality of network devices and one or more relay servers via the Internet 3. When the communication unit 41 receives the connection request information from the network device communicably connected, the communication unit 41 refers to the connection information in the connection information holding unit 42 according to the connection request information, and connects to the connection destination network device. A relay server is determined, and a connection request is relayed directly to the relay server or via another relay server, and data transfer with the network device that has requested the connection is relayed. For example, the terminals 11 are communicably connected to each other by the communication unit 41, and upon receiving connection request information with the terminal 21 connected to the relay server 5, data is transferred between the terminal 11 and the communication unit 41. Together with the communication unit 41
And data transfer between the server and the relay server 5. Further, by performing communication with the terminal 21 in the relay server 5,
The communication between the terminal 11 and the terminal 21 is substantially realized. Of course, communication between two network devices connected to the relay server 4 is also possible. Also, it is possible to secure a plurality of connections with one network device, and it is possible for one network device to communicate with a plurality of network devices using a plurality of connections.

【0018】なお、中継サーバ5の構成は中継サーバ4
と同様に構成することができる。もちろん、中継サーバ
は2台に限らず、さらに多くの中継サーバがインターネ
ット上に設けられていてよい。また、それぞれの中継サ
ーバは、すべての中継サーバと接続できなくてもよく、
1ないし複数の中継サーバを介して目的の中継サーバと
接続される接続形態であってもよい。
The structure of the relay server 5 is as follows.
Can be configured similarly to Of course, the number of relay servers is not limited to two, and more relay servers may be provided on the Internet. Also, each relay server may not be able to connect to all relay servers,
A connection mode in which the relay server is connected to a target relay server via one or more relay servers may be used.

【0019】通信部41は、上述のようなネットワーク
機器からのログインの要求や他のネットワーク機器に対
する接続要求、さらには接続後の通信終了、ログアウト
などを処理し、ネットワーク機器との接続の状態が変化
すると、当該ネットワーク機器に対応する接続情報保持
部42中の接続情報を更新し、接続情報を更新したこと
を他の中継サーバに通知する。この通知は、例えば当該
中継サーバに接続されるすべてのネットワーク機器の更
新後の接続情報、あるいは、変更のあったネットワーク
機器の更新後の接続情報等を含めることができる。ま
た、更新日時や更新を行った中継サーバを特定する情報
を含めておくとよい。
The communication unit 41 processes a login request from a network device as described above, a connection request to another network device, a communication termination after connection, a logout, and the like. When it changes, the connection information in the connection information holding unit 42 corresponding to the network device is updated, and another relay server is notified that the connection information has been updated. This notification can include, for example, updated connection information of all network devices connected to the relay server, updated connection information of changed network devices, and the like. Also, it is preferable to include the update date and time and information for specifying the relay server that has performed the update.

【0020】また通信部41は、他の中継サーバから送
られてきた通知を受け取り、接続情報保持部42に保持
されている接続情報と比較して新しければ受け取った通
知に従って接続情報を更新する。そして、その通知の送
信元以外の中継サーバに対して受け取った通知を転送す
る。また、受け取った通知が接続情報保持部42に保持
されている接続情報以前の過去のものである場合には、
接続情報保持部42の更新を行わずに破棄し、他の中継
サーバへの転送も行わない。これによって、接続情報保
持部42に保持される接続情報を常に最新のものとなる
ように管理し、また、通知の転送がループにならないよ
うにして、すべての中継サーバに行き渡るように転送す
ることができる。
The communication unit 41 receives a notification sent from another relay server, compares it with the connection information held in the connection information holding unit 42, and updates the connection information according to the received notification if the connection information is newer. . Then, the received notification is transferred to a relay server other than the transmission source of the notification. If the received notification is a past one before the connection information held in the connection information holding unit 42,
The connection information holding unit 42 is discarded without being updated, and is not transferred to another relay server. Thereby, the connection information held in the connection information holding unit 42 is managed so as to be always the latest, and the transfer of the notification is prevented from forming a loop, and is transferred so as to reach all the relay servers. Can be.

【0021】接続情報保持部42は、それぞれの中継サ
ーバに接続可能なネットワーク機器の接続情報を保持し
ている。接続情報は、例えばユーザIDや接続状態など
の情報を含んでおり、中継サーバを介して通信可能なユ
ーザ(ネットワーク機器)の管理や、通信状態の管理な
どを行うことができる。図2は、接続情報保持部42が
保持している接続情報を含む情報の一例の説明図であ
る。図2に示す例では、中継サーバに固有の情報として
サーバ名、IPアドレスなどの情報を含むとともに、ユ
ーザID、タイプ、属性、状態などの情報を含む接続情
報と、その接続情報の最終更新日時などの情報を接続情
報保持部42に保持させている。タイプはネットワーク
機器の種別の情報、例えばクライアント端末であるのか
FAXやプリンタなどの装置であるかなどの情報を保持
することができる。属性は、タイプの情報に付随した種
々の情報を保持することができ、例えば図2に示す例で
はファイル単位の送受信を行う旨を示す属性を付した例
を示している。状態の情報としては、例えばログイン中
であるか否かや、ログインした後に他のネットワーク機
器と通信を行っているか否かなどを示す情報を保持する
ことができる。もちろん、接続情報として、このほかに
も各種の情報を含んでいてよい。
The connection information holding section 42 holds connection information of network devices connectable to each relay server. The connection information includes, for example, information such as a user ID and a connection state, and can manage a user (network device) that can communicate via the relay server, manage a communication state, and the like. FIG. 2 is an explanatory diagram of an example of information including the connection information held by the connection information holding unit 42. In the example illustrated in FIG. 2, connection information including information such as a user ID, a type, an attribute, and a state as well as information such as a server name and an IP address as information unique to the relay server, and the last update date and time of the connection information Is stored in the connection information storage unit 42. The type can hold information on the type of the network device, for example, information such as whether the device is a client terminal or a device such as a FAX or a printer. The attribute can hold various types of information attached to the type information. For example, the example shown in FIG. 2 shows an example in which an attribute indicating transmission / reception in file units is added. As the status information, for example, information indicating whether or not the user is logged in, whether or not communication with another network device has been performed after the login, and the like can be held. Of course, various other information may be included as the connection information.

【0022】また、最終更新日時は、当該接続情報を更
新したときに他の中継サーバに通知する際に付加してお
くことが望ましい。通知を受け取った中継サーバは、付
加されている最終更新日時によって、最新の情報か否か
を判断することが可能になる。
It is desirable that the last update date and time be added when notifying another relay server when the connection information is updated. The relay server that has received the notification can determine whether the information is the latest information based on the added last update date and time.

【0023】なお、図2(A)に示すそれぞれのネット
ワーク機器毎の接続情報は、当該中継サーバに接続され
るネットワーク機器を特定して予め登録しておくことが
できる。これによって、登録されているネットワーク機
器以外からのログイン要求などを拒否し、安全性を確保
することができる。さらにパスワードなどの認証データ
を保持させておくことによって、安全性を向上させるこ
とが可能である。
The connection information for each network device shown in FIG. 2A can be registered in advance by specifying the network device connected to the relay server. As a result, it is possible to reject a login request or the like from a device other than the registered network device, thereby ensuring security. Further, security can be improved by holding authentication data such as a password.

【0024】接続情報保持部42には、中継サーバ4に
接続されるネットワーク機器の接続情報のほか、他の中
継サーバから送られてくる接続情報も保持している。こ
れらは、例えば図2(B)に示すようにそれぞれの中継
サーバ毎の接続情報として保持しておくことができる。
このように中継サーバ毎に接続情報を管理することによ
って、ネットワーク機器から他のネットワーク機器への
接続要求を受けたとき、接続先のネットワーク機器が接
続されている中継サーバを即座に割り出すことができ
る。また、接続先のネットワーク機器の状態についても
知ることができ、例えば接続先のネットワーク機器がロ
グインしていなければ、他の中継サーバに中継すること
なく、接続要求をエラーとすることも可能である。
The connection information holding section 42 holds connection information sent from another relay server in addition to connection information of network devices connected to the relay server 4. These can be stored as connection information for each relay server, for example, as shown in FIG.
By managing the connection information for each relay server in this way, when a connection request from a network device to another network device is received, the relay server to which the connection destination network device is connected can be immediately determined. . It is also possible to know the status of the connection destination network device. For example, if the connection destination network device is not logged in, the connection request can be made an error without relaying to another relay server. .

【0025】図3、図4は、本発明の中継サーバを含む
通信システムの第1の実施の形態における通信手順の一
例を示すシーケンス図である。図3、図4に示す通信手
順は、TCP/IPを利用して実行され、中継サーバと
の接続、接続の維持、端末への接続要求、端末へのデー
タ転送、端末との接続終了、中継サーバとの接続終了等
を行うものである。このうち、中継サーバとの接続、接
続の維持、中継サーバとの接続終了の部分を図3に示
し、端末への接続要求、端末へのデータ転送、端末との
接続終了等の部分を図4に示している。
FIGS. 3 and 4 are sequence diagrams showing an example of a communication procedure in the first embodiment of the communication system including the relay server of the present invention. The communication procedure shown in FIGS. 3 and 4 is executed using TCP / IP, and connects to a relay server, maintains connection, requests connection to a terminal, transfers data to a terminal, terminates connection with a terminal, and relays. The connection with the server is terminated. FIG. 3 shows a portion of connection with the relay server, maintenance of the connection, and termination of the connection with the relay server. FIG. 4 shows portions of a connection request to the terminal, data transfer to the terminal, and termination of the connection with the terminal. Is shown in

【0026】ここでは一例として、図1におけるローカ
ルシステム1内の端末11とローカルシステム2内の端
末21との間で通信を行う場合について示している。予
め、中継サーバ4に対して端末11をユーザとして登録
し、また中継サーバ5に対して端末21をユーザとして
登録しておく。登録の情報としては、例えば図2(A)
に示した接続情報の各項目の情報とすることができる。
このほか、認証のためにパスワードなどを登録しておく
とよい。これらの接続情報は、例えば登録時に接続情報
の更新として捉え、ネットワーク機器が登録された中継
サーバから他の中継サーバへ通知される。これによっ
て、中継サーバ4と中継サーバ5は互いの接続情報を共
有することになる。
Here, as an example, a case where communication is performed between the terminal 11 in the local system 1 and the terminal 21 in the local system 2 in FIG. 1 is shown. The terminal 11 is registered as a user with the relay server 4 in advance, and the terminal 21 is registered with the relay server 5 as a user. As the registration information, for example, FIG.
Can be the information of each item of the connection information shown in FIG.
In addition, a password or the like may be registered for authentication. The connection information is regarded as an update of the connection information at the time of registration, for example, and is notified from the relay server in which the network device is registered to another relay server. As a result, the relay server 4 and the relay server 5 share the connection information of each other.

【0027】端末11は、例えば起動後あるいはオペレ
ータによって指示されると、(1)において、ゲートウ
ェイ13を介して中継サーバ4に接続し、ログインして
中継サーバ4とのTCP/IPコネクション(接続1)
を確立する。端末11はローカルシステム1内のネット
ワーク機器であるため、中継サーバ4から直接通信を行
うことはできないが、クライアントである端末11から
のログインにより中継サーバ4への接続は可能である。
TCP/IPコネクションは双方向型のデータ通信が可
能であるので、端末11から中継サーバ4へ、また中継
サーバ4から端末11への通信を行うことができる。
The terminal 11 is connected to the relay server 4 via the gateway 13 at (1), for example, after activation or when instructed by the operator, logs in, and performs a TCP / IP connection with the relay server 4 (connection 1). )
To establish. Since the terminal 11 is a network device in the local system 1, the terminal 11 cannot directly communicate with the relay server 4, but can connect to the relay server 4 by logging in from the terminal 11 which is a client.
Since the TCP / IP connection enables bidirectional data communication, communication from the terminal 11 to the relay server 4 and from the relay server 4 to the terminal 11 can be performed.

【0028】接続1が確立した後、(2)において端末
11はユーザIDを中継サーバ4に送る。中継サーバ4
は、受け取ったユーザIDが接続情報保持部42に接続
情報として保持されているかを調べる。なお、端末11
のユーザIDとともに、例えばパスワードなどによって
認証を行うとよい。この認証によって、不特定の第3者
との接続を回避し、安全性を確保することができる。も
し接続情報が登録されていなかったり、認証に失敗した
場合には、中継サーバ4は端末11に対して否定応答を
行うか、あるいはそのまま接続1を切断する。認証が成
功したら、(3)において肯定応答を行うとともに、端
末11の接続情報をログインの状態に変更し、(4)に
おいて、接続情報の更新を他の中継サーバ(ここでは中
継サーバ5)に通知する。中継サーバ5では、この通知
を受けて、保持している中継サーバ4の接続情報を更新
して、中継サーバ4が保持している接続情報と一致させ
る。
After the connection 1 is established, the terminal 11 sends the user ID to the relay server 4 in (2). Relay server 4
Checks whether the received user ID is held in the connection information holding unit 42 as connection information. Note that the terminal 11
It is preferable to perform authentication using, for example, a password together with the user ID. By this authentication, connection with an unspecified third party can be avoided, and security can be ensured. If the connection information is not registered or the authentication fails, the relay server 4 sends a negative response to the terminal 11 or disconnects the connection 1 as it is. If the authentication is successful, an acknowledgment is made in (3) and the connection information of the terminal 11 is changed to the login state. In (4), the connection information is updated to another relay server (here, the relay server 5). Notice. In response to the notification, the relay server 5 updates the connection information of the relay server 4 held by the relay server 5 to match the connection information held by the relay server 4.

【0029】中継サーバ4とのTCP/IPコネクショ
ンが確立し、認証が得られたら、その接続(接続1)を
保持しておくために、(5)において定期的に中継サー
バ4に対し接続保持のコマンドを送出し、(6)におい
て中継サーバ4からの確認の応答を得る。これによって
接続を保持しておくとともに、中継サーバが正常に稼働
していることの確認を行う。このようにして端末11と
中継サーバ4との間で通信可能な接続1を維持する。
When a TCP / IP connection with the relay server 4 is established and authentication is obtained, the connection (connection 1) is periodically maintained in the relay server 4 in (5) in order to maintain the connection (connection 1). Is transmitted, and a confirmation response is obtained from the relay server 4 in (6). As a result, the connection is maintained, and it is confirmed that the relay server is operating normally. In this way, the connection 1 that allows communication between the terminal 11 and the relay server 4 is maintained.

【0030】同様に端末21は、(1’)において、ゲ
ートウェイ23を介して中継サーバ5に接続し、ログイ
ンして中継サーバ5とのTCP/IPコネクション(接
続2)を確立する。端末21もローカルシステム2内の
ネットワーク機器であるため、中継サーバ5から直接通
信を行うことはできないが、クライアントである端末2
1からのログインにより中継サーバ5への接続は可能で
ある。接続2によって、端末21から中継サーバ5へ、
また中継サーバ5から端末21への通信を行うことがで
きる。
Similarly, at (1 '), the terminal 21 connects to the relay server 5 via the gateway 23, logs in, and establishes a TCP / IP connection (connection 2) with the relay server 5. Since the terminal 21 is also a network device in the local system 2, the terminal 21 cannot directly communicate with the relay server 5.
Connection to the relay server 5 is possible by logging in from 1. By the connection 2, from the terminal 21 to the relay server 5,
Further, communication from the relay server 5 to the terminal 21 can be performed.

【0031】接続2が確立した後、(2’)において端
末21はユーザIDを中継サーバ5に送る。中継サーバ
5は、受け取ったユーザIDが登録されているか否かを
調べる。なお、端末11のユーザIDとともに、例えば
パスワードなどによって認証を行うとよい。この認証に
よって、不特定の第3者との接続を回避し、安全性を確
保することができる。もし接続情報が登録されていなか
ったり、認証に失敗した場合には、中継サーバ5は端末
21に対して否定応答を行うか、あるいはそのまま接続
2を切断する。認証が成功したら、(3’)において、
肯定応答を行うとともに、端末21の接続情報をログイ
ンの状態に変更し、(4’)において、接続情報の更新
を他の中継サーバ(ここでは中継サーバ4)に通知す
る。中継サーバ4では、この通知を受けて、保持してい
る中継サーバ5の接続情報を更新して、中継サーバ5が
保持している接続情報と一致させる。
After the connection 2 is established, the terminal 21 sends the user ID to the relay server 5 at (2 '). The relay server 5 checks whether the received user ID is registered. In addition, it is preferable to perform authentication using, for example, a password together with the user ID of the terminal 11. By this authentication, connection with an unspecified third party can be avoided, and security can be ensured. If the connection information is not registered or the authentication fails, the relay server 5 sends a negative response to the terminal 21 or disconnects the connection 2 as it is. If the authentication is successful, in (3 '),
An acknowledgment is made and the connection information of the terminal 21 is changed to the login state, and in (4 '), the update of the connection information is notified to another relay server (here, the relay server 4). Upon receiving this notification, the relay server 4 updates the connection information of the relay server 5 held by the relay server 4 so that the connection information matches the connection information held by the relay server 5.

【0032】中継サーバ5とのTCP/IPコネクショ
ンが確立し、認証が得られたら、その接続(接続2)を
保持しておくために、(5’)において定期的に中継サ
ーバ5に対し接続保持のコマンドを送出し、(6’)に
おいて中継サーバ5からの確認の応答を得る。これによ
って接続を保持しておくとともに、中継サーバが正常に
稼働していることの確認を行う。このようにして端末2
1と中継サーバ5との間で通信可能な接続2を維持す
る。
When the TCP / IP connection with the relay server 5 is established and the authentication is obtained, the connection to the relay server 5 is periodically made at (5 ') to keep the connection (connection 2). The holding command is transmitted, and a confirmation response is obtained from the relay server 5 in (6 '). As a result, the connection is maintained, and it is confirmed that the relay server is operating normally. Thus, terminal 2
Maintain a communicable connection 2 between 1 and the relay server 5.

【0033】なお、端末11と中継サーバ4との接続
と、端末21と中継サーバ5との接続は、両者の通信前
であればいつ行ってもよい。このようにしてローカルシ
ステム内の端末がいずれかの中継サーバに接続されてい
れば、それらの端末間において通信を行うことができ
る。端末間で通信を行う場合のシーケンスを図4に示し
ている。
The connection between the terminal 11 and the relay server 4 and the connection between the terminal 21 and the relay server 5 may be made at any time before the communication between them. In this way, if a terminal in the local system is connected to any of the relay servers, communication can be performed between the terminals. FIG. 4 shows a sequence when communication is performed between terminals.

【0034】端末11から端末21に接続したいという
要求が発生すると、(11)において、端末11は中継
サーバ4に対して接続したい端末21のユーザIDを指
定して接続要求を行う。なお、接続先となる端末21の
ユーザIDは、予め取得しておくか、あるいは中継サー
バ4からログイン中のユーザの一覧などによって確認し
て指定するなど、任意の方法で指定することができる。
When a request to connect to the terminal 21 is issued from the terminal 11, the terminal 11 makes a connection request to the relay server 4 by designating the user ID of the terminal 21 to be connected to the relay server 4 in (11). Note that the user ID of the terminal 21 to be connected can be specified by an arbitrary method, such as acquiring the user ID in advance, or checking and specifying the user ID from a list of users logged in from the relay server 4.

【0035】中継サーバ4は、接続情報保持部42に保
持されている接続情報を参照して、端末11から指定さ
れたユーザIDを有するネットワーク機器がいずれの中
継サーバに接続されているのかを特定する。なお、中継
サーバ4は、指定されたユーザIDに対応する接続情報
が取得できなかった場合や、指定されたユーザIDに対
応するネットワーク機器がログインしていない場合に
は、エラーの応答を端末11に対して返す。
The relay server 4 refers to the connection information held in the connection information holding unit 42 and specifies to which relay server the network device having the user ID specified by the terminal 11 is connected. I do. Note that the relay server 4 sends an error response to the terminal 11 if the connection information corresponding to the specified user ID cannot be obtained or if the network device corresponding to the specified user ID has not logged in. To return.

【0036】中継サーバ4は、接続要求によって指定さ
れた端末21が接続される中継サーバ5を特定したら、
(12)において、特定した中継サーバ5に対して端末
21への接続要求を送る。中継サーバ5は、中継サーバ
4から転送されてきた接続要求を受け取り、(13)に
おいて、端末21に対して接続要求がある旨の情報と接
続を要求している端末11のユーザIDを含む接続要求
通知を送信する。
When the relay server 4 specifies the relay server 5 to which the terminal 21 specified by the connection request is connected,
In (12), a connection request to the terminal 21 is sent to the specified relay server 5. The relay server 5 receives the connection request transferred from the relay server 4 and, in (13), a connection including information indicating that there is a connection request to the terminal 21 and a user ID of the terminal 11 requesting the connection. Send a request notification.

【0037】端末21は、接続要求通知の送信に用いら
れた接続が端末11との接続に使用されていることを記
憶して、(14)において受け入れ可能の応答を返す。
なお、接続を拒否する場合はエラーを返す。中継サーバ
5は、(15)において、端末21からの応答を中継サ
ーバ4に転送する。このとき、端末21が接続要求を受
ける応答の場合、端末21の接続2に対する接続情報を
更新して接続2を端末11との通信に用いることを記憶
し、(17)において接続情報の更新を他の中継サーバ
(中継サーバ4)に通知する。
The terminal 21 stores that the connection used for transmitting the connection request notification is used for connection with the terminal 11, and returns an acceptable response in (14).
If the connection is rejected, an error is returned. The relay server 5 transfers the response from the terminal 21 to the relay server 4 in (15). At this time, in the case where the response is that the terminal 21 receives the connection request, the connection information for the connection 2 of the terminal 21 is updated and the fact that the connection 2 is used for communication with the terminal 11 is stored. Notify another relay server (relay server 4).

【0038】一方、中継サーバ4は、中継サーバ5から
転送されてきた端末21からの応答を(16)において
端末11に対して返す。端末21からの応答が接続要求
を受ける旨の応答である場合、端末11の接続1に対す
る接続情報を更新して接続1を端末21との通信に用い
ることを記憶し、(18)において接続情報の更新を他
の中継サーバ(中継サーバ5)に通知する。また端末2
1からの応答を受け取った端末11では、受け入れ可能
の応答を受け取った場合には、使用している接続(接続
1)を端末21との通信に使用するものとして記憶す
る。
On the other hand, the relay server 4 returns the response from the terminal 21 transferred from the relay server 5 to the terminal 11 at (16). If the response from the terminal 21 is a response to the effect that the connection request is received, the connection information on the connection 1 of the terminal 11 is updated and the fact that the connection 1 is used for communication with the terminal 21 is stored. Is notified to another relay server (relay server 5). Terminal 2
When receiving the response from the terminal 11, the terminal 11 that has received the response accepts the response, stores the connection being used (connection 1) as being used for communication with the terminal 21.

【0039】なお、中継サーバ4は中継サーバ5からの
通知を受けて、保持している中継サーバ5の接続情報を
更新して、中継サーバ5が保持している接続情報と一致
させる。また、中継サーバ5も中継サーバ4からの通知
を受けて、保持している中継サーバ4の接続情報を更新
して、中継サーバ4が保持している接続情報と一致させ
る。(17)と(18)の接続情報の更新通知は、通信
経路によっていずれが先になる場合もある。
The relay server 4 receives the notification from the relay server 5 and updates the connection information of the relay server 5 held by the relay server 4 to match the connection information held by the relay server 5. Also, the relay server 5 receives the notification from the relay server 4 and updates the held connection information of the relay server 4 so as to match the connection information held by the relay server 4. The connection information update notification in (17) and (18) may be given first depending on the communication path.

【0040】このようにして端末11と端末21との間
で通信を行うことを確認した後、(26)以降において
実際にデータを送信することになる。なお、図4に示す
例では、端末11と端末21との間の通信を行うことが
決定された後に、その他のネットワーク機器からの接続
要求を受けたり、他のネットワーク機器への接続要求を
行うために、それぞれ、新しいTCP/IPコネクショ
ンを中継サーバ4,5に確立する。すなわち、端末11
は(19)において中継サーバ4にログインして中継サ
ーバ4とのTCP/IPコネクション(接続3)を確立
し、(20)において端末11はユーザIDを中継サー
バ4に送る。中継サーバ4は、受け取ったユーザIDな
どに基づいて端末11の認証を行い、(21)において
応答を返す。それとともに端末11に対する接続情報を
更新し、(22)において他の中継サーバ(ここでは中
継サーバ5)に対して通知する。中継サーバ5では中継
サーバ4からの通知を受け、中継サーバ4の接続情報を
更新する。中継サーバ4は、新たな接続3を維持するた
め、定期的に(24)において端末11から中継サーバ
4へ接続保持コマンドを送信し、中継サーバ4は(2
5)において応答を端末11に返す。
After confirming the communication between the terminal 11 and the terminal 21 in this way, the data is actually transmitted after (26). In the example illustrated in FIG. 4, after the communication between the terminal 11 and the terminal 21 is determined to be performed, a connection request from another network device is received or a connection request to another network device is performed. For this purpose, a new TCP / IP connection is established with the relay servers 4 and 5, respectively. That is, the terminal 11
Logs in the relay server 4 in (19) and establishes a TCP / IP connection (connection 3) with the relay server 4, and the terminal 11 sends the user ID to the relay server 4 in (20). The relay server 4 authenticates the terminal 11 based on the received user ID and the like, and returns a response in (21). At the same time, the connection information for the terminal 11 is updated and another relay server (here, the relay server 5) is notified in (22). The relay server 5 receives the notification from the relay server 4 and updates the connection information of the relay server 4. In order to maintain the new connection 3, the relay server 4 periodically transmits a connection holding command from the terminal 11 to the relay server 4 at (24), and the relay server 4
In 5), a response is returned to the terminal 11.

【0041】同様に端末21は(19’)において中継
サーバ5にログインして中継サーバ5とのTCP/IP
コネクション(接続4)を確立し、(20’)において
端末21はユーザIDを中継サーバ5に送る。中継サー
バ5は、受け取ったユーザIDなどに基づいて端末21
の認証を行い、(21’)において応答を返す。それと
ともに端末21に対する接続情報を更新し、(23)に
おいて他の中継サーバ(ここでは中継サーバ4)に対し
て通知する。中継サーバ4では中継サーバ5からの通知
を受け、中継サーバ5の接続情報を更新する。中継サー
バ5は、新たな接続4を維持するため、定期的に(2
4’)において端末21から中継サーバ5へ接続保持コ
マンドを送信し、中継サーバ5は(25’)において応
答を端末21に返す。なお、このような空きの接続を確
保しておく必要がなければ、(19)〜(25)あるい
は(19’)〜(25’)の手順は必要ない。また、既
に複数の接続を確保している場合も、これらの手順を行
わなくてもよい。
Similarly, the terminal 21 logs in to the relay server 5 at (19 ') and performs TCP / IP communication with the relay server 5.
The connection (connection 4) is established, and the terminal 21 sends the user ID to the relay server 5 at (20 '). The relay server 5 determines the terminal 21 based on the received user ID and the like.
Is authenticated, and a response is returned in (21 '). At the same time, the connection information for the terminal 21 is updated, and another relay server (here, the relay server 4) is notified in (23). The relay server 4 receives the notification from the relay server 5 and updates the connection information of the relay server 5. The relay server 5 periodically updates (2
In 4 '), the terminal 21 transmits a connection hold command to the relay server 5 and the relay server 5 returns a response to the terminal 21 in (25'). If there is no need to secure such an empty connection, the steps (19) to (25) or (19 ') to (25') are not necessary. Also, when a plurality of connections have already been secured, these steps need not be performed.

【0042】上述の(11)〜(18)によって端末1
1と端末21との間で通信を行うことを確認したら、
(26)において、端末11は中継サーバ4に対して接
続1を用いて端末21へ送るデータを送信する。中継サ
ーバ4は、端末11からのデータを受け取り、(27)
において、受け取ったデータを中継サーバ5に転送す
る。中継サーバ5は、中継サーバ4から転送されてきた
データを受け取り、(28)において、接続2を用いて
端末21へ送信する。端末21は、中継サーバ4から接
続2を用いて送られてきた端末11からのデータを受け
取り、(29)において端末11に対する応答を中継サ
ーバ5に対して送信する。中継サーバ5は、(30)に
おいて、端末21が送信した端末11への応答を中継サ
ーバ4に転送する。中継サーバ4は、中継サーバ5から
転送されてきた端末21から端末11に対する応答を受
け取り、受け取った応答を、(31)において接続1を
用いて端末11へ送信する。
According to the above (11) to (18), the terminal 1
After confirming that communication is performed between the terminal 1 and the terminal 21,
In (26), the terminal 11 transmits data to be transmitted to the terminal 21 to the relay server 4 using the connection 1. The relay server 4 receives the data from the terminal 11, and (27)
, The received data is transferred to the relay server 5. The relay server 5 receives the data transferred from the relay server 4 and transmits the data to the terminal 21 using the connection 2 in (28). The terminal 21 receives the data from the terminal 11 transmitted from the relay server 4 using the connection 2, and transmits a response to the terminal 11 to the relay server 5 in (29). The relay server 5 transfers the response to the terminal 11 transmitted by the terminal 21 to the relay server 4 in (30). The relay server 4 receives the response to the terminal 11 from the terminal 21 transferred from the relay server 5, and transmits the received response to the terminal 11 using the connection 1 in (31).

【0043】このようにして、端末11と中継サーバ4
との間の接続1と、中継サーバ4と中継サーバ5との通
信と、端末21と中継サーバ5との間の接続2とを用
い、中継サーバ4および中継サーバ5でデータを中継す
ることによって、端末11と端末21との間の通信を行
うことができる。なお、(26)〜(31)による端末
11から端末21へのデータ転送は、複数回繰り返され
てもよい。また、端末21から端末11へのデータ転送
が行われてもよい。
In this way, the terminal 11 and the relay server 4
Relaying data between the relay server 4 and the relay server 5 using the connection 1 between the relay server 4 and the relay server 4 and the communication between the relay server 4 and the relay server 5 and the connection 2 between the terminal 21 and the relay server 5. , The communication between the terminal 11 and the terminal 21 can be performed. The data transfer from the terminal 11 to the terminal 21 according to (26) to (31) may be repeated a plurality of times. Further, data transfer from the terminal 21 to the terminal 11 may be performed.

【0044】端末11と端末21との間のデータ転送が
終了したら、端末11あるいは端末21から終了通知を
行う。ここでは端末11から行うものとし、(32)に
おいて端末11は端末21に対する終了通知を、接続1
を使用して中継サーバ4に対して送信する。中継サーバ
4は、端末11から受け取った端末21への終了通知
を、(33)において中継サーバ5へ転送する。中継サ
ーバ5は、中継サーバ4から転送されてきた端末21へ
の終了通知を受け取り、その終了通知を(34)におい
て接続2を使用して端末21へ送信する。終了通知を送
信した端末11は、(35)において、接続1が空きに
なったことを示す開放通知を中継サーバ4へ送信する。
また終了通知を受け取った端末21も、(35’)にお
いて、接続2が空きになったことを示す開放通知を中継
サーバ5へ送信する。これによって中継サーバ4は、接
続1の接続情報を、端末11と端末21との間の通信用
から空きに更新し、その旨を(36)において他の中継
サーバ(ここでは中継サーバ5)に通知する。また中継
サーバ5は、接続2の接続情報を、端末11と端末21
との間の通信用から空きに更新し、その旨を(36’)
において他の中継サーバ(ここでは中継サーバ4)に通
知する。それぞれ接続情報の更新通知を受けた中継サー
バ4,5は、通知に従って接続情報を更新する。なお、
この例では21は終了通知に対する応答を行っていない
が、応答を返信するようにしてもよい。
When the data transfer between the terminal 11 and the terminal 21 is completed, an end notification is sent from the terminal 11 or 21. Here, it is assumed that the notification is made from the terminal 11, and in (32), the terminal 11 sends an end notification to the terminal 21 in connection 1
To the relay server 4 using The relay server 4 transfers the end notification to the terminal 21 received from the terminal 11 to the relay server 5 in (33). The relay server 5 receives the end notification to the terminal 21 transferred from the relay server 4, and transmits the end notification to the terminal 21 using the connection 2 in (34). The terminal 11 that has transmitted the end notification transmits an open notification indicating that the connection 1 has become free to the relay server 4 in (35).
The terminal 21 that has received the end notification also transmits an open notification indicating that the connection 2 has become free to the relay server 5 at (35 '). As a result, the relay server 4 updates the connection information of the connection 1 from the one for communication between the terminal 11 and the terminal 21 to an empty state, and notifies the other server (here, the relay server 5) of the fact in (36). Notice. Further, the relay server 5 transmits the connection information of the connection 2 to the terminal 11 and the terminal 21.
Is updated to empty for communication between and (36 ')
At the other relay server (here, the relay server 4). Each of the relay servers 4 and 5 that has received the connection information update notification updates the connection information according to the notification. In addition,
In this example, 21 does not respond to the end notification, but a response may be returned.

【0045】このようにして開放された接続1および接
続2は、(5)、(6)または(5’)、(6’)で示
したように接続保持コマンドとその応答を定期的に行っ
て、端末11と中継サーバ4との間、および、端末21
と中継サーバ5との間の接続を保つ。なお、この時点で
は端末11と中継サーバ4との間では接続1と接続3が
確保されている。同様に、端末21と中継サーバ5との
間では接続2と接続4が確保されている。そのままでも
よいし、接続1および接続2の解放時にこれらの接続に
ついては切断してもよい。もちろん、接続1および接続
2を存続させ、接続3および接続4を切断してもよい。
The connection 1 and the connection 2 released as described above periodically perform the connection holding command and the response as shown in (5), (6) or (5 ') and (6'). Between the terminal 11 and the relay server 4 and the terminal 21
The connection between the server and the relay server 5 is maintained. At this time, the connection 1 and the connection 3 are secured between the terminal 11 and the relay server 4. Similarly, connection 2 and connection 4 are secured between the terminal 21 and the relay server 5. The connection may be left as it is, or these connections may be disconnected when connection 1 and connection 2 are released. Of course, the connection 1 and the connection 2 may be kept, and the connection 3 and the connection 4 may be disconnected.

【0046】図3に戻り、例えば端末11が電源を切断
する場合や、中継サーバ4への接続をやめる場合には、
(7)において、端末11は中継サーバ4に対してログ
アウトを通知する。このとき、複数の接続が確保されて
いる場合には、いずれの接続を用いて行ってもよい。そ
して、端末11はすべての接続を切断する。ここでは、
まず(8)において接続1を切断する。また図4におけ
る端末21との通信時に接続3も設けたので、(9)に
おいて接続3についても切断して終了する。
Returning to FIG. 3, for example, when the terminal 11 turns off the power or stops connecting to the relay server 4,
In (7), the terminal 11 notifies the relay server 4 of logout. At this time, if a plurality of connections are secured, any of the connections may be used. Then, the terminal 11 disconnects all connections. here,
First, the connection 1 is disconnected in (8). In addition, since the connection 3 is also provided at the time of communication with the terminal 21 in FIG. 4, the connection 3 is disconnected in (9) and the processing is ended.

【0047】中継サーバ4は、端末11からのログアウ
トの通知を受け、接続情報を更新するとともに、(1
0)において接続情報の更新を他の中継サーバ(ここで
は中継サーバ5)に対して通知する。中継サーバ5は、
中継サーバ4の接続情報を通知に基づいて更新すること
になる。また中継サーバ4は、端末11のログアウトに
より接続1,3を切断する。なお、端末21においても
中継サーバ5に対して同様にしてログアウトを行うこと
ができる。
The relay server 4 receives the logout notification from the terminal 11 and updates the connection information.
At 0), the update of the connection information is notified to another relay server (here, relay server 5). The relay server 5
The connection information of the relay server 4 is updated based on the notification. Further, the relay server 4 disconnects the connections 1 and 3 when the terminal 11 logs out. Note that the terminal 21 can log out to the relay server 5 in the same manner.

【0048】上述のような手順を実行することによっ
て、それぞれあるいは一方がローカルシステム内のネッ
トワーク機器である場合でも、通信を行うことが可能に
なる。また、それぞれのネットワーク機器が別の中継サ
ーバに接続されている場合でも、支障なく通信を行うこ
とができる。このとき、いずれの中継サーバに接続され
ているかを知る必要がなく、容易に通信を行うことがで
きる。
By executing the above-described procedure, communication can be performed even when each or one of them is a network device in the local system. Even when each network device is connected to another relay server, communication can be performed without any trouble. At this time, there is no need to know which relay server is connected, and communication can be performed easily.

【0049】なお、上述のような中継サーバ4との接
続、接続の維持、端末への接続要求、端末へのデータ送
信、端末との接続終了、中継サーバとの接続終了を行う
ための手順は、上位で動作するアプリケーションプロト
コルがやりとりするコマンドやデータに対しては透過性
を保ち何の影響も与えないように構成することが可能で
あり、既存のアプリケーションプロトコルをそのまま用
いて通信を行うことが可能である。
The procedure for connecting to the relay server 4, maintaining the connection, requesting a connection to the terminal, transmitting data to the terminal, terminating the connection with the terminal, and terminating the connection with the relay server as described above is as follows. , It is possible to configure so that commands and data exchanged by the application protocol running on the upper layer are kept transparent and have no effect, and communication can be performed using the existing application protocol as it is It is possible.

【0050】上述の例では、接続要求元のネットワーク
機器が接続されている中継サーバと、接続先のネットワ
ーク機器が接続されている中継サーバとが直接通信を行
うことが可能な場合について示した。しかし本発明はこ
のような構成に限られるものではなく、例えば2つの中
継サーバの間に1ないし複数の中継サーバが介在しても
よい。この場合、それぞれの中継サーバがルーティング
を行えばよい。
In the above example, a case has been described in which the relay server to which the connection requesting network device is connected can directly communicate with the relay server to which the connection destination network device is connected. However, the present invention is not limited to such a configuration. For example, one or more relay servers may be interposed between two relay servers. In this case, each relay server may perform the routing.

【0051】また、接続情報を更新した際の通知は、上
述の例では相互に行えばよい。また、すべての中継サー
バに対して直接通信を行うことができる場合には、更新
を行った中継サーバが他の中継サーバそれぞれに対して
通知を行えばよい。しかし、直接通信を行うことができ
ない中継サーバが存在する場合には、通知に対しても中
継サーバによる中継を行うなど、何らかの方策が必要と
なる。複数の中継サーバの接続形態に関係なく、通知を
行き渡らせるための一つの方法として、それぞれの中継
サーバが、通知の送信元以外の直接通信できる中継サー
バに対して通知を転送するように構成すればよい。これ
によって、どのようなルートであっても通信路がつなが
っていれば通知を送ることができる。しかしこの場合、
ループによる情報の循環が発生する可能性がある。これ
を防止するため、通知中の更新日時を参照し、保存して
いる接続情報の更新日時以前の古い通知については破棄
し、それ以上の転送を行わないようにすればよい。
The notification when the connection information is updated may be made mutually in the above example. If direct communication can be performed with all relay servers, the updated relay server may notify each of the other relay servers. However, if there is a relay server that cannot perform direct communication, some measure is necessary, such as relaying the notification by the relay server. One method for disseminating a notification regardless of the connection mode of a plurality of relay servers is that each relay server is configured to transfer a notification to a relay server capable of direct communication other than the source of the notification. I just need. As a result, a notification can be sent if the communication path is connected regardless of the route. But in this case,
Information may be circulated through a loop. In order to prevent this, the update date and time in the notification may be referred to, the old notification before the update date and time of the stored connection information may be discarded, and further transfer may not be performed.

【0052】図5は、中継サーバ間の通知の転送方法の
一例の説明図である。図中、51〜54は中継サーバで
ある。この例では中継サーバ52は中継サーバ51,5
3,54と通信路が確立されており、また中継サーバ5
3,54間にも通信路が確立されている。例えば中継サ
ーバ51において接続情報を更新して通知を行う場合、
中継サーバ51は中継サーバ52に対して通知する。中
継サーバ52は、その通知によって接続情報を更新する
とともに、その通知の送信元である中継サーバ51を除
外した他の通信可能な中継サーバ、すなわち中継サーバ
53,54に対して通知を転送する。中継サーバ53で
は、受け取った通知に従って接続情報を更新するととも
に、その通知の送信元である中継サーバ52を除外した
他の通信可能な中継サーバ、すなわち中継サーバ54に
対して通知を転送する。同様に中継サーバ54では、中
継サーバ52から受け取った通知に従って接続情報を更
新するとともに、その通知の送信元である中継サーバ5
2を除外した他の通信可能な中継サーバ、すなわち中継
サーバ53に対して通知を転送する。
FIG. 5 is an explanatory diagram of an example of a method of transferring a notification between relay servers. In the figure, 51 to 54 are relay servers. In this example, the relay servers 52 are the relay servers 51 and 5
Communication channels have been established with the relay server 5 and the relay server 5.
A communication path is also established between 3, 54. For example, when the relay server 51 updates the connection information and performs notification,
The relay server 51 notifies the relay server 52. The relay server 52 updates the connection information based on the notification, and transfers the notification to another communicable relay server except the relay server 51 that is the transmission source of the notification, that is, the relay servers 53 and 54. The relay server 53 updates the connection information according to the received notification, and transfers the notification to another communicable relay server, that is, the relay server 54, excluding the relay server 52 that is the transmission source of the notification. Similarly, in the relay server 54, the connection information is updated according to the notification received from the relay server 52, and the relay server 5 that is the transmission source of the notification is updated.
The notification is forwarded to another communicable relay server excluding 2, that is, the relay server 53.

【0053】中継サーバ53では、中継サーバ54から
通知を受け取るが、同じ通知を中継サーバ52から受け
取っており、更新日時以前の通知であるので破棄し、そ
れ以上の通知を行わない。同様に、中継サーバ54で
も、中継サーバ53から通知を受け取るが、同じ通知を
中継サーバ52から受け取っており、更新日時以前の通
知であるので破棄し、それ以上の通知を行わない。この
ようにして、通知をすべての中継サーバに行き渡らせる
とともに、通知が中継サーバ52,53,54の間でル
ープしてしまうのを防止することができる。
The relay server 53 receives the notification from the relay server 54, but receives the same notification from the relay server 52 and discards the notification before the update date and time and does not perform any further notification. Similarly, the relay server 54 also receives a notification from the relay server 53, but receives the same notification from the relay server 52 and discards the notification before the update date and time, and does not perform any further notification. In this way, the notification can be distributed to all the relay servers, and the notification can be prevented from being looped among the relay servers 52, 53, 54.

【0054】図6は、本発明の中継サーバを含む通信シ
ステムの第2の実施の形態を示す構成図である。図中、
図1と同様の部分には同じ符号を付して説明を省略す
る。6はデータベースサーバである。上述の第1の実施
の形態では、それぞれの中継サーバにおける接続情報を
中継サーバ間で通知しあって共有する例を示した。この
場合、同じ接続情報をそれぞれの中継サーバにおいて保
持する必要がある。この第2の実施の形態では、それぞ
れの中継サーバで保持していた接続情報を一括してデー
タベースサーバ6に保持させ、中継サーバによって共用
する例を示している。
FIG. 6 is a block diagram showing a second embodiment of the communication system including the relay server according to the present invention. In the figure,
The same parts as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. Reference numeral 6 denotes a database server. In the above-described first embodiment, an example has been described in which connection information in each relay server is notified and shared between the relay servers. In this case, the same connection information needs to be held in each relay server. In the second embodiment, an example is shown in which the connection information stored in each relay server is collectively stored in the database server 6 and shared by the relay servers.

【0055】データベースサーバ6は、例えば上述の図
2に示すような接続情報を、それぞれの中継サーバ毎に
保持しており、中継サーバからの問い合わせに応じて接
続情報を提供する。また、中継サーバからの更新要求に
応じて、要求元の中継サーバの接続情報を更新する。
The database server 6 holds, for example, connection information as shown in FIG. 2 for each relay server, and provides the connection information in response to an inquiry from the relay server. Further, in response to an update request from the relay server, the connection information of the requesting relay server is updated.

【0056】中継サーバ4,5は、ネットワーク機器か
らのログインの要求や他のネットワーク機器に対する接
続要求、さらには接続後の通信終了、ログアウトなど、
ネットワーク機器との接続の状態が変化すると、当該ネ
ットワーク機器に対応する接続情報の更新をデータベー
スサーバ6に対して要求する。また、ネットワーク機器
からの接続要求を受けたとき、接続先のネットワーク機
器の接続情報をデータベースサーバ6から取得して、当
該接続先のネットワーク機器が接続されている中継サー
バを割り出す。このとき、その接続先のネットワーク機
器の接続状態を判断し、通信が可能か否かについても判
断することが可能である。さらに、ネットワーク機器か
ら接続要求を行う前に、中継サーバがデータベースサー
バ6から通信可能なネットワーク機器の一覧情報を取得
し、接続されているネットワーク機器に提供することも
可能である。
The relay servers 4 and 5 are used to request a login from a network device, a connection request to another network device, a communication termination after connection, a logout, and the like.
When the state of the connection with the network device changes, a request is made to the database server 6 to update the connection information corresponding to the network device. When a connection request is received from a network device, the connection information of the connection destination network device is acquired from the database server 6, and the relay server to which the connection destination network device is connected is determined. At this time, it is possible to determine the connection state of the network device of the connection destination and determine whether communication is possible. Further, before a connection request is made from a network device, the relay server can obtain a list of communicable network devices from the database server 6 and provide the list information to the connected network devices.

【0057】この第2の実施の形態における通信手順
は、ほぼ上述の図3,図4に示された手順を実行すれば
よく、ここでは相違点のみについて説明する。まず、ネ
ットワーク機器からTCP/IPコネクションが確立さ
れ、ユーザID等に基づいて認証を行う際には、中継サ
ーバはデータベースサーバ6へ接続情報あるいはネット
ワーク機器の登録情報を問い合わせ、当該ネットワーク
機器に対応する接続情報を取得して認証を行うことがで
きる。あるいは中継サーバにネットワーク機器の登録情
報を保持しておき、保持している登録情報に従って認証
を行ってもよい。認証後、接続を許可する場合には、接
続情報の更新をデータベースサーバ6に対して要求す
る。この動作は、接続要求時に別の接続を確保する場合
においても同様である。
The communication procedure in the second embodiment may be substantially the same as the procedure shown in FIGS. 3 and 4, and only the differences will be described here. First, when a TCP / IP connection is established from a network device and authentication is performed based on a user ID or the like, the relay server inquires the database server 6 of connection information or registration information of the network device, and responds to the network device. Authentication can be performed by acquiring connection information. Alternatively, the registration information of the network device may be held in the relay server, and authentication may be performed according to the held registration information. After the authentication, if the connection is permitted, the database server 6 is requested to update the connection information. This operation is the same even when another connection is secured at the time of a connection request.

【0058】中継サーバに接続されているネットワーク
機器から接続要求を受けた場合には、接続先の接続情報
をデータベースサーバ6に対して問い合わせ、当該接続
情報を取得する。取得した接続情報に従い、接続先のネ
ットワーク機器が接続されている中継サーバを割り出す
とともに、接続先のネットワーク機器が通信可能か否か
を調べる。接続先のネットワーク機器が通信可能であれ
ば、割り出した中継サーバに対して接続要求を送る。接
続先のネットワーク機器が通信を承諾したら、その接続
先のネットワーク機器が接続されている中継サーバ、お
よび、接続要求元のネットワーク機器が接続されている
中継サーバは、接続情報の更新をデータベースサーバ6
に要求する。以後、ネットワーク機器間でデータ通信が
行われる。
When a connection request is received from a network device connected to the relay server, the connection information of the connection destination is inquired to the database server 6 to obtain the connection information. According to the acquired connection information, the relay server to which the connection destination network device is connected is determined, and it is checked whether the connection destination network device can communicate. If the connection destination network device can communicate, a connection request is sent to the determined relay server. When the connection destination network device accepts the communication, the relay server to which the connection destination network device is connected and the relay server to which the connection request source network device is connected update the connection information with the database server 6.
Request to. Thereafter, data communication is performed between the network devices.

【0059】通信終了後、終了通知をネットワーク機器
間で転送し、それぞれのネットワーク機器から接続の開
放通知を受け取ると、それぞれのネットワーク機器が接
続されている中継サーバでは、接続情報の更新をデータ
ベースサーバ6に要求する。また、ネットワーク機器か
らログアウトが通知されると、これに応じて中継サーバ
は接続情報の更新をデータベースサーバ6に要求する。
After the communication is completed, an end notification is transferred between the network devices, and when a connection release notification is received from each network device, the relay server to which each network device is connected updates the connection information with the database server. Request to 6. When the logout is notified from the network device, the relay server requests the database server 6 to update the connection information accordingly.

【0060】このようにして、ネットワーク機器と中継
サーバとの接続状態が変化するたびにデータベースサー
バ6に更新を要求することによって、データベースサー
バ6にはすべての中継サーバにおける常に最新の接続情
報が保持されることになる。これを複数の中継サーバで
共用すれば、それぞれの中継サーバが接続情報を保持し
なくても、ネットワーク機器間の通信を管理することが
できる。
As described above, by requesting the database server 6 to update whenever the connection state between the network device and the relay server changes, the database server 6 always holds the latest connection information in all the relay servers. Will be done. If this is shared by a plurality of relay servers, communication between network devices can be managed without each relay server holding connection information.

【0061】[0061]

【発明の効果】以上の説明から明らかなように、本発明
によれば、ローカルシステム内のネットワーク装置から
中継サーバへ予め接続して通信路を確保しておいて、こ
の通信路を用いてデータの中継を行うので、インターネ
ットからローカルシステム内のネットワーク機器へのデ
ータ転送、あるいは異なるローカルシステム内のネット
ワーク装置間のデータ転送を実現することができる。ま
た、それぞれの中継サーバがネットワーク装置の接続情
報を共有あるいは共用することによって、ネットワーク
装置がいずれの中継サーバに接続されていても、接続先
のネットワーク機器がどの中継サーバに接続されている
かを意識することなく、容易にネットワーク機器間での
通信を行うことができるという効果がある。
As is clear from the above description, according to the present invention, a communication path is secured by previously connecting a network device in a local system to a relay server, and data is transmitted using this communication path. Therefore, data transfer from the Internet to network devices in a local system or data transfer between network devices in different local systems can be realized. In addition, each relay server shares or shares the connection information of the network device, so that regardless of which relay server the network device is connected to, it is possible to know which relay server the connected network device is connected to. There is an effect that communication between network devices can be easily performed without performing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の中継サーバを含む通信システムの第1
の実施の形態を示す構成図である。
FIG. 1 shows a first example of a communication system including a relay server according to the present invention.
FIG. 2 is a configuration diagram showing an embodiment.

【図2】接続情報保持部42が保持している接続情報を
含む情報の一例の説明図である。
FIG. 2 is an explanatory diagram of an example of information including connection information held by a connection information holding unit 42;

【図3】本発明の中継サーバを含む通信システムの第1
の実施の形態におけるログインおよびログアウト時の通
信手順の一例を示すシーケンス図である。
FIG. 3 shows a first example of a communication system including the relay server of the present invention.
FIG. 21 is a sequence diagram showing an example of a communication procedure at the time of login and logout in the embodiment.

【図4】本発明の中継サーバを含む通信システムの第1
の実施の形態における接続要求時の通信手順の一例を示
すシーケンス図である。
FIG. 4 shows a first example of a communication system including the relay server of the present invention.
FIG. 17 is a sequence diagram showing an example of a communication procedure at the time of a connection request in the embodiment.

【図5】中継サーバ間の通知の転送方法の一例の説明図
である。
FIG. 5 is an explanatory diagram of an example of a method of transferring a notification between relay servers.

【図6】本発明の中継サーバを含む通信システムの第2
の実施の形態を示す構成図である。
FIG. 6 shows a second example of the communication system including the relay server of the present invention.
FIG. 2 is a configuration diagram showing an embodiment.

【図7】一般的なインターネットを用いたシステムの一
例を示す説明図である。
FIG. 7 is an explanatory diagram showing an example of a system using a general Internet.

【符号の説明】[Explanation of symbols]

1,2…ローカルシステム、3…インターネット、4,
5…中継サーバ、6…データベースサーバ、11,1
2,21,22…端末、13,23…ゲートウェイ、1
4,24…LAN、41…通信部、42…接続情報保持
部、51〜54…中継サーバ。
1,2… Local system, 3… Internet, 4,
5 ... relay server, 6 ... database server, 11, 1
2, 21, 22, ... terminal, 13, 23 ... gateway, 1
4, 24 LAN, 41 communication unit, 42 connection information holding unit, 51 to 54 relay server.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のネットワーク装置および他の中継
サーバと通信可能な通信手段と、通信可能な前記ネット
ワーク装置の接続情報を保持する接続情報保持手段を有
し、前記通信手段は、前記ネットワーク装置からの要求
に基づいて前記接続情報を更新するとともに該接続情報
の更新に基づいて前記他の中継サーバに通知することを
特徴とする中継サーバ。
1. A communication device capable of communicating with a plurality of network devices and another relay server, and a connection information holding device for holding connection information of the communicable network device, wherein the communication device includes the network device. A relay server that updates the connection information based on a request from the server and notifies the other relay server based on the update of the connection information.
【請求項2】 複数のネットワーク装置および他の中継
サーバと通信可能な通信手段と、通信可能な前記ネット
ワーク装置の接続情報を保持する接続情報保持手段を有
し、前記通信手段は、前記他の中継サーバからの接続情
報更新時の通知に基づいて前記接続情報保持手段中の前
記接続情報を更新することを特徴とする中継サーバ。
2. A communication device capable of communicating with a plurality of network devices and another relay server, and a connection information holding device for holding connection information of the communicable network device, wherein the communication device includes: A relay server for updating the connection information in the connection information holding means based on a notification at the time of updating the connection information from the relay server.
【請求項3】 複数のネットワーク装置及び複数の中継
サーバがネットワークによって接続された通信システム
において、前記ネットワーク装置は、いずれかの前記中
継サーバと通信路を確立し、他のネットワーク装置との
接続要求を行って通信を行うものであり、中継サーバ
は、通信可能なネットワーク装置の接続情報を保持する
とともに、前記ネットワーク装置からの要求に基づいて
前記接続情報を更新して他の中継サーバに通知し、また
他の中継サーバから送られてくる接続情報更新時の通知
に基づいて前記接続情報を更新することを特徴とする通
信システム。
3. In a communication system in which a plurality of network devices and a plurality of relay servers are connected by a network, the network device establishes a communication path with any one of the relay servers, and requests a connection with another network device. The relay server holds connection information of a communicable network device, updates the connection information based on a request from the network device, and notifies another relay server. A communication system for updating the connection information based on a notification at the time of updating the connection information sent from another relay server.
【請求項4】 複数のネットワーク装置及び複数の中継
サーバがネットワークによって接続された通信システム
において、さらに前記ネットワーク装置の接続情報を保
持して前記中継サーバに前記接続情報を提供するデータ
ベースサーバを有し、前記ネットワーク装置は、いずれ
かの前記中継サーバと通信路を確立し、他のネットワー
ク装置との接続要求を行って通信を行うものであり、中
継サーバは、前記ネットワーク装置からの要求に基づい
て前記接続情報を更新する場合に、更新した接続情報を
前記データベースサーバに保持させることを特徴とする
通信システム。
4. A communication system in which a plurality of network devices and a plurality of relay servers are connected by a network, further comprising a database server that holds connection information of the network devices and provides the connection information to the relay server. The network device establishes a communication path with any one of the relay servers, performs a connection request with another network device, and performs communication, and the relay server is configured based on a request from the network device. When updating the connection information, the database server stores the updated connection information.
JP2001007656A 2001-01-15 2001-01-16 Relay server and communication system Expired - Fee Related JP4231985B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2001007656A JP4231985B2 (en) 2001-01-16 2001-01-16 Relay server and communication system
US10/045,897 US7206088B2 (en) 2001-01-15 2002-01-10 Relay server, communication system and facsimile system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001007656A JP4231985B2 (en) 2001-01-16 2001-01-16 Relay server and communication system

Publications (3)

Publication Number Publication Date
JP2002217938A true JP2002217938A (en) 2002-08-02
JP2002217938A5 JP2002217938A5 (en) 2006-10-26
JP4231985B2 JP4231985B2 (en) 2009-03-04

Family

ID=18875378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001007656A Expired - Fee Related JP4231985B2 (en) 2001-01-15 2001-01-16 Relay server and communication system

Country Status (1)

Country Link
JP (1) JP4231985B2 (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004172771A (en) * 2002-11-18 2004-06-17 Mediaselect Inc Communication control method and communication control program
US7206088B2 (en) 2001-01-15 2007-04-17 Murata Kikai Kabushiki Kaisha Relay server, communication system and facsimile system
JP2008028493A (en) * 2006-07-19 2008-02-07 Nakayo Telecommun Inc Call control server with call means designating function
JP2008140254A (en) * 2006-12-04 2008-06-19 Murata Mach Ltd Communication device and relay communication system
JP2008148200A (en) * 2006-12-13 2008-06-26 Murata Mach Ltd Relay server
JP2008148046A (en) * 2006-12-11 2008-06-26 Murata Mach Ltd Relay server, and relay communication system
EP1942634A1 (en) 2006-11-24 2008-07-09 Murata Machinery, Ltd. Relay server, relay communication system, and communication device
EP1995937A2 (en) 2007-05-02 2008-11-26 Murata Machinery, Ltd. Relay server and relay communication system
JP2009157825A (en) * 2007-12-27 2009-07-16 Murata Mach Ltd Relay server and relay communication system
JP2009163300A (en) * 2007-12-28 2009-07-23 Murata Mach Ltd Relay server and relay communication system
JP2009163302A (en) * 2007-12-28 2009-07-23 Murata Mach Ltd Relay server and relay communication system
EP2230818A1 (en) 2006-12-11 2010-09-22 Murata Machinery, Ltd. Relay server and relay communication system
JP2010245982A (en) * 2009-04-09 2010-10-28 Murata Machinery Ltd Relay communication system
WO2011039966A1 (en) * 2009-09-30 2011-04-07 村田機械株式会社 Relay server and relay communication device
WO2011039967A1 (en) * 2009-10-02 2011-04-07 村田機械株式会社 Relay server and relay communication system
US8005893B2 (en) 2007-05-02 2011-08-23 Murata Machinery, Ltd. Relay server and relay communication system
WO2012066731A1 (en) 2010-11-18 2012-05-24 村田機械株式会社 Relay server and relay communication system
WO2012120767A1 (en) 2011-03-09 2012-09-13 村田機械株式会社 Relay server and relay communication system
US8499083B2 (en) 2006-03-29 2013-07-30 Murata Kikai Kabushiki Kaisha Relay device and communication system
JP2015082696A (en) * 2013-10-21 2015-04-27 株式会社オプティム Communication relay terminal, communication relay system, communication relay method, and program for communication relay terminal
US9191320B2 (en) 2011-04-21 2015-11-17 Murata Machinery, Ltd. Relay server and relay communication system
US9197557B2 (en) 2011-02-08 2015-11-24 Murata Machinery, Ltd. Relay server and relay communication system
JP2018136647A (en) * 2017-02-20 2018-08-30 ウイングアーク1st株式会社 Cloud relay system and relay server
JP2021504841A (en) * 2017-11-30 2021-02-15 北京京▲東▼尚科信息技▲術▼有限公司Beijing Jingdong Shangke Information Technology Co., Ltd. Server groups and aircraft communication methods, servers, and systems

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7206088B2 (en) 2001-01-15 2007-04-17 Murata Kikai Kabushiki Kaisha Relay server, communication system and facsimile system
JP2004172771A (en) * 2002-11-18 2004-06-17 Mediaselect Inc Communication control method and communication control program
US8499083B2 (en) 2006-03-29 2013-07-30 Murata Kikai Kabushiki Kaisha Relay device and communication system
JP2008028493A (en) * 2006-07-19 2008-02-07 Nakayo Telecommun Inc Call control server with call means designating function
EP1942634A1 (en) 2006-11-24 2008-07-09 Murata Machinery, Ltd. Relay server, relay communication system, and communication device
JP2008140254A (en) * 2006-12-04 2008-06-19 Murata Mach Ltd Communication device and relay communication system
JP2008148046A (en) * 2006-12-11 2008-06-26 Murata Mach Ltd Relay server, and relay communication system
US8533330B2 (en) 2006-12-11 2013-09-10 Murata Machinery, Ltd. Relay server and relay communication system arranged to share resources between networks
EP2230818A1 (en) 2006-12-11 2010-09-22 Murata Machinery, Ltd. Relay server and relay communication system
JP2008148200A (en) * 2006-12-13 2008-06-26 Murata Mach Ltd Relay server
US8005893B2 (en) 2007-05-02 2011-08-23 Murata Machinery, Ltd. Relay server and relay communication system
EP1995937A2 (en) 2007-05-02 2008-11-26 Murata Machinery, Ltd. Relay server and relay communication system
JP2009157825A (en) * 2007-12-27 2009-07-16 Murata Mach Ltd Relay server and relay communication system
JP4645915B2 (en) * 2007-12-27 2011-03-09 村田機械株式会社 Relay server and relay communication system
US8321575B2 (en) 2007-12-27 2012-11-27 Murata Machinery, Ltd. Relay server and relay communication system
JP2009163300A (en) * 2007-12-28 2009-07-23 Murata Mach Ltd Relay server and relay communication system
JP2009163302A (en) * 2007-12-28 2009-07-23 Murata Mach Ltd Relay server and relay communication system
JP2010245982A (en) * 2009-04-09 2010-10-28 Murata Machinery Ltd Relay communication system
JP2011077842A (en) * 2009-09-30 2011-04-14 Murata Machinery Ltd Relay server and relay communication system
US8554935B2 (en) 2009-09-30 2013-10-08 Murata Machinery, Ltd. Relay server and relay communication system
WO2011039966A1 (en) * 2009-09-30 2011-04-07 村田機械株式会社 Relay server and relay communication device
CN102742219A (en) * 2009-09-30 2012-10-17 村田机械株式会社 Relay server and relay communication device
US9521012B2 (en) 2009-10-02 2016-12-13 Murata Machinery, Ltd. Relay server and relay communication system
WO2011039967A1 (en) * 2009-10-02 2011-04-07 村田機械株式会社 Relay server and relay communication system
JP2011082600A (en) * 2009-10-02 2011-04-21 Murata Machinery Ltd Relay server and relay communication system
WO2012066731A1 (en) 2010-11-18 2012-05-24 村田機械株式会社 Relay server and relay communication system
US9407529B2 (en) 2010-11-18 2016-08-02 Murata Machinery, Ltd. Relay server and relay communication system
US9197557B2 (en) 2011-02-08 2015-11-24 Murata Machinery, Ltd. Relay server and relay communication system
WO2012120767A1 (en) 2011-03-09 2012-09-13 村田機械株式会社 Relay server and relay communication system
US9596178B2 (en) 2011-03-09 2017-03-14 Murata Machinery, Ltd. Relay server and relay communication system
US9191320B2 (en) 2011-04-21 2015-11-17 Murata Machinery, Ltd. Relay server and relay communication system
JP2015082696A (en) * 2013-10-21 2015-04-27 株式会社オプティム Communication relay terminal, communication relay system, communication relay method, and program for communication relay terminal
JP2018136647A (en) * 2017-02-20 2018-08-30 ウイングアーク1st株式会社 Cloud relay system and relay server
JP2021504841A (en) * 2017-11-30 2021-02-15 北京京▲東▼尚科信息技▲術▼有限公司Beijing Jingdong Shangke Information Technology Co., Ltd. Server groups and aircraft communication methods, servers, and systems
JP7248678B2 (en) 2017-11-30 2023-03-29 ベイジン・ジンドン・チアンシ・テクノロジー・カンパニー・リミテッド SERVER GROUP AND AIRCRAFT COMMUNICATIONS METHOD, SERVER AND SYSTEM

Also Published As

Publication number Publication date
JP4231985B2 (en) 2009-03-04

Similar Documents

Publication Publication Date Title
JP4231985B2 (en) Relay server and communication system
JP4231984B2 (en) Relay server and communication system
US7206088B2 (en) Relay server, communication system and facsimile system
US8316134B2 (en) File server device arranged in a local area network and being communicable with an external server arranged in a wide area network
US8499083B2 (en) Relay device and communication system
JP4222397B2 (en) Relay server
JP4207078B2 (en) Relay server
US8738788B2 (en) First relay server and second relay server
JP3743507B2 (en) Relay server
CN100454860C (en) Connection control system, connection control device and connection managing device
US20020095506A1 (en) Relay server, communication system and facsimile system
US11792206B2 (en) Relay method, relay system, and relay program
JP3743506B2 (en) Relay server and relay system
JP4187036B2 (en) Relay server
US20020143957A1 (en) Relay server, network device, communication system, and communication method
JP3543767B2 (en) Facsimile system
JP4380945B2 (en) Relay server
JP3743500B2 (en) Relay server
JP2011055450A (en) Relay server and relay communication system
JP4992944B2 (en) Relay server and relay communication system
JP4773312B2 (en) File transfer server
JP3743501B2 (en) Relay server
JP4304410B2 (en) Relay server and communication system
JP3743502B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND NETWORK DEVICE
JP5633748B2 (en) Relay server and relay communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060907

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

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

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

Free format text: PAYMENT UNTIL: 20111219

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4231985

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

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

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

Year of fee payment: 5

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

LAPS Cancellation because of no payment of annual fees