JP2008225644A - Gateway device, load balancing method for gateway device and load balancing program of gateway device - Google Patents

Gateway device, load balancing method for gateway device and load balancing program of gateway device Download PDF

Info

Publication number
JP2008225644A
JP2008225644A JP2007060164A JP2007060164A JP2008225644A JP 2008225644 A JP2008225644 A JP 2008225644A JP 2007060164 A JP2007060164 A JP 2007060164A JP 2007060164 A JP2007060164 A JP 2007060164A JP 2008225644 A JP2008225644 A JP 2008225644A
Authority
JP
Japan
Prior art keywords
relay server
relay
load
server
client terminal
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.)
Withdrawn
Application number
JP2007060164A
Other languages
Japanese (ja)
Inventor
Yuji Yokoyama
雄司 横山
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2007060164A priority Critical patent/JP2008225644A/en
Publication of JP2008225644A publication Critical patent/JP2008225644A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently distribute load of a relay server without adding a special device. <P>SOLUTION: A load balancing system has a plurality of the relay servers, a client terminal, and the gateway device managing load information of the relay server. The gateway device has; a relay server information management means provided in an intranet, managing the load information of the relay server as periodically updating the load information of the relay server; and a load distribution decision means deciding whether the load of the first relay server is distributed or not based on the load information of the plurality of relay servers and the load information of the first relay server wherein the client terminal is connected to the relay server. The load balancing decision means establishes second connection between the client terminal and a second relay server while establishing first connection between the first relay server and the client terminal when it is decided that the load balancing is effective, cuts the first connection after the second connection establishes. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ゲートウェイ装置、ゲートウェイ装置の負荷分散方法、ゲートウェイ装置の負荷分散プログラム、負荷分散システム及び中継サーバの負荷分散方法に関し、特に、中継サーバにかかる負荷が高くなった場合に負荷分散を行うゲートウェイ装置、ゲートウェイ装置の負荷分散方法、ゲートウェイ装置の負荷分散プログラム、負荷分散システム及び中継サーバの負荷分散方法に関する。   The present invention relates to a gateway apparatus, a load distribution method for a gateway apparatus, a load distribution program for a gateway apparatus, a load distribution system, and a load distribution method for a relay server, and in particular, performs load distribution when a load on the relay server increases. The present invention relates to a gateway device, a load distribution method for a gateway device, a load distribution program for a gateway device, a load distribution system, and a load distribution method for a relay server.

従来、コンピュータの普及に伴って、クライアント端末とサーバ装置とを接続したクライアントサーバシステムが、幅広く利用されている。   2. Description of the Related Art Conventionally, with the spread of computers, client server systems in which client terminals and server devices are connected are widely used.

ここで、一般的なクライアントサーバシステムを、図11に示す。図11において、クライアントサーバシステムは、クライアント端末C1と、クライアント端末C2と、クライアント端末C3とが、ゲートウェイ装置GW1を介して、サーバ装置(以下、単にサーバという。)SV1と、サーバSV2とに接続されている。   Here, FIG. 11 shows a general client-server system. In FIG. 11, in the client server system, a client terminal C1, a client terminal C2, and a client terminal C3 are connected to a server apparatus (hereinafter simply referred to as a server) SV1 and a server SV2 via a gateway apparatus GW1. Has been.

通常、このようなクライアントシステムでは、例えば、クライアント端末C1から送信される処理要求が、ゲートウェイ装置GW1を介して、サーバSV1又はサーバSV2に送信され、サーバSV1又はサーバSV2において、その処理要求が処理された後、ゲートウェイ装置GW1を介して、クライアント端末C1に返送される。   Normally, in such a client system, for example, a processing request transmitted from the client terminal C1 is transmitted to the server SV1 or the server SV2 via the gateway device GW1, and the processing request is processed in the server SV1 or the server SV2. Then, it is returned to the client terminal C1 via the gateway device GW1.

そして、このような構成を用いたクライアントサーバシステムが、特許文献1に記載されている。
特開2002−269061号公報
A client server system using such a configuration is described in Patent Document 1.
JP 2002-269061 A

この特許文献1には、複数のクライアント端末と、複数のサーバとの間に中継サーバとなるゲートウェイ装置GW1を備え、そのゲートウェイ装置GW1が、サーバSV1又はサーバSV2に接続されるクライアント端末の接続数を負荷として管理するクライアントサーバシステムが記載されている。   This Patent Document 1 includes a gateway device GW1 serving as a relay server between a plurality of client terminals and a plurality of servers, and the gateway device GW1 is connected to the server SV1 or the server SV2. A client-server system that manages the server as a load is described.

そして、ゲートウェイ装置GW1は、サーバSV1又はサーバSV2の処理負荷によって、どちらのサーバに、どのクライアント端末C1〜C3を接続するかを割り当てる。   Then, the gateway device GW1 assigns to which server the client terminals C1 to C3 are connected depending on the processing load of the server SV1 or the server SV2.

しかしながら、特許文献1に記載されたクライアントサーバシステムでは、例えば、クライアント端末C1からの処理要求に対して、サーバSV1において負担の大きい処理(例えば、画像処理などの演算処理等)がされている場合や、或いはクライアントC1がサーバSV1から切断された場合には、ゲートウェイ装置GW1は、サーバSV1の負荷の状態をリアルタイムに把握することができなかった。   However, in the client server system described in Patent Document 1, for example, when a processing request from the client terminal C1 is being processed, a heavy processing (for example, arithmetic processing such as image processing) is performed in the server SV1. Or, when the client C1 is disconnected from the server SV1, the gateway device GW1 cannot grasp the load state of the server SV1 in real time.

すなわち、ゲートウェイ装置GW1は、各クライアント端末C1〜C3からの処理要求時の接続数を負荷として管理しているに過ぎず、一度クライアント端末をサーバに割り当てると、その後の各サーバの負荷状況に関わらず、クライアント端末の接続先のサーバを変更することができないという問題があった。   That is, the gateway device GW1 only manages the number of connections at the time of processing requests from the client terminals C1 to C3 as a load, and once a client terminal is assigned to a server, the gateway device GW1 relates to the subsequent load status of each server. Therefore, there is a problem that the server to which the client terminal is connected cannot be changed.

また、既存の中継サーバによる負荷分散システムから、以下のような中継サーバの負荷分散システムが考えられる。   Further, the following load distribution system of relay servers can be considered from the load distribution system using existing relay servers.

図12の構成図を用いて説明すると、この考えられる中継サーバの負荷分散システムは、クライアント端末1101と、NAT(network address translation)1102と、中継サーバ1103と、中継サーバ1104と、中継サーバ1105と、メールサーバ1106と、NAT1107と、クライアント端末1108と、セッション管理サーバ1109とを備えている。   Referring to the configuration diagram of FIG. 12, this conceivable relay server load distribution system includes a client terminal 1101, a network address translation (NAT) 1102, a relay server 1103, a relay server 1104, a relay server 1105, and the like. A mail server 1106, a NAT 1107, a client terminal 1108, and a session management server 1109.

このような構成を有する中継サーバ負荷分散システムでは、図13に示すフローチャートのように動作する。   The relay server load distribution system having such a configuration operates as shown in the flowchart of FIG.

図13に示すフローチャートでは、利用者がクライアント端末に対して接続要求操作を行うことにより(ステップ1211)、クライアント端末1101は、セッション管理サーバ1109に、セッション確立要求を送信する(ステップ1212)。   In the flowchart shown in FIG. 13, when the user performs a connection request operation on the client terminal (step 1211), the client terminal 1101 transmits a session establishment request to the session management server 1109 (step 1212).

セッション管理サーバ1109は、パケット中継処理を実行する余裕がある中継サーバ1103の情報をクライアント端末1101に通知する(ステップ1213)。   The session management server 1109 notifies the client terminal 1101 of information on the relay server 1103 that can afford to execute packet relay processing (step 1213).

クライアント端末1101は、中継サーバ1103と接続を確立した後(ステップ1214)、クライアント端末1108に接続開始メールを送信する(ステップ1215)。   After establishing a connection with the relay server 1103 (step 1214), the client terminal 1101 transmits a connection start mail to the client terminal 1108 (step 1215).

クライアント端末1108は、接続開始メールが届いていないか定期的に確認し(ステップ1216)、接続開始メールが届いている場合にはそのメールを受信すると共に(ステップ1217)、中継サーバ1103と接続する(ステップ1218)。   The client terminal 1108 periodically checks whether a connection start mail has arrived (step 1216). If the connection start mail has arrived, the client terminal 1108 receives the mail (step 1217) and connects to the relay server 1103. (Step 1218).

クライアント端末1101と、クライアント端末1108の接続が完了すると、中継サーバ1103は、クライアント端末1101とクライアント端末1108に接続完了メッセージを送信する(ステップ1219、ステップ1220)。   When the connection between the client terminal 1101 and the client terminal 1108 is completed, the relay server 1103 transmits a connection completion message to the client terminal 1101 and the client terminal 1108 (steps 1219 and 1220).

クライアント端末1101は、接続完了メッセージ(接続完了通知)を受信すると(ステップ1220)、中継サーバ1103を介してクライアント端末1108とパケット通信を行う(ステップ1222、ステップ1223)。   Upon receiving the connection completion message (connection completion notification) (step 1220), the client terminal 1101 performs packet communication with the client terminal 1108 via the relay server 1103 (step 1222, step 1223).

このような動作をする場合の構成について、更に図14を用いて説明する。   The configuration for such an operation will be further described with reference to FIG.

図14(A)を参照すると、このような動作をする中継サーバ負荷分散システムでは、社外のクライアント端末101から社内の業務サーバ104にアクセスしようとするとき、通常、社内ネットワークは、ファイアウォール102で守られている。   Referring to FIG. 14A, in the relay server load balancing system that operates as described above, when trying to access the internal business server 104 from the external client terminal 101, the internal network is usually protected by the firewall 102. It has been.

このため、クライアント端末101は、社内ネットワークにある業務サーバ104と通常通信できない。   For this reason, the client terminal 101 cannot normally communicate with the business server 104 in the in-house network.

