JPH1141252A - Client server system - Google Patents

Client server system

Info

Publication number
JPH1141252A
JPH1141252A JP9197448A JP19744897A JPH1141252A JP H1141252 A JPH1141252 A JP H1141252A JP 9197448 A JP9197448 A JP 9197448A JP 19744897 A JP19744897 A JP 19744897A JP H1141252 A JPH1141252 A JP H1141252A
Authority
JP
Japan
Prior art keywords
server
client
devices
server device
priority
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
Application number
JP9197448A
Other languages
Japanese (ja)
Inventor
Hiroshi Koyano
浩 小谷野
Yasuhito Hayashi
林  泰仁
Takao Miyokawa
崇雄 三代川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9197448A priority Critical patent/JPH1141252A/en
Publication of JPH1141252A publication Critical patent/JPH1141252A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a client server system capable of distributing load without impairing flexibility, reliability and expandability. SOLUTION: Plural authentication servers 22a-22z are provided with busy server list tables 28a-28z composed of the number of servers under operation and a busy server list arranging the addresses of servers to be preferentially connected among the servers under operation according to priority, each time access is performed from gateways 24a-24z, the tables are transmitted and the priority is exchanged. Then, the access from the gateways 24a-24z to the respective authentication servers 22a-22z is performed according to the priority in these tables so that the load is equalized at the respective authentication servers 22a-22z.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のサーバ装置
と複数のクライアント装置とを通信路を介して結合した
クライアント・サーバシステムに関するものである。
The present invention relates to a client-server system in which a plurality of server devices and a plurality of client devices are connected via a communication path.

【0002】[0002]

【従来の技術】クライアント・サーバシステムの代表的
な例としては、企業等のLANシステムや世界規模で広
がるインターネット等がある。これらのネットワークに
おいてシステムの規模が増大した場合には、サーバを複
数設置して処理能力を増大させることや装置の故障に対
する信頼性の確保が強く要望されている。
2. Description of the Related Art A typical example of a client / server system is a LAN system of a company or the like, or the Internet spread worldwide. When the scale of the system increases in these networks, there is a strong demand for increasing the processing capacity by installing a plurality of servers and ensuring reliability against device failure.

【0003】クライアント・サーバシステムは、クライ
アント装置からサーバ装置に対して、例えばデータ検索
要求等の要求を発生し、サーバ装置はその要求に従って
データ検索等の処理を行い、結果をクライアント装置に
返すという動作を行う。
In a client-server system, a request such as a data search request is issued from a client device to a server device, and the server device performs processing such as data search according to the request, and returns a result to the client device. Perform the operation.

【0004】一つのサーバ装置に対して多数のクライア
ント装置からの要求が集中すると、サーバ装置のプロセ
ッサ処理能力あるいは通信路とのインタフェース部分に
ボトルネックが発生し、処理が遅延したり、タイムアウ
トして正常な処理が不可能になるという問題があった。
When requests from a large number of client devices concentrate on one server device, a bottleneck occurs in the processor processing capability of the server device or an interface portion with a communication path, and the processing is delayed or a timeout occurs. There was a problem that normal processing became impossible.

【0005】従来、前記問題に対応するシステムとし
て、図1に示すように、複数のクライアント装置1a,
1b,……1zを収容したネットワーク2に、同一機能
を有する複数、ここでは2台のサーバ装置3a,3bを
設置し(ここで、本来のサーバ装置以外のサーバ装置は
ミラーサーバと呼ばれる。)、どのサーバ装置を利用す
るかはクライアント装置の利用者に任せるシステムがあ
った。
Conventionally, as a system for solving the above problem, as shown in FIG. 1, a plurality of client devices 1a,
1b,..., 1z, a plurality of, here two, server devices 3a, 3b having the same function are installed (here, server devices other than the original server device are called mirror servers). There has been a system in which which server device is used is left to the user of the client device.

