JPH1027146A - Communication processor and its method - Google Patents

Communication processor and its method

Info

Publication number
JPH1027146A
JPH1027146A JP8182269A JP18226996A JPH1027146A JP H1027146 A JPH1027146 A JP H1027146A JP 8182269 A JP8182269 A JP 8182269A JP 18226996 A JP18226996 A JP 18226996A JP H1027146 A JPH1027146 A JP H1027146A
Authority
JP
Japan
Prior art keywords
host
communication processing
session
processing device
communication
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
JP8182269A
Other languages
Japanese (ja)
Inventor
Yasuhiro Nakajima
靖博 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Software Kyushu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Kyushu Ltd filed Critical NEC Software Kyushu Ltd
Priority to JP8182269A priority Critical patent/JPH1027146A/en
Publication of JPH1027146A publication Critical patent/JPH1027146A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the concentration of loads into a specific host by grasping the load states of application programs(APs) on respective hosts and opening the cession of an AP terminal on a host having a minimum load with respect to a communication processor for managing a cession between a host and a terminal. SOLUTION: A host communication process 21 in the communication processor 2 retrieves an AP management table 22 for managing the operation states of respective APs in respective hosts 11 to 1n and opens a cession for a host in which an AP to be connected to the cession is in a driven state. When a host having an AP of a driven state does not exist, a cession is opened by judging the load states of respective hosts 11 to 1n from the AP management table 22. When a fault is generated on a certain host, the processor 2 determines a destination to be reconnected to the cession for each AP while considering the load states of respective hosts 11 to 1n and automatically executes the reconnection of the cession.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ファイル共有型の
複数ホストと接続された通信処理装置と、複数の端末を
接続したネットワークにおいて、負荷分散を考慮したA
P切り替えによるセッション分散方法及びそのための装
置に関し、ホストに障害が発生した場合に、端末からセ
ッションの切断、再接続を行わずに、別ホストとのセッ
ションを開設し、業務を継続できる通信処理方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication processing apparatus connected to a plurality of file-sharing hosts and an A-type network in which a plurality of terminals are connected.
A method of distributing a session by switching Ps and a device therefor, in the event of a host failure, a communication processing method capable of opening a session with another host and continuing business without disconnecting or reconnecting the session from the terminal About.

【0002】[0002]

【従来の技術】従来、通信処理装置が、複数のホストに
接続されているネットワークシステム上のセッションの
動的切り替えを行う方法については、特開平1−134
552号公報に開示されている。特開平1−13455
2号公報で開示されている技術は、ホスト切り替え時に
端末利用者の操作を一切強要することなく、ホスト単位
にセッションを自動的に切り替える方法である。
2. Description of the Related Art Conventionally, a method in which a communication processing apparatus dynamically switches sessions on a network system connected to a plurality of hosts is disclosed in Japanese Patent Laid-Open No. 1-134.
No. 552. JP-A-1-134455
The technique disclosed in Japanese Patent Laid-Open No. 2 (1999) -1995 is a method of automatically switching sessions for each host without forcing the operation of a terminal user at the time of switching hosts.

【0003】しかし通信処理装置が接続先の応用プログ
ラム(以降APと呼ぶ)名を用いたセッションの管理を
行い、負荷制御を考慮したセッションの接続、及びホス
ト障害が発生した場合の負荷制御を考慮したセッション
の切り替え方法については開示されていない。
However, the communication processing device manages a session using the name of an application program (hereinafter referred to as an AP) of a connection destination, and considers connection of a session in consideration of load control and load control in the event of a host failure. It does not disclose a method for switching sessions.

【0004】[0004]

【発明が解決しようとする課題】第1の問題点は、従来
の技術において通信処理装置がセッション切り替え時に
切り替え先ホストの負荷状態を意識せず、端末のセッシ
ョンをホストに再接続していた点である。
A first problem is that, in the prior art, the communication processing apparatus reconnects the terminal session to the host without being aware of the load state of the switching destination host when the session is switched. It is.

【0005】その理由は、複数ホストの存在するネット
ワーク上で複数のホストに同一のAPが存在し、通信処
理装置は各ホスト上のAPの負荷状態を把握する手段が
ないため、再接続時に指定されたホストに接続していた
からである。
[0005] The reason is that the same AP exists in a plurality of hosts on a network in which a plurality of hosts exist, and the communication processing apparatus has no means for grasping the load state of the AP on each host. This is because it was connected to the specified host.

【0006】第2の問題点は、従来の技術においてセッ
ションの切り替え時に、ホスト単位にしかセッションの
切り替えを実行できないことである。
A second problem is that session switching can be executed only on a host basis at the time of session switching in the prior art.

【0007】その理由は、通信処理装置がホストのAP
毎に接続されているAPのセッションを管理する手段が
ないからである。
[0007] The reason is that the communication processing device is the host AP.
This is because there is no means for managing the session of the connected AP.

【0008】[発明の目的]本発明の目的は、ホスト端
末間のセッションを管理する通信処理装置において、ホ
スト上のAPの負荷状態を把握し、負荷の最も少ないホ
スト上のAPに端末のセッションを接続することで、複
数ホストのネットワークにおいて負荷が特定のホストに
集中しないようにすることを目的とする。
An object of the present invention is to provide a communication processing apparatus for managing a session between host terminals, which grasps the load state of an AP on a host and transmits a session of the terminal to an AP on a host having the least load. Is connected so that the load does not concentrate on a specific host in a network of a plurality of hosts.

【0009】また、ホストに障害が発生した場合に、端
末の利用者にセッションの再接続という操作を要求せ
ず、AP単位に負荷状態を考慮し、自動的にセッション
を再接続することで、各ホストの性能向上を図ることを
目的とする。
Further, when a failure occurs in the host, the user of the terminal is not required to perform an operation of reconnecting the session, and the session is automatically reconnected in consideration of the load state on an AP basis. The purpose is to improve the performance of each host.