図14(B)を参照すると、図14(A)とは反対に、社内にあるクライアント端末109から社外にあるサーバ方向への接続は許されていることが多い。   Referring to FIG. 14B, contrary to FIG. 14A, connection from the client terminal 109 in the company to the server in the outside is often permitted.

しかし、クライアント端末109から社外のプライベートIPアドレスのクライアント端末105には通信できない。プライベートIPでは一意に端末を特定することができないためである。   However, communication from the client terminal 109 to the client terminal 105 having a private IP address outside the company is not possible. This is because a private IP cannot uniquely identify a terminal.

図14(C)を参照すると、プライベートIPアドレスが割り当てられているクライアント端末110からインターネットへの通信は、通常NAT(network address translation)111と呼ばれる変換を行い、グローバルIPアドレスに変換することにより行うことができる。   Referring to FIG. 14C, communication from the client terminal 110 to which the private IP address is assigned to the Internet is performed by performing conversion called NAT (network address translation) 111 and converting it to a global IP address. be able to.

そこで、グローバルIPアドレスを持つ中継サーバ112を利用することにより、プライベートIPを使用しているクライアント端末110のNAT111を通した接続と、社内のゲートウェイ装置114からの接続とを中継転送する方式が考えられる。   Therefore, a method of relaying and transferring the connection through the NAT 111 of the client terminal 110 using the private IP and the connection from the in-house gateway device 114 by using the relay server 112 having a global IP address is considered. It is done.

しかし、多数のクライアント端末が中継サーバ112を利用すると、高負荷になり転送に時間がかかるため、利便性が問題となる。   However, when a large number of client terminals use the relay server 112, the load becomes high and the transfer takes time, so that convenience becomes a problem.

従って、既存の中継サーバから考えられる、クライアント端末とゲートウェイ装置との通信を中継する中継サーバの負荷分散システムでは、サーバからのセッションとクライアント端末からのセッションの両方とも他の中継サーバに振り分けるため、ロードバランサやセッション管理サーバを設置する必要があり、システムの導入に特別なハードウェアを使用するのでコストがかかるという問題があった。   Therefore, in the load distribution system of the relay server that relays communication between the client terminal and the gateway device, which can be considered from the existing relay server, both the session from the server and the session from the client terminal are distributed to other relay servers. It is necessary to install a load balancer and session management server, and there is a problem that costs are increased because special hardware is used to introduce the system.

本発明は、上記問題点に鑑みてなされたものであり、特殊な装置を追加せずに、効率的に中継サーバの負荷分散を行うゲートウェイ装置、ゲートウェイ装置の負荷分散方法、ゲートウェイ装置の負荷分散プログラム、負荷分散システム及び中継サーバの負荷分散方法を実現することを目的とする。   The present invention has been made in view of the above problems, and a gateway device that efficiently distributes the load of a relay server without adding a special device, a load distribution method of the gateway device, and a load distribution of the gateway device It is an object to realize a load distribution method for a program, a load distribution system, and a relay server.

本発明に係るゲートウェイ装置は、複数の中継サーバの負荷情報を管理するゲートウェイ装置であって、イントラネット内に設けられると共に、前記中継サーバの負荷情報を通信により定期的に更新しながら管理する中継サーバ情報管理手段を備え、前記中継サーバ情報管理手段は、前記中継サーバにクライアント端末が接続される第1の中継サーバの負荷情報と、前記複数の中継サーバの負荷情報とに基づいて、当該第1の中継サーバの負荷分散を行うか否かを判断する負荷分散判断手段を備え、前記負荷分散判断手段は、前記第1の中継サーバの負荷分散を行うことが有効であると判断した場合には、現在接続されている当該クライアント端末と当該第1の中継サーバとの第1のコネクションを接続したまま、前記複数の中継サーバの1つであって前記第1の中継サーバとは異なる第2の中継サーバと当該クライアント端末との第2のコネクションを接続し、当該第2のコネクションが確立した後、前記第1のコネクションを切断することにより前記第1の中継サーバの負荷分散を行うことを特徴とする。   A gateway device according to the present invention is a gateway device that manages load information of a plurality of relay servers, and is provided in an intranet, and manages the load information of the relay server while periodically updating it by communication The relay server information management means includes the first relay server based on the load information of the first relay server connected to the client terminal and the load information of the plurality of relay servers. Load distribution determination means for determining whether or not to perform load distribution of the relay server, and when the load distribution determination means determines that load distribution of the first relay server is effective One of the plurality of relay servers is connected while the first connection between the currently connected client terminal and the first relay server is connected. And connecting the second connection between the second relay server different from the first relay server and the client terminal, and disconnecting the first connection after the second connection is established. Thus, the load distribution of the first relay server is performed.

また、本発明に係るゲートウェイ装置は、前記負荷分散判断手段が、前記複数の中継サーバのうち、前記第1の中継サーバに接続されている前記クライアント端末の数が少ない中継サーバであって、当該中継サーバの制御部の使用率が所定範囲内にある場合には、当該中継サーバを前記第2の中継サーバとして前記第1の中継サーバの負荷分散を行うことが有効であると判断するようにしても良い。   In the gateway device according to the present invention, the load distribution determination unit is a relay server having a small number of the client terminals connected to the first relay server among the plurality of relay servers, When the usage rate of the control unit of the relay server is within a predetermined range, it is determined that it is effective to perform load distribution of the first relay server with the relay server as the second relay server. May be.

また、本発明に係るゲートウェイ装置は、前記中継サーバ情報管理手段が、前記中継サーバにメンテナンスを予告通知するために送信されるメンテナンス予告通知を、当該中継サーバの負荷情報から取得するメンテナンス予告通知手段を更に備え、前記メンテナンス予告通知手段は、前記メンテナンス予告通知を前記中継サーバの負荷情報から取得すると、当該中継サーバを前記第1の中継サーバとして前記負荷分散判断手段を適用し、当該第1の中継サーバに接続された前記クライアント端末を、前記第2の中継サーバに接続されるように前記第1の中継サーバから前記第2の中継サーバに切り替えるようにしても良い。   Further, the gateway device according to the present invention is a maintenance notice notifying unit that acquires, from the load information of the relay server, the maintenance notice that is transmitted by the relay server information managing means to notify the relay server of the notice of maintenance. When the maintenance notice notice is acquired from the load information of the relay server, the maintenance notice notice means applies the load distribution determining means with the relay server as the first relay server. The client terminal connected to the relay server may be switched from the first relay server to the second relay server so as to be connected to the second relay server.

また、本発明に係るゲートウェイ装置は、前記負荷分散判断手段が、前記複数の中継サーバのうち、前記第1の中継サーバに接続されている前記クライアント端末の数が少ない中継サーバであって、当該中継サーバの制御部の使用率が所定範囲内にある場合には、当該中継サーバを前記第2の中継サーバとして前記第1の中継サーバから切り替えるようにしても良い。   In the gateway device according to the present invention, the load distribution determination unit is a relay server having a small number of the client terminals connected to the first relay server among the plurality of relay servers, When the usage rate of the control unit of the relay server is within a predetermined range, the relay server may be switched from the first relay server as the second relay server.

本発明によれば、クライアント端末が最初に接続される中継サーバを経由して、クライアント端末とゲートウェイ装置との接続を確立すると共に、ゲートウェイ装置が自装置に接続されている複数の中継サーバに対して、負荷情報の更新と管理を行うことができる。   According to the present invention, the connection between the client terminal and the gateway device is established via the relay server to which the client terminal is connected first, and the gateway device is connected to the plurality of relay servers connected to the own device. Thus, load information can be updated and managed.

これにより、ゲートウェイ装置は、各中継サーバの負荷情報に基づいて、クライアント端末の接続先を変更する負荷分散の判断を行うことができると共に、ゲートウェイ装置はクライアント端末と第1の中継サーバと接続を確立した状態で、第1の中継サーバとは異なる第2の中継サーバに接続を切り替えることができる。かくして、特殊な装置を追加せずに、効率的に中継サーバの負荷分散を行うゲートウェイ装置、ゲートウェイ装置の負荷分散方法、ゲートウェイ装置の負荷分散プログラム、負荷分散システム及び中継サーバの負荷分散方法を実現できる。   As a result, the gateway device can make a load distribution determination to change the connection destination of the client terminal based on the load information of each relay server, and the gateway device can connect the client terminal and the first relay server. In the established state, the connection can be switched to a second relay server different from the first relay server. Thus, a gateway device that efficiently distributes the load on the relay server without adding a special device, a load distribution method for the gateway device, a load distribution program for the gateway device, a load distribution system, and a load distribution method for the relay server are realized. it can.

次に、本発明の実施の形態の構成について図面を参照して詳細に説明する。
(第1の実施の形態)
(1)第1の実施の形態による負荷分散中継システム
(1−1)負荷分散中継システムの構成
図1を参照すると、第1の実施の形態による負荷分散中継システムは、社外から社内の業務サーバ208へ接続を行うクライアント端末201と、NAT装置218と、接続を受け付けるゲートウェイ装置206と、クライアント端末201とゲートウェイ装置206との間のセッションを中継する中継サーバ202と、中継サーバ202の負荷を分散させるための中継サーバ203、中継サーバ205と、ファイアウォール207と、メールサーバ204と、業務サーバ208とを備えている。
Next, the configuration of the embodiment of the present invention will be described in detail with reference to the drawings.
(First embodiment)
(1) Load Balancing Relay System According to First Embodiment (1-1) Configuration of Load Balancing Relay System Referring to FIG. 1, a load balancing relay system according to the first embodiment is an internal business server from outside the company. The client terminal 201 that connects to the 208, the NAT device 218, the gateway device 206 that accepts the connection, the relay server 202 that relays the session between the client terminal 201 and the gateway device 206, and the load on the relay server 202 is distributed A relay server 203, a relay server 205, a firewall 207, a mail server 204, and a business server 208.

ここで、クライアント端末201の内部構成について、図2に示す。   Here, the internal configuration of the client terminal 201 is shown in FIG.

図2に示すように、クライアント端末201は、オペレーティングシステム309と、SMTP(simple mail transfer protocol)部304と、ゲートウェイ装置/中継サーバ通信部305と、制御部306と、アドレステーブル307と、アプリケーション部308と、を備えている。   As shown in FIG. 2, the client terminal 201 includes an operating system 309, an SMTP (simple mail transfer protocol) unit 304, a gateway device / relay server communication unit 305, a control unit 306, an address table 307, and an application unit. 308.