【0006】このシステムは、例えばクライアント装置
1aの利用者が一方のサーバ装置3aに要求を発した
(4)際に該サーバ装置3aが輻輳しており、タイムア
ウトになる(5)と、クライアント装置1aの利用者が
他方のサーバ装置3bに要求を再度発する(6)という
ものであった。
In this system, for example, when the user of the client device 1a issues a request to one of the server devices 3a (4), the server device 3a is congested and a timeout occurs (5). The user 1a issues a request to the other server device 3b again (6).

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前記シ
ステムの場合、クライアント装置の利用者が任意にサー
バ装置を選択することになるため、各サーバ装置の負荷
を均等にすることは困難であり、また、人間が操作する
ことなく自動的に動作するクライアント装置では利用で
きないという問題があった。
However, in the case of the above system, since the user of the client device selects the server device arbitrarily, it is difficult to equalize the load on each server device. However, there is a problem that it cannot be used in a client device that operates automatically without human operation.

【0008】また、負荷を均等化する別のシステムとし
て、図2に示すように、ネットワーク11に収容された
複数のクライアント装置12a,12b,……12zの
うち、クライアント装置12a〜12mはサーバ装置1
3aにアクセスし、クライアント装置12n〜12zは
サーバ装置13bにアクセスするように、クライアント
装置単位に親となるサーバ装置を一意に定めておき、負
荷が集中しないようになしたシステムがあった。
As another system for equalizing the load, as shown in FIG. 2, among a plurality of client devices 12a, 12b,... 12z accommodated in a network 11, client devices 12a to 12m are server devices. 1
There is a system in which a parent server device is uniquely determined for each client device so that the client devices 12n to 12z access the server device 13b so that the client device 12n to 12z accesses the server device 13b so that the load is not concentrated.

【0009】このシステムでは各サーバ装置の負荷を均
等にすることはできるが、サーバ装置とクライアント装
置との組み合わせの柔軟性に乏しく、一つのサーバ装置
が故障した場合、配下の全クライアント装置に対するサ
ービスが停止するといった信頼性に関する問題があり、
また、クライアント装置の数が順次増加していく場合等
には必ずしも最適な構成にならないという欠点があっ
た。
In this system, the load of each server device can be equalized, but the flexibility of the combination of the server device and the client device is poor, and if one server device fails, the service to all the subordinate client devices can be provided. Has a reliability issue, such as an outage,
Further, when the number of client devices increases sequentially, there is a disadvantage that the configuration is not always optimal.

【0010】本発明の目的は、従来のクライアント・サ
ーバシステムの欠点であった、システムの拡張性に乏し
いという問題、複数のサーバ装置の負荷が均等化しない
という問題、サーバ装置の故障に対する信頼性が乏しい
という問題を解決し、柔軟で信頼性の高いクライアント
・サーバシステムを実現することにある。
[0010] It is an object of the present invention to provide the disadvantages of the conventional client / server system, such as the problem of poor system expandability, the problem that the loads of a plurality of server devices are not equalized, and the reliability of the server device against failure. It is an object of the present invention to solve the problem of lack of security and to realize a flexible and highly reliable client-server system.

【0011】[0011]

【課題を解決するための手段】前記課題を解決するた
め、本発明では、同一機能を有する複数のサーバ装置
と、複数のクライアント装置と、該サーバ装置及びクラ
イアント装置の全てを接続して相互の通信を可能にする
ネットワークとからなり、各サーバ装置及びクライアン
ト装置はそれぞれを識別するための固有のアドレスを備
えたクライアント・サーバシステムにおいて、サーバ装
置は、クライアント装置からの要求に対する応答データ
に、稼働中の同一機能を有する複数のサーバ装置のうち
で優先的に接続すべきサーバ装置を表す情報を付加して
送信し、各クライアント装置は、サーバ装置への接続要
求の発生時、前記情報に基づいてアクセスすべきサーバ
装置を決定することを特徴とする。
In order to solve the above-mentioned problems, according to the present invention, a plurality of server apparatuses having the same function, a plurality of client apparatuses, and all of the server apparatuses and the client apparatuses are connected to each other to connect each other. In a client-server system comprising a network enabling communication and each server device and client device having a unique address for identifying each server device, the server device operates based on response data to a request from the client device. Among the plurality of server devices having the same function, information indicating a server device to be preferentially connected is added and transmitted, and when a connection request to the server device is generated, each client device And determining a server device to be accessed.

【0012】前記構成によれば、クライアント装置はサ
ーバ装置にアクセスする毎に、優先的に接続すべきサー
バ装置の情報を受け取ることができ、各クライアント装
置では次回の接続要求の発生時にこの情報に基づくアク
セスが可能となり、これによって各サーバ装置での負荷
の均等化を図れる。
According to the above configuration, each time the client device accesses the server device, the client device can receive information on the server device to be preferentially connected, and each client device receives this information when the next connection request occurs. Based on this, it is possible to equalize the load on each server device.