【0010】[0010]

【課題を解決するための手段】本発明は、上述した課題
を解決するための手段として、ファイル共有型の複数ホ
スト(図1の11〜1n)と接続された通信処理装置
(図1の2)と、この通信処理装置と複数の端末(図1
の31〜3m)を通信回線を通じ接続したファイル共有
型マルチプロセッサ環境において、上記通信処理装置内
にホストとの通信を管理するホスト通信プロセス(図1
の21)と、上記通信処理装置が接続している複数ホス
ト上のAPの状態を管理するAP管理テーブル(図1の
22)と、ホストとセッションを開設している複数の端
末の状態を管理するセッション管理テーブル(図1の2
3)と、ホスト通信プロセスに対しAPの抑止コマンド
を通知する通信管理(図1の24)と、を有することを
特徴とする。
According to the present invention, as a means for solving the above-mentioned problems, a communication processing device (2 in FIG. 1) connected to a plurality of file sharing type hosts (11 to 1n in FIG. 1). ), This communication processing device and a plurality of terminals (FIG. 1).
In a file sharing type multiprocessor environment in which the communication processing devices 31 to 3m are connected via a communication line, a host communication process (FIG. 1) for managing communication with a host in the communication processing device.
21), an AP management table (22 in FIG. 1) for managing the states of the APs on a plurality of hosts connected to the communication processing device, and managing the states of a plurality of terminals that have established sessions with the hosts. Session management table (2 in FIG. 1)
3) and communication management (24 in FIG. 1) for notifying the host communication process of an AP suppression command.

【0011】AP管理テーブル22は、各ホストのAP
の状態を通信処理装置上で管理するための資源である。
APの状態は稼働,待機,稼働待ちの3種類とする。稼
働状態とは、当該ホスト上のAPは活性状態にありセッ
ションの開設が可能な状態を示す。待機状態とは、当該
ホスト上のAPは活性状態にあるがセッションの開設が
拒否される状態を示す。稼働待ち状態とは、当該ホスト
上のAPが活性状態にないことを示し、APが活性状態
になるとAPの状態は待機に変更される。
The AP management table 22 stores the AP of each host.
Is a resource for managing the state of the communication processing device on the communication processing device.
There are three types of AP states: active, standby, and standby. The operating state indicates that the AP on the host is in an active state and a session can be opened. The standby state indicates a state in which the AP on the host is in an active state, but the establishment of a session is refused. The operation waiting state indicates that the AP on the host is not in the active state, and when the AP becomes active, the state of the AP is changed to standby.

【0012】また、上記通信処理装置は上記ホストとの
接続回線の障害を検知する手段を持つことが望ましい。
It is desirable that the communication processing device has means for detecting a failure in a connection line with the host.

【0013】[作用]ホスト通信プロセスがホストとの
通信障害を検出した場合、あるいは通信管理がホスト通
信プロセスに対しAPの抑止コマンドを投入した場合、
ホスト通信プロセスは、通信処理装置内のAP管理テー
ブル上を検索し、該当APの稼働状態を稼働から稼働待
ちに変更する。次にAP管理テーブルを検索し、稼働待
ちにしたAPの代わりにAPを稼働状態にするホストを
決定する。ホストの決定後、AP管理テーブル上の該当
ホストのAP稼働状態フィールドを待機から稼働に変更
する。
[Operation] When the host communication process detects a communication failure with the host, or when the communication management issues an AP suppression command to the host communication process,
The host communication process searches the AP management table in the communication processing device, and changes the operating state of the corresponding AP from active to standby. Next, the AP management table is searched to determine a host that puts the AP in operation instead of the AP that has been waiting for operation. After the host is determined, the AP operation status field of the corresponding host on the AP management table is changed from standby to active.

【0014】AP管理テーブルの状態変更完了後、通信
処理装置内部のセッション管理テーブルを検索し状態を
変更したAPに接続されたセッションがある場合、セッ
ション管理テーブル上の接続先APのホストアドレスを
変更する。ホストアドレスを変更したことで、以降の端
末からAPへの接続要求時に接続されるホストは変更さ
れることになる。
After the status change of the AP management table is completed, the session management table inside the communication processing apparatus is searched, and if there is a session connected to the AP whose status has been changed, the host address of the connection destination AP on the session management table is changed. I do. By changing the host address, the host to be connected at the time of a subsequent connection request from the terminal to the AP is changed.

【0015】つまり、本発明によれば、ホスト通信プロ
セスが、各ホストの負荷を考慮して稼働状態にするAP
を決定しているため、各ホストの負荷分散をユーザが意
識しなくとも良いという作用が得られる。
That is, according to the present invention, the host communication process allows the AP to be brought into the operating state in consideration of the load of each host.
Is determined, the effect that the user does not need to be aware of the load distribution of each host can be obtained.

【0016】図1の本発明の概略構成図を参照しなが
ら、更に説明すると、まず、通信処理装置2上のホスト
通信プロセス21が、各ホスト上の応用プログラム(A
P)の動作状態を管理するAP管理テーブル22を検索
し、セッション接続対象のAPが稼働状態となっている
ホストに対しセッションを開設する。
Referring further to the schematic configuration diagram of the present invention shown in FIG. 1, first, a host communication process 21 on the communication processing apparatus 2 executes an application program (A) on each host.
The AP management table 22 that manages the operation state of P) is searched, and a session is established with the host in which the AP to which the session is to be connected is in operation.