また、オペレーティングシステム309は、MAC(media access control)部301と、IP(internet protocol)部302と、TCP/UDP(transmission control protocol/user datagram protocol)部303とを備えている。   The operating system 309 includes a MAC (media access control) unit 301, an IP (internet protocol) unit 302, and a TCP / UDP (transmission control protocol / user datagram protocol) unit 303.

MAC部301は、イーサネット(登録商標)におけるパケットの送受信を行う標準プロトコル処理部である。   The MAC unit 301 is a standard protocol processing unit that transmits and receives packets on Ethernet (registered trademark).

IP部302は、パケットのルーティングを行う標準プロトコル処理部である。   The IP unit 302 is a standard protocol processing unit that performs packet routing.

TCP/UDP部303は、信頼性のあるパケット通信を行う標準プロトコル処理部である。   The TCP / UDP unit 303 is a standard protocol processing unit that performs reliable packet communication.

SMTP部304は、電子メールの送信を行う標準プロトコル処理部である。   The SMTP unit 304 is a standard protocol processing unit that transmits electronic mail.

ゲートウェイ装置/中継サーバ通信部305は、ゲートウェイ装置206と制御情報などを取得するために通信を行ったり、中継サーバ202、中継サーバ203及び中継サーバ205と通信を行う部分である。   The gateway device / relay server communication unit 305 is a part that communicates with the gateway device 206 to acquire control information, and communicates with the relay server 202, the relay server 203, and the relay server 205.

制御部306は、メールを送信するために、SMTP部304の関数をコールしたり、ゲートウェイ装置通信部305で受信した中継サーバ202の要求を受け取る関数をコールしたりする。   The control unit 306 calls a function of the SMTP unit 304 or calls a function for receiving the request of the relay server 202 received by the gateway device communication unit 305 in order to transmit mail.

アドレステーブル307には、ゲートウェイ装置206用のメールアカウントの情報や、最初に接続するデフォルトの中継サーバのIPアドレスが格納されている。   The address table 307 stores mail account information for the gateway device 206 and the IP address of the default relay server to be connected first.

アプリケーション部308は、業務サーバ208のアプリケーション部とパケットのやり取りを行うために制御部306と通信する。   The application unit 308 communicates with the control unit 306 in order to exchange packets with the application unit of the business server 208.

中継サーバ202、中継サーバ203及び中継サーバ205には、グローバルIPアドレスが割り当てられており、クライアント端末201からのTCPコネクション接続要求とゲートウェイ装置からのTCPコネクション接続を中継することによって、クライアント端末201とゲートウェイ装置206との間のパケット転送を行う手段を有している。   The relay server 202, the relay server 203, and the relay server 205 are assigned global IP addresses. By relaying the TCP connection connection request from the client terminal 201 and the TCP connection connection from the gateway device, Means for transferring packets to and from the gateway device 206 is included.

次に、中継サーバ202、中継サーバ203及び中継サーバ205について説明する。中継サーバ202、中継サーバ203及び中継サーバ205の内部構成は、すべて同じであるため、中継サーバ202についてのみ説明することにする。   Next, the relay server 202, the relay server 203, and the relay server 205 will be described. Since the internal configurations of the relay server 202, the relay server 203, and the relay server 205 are all the same, only the relay server 202 will be described.

図3に示すように、中継サーバ202は、オペレーティングシステム410と、パケット識別部404と、中継転送部405と、ゲートウェイ装置通信部406と、サーバ管理部407と、中継テーブル408と、負荷情報テーブル409とを備えている。   As shown in FIG. 3, the relay server 202 includes an operating system 410, a packet identification unit 404, a relay transfer unit 405, a gateway device communication unit 406, a server management unit 407, a relay table 408, and a load information table. 409.

また、オペレーティングシステム410は、オペレーティングシステム309と同一であるため、説明を省略する。   Further, since the operating system 410 is the same as the operating system 309, description thereof is omitted.

パケット識別部404は、受信したパケットの種類によって中継転送部405とゲートウェイ装置通信部406にパケットを振り分ける。   The packet identification unit 404 distributes the packet to the relay transfer unit 405 and the gateway device communication unit 406 according to the type of the received packet.

中継転送部405は、クライアント端末201とゲートウェイ装置206からの接続を待ち受ける動作と、それらのパケットを転送する機能をもつ。   The relay transfer unit 405 has an operation of waiting for a connection from the client terminal 201 and the gateway device 206 and a function of transferring those packets.

ゲートウェイ装置通信部406は、ゲートウェイ装置206からの要求を受けて、負荷情報テーブル409から情報を取得し、応答を返す機能を持つ。   The gateway device communication unit 406 has a function of receiving a request from the gateway device 206, acquiring information from the load information table 409, and returning a response.

サーバ管理部407は、中継サーバ202の負荷情報を定期的に収集し、負荷情報テーブル409に書き込んでいる。   The server management unit 407 periodically collects load information of the relay server 202 and writes it in the load information table 409.

中継テーブル408は、クライアント端末201とゲートウェイ装置206の通信を結びつけるための情報と、現在の中継転送数を持っているテーブルである。   The relay table 408 is a table having information for connecting the communication between the client terminal 201 and the gateway device 206 and the current number of relay transfers.

サーバ管理部407は、一定時間おきに中継サーバテーブル408から中継転送数を取得するとともに、その時点でのCPU(central processing unit)の使用率を負荷情報テーブル409に格納する。   The server management unit 407 obtains the number of relay transfers from the relay server table 408 at regular intervals, and stores the CPU (central processing unit) usage rate at that time in the load information table 409.

次に、メールサーバ204について説明する。メールサーバ204の内部構成を図4に示す。   Next, the mail server 204 will be described. The internal configuration of the mail server 204 is shown in FIG.

図4に示すように、メールサーバ204は、MAC部401と、IP部402と、TCP/UDP部403と、SMTP部411と、POP(post office protocol)部412と、メールスプール413とを備えている。   As shown in FIG. 4, the mail server 204 includes a MAC unit 401, an IP unit 402, a TCP / UDP unit 403, an SMTP unit 411, a POP (post office protocol) unit 412, and a mail spool 413. ing.

ここで、MAC部401と、IP部402と、TCP/UDP部403と、SMTP部411は、クライアント端末201に備えられている部分と同一であるため、説明を省略する。   Here, the MAC unit 401, the IP unit 402, the TCP / UDP unit 403, and the SMTP unit 411 are the same as the parts provided in the client terminal 201, and thus the description thereof is omitted.

POP部412は、電子メールを保存しているサーバからメールを受信するためのプロトコルである。   The POP unit 412 is a protocol for receiving mail from a server storing electronic mail.

メールスプール部413は、配信されたメールを保存しておく領域のことである。   The mail spool unit 413 is an area for storing delivered mail.

次に、ゲートウェイ装置206について説明する。ゲートウェイ装置206の内部構成を図5に示す。   Next, the gateway device 206 will be described. The internal configuration of the gateway device 206 is shown in FIG.

図5に示すように、ゲートウェイ装置206は、オペレーティングシステム509と、制御情報通信部504と、転送部505と、POP部506と、制御部507と、中継サーバ情報テーブル508とを備えている。   As shown in FIG. 5, the gateway device 206 includes an operating system 509, a control information communication unit 504, a transfer unit 505, a POP unit 506, a control unit 507, and a relay server information table 508.

オペレーティングシステム509は、オペレーティングシステム309及びオペレーティングシステム410と同一であるため、説明を省略する。   Since the operating system 509 is the same as the operating system 309 and the operating system 410, description thereof is omitted.

制御情報通信部504は、中継サーバと通信を行い負荷情報の要求を送信したり受信したりする。   The control information communication unit 504 communicates with the relay server to transmit and receive load information requests.

転送部505は、社内、社外間の通信を転送する。本例では業務サーバ208(図1)や、クライアント端末201(図1)との通信を転送する。   The transfer unit 505 transfers communication between the inside and outside the company. In this example, communication with the business server 208 (FIG. 1) and the client terminal 201 (FIG. 1) is transferred.

POP部506は、メールサーバ204のPOP部411と同様に、メールサーバから接続開始メールを受信する。   Similar to the POP unit 411 of the mail server 204, the POP unit 506 receives a connection start mail from the mail server.

制御部507は、制御情報通信部504や、転送部505或いはPOP部506の関数をコールしたり、受信したデータを中継サーバ情報テーブル508に格納したりする。また、中継サーバ情報テーブル508の情報を元に、接続先中継サーバを決定する手段を持っている。   The control unit 507 calls a function of the control information communication unit 504, the transfer unit 505, or the POP unit 506, or stores received data in the relay server information table 508. Further, it has means for determining a connection destination relay server based on information in the relay server information table 508.

なお、図1には、中継サーバ202に備えられた負荷情報テーブル409(図3)の管理内容が、負荷情報テーブル209として例示されている。   In FIG. 1, the management content of the load information table 409 (FIG. 3) provided in the relay server 202 is illustrated as the load information table 209.

この負荷情報テーブル209には、時刻211と、コネクション数212と、CPU使用率213とが記載されている。   In the load information table 209, the time 211, the number of connections 212, and the CPU usage rate 213 are described.

また、図1には、ゲートウェイ装置206に備えられた中継サーバ情報テーブル508(図5)の管理内容が、中継サーバ情報テーブル210として例示されている。   Also, in FIG. 1, the management content of the relay server information table 508 (FIG. 5) provided in the gateway device 206 is illustrated as the relay server information table 210.

この中継サーバ情報テーブル210には、ホスト名214と、IPアドレス215と、コネクション数216と、CPU使用率217とが記載されている。
(1−2)負荷分散中継システムの接続先確立処理手順
次に、図1の構成図と、図6のフローチャートを参照して、第1の実施の形態による負荷分散中継システムの接続先確立処理手順について、詳細に説明する。
In the relay server information table 210, a host name 214, an IP address 215, the number of connections 216, and a CPU usage rate 217 are described.
(1-2) Connection Destination Establishment Processing Procedure of Load Balancing Relay System Next, referring to the configuration diagram of FIG. 1 and the flowchart of FIG. 6, the connection destination establishment processing of the load distribution relay system according to the first embodiment The procedure will be described in detail.