【0013】また、各サーバ装置は、ネットワークに収
容されている全てのサーバ装置について稼働中であるか
否かの情報を保持し、サーバ装置の状態に変化が生じた
場合はサーバ装置同士が相互に通信を行うことにより前
記情報を更新して全てのサーバ装置が同一の情報を共有
し、稼働中のサーバ装置の総数及び優先的に接続すべき
サーバ装置のアドレスを優先順位に従って並べた一覧を
テーブルとして保持し、このテーブルをクライアント装
置からの要求に対する応答データに付加して送信し、該
送信毎に、前記テーブル中のアドレスを、優先順位が最
上位のものが最下位となり、それ以外のものは順位が一
つずつ上がるように入れ替えることを特徴とする。
Each server holds information as to whether or not all the servers contained in the network are in operation, and if a change occurs in the state of the server, the servers exchange with each other. By updating the information by performing communication, all the server devices share the same information, and a list in which the total number of operating server devices and the addresses of the server devices to be connected with priority are arranged in accordance with the priority order. This table is stored as a table, and this table is added to the response data to the request from the client device and transmitted. Each time the transmission is performed, the address in the table is assigned the highest priority to the lowest, and The objects are characterized in that they are exchanged so that the rank rises one by one.

【0014】また、各クライアント装置は、サーバ装置
から受信したテーブルを保持し、次にサーバ装置への接
続要求が発生した時、該テーブルに示される優先度に従
って、優先度の高いサーバ装置から順次優先度の低いサ
ーバ装置に対して接続に成功するか全てのサーバ装置が
なくなるまでアクセスを繰り返すことを特徴とする。
Each client device holds a table received from the server device, and when a connection request to the server device is generated next, in accordance with the priority shown in the table, the client devices sequentially start with the server device with the highest priority. It is characterized in that access is repeated until connection to a server device with a low priority is successful or all server devices are exhausted.

【0015】従来の技術とは、サーバ同士並びにサーバ
及びクライアントが連携して負荷を分散するところが最
も異なる。
The most different point from the conventional technique is that the servers and the server and the client cooperate to distribute the load.

【0016】前記構成によれば、サーバ装置はクライア
ント装置に、利用可能な全てのサーバ装置のアドレス
を、優先的に接続すべき順位を示す情報とともに送信す
るが、該送信毎に優先度順を入れ替えており、また、ク
ライアント装置は前記情報に基づいて利用可能なサーバ
を優先度順にアクセスするが、該情報もアクセス毎に更
新されるため、各サーバ装置の負荷が均等化される。
According to the above configuration, the server device transmits the addresses of all available server devices to the client device together with information indicating the priority in which the connection should be made preferentially. In addition, the client device accesses available servers in order of priority based on the information, and the information is updated for each access, so that the load on each server device is equalized.

【0017】また、システムの規模が増大してサーバ装
置の数が増加した場合は、稼働中サーバの情報に増加し
たサーバ装置の情報が反映されるため、システムを停止
させたり、クライアント装置からのアクセス手順を変更
することなく、サーバ装置の増設が可能となる。
Further, when the number of server devices increases due to an increase in the scale of the system, the increased information of the server device is reflected in the information of the operating server, so that the system may be stopped or the client device may receive the information. It is possible to increase the number of server devices without changing the access procedure.

【0018】また、あるサーバ装置が故障したり、保守
のために一時停止させようとする場合には、稼働中サ一
バの情報に故障あるいは停止サーバ装置の情報が反映さ
れるため、クライアント装置は故障あるいは停止サーバ
にアクセスしてタイムアウトまで長時間待つような事態
には陥らずに済む。万一、すれ違いにより故障中のサー
バ装置にアクセスしてしまった場合でも、クライアント
装置は前回のサーバ装置からの応答によりアクセスが失
敗した場合の次のサーバ装置のアドレスを予め与えられ
ているため、再試行処理を実行でき、故障に対しても信
頼性の高いシステムを構築することができる。
When a server device breaks down or is to be temporarily stopped for maintenance, the information of the failed or stopped server device is reflected in the information of the operating server. Does not have to wait for a long time before accessing a failed or stopped server for a timeout. Even in the event that a faulty server device is accessed by passing, the client device is given the address of the next server device in the case where access failed due to a response from the previous server device, A retry process can be executed, and a highly reliable system can be constructed even for a failure.