【0017】APが稼働状態にあるホストが存在しない
場合、各ホストの負荷状態をAP管理テーブルから判断
してセッションを開設する。
If there is no host in which the AP is in operation, the session is opened by judging the load status of each host from the AP management table.

【0018】また、開設したセッションの端末名、端末
アドレス,接続先AP名,接続先ホストアドレスをセッ
ション管理テーブル23に設定し、開設したセッション
の情報を管理する。
The terminal name, terminal address, connection destination AP name, and connection destination host address of the established session are set in the session management table 23, and information of the established session is managed.

【0019】ホスト上で障害が発生した場合、通信処理
装置が各ホストの負荷状態を考慮し、AP単位にセッシ
ョンの再接続先を決定し、セッションの再接続を自動的
に行う。
When a failure occurs on a host, the communication processing apparatus determines a session reconnection destination for each AP in consideration of the load state of each host, and automatically reconnects the session.

【0020】通信管理24からAPの抑止が要求された
場合も、通信処理装置が各ホストの負荷状態を考慮しセ
ッションの再接続先を決定し、セッションの再接続を自
動的に行う。
When the suppression of the AP is requested from the communication management 24, the communication processing device determines the reconnection destination of the session in consideration of the load state of each host, and automatically reconnects the session.

【0021】以上、本発明によれば、ホストと端末間の
セッションを管理する通信処理装置において、ホスト上
のAPの負荷状態を把握し負荷の最も少ないホスト上の
APの端末のセッションを開設することで、負荷が特定
のホストに集中することを防ぐことができる。
As described above, according to the present invention, in a communication processing apparatus for managing a session between a host and a terminal, the load state of the AP on the host is grasped, and a session of the terminal of the AP on the host with the least load is established. This can prevent the load from being concentrated on a specific host.

【0022】[0022]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

[実施例1]次に、本発明の実施例について図面を参照
して詳細に説明する。
Embodiment 1 Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0023】図1を参照すると、本発明の第一の形態は
ファイル共有型の複数のホスト群1と、ホスト群と情報
を送受信するための伝送路(以降、データリンクと称
す)を確立している通信処理装置2と、通信回線により
通信処理装置2と接続している端末群3を含む。ホスト
群1は最大n台のホストからなるマルチプロセッサ環境
を構成しており、これらのホスト上に複数のAPが存在
する。各APはn台中1台のホストのみで稼働状態にあ
る。
Referring to FIG. 1, a first embodiment of the present invention establishes a plurality of file sharing type host groups 1 and a transmission path (hereinafter referred to as a data link) for transmitting and receiving information to and from the host groups. And a group of terminals 3 connected to the communication processing device 2 via a communication line. The host group 1 configures a multiprocessor environment including a maximum of n hosts, and a plurality of APs exist on these hosts. Each AP is operating only on one of the n hosts.

【0024】通信処理装置2は、ホスト・端末間のセッ
ションの確立を制御するホスト通信プロセス21と、通
信処理装置がデータリンクを確立している全ホスト上の
APの稼働状態を管理するためのAP管理テーブル22
と、通信処理装置を介しホスト上のAPとセッションを
確立している端末のセッションの情報を管理するための
セッション管理テーブル23と、利用者がホスト上のA
Pの稼働、抑止を行う場合にコマンドを投入するための
通信管理24を含む。
The communication processing device 2 includes a host communication process 21 for controlling the establishment of a session between the host and the terminal, and a communication processing device for managing the operating states of the APs on all the hosts with which the data link has been established. AP management table 22
A session management table 23 for managing session information of a terminal that has established a session with the AP on the host via the communication processing device;
It includes a communication management 24 for inputting a command when performing operation and suppression of P.

【0025】端末群3は、最大m台の端末からなり、そ
れぞれホスト群1中のあるホスト上のAPとのセッショ
ンを確立している。各端末は端末群3の中で一意な端末
アドレスを持つ。
The terminal group 3 is composed of a maximum of m terminals, and each has established a session with an AP on a certain host in the host group 1. Each terminal has a unique terminal address in the terminal group 3.

【0026】図2は、本発明のホスト群1中の各ホスト
のAP構成を示した図である。それぞれのホストにはホ
ストアドレスが割り振られ、通信管理に接続されたホス
ト群1内部で一意な値である。例えばホスト1には、ホ
ストアドレス11が割り振られ、ホスト1の内部にはA
PがAP1〜AP3とAP5〜AP6の5つのAPが存
在し、そのうち稼働状態にあるAPはAP2である。
FIG. 2 is a diagram showing the AP configuration of each host in the host group 1 of the present invention. Each host is assigned a host address, and is a unique value within the host group 1 connected to the communication management. For example, a host address 11 is allocated to the host 1, and A
P has five APs, AP1 to AP3 and AP5 to AP6, of which the AP in operation is AP2.

【0027】図3は、通信処理装置内部のAP管理テー
ブル22の内容を示した図である。AP管理テーブルは
ホスト群1に存在する全てのAPについて、各ホスト毎
にそのAPの稼働状態を格納したテーブルである。AP
の稼働は稼働,待機,稼働待ちの3種類であり、APの
状態が稼働であるホスト上のAPに対してセッションの
開設が可能である。ホスト障害、あるいはAPの切り替
え時には稼働から稼働待ちに状態を変更し、該当APに
対するセッション開設は行えない。ホスト通信プロセス
は端末からのセッション開設要求時に指定されるAP名
を元にAP管理テーブルを検索し、該当APが稼働状態
になっているホストを検出しそのホストに対しセッショ
ンを開設する。
FIG. 3 is a diagram showing the contents of the AP management table 22 inside the communication processing device. The AP management table is a table in which, for all the APs existing in the host group 1, the operating state of each AP is stored for each host. AP
There are three types of operation: operation, standby, and operation standby, and a session can be established with an AP on a host whose AP status is active. At the time of host failure or AP switching, the state is changed from operation to operation waiting, and a session cannot be opened for the AP. The host communication process searches the AP management table based on the AP name specified at the time of a session establishment request from the terminal, detects a host in which the corresponding AP is in operation, and establishes a session with the host.

