JPH06187276A - Communication system in multiplexing server system - Google Patents

Communication system in multiplexing server system

Info

Publication number
JPH06187276A
JPH06187276A JP4353852A JP35385292A JPH06187276A JP H06187276 A JPH06187276 A JP H06187276A JP 4353852 A JP4353852 A JP 4353852A JP 35385292 A JP35385292 A JP 35385292A JP H06187276 A JPH06187276 A JP H06187276A
Authority
JP
Japan
Prior art keywords
communication
server
server device
terminal
devices
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
JP4353852A
Other languages
Japanese (ja)
Inventor
Tetsuo Kawasaki
哲男 河崎
Tatsuo Matsuda
達夫 松田
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.)
INTETSUKU KK
Intec Corp
Original Assignee
INTETSUKU KK
Intec 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 INTETSUKU KK, Intec Corp filed Critical INTETSUKU KK
Priority to JP4353852A priority Critical patent/JPH06187276A/en
Publication of JPH06187276A publication Critical patent/JPH06187276A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the efficient operation of a system and to make a prompt backup possible when a failure occurs in a server device by constituting that a business communication service is performed with a prescribed load allotment for a terminal equipment by a polling system by using plural server devices having the same functions and the same constitutions. CONSTITUTION:A communication switching device 6 has a communication right decision part 61 connected with control lines 43, 44, and when a communication request signal is outputted from the communication right request part of each server device 4, 5, the device decides which of the server devices the communication right should be imparted to and outputs a communication permission signal to the server device to which the communication right should be imparted via the control line 43. Namely, the communication permission is alternately imparted to a first server device 4 and a second server device 5, and each server device 4, 5 performs the polling of terminal devices 31 to 3N in its own charge in a prescribed order every time the communication permission signal is imparted and is capable of executing a business terminal communication service.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のサーバ装置によ
って複数の端末装置に対する通信サービスを高効率で信
頼性よく行うことができるようにした、多重化サーバシ
ステムにおける通信方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system in a multiplex server system in which a plurality of server devices can provide communication services to a plurality of terminal devices with high efficiency and reliability.

【0002】[0002]

【従来の技術】従来、サーバ装置に障害が発生した場合
に端末通信サービスに支障を来たすことのないよう複数
のサーバ装置を具えた二重化システムが採用されてきて
いる。従来におけるこの種の二重化システムとして、例
えば、現用系システムと予備系システムとを用意してお
き、各システムの作動状態を監視することにより、自シ
ステムまたは相手側システムに支障が発生したとき、現
用系システムと予備系システムとの切り換えを行うよう
にした構成が公知である(特公昭58−41535号公
報、特開昭61−224757号公報参照)。また、制
御権を持つサーバ装置が他のサーバ装置に対しポーリン
グ方式で問い合わせをなし、要求がある場合には、その
サーバ装置に対し直接制御権を移し、短時間で自動的に
切り替えを行う方式が公知である(特公平3−2510
4号公報参照)。
2. Description of the Related Art Conventionally, a duplex system having a plurality of server devices has been adopted so as not to hinder the terminal communication service when the server device fails. As a conventional redundant system of this type, for example, an active system and a standby system are prepared, and by monitoring the operating state of each system, when the own system or the partner system fails, the active system is used. A configuration in which a system system and a standby system are switched is known (see Japanese Patent Publication No. 58-41535 and Japanese Patent Publication No. 61-224757). In addition, when a server device that has control authority makes an inquiry to another server device by a polling method, and if there is a request, it transfers the control authority directly to that server device and automatically switches in a short time. Is known (Japanese Patent Publication No. 3-2510
See Japanese Patent Publication No. 4).

【0003】[0003]

【発明が解決しようとする課題】このように、従来のこ
の種の二重化システムでは、現用系システムにより端末
通信サービスを行っている場合において現用系システム
に障害が発生した場合、これを適宜の手段で検知し、以
後予備系システムに切り替えて端末通信サービスを継続
する構成であるから、予備系システムは現用系システム
が正常に作動している間は待機状態となり、端末通信サ
ービスを行うことがなく、システム全体の稼働効率が低
いという問題点を有している。
As described above, in the conventional duplex system of this type, when a failure occurs in the active system while the terminal communication service is provided by the active system, an appropriate means is provided. The standby system will switch to the standby system and continue the terminal communication service, so the standby system will be in a standby state while the active system is operating normally, and the terminal communication service will not be provided. However, there is a problem that the operating efficiency of the entire system is low.