【0019】[0019]

【発明の実施の形態】図3は本発明のサーバ・クライア
ントシステムの実施の形態の一例、ここではインターネ
ット電話/FAXシステムへ適用した例を示すものであ
る。図3において、21はネットワーク、ここではイン
ターネット、22a,22b,……22zはインターネ
ット21に収容された複数の認証サーバ(AS)、23
a,23b,……23zは電話網(PSTN)、24
a,24b,……24zはインターネット21と電話網
23a〜23zとの間の信号変換機能を有するゲートウ
ェイ(GW)、25a,25b,……25zは電話網に
収容された複数の電話機、26a,26b,……26z
は電話網に収容された複数のFAXである。
FIG. 3 shows an example of an embodiment of a server / client system according to the present invention, in which the present invention is applied to an Internet telephone / FAX system. In FIG. 3, reference numeral 21 denotes a network, here, the Internet; 22a, 22b,..., 22z, a plurality of authentication servers (AS) accommodated in the Internet 21;
a, 23b,... 23z are telephone networks (PSTN), 24
24z are gateways (GW) having a signal conversion function between the Internet 21 and the telephone networks 23a to 23z, 25a, 25b,... 25z are a plurality of telephones accommodated in the telephone network, 26a, 26b, 26z
Are a plurality of faxes accommodated in the telephone network.

【0020】各認証サーバ22a〜22zはそれぞれ、
少なくともインターネット電話/FAXの加入者情報を
収めた加入者ファイル27a,27b,……27zと、
稼動中サーバ一覧テーブル28a,28b,……28z
とを有する。
Each of the authentication servers 22a to 22z respectively
Subscriber files 27a, 27b,... 27z containing at least Internet telephone / fax subscriber information;
Active server list tables 28a, 28b,..., 28z
And

【0021】図4は稼動中サーバ一覧テーブルの構成を
示すもので、同図(A)に示すように、稼動中のサーバ
装置の総数を表す稼動中サーバ数281と、稼動中のサ
ーバ装置のうちで優先的に接続すべきサーバ装置のアド
レス(IPアドレス等)を、優先順位に従って並べた
(但し、図面ではその符号をもって代用するものとす
る。)稼動中サーバ一覧282とからなり、稼働中サー
バ一覧282は上が優先度が高く、下が優先度が低いと
定義されている。図4では4台の認証サーバ22a,2
2b,22c,22dが稼働中であり、それ以外のサー
バは稼動していないことを示している。
FIG. 4 shows the configuration of the active server list table. As shown in FIG. 4A, the number of active servers 281 representing the total number of active server devices and the number of active server devices are shown. A list of operating servers 282 is arranged in accordance with the order of priority of the server devices (IP addresses and the like) to be connected preferentially (however, in the drawing, the code is used instead). In the server list 282, the upper part has a higher priority, and the lower part has a lower priority. In FIG. 4, four authentication servers 22a, 22
2b, 22c, and 22d are operating, and the other servers are not operating.

【0022】本例ではゲートウェイ24a〜24zがク
ライアント装置に相当する。また、ゲートウェイ24a
〜24zと電話機25a〜25z及びFAX26a〜2
6zとは電話網23a〜23zを介して接続することが
可能である。
In this embodiment, the gateways 24a to 24z correspond to client devices. Also, the gateway 24a
-24z, telephones 25a-25z and FAX 26a-2
6z can be connected via telephone networks 23a to 23z.

【0023】図5はサーバ装置における処理の流れの概
要を、図6はクライアント装置における処理の流れの概
要を示すものである。
FIG. 5 shows an outline of a processing flow in the server device, and FIG. 6 shows an outline of a processing flow in the client device.

【0024】次に、動作について説明する。Next, the operation will be described.