【0028】図4は、通信処理装置内部のセッション管
理テーブル23の内容を示した図である。セッション管
理テーブルは通信処理装置を介し、端末−ホスト間のセ
ッションを開設した端末の情報を格納したテーブルであ
る。ホスト通信プロセスは端末からのセッションを開設
する際に、セッション管理テーブルにその端末のアドレ
ス,端末名,接続先AP名,接続先APのホストアドレ
スを格納する。
FIG. 4 is a diagram showing the contents of the session management table 23 inside the communication processing device. The session management table is a table that stores information on the terminal that has established a session between the terminal and the host via the communication processing device. When establishing a session from a terminal, the host communication process stores the address, terminal name, connection destination AP name, and host address of the connection destination AP in the session management table.

【0029】次に、本発明の実施例の動作について、図
1〜図8を参照して詳細に説明する。図1に示す端末3
1からAP1に対するセッション開設要求を行う。セッ
ション開設要求を通信処理装置(図1の2)が受けた段
階で、通信処理装置内のホスト通信プロセス(図1の2
1)は接続先ホストアドレス決定処理(図5)を行う。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIGS. Terminal 3 shown in FIG.
1 issues a session establishment request to AP1. When the communication processing device (2 in FIG. 1) receives the session opening request, the host communication process (2 in FIG. 1) in the communication processing device.
1) performs a connection destination host address determination process (FIG. 5).

【0030】図5の接続先ホストアドレス決定処理で
は、入力パラメータ“AP1”から1回目のデータ検索
で稼働ホストアドレス検索処理(図6)に移行する(図
5のステップ51,52,53,55)。
In the connection destination host address determination processing of FIG. 5, the processing shifts to the operation host address search processing (FIG. 6) in the first data search from the input parameter "AP1" (steps 51, 52, 53, 55 of FIG. 5). ).

【0031】図6の稼働ホストアドレス検索処理では、
AP管理テーブルのAP1の稼働状態フィールドを検索
し、AP1が稼働状態になっているホストアドレスの取
得処理を実行する。しかし、AP1はAP管理テーブル
上で稼働状態になっているホストが存在しないため、A
P稼働ホスト決定処理(図7)に移行する(図6のステ
ップ61,62,63,66,64)。
In the operation host address search processing of FIG.
The operation state field of AP1 in the AP management table is searched, and a process of acquiring a host address in which AP1 is in operation state is executed. However, AP1 does not have any active hosts on the AP management table.
The process proceeds to the P operation host determination processing (FIG. 7) (steps 61, 62, 63, 66, 64 in FIG. 6).

【0032】図7のAP稼働ホスト決定処理では、全ホ
ストを対象に稼働ホスト決定処理を実行するため、入力
パラメータの除外ホストアドレスは指定しない。図7の
処理では、全ホスト分AP管理テーブルを検索し、“A
P1”の定義されているホストで稼働AP数が最も少な
く、条件に該当するホストが複数ある場合は最も待機A
P数が少ないホストを稼働対象ホストとする(図7のス
テップ71,72,73,74,75,76,77,7
8,79,7B,7C,7D,7E)。この場合は、ホ
ストアドレス11のホストがAP1の稼働対象ホストと
なり、AP管理テーブルのホストアドレス11のAP1
稼働状態フィールドを待機から稼働に変更する。
In the AP operation host determination process of FIG. 7, since the operation host determination process is executed for all the hosts, the exclusion host address of the input parameter is not specified. In the process of FIG. 7, the AP management table for all hosts is searched, and "A
Standby A when the number of operating APs is the smallest among the hosts defined as P1 "and there are a plurality of hosts meeting the conditions.
A host having a small number of Ps is set as an operation target host (steps 71, 72, 73, 74, 75, 76, 77, 7 in FIG. 7).
8, 79, 7B, 7C, 7D, 7E). In this case, the host having the host address 11 is the operation target host of the AP 1 and the AP 1 having the host address 11 in the AP management table.
Change the operation status field from standby to active.

【0033】セッション開設ホストアドレス決定後、ホ
スト通信プロセスはホストアドレス11上のAP1に対
しセッションを開設する。セッションの開設完了後、ホ
スト通信プロセスは通信処理装置内のセッション管理テ
ーブル(図4)に開設したセッションの情報を格納す
る。この場合、端末名に端末1、端末アドレスに31、
接続先AP名にAP1,及び接続先ホストアドレスに1
1を設定する。
After establishing the host address, the host communication process establishes a session with AP 1 on host address 11. After the establishment of the session is completed, the host communication process stores the information of the established session in the session management table (FIG. 4) in the communication processing device. In this case, the terminal name is terminal 1, the terminal address is 31,
AP1 for connection destination AP name and 1 for connection destination host address
Set 1.

【0034】以上の動作により、AP名を用いホストの
負荷状態を考慮に入れたセッション開設が達成される。
以降、AP1に対するセッション開設要求が通信処理装
置に上がってきた場合、ホスト通信プロセスは、図5,
図6の処理によりAP管理テーブル上でAP1が稼働状
態にあるホストを検索し、検索結果のホスト(ホストア
ドレス11)に対しセッションを開設する。
With the above operation, a session is established using the AP name in consideration of the load state of the host.
Thereafter, when a session establishment request to AP1 is sent to the communication processing device, the host communication process is performed as shown in FIG.
The process of FIG. 6 searches the AP management table for a host in which AP1 is in operation, and establishes a session with the host (host address 11) of the search result.