【0004】さらに、別の問題として、予備系システム
に切り替える際に現用系システムのデータ状態を矛盾無
く予備系システムに伝達する必要があり、このため切換
のための待ち時間が必要となるので、システムの切換時
に端末通信サービスが一時中断せしめられるという不具
合があった。また、現用系システムが復旧した場合に
は、逆に予備系システムから現用系システムへ所要のデ
ータを伝達しなければならず、装置の保守、交換時の作
業が煩雑であるという不具合も有している。また、他サ
ーバ装置に対しポーリング方式で制御権を移行する方式
では、現在制御権を有しているサーバ装置において障害
が発生し、万一、ポーリングが行えなくなった場合、他
サーバ装置へ制御権が移行できず、通信サービス全体が
停止するという不具合を有している。本発明の目的は、
したがって、従来技術における上述の問題を解決するこ
とができる、多重化サーバシステムにおける通信方式を
提供することにある。
Furthermore, as another problem, when switching to the standby system, it is necessary to transmit the data state of the active system to the standby system without contradiction, which requires a waiting time for switching. There was a problem that the terminal communication service was temporarily interrupted when the system was switched. In addition, when the active system is restored, the required data must be transferred from the standby system to the active system, which makes the maintenance and replacement of the device complicated. ing. Further, in the method of transferring the control right to the other server device by the polling method, if a failure occurs in the server device that currently has the control right and polling cannot be performed, the control right is transferred to the other server device. However, there is a problem that the entire communication service is stopped due to failure of migration. The purpose of the present invention is to
Therefore, it is an object of the present invention to provide a communication method in a multiplex server system that can solve the above-mentioned problems in the conventional technology.

【0005】[0005]

【課題を解決するための手段】上記課題を達成するため
の本発明の特徴は、複数のサーバ装置を用いて複数の端
末装置に対して所定の通信路を介してポーリング通信を
行うようにした多重化サーバシステムにおける通信方式
において、機能、構成が同等な複数のサーバ装置を前記
通信路に接続し、これら複数のサーバ装置に対して予め
定められた所定の負荷分担をもって前記複数の端末装置
に対して所要の端末通信サービスを行うと共に、これら
複数のサーバ装置間においては、各サーバ装置の状態と
更新データ情報とを所要の連絡チャンネルを介して常時
通知しあい、いずれかのサーバ装置に支障が生じた場合
には、その支障の状態に応じて残りの正常なサーバ装置
を新たな負荷分担にて作動させるようにした点にある。
The feature of the present invention for achieving the above object is that polling communication is performed to a plurality of terminal devices using a plurality of server devices via a predetermined communication path. In the communication method in the multiplex server system, a plurality of server devices having the same functions and configurations are connected to the communication path, and the plurality of terminal devices are assigned to the plurality of terminal devices with a predetermined load sharing for the plurality of server devices. In addition to providing the required terminal communication service, the plurality of server devices are constantly notified of the status of each server device and the update data information via the required communication channel, which may interfere with any of the server devices. When it occurs, the remaining normal server devices are operated with new load sharing according to the trouble state.

【0006】サーバ装置と端末装置との間の通信路とし
て、例えばローカルエリアネットワークの如き共通の伝
送路を用いることもできるが、サーバ装置と端末装置と
の間に通信切替装置を設けて成る伝送路を使用する構成
でもよい。また、サーバ装置間の通信のための連絡チャ
ンネルを、物理的な通信路として設けることができるの
は勿論のこと、論理的な通信路として設けることもでき
る。
As a communication path between the server device and the terminal device, a common transmission path such as a local area network can be used, but a communication switching device is provided between the server device and the terminal device. A configuration using a road may be used. Further, the communication channel for communication between the server devices can be provided not only as a physical communication path but also as a logical communication path.

【0007】[0007]

【作用】各サーバ装置が正常に作動している場合には、
複数のサーバ装置が所定の負荷分担に従って端末装置に
対しポーリング通信を行っている。この間も、各サーバ
装置間では、それらの各状態を連絡しあっており、すな
わち、各サーバ装置の間で障害監視を行っており、いず
れかのサーバ装置において障害が発生した場合には、残
りのサーバ装置において新たな負荷分担が決定され、こ
れに従って所要の端末通信サービスが支障なく続行され
る。
[Operation] When each server device is operating normally,
A plurality of server devices perform polling communication with the terminal devices according to a predetermined load sharing. Even during this period, the respective server devices communicate their respective states, that is, the failure monitoring is performed between the server devices, and when a failure occurs in any of the server devices, the remaining A new load sharing is determined in the server device, and the required terminal communication service can be continued without any trouble accordingly.

【0008】[0008]

【実施例】以下、図面を参照して本発明の一実施例につ
き詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0009】図1は、本発明による多重化サーバ式通信
システムの一実施例の構成を概略的に示す図であり、こ
の通信システム1は、通信路2に接続されている複数の
端末装置31、32、・・・、3Nに対して複数のサー
バ装置からポーリング通信によって所要の端末通信サー
ビスを行う構成となっている。本実施例では、機能、構
成が全く同じである第1及び第2サーバ装置4、5が設
けられており、第1及び第2サーバ装置4、5と通信路
2との間の接続状態は通信切替装置6によって制御され
ている。
FIG. 1 is a diagram schematically showing the configuration of an embodiment of a multiplex server type communication system according to the present invention. The communication system 1 includes a plurality of terminal devices 31 connected to a communication path 2. , 32, ..., 3N, a required terminal communication service is provided by polling communication from a plurality of server devices. In this embodiment, first and second server devices 4 and 5 having exactly the same functions and configurations are provided, and the connection state between the first and second server devices 4 and 5 and the communication path 2 is It is controlled by the communication switching device 6.