【0025】GW24aが初期状態においてアクセスす
べきサーバ装置としてAS22bを保持していたとす
る。電話機25aから発呼があり、GW24aに接続さ
れると、GW24aは加入者の認証を行うため、AS2
2bに問い合わせを行う。AS22bでは加入者ファイ
ル27bとの照合を行い、その結果をGW24aに返却
する。その際、AS22bは返却信号(応答データ)に
図4(A)に示すような稼働中サーバ一覧テーブル28
bを付与する。
It is assumed that the GW 24a holds the AS 22b as a server device to be accessed in the initial state. When a call is made from the telephone set 25a and connected to the GW 24a, the GW 24a performs AS2 to authenticate the subscriber.
Inquire 2b. In the AS 22b, collation with the subscriber file 27b is performed, and the result is returned to the GW 24a. At this time, the AS 22b sets the return signal (response data) to the active server list table 28 as shown in FIG.
b is given.

【0026】一つの問い合わせ(要求)に対する応答が
完了すると、AS22bでは稼働中サーバ一覧テーブル
28b中の稼働中サーバ一覧282の優先度順位を入れ
替える。具体的には、図4(B)に示すように、優先度
順位が最上位(一番上)のAS22aを最下位(一番
下)に落とし、2位以下のAS22b,22c,22d
の順位を一つずつ上げるように入れ替える。このAS2
2bに、次の問い合わせがあった場合は図4(B)に示
す一覧テーブルを送信し、その後、前記同様な優先順位
の入れ替えを行う。
When the response to one inquiry (request) is completed, the AS 22b changes the priority order of the active server list 282 in the active server list table 28b. Specifically, as shown in FIG. 4B, the AS 22a with the highest priority (top) is dropped to the lowest (bottom), and the ASs 22b, 22c, and 22d with second or lower priority are ranked.
Are changed so that the ranking of each is raised one by one. This AS2
When the next inquiry is made to 2b, the list table shown in FIG. 4B is transmitted, and then the same priority order is replaced as described above.

【0027】一方、AS22bからの応答を受けたGW
24aは、その際の認証結果に基づく動作を開始する
(処理実行)とともに、受信した稼働中サーバ一覧テー
ブルを保持する(又はその時点で自身が保持している稼
働中サーバ一覧テーブルを、受信した稼働中サーバ一覧
テーブルに書き替える。)。
On the other hand, the GW receiving the response from the AS 22b
24a starts the operation based on the authentication result at that time (executes the process) and holds the received active server list table (or receives the active server list table held by itself at that time). Rewrite to the running server list table.)

【0028】その後、このGW24aがいずれかのAS
に問い合わせをする必要が生じた場合は、このテーブル
に示される優先度に従ってアクセスを行う。具体的に
は、まず、優先度順位が最上位のAS、即ち22aにア
クセスし、失敗したら優先度順位が2位のAS、即ち2
2bにアクセスし、また、失敗したら3位のAS、即ち
22c、……というように、順位を1つずつ繰り下げて
アクセスを繰り返し、アクセスに成功したらASの選択
を終え、処理実行に移る。なお、一覧テーブル中の全て
のサーバについてアクセスに失敗したら、処理の続行は
不可能として異常処理に入る。
Thereafter, the GW 24a is connected to any of the ASs.
When it is necessary to make an inquiry to, access is performed according to the priority shown in this table. Specifically, first, the AS having the highest priority, that is, 22a is accessed, and if the AS fails, the AS having the second priority, that is, 2A is accessed.
2b, and if it fails, the third place AS, that is, 22c,..., Etc., the order is moved down by one, and the access is repeated. If the access succeeds, the selection of the AS is completed, and the process proceeds to execution. If access to all servers in the list table has failed, the process is considered to be impossible to continue and abnormal processing is started.

【0029】また、このGW24aはいずれかのAS2
2a〜22dへのアクセスが成功した時点で新たな稼働
中サーバ一覧テーブルを受信するので、次のアクセスに
はこの新たな一覧テーブルを用いることになる。
The GW 24a is connected to one of the AS2
Since a new active server list table is received when the access to 2a to 22d is successful, the new list table is used for the next access.

【0030】このようにして、各GW24a〜24zか
らの各AS22a〜22zに対するアクセスが分散され
る。
In this manner, accesses from the GWs 24a to 24z to the ASs 22a to 22z are distributed.