まず、クライアント端末201の利用者601が、クライアント端末201に対し、接続開始を指示する(ステップ611)。   First, the user 601 of the client terminal 201 instructs the client terminal 201 to start connection (step 611).

するとクライアント端末201は、中継サーバ202にTCPコネクションを確立する(ステップ612)。   Then, the client terminal 201 establishes a TCP connection with the relay server 202 (step 612).

クライアント端末201は、接続開始メールをゲートウェイ装置206のメールアカウント宛に送信する(ステップ613)。   The client terminal 201 transmits a connection start mail to the mail account of the gateway device 206 (step 613).

ゲートウェイ装置206は、定期的にメールサーバ204に接続開始メールが届いているかチェックしている(ステップ614)。   The gateway device 206 periodically checks whether a connection start mail has arrived at the mail server 204 (step 614).

もし、メールサーバ204に接続開始メールが存在した場合、ゲートウェイ装置206は、その接続開始メールを受信する(ステップ615)。   If a connection start mail exists in the mail server 204, the gateway device 206 receives the connection start mail (step 615).

そして、ゲートウェイ装置206は、中継サーバ202にTCPコネクションを開設する(ステップ616)。   The gateway device 206 opens a TCP connection with the relay server 202 (step 616).

次に、ゲートウェイ装置206は、利用者601に対し接続完了通知を出すと(ステップ617)、中継サーバ202を経由してクライアント端末201に届き(ステップ618)、利用者601に接続が完了したことを通知する(ステップ619)。   Next, when the gateway device 206 issues a connection completion notification to the user 601 (step 617), it reaches the client terminal 201 via the relay server 202 (step 618), and the connection to the user 601 is completed. (Step 619).

これにより、第1のコネクションが確立される。   Thereby, the first connection is established.

次に、ゲートウェイ装置206の制御部507(図5)は、制御情報通信部504を介して中継サーバ情報テーブル508(図5)に登録されている中継サーバ202、中継サーバ203、中継サーバ205に対し、現在の確立している接続数212、CPU使用率213といった負荷情報の提供要求(図6では、状態情報要求という。)を出す(ステップ620)。   Next, the control unit 507 (FIG. 5) of the gateway device 206 transmits to the relay server 202, the relay server 203, and the relay server 205 registered in the relay server information table 508 (FIG. 5) via the control information communication unit 504. On the other hand, a load information provision request (referred to as status information request in FIG. 6) such as the currently established number of connections 212 and CPU usage rate 213 is issued (step 620).

そして、中継サーバ202、中継サーバ203及び中継サーバ205は、各パケット識別部404(図3)が、ゲートウェイ装置206からの負荷情報の提供要求を制御パケットであると判断すると、ゲートウェイ装置通信部406(図3)にその制御パケットを渡す。また、各中継サーバは、サーバ管理部407(図3)で取得しておいた負荷情報と、中継テーブル408(図3)に記載されているコネクション数を、負荷情報テーブル409(図3)に定期的に更新しながら格納する。そして、各中継サーバのゲートウェイ装置通信部406(図3)は、その最新のコネクション数212(図1)とCPU使用率213(図1)とをゲートウェイ装置206へ送信する(ステップ621)。   When the packet identification unit 404 (FIG. 3) determines that the load information provision request from the gateway device 206 is a control packet, the relay server 202, the relay server 203, and the relay server 205 determine that the gateway device communication unit 406 The control packet is passed to (FIG. 3). In addition, each relay server stores the load information acquired by the server management unit 407 (FIG. 3) and the number of connections described in the relay table 408 (FIG. 3) in the load information table 409 (FIG. 3). Store while updating regularly. Then, the gateway device communication unit 406 (FIG. 3) of each relay server transmits the latest connection number 212 (FIG. 1) and the CPU usage rate 213 (FIG. 1) to the gateway device 206 (step 621).

そして、ゲートウェイ装置206は、受信できた中継サーバ202、中継サーバ203及び中継サーバ205からの負荷情報(図5では、状態状況応答という。)を、制御情報通信部504及び制御部507を介して中継サーバ情報テーブル508に格納する。   Then, the gateway device 206 receives the load information (referred to as a status response in FIG. 5) from the relay server 202, the relay server 203, and the relay server 205 that can be received via the control information communication unit 504 and the control unit 507. Stored in the relay server information table 508.

これにより、ゲートウェイ装置206は、図1に示した中継サーバ情報テーブル210が更新され、最新のコネクション数212とCPU使用率213とを負荷情報として保持することができる。   Thereby, the gateway device 206 can update the relay server information table 210 shown in FIG. 1 and can hold the latest connection number 212 and the CPU usage rate 213 as load information.

次に制御部507(図5)が、中継サーバ情報テーブル508を参照して、負荷分散動作の接続先を検討する(これを変更接続先決定処理手順といい、後述する。)。   Next, the control unit 507 (FIG. 5) refers to the relay server information table 508 and examines the connection destination of the load distribution operation (this is called a changed connection destination determination processing procedure, which will be described later).

ここで、ゲートウェイ装置206の制御部507(図5)は、新たな接続先を見つけた場合、ゲートウェイ装置206の制御情報通信部504(図5)からクライアント端末201へ接続先変更要求を出す(ステップ622)。   Here, when the control unit 507 (FIG. 5) of the gateway device 206 finds a new connection destination, the control information communication unit 504 (FIG. 5) of the gateway device 206 issues a connection destination change request to the client terminal 201 ( Step 622).

接続先変更要求を受けたクライアント端末201は、第1のコネクションの接続を維持したまま、変更先の中継サーバ203へTCPコネクションを開設する(ステップ623)。   Receiving the connection destination change request, the client terminal 201 opens a TCP connection to the change destination relay server 203 while maintaining the connection of the first connection (step 623).

中継サーバ203は、クライアント端末201によるTCPコネクションの開設と同時に、ゲートウェイ装置206から変更先の中継サーバ203としてTCPコネクションを開設する(ステップ624)。   The relay server 203 establishes a TCP connection as the relay server 203 to be changed from the gateway device 206 simultaneously with the establishment of the TCP connection by the client terminal 201 (step 624).

クライアント端末201とゲートウェイ装置206の双方の接続が確立されたら、ゲートウェイ装置206から今新しく開設したコネクション経由(すなわち、中継サーバ203経由)でクライアント端末201に接続完了通知を出す(ステップ625及びステップ626)。   When the connection between both the client terminal 201 and the gateway device 206 is established, a connection completion notification is issued from the gateway device 206 to the client terminal 201 via the newly established connection (that is, via the relay server 203) (steps 625 and 626). ).

これで第2のコネクションが確立される。   This establishes a second connection.

これにより、ゲートウェイ装置607は、第1のコネクションの切断要求を出す(ステップ627)。   Thereby, the gateway device 607 issues a disconnection request for the first connection (step 627).

また、ゲートウェイ装置206のTCPコネクション切断要求と同時にクライアント端末602からもTCPコネクション切断要求を出す(ステップ628)。   Also, a TCP connection disconnection request is issued from the client terminal 602 simultaneously with the TCP connection disconnection request of the gateway device 206 (step 628).

このように、クライアント端末201から社内の業務サーバ208(図1)へ第2のコネクションを利用して通信を開始することができる。
(1−3)負荷分散中継システムの変更接続先決定処理手順
次に、変更接続先決定処理手順について、図7のフローチャートを用いて説明する。
In this way, communication can be started from the client terminal 201 to the in-house business server 208 (FIG. 1) using the second connection.
(1-3) Change Connection Destination Determination Processing Procedure of Load Balancing Relay System Next, the change connection destination determination processing procedure will be described with reference to the flowchart of FIG.

まず、ステップ621(図6)で状態情報応答を収集し格納したゲートウェイ装置206は、中継サーバ情報テーブル508(図5)から、第1のコネクションで使用している中継サーバ202(図1)のコネクション数212(図1)より少ないコネクション数の中継サーバがあるか検索する(ステップ701)。   First, the gateway device 206 that has collected and stored the status information response in step 621 (FIG. 6) uses the relay server 202 (FIG. 1) used in the first connection from the relay server information table 508 (FIG. 5). It is searched whether there is a relay server having a smaller number of connections than the number of connections 212 (FIG. 1) (step 701).

ここで、中継サーバ情報テーブル508に、中継サーバ202のコネクション数より少ないコネクション数の中継サーバがない場合には、接続先変更動作を中止する(ステップ702)。   If there is no relay server having a smaller number of connections than the number of connections of the relay server 202 in the relay server information table 508, the connection destination changing operation is stopped (step 702).

これに対し、中継サーバ情報テーブル508に、中継サーバ202のコネクション数より少ないコネクション数の中継サーバがある場合には、コネクション数が最小の中継サーバのCPU使用率213(図1)が、80%以下であるか否かを調べる(ステップ703)。   On the other hand, when the relay server information table 508 includes a relay server having a smaller number of connections than the number of connections of the relay server 202, the CPU usage rate 213 (FIG. 1) of the relay server having the smallest number of connections is 80%. It is checked whether or not the following is true (step 703).

なぜなら、CPU使用率が高すぎると、コネクション数が少なかったとしても中継サーバの転送速度が遅くなってしまい、転送速度の低下を招くからである。この転送速度の低下を防ぐため、CPU使用率が80%以下であれば、その中継サーバを負荷分散動作の接続先とする(ステップ707)。   This is because if the CPU usage rate is too high, even if the number of connections is small, the transfer rate of the relay server is slowed down, leading to a decrease in transfer rate. In order to prevent the transfer rate from decreasing, if the CPU usage rate is 80% or less, the relay server is set as the connection destination of the load distribution operation (step 707).

また、ステップ703において、CPU使用率が80%以下でない場合には、その次に接続数が少ない中継サーバのCPU使用率を調べる(ステップ704)。   In step 703, if the CPU usage rate is not 80% or less, the CPU usage rate of the relay server with the next smallest number of connections is checked (step 704).