【0010】図2を参照すると、第1サーバ装置4は、
通信サービスのために必要なデータ及びその他の所要の
データを蓄えておくためのデータ記憶装置11、制御C
PU12、端末装置との間の通信のための制御を行う端
末通信制御部13、サーバ間の通信のための制御を行う
サーバ間通信制御部14、及びこのサーバ装置が担当す
べき端末装置を示すデータである担当端末テーブルをス
トアしておくためのメモリ15を備えており、これらは
データバス16に図示の如く接続されている。符号17
で示されるのは、第1サーバ装置4の各部に必要な電力
を供給するための電源装置である。
Referring to FIG. 2, the first server device 4 is
Data storage device 11 for storing data necessary for communication service and other necessary data, control C
The PU 12, the terminal communication control unit 13 that controls communication with the terminal device, the inter-server communication control unit 14 that controls communication between the servers, and the terminal device that the server device should be in charge of are shown. A memory 15 for storing a terminal table in charge of data is provided, and these are connected to a data bus 16 as illustrated. Code 17
Shown by is a power supply device for supplying necessary power to each unit of the first server device 4.

【0011】端末通信制御部13は、サーバ装置側から
端末装置側への信号伝送のための送信線41に所要の信
号を送出するための送信回路18、送信回路18と送信
線41との間に設けられたゲート回路19、端末装置側
からサーバ装置側への信号伝送のための受信線42から
の信号を受信するための受信回路20を具えている。こ
れらの各回路18、19、20には、通信切替装置6か
ら後述の如くして出力される通信許可信号が制御線43
を介して入力されており、通信切替装置6から通信許可
信号が与えられた場合にのみこれらの回路18、19、
20が作動可能状態とされ、第1サーバ装置4と端末装
置との間の通信が可能となる。
The terminal communication control section 13 is a transmission circuit 18 for transmitting a required signal to a transmission line 41 for signal transmission from the server side to the terminal side, and between the transmission circuit 18 and the transmission line 41. And a receiving circuit 20 for receiving a signal from a receiving line 42 for signal transmission from the terminal device side to the server device side. A communication permission signal output from the communication switching device 6 as described below is supplied to each of the circuits 18, 19 and 20.
Are input via the communication switching device 6, and only when a communication permission signal is given from the communication switching device 6, these circuits 18, 19,
20 is brought into an operable state, and communication between the first server device 4 and the terminal device becomes possible.

【0012】端末通信制御部13は、さらに、通信権要
求部21とタイマ監視部22とを有しており、後述の如
くして制御CPU12からの通信要求があると、通信権
要求部21はこれに応答して自己の通信権要求信号を出
力し、この通信権要求信号はタイマ監視部22を介して
制御線44に送り出され通信切替装置6に送られる。
The terminal communication control unit 13 further includes a communication right requesting unit 21 and a timer monitoring unit 22, and when there is a communication request from the control CPU 12 as described later, the communication right requesting unit 21 will In response to this, it outputs its own communication right request signal, and this communication right request signal is sent out to the control line 44 via the timer monitoring section 22 and sent to the communication switching device 6.

【0013】サーバ間通信制御部14は、自己以外のサ
ーバ装置、すなわちこの実施例の場合は第2サーバ装置
5との間で必要なデータの授受を行うためのものであ
り、サーバ間通信のための専用チャンネルを構成する一
対の専用線45、46に夫々接続されている送信回路2
3及び受信回路24から成っている。送信回路23は制
御CPU12の制御の下に自己の障害状況に関するデー
タを第2サーバ装置5に送信する。受信回路24は、第
2サーバ装置5から同様にして送られてくる第2サーバ
装置5の障害状況に関するデータを受信し、制御CPU
12に送る機能を有している。サーバ間通信制御部14
は、さらに、担当すべき端末装置の情報の更新データを
サーバ装置間でやりとりするためにも使用される。
The inter-server communication control unit 14 is for exchanging necessary data with a server device other than itself, that is, the second server device 5 in this embodiment. Transmission circuit 2 connected to a pair of dedicated lines 45 and 46, which form a dedicated channel for
3 and the receiving circuit 24. Under the control of the control CPU 12, the transmission circuit 23 transmits data regarding its own failure status to the second server device 5. The receiving circuit 24 receives the data regarding the failure status of the second server device 5 similarly sent from the second server device 5, and the control CPU
12 has the function of sending. Inter-server communication control unit 14
Is also used for exchanging the update data of the information of the terminal device to be in charge between the server devices.