【0031】図7はAS22cが故障した際の一覧テー
ブルの変化のようすを示すものである。各AS間の通信
により稼働中のAS22cが故障したことを検出する
と、各ASは自身が保持している、図7(A)に示すよ
うな稼働中サーバ一覧テーブルを同図(B)に示すよう
に書き替える。具体的には、稼働中サーバ一覧テーブル
中の優先度順位282からAS22cに対応するアドレ
スを抹消し、稼働中サーバ数281を1つ減らす。
FIG. 7 shows how the list table changes when the AS 22c fails. When detecting that the active AS 22c has failed by communication between the ASs, the respective ASs maintain their own running server list table as shown in FIG. 7A, as shown in FIG. 7B. Rewrite as follows. Specifically, the address corresponding to the AS 22c is deleted from the priority order 282 in the active server list table, and the number of active servers 281 is reduced by one.

【0032】このようにして、各GWは故障中のASに
何度もアクセスして失敗するという非効率な動作を減ら
すことができる。また、ソフトウェアの入れ替え等によ
り人為的にASを停止させた時も図7と同様な動作にな
る。
In this way, the inefficient operation in which each GW accesses the failed AS many times and fails can be reduced. Also, when the AS is artificially stopped by replacing software or the like, the operation is the same as that in FIG.

【0033】図8は稼働中のASが増加した際の一覧テ
ーブルの変化のようすを示すものである。各AS間の通
信や保守機能からの指示により、稼働中のASとして2
2eが増設されたことを検出すると、各ASは自身が保
持している、図8(A)に示すような稼働中サーバ一覧
テーブルを同図(B)に示すように書き換える。具体的
には、稼働中サーバ一覧テーブル中の優先度順位282
の最下位にAS22eに対応するアドレスを付加し、稼
動中サーバ数281を1つ増加する。
FIG. 8 shows how the list table changes when the number of operating ASs increases. According to the communication between each AS and the instruction from the maintenance function, 2
Upon detecting that 2e has been added, each AS rewrites the running server list table as shown in FIG. 8A, which is held by itself, as shown in FIG. 8B. Specifically, the priority order 282 in the active server list table
The address corresponding to the AS 22e is added to the lowest order of, and the number of active servers 281 is increased by one.

【0034】こうすることにより、各GWからのアクセ
スが増設されたASにも均等にかかるようになる。
By doing so, the access from each GW is equally applied to the added AS.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
複数の同一機能を有するサーバ装置の負荷を均等化する
ことができる。
As described above, according to the present invention,
The loads on a plurality of server devices having the same function can be equalized.

【0036】また、システムの規模の増大に応じてサー
バ装置を増設する場合には、稼働中サーバの情報に増設
サーバ装置の情報が反映されるため、システムを停止さ
せたり、クライアント装置からのアクセス手順を変更す
ることなく、サーバ装置の増設が可能になる。
When a server is added in accordance with an increase in the scale of the system, information on the added server is reflected in the information on the operating server. It is possible to add server devices without changing the procedure.

【0037】また、あるサーバ装置が故障したり、保守
のために一時停止させようとする場合には、稼働中サー
バの情報に故障あるいは停止サーバ装置の情報が反映さ
れるため、クライアント装置は故障あるいは停止サーバ
にアクセスしてタイムアウトまで長時間待つような事態
には陥らずに済む。万一、すれ違いにより故障中のサー
バ装置にアクセスしてしまった場合でも、クライアント
装置は前回のサーバ装置からの応答によりアクセスが失
敗した場合の次のサーバ装置のアドレスを予め与えられ
ているため、再試行処理を実行でき、故障に対しても信
頼性の高いシステムを構築することができる。
When a certain server device breaks down or is temporarily stopped for maintenance, the information on the active server reflects the information on the failed or stopped server device. Alternatively, it is not necessary to access the stopped server and wait for a long time until a timeout occurs. Even in the event that a faulty server device is accessed by passing, the client device is given the address of the next server device in the case where access failed due to a response from the previous server device, A retry process can be executed, and a highly reliable system can be constructed even for a failure.

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

【図1】従来のサーバ・クライアントシステムの一例を
示す構成図
FIG. 1 is a configuration diagram showing an example of a conventional server / client system.

【図2】従来のサーバ・クライアントシステムの他の例
を示す構成図
FIG. 2 is a configuration diagram showing another example of a conventional server / client system.

【図3】本発明のサーバ・クライアントシステムの実施
の形態の一例を示す構成図
FIG. 3 is a configuration diagram showing an example of an embodiment of a server / client system of the present invention.

【図4】稼動中サーバ一覧テーブルの一例を示す構成図FIG. 4 is a configuration diagram showing an example of a running server list table;

【図5】サーバ装置における処理の概要を示す流れ図FIG. 5 is a flowchart showing an outline of processing in a server device;

【図6】クライアント装置における処理の概要を示す流
れ図
FIG. 6 is a flowchart showing an outline of processing in a client device.

【図7】稼働中のサーバ装置が故障した際の稼働中サー
バ一覧テーブルの変化の説明図
FIG. 7 is an explanatory diagram of a change in a running server list table when a running server device breaks down.

【図8】稼働中のサーバ装置が増加した際の稼働中サー
バ一覧テーブルの変化の説明図
FIG. 8 is an explanatory diagram of a change in a running server list table when the number of running server devices increases;

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

21…インターネット、22a〜22z…認証サーバ
(AS)、23a〜23z…電話網(PSTN)、24
a〜24z…ゲートウェイ(GW)、25a〜25z…
電話機、26a〜26z…FAX、27a〜27z…加
入者ファイル、28a〜28z…稼働中サーバ一覧テー
ブル。
21: Internet, 22a to 22z: Authentication server (AS), 23a to 23z: Telephone network (PSTN), 24
a to 24z ... gateway (GW), 25a to 25z ...
Telephones, 26a to 26z FAX, 27a to 27z subscriber files, 28a to 28z table of active servers.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 同一機能を有する複数のサーバ装置と、
複数のクライアント装置と、該サーバ装置及びクライア
ント装置の全てを接続して相互の通信を可能にするネッ
トワークとからなり、各サーバ装置及びクライアント装
置はそれぞれを識別するための固有のアドレスを備えた
クライアント・サーバシステムにおいて、 各サーバ装置は、クライアント装置からの要求に対する
応答データに、稼働中の同一機能を有する複数のサーバ
装置のうちで優先的に接続すべきサーバ装置を表す情報
を付加して送信し、 各クライアント装置は、サーバ装置への接続要求の発生
時、前記情報に基づいてアクセスすべきサーバ装置を決
定することを特徴とするクライアント・サーバシステ
ム。
1. A plurality of server devices having the same function,
A plurality of client devices and a network connecting all of the server devices and the client devices to enable mutual communication, wherein each server device and the client device have a unique address for identifying each; In the server system, each server device transmits, to response data to a request from a client device, information indicating a server device to be preferentially connected among a plurality of active server devices having the same function. Each client device determines a server device to be accessed based on the information when a connection request to the server device is generated.
【請求項2】 各サーバ装置は、ネットワークに収容さ
れている全てのサーバ装置について稼働中であるか否か
の情報を保持し、サーバ装置の状態に変化が生じた場合
はサーバ装置同士が相互に通信を行うことにより前記情
報を更新して全てのサーバ装置が同一の情報を共有し、 稼働中のサーバ装置の総数及び優先的に接続すべきサー
バ装置のアドレスを優先順位に従って並べた一覧をテー
ブルとして保持し、このテーブルをクライアント装置か
らの要求に対する応答データに付加して送信し、該送信
毎に、前記テーブル中のアドレスを、優先順位が最上位
のものが最下位となり、それ以外のものは順位が一つず
つ上がるように入れ替えることを特徴とする請求項1記
載のクライアント・サーバシステム。
2. Each server device holds information on whether or not all the server devices accommodated in the network are operating, and when a change occurs in the state of the server device, the server devices communicate with each other. The server updates the information by communicating with the server, and all the server devices share the same information. A list in which the total number of operating server devices and the addresses of the server devices to be connected with priority are arranged in order of priority. This table is stored as a table, and this table is added to the response data to the request from the client device and transmitted. Each time the transmission is performed, the address in the table is assigned the highest priority to the lowest, and 2. The client-server system according to claim 1, wherein the items are exchanged so that the order increases one by one.
【請求項3】 各クライアント装置は、サーバ装置から
受信したテーブルを保持し、次にサーバ装置への接続要
求が発生した時、該テーブルに示される優先度に従っ
て、優先度の高いサーバ装置から順次優先度の低いサー
バ装置に対して接続に成功するか全てのサーバ装置がな
くなるまでアクセスを繰り返すことを特徴とする請求項
2記載のクライアント・サーバシステム。
3. Each client device retains a table received from the server device, and when a connection request to the server device is generated next, according to the priority shown in the table, the client devices sequentially start with the server device with the highest priority. 3. The client-server system according to claim 2, wherein the access is repeated until the connection to the low-priority server device succeeds or all the server devices are exhausted.
JP9197448A 1997-07-23 1997-07-23 Client server system Pending JPH1141252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9197448A JPH1141252A (en) 1997-07-23 1997-07-23 Client server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9197448A JPH1141252A (en) 1997-07-23 1997-07-23 Client server system

Publications (1)

Publication Number Publication Date
JPH1141252A true JPH1141252A (en) 1999-02-12

Family

ID=16374685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9197448A Pending JPH1141252A (en) 1997-07-23 1997-07-23 Client server system

Country Status (1)

Country Link
JP (1) JPH1141252A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004097659A1 (en) * 2003-04-30 2004-11-11 Sony Corporation Terminal device, provision server, electronic information utilization method, electronic information provision method, terminal device program, provision server program, intermediate program and recording medium
US6826692B1 (en) 1998-12-23 2004-11-30 Computer Associates Think, Inc. Method and apparatus to permit automated server determination for foreign system login
JP2006515486A (en) * 2002-10-03 2006-05-25 ノキア コーポレイション Method and apparatus for enabling re-authentication in a cellular communication system
US7126909B2 (en) 2000-06-02 2006-10-24 Nec Corporation Centralized management technique of call control data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6826692B1 (en) 1998-12-23 2004-11-30 Computer Associates Think, Inc. Method and apparatus to permit automated server determination for foreign system login
US7126909B2 (en) 2000-06-02 2006-10-24 Nec Corporation Centralized management technique of call control data
JP2006515486A (en) * 2002-10-03 2006-05-25 ノキア コーポレイション Method and apparatus for enabling re-authentication in a cellular communication system
JP4713338B2 (en) * 2002-10-03 2011-06-29 ノキア コーポレイション Method and apparatus for enabling re-authentication in a cellular communication system
US8972582B2 (en) 2002-10-03 2015-03-03 Nokia Corporation Method and apparatus enabling reauthentication in a cellular communication system
WO2004097659A1 (en) * 2003-04-30 2004-11-11 Sony Corporation Terminal device, provision server, electronic information utilization method, electronic information provision method, terminal device program, provision server program, intermediate program and recording medium
CN100378707C (en) * 2003-04-30 2008-04-02 索尼株式会社 Terminal device, provision server, electronic information utilization method, electronic information provision method, terminal device program, provision server program, intermediate program and recor

Similar Documents

Publication Publication Date Title
US7500243B2 (en) Load balancing method and system using multiple load balancing servers
KR100984384B1 (en) System, network device, method, and computer program product for active load balancing using clustered nodes as authoritative domain name servers
US5526492A (en) System having arbitrary master computer for selecting server and switching server to another server when selected processor malfunctions based upon priority order in connection request
US7225356B2 (en) System for managing operational failure occurrences in processing devices
US6453468B1 (en) Methods for improving reliability while upgrading software programs in a clustered computer system
US7676516B2 (en) System and method for the optimization of database access in data base networks
US7379540B1 (en) Server with backup capability for distributed IP telephony systems
JP4616159B2 (en) Cluster system, load balancer, node transfer method, and node transfer program
EP1987657B1 (en) Scalable wireless messaging system
US20070150602A1 (en) Distributed and Replicated Sessions on Computing Grids
US7437461B2 (en) Load balancing apparatus and method
JP2000504863A (en) Method and apparatus for connecting a client node to a server node based on load level
JP4637366B2 (en) Data network load management
US20140201484A1 (en) Data access and management system as well as a method for data access and data management for a computer system
JP2002269061A (en) Client server system, repeating server, and method for determining connection destination server
JP3153129B2 (en) Server selection method
JPH07262156A (en) Multi-down load system
US20030005080A1 (en) Systems and methods for accessing data
JP5526780B2 (en) Load distribution system, service processing server, load distribution method, and load distribution program
JPH1141252A (en) Client server system
JP2000047890A (en) Distributed object managing system, its object selecting method and storage medium recording its processing program
JP2004201201A (en) Wap terminal, communication method and communication program
JP3853697B2 (en) Radio communication system, radio management apparatus, accommodation apparatus selection method, and program
JP2003167775A (en) Load distribution system and load distribution device
JP2020058011A (en) Gateway device, network system, control method and program