JPH10312365A - Load decentralization system - Google Patents
Load decentralization systemInfo
- Publication number
- JPH10312365A JPH10312365A JP9137601A JP13760197A JPH10312365A JP H10312365 A JPH10312365 A JP H10312365A JP 9137601 A JP9137601 A JP 9137601A JP 13760197 A JP13760197 A JP 13760197A JP H10312365 A JPH10312365 A JP H10312365A
- Authority
- JP
- Japan
- Prior art keywords
- server
- load
- communication path
- information
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 claims abstract description 83
- 238000006243 chemical reaction Methods 0.000 claims abstract description 41
- 230000004913 activation Effects 0.000 claims description 12
- 230000003111 delayed effect Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 238000012790 confirmation Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、所定のサービスを
提供する複数のサーバにネットワーク接続された複数の
クライアントからなるコンピュータシステムに関し、特
に常に最適なサーバの負荷分散を実現できる負荷分散シ
ステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system comprising a plurality of clients connected to a plurality of servers for providing a predetermined service through a network, and more particularly to a load distribution system capable of always realizing optimum server load distribution.
【0002】[0002]
【従来の技術】従来、複数のサーバにネットワーク接続
する複数のクライアントが存在するコンピュータシステ
ムにおいては、ネットワーク接続されている特定のサー
バのみの負荷が高くならないようにするため、クライア
ントのサーバ接続時に端末操作者がサーバの負荷状態を
確認して接続経路を決定するか、接続時の負荷状況を自
動的に判断する手順により接続経路を決定している。2. Description of the Related Art Conventionally, in a computer system in which a plurality of clients are connected to a plurality of servers via a network, in order to prevent the load of only a specific server connected to the network from increasing, a terminal is connected when the client connects to the server. The operator determines the connection route by checking the load state of the server, or determines the connection route by a procedure of automatically determining the load status at the time of connection.
【0003】このようなコンピュータシステムの負荷分
散システムの一例が、特開平8−44677号公報に記
載されている。An example of such a load distribution system for a computer system is described in Japanese Patent Application Laid-Open No. 8-44677.
【0004】この特開平8−44677号公報に記載さ
れている負荷分散システムでは、所望するサービスを提
供するサーバの所在と、同サーバの処理能力及び負荷状
態をクライアント側で保持し、保持された処理能力・負
荷状態の情報をもとに、クライアント計算機側で所望す
るサービスを要求すべきサーバ計算機を選択するもので
ある。In the load distribution system described in Japanese Patent Application Laid-Open No. Hei 8-44677, the location of a server that provides a desired service, and the processing capability and load state of the server are held on the client side. On the basis of information on the processing capacity and the load state, the client computer selects a server computer that should request a desired service.
【0005】[0005]
【発明が解決しようとする課題】上述した従来の負荷分
散方式では、サーバ計算機に接続する際に負荷を考慮し
て接続するが、接続後の負荷状態の変化を考慮していな
いため、一旦サーバに接続した後の負荷状態の変化に対
応できないという問題点があった。In the above-described conventional load distribution method, connection is made in consideration of the load when connecting to the server computer. However, since the change in the load state after connection is not considered, the server is temporarily connected. However, there is a problem that it is not possible to cope with a change in the load state after the connection.
【0006】このため、接続後にサーバの負荷状態が高
負荷状態に変化した場合、そのままの状態で運用を続行
するか、あるいは一旦サーバとの接続を切断して、サー
バの負荷を分散できる別経路で再接続を行なうかは逐次
操作者の判断に任されているため、作業者の作業負担が
増大すると共に、最適なサーバの負荷分散が実現されな
い。For this reason, when the load state of the server changes to a high load state after the connection, the operation is continued as it is, or the connection with the server is temporarily cut off, and another path capable of distributing the server load is used. It is up to the operator to determine whether or not to reconnect, so that the work load on the operator increases, and optimum server load distribution cannot be realized.
【0007】本発明の目的は、複数のサーバと不特定多
数のクライアントを持つコンピュータシステムにおい
て、サーバとの接続時にサーバの負荷状態を考慮しサー
バを決定し、接続後の負荷状態の変化に対応して自動的
にサーバの切り替えを行なうことにより、常に最適なサ
ーバの負荷分散を実現できる負荷分散システムを提供す
ることにある。An object of the present invention is to determine a server in connection with a server in a computer system having a plurality of servers and an unspecified number of clients in consideration of the load state of the server, and to cope with a change in the load state after connection. Another object of the present invention is to provide a load distribution system capable of always realizing optimum server load distribution by automatically switching servers.
【0008】[0008]
【課題を解決するための手段】上記目的を達成する本発
明の負荷分散システムは、所定のサービスを提供する複
数のサーバにネットワーク接続された複数のクライアン
トからなるコンピュータシステムの負荷分散システムに
おいて、一定の時間間隔で、前記サーバの負荷状態を確
認し、前記負荷状態を前記サーバ毎にサーバ情報として
格納し、前記クライアントからの前記サーバへの初期接
続または接続切り替え要求に基づいて接続先のサーバを
決定し通信経路情報として通知する通信経路変換装置を
備え、前記サーバへの初期接続時に前記クライアントか
ら送られるサーバ決定要求に対して、前記通信経路変換
装置が、前記サーバ情報を参照することにより、前記サ
ーバの中で負荷の小さいサーバを決定して通信経路情報
として通知し、接続後のレスポンス時間の遅延発生時に
前記クライアントから送られるサーバ切り替え要求に対
して、前記通信経路変換装置が、前記サーバ情報を参照
することにより、通信経路の変換によって負荷分散がで
きると判断した場合、変換先の前記サーバを決定し変換
経路情報として通知することを特徴とする。According to the present invention, there is provided a load distribution system for a computer system comprising a plurality of clients connected to a plurality of servers for providing a predetermined service through a network. At the time interval, the load state of the server is checked, the load state is stored as server information for each server, and a server to be connected is determined based on an initial connection or connection switching request from the client to the server. Comprising a communication path conversion device for determining and notifying as communication path information, for a server determination request sent from the client at the time of initial connection to the server, the communication path conversion apparatus refers to the server information, Among the servers, a server with a small load is determined, notified as communication path information, and connected. In response to a server switching request sent from the client when a later response time delay occurs, the communication path converter refers to the server information, and determines that load can be distributed by converting the communication path. The server to be converted is determined and notified as conversion path information.
【0009】請求項2の本発明による負荷分散システム
では、前記クライアントは、一定間隔で接続中のサーバ
との通信のレスポンス時間を計測し、レスポンス時間が
所定値を超えているかどうかによって前記レスポンス時
間の遅延が発生しているを判別する手段と、前記レスポ
ンス時間の遅延が発生した場合に、前記通信経路変換装
置に対して、前記サーバ切り替え要求を行なう手段とを
備えることを特徴とする。In the load distribution system according to the second aspect of the present invention, the client measures a response time of communication with the server being connected at regular intervals, and determines the response time based on whether the response time exceeds a predetermined value. And a means for making the server switching request to the communication path conversion device when the response time delay occurs.
【0010】請求項3の本発明による負荷分散システム
では、前記通信経路変換装置は、前記サーバの負荷状態
と前記サービスの起動状態を前記サーバ毎に確認し、前
記負荷状態と前記サービスの起動状態を前記サーバ毎に
サーバ情報として格納し、前記クライアントからのサー
バ切り替え要求に対して、前記サーバ情報を参照し、同
一の前記サービスが起動している前記サーバの中で、負
荷を分散できるサーバを決定して前記変換経路情報とし
て通知することを特徴とする。In the load distribution system according to the third aspect of the present invention, the communication path converter checks the load state of the server and the activation state of the service for each server, and checks the load state and the activation state of the service. Is stored as server information for each server, and in response to a server switching request from the client, the server refers to the server information, and among the servers on which the same service is running, a server capable of distributing a load. It is characterized in that it is determined and notified as the conversion path information.
【0011】請求項4の本発明による負荷分散システム
では、前記通信経路変換装置は、一定の時間間隔で、前
記サーバの負荷状態と前記サービスの起動状態を確認す
るサーバ状態確認手段と、前記負荷状態と前記サービス
の起動状態を前記サーバ毎にサーバ情報として格納する
サーバ情報ファイルと、前記クライアントからのサーバ
決定要求またはサーバ切り替え要求を受付け、前記サー
バ情報を検索して、負荷の小さいサーバを決定して通信
経路情報として通知し、また変換先の前記サーバを決定
し変換経路情報として通知する経路決定手段を備えるこ
とを特徴とする。According to a fourth aspect of the present invention, in the load distribution system according to the present invention, the communication path converter includes a server status confirmation unit that confirms a load status of the server and an activation status of the service at regular time intervals; A server information file that stores the status and the activation status of the service as server information for each server, a server determination request or a server switching request from the client is received, and the server information is searched to determine a server with a small load. And a path determination unit for notifying the server as the communication path information and determining the server to be converted and notifying the server as the conversion path information.
【0012】請求項5の本発明による負荷分散システム
では、前記サーバは、接続している前記クライアント
と、前記クライアント毎の負荷状態と、前記サービスの
起動状態とを一定の時間間隔で、前記通信経路変換装置
に通知する状態登録手段を備え、前記通信経路変換装置
は、前記サーバ毎に、接続しているクライアントと、前
記クライアント毎の負荷状態と、前記サービスの起動状
態とをサーバ情報として前記サーバ情報ファイルに格納
することを特徴とする。In a load distribution system according to a fifth aspect of the present invention, the server communicates the connected clients, the load status of each client, and the service activation status at regular time intervals. The communication path conversion apparatus includes a state registration unit for notifying the path conversion apparatus, the communication path conversion apparatus includes, for each of the servers, a connected client, a load state for each of the clients, and a service activation state as server information. It is characterized in that it is stored in a server information file.
【0013】[0013]
【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。図1に本発明の実施
の形態による負荷分散システムの構成を示す。図1を参
照すると、本実施の形態による負荷分散システムは、サ
ービスを提供する複数のサーバ11〜1nからなるサー
バ群10と、実際にサービスに接続し作業を行う複数の
クライアント21〜2nからなるクライアント群20
と、通信経路変換装置30とから構成される。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 shows a configuration of a load distribution system according to an embodiment of the present invention. Referring to FIG. 1, the load distribution system according to the present embodiment includes a server group 10 including a plurality of servers 11 to 1n that provide a service, and a plurality of clients 21 to 2n that actually connect to the service and perform work. Client group 20
And a communication path conversion device 30.
【0014】サーバ11〜1nは、サービス111〜1
n1、クライアント接続受付手段112〜1n2、状態
登録手段113〜1n3からなる。クライアント21〜
2nは、経路決定呼び出し手段211〜2n1、サーバ
通信手段212〜2n2、端末アプリケーション213
〜2n3からなる。また、通信経路変換装置30は、サ
ーバ状態確認手段31、通信経路決定手段32、サーバ
情報を格納するサーバ情報ファイル33からなる。The servers 11-1n are provided with services 111-11
n1, client connection receiving means 112-1n2, and state registration means 113-1n3. Client 21-
2n denotes route determination calling means 211 to 2n1, server communication means 212 to 2n2, terminal application 213
~ 2n3. The communication path conversion device 30 includes a server state confirmation unit 31, a communication path determination unit 32, and a server information file 33 for storing server information.
【0015】次に、図1、図2及び図3を参照して上記
のように構成される分散処理システムの動作を詳細に説
明する。Next, the operation of the distributed processing system configured as described above will be described in detail with reference to FIG. 1, FIG. 2 and FIG.
【0016】各サーバ11〜1nは、サービス111〜
1n1が起動しているか否か、また既に接続済みである
端末アプリケーション213〜2n3の情報及びその接
続済みのアプリケーション毎の負荷情報を一定間隔毎に
計測し(ステップ201)、状態登録手段113〜1n
3によって通信経路変換装置30内のサーバ状態確認手
段31に通知する(ステップ202,ステップ20
3)。Each of the servers 11 to 1n includes services 111 to 11
1n1 is activated or not, and the information of the already connected terminal applications 213 to 2n3 and the load information of each connected application are measured at regular intervals (step 201), and the state registration means 113 to 1n
3 to the server status confirmation means 31 in the communication path converter 30 (steps 202 and 20).
3).
【0017】サーバ状態確認手段31は、サーバ情報フ
ァイル33に状態登録手段113〜1n3から通知され
た各サーバの負荷情報等からなるサーバ情報を複写する
(ステップ204)。The server status confirmation means 31 copies the server information including the load information of each server notified from the status registration means 113 to 1n3 into the server information file 33 (step 204).
【0018】クライアント21〜2nの端末アプリケー
ション213〜2n3を起動すると、クライアント21
〜2nは通信経路変換装置30内の通信経路決定手段3
2に対して接続しサーバの決定を要求する(ステップ2
05,ステップ206)。When the terminal applications 213 to 2n3 of the clients 21 to 2n are started, the client 21
.About.2n are communication path determination means 3 in the communication path conversion device 30.
2 and request server determination (step 2
05, step 206).
【0019】経路決定要求を受け付けると、通信経路決
定手段32はサーバ情報ファイル33のサーバ情報から
サービスが起動しているサーバ11〜1nを検索し(ス
テップ207)、その中で最も負荷の少ないサーバを通
信経路として決定し(ステップ208)、経路決定要求
を出したクライアント21〜2nに通信経路情報を通知
する(ステップ209,ステップ210)。Upon receiving the route determination request, the communication route determination means 32 searches the server information file 33 for server 11 to 1n on which the service is running (step 207), and finds the server with the least load among them. Is determined as a communication path (step 208), and the communication path information is notified to the clients 21 to 2n that have issued the path determination request (steps 209 and 210).
【0020】通信経路決定手段32からの通知を受けた
クライアント21〜2nは、通信経路情報で示されるサ
ーバに対して、サーバ通信手段212〜2n2を介して
サーバ11〜1nのクライアント接続受付手段112〜
1n2に接続要求を発行する(ステップ211,ステッ
プ212)。The clients 21 to 2n, which have received the notification from the communication path determination means 32, communicate with the server indicated by the communication path information via the server communication means 212 to 2n2 and the client connection reception means 112 of the server 11 to 1n. ~
A connection request is issued to 1n2 (step 211, step 212).
【0021】サーバ11〜1nは、クライアント21〜
2nからの接続要求を受信すると、目的のサービス11
1〜1n1に接続し(ステップ213)、以後クライア
ント21〜2nは通信経路情報で決定されたサーバ11
〜1nのサービス111〜1n1と通信を行う(ステッ
プ215,ステップ216及びステップ217)。The servers 11-1n are connected to the clients 21-
2n, the target service 11
1 to 1n1 (step 213), and thereafter the clients 21 to 2n connect to the server 11 determined by the communication path information.
The communication with the services 111 to 1n1 is performed (steps 215, 216 and 217).
【0022】クライアント21〜2nのサーバ通信手段
212〜2n2では、一定間隔でサーバ11〜1n内の
サービス111〜1n1との通信のレスポンス時間を計
測し、レスポンス時間が所定値を超えているかどうかを
判別する。すなわち、通信遅延が発生しているかどうか
を判定する(ステップ218)。The server communication means 212 to 2n2 of the clients 21 to 2n measure response times of communication with the services 111 to 1n1 in the servers 11 to 1n at regular intervals, and determine whether the response time exceeds a predetermined value. Determine. That is, it is determined whether or not a communication delay has occurred (step 218).
【0023】レスポンス時間の遅延が発生していると判
定した場合は、経路決定呼び出し手段211〜2n1を
介して通信経路決定手段32に対して経路変換要求を発
行する(ステップ220)。通信遅延が発生しない場合
は、通信を継続する(ステップ219)。If it is determined that a response time delay has occurred, a route conversion request is issued to the communication route determination means 32 via the route determination calling means 211 to 2n1 (step 220). If no communication delay occurs, the communication is continued (step 219).
【0024】経路変換要求を受信した通信経路決定手段
32は、サーバ状態確認手段31が逐次サーバ情報を記
録するサーバ情報ファイル33から負荷情報を入手し
(ステップ221)、通信経路の変換によって負荷分散
が図れ効率のよい通信が可能になるかどうか(あるい
は、そのまま現サーバにて通信を続けるほうが良いか)
を判断する(ステップ222)。Upon receiving the route conversion request, the communication route determining means 32 obtains the load information from the server information file 33 in which the server status checking means 31 sequentially records the server information (step 221), and performs load balancing by converting the communication route. Whether efficient communication is possible (or is it better to continue communication with the current server as it is)?
Is determined (step 222).
【0025】通信経路を変換しても現時点より効率のよ
い通信が得られないと判断した場合は、その旨をクライ
アント21〜2nに通知し現サーバ内のサービスの運用
を続ける(ステップ219)。If it is determined that efficient communication cannot be obtained from the present time even if the communication path is changed, the fact is notified to the clients 21 to 2n and the operation of the service in the current server is continued (step 219).
【0026】通信経路を変換することによって(サーバ
を変換することによって)、現時点より効率のよい通信
が得られると判断した場合、通信経路決定手段32は、
サーバ情報ファイル33から変換先サーバ11〜1nを
検索し(ステップ228)、クライアント21〜2nに
対して決定したサーバ11〜1nを示す変換経路情報を
通知する(ステップ224,ステップ225)。If it is determined that a more efficient communication can be obtained by converting the communication path (by converting the server), the communication path determining means 32
The server 11 retrieves the conversion destination servers 11 to 1n from the server information file 33 (step 228), and notifies the clients 21 to 2n of the conversion path information indicating the determined servers 11 to 1n (steps 224 and 225).
【0027】変換先サーバ11〜1nを指定する変換経
路情報を通知されたクライアント21〜2nでは、現サ
ーバに対して切断要求を発行し(ステップ226)、変
換経路情報で指定される新たなサーバ11〜1nに対し
て接続要求を発行する(ステップ211)。Each of the clients 21 to 2n notified of the conversion path information designating the conversion destination servers 11 to 1n issues a disconnection request to the current server (step 226), and the new server specified by the conversion path information. A connection request is issued to 11 to 1n (step 211).
【0028】上記切断要求を受信したサーバ11〜1n
は、サービス111〜1n1に対して切断要求を発行す
る(ステップ227,ステップ228)。Servers 11 to 1n that have received the disconnection request
Issues a disconnection request to the services 111 to 1n1 (steps 227 and 228).
【0029】[0029]
【実施例】次に、本発明の分散処理システムの実施例に
ついて、図4〜図9を参照して詳細に説明する。この実
施例においては、図4に示すように、サーバ群10が4
台のサーバ11〜14で構成され、クライアント群20
が4台のクライアント21〜24によって構成されてい
る。また、クライアント21には端末アプリケーション
AP4が、クライアント22には端末アプリケーション
AP1,AP5が、クライアント23には端末アプリケ
ーションAP2が、クライアント24には端末アプリケ
ーションAP3がそれぞれ備えられている。Next, an embodiment of a distributed processing system according to the present invention will be described in detail with reference to FIGS. In this embodiment, as shown in FIG.
Clients 11 to 14
Is composed of four clients 21 to 24. The client 21 has a terminal application AP4, the client 22 has a terminal application AP1 and AP5, the client 23 has a terminal application AP2, and the client 24 has a terminal application AP3.
【0030】図5は、初期状態においてサーバ情報ファ
イル33に格納されているサーバ情報の内容を示してい
る。このサーバ情報においては、サーバ11ではクライ
アント22上の端末アプリケーションAP1が起動して
おり、CPU使用率は10%である。サーバ12のサー
ビスは未起動である。サーバ13ではクライアント23
上の端末アプリケーションAP2とクライアント24上
の端末アプリケーションAP3が起動しており、そのC
PU使用率はそれぞれ15%と20%である。また、サ
ーバ14ではクライアント21上の端末アプリケーショ
ンAP4がCPU使用率5%で起動している。FIG. 5 shows the contents of the server information stored in the server information file 33 in the initial state. According to the server information, the terminal application AP1 on the client 22 is activated in the server 11, and the CPU usage rate is 10%. The service of the server 12 has not been started. In the server 13, the client 23
And the terminal application AP3 on the client 24 are running.
PU usage rates are 15% and 20%, respectively. In the server 14, the terminal application AP4 on the client 21 is running at a CPU usage rate of 5%.
【0031】ここで、クライアント22と通信経路変換
装置30の処理動作を示す図9を参照して具体的な動作
例を説明する。Here, a specific example of the operation will be described with reference to FIG. 9 showing the processing operation of the client 22 and the communication path converter 30.
【0032】上記初期状態において、クライアント22
上にて新たに端末アプリケーションAP5を起動する
(ステップ901)と、クライアント22上の経路決定
呼び出し手段221は通信経路変換装置30の通信経路
決定手段32に対して経路決定を要求する(ステップ9
02,ステップ903)。In the initial state, the client 22
When the terminal application AP5 is newly activated above (step 901), the path determination calling unit 221 on the client 22 requests the communication path determination unit 32 of the communication path conversion device 30 to determine a path (step 9).
02, step 903).
【0033】通信経路変換装置30の通信経路決定手段
32は、サーバ情報ファイル33のサーバ情報からサー
ビスが起動済みであるサーバ11,13,14を検索
し、その中で最も負荷(CPU使用率)の小さいサーバ
を決定する。この実施例の場合はCPU使用率の最も小
さいサーバ14を目的サーバとして決定し(ステップ9
04)、クライアント22に対して決定した接続先とし
てサーバ14を示す通信経路情報を通知する(ステップ
905,ステップ906)。The communication path determination means 32 of the communication path converter 30 searches the server information file 33 for the servers 11, 13, and 14 whose services have been started, and finds the load (CPU usage rate) among them. A server with a smaller number. In the case of this embodiment, the server 14 with the lowest CPU utilization is determined as the target server (step 9).
04), and notifies the client 22 of communication path information indicating the server 14 as the determined connection destination (steps 905 and 906).
【0034】クライアント22では、通信経路決定手段
32より通知されたサーバ14に対して接続要求を発行
しサーバ14内のサービス141と通信を開始する(ス
テップ907)。The client 22 issues a connection request to the server 14 notified by the communication path determining means 32 and starts communication with the service 141 in the server 14 (step 907).
【0035】図6を参照すると、このタイミングでサー
バ情報ファイル33のサーバ情報のサーバ14に、クラ
イアント22上の端末アプリケーションAP5が追加登
録される。Referring to FIG. 6, at this timing, the terminal application AP5 on the client 22 is additionally registered in the server 14 of the server information in the server information file 33.
【0036】ここで、図7に示すように、サーバ14で
起動しているクライアント21上の動作している端末ア
プリケーションAP4によるCPU使用率(負荷)が高
負荷に(CPU使用率60%)に遷移したと仮定する
と、クライアント22上のサーバ通信手順222が目的
サーバ14との間のレスポンス時間の遅延を確認し(ス
テップ908)、通信経路決定手段32に対して経路変
換要求を発行する(ステップ909)。Here, as shown in FIG. 7, the CPU utilization (load) by the terminal application AP4 running on the client 21 running on the server 14 becomes high (CPU utilization 60%). Assuming that the transition has occurred, the server communication procedure 222 on the client 22 confirms a response time delay with the target server 14 (step 908), and issues a path conversion request to the communication path determination means 32 (step 908). 909).
【0037】通信経路決定手段32では、経路変換要求
を受信する(ステップ910)と、切り替え先サーバを
決定すべく、サーバ情報ファイル33のサーバ情報から
サービスが起動している別サーバ11,13の中で負荷
の最も小さいサーバを検索し、現時点で端末アプリケー
ションAP5のサーバを変換したほうが効率のよい通信
状態が得られるかどうかを判断する。When the communication path determination means 32 receives the path conversion request (step 910), the communication path determination means 32 determines the server to be switched to from the server 11 or 13 whose service has been activated based on the server information in the server information file 33. The server with the smallest load is searched for, and it is determined whether or not a more efficient communication state can be obtained by converting the server of the terminal application AP5 at this time.
【0038】この場合、サーバ14以外で負荷が最も小
さいサーバ11が候補とされ、さらに現状のままの負荷
状態と予測した変換後の負荷状態とを比較し、変換した
ほうが負荷分散が図れると判断した場合、変換先サーバ
としてサーバ11を選択し(ステップ911)、切り替
え先サーバを指定した変換経路情報クライアント22に
通知する(ステップ912)。In this case, the server 11 having the smallest load other than the server 14 is considered as a candidate, and the load state as it is is compared with the predicted converted load state. In this case, the server 11 is selected as the conversion destination server (step 911), and the conversion path information client 22 that has designated the switching destination server is notified (step 912).
【0039】クライアント22では、切り替え先サーバ
を指定した変換経路情報を受信し(ステップ913)、
現サーバ14に対して切断要求を発行してサーバ14内
のサービス141との通信を切断する(ステップ91
4)。そして、切り替え先サーバ11に対して接続要求
を発行し(スナップ915)、サーバ11内のサービス
111と再接続し通信を開始する(ステップ916)。The client 22 receives the conversion path information designating the switching destination server (step 913),
A disconnection request is issued to the current server 14 to disconnect the communication with the service 141 in the server 14 (step 91).
4). Then, it issues a connection request to the switching destination server 11 (snap 915), reconnects with the service 111 in the server 11, and starts communication (step 916).
【0040】上記のように通信経路の変換が実行された
結果、図8に示すように、サーバ情報のサーバ11にク
ライアント22の端末アプリケーションAP5が追加さ
れ、サーバ14から端末アプリケーションAP5が削除
されて負荷分散が実現されている。As a result of the conversion of the communication path as described above, the terminal application AP5 of the client 22 is added to the server 11 of the server information and the terminal application AP5 is deleted from the server 14, as shown in FIG. Load balancing is realized.
【0041】[0041]
【発明の効果】以上説明したように本発明の負荷分散シ
ステムによれば、第1に、一定の時間間隔で取得してサ
ーバの負荷状態を確認し、その負荷状態を参照すること
で負荷の小さいサーバを決定する構成としたので、サー
バとの初期接続時における適切な負荷分散が可能とな
る。As described above, according to the load distribution system of the present invention, first, the load status of the server is obtained by acquiring the data at fixed time intervals, and the load status of the server is confirmed. Since the configuration is such that a small server is determined, appropriate load distribution can be performed at the time of initial connection with the server.
【0042】第2に、サーバ接続後のレスポンス時間の
遅延発生時に、サーバ情報を参照することにより、通信
経路の変換によって負荷分散ができるかどうかを判別
し、変換先のサーバを決定する構成としたので、接続後
にサーバの負荷状態が変化した場合にも適切な負荷分散
が実現される。Secondly, when a response time delay occurs after connection to a server, by referring to server information, it is determined whether or not load can be distributed by converting a communication path, and a server to be converted is determined. Therefore, even when the load state of the server changes after connection, appropriate load distribution is realized.
【図1】 本発明の実施の形態による負荷分散システム
の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a load distribution system according to an embodiment of the present invention.
【図2】 本発明の実施の形態による負荷分散システム
の動作を説明するフローチャートである。FIG. 2 is a flowchart illustrating an operation of the load distribution system according to the exemplary embodiment of the present invention.
【図3】 本発明の実施の形態による負荷分散システム
の動作を説明するフローチャートである。FIG. 3 is a flowchart illustrating an operation of the load distribution system according to the exemplary embodiment of the present invention.
【図4】 本発明の負荷分散システムの実施例を示すブ
ロック図である。FIG. 4 is a block diagram showing an embodiment of the load distribution system of the present invention.
【図5】 本発明の実施例によるサーバ情報ファイルに
格納されるサーバ情報の第1例を示す図である。FIG. 5 is a diagram showing a first example of server information stored in a server information file according to the embodiment of the present invention.
【図6】 本発明の実施例によるサーバ情報ファイルに
格納されるサーバ情報の第2例を示す図である。FIG. 6 is a diagram showing a second example of server information stored in a server information file according to the embodiment of the present invention.
【図7】 本発明の実施例によるサーバ情報ファイルに
格納されるサーバ情報の第3例を示す図である。FIG. 7 is a diagram showing a third example of server information stored in a server information file according to the embodiment of the present invention.
【図8】 本発明の実施例によるサーバ情報ファイルに
格納されるサーバ情報の第4例を示す図である。FIG. 8 is a diagram showing a fourth example of server information stored in a server information file according to the embodiment of the present invention.
【図9】 本発明の実施例のクライアントと通信経路変
換装置の処理動作を説明するフローチャートである。FIG. 9 is a flowchart illustrating processing operations of the client and the communication path conversion device according to the embodiment of this invention.
10 サーバ群 11〜1n サーバ 111〜1n1 サービス 112〜1n2 クライアント接続受付手段 113〜1n3 状態登録手段 20 クライアント群 21〜2n クライアント 211〜2n1 経路決定呼び出し手段 212〜2n2 サーバ通信手段 213〜2n3、AP1〜AP4 端末アプリケーショ
ン 30 通信経路変換装置 31 サーバ状態確認手段 32 通信経路決定手段 33 サーバ情報ファイルReference Signs List 10 server group 11 to 1n server 111 to 1n1 service 112 to 1n2 client connection accepting unit 113 to 1n3 status registration unit 20 client group 21 to 2n client 211 to 2n1 route determination calling unit 212 to 2n2 server communication unit 213 to 2n3, AP1 to AP1 AP4 terminal application 30 communication path conversion device 31 server status confirmation means 32 communication path determination means 33 server information file
Claims (5)
にネットワーク接続された複数のクライアントからなる
コンピュータシステムの負荷分散システムにおいて、 一定の時間間隔で、前記サーバの負荷状態を確認し、前
記負荷状態を前記サーバ毎にサーバ情報として格納し、
前記クライアントからの前記サーバへの初期接続または
接続切り替え要求に基づいて接続先のサーバを決定し通
信経路情報として通知する通信経路変換装置を備え、 前記サーバへの初期接続時に前記クライアントから送ら
れるサーバ決定要求に対して、前記通信経路変換装置
が、前記サーバ情報を参照することにより、前記サーバ
の中で負荷の小さいサーバを決定して通信経路情報とし
て通知し、 接続後のレスポンス時間の遅延発生時に前記クライアン
トから送られるサーバ切り替え要求に対して、前記通信
経路変換装置が、前記サーバ情報を参照することによ
り、通信経路の変換によって負荷分散ができると判断し
た場合、変換先の前記サーバを決定し変換経路情報とし
て通知することを特徴とする負荷分散システム。In a load distribution system of a computer system comprising a plurality of clients connected to a plurality of servers for providing a predetermined service on a network, a load state of the server is checked at regular intervals, and the load state is determined. Is stored as server information for each server,
A communication path conversion device that determines a connection destination server based on an initial connection or connection switching request from the client to the server and notifies the server of the connection destination as communication path information; and a server sent from the client at the time of initial connection to the server. In response to the determination request, the communication path conversion device refers to the server information, determines a server with a small load among the servers, notifies the server as communication path information, and causes a delay in response time after connection. Sometimes, in response to a server switching request sent from the client, the communication path conversion device refers to the server information, and determines that the server to be converted can be converted if the load can be distributed by converting the communication path. A load distribution system characterized in that the load distribution system notifies the result as conversion path information.
計測し、レスポンス時間が所定値を超えているかどうか
によって前記レスポンス時間の遅延が発生しているを判
別する手段と、 前記レスポンス時間の遅延が発生した場合に、前記通信
経路変換装置に対して、前記サーバ切り替え要求を行な
う手段とを備えることを特徴とする請求項1に記載の負
荷分散システム。2. The client measures a response time of communication with a server being connected at regular intervals, and determines whether or not the response time is delayed based on whether the response time exceeds a predetermined value. 2. The load balancing system according to claim 1, further comprising: means for performing the server switching request to the communication path conversion device when the response time delay occurs.
負荷状態と前記サービスの起動状態を前記サーバ毎に確
認し、前記負荷状態と前記サービスの起動状態を前記サ
ーバ毎にサーバ情報として格納し、 前記クライアントからのサーバ切り替え要求に対して、
前記サーバ情報を参照し、同一の前記サービスが起動し
ている前記サーバの中で、負荷を分散できるサーバを決
定して前記変換経路情報として通知することを特徴とす
る請求項1または請求項2に記載の負荷分散システム。3. The communication path conversion device checks the load state of the server and the activation state of the service for each server, and stores the load state and the activation state of the service as server information for each server. In response to a server switching request from the client,
3. The server according to claim 1, wherein, among the servers in which the same service is running, a server capable of distributing a load is determined and notified as the conversion path information. 2. The load balancing system according to 1.
スの起動状態を確認するサーバ状態確認手段と、 前記負荷状態と前記サービスの起動状態を前記サーバ毎
にサーバ情報として格納するサーバ情報ファイルと、 前記クライアントからのサーバ決定要求またはサーバ切
り替え要求を受付け、前記サーバ情報を検索して、負荷
の小さいサーバを決定して通信経路情報として通知し、
また変換先の前記サーバを決定し変換経路情報として通
知する経路決定手段を備えることを特徴とする請求項1
に記載の負荷分散システム。4. The server according to claim 1, wherein said communication path conversion device checks a load state of said server and an activation state of said service at a predetermined time interval; A server information file to be stored as server information every time, a server determination request or a server switching request from the client is received, the server information is searched, a server with a small load is determined and notified as communication path information,
2. The apparatus according to claim 1, further comprising a path determination unit that determines the server to be converted and notifies the server as conversion path information.
2. The load balancing system according to 1.
の負荷状態と、前記サービスの起動状態とを一定の時間
間隔で、前記通信経路変換装置に通知する状態登録手段
を備え、 前記通信経路変換装置は、前記サーバ毎に、接続してい
るクライアントと、前記クライアント毎の負荷状態と、
前記サービスの起動状態とをサーバ情報として前記サー
バ情報ファイルに格納することを特徴とする請求項4に
記載の負荷分散システム。5. The server according to claim 1, wherein the server notifies the communication path converter of the connected client, a load state of each client, and a service activation state at regular time intervals. The communication path conversion device, for each of the server, a connected client, a load state for each client,
5. The load balancing system according to claim 4, wherein the service activation status and the service activation status are stored as server information in the server information file.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9137601A JPH10312365A (en) | 1997-05-13 | 1997-05-13 | Load decentralization system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9137601A JPH10312365A (en) | 1997-05-13 | 1997-05-13 | Load decentralization system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH10312365A true JPH10312365A (en) | 1998-11-24 |
Family
ID=15202517
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9137601A Pending JPH10312365A (en) | 1997-05-13 | 1997-05-13 | Load decentralization system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH10312365A (en) |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001109638A (en) * | 1999-10-06 | 2001-04-20 | Nec Corp | Method and system for distributing transaction load based on estimated extension rate and computer readable recording medium |
| JP2001312487A (en) * | 2000-04-28 | 2001-11-09 | Nec Nexsolutions Ltd | Monitoring method for application program and method for providing application service |
| JP2002532013A (en) * | 1998-12-03 | 2002-09-24 | ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー | Network management system |
| JP2003122732A (en) * | 2001-10-16 | 2003-04-25 | Nec Corp | Information communication system |
| JP2005202941A (en) * | 2003-12-15 | 2005-07-28 | Matsushita Electric Ind Co Ltd | Server apparatus, information processing system, and information processing method |
| US7062768B2 (en) | 2001-03-21 | 2006-06-13 | Nec Corporation | Dynamic load-distributed computer system using estimated expansion ratios and load-distributing method therefor |
| AU2004200030B2 (en) * | 2003-01-08 | 2006-06-22 | Nec Platforms, Ltd. | IP Router, Communication System and Band Setting Method Used Therein and Its Program |
| US7089301B1 (en) * | 2000-08-11 | 2006-08-08 | Napster, Inc. | System and method for searching peer-to-peer computer networks by selecting a computer based on at least a number of files shared by the computer |
| WO2006098122A1 (en) * | 2005-03-17 | 2006-09-21 | Matsushita Electric Industrial Co., Ltd. | Communication system, information processing system, connection server, processing server, information processing device, information processing method, and program |
| JP2007511807A (en) * | 2003-08-14 | 2007-05-10 | オラクル・インターナショナル・コーポレイション | Transparent session transport between servers |
| JP2007219964A (en) * | 2006-02-20 | 2007-08-30 | Hitachi Ltd | Load balancing method and system |
| JP2008117020A (en) * | 2006-10-31 | 2008-05-22 | Frepar Networks Inc | Refrigerator, cash payment machine and load balancing system |
| JP2009017182A (en) * | 2007-07-04 | 2009-01-22 | Toppan Printing Co Ltd | Load distribution apparatus and load distribution method |
| JP2009200881A (en) * | 2008-02-22 | 2009-09-03 | Japan Radio Co Ltd | Ha load balancing control system and server load balancing control system |
| JP2011150480A (en) * | 2010-01-20 | 2011-08-04 | Ntt Data Corp | Resource providing system, resource providing method, and virtualization apparatus |
| JP2012173835A (en) * | 2011-02-18 | 2012-09-10 | Canon Inc | Web service system, server management device, and web service providing method |
| JP2019144715A (en) * | 2018-02-19 | 2019-08-29 | 富士通株式会社 | Information processor and information processing system and program |
-
1997
- 1997-05-13 JP JP9137601A patent/JPH10312365A/en active Pending
Cited By (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002532013A (en) * | 1998-12-03 | 2002-09-24 | ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー | Network management system |
| JP2001109638A (en) * | 1999-10-06 | 2001-04-20 | Nec Corp | Method and system for distributing transaction load based on estimated extension rate and computer readable recording medium |
| US6986139B1 (en) | 1999-10-06 | 2006-01-10 | Nec Corporation | Load balancing method and system based on estimated elongation rates |
| JP2001312487A (en) * | 2000-04-28 | 2001-11-09 | Nec Nexsolutions Ltd | Monitoring method for application program and method for providing application service |
| US7089301B1 (en) * | 2000-08-11 | 2006-08-08 | Napster, Inc. | System and method for searching peer-to-peer computer networks by selecting a computer based on at least a number of files shared by the computer |
| US7062768B2 (en) | 2001-03-21 | 2006-06-13 | Nec Corporation | Dynamic load-distributed computer system using estimated expansion ratios and load-distributing method therefor |
| JP2003122732A (en) * | 2001-10-16 | 2003-04-25 | Nec Corp | Information communication system |
| US7895356B2 (en) | 2003-01-08 | 2011-02-22 | Nec Infrontia Corporation | IP router, communication system and band setting method used therein and its program |
| AU2004200030B2 (en) * | 2003-01-08 | 2006-06-22 | Nec Platforms, Ltd. | IP Router, Communication System and Band Setting Method Used Therein and Its Program |
| JP2007511807A (en) * | 2003-08-14 | 2007-05-10 | オラクル・インターナショナル・コーポレイション | Transparent session transport between servers |
| JP2005202941A (en) * | 2003-12-15 | 2005-07-28 | Matsushita Electric Ind Co Ltd | Server apparatus, information processing system, and information processing method |
| WO2006098122A1 (en) * | 2005-03-17 | 2006-09-21 | Matsushita Electric Industrial Co., Ltd. | Communication system, information processing system, connection server, processing server, information processing device, information processing method, and program |
| US8544018B2 (en) | 2005-03-17 | 2013-09-24 | Panasonic Corporation | Communication system, information processing system, connection server, processing server, information processing apparatus, information processing method and program |
| JP2007219964A (en) * | 2006-02-20 | 2007-08-30 | Hitachi Ltd | Load balancing method and system |
| JP2008117020A (en) * | 2006-10-31 | 2008-05-22 | Frepar Networks Inc | Refrigerator, cash payment machine and load balancing system |
| JP2009017182A (en) * | 2007-07-04 | 2009-01-22 | Toppan Printing Co Ltd | Load distribution apparatus and load distribution method |
| JP2009200881A (en) * | 2008-02-22 | 2009-09-03 | Japan Radio Co Ltd | Ha load balancing control system and server load balancing control system |
| JP2011150480A (en) * | 2010-01-20 | 2011-08-04 | Ntt Data Corp | Resource providing system, resource providing method, and virtualization apparatus |
| JP2012173835A (en) * | 2011-02-18 | 2012-09-10 | Canon Inc | Web service system, server management device, and web service providing method |
| JP2019144715A (en) * | 2018-02-19 | 2019-08-29 | 富士通株式会社 | Information processor and information processing system and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110234140B (en) | Communication method, device, entity and storage medium | |
| CN101669380B (en) | Scalability and redundancy in MSC-server blade cluster | |
| CN113179491B (en) | Multi-network communication method, device, robot and storage medium | |
| CN107231221A (en) | Job flow control method, apparatus and system between data center | |
| CN113194518B (en) | Redirection allocation method, device and system | |
| CN115412530B (en) | Domain name resolution method and system for service under multi-cluster scene | |
| CN112788089A (en) | Network communication control method of multi-edge cloud, edge operation device and system | |
| WO2017128654A1 (en) | Method and device realizing switching required by internet-connected terminal | |
| CN110661836A (en) | Message routing method, device and system, and storage medium | |
| JP3853698B2 (en) | Client connection management system, access point management apparatus, program, and client connection management method | |
| JPH07160647A (en) | Distributed processing system | |
| CN112104676A (en) | Media server self-management method and conference system | |
| CN110635927B (en) | Node switching method, network node and network system | |
| WO2020177471A1 (en) | Message transmission method, apparatus and storage medium | |
| CN117041329B (en) | Micro-service configuration system based on heterogeneous bus structure and control method thereof | |
| JPH09321795A (en) | Packet switching system routing method | |
| EP2292036A2 (en) | Communication system and a method and call processor for use in the system | |
| US20090310576A1 (en) | Communication control method, communication monitoring method, communication system, access point and program | |
| JP2000250878A (en) | Load distribution system | |
| CN118175202B (en) | Proxy connection method, device and related equipment | |
| CN115460291B (en) | Inter-group scheduling method based on center configuration, center server and system | |
| JP4123440B2 (en) | Object-oriented network distributed computing system, load balancing apparatus and server thereof | |
| EP1758413B1 (en) | Location register and subscriber information transfer method | |
| US20090125587A1 (en) | Management System, Device for Use in the System, Program Therefor, and Management Method | |
| JPH1131135A (en) | Client server network system |