【0014】上記では、第1サーバ装置4の構成につい
て説明したが、第2サーバ装置5も全く同様に構成され
ているので、その詳しい説明は省略する。図1におい
て、第2サーバ装置5に接続されている入出力線には、
第1サーバ装置4に与えたのと同一の符号をその対応す
る入出力線に付してある。
Although the configuration of the first server device 4 has been described above, the second server device 5 has the same configuration, and a detailed description thereof will be omitted. In FIG. 1, the input / output lines connected to the second server device 5 are
The same reference numerals as those given to the first server device 4 are attached to the corresponding input / output lines.

【0015】図1から判るように、送信線41及び受信
線42は通信切替装置6内において通信路2と接続され
ており、一対の専用線45、46は通信切替装置6を介
して図示の如く交叉的に接続され、これにより互いの送
信回路23と受信回路24とが接続されている。
As can be seen from FIG. 1, the transmission line 41 and the reception line 42 are connected to the communication path 2 in the communication switching device 6, and the pair of dedicated lines 45 and 46 are shown via the communication switching device 6. Thus, the transmission circuit 23 and the reception circuit 24 are connected to each other.

【0016】通信切替装置6は、制御線43、44と接
続されている通信権判定部61を有しており、各サーバ
装置の通信権要求部21から通信要求信号が出力された
場合、後述する回路動作に従っていずれのサーバ装置に
通信権を与えるべきかを判定し、通信権を与えるべきサ
ーバ装置に対し制御線43を介して通信許可信号を出力
する構成となっている。本実施例では、第1サーバ装置
4と第2サーバ装置5とに対して、交互に通信許可を与
える構成となっており、各サーバ装置は、通信許可信号
が与えられる毎に、自己の担当する端末装置を所定の順
序でポーリングし、所要の端末通信サービスを実行する
ことができる。
The communication switching device 6 has a communication right determining unit 61 connected to the control lines 43 and 44, and will be described later when a communication request signal is output from the communication right requesting unit 21 of each server device. According to the circuit operation, the server device to which the communication right should be given is determined, and the communication permission signal is output to the server device to which the communication right is given via the control line 43. In this embodiment, communication permission is alternately given to the first server device 4 and the second server device 5, and each server device is in charge of its own every time a communication permission signal is given. The required terminal communication service can be executed by polling the terminal devices to be operated in a predetermined order.

【0017】次に図3を参照して通信切替装置6による
通信権の付与動作についてついて説明する。図3の
(a)に示される第1サーバ装置4からの通信権要求信
号Aと、図3の(b)に示される第2サーバ装置5から
の通信権要求信号Bが通信権判定部61に入力される
と、通信権判定部61では、先にレベルが立ち上がって
いる方の通信権要求信号を受け入れ、対応するサーバ装
置に対し通信許可信号C又はDを出力する構成となって
いる。この通信許可信号は対応する制御線43に高レベ
ルの信号を発生させることにより出力される。
Next, the operation of granting the communication right by the communication switching device 6 will be described with reference to FIG. The communication right request signal A from the first server device 4 shown in FIG. 3A and the communication right request signal B from the second server device 5 shown in FIG. Is input to the communication right determination unit 61, the communication right request signal whose level has risen first is accepted and the communication permission signal C or D is output to the corresponding server device. This communication permission signal is output by generating a high level signal on the corresponding control line 43.

【0018】図3の例に即して説明すれば、時刻t=t
1において通信権要求信号Aのみが高レベルとなること
に応答して第1サーバ装置4の制御線43に通信許可信
号Cが出力される。この通信許可信号Cは、第1サーバ
装置4の制御線43に出力され第1サーバ装置4がいず
れかの端末装置に対し端末通信サービスEを行う。t=
t2において第1サーバ装置4の通信が完了し、一旦、
通信権要求信号Aのレベルが低レベル状態となると、こ
の間第2サーバ装置5からずっと出力されていた通信権
要求信号Bに応答して通信権判定部61から通信許可信
号Dがt=t2において第2サーバ装置5の制御線43
に出力される。このため、t=t2から第2サーバ装置
5に通信権が与えられ、第2サーバ装置5は所要の端末
装置に対し端末通信サービスEを行うことができる。t
=t3においては、第2サーバ装置5の通信が完了し通
信権要求信号Bのレベルを一旦低レベルに落とすため、
t3において通信権が再び第1サーバ装置4に戻される
ことになる。
To explain according to the example of FIG. 3, time t = t
In No. 1, the communication permission signal C is output to the control line 43 of the first server device 4 in response to the high level of only the communication right request signal A. The communication permission signal C is output to the control line 43 of the first server device 4, and the first server device 4 provides the terminal communication service E to any terminal device. t =
At t2, the communication of the first server device 4 is completed, and
When the level of the communication right request signal A becomes a low level state, in response to the communication right request signal B continuously output from the second server device 5 during this time, the communication permission signal D from the communication right determination section 61 is t = t2. Control line 43 of the second server device 5
Is output to. Therefore, the communication right is given to the second server device 5 from t = t2, and the second server device 5 can provide the terminal communication service E to the required terminal device. t
= T3, the communication of the second server device 5 is completed and the level of the communication right request signal B is once lowered to a low level.
At t3, the communication right is returned to the first server device 4 again.