もし、その中継サーバのCPU使用率が80%以下であれば、その中継サーバを負荷分散動作の接続先とする(ステップ707)。   If the CPU usage rate of the relay server is 80% or less, the relay server is set as the connection destination of the load distribution operation (step 707).

また、その中継サーバのCPU使用率が80%以下でない場合には、ステップ703以降の動作を再帰的に繰り返し、接続変更先中継サーバを探す。それでも見つからない場合には、コネクション数が最小の中継サーバを接続変更先とする(ステップ706)。   If the CPU usage rate of the relay server is not 80% or less, the operation after step 703 is recursively repeated to search for a connection change destination relay server. If still not found, the relay server with the smallest number of connections is set as the connection change destination (step 706).

このように、変更接続先決定処理手順により、確立されている中継サーバからゲートウェイ装置206に接続されている他の中継サーバに接続変更先を決定することができる。   In this way, the connection change destination can be determined from the established relay server to another relay server connected to the gateway device 206 by the change connection destination determination processing procedure.

これにより、上記の接続先確立処理手順によって決定された接続先の中継サーバに、接続先を変更することができる。
(1−4)負荷分散中継システムの動作及び効果
本実施の形態では、デフォルト(標準設定)の中継サーバ(上記の例では、中継サーバ202)を経由して、一度クライアント端末201と、ゲートウェイ装置206との間のセッションを確立した上で、ゲートウェイ装置206から各中継サーバに負荷状況を問い合わせたり、クライアント端末201に接続先変更指示を出したりするメッセージ通信により実現することができる。
As a result, the connection destination can be changed to the connection destination relay server determined by the above connection destination establishment processing procedure.
(1-4) Operation and Effect of Load Balancing Relay System In the present embodiment, the client terminal 201 and the gateway device are once passed through a default (standard setting) relay server (the relay server 202 in the above example). This can be realized by message communication in which the gateway device 206 inquires each relay server about the load status or issues a connection destination change instruction to the client terminal 201 after establishing a session with the client 206.

本実施の形態によれば、ロードバランサなどの特殊な装置を使用せずに負荷分散を行うことができるので、システムの導入コストの削減が期待できる。   According to the present embodiment, load distribution can be performed without using a special device such as a load balancer, and therefore a reduction in system introduction cost can be expected.

また、従来のセッション管理サーバを使用する方式では、ファイアウォールの外にセッション管理サーバを設置していたためセキュリティ的に不利であったが、本実施の形態では、ファイアウォール内にあるゲートウェイ装置206に各中継サーバの情報を蓄積することができる。   Further, the conventional method using the session management server is disadvantageous in terms of security because the session management server is installed outside the firewall, but in this embodiment, each relay is connected to the gateway device 206 in the firewall. Server information can be stored.

これにより、本実施の形態によれば、従来方式よりも比較的安全に負荷分散機能を運用することができる。
(第2の実施の形態)
(2)第2の実施の形態による負荷分散中継システム
(2−1)負荷分散中継システムの構成
次に、第2の実施の形態による負荷分散中継システムについて説明する。
Thereby, according to this Embodiment, a load distribution function can be operated comparatively safely rather than the conventional system.
(Second Embodiment)
(2) Load Balancing Relay System According to Second Embodiment (2-1) Configuration of Load Balancing Relay System Next, a load balancing relay system according to the second embodiment will be described.

図8を参照すると、第2の実施の形態による負荷分散中継システムでは、第1の実施の形態の構成に、管理者が管理を行う管理者端末818が追加されている。   Referring to FIG. 8, in the load distribution relay system according to the second embodiment, an administrator terminal 818 managed by an administrator is added to the configuration of the first embodiment.

また、各部の内部構成は、第1の実施の形態と同じく図2乃至図5のようになっている。   The internal configuration of each part is as shown in FIGS. 2 to 5 as in the first embodiment.

中継サーバ802、中継サーバ803及び中継サーバ805には、グローバルIPアドレスが割り当てられており、クライアント端末801からのTCPコネクション接続要求とゲートウェイ装置806からのTCPコネクション接続要求を中継することによって、クライアント端末801と、ゲートウェイ装置806との間のパケットの中継転送を行う。   A global IP address is assigned to the relay server 802, the relay server 803, and the relay server 805, and the client terminal is relayed by relaying the TCP connection connection request from the client terminal 801 and the TCP connection connection request from the gateway device 806. The relay transfer of the packet between 801 and the gateway device 806 is performed.

中継サーバ802、中継サーバ803、中継サーバ805は、負荷情報テーブル809を持っており、現在自経由で確立しているクライアント端末801と、ゲートウェイ装置806との間のコネクション数812、CPU使用率813を定期的に収集し格納する。   The relay server 802, the relay server 803, and the relay server 805 have a load information table 809, the number of connections 812 between the client terminal 801 currently established via the self and the gateway device 806, and the CPU usage rate 813. Are collected and stored regularly.

ゲートウェイ装置806は、中継サーバ802、中継サーバ803、中継サーバ805のホスト名と、IPアドレスを格納した中継サーバ情報テーブル810をもっている。
(2−2)負荷分散中継システムの接続先確立処理手順
次に、図8の構成図と、図9のフローチャートを参照して、第2の実施の形態による負荷分散中継システムの接続先確立処理手順について、詳細に説明する。
The gateway device 806 has a relay server information table 810 that stores the host names and IP addresses of the relay server 802, the relay server 803, and the relay server 805.
(2-2) Connection Destination Establishment Processing Procedure of Load Balancing Relay System Next, referring to the configuration diagram of FIG. 8 and the flowchart of FIG. 9, the connection destination establishment processing of the load distribution relay system according to the second embodiment. The procedure will be described in detail.

但し、第1の実施の形態の動作と重複する箇所については、省略することにする。   However, portions overlapping with the operations of the first embodiment will be omitted.

まず、クライアント端末801の利用者902が、クライアント端末801に対し、接続要求操作を行うことにより(ステップ911)、第1の実施の形態の場合と同様にクライアント端末801と、ゲートウェイ装置806との間で、中継サーバ802を介した第1のコネクションが開設される(ステップ911からステップ919)。   First, when the user 902 of the client terminal 801 performs a connection request operation on the client terminal 801 (step 911), the client terminal 801 and the gateway device 806 are connected as in the case of the first embodiment. A first connection via the relay server 802 is established (steps 911 to 919).

また、ゲートウェイ装置806は、定期的に各中継サーバ802、中継サーバ803及び中継サーバ805に、各中継サーバの状態情報の要求を出す(ステップ920)。   Further, the gateway device 806 periodically issues a request for status information of each relay server to each relay server 802, relay server 803, and relay server 805 (step 920).

ここで、第2の実施の形態では、中継サーバの管理者が、管理者端末818から中継サーバ802へメンテナンス予告通知を出す(ステップ922)と、中継サーバ802に設けられた負荷情報テーブル809のメンテナンスフラグ819だけが、1になる。   Here, in the second embodiment, when the administrator of the relay server issues a maintenance notice to the relay server 802 from the administrator terminal 818 (step 922), the load information table 809 provided in the relay server 802 is updated. Only the maintenance flag 819 becomes 1.

そして、本実施の形態では、ステップ920の定期的な状態情報要求を受けた中継サーバ802、中継サーバ803又は中継サーバ805は、各中継サーバに設けられた負荷情報管理テーブル809のコネクション数812、CPU使用率813に加え、更にメンテナンスフラグ情報819を加えた応答を返す(ステップ921)。   In this embodiment, the relay server 802, the relay server 803, or the relay server 805 that has received the periodic status information request in step 920 receives the number of connections 812 in the load information management table 809 provided in each relay server, A response in which maintenance flag information 819 is further added in addition to the CPU usage rate 813 is returned (step 921).

ゲートウェイ装置806は、中継サーバ802、中継サーバ803又は中継サーバ805の応答を確認し、コネクション数816と、CPU使用率817とを中継サーバ情報テーブル810に格納する。   The gateway device 806 confirms the response of the relay server 802, the relay server 803, or the relay server 805, and stores the number of connections 816 and the CPU usage rate 817 in the relay server information table 810.

このとき、メンテナンスフラグ819が1になっている中継サーバがある場合には、その中継サーバ経由で接続を確立しているコネクションを、他の中継サーバ経由での接続につなぎかえる。   At this time, if there is a relay server in which the maintenance flag 819 is 1, the connection established via the relay server is switched to the connection via another relay server.

具体的には、管理者端末818から中継サーバ802へメンテナンス予告通知が出されているので、中継サーバ802のメンテナンスフラグ819だけが1となり、ゲートウェイ装置806は、中継サーバ802経由で接続を確立しているコネクションを、他の中継サーバ経由の接続につなぎかえる。   Specifically, since the maintenance notice is issued from the administrator terminal 818 to the relay server 802, only the maintenance flag 819 of the relay server 802 becomes 1, and the gateway device 806 establishes a connection via the relay server 802. The existing connection to the connection via another relay server.

そして、新しい接続先が決定したら、ゲートウェイ装置806からクライアント端末801へ新しい接続先となる中継サーバ803への接続要求を出す(ステップ923)。   When a new connection destination is determined, a request for connection to the relay server 803 serving as a new connection destination is issued from the gateway device 806 to the client terminal 801 (step 923).

それを受けたクライアント端末801は、第1のコネクションの接続を維持したまま、変更先の中継サーバ803へTCPコネクションを開設する(ステップ924)。   Receiving it, the client terminal 801 establishes a TCP connection to the relay server 803 of the change destination while maintaining the connection of the first connection (step 924).

また同時に、ゲートウェイ装置806は、変更先の中継サーバ803にTCPコネクションを開設する(ステップ925)。   At the same time, the gateway device 806 opens a TCP connection with the relay server 803 as the change destination (step 925).

そして、新しい接続先に中継サーバ802とゲートウェイ装置806の双方の接続が確立されたら、ゲートウェイ装置806から今新しく開設したコネクション経由で、クライアント端末801に接続完了通知を出す(ステップ926、ステップ927)。   When both the relay server 802 and the gateway device 806 are connected to the new connection destination, the gateway device 806 issues a connection completion notification to the client terminal 801 via the newly established connection (steps 926 and 927). .

これにより、第2のコネクションが確立される。   Thereby, the second connection is established.