【0035】次に、ホスト通信プロセス21がホスト1
との通信異常を検出した場合、ホスト通信プロセスは接
続先変更AP名検索処理(図8)を実行する。
Next, the host communication process 21
If a communication error is detected with the host, the host communication process executes a connection destination change AP name search process (FIG. 8).

【0036】図8の接続先変更AP名検索処理では、ホ
スト1を入力パラメータとしてAP管理テーブルを検索
し接続先を変更する必要のあるAP名を取得する。この
場合、まずAP1が接続先変更対象となる(図8のステ
ップ81,82,83,86)。
In the connection destination change AP name search processing of FIG. 8, the host 1 is used as an input parameter to search the AP management table to obtain an AP name for which the connection destination needs to be changed. In this case, first, AP1 is a connection destination change target (steps 81, 82, 83, 86 in FIG. 8).

【0037】次に、図7のAP稼働ホスト決定処理を実
行する。APを稼働状態にするホストは、AP管理テー
ブル中で稼働AP数が最も少ないホストとする。該当す
るホストが複数存在する場合は、当該ホスト中で待機A
P数が最も少ないホストをAP稼働ホストとする。この
場合、AP1,ホストアドレス11が入力パラメータと
なり、ホスト2(ホストアドレス12)がAP1の稼働
対象ホストとなる(図7のステップ71〜7e)。同様
に、AP2はホスト6(ホストアドレス16)が稼働対
象ホストになる(図7のステップ71〜7e)。
Next, the AP operation host determination processing of FIG. 7 is executed. The host that brings the AP into the operating state is the host with the smallest number of operating APs in the AP management table. If there are multiple corresponding hosts, standby A
The host with the smallest number of Ps is set as the AP operation host. In this case, AP1 and host address 11 are input parameters, and host 2 (host address 12) is an operation target host of AP1 (steps 71 to 7e in FIG. 7). Similarly, in the AP 2, the host 6 (host address 16) becomes the operation target host (steps 71 to 7e in FIG. 7).

【0038】AP切り替え先のホスト決定後、ホスト1
の稼働状態だったAPの稼働状態を稼働から稼働待ちに
変更する。この場合、AP管理テーブルのAP1,AP
2の稼働状態フィールドを稼働から稼働待ちに変更す
る。ホスト1のAP抑止完了後、AP管理テーブル上で
ホスト2のAP1稼働状態フィールドを稼働に、同様に
ホスト6のAP2稼働状態フィールドを稼働に変更す
る。
After determining the host to which the AP is to be switched, the host 1
The operating state of the AP that has been in the operating state is changed from operating to operating waiting. In this case, AP1, AP in the AP management table
The operation status field 2 is changed from operation to operation waiting. After the AP suppression of the host 1 is completed, the AP1 operation state field of the host 2 is changed to operation on the AP management table, and similarly, the AP2 operation state field of the host 6 is changed to operation.

【0039】次に端末とホストのセッションを切り替え
るため、図4のセッション管理テーブルを検索する。セ
ッション管理テーブル中から障害発生ホストのホストア
ドレスに対しセッションを開設していた端末を検索し、
接続先AP毎にホストアドレスを変更する。この場合、
端末1,端末3の接続先APホストアドレスを11から
12に変更する。同様に端末2の接続先ホストアドレス
を11から16に変更する。以上の動作でホストの障害
発生時に、AP名を用い負荷分散を考慮したセッション
の切り替えが達成される。
Next, in order to switch the session between the terminal and the host, the session management table shown in FIG. 4 is searched. Search the session management table for the terminal that has established a session for the host address of the failed host,
The host address is changed for each connection destination AP. in this case,
The connection destination AP host addresses of the terminals 1 and 3 are changed from 11 to 12. Similarly, the connection destination host address of the terminal 2 is changed from 11 to 16. With the above operation, when a failure occurs in the host, session switching is achieved by using the AP name and considering load distribution.

【0040】また通信処理装置内の通信管理(図1の2
4)からAP1の抑止コマンドが投入された場合、管理
テーブルからAP1が稼働状態になっているホストのホ
ストアドレスを取得する(図5のステップ51,52,
53、図6のステップ61,62,65)。この場合、
ホスト1のホストアドレス11が取得できる。同時に、
ホスト1のAP1稼働状態フィールドを稼働から稼働待
ちに変更し、ホスト1上のAP1を新たなセッション確
立要求に対する接続先から除外する。
Communication management in the communication processing device (2 in FIG. 1)
When the suppression command for AP1 is input from 4), the host address of the host in which AP1 is in operation is acquired from the management table (steps 51, 52, and 52 in FIG. 5).
53, steps 61, 62, 65 in FIG. 6). in this case,
The host address 11 of the host 1 can be obtained. at the same time,
The AP1 operation status field of the host 1 is changed from active to standby, and AP1 on the host 1 is excluded from the connection destination for the new session establishment request.

【0041】次に、図7に示すAP稼働ホスト決定処理
(図7の71〜7e)により、AP1を稼働状態にする
ホストを決定する。この場合AP1を新たに稼働状態に
するのは、ホスト2(ホストアドレス12)となる。次
にセッション管理テーブル(図4)を検索し、ホストア
ドレス11に接続されていた端末の接続先APホストア
ドレスを12に変更する。この場合、端末1の接続先A
Pホストアドレスを11から12に変更する。以上の処
理により、AP名を用いた負荷制御を考慮したセッショ
ンの切り替えが実現する。
Next, a host for bringing the AP 1 into the operating state is determined by the AP operating host determining process (71 to 7e in FIG. 7) shown in FIG. In this case, it is the host 2 (host address 12) that newly sets the AP 1 to the operating state. Next, the session management table (FIG. 4) is searched, and the connection destination AP host address of the terminal connected to the host address 11 is changed to 12. In this case, the connection destination A of the terminal 1
Change the P host address from 11 to 12. With the above processing, the switching of the session in consideration of the load control using the AP name is realized.