【0019】t=t4において第1サーバ装置4に障害
が発生すると、第1サーバ装置4から通信権の要求が出
されることがなくなるため、通信権はt4以降常に第2
サーバ装置5に与えられる。第1及び第2サーバ装置
4、5のタイマ監視部22は、通信権要求信号A、Bが
高レベル状態になった後、一定時間以上経過すると強制
的に通信権要求信号A、Bを低レベルに戻す動作をす
る。これにより、制御CPU12などに何らかの障害が
発生し、第1及び第2サーバ装置4、5のいずれかが通
信路2を占有し続けることを防止する。
When a failure occurs in the first server device 4 at t = t4, the first server device 4 does not issue a request for communication right. Therefore, the communication right is always second after t4.
It is given to the server device 5. The timer monitoring units 22 of the first and second server devices 4 and 5 forcibly reduce the communication right request signals A and B to a low level after a lapse of a certain period of time after the communication right request signals A and B are in the high level state. The action to return to the level. As a result, it is prevented that some trouble occurs in the control CPU 12 or the like and one of the first and second server devices 4 and 5 continues to occupy the communication path 2.

【0020】このように、両サーバ装置4、5が正常に
作動している場合には、第1及び第2サーバ装置4、5
に対して所定のルールに従って通信権が交互に与えら
れ、通信権を与えられたサーバ装置は後述するようにし
て端末装置とポーリング通信を行うことになる。一方、
いずれかのサーバ装置が障害状態となると、正常なサー
バ装置のみに通信権が与えられ、正常なサーバ装置によ
って全端末装置がポーリングされ、所要の端末通信サー
ビスが行われる。
As described above, when both server devices 4 and 5 are operating normally, the first and second server devices 4 and 5 are
, The communication right is alternately given according to a predetermined rule, and the server device to which the communication right is given performs polling communication with the terminal device as described later. on the other hand,
When any one of the server devices is in a failure state, only the normal server device is given the communication right, and all the terminal devices are polled by the normal server device to provide the required terminal communication service.

【0021】通信許可信号が与えられた場合において、
各サーバ装置で実行すべき端末装置との間のポーリング
通信は、データ記憶装置11及びメモリ15にストアさ
れているデータに基づき、制御CPU12にストアされ
ている通信制御プログラムに従って実行される。
When a communication permission signal is given,
The polling communication with the terminal device to be executed by each server device is executed based on the data stored in the data storage device 11 and the memory 15 according to the communication control program stored in the control CPU 12.

【0022】図4は、制御CPU12にストアされてお
りここで実行される通信制御プログラムを示すフローチ
ャートである。この通信制御プログラムは、サーバ間通
信のための第1タスクと端末装置との間の通信のための
第2タスクとから成り、両タスクはマルチタスク処理方
式により並列的に実行される。
FIG. 4 is a flow chart showing a communication control program stored in the control CPU 12 and executed here. This communication control program is composed of a first task for server-to-server communication and a second task for communication between terminal devices, and both tasks are executed in parallel by a multitask processing method.

【0023】以下、図4に基づいて第1サーバ装置4の
作動について説明する。先ず第1タスクの実行について
説明すると、先ずステップ71で自サーバ状態、すなわ
ち第1サーバ装置4の状態に関するデータを送信回路2
3から送り出し、ステップ72では相手サーバ状態、す
なわち第2サーバ装置5の状態に関するデータを受信回
路24によって受信され、この受信データはデータ記憶
装置11にストアされる。
The operation of the first server device 4 will be described below with reference to FIG. First, the execution of the first task will be described. First, in step 71, the data relating to the state of the own server, that is, the state of the first server device 4, is transmitted to the transmission circuit 2.
3, the data relating to the state of the partner server, that is, the state of the second server device 5 is received by the receiving circuit 24 in step 72, and this received data is stored in the data storage device 11.

【0024】しかる後、ステップ73に入り、ステップ
71において送信したデータ及びステップ72において
受信したデータに基づいて、自サーバ及び相手サーバの
障害の有無をそれぞれ判定する。自サーバ及び相手サー
バがいずれも正常に動作していると判定されると、ステ
ップ74において、複数の端末装置31乃至3Nのうち
の半数を第1サーバ装置4の担当とすべく、メモリ15
にストアしてあった担当端末テーブルを更新し、ステッ
プ75に入る。
Thereafter, step 73 is entered, and based on the data transmitted in step 71 and the data received in step 72, it is determined whether or not there is a failure in the own server and the partner server. When it is determined that both the own server and the partner server are operating normally, in step 74, the memory 15 is set so that half of the plurality of terminal devices 31 to 3N are assigned to the first server device 4.
The terminal table in charge that has been stored in is updated, and step 75 is entered.

【0025】ステップ75では、自サーバの更新データ
を相手サーバに送信し、次のステップ76では、相手サ
ーバにおいて同様にして行われる更新データを相手サー
バから受信する。そして、ステップ77においてこれら
の更新データの処理を行い、両サーバ装置4、5のデー
タが常に等価なものとされる。しかる後、ステップ71
に戻る。
In step 75, the update data of the own server is transmitted to the partner server, and in the next step 76, the update data similarly performed in the partner server is received from the partner server. Then, in step 77, these updated data are processed so that the data of both server devices 4 and 5 are always equivalent. Then, step 71
Return to.

【0026】一方、ステップ73で自サーバが障害状態
に陥っていることが判定された場合には、ステップ78
に入り、ここでメモリ15内にストアされている担当端
末テーブルを更新し、自サーバの担当端末装置の分担を
零とし、ステップ71に戻る。
On the other hand, if it is determined in step 73 that the own server is in a failure state, step 78
Then, the responsible terminal table stored in the memory 15 is updated, the share of the responsible terminal device of the own server is set to zero, and the process returns to step 71.

【0027】反対に、ステップ73で、相手サーバが障
害状態に陥っていることが判定された場合、あるいは相
手サーバから応答が無い場合には、ステップ79に入
り、ここで、自サーバが全ての端末装置を担当するよう
に、メモリ15内にストアされている担当端末テーブル
の内容を更新し、ステップ71に戻る。次に第2タスク
について説明すると、第2タスクは第1タスクと並列的
に実行されており、ステップ81においてメモリ15か
ら担当端末テーブルを読み出し、その読出されたテーブ
ルに基づいてステップ82において自サーバ担当分の端
末装置について予め定めてある所定の順序に従って端末
通信サービスを行う。
On the other hand, if it is determined in step 73 that the partner server is in a failure state, or if there is no response from the partner server, step 79 is entered, in which the own server has all The contents of the in-charge terminal table stored in the memory 15 are updated so as to be in charge of the terminal device, and the process returns to step 71. Next, the second task will be described. The second task is executed in parallel with the first task. In step 81, the in-charge terminal table is read from the memory 15 and, based on the read table, the own server is read in step 82. The terminal communication service is provided in accordance with a predetermined order that is predetermined for the terminal devices in charge.

【0028】以上の説明では第1サーバ装置4の通信制
御について説明したが、第2サーバ装置5における通信
制御も全く同様にして行われている。すなわち、両サー
バ装置4、5がいずれも障害なく作動している場合に
は、各メモリ15にストアされている担当端末テーブル
に従って各自の担当の端末装置を所定の順序でポーリン
グ通信して、所要の端末通信サービスを行っている。こ
こで、正常における各サーバ装置の担当端末装置は、例
えば、第1サーバ装置4が奇数番の端末装置31、3
3、35・・・を担当し、第2サーバ装置5が偶数番の
端末32、34、36、・・・を担当するように負荷分
担を定めたり、例えば通信サービス内容別に分担を定め
ることができる。この状態において、一方のサーバ装置
に障害が生じると、サーバ装置の通信において障害が生
じていない方のサーバ装置が全ての端末装置31乃至3
Nを担当するようにメモリ15内の担当端末テーブルが
更新され、一方のサーバ装置によって全ての端末装置に
対して所要の端末通信サービスが実行される。
Although the communication control of the first server device 4 has been described in the above description, the communication control of the second server device 5 is performed in exactly the same manner. That is, when both server devices 4 and 5 are operating without failure, polling communication is performed for the respective terminal devices in charge in a predetermined order according to the terminal table in charge stored in each memory 15 to obtain the required information. The terminal communication service is provided. Here, as for the terminal device in charge of each server device in a normal state, for example, the first server device 4 is an odd-numbered terminal device 31, 3,
, 35, ..., and the second server device 5 is responsible for even numbered terminals 32, 34, 36, .. it can. In this state, when a failure occurs in one of the server devices, the server device in which the communication of the server device has not failed has all the terminal devices 31 to 3
The terminal table in charge in the memory 15 is updated to handle N, and the required terminal communication service is executed by one of the server devices for all the terminal devices.

【0029】以上の説明から判るように、2つのサーバ
装置4、5は正常作動時には負荷を半分づつ担ってお
り、したがって高速で所要のサービスを実行している
が、一方のサーバ装置が障害を生じた場合には、1つの
サーバ装置で、全負荷を担いこれにより信頼性の高い通
信サービスを確保することができる。このように、従来
のバックアップシステムと異なり、正常的には全てのサ
ーバ装置が稼動しているため高速処理が可能な上、障害
発生時には所要のサービスを継続して行うことができ
る、稼動効率が高く、信頼性も高い通信システムを実現
することができる。
As can be seen from the above description, the two server devices 4 and 5 bear half of the load during normal operation, and therefore execute the required service at high speed, but one server device fails. In the event of occurrence, a single server device can bear the full load, thereby ensuring a highly reliable communication service. In this way, unlike the conventional backup system, all server devices are normally operating, so high-speed processing is possible, and in the event of a failure, the required service can be continued and operational efficiency is improved. It is possible to realize a communication system that is highly reliable.

【0030】上記実施例では、第1及び第2サーバ装置
4、5はそれぞれ電源装置を有しているので、障害発生
時に不具合の生じたサーバ装置をユニット交換する際、
他方のサーバ装置が作動不能になることはない。
In the above embodiment, since the first and second server devices 4 and 5 each have a power supply device, when replacing a unit of a defective server device when a failure occurs,
The other server device will not be disabled.

【0031】また、図1から判るように、専用線45、
46は通信切替装置6を介して両サーバ装置4、5を接
続する構成となっているので、いずれかのサーバ装置を
ユニット交換する際には、サーバ装置と端末装置間の通
信とサーバ装置間の通信が同時に遮断されることとな
り、各通信路の切り放しミスや接続忘れを確実に防止
し、いずれかのサーバ装置を取り外せば、残りのサーバ
装置は直ちに全端末装置に対する通信サービスを実行す
ることとなり、ユニット交換時に特定の端末装置に対す
る通信サービスが中断されると言う事故を防止しうると
言う利点を有している。
As can be seen from FIG. 1, the dedicated line 45,
Since 46 is configured to connect both server devices 4 and 5 via the communication switching device 6, when exchanging a unit of either server device, communication between the server device and the terminal device and communication between the server devices are performed. Communication will be cut off at the same time, mistakes in disconnecting each communication path and connection forgetting will be surely prevented, and if any server device is removed, the remaining server devices will immediately perform communication services to all terminal devices. Therefore, there is an advantage that it is possible to prevent an accident that the communication service for a specific terminal device is interrupted when the unit is replaced.

【0032】上記実施例では、第1及び第2サーバ装置
4、5を、通信切替装置6を介して、端末装置31、3
2・・・、3Nが接続されている通信路2に接続する構
成としたが、この通信切替装置6を用いることは必ずし
も必要ではない。
In the above embodiment, the first and second server devices 4, 5 are connected to the terminal devices 31, 3 via the communication switching device 6.
Although it is configured to connect to the communication path 2 to which 2 ... 3N are connected, it is not always necessary to use this communication switching device 6.

【0033】例えば、図5に示すように、第1サーバ装
置4、第2サーバ装置5、端末装置31乃至3Nを、ロ
ーカルエリアネットワークの如き共通の伝送路9に接続
し、各サーバ装置によって端末装置をポーリングする構
成とすることができる。ローカルエリアネットワークで
は、共通の伝送路9を使用し、各装置間のデータ伝送を
フレーム単位に送信及び受信でき、第1及び第2サーバ
装置4、5と各端末装置3Nとの論理的通信路91、9
2と、第1及び第2サーバ装置4、5間の論理的通信路
93を設定することで、上記実施例と同様の端末通信サ
ービス及びサーバ装置間通信を行い、同様の効果を得る
ことができる。
For example, as shown in FIG. 5, the first server device 4, the second server device 5, and the terminal devices 31 to 3N are connected to a common transmission line 9 such as a local area network, and each server device serves as a terminal. It can be configured to poll the device. In the local area network, a common transmission path 9 is used, data transmission between each device can be transmitted and received in frame units, and a logical communication path between the first and second server devices 4 and 5 and each terminal device 3N. 91, 9
2 and the logical communication path 93 between the first and second server devices 4 and 5, the same terminal communication service and server device communication as in the above embodiment can be performed, and the same effect can be obtained. it can.

【0034】さらに、サーバ装置は2つに限定されるも
のではなく、2つ以上のサーバ装置を用いて、同様に構
成し、同様の効果を得ることができるものである。
Furthermore, the number of server devices is not limited to two, and two or more server devices can be used in the same manner to obtain the same effect.

【0035】[0035]

【発明の効果】本発明によれば、同一機能、同一構成の
サーバ装置を複数用いてポーリング方式で端末装置に対
し所定の負荷分担で所要の通信サービスを行う構成とし
たので、全てのサーバ装置を有効に使用してシステムの
効率的運用を図ることができる上に、いずれかのサーバ
装置に不具合が生じた場合、これを有効且つ迅速にパッ
クアップすることができる格別の効果を奏する。
According to the present invention, a plurality of server devices having the same function and the same configuration are used to provide a required communication service to a terminal device by a predetermined load sharing by a polling method. Can be effectively used to efficiently operate the system, and in the case where any of the server devices has a problem, it is possible to effectively and quickly pack up the system.

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

【図1】本発明による多重化サーバ式通信システムの一
実施例の構成を概略的に示す概略構成図。
FIG. 1 is a schematic configuration diagram schematically showing a configuration of an embodiment of a multiplex server type communication system according to the present invention.

【図2】図1の第1サーバ装置の詳細構成を示すブロッ
ク図。
FIG. 2 is a block diagram showing a detailed configuration of a first server device shown in FIG.

【図3】図1の通信切替装置6による切替動作を説明す
るための各部の信号波形図。
3 is a signal waveform diagram of each part for explaining a switching operation by the communication switching device 6 of FIG.

【図4】図2の制御CPUにおいて実行される通信制御
プログラムを示すフローチャート。
4 is a flowchart showing a communication control program executed by the control CPU of FIG.