従って、ゲートウェイ装置806は、中継サーバ802へ第1のコネクションの切断要求を出す(ステップ928)。それと同時にクライアント端末801からも中継サーバ802へ切断要求を出す(ステップ929)。
(2−3)負荷分散中継システムの変更接続先決定処理
次に、変更接続先決定処理について、図10のフローチャートを用いて説明する。
Accordingly, the gateway device 806 issues a first connection disconnection request to the relay server 802 (step 928). At the same time, the client terminal 801 issues a disconnection request to the relay server 802 (step 929).
(2-3) Change Connection Destination Determination Process of Load Balancing Relay System Next, the change connection destination determination process will be described with reference to the flowchart of FIG.

図10のフローチャートは、変更する接続先中継サーバの決定手順である。   The flowchart of FIG. 10 is a procedure for determining the connection destination relay server to be changed.

まず、ゲートウェイ装置806は、中継サーバ情報テーブル810を参照して、コネクション数816が、最小の中継サーバのCPU使用率817が80%以下であるか否かを調べる(ステップ1001)。   First, the gateway device 806 refers to the relay server information table 810 and checks whether or not the CPU usage rate 817 of the minimum relay server with the number of connections 816 is 80% or less (step 1001).

ここで、最小の中継サーバのCPU使用率が80%以下であれば、その中継サーバを新しい接続先対象に決定する(ステップ1004)。   Here, if the CPU usage rate of the minimum relay server is 80% or less, the relay server is determined as a new connection destination target (step 1004).

これに対し、CPU使用率が80%以下でない場合には、その次にコネクション数が少ない中継サーバを検索し、そのCPU使用率が80%以下であるか否かを調べる(ステップ1002)。   On the other hand, if the CPU usage rate is not 80% or less, a relay server with the next smallest number of connections is searched to check whether the CPU usage rate is 80% or less (step 1002).

そして、そのCPU使用率が80%以下である場合には、その中継サーバを新しい接続先対象とする(ステップ1004)。   If the CPU usage rate is 80% or less, the relay server is set as a new connection destination target (step 1004).

これに対し、そのCPU使用率が80%以下でない場合には、さらにコネクション数が少なく、CPU使用率が80%以下の中継サーバの検索を再帰的に行う。   On the other hand, when the CPU usage rate is not 80% or less, a search for a relay server having a smaller number of connections and a CPU usage rate of 80% or less is recursively performed.

ここで、CPU使用率が80%以下の中継サーバがない場合には、メンテナンス対象の中継サーバ802以外の中継サーバであって、コネクション数816が最小の中継サーバを新しい接続先対象とする(ステップ1005)。
(2−4)負荷分散中継システムの効果
第2の実施の形態の負荷分散中継システムでは、管理者が管理者端末901を用いて接続されている中継サーバ802にメンテナンス予告通知を出すことにより、中継サーバ802に設けられた負荷情報テーブル809のメンテナンスフラグ819に、「1」を書き込んでいる。
If there is no relay server having a CPU usage rate of 80% or less, a relay server other than the maintenance target relay server 802 and having the smallest number of connections 816 is set as a new connection destination target (step 1005).
(2-4) Effects of Load Balancing Relay System In the load balancing relay system according to the second embodiment, the administrator issues a maintenance notice to the relay server 802 connected using the administrator terminal 901. “1” is written in the maintenance flag 819 of the load information table 809 provided in the relay server 802.

このため、ゲートウェイ装置806は、中継サーバから送付される、「1」の書き込まれたメンテナンスフラグ819によって、接続を切り替える中継サーバを認識することができる。従って、ゲートウェイ装置806は、中継サーバ802から接続先を変更する次の中継サーバを決定すると共に、つなぎかえる。   For this reason, the gateway device 806 can recognize the relay server that switches the connection based on the maintenance flag 819 in which “1” is written, which is sent from the relay server. Therefore, the gateway device 806 determines the next relay server whose connection destination is to be changed from the relay server 802 and reconnects it.

このように、クライアント端末801は、社内の業務サーバへの第2のコネクションを利用して通信を開始する。これにより管理者は、利用者に意識させずに経由する中継サーバを変更させることができる。   As described above, the client terminal 801 starts communication using the second connection to the in-house business server. As a result, the administrator can change the relay server through which the user is not conscious.

本発明によれば、サーバとクライアントの双方から、中継サーバにコネクションを開設する中継サーバを用いたシステムにおいて、中継サーバの負荷分散を効率的に行うことができる。また、その管理者が中継サーバを管理する負担軽減にも貢献する。   ADVANTAGE OF THE INVENTION According to this invention, the load distribution of a relay server can be efficiently performed in the system using the relay server which opens a connection to a relay server from both a server and a client. In addition, the administrator can reduce the burden of managing the relay server.

本発明における第1の実施の形態による負荷分散中継システムの構成を示す構成図である。It is a block diagram which shows the structure of the load distribution relay system by 1st Embodiment in this invention. 本発明における第1の実施の形態によるクライアント端末のブロック図である。It is a block diagram of the client terminal by the 1st Embodiment in this invention. 本発明における第1の実施の形態による中継サーバのブロック図である。It is a block diagram of the relay server by the 1st Embodiment in this invention. 本発明における第1の実施の形態によるメールサーバのブロック図である。It is a block diagram of the mail server by the 1st Embodiment in this invention. 本発明における第1の実施の形態によるゲートウェイ装置のブロック図である。It is a block diagram of the gateway apparatus by the 1st Embodiment in this invention. 本発明における第1の実施の形態による接続先確立処理手順を表すフローチャートである。It is a flowchart showing the connection destination establishment processing procedure by the 1st Embodiment in this invention. 本発明における第1の実施の形態による変更接続先決定処理手順を表すフローチャートである。It is a flowchart showing the change connection destination determination processing procedure by 1st Embodiment in this invention. 本発明における第2の実施の形態による負荷分散中継システムの構成を示す構成図である。It is a block diagram which shows the structure of the load distribution relay system by 2nd Embodiment in this invention. 本発明における第2の実施の形態による接続先確立処理手順を表すフローチャートである。It is a flowchart showing the connection destination establishment process sequence by the 2nd Embodiment in this invention. 本発明における第2の実施の形態による変更接続先決定処理手順を表すフローチャートである。It is a flowchart showing the change connection destination determination processing procedure by the 2nd Embodiment in this invention. 従来から知られている先行技術の構成図である。It is a block diagram of the prior art known conventionally. 従来から知られている先行技術から考えられる負荷分散中継システムである。This is a load distribution relay system conceivable from the prior art known from the past. 従来から知られている先行技術から考えられる負荷分散中継システムの動作を表したフローチャートである。It is a flowchart showing operation | movement of the load distribution relay system considered from the prior art conventionally known. 従来から知られている先行技術から考えられる構成を示した構成図である。It is the block diagram which showed the structure considered from the prior art conventionally known.

符号の説明Explanation of symbols

201 クライアント端末
202、203、205 中継サーバ
204 メールサーバ
206 ゲートウェイ装置
207 ファイアウォール
208 業務サーバ
301 MAC部
302 IP部
303 TCP/UDP部
304 SMTP部
305 ゲートウェイ装置/中継サーバ通信部
306 制御部
307 アドレステーブル
308 アプリケーション部
309 オペレーティングシステム
401 MAC部
402 IP部
403 TCP/UDP部
404 パケット識別部
405 中継転送部
406 ゲートウェイ装置通信部
407 サーバ管理部
408 中継テーブル
409 負荷情報テーブル
410 オペレーティングシステム
411 SMTP部
412 POP部
413 メールスプール
501 MAC部
502 IP部
503 TCP/UDP部
504 制御情報通信部
505 転送部
506 POP部
507 制御部
508 中継サーバ情報テーブル
801 クライアント端末
802、803、805 中継サーバ
804 メールサーバ
806 ゲートウェイ装置
807 ファイアウォール
808 業務サーバ
818 管理者端末
901 利用者
C1、C2、C3 クライアント端末
SV1、SV2 サーバ
1101、1108 クライアント端末
1102、1107 NAT
1103、1104、1105 中継サーバ
1106 メールサーバ
1109 セッション管理サーバ
101、105、109、110 クライアント端末
102、107、113 ファイアウォール
103、108、114 ゲートウェイ装置
104、115 業務サーバ
106、111 NAT
112 中継サーバ
201 Client terminal 202, 203, 205 Relay server 204 Mail server 206 Gateway device 207 Firewall 208 Business server 301 MAC unit 302 IP unit 303 TCP / UDP unit 304 SMTP unit 305 Gateway device / relay server communication unit 306 Control unit 307 Address table 308 Application unit 309 Operating system 401 MAC unit 402 IP unit 403 TCP / UDP unit 404 Packet identification unit 405 Relay transfer unit 406 Gateway device communication unit 407 Server management unit 408 Relay table 409 Load information table 410 Operating system 411 SMTP unit 412 POP unit 413 Mail spool 501 MAC unit 502 IP unit 503 TCP / UDP unit 504 Control information communication unit 50 Transfer unit 506 POP unit 507 Control unit 508 Relay server information table 801 Client terminal 802, 803, 805 Relay server 804 Mail server 806 Gateway device 807 Firewall 808 Business server 818 Administrator terminal 901 User C1, C2, C3 Client terminal SV1, SV2 server 1101, 1108 Client terminal 1102, 1107 NAT
1103, 1104, 1105 Relay server 1106 Mail server 1109 Session management server 101, 105, 109, 110 Client terminal 102, 107, 113 Firewall 103, 108, 114 Gateway device 104, 115 Business server 106, 111 NAT
112 Relay server

Claims (13)

複数の中継サーバの負荷情報を管理するゲートウェイ装置であって、
イントラネット内に設けられると共に、前記中継サーバの負荷情報を通信により定期的に更新しながら管理する中継サーバ情報管理手段を備え、
前記中継サーバ情報管理手段は、
前記中継サーバにクライアント端末が接続される第1の中継サーバの負荷情報と、前記複数の中継サーバの負荷情報とに基づいて、当該第1の中継サーバの負荷分散を行うか否かを判断する負荷分散判断手段を備え、
前記負荷分散判断手段は、
前記第1の中継サーバの負荷分散を行うことが有効であると判断した場合には、
現在接続されている当該クライアント端末と当該第1の中継サーバとの第1のコネクションを接続したまま、前記複数の中継サーバの1つであって前記第1の中継サーバとは異なる第2の中継サーバと当該クライアント端末との第2のコネクションを接続し、当該第2のコネクションが確立した後、前記第1のコネクションを切断することにより前記第1の中継サーバの負荷分散を行う
ことを特徴とするゲートウェイ装置。
A gateway device that manages load information of a plurality of relay servers,
Provided in the intranet, comprising relay server information management means for managing the load information of the relay server while periodically updating by communication,
The relay server information management means includes
Based on the load information of the first relay server to which the client terminal is connected to the relay server and the load information of the plurality of relay servers, it is determined whether or not load distribution of the first relay server is to be performed. Equipped with load balancing means
The load distribution determining means includes
If it is determined that load distribution of the first relay server is effective,
A second relay that is one of the plurality of relay servers and is different from the first relay server, with the first connection between the currently connected client terminal and the first relay server connected. A second connection between the server and the client terminal is connected, and after the second connection is established, the load is distributed to the first relay server by disconnecting the first connection. Gateway device.
前記負荷分散判断手段は、
前記複数の中継サーバのうち、前記第1の中継サーバに接続されている前記クライアント端末の数が少ない中継サーバであって、当該中継サーバの制御部の使用率が所定範囲内にある場合には、当該中継サーバを前記第2の中継サーバとして前記第1の中継サーバの負荷分散を行うことが有効であると判断する
ことを特徴とする請求項1記載のゲートウェイ装置。
The load distribution determining means includes
Among the plurality of relay servers, when the number of the client terminals connected to the first relay server is small and the usage rate of the control unit of the relay server is within a predetermined range The gateway apparatus according to claim 1, wherein it is determined that it is effective to perform load distribution of the first relay server with the relay server as the second relay server.
前記中継サーバ情報管理手段は、
前記中継サーバにメンテナンスを予告通知するために送信されるメンテナンス予告通知を、当該中継サーバの負荷情報から取得するメンテナンス予告通知手段を更に備え、
前記メンテナンス予告通知手段は、
前記メンテナンス予告通知を前記中継サーバの負荷情報から取得すると、当該中継サーバを前記第1の中継サーバとして前記負荷分散判断手段を適用し、当該第1の中継サーバに接続された前記クライアント端末を、前記第2の中継サーバに接続されるように前記第1の中継サーバから前記第2の中継サーバに切り替える
ことを特徴とする請求項1に記載のゲートウェイ装置。
The relay server information management means includes
A maintenance advance notice means for acquiring a maintenance advance notice transmitted to notify the relay server of the advance notice from the load information of the relay server,
The maintenance notice means is
When the maintenance notice is acquired from the load information of the relay server, the load distribution determination unit is applied using the relay server as the first relay server, and the client terminal connected to the first relay server is The gateway device according to claim 1, wherein the gateway device is switched from the first relay server to the second relay server so as to be connected to the second relay server.
前記負荷分散判断手段は、
前記複数の中継サーバのうち、前記第1の中継サーバに接続されている前記クライアント端末の数が少ない中継サーバであって、当該中継サーバの制御部の使用率が所定範囲内にある場合には、当該中継サーバを前記第2の中継サーバとして前記第1の中継サーバから切り替える
ことを特徴とする請求項3記載のゲートウェイ装置。
The load distribution determining means includes
Among the plurality of relay servers, when the number of the client terminals connected to the first relay server is small and the usage rate of the control unit of the relay server is within a predetermined range The gateway device according to claim 3, wherein the relay server is switched from the first relay server as the second relay server.
複数の中継サーバの負荷情報を管理するゲートウェイ装置における負荷分散方法であって、
イントラネット内に設けられると共に、前記中継サーバの負荷情報を通信により定期的に更新しながら管理する中継サーバ情報管理ステップを備え、
前記中継サーバ情報管理ステップは、
前記中継サーバにクライアント端末が接続される第1の中継サーバの負荷情報と、前記複数の中継サーバの負荷情報とに基づいて、当該第1の中継サーバの負荷分散を行うか否かを判断する負荷分散判断ステップを備え、
前記負荷分散判断ステップは、
前記第1の中継サーバの負荷分散を行うことが有効であると判断した場合には、
現在接続されている当該クライアント端末と当該第1の中継サーバとの第1のコネクションを接続したまま、前記複数の中継サーバの1つであって前記第1の中継サーバとは異なる第2の中継サーバと当該クライアント端末との第2のコネクションを接続し、当該第2のコネクションが確立した後、前記第1のコネクションを切断することにより前記第1の中継サーバの負荷分散を行う
ことを特徴とする負荷分散方法。
A load balancing method in a gateway device that manages load information of a plurality of relay servers,
A relay server information management step that is provided in an intranet and manages load information of the relay server while being regularly updated by communication;
The relay server information management step includes:
Based on the load information of the first relay server to which the client terminal is connected to the relay server and the load information of the plurality of relay servers, it is determined whether or not load distribution of the first relay server is to be performed. A load balancing step,
The load distribution determining step includes:
If it is determined that load distribution of the first relay server is effective,
A second relay that is one of the plurality of relay servers and is different from the first relay server, with the first connection between the currently connected client terminal and the first relay server connected. A second connection between the server and the client terminal is connected, and after the second connection is established, the load is distributed to the first relay server by disconnecting the first connection. Load balancing method.
前記中継サーバ情報管理ステップは、
前記中継サーバにメンテナンスを予告通知するために送信されるメンテナンス予告通知を、当該中継サーバの負荷情報から取得するメンテナンス予告通知ステップを更に備え、
前記メンテナンス予告通知ステップは、
前記メンテナンス予告通知を前記中継サーバの負荷情報から取得すると、当該中継サーバを前記第1の中継サーバとして前記負荷分散判断ステップを適用し、当該第1の中継サーバに接続された前記クライアント端末を、前記第2の中継サーバに接続されるように前記第1の中継サーバから前記第2の中継サーバに切り替える
ことを特徴とする請求項5に記載の負荷分散方法。
The relay server information management step includes:
A maintenance advance notice step for obtaining a maintenance advance notice transmitted to notify the relay server of the advance notice from the load information of the relay server;
The maintenance notice notification step includes:
When the maintenance notice is acquired from the load information of the relay server, the load distribution determination step is applied with the relay server as the first relay server, and the client terminal connected to the first relay server is The load distribution method according to claim 5, wherein switching from the first relay server to the second relay server is performed so as to be connected to the second relay server.
複数の中継サーバの負荷情報を管理するゲートウェイ装置における負荷分散プログラムであって、
イントラネット内に設けられると共に、前記中継サーバの負荷情報を通信により定期的に更新しながら管理する中継サーバ情報管理手順を備え、
前記中継サーバ情報管理手順は、
前記中継サーバにクライアント端末が接続される第1の中継サーバの負荷情報と、前記複数の中継サーバの負荷情報とに基づいて、当該第1の中継サーバの負荷分散を行うか否かを判断する負荷分散判断手順を備え、
前記負荷分散判断手順は、
前記第1の中継サーバの負荷分散を行うことが有効であると判断した場合には、
現在接続されている当該クライアント端末と当該第1の中継サーバとの第1のコネクションを接続したまま、前記複数の中継サーバの1つであって前記第1の中継サーバとは異なる第2の中継サーバと当該クライアント端末との第2のコネクションを接続し、当該第2のコネクションが確立した後、前記第1のコネクションを切断することにより前記第1の中継サーバの負荷分散を行う
ことをコンピュータに実行させることを特徴とする負荷分散プログラム。
A load distribution program in a gateway device that manages load information of a plurality of relay servers,
Provided in the intranet, comprising a relay server information management procedure for managing the load information of the relay server while periodically updating by communication,
The relay server information management procedure includes:
Based on the load information of the first relay server to which the client terminal is connected to the relay server and the load information of the plurality of relay servers, it is determined whether or not load distribution of the first relay server is to be performed. It has a load balancing judgment procedure,
The load distribution determination procedure includes:
If it is determined that load distribution of the first relay server is effective,
A second relay that is one of the plurality of relay servers and is different from the first relay server, with the first connection between the currently connected client terminal and the first relay server connected. A computer is connected to distribute the load of the first relay server by disconnecting the first connection after the second connection between the server and the client terminal is established and the second connection is established. A load balancing program characterized by being executed.
前記中継サーバ情報管理手順は、
前記中継サーバにメンテナンスを予告通知するために送信されるメンテナンス予告通知を、当該中継サーバの負荷情報から取得するメンテナンス予告通知手順を更に備え、
前記メンテナンス予告通知手順は、
前記メンテナンス予告通知を前記中継サーバの負荷情報から取得すると、当該中継サーバを前記第1の中継サーバとして前記負荷分散判断手順を適用し、当該第1の中継サーバに接続された前記クライアント端末を、前記第2の中継サーバに接続されるように前記第1の中継サーバから前記第2の中継サーバに切り替える
ことをコンピュータに実行させることを特徴とする請求項7に記載の負荷分散プログラム。
The relay server information management procedure includes:
A maintenance advance notice procedure for obtaining a maintenance advance notice transmitted to notify the relay server of the advance notice from the load information of the relay server;
The maintenance notice notification procedure is as follows:
When the maintenance notice is acquired from the load information of the relay server, the load distribution determination procedure is applied using the relay server as the first relay server, and the client terminal connected to the first relay server is The load distribution program according to claim 7, wherein the computer executes switching from the first relay server to the second relay server so as to be connected to the second relay server.
前記請求項1乃至4の何れか1項に記載されたゲートウェイ装置と、複数の中継サーバと、前記中継サーバに接続されるクライアント端末とを備えたことを特徴とする負荷分散システム。   A load distribution system comprising: the gateway device according to claim 1; a plurality of relay servers; and a client terminal connected to the relay server. 複数の中継サーバと、前記中継サーバに接続されるクライアント端末と、前記中継サーバの負荷情報を管理するゲートウェイ装置とを備えた負荷分散システムにおける負荷分散方法であって、
前記ゲートウェイ装置は、
イントラネット内に設けられると共に、前記中継サーバの負荷情報を通信により定期的に更新しながら管理する中継サーバ情報管理ステップを備え、
前記中継サーバ情報管理ステップは、
前記中継サーバに前記クライアント端末が接続される第1の中継サーバの負荷情報と、前記複数の中継サーバの負荷情報とに基づいて、当該第1の中継サーバの負荷分散を行うか否かを判断する負荷分散判断ステップを備え、
前記負荷分散判断ステップは、
前記第1の中継サーバの負荷分散を行うことが有効であると判断した場合には、
現在接続されている当該クライアント端末と当該第1の中継サーバとの第1のコネクションを接続したまま、前記複数の中継サーバの1つであって前記第1の中継サーバとは異なる第2の中継サーバと当該クライアント端末との第2のコネクションを接続し、当該第2のコネクションが確立した後、前記第1のコネクションを切断することにより前記第1の中継サーバの負荷分散を行う
ことを特徴とする負荷分散方法。
A load distribution method in a load distribution system comprising a plurality of relay servers, a client terminal connected to the relay server, and a gateway device that manages load information of the relay server,
The gateway device is
A relay server information management step that is provided in an intranet and manages load information of the relay server while being regularly updated by communication;
The relay server information management step includes:
Based on load information of the first relay server to which the client terminal is connected to the relay server and load information of the plurality of relay servers, it is determined whether or not load distribution of the first relay server is to be performed. Load balancing judgment step to
The load distribution determining step includes:
If it is determined that load distribution of the first relay server is effective,
A second relay that is one of the plurality of relay servers and is different from the first relay server, with the first connection between the currently connected client terminal and the first relay server connected. A second connection between the server and the client terminal is connected, and after the second connection is established, the load is distributed to the first relay server by disconnecting the first connection. Load balancing method.
前記負荷分散判断ステップは、
前記複数の中継サーバのうち、前記第1の中継サーバに接続されている前記クライアント端末の数が少ない中継サーバであって、当該中継サーバの制御部の使用率が所定範囲内にある場合には、当該中継サーバを前記第2の中継サーバとして前記第1の中継サーバの負荷分散を行うことが有効であると判断する
ことを特徴とする請求項10記載の負荷分散方法。
The load distribution determining step includes:
Among the plurality of relay servers, when the number of the client terminals connected to the first relay server is small and the usage rate of the control unit of the relay server is within a predetermined range The load distribution method according to claim 10, wherein it is determined that load distribution of the first relay server is effective with the relay server as the second relay server.
前記中継サーバのメンテナンスを行う管理者用端末を更に備え、
前記中継サーバ情報管理ステップは、
前記管理者用端末から前記中継サーバにメンテナンスを予告通知するために送信されるメンテナンス予告通知を、当該中継サーバの負荷情報から取得するメンテナンス予告通知ステップを更に備え、
前記メンテナンス予告通知ステップは、
前記メンテナンス予告通知を前記中継サーバの負荷情報から取得すると、当該中継サーバを前記第1の中継サーバとして前記負荷分散判断ステップを適用し、当該第1の中継サーバに接続された前記クライアント端末を、前記第2の中継サーバに接続されるように前記第1の中継サーバから前記第2の中継サーバに切り替える
ことを特徴とする請求項10に記載の負荷分散方法。
It further comprises an administrator terminal that performs maintenance of the relay server,
The relay server information management step includes:
A maintenance advance notice step for obtaining a maintenance advance notice transmitted from the manager terminal to the relay server for advance notice from the load information of the relay server,
The maintenance notice notification step includes:
When the maintenance notice is acquired from the load information of the relay server, the load distribution determination step is applied with the relay server as the first relay server, and the client terminal connected to the first relay server is The load distribution method according to claim 10, wherein switching from the first relay server to the second relay server is performed so as to be connected to the second relay server.
前記負荷分散判断ステップは、
前記複数の中継サーバのうち、前記第1の中継サーバに接続されている前記クライアント端末の数が少ない中継サーバであって、当該中継サーバの制御部の使用率が所定範囲内にある場合には、当該中継サーバを前記第2の中継サーバとして前記第1の中継サーバから切り替える
ことを特徴とする請求項12記載の負荷分散方法。
The load distribution determining step includes:
Among the plurality of relay servers, when the number of the client terminals connected to the first relay server is small and the usage rate of the control unit of the relay server is within a predetermined range The load distribution method according to claim 12, wherein the relay server is switched from the first relay server as the second relay server.
JP2007060164A 2007-03-09 2007-03-09 Gateway device, load balancing method for gateway device and load balancing program of gateway device Withdrawn JP2008225644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007060164A JP2008225644A (en) 2007-03-09 2007-03-09 Gateway device, load balancing method for gateway device and load balancing program of gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007060164A JP2008225644A (en) 2007-03-09 2007-03-09 Gateway device, load balancing method for gateway device and load balancing program of gateway device

Publications (1)

Publication Number Publication Date
JP2008225644A true JP2008225644A (en) 2008-09-25

Family

ID=39844224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007060164A Withdrawn JP2008225644A (en) 2007-03-09 2007-03-09 Gateway device, load balancing method for gateway device and load balancing program of gateway device

Country Status (1)

Country Link
JP (1) JP2008225644A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103968A (en) * 2008-09-26 2010-05-06 Nippon Telegr & Teleph Corp <Ntt> Resource management apparatus and resource management method
WO2010073656A1 (en) * 2008-12-26 2010-07-01 パナソニック株式会社 Communication terminal, communication method, and program
JP2011172026A (en) * 2010-02-18 2011-09-01 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus of selecting destination node, and program
JP2011176713A (en) * 2010-02-25 2011-09-08 Ntt Docomo Inc Communication system and communication method
JP2012124829A (en) * 2010-12-10 2012-06-28 Fujitsu Ltd Information processing program, repeating device, and relay management device
JP2014135681A (en) * 2013-01-11 2014-07-24 Sumitomo Electric Networks Inc Stream processing device, remote control system, communication control method, remote control method and communication control program
JP2014179808A (en) * 2013-03-14 2014-09-25 Ricoh Co Ltd Network system, relay control device, communication control method and program
JP2017135611A (en) * 2016-01-28 2017-08-03 株式会社東芝 Communication apparatus, communication system, and communication program
JP2019012407A (en) * 2017-06-30 2019-01-24 京セラドキュメントソリューションズ株式会社 Remote communication control system, session management system, and session management program
US10534570B2 (en) 2014-02-27 2020-01-14 Konica Minolta, Inc. Image forming system for relaying communication between a server on an internet and an image forming device, relay server, communication controlling method and non-transitory computer readable recording medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010103968A (en) * 2008-09-26 2010-05-06 Nippon Telegr & Teleph Corp <Ntt> Resource management apparatus and resource management method
US9054923B2 (en) 2008-12-26 2015-06-09 Panasonic Intellectual Property Management Co., Ltd. Communication terminal, communication method, and program
WO2010073656A1 (en) * 2008-12-26 2010-07-01 パナソニック株式会社 Communication terminal, communication method, and program
JP5436451B2 (en) * 2008-12-26 2014-03-05 パナソニック株式会社 Communication terminal, communication method, program
JP2011172026A (en) * 2010-02-18 2011-09-01 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus of selecting destination node, and program
JP2011176713A (en) * 2010-02-25 2011-09-08 Ntt Docomo Inc Communication system and communication method
JP2012124829A (en) * 2010-12-10 2012-06-28 Fujitsu Ltd Information processing program, repeating device, and relay management device
JP2014135681A (en) * 2013-01-11 2014-07-24 Sumitomo Electric Networks Inc Stream processing device, remote control system, communication control method, remote control method and communication control program
JP2014179808A (en) * 2013-03-14 2014-09-25 Ricoh Co Ltd Network system, relay control device, communication control method and program
US10534570B2 (en) 2014-02-27 2020-01-14 Konica Minolta, Inc. Image forming system for relaying communication between a server on an internet and an image forming device, relay server, communication controlling method and non-transitory computer readable recording medium
JP2017135611A (en) * 2016-01-28 2017-08-03 株式会社東芝 Communication apparatus, communication system, and communication program
US10320663B2 (en) 2016-01-28 2019-06-11 Kabushiki Kaisha Toshiba Communication device, communication system, and computer program product for performing interactive communication via relay servers
JP2019012407A (en) * 2017-06-30 2019-01-24 京セラドキュメントソリューションズ株式会社 Remote communication control system, session management system, and session management program

Similar Documents

Publication Publication Date Title
JP2008225644A (en) Gateway device, load balancing method for gateway device and load balancing program of gateway device
US8499083B2 (en) Relay device and communication system
EP3834396B1 (en) User datagram protocol tunneling in distributed application instances
US9058213B2 (en) Cloud-based mainframe integration system and method
US8838771B2 (en) Enabling VoIP calls to be initiated when a call server is unavailable
US7315896B2 (en) Server network controller including packet forwarding and method therefor
WO2011093288A1 (en) Network system, controller, and network control method
EP2074791B1 (en) Communication system
JP2011160041A (en) Front end system and front end processing method
JP2011170591A (en) Information system, apparatus and method
US8526437B2 (en) Communication system and communication control device
JP5962676B2 (en) Information processing apparatus, information processing method, and program
JP2009303090A (en) Load distribution server, network load distribution method and congestion avoidance method
US8396062B2 (en) System for switching between communication devices, switching method, and switching program
US7564848B2 (en) Method for the establishing of connections in a communication system
JP2015091019A (en) Relay device and data transfer method
SG190809A1 (en) Relay server and relay communication system
JP2008072521A (en) Equipment, method and program for communication
WO2011117959A1 (en) Communication apparatus, communication apparatus control method, and program
JP2012165269A (en) Relay server and relay communication system
US8140888B1 (en) High availability network processing system
JP2002271371A (en) Network server and its controlling method
CN113824808B (en) Method and system for network address translation penetration using an intermediate meeting proxy
JP4733583B2 (en) NETWORK DEVICE, IP NETWORK SYSTEM, CONNECTION METHOD FOR NETWORK DEVICE IN THE SYSTEM, PROGRAM
JP2002208964A (en) Address solving system in internet relay connection

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080620

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100511