【0042】[実施例2]次に、本発明の第2の実施例
について図面を参照して説明する。第2の実施例(図
9)は、通信処理装置をn台に拡張したものである。第
一の実施例では最大m本のセッションを通信処理装置で
管理していたが、第二の実施例では一台の通信処理装置
あたりm/n本のセッションを管理すればよい。通信処
理装置一台あたりの管理セッション数が減少すること
で、セッションの切り替え時のセッション管理テーブル
の検索件数が減少し、切り替え処理の処理速度向上を図
ることが可能となる。
Embodiment 2 Next, a second embodiment of the present invention will be described with reference to the drawings. In the second embodiment (FIG. 9), the number of communication processing devices is increased to n. In the first embodiment, a maximum of m sessions are managed by the communication processing device. In the second embodiment, m / n sessions may be managed per communication processing device. Since the number of management sessions per communication processing device is reduced, the number of searches of the session management table at the time of session switching is reduced, and the processing speed of the switching process can be improved.

【0043】[0043]

【発明の効果】第1の効果は、ホスト障害、あるいはA
Pの抑止コマンド投入時に通信処理装置が再接続先のホ
ストを決定し、接続先ホストの変更処理を行うことであ
る。これにより、負荷分散を考慮しつつ自動的にセッシ
ョンの切り替えが可能となる。
The first effect is that a host failure or A
That is, when the suppression command of P is input, the communication processing device determines the host of the reconnection destination and performs the process of changing the connection destination host. As a result, the session can be automatically switched while considering the load distribution.

【0044】その理由は、ホスト障害あるいはAPの抑
止コマンド投入時に、通信処理装置が負荷が最も少ない
ホストを稼働AP数,待機AP数から判断しホスト障害
を起こしたホスト上で動作中のAP、あるいは抑止対象
のAPにセッションを開設していた端末のセッションを
自動的に切り替えるからである。
The reason is that, when a host failure or an AP suppression command is input, the communication processing device determines the host with the smallest load from the number of active APs and the number of standby APs, Alternatively, the session of the terminal that has established a session with the AP to be inhibited is automatically switched.

【0045】第2の効果は、端末からのセッション開設
時に、通信処理装置が接続先のホストを決定するという
ことである。これにより負荷分散を考慮したセッション
の開設が可能となる。
A second effect is that when a session is opened from a terminal, the communication processing device determines a host to be connected. This makes it possible to open a session in consideration of load distribution.

【0046】その理由は、セッション開設要求時に接続
対象APが全てのホストで稼働状態にない場合、各ホス
トの負荷状態を稼働AP数で判断し稼働AP数の最も少
ないホスト上のAPを稼働状態とし、そのAPに対しセ
ッションを開設するからである。
The reason is that, when the connection target AP is not operating in all the hosts at the time of the session opening request, the load state of each host is determined by the number of operating APs, and the AP on the host with the smallest number of operating APs is operated. This is because a session is established with the AP.

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

【図1】本発明のシステム構成を示す図である。FIG. 1 is a diagram showing a system configuration of the present invention.

【図2】図1のホスト群1の各ホストのAP構成図であ
る。
FIG. 2 is an AP configuration diagram of each host of a host group 1 of FIG. 1;

【図3】図1の通信処理装置のAP管理テーブルであ
る。
FIG. 3 is an AP management table of the communication processing apparatus of FIG. 1;

【図4】図1の通信処理装置のセッション管理テーブル
である。
FIG. 4 is a session management table of the communication processing device of FIG. 1;

【図5】接続先ホストアドレス決定処理フロー図であ
る。
FIG. 5 is a flowchart of a connection destination host address determination process.

【図6】稼働ホストアドレス検索処理フロー図である。FIG. 6 is a flowchart of an operating host address search process;

【図7】AP稼働ホスト決定処理フロー図である。FIG. 7 is a flowchart of an AP operation host determination process.

【図8】接続先変更AP検索処理フロー図である。FIG. 8 is a flowchart of a connection destination change AP search process.

【図9】本発明の他の実施例のシステム構成図である。FIG. 9 is a system configuration diagram of another embodiment of the present invention.

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

1 ファイル共有型中央処理装置群 11〜1n ファイル共有型中央処理装置 2 通信処理装置 21 ホスト通信プロセス 22 AP管理テーブル 23 セッション管理テーブル 24 通信管理 3 端末装置群 31〜3m 端末 DESCRIPTION OF SYMBOLS 1 File sharing type central processing unit 11-11n File sharing type central processing unit 2 Communication processing unit 21 Host communication process 22 AP management table 23 Session management table 24 Communication management 3 Terminal device group 31-3m Terminal

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ファイル共有型の複数のホスト計算機に
通信処理装置を接続し、この通信処理装置と複数の端末
をつないだネットワークにおいて、 前記ホストと、前記端末装置との間のセッション管理を
行うための資源と、 前記通信処理装置に接続された複数の前記ホスト上の応
用プログラム(AP)の状態を把握するための資源と、 前記APに接続している端末の状態を把握するための資
源と、を有することを特徴とする通信処理装置。
1. A communication processing device is connected to a plurality of file sharing type host computers, and a session between the host and the terminal device is managed in a network connecting the communication processing device and a plurality of terminals. Resources for ascertaining the states of application programs (APs) on the plurality of hosts connected to the communication processing device, and resources for ascertaining the states of terminals connected to the APs And a communication processing device comprising:
【請求項2】 上記ホスト計算機と上記端末間のセッシ
ョンを管理する際に、上記AP名を用いたセッションの
管理を行なう手段を有することを特徴とする請求項1記
載の通信処理装置。
2. The communication processing apparatus according to claim 1, further comprising means for managing a session using the AP name when managing a session between the host computer and the terminal.
【請求項3】 上記セッションを開設する際に、上記各
ホストの負荷状態を考慮してセッション開設対象を決定
する手段を有することを特徴とする請求項1記載の通信
処理装置。
3. The communication processing apparatus according to claim 1, further comprising: means for determining a session establishment target in consideration of a load state of each host when establishing the session.
【請求項4】 ファイル共有型の複数ホストと接続され
た通信処理装置と、この通信処理装置と複数の端末を通
信回線を通じ接続したファイル共有型マルチプロセッサ
環境において、 上記通信処理装置内にホストとの通信を管理するホスト
通信プロセスと、 上記通信処理装置が接続している複数ホスト上のAPの
状態を管理するAP管理テーブルと、 ホストとセッションを開設している複数の端末の状態を
管理するセッション管理テーブルと、 ホスト通信プロセスに対しAPの抑止コマンドを通知す
る通信管理と、を有することを特徴とする請求項1記載
の通信処理装置。
4. A communication processing device connected to a plurality of file sharing type hosts, and a file sharing type multiprocessor environment in which the communication processing device and a plurality of terminals are connected through a communication line, wherein a host is included in the communication processing device. A host communication process for managing the communication of the communication processing device, an AP management table for managing the states of the APs on a plurality of hosts connected to the communication processing device, and managing the states of a plurality of terminals that have opened a session with the host. The communication processing device according to claim 1, further comprising: a session management table; and communication management for notifying the host communication process of an AP suppression command.
【請求項5】 上記ホスト障害あるいはAPの抑止コマ
ンド投入時に、上記通信処理装置が、負荷が最も少ない
ホストを、稼働AP数、待機AP数から判断し、ホスト
障害を起こしたホスト上で動作中のAP、あるいは抑止
対象のAPにセッションを開設していた上記端末のセッ
ションを自動的に切り替えることを特徴とする請求項1
記載の通信処理装置。
5. When the host failure or AP suppression command is input, the communication processing device determines the host with the smallest load from the number of active APs and the number of standby APs, and is operating on the host on which the host failure has occurred. 2. The method according to claim 1, wherein a session of the terminal that has opened a session with an AP or an AP to be suppressed is automatically switched.
The communication processing device according to claim 1.
【請求項6】 セッション開設要求時に、接続対象AP
が全てのホストで稼働状態にない場合、各ホストの負荷
状態を稼働AP数で判断し、稼働AP数の最も少ないホ
スト上のAPを稼働状態とし、そのAPに対しセッショ
ンを開設することを特徴とする請求項1記載の通信処理
装置。
6. A connection target AP at the time of a session establishment request
Is not active on all hosts, the load status of each host is determined by the number of active APs, the AP on the host with the least number of active APs is activated, and a session is opened for that AP. The communication processing device according to claim 1.
【請求項7】 複数の上記通信処理装置を有することを
特徴とする請求項1記載の通信処理装置。
7. The communication processing device according to claim 1, comprising a plurality of said communication processing devices.
【請求項8】 ファイル共有型の複数のホスト計算機に
通信処理装置を接続し、この通信処理装置と複数の端末
をつないだネットワークにおいて、 前記ホストと、前記端末装置との間のセッション管理を
行うための資源と、 前記通信処理装置に接続された複数の前記ホスト上の応
用プログラム(AP)の状態を把握するための資源と、 前記APに接続している端末の状態を把握するための資
源と、を有し、 前記各ホストに対する負荷分散を考慮したAP名を用い
た切り替えによるセッション分散を行なうことを特徴と
する通信処理方法。
8. A communication processing apparatus is connected to a plurality of file sharing type host computers, and in a network connecting the communication processing apparatus and a plurality of terminals, a session between the host and the terminal apparatus is managed. Resources for ascertaining the states of application programs (APs) on the plurality of hosts connected to the communication processing device, and resources for ascertaining the states of terminals connected to the APs A communication processing method comprising: performing session distribution by switching using an AP name in consideration of load distribution to each host.
JP8182269A 1996-07-11 1996-07-11 Communication processor and its method Pending JPH1027146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8182269A JPH1027146A (en) 1996-07-11 1996-07-11 Communication processor and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8182269A JPH1027146A (en) 1996-07-11 1996-07-11 Communication processor and its method

Publications (1)

Publication Number Publication Date
JPH1027146A true JPH1027146A (en) 1998-01-27

Family

ID=16115313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8182269A Pending JPH1027146A (en) 1996-07-11 1996-07-11 Communication processor and its method

Country Status (1)

Country Link
JP (1) JPH1027146A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000076162A (en) * 1998-09-01 2000-03-14 Nippon Telegr & Teleph Corp <Ntt> Pre-processor for reception processing server
JP2000330957A (en) * 1999-03-31 2000-11-30 Internatl Business Mach Corp <Ibm> Use of virtual url for load balancing
WO2002044905A1 (en) * 2000-11-29 2002-06-06 Flex-Firm Inc. Session management method for providing contents
JP2002532013A (en) * 1998-12-03 2002-09-24 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Network management system
WO2006057040A1 (en) * 2004-11-26 2006-06-01 Fujitsu Limited Computer system and information processing method
JP2006236040A (en) * 2005-02-25 2006-09-07 Fujitsu Ltd Distributed server failure response program, server load distribution device and method
JP2007156569A (en) * 2005-11-30 2007-06-21 Fujitsu Ltd Cluster system, load balancer, method of transferring node, and node transfer program
US8266253B2 (en) 2008-01-08 2012-09-11 Nec Corporation Server system and event message transmission method therefor, client terminal and connection method and program therefor, and recording medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0434640A (en) * 1990-05-31 1992-02-05 Nec Corp Calculation server host selecting system
JPH0589064A (en) * 1991-09-25 1993-04-09 Nec Corp Load dispersing system of device control part in computer system
JPH05134959A (en) * 1991-11-14 1993-06-01 Matsushita Electric Ind Co Ltd Remote service execution control system
JPH05173990A (en) * 1991-12-24 1993-07-13 Mitsubishi Electric Corp Data processing system
JPH05265954A (en) * 1992-03-19 1993-10-15 Chugoku Nippon Denki Software Kk Computer system
JPH06149737A (en) * 1992-11-04 1994-05-31 Yamaha Motor Co Ltd Device for operation control and computer system equipped with the same
JPH06243112A (en) * 1993-02-19 1994-09-02 Seiko Epson Corp Multiprocessor device
JPH0830471A (en) * 1994-07-14 1996-02-02 Hitachi Ltd Execution processor change system for job

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0434640A (en) * 1990-05-31 1992-02-05 Nec Corp Calculation server host selecting system
JPH0589064A (en) * 1991-09-25 1993-04-09 Nec Corp Load dispersing system of device control part in computer system
JPH05134959A (en) * 1991-11-14 1993-06-01 Matsushita Electric Ind Co Ltd Remote service execution control system
JPH05173990A (en) * 1991-12-24 1993-07-13 Mitsubishi Electric Corp Data processing system
JPH05265954A (en) * 1992-03-19 1993-10-15 Chugoku Nippon Denki Software Kk Computer system
JPH06149737A (en) * 1992-11-04 1994-05-31 Yamaha Motor Co Ltd Device for operation control and computer system equipped with the same
JPH06243112A (en) * 1993-02-19 1994-09-02 Seiko Epson Corp Multiprocessor device
JPH0830471A (en) * 1994-07-14 1996-02-02 Hitachi Ltd Execution processor change system for job

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000076162A (en) * 1998-09-01 2000-03-14 Nippon Telegr & Teleph Corp <Ntt> Pre-processor for reception processing server
JP2002532013A (en) * 1998-12-03 2002-09-24 ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー Network management system
JP2000330957A (en) * 1999-03-31 2000-11-30 Internatl Business Mach Corp <Ibm> Use of virtual url for load balancing
WO2002044905A1 (en) * 2000-11-29 2002-06-06 Flex-Firm Inc. Session management method for providing contents
WO2006057040A1 (en) * 2004-11-26 2006-06-01 Fujitsu Limited Computer system and information processing method
JPWO2006057040A1 (en) * 2004-11-26 2008-06-05 富士通株式会社 Computer system and information processing method
JP4526539B2 (en) * 2004-11-26 2010-08-18 富士通株式会社 Computer system and information processing method
US8204993B2 (en) 2004-11-26 2012-06-19 Fujitsu Limited Computer system and information processing method
JP4616035B2 (en) * 2005-02-25 2011-01-19 富士通株式会社 Server load balancing program, apparatus and method
JP2006236040A (en) * 2005-02-25 2006-09-07 Fujitsu Ltd Distributed server failure response program, server load distribution device and method
JP2007156569A (en) * 2005-11-30 2007-06-21 Fujitsu Ltd Cluster system, load balancer, method of transferring node, and node transfer program
JP4616159B2 (en) * 2005-11-30 2011-01-19 富士通株式会社 Cluster system, load balancer, node transfer method, and node transfer program
US8266253B2 (en) 2008-01-08 2012-09-11 Nec Corporation Server system and event message transmission method therefor, client terminal and connection method and program therefor, and recording medium

Similar Documents

Publication Publication Date Title
CN108650182B (en) Network communication method, system, device, equipment and storage medium
US10735553B2 (en) Micro-services in a telecommunications network
CN110113441B (en) Computer equipment, system and method for realizing load balance
US20190028538A1 (en) Method, apparatus, and system for controlling service traffic between data centers
EP2559206B1 (en) Method of identifying destination in a virtual environment
EP2993838B1 (en) Methods for setting a member identity of gateway device and corresponding management gateway devices
US6324177B1 (en) Method and apparatus for managing connections based on a client IP address
US8099615B2 (en) Method and system for power management in a virtual machine environment without disrupting network connectivity
US9037719B2 (en) Hypervisor level distributed load-balancing
US7120697B2 (en) Methods, systems and computer program products for port assignments of multiple application instances using the same source IP address
US7711831B2 (en) Methods, systems and computer program products for source address selection
US11153194B2 (en) Control plane isolation for software defined network routing services
US20130159487A1 (en) Migration of Virtual IP Addresses in a Failover Cluster
CN111638957B (en) Method for realizing cluster sharing type public cloud load balance
US20090150529A1 (en) Method and system for enforcing resource constraints for virtual machines across migration
CN108063813B (en) Method and system for parallelizing password service network in cluster environment
JP2014534492A (en) System and method for providing load balancing and data compression flexibility in a traffic director environment
US20230195488A1 (en) Teaming of smart nics
US11418582B1 (en) Priority-based transport connection control
CN110474802B (en) Equipment switching method and device and service system
EP4068725A1 (en) Load balancing method and related device
WO2013186825A1 (en) Computer system, communication control server, communication control method, and program
CN115225634A (en) Data forwarding method and device under virtual network and computer program product
CN113709220A (en) High-availability realization method and system of virtual load balancer and electronic equipment
JPH1027146A (en) Communication processor and its method