【図5】本発明による多重化サーバ式通信システムの他
の構成例を概略的に示す概略構成図。
FIG. 5 is a schematic configuration diagram schematically showing another configuration example of the multiplex server type communication system according to the present invention.

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

1 通信システム 2 通信路 4 第1サーバ装置 5 第2サーバ装置 12 制御CPU 13 端末通信制御部 14 サーバ間通信制御部 15 メモリ 31、32、・・・、3N 端末装置 45、46 専用線 DESCRIPTION OF SYMBOLS 1 communication system 2 communication path 4 1st server apparatus 5 2nd server apparatus 12 control CPU 13 terminal communication control section 14 inter-server communication control section 15 memory 31, 32, ..., 3N terminal apparatus 45, 46 dedicated line

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年2月8日[Submission date] February 8, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】図面[Document name to be corrected] Drawing

【補正対象項目名】図4[Name of item to be corrected] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図4】 [Figure 4]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のサーバ装置を用いて複数の端末装
置に対して所定の通信路を介してポーリング通信を行う
ようにした多重化サーバシステムにおける通信方式にお
いて、機能、構成が同等な複数のサーバ装置を前記通信
路に接続し、これら複数のサーバ装置に対して予め定め
られた所定の負荷分担をもって前記複数の端末装置に対
して所要の端末通信サービスを行うと共に、これら複数
のサーバ装置間においては、各サーバ装置の状態と更新
データ情報とを所要の連絡チャンネルを介して常時通知
しあい、いずれかのサーバ装置に支障が生じた場合に
は、その支障の状態に応じて残りの正常なサーバ装置を
新たな負荷分担にて作動させるようにしたことを特徴と
する多重化サーバシステムにおける通信方式。
1. A communication method in a multiplex server system in which a plurality of server devices are used to perform polling communication to a plurality of terminal devices via a predetermined communication path, and a plurality of functions and configurations are equivalent to each other. A server device is connected to the communication path, and a required terminal communication service is provided to the plurality of terminal devices with a predetermined load sharing predetermined for the plurality of server devices. In this case, the status of each server device and the update data information are constantly notified via a required communication channel, and when any of the server devices fails, the remaining normal status is returned according to the failure status. A communication method in a multiplexed server system, characterized in that a server device is operated by a new load sharing.
JP4353852A 1992-12-16 1992-12-16 Communication system in multiplexing server system Pending JPH06187276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4353852A JPH06187276A (en) 1992-12-16 1992-12-16 Communication system in multiplexing server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4353852A JPH06187276A (en) 1992-12-16 1992-12-16 Communication system in multiplexing server system

Publications (1)

Publication Number Publication Date
JPH06187276A true JPH06187276A (en) 1994-07-08

Family

ID=18433663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4353852A Pending JPH06187276A (en) 1992-12-16 1992-12-16 Communication system in multiplexing server system

Country Status (1)

Country Link
JP (1) JPH06187276A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265319A (en) * 1995-03-20 1996-10-11 Nec Telecom Syst Ltd Duplex monitoring control system
JPH11298880A (en) * 1998-04-09 1999-10-29 Toshiba Corp Shared storage type distributed video server system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265319A (en) * 1995-03-20 1996-10-11 Nec Telecom Syst Ltd Duplex monitoring control system
JPH11298880A (en) * 1998-04-09 1999-10-29 Toshiba Corp Shared storage type distributed video server system

Similar Documents

Publication Publication Date Title
EP0147046B1 (en) Fault-tolerant communications controlller system
CA2006489C (en) Distributed switching architecture for communication module redundancy
US5530949A (en) Transmission equipment
US5448720A (en) Information processing system for obtaining status data of a simplex system by a standby system of a duplex system
JPH06187276A (en) Communication system in multiplexing server system
JP3640349B2 (en) Clustering system and data recovery method in case of failure in clustering system
JP2004007930A (en) System and program for controlling power system monitoring
JPH06195318A (en) Distributed processing system
KR960011136B1 (en) Network dualization and its method
CN115378557B (en) Hot standby implementation method, device, system, electronic equipment and storage medium
KR100240969B1 (en) Dual communication unit and communication control method by communicaiton module
JP2000040013A (en) Method for detecting line abnormality for duplex communication system
KR100229434B1 (en) Dual apparatus for controlling data communication
JPH07230301A (en) Decentralized controller
JP2606130B2 (en) Loop network
KR100442433B1 (en) Duplexing apparatus for common control processor of exchanger
JP2003140707A (en) Process controller
JP3003629B2 (en) Digital signal transmission circuit
JP3174663B2 (en) Communication system in multiplex server system
KR0121970B1 (en) Common-bus managing method in an exchanger
JPH0427239A (en) Control method for lan connecting device
JP3411309B2 (en) Multicast communication system
JP3260435B2 (en) Information communication system
JPH06152570A (en) System for system switching processing in duplex data processor
JPH1049451A (en) Automatic switching system for transfer destination in file transfer