JP2812274B2 - Transaction load balancing system for loosely coupled multi-computer systems - Google Patents

Transaction load balancing system for loosely coupled multi-computer systems

Info

Publication number
JP2812274B2
JP2812274B2 JP7320526A JP32052695A JP2812274B2 JP 2812274 B2 JP2812274 B2 JP 2812274B2 JP 7320526 A JP7320526 A JP 7320526A JP 32052695 A JP32052695 A JP 32052695A JP 2812274 B2 JP2812274 B2 JP 2812274B2
Authority
JP
Japan
Prior art keywords
message
host
processing
transaction
host computer
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.)
Expired - Fee Related
Application number
JP7320526A
Other languages
Japanese (ja)
Other versions
JPH09160888A (en
Inventor
知己 菅野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7320526A priority Critical patent/JP2812274B2/en
Publication of JPH09160888A publication Critical patent/JPH09160888A/en
Application granted granted Critical
Publication of JP2812274B2 publication Critical patent/JP2812274B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Description

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

【発明の属する技術分野】本発明は、疎結合多重計算機
システムにおけるトランザクション処理システムに関
し、特にメッセージ形式のバージョンが異なるメッセー
ジを処理するトランザクション処理システムが混在する
疎結合多重計算機システムにおいて、トランザクション
処理の負荷分散を実現する疎結合多重計算機システムに
おけるトランザクション負荷分散システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction processing system in a loosely-coupled multi-computer system, and more particularly to a transaction processing system in a loosely-coupled multi-computer system in which transaction processing systems for processing messages having different message formats are mixed. The present invention relates to a transaction load distribution system in a loosely coupled multi-computer system for realizing distribution.

【0001】[0001]

【従来の技術】特開昭63−318662号公報に記載
されているトランザクション処理の負荷分散方式は、デ
ータベースを共有してトランザクション処理を分散して
行う副数個のトランザクション処理システムが共用メモ
リ装置を共用し、さらにこの共用メモリ装置に各トラン
ザクション処理システムに共用の入力トランザクション
処理キューと、各トランザクション処理システム対応の
出力メッセージキューとを含んで構成されている。
2. Description of the Related Art In a transaction processing load distribution method described in Japanese Patent Application Laid-Open No. 63-318662, several sub-transaction processing systems that share a database and perform transaction processing in a distributed manner use a shared memory device. The shared memory device further includes an input transaction processing queue shared by each transaction processing system, and an output message queue corresponding to each transaction processing system.

【0002】この従来のトランザクション処理の負荷分
散方式においては、各トランザクション処理システムが
受け付けたトランザクションは、入力トランザクション
処理キューに登録され、各トランザクション処理システ
ムは1つのトランザクション処理を終わるごとに次のト
ランザクションを入力トランザクション処理キューから
取り出して処理を行う。このようにして、各トランザク
ション処理システムの負荷を均等化しオンラインシステ
ムの性能を向上させている。
In this conventional transaction processing load distribution method, a transaction received by each transaction processing system is registered in an input transaction processing queue, and each transaction processing system executes the next transaction every time one transaction processing is completed. Take out from the input transaction processing queue and perform processing. In this way, the load of each transaction processing system is equalized and the performance of the online system is improved.

【0003】[0003]

【発明が解決しようとする課題】この従来のトランザク
ション処理の負荷分散方式においては、各トランザクシ
ョン処理システムがメッセージのメッセージ形式(以
下、プロトコルとする)のバージョンを意識せず、全て
の受け付けたメッセージは同一プロトコルのバージョン
であることを前提としてトランザクション処理を行って
おり、自トランザクション処理システムが処理可能なプ
ロトコルのバージョンのメッセージと異なるプロトコル
のバージョンのメッセージに対するトランザクション処
理を行うことができないという問題点がある。
In this conventional transaction processing load distribution method, each transaction processing system is unaware of the version of the message format (hereinafter referred to as a protocol) of the message, and all received messages are Transaction processing is performed on the premise that the versions are of the same protocol, and there is a problem that the transaction processing system cannot perform transaction processing on messages of a protocol version different from messages of a protocol version that can be processed by the own transaction processing system. .

【0004】このため、この従来のトランザクション処
理の負荷分散方式においては、端末から投入された異な
るプロトコルのバージョンのメッセージに対するトラン
ザクションを疎結合多重計算機システム内で負荷分散し
て処理できないという問題点がある。
[0004] For this reason, the conventional transaction processing load distribution method has a problem that a transaction for a message of a different protocol version input from a terminal cannot be processed in a loosely coupled multi-computer system by load distribution. .

【0005】本発明の目的は、プロトコルのバージョン
の異なるメッセージに対するトランザクション処理を、
疎結合多重計算機システムを構成する各ホストのトラン
ザクション処理システムで分散して実行することができ
るようにすることにある。
[0005] It is an object of the present invention to provide transaction processing for messages with different protocol versions.
It is an object of the present invention to allow a transaction processing system of each host constituting a loosely-coupled multiple computer system to execute the distributed processing.

【0006】本発明の他の目的は、疎結合多重計算機シ
ステムを構成するホストのいずれかに障害が発生して
も、該ホストで実行されていたトランザクション処理を
他のホストで継続することができるようにすることにあ
る。
Another object of the present invention is to enable, even if a failure occurs in any one of the hosts constituting a loosely coupled multi-computer system, the transaction processing executed on the host to be continued on another host. Is to do so.

【0007】本発明の他の目的は、端末利用者がプロト
コルのバージョンを意識することなくメッセージを投入
し、トランザクション処理を実行することができるよう
にすることにある。
Another object of the present invention is to enable a terminal user to input a message and execute a transaction process without being aware of the protocol version.

【0008】[0008]

【課題を解決するための手段】本発明の第1の疎結合多
重計算機システムにおけるトランザクション負荷分散シ
ステムは、トランザクション処理を実行する複数のホス
ト計算機と、該トランザクション処理を実行させるため
のメッセージにメッセージ形式を付して通信制御装置を
介して該複数のホスト計算機のいずれかに送信する端末
と、該複数のホスト計算機が共用する外部記憶装置を備
えた疎結合多重計算機システムにおいて、前記ホスト計
算機は、前記複数のホスト計算機毎にトランザクション
処理を実行することができるメッセージのメッセージ形
式を登録するプロトコル記憶手段と、自ホスト計算機の
立上げ時および一定時間間隔毎に、自ホスト計算機がト
ランザクション処理を実行することができるメッセージ
のメッセージ形式を前記プロトコル記憶手段に登録する
とともに他のホスト計算機に通知するプロトコル通知手
段と、他のホスト計算機から通知された該他のホスト計
算機がトランザクション処理を実行することができるメ
ッセージのメッセージ形式を前記プロトコル記憶手段に
登録するプロトコル更新手段と、前記端末からメッセー
ジを受け、前記プロトコル記憶手段を参照して該メッセ
ージに付されているメッセージ形式が自ホスト計算機で
トランザクション処理を実行することができるメッセー
ジ形式のバージョンであり、かつ自ホスト計算機が高負
荷状態でない場合には、受信したメッセージに対するト
ランザクション処理を実行するメッセージ処理ホスト判
断手段を含むことを特徴とする。
According to a first aspect of the present invention, there is provided a transaction load distribution system in a loosely-coupled multiple computer system, comprising: a plurality of host computers for executing transaction processing; and a message format for executing the transaction processing. In a loosely coupled multiplex computer system including a terminal that transmits to any one of the plurality of host computers via the communication control device and an external storage device shared by the plurality of host computers, the host computer includes: A protocol storage unit for registering a message format of a message capable of executing a transaction process for each of the plurality of host computers; and a self-host computer executing a transaction process at startup of the self-host computer and at regular time intervals. Message format of messages that can be A protocol notifying means for registering in the protocol storing means and notifying the other host computer, and a protocol storing a message format of a message notified from the other host computer that the other host computer can execute a transaction process. A protocol update unit to be registered in the unit, and a message format version that receives a message from the terminal and refers to the protocol storage unit and the message format attached to the message is such that the host computer can execute a transaction process. And when the host computer is not in a high load state, a message processing host determining means for executing a transaction process on the received message is included.

【0009】本発明の第2の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、第1の
疎結合多重計算機システムにおけるトランザクション負
荷分散システムにおいて、前記メッセージ処理ホスト判
断手段は、さらに前記端末からメッセージを受け、前記
プロトコル記憶手段を参照して該メッセージに付されて
いるメッセージ形式が自ホスト計算機でトランザクショ
ン処理を実行することができるメッセージ形式ではない
と判定した場合には、該メッセージを前記外部記憶装置
に格納することを特徴とする。
[0009] The transaction load distribution system in the second loosely coupled multi-computer system according to the present invention is the transaction load distribution system in the first loosely coupled multi-computer system, wherein the message processing host judging means further transmits a message from the terminal. If the message format attached to the message is determined not to be a message format in which transaction processing can be executed in the host computer by referring to the protocol storage means, the message is stored in the external storage device. Is stored.

【0010】本発明の第3の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、第1お
よび第2の疎結合多重計算機システムにおけるトランザ
クション負荷分散システムにおいて、前記メッセージ処
理ホスト判断手段は、さらに前記端末からメッセージを
受け、前記プロトコル記憶手段を参照して該メッセージ
に付されているメッセージ形式が自ホスト計算機でトラ
ンザクション処理を実行することができるメッセージ形
式であると判定し、かつ自ホスト計算機が高負荷状態で
ある場合には、該メッセージを前記外部記憶装置に格納
することを特徴とする。
A third aspect of the present invention provides a transaction load distribution system in a loosely coupled multi-processor system, wherein the message processing host determining means further comprises the terminal. From the host computer, determines that the message format attached to the message is a message format capable of executing transaction processing on the host computer, and that the host computer When the status is the status, the message is stored in the external storage device.

【0011】本発明の第4の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、トラン
ザクション処理を実行する複数のホスト計算機と、該ト
ランザクション処理を実行させるためのメッセージにメ
ッセージ形式を付して通信制御装置を介して該複数のホ
スト計算機のいずれかに送信する端末と、該複数のホス
ト計算機が共用する外部記憶装置を備えた疎結合多重計
算機システムにおいて、前記ホスト計算機は、前記複数
のホスト計算機毎にトランザクション処理を実行するこ
とができるメッセージのメッセージ形式を登録するプロ
トコル記憶手段と、自ホスト計算機の立上げ時および一
定時間間隔毎に、自ホスト計算機がトランザクション処
理を実行することができるメッセージのメッセージ形式
を前記プロトコル記憶手段に登録するとともに他のホス
ト計算機に通知するプロトコル通知手段と、他のホスト
計算機から通知された該他のホスト計算機がトランザク
ション処理を実行することができるメッセージのメッセ
ージ形式を前記プロトコル記憶手段に登録するプロトコ
ル更新手段と、自ホスト計算機におけるトランザクショ
ン処理の完了時および一定時間間隔毎に前記外部記憶装
置からメッセージを読み出し、前記プロトコル記憶手段
を参照して該メッセージに付されているメッセージ形式
が自ホスト計算機でトランザクション処理を実行するこ
とができるメッセージ形式のバージョンであり、かつ自
ホスト計算機が高負荷状態でない場合には、受信したメ
ッセージに対するトランザクション処理を実行するメッ
セージ処理ホスト判断手段を含むことを特徴とする。
A transaction load distribution system in a fourth loosely-coupled multi-computer system according to the present invention comprises: a plurality of host computers for executing transaction processing; In a loosely coupled multiplex computer system including a terminal transmitting to any of the plurality of host computers via a device and an external storage device shared by the plurality of host computers, the host computer includes: A protocol storage unit for registering a message format of a message capable of executing a transaction process in the host computer, and a message of a message enabling the host computer to execute a transaction process when the host computer is started up and at regular time intervals. Format the protocol Protocol notifying means for registering in the storage means and notifying the other host computer, and a message format of a message notified from the other host computer that the other host computer can execute a transaction process to the protocol storing means. A protocol update unit to register, and a message read from the external storage device at the time of completion of transaction processing in the host computer and at regular time intervals, and referring to the protocol storage unit to determine a message format attached to the message. If the host computer is not in a high-load state and has a message format version in which transaction processing can be executed by the host computer, and includes a message processing host determination means for executing transaction processing on the received message. The features.

【0012】本発明の第5の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、第4の
疎結合多重計算機システムにおけるトランザクション負
荷分散システムにおいて、前記メッセージ処理ホスト判
断手段は、さらに自ホスト計算機におけるトランザクシ
ョン処理の完了時および一定時間間隔毎に前記外部記憶
装置からメッセージを読み出し、前記プロトコル記憶手
段を参照して該メッセージに付されているメッセージ形
式が自ホスト計算機でトランザクション処理を実行する
ことができるメッセージ形式ではないと判定した場合に
は、該メッセージを前記外部記憶装置に格納することを
特徴とする。
A fifth aspect of the present invention provides a transaction load distribution system in a loosely-coupled multi-computer system, wherein the message processing host judging means further comprises: At the completion of processing and at regular time intervals, a message is read from the external storage device, and the message format attached to the message is referred to the protocol storage means so that the host computer can execute the transaction processing. If it is determined that the message is not in the format, the message is stored in the external storage device.

【0013】本発明の第6の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、第4お
よび第5の疎結合多重計算機システムにおけるトランザ
クション負荷分散システムにおいて、前記メッセージ処
理ホスト判断手段は、さらに自ホスト計算機におけるト
ランザクション処理の完了時および一定時間間隔毎に前
記外部記憶装置からメッセージを読み出し、前記プロト
コル記憶手段を参照して該メッセージに付されているメ
ッセージ形式が自ホスト計算機でトランザクション処理
を実行することができるメッセージ形式であると判定
し、かつ自ホスト計算機が高負荷状態である場合には、
該メッセージを前記外部記憶装置に格納することを特徴
とする。
In a sixth aspect of the present invention, there is provided a transaction load distribution system in a loosely-coupled multi-computer system. In the transaction load distribution system in the fourth and fifth loosely-coupled multi-computer systems, the message processing host judging means further comprises: A message is read from the external storage device at the time of completion of the transaction processing in the computer and at regular time intervals, and the message format attached to the message is executed in the host computer by referring to the protocol storage means. Is determined to be a message format that can be executed, and if the local host computer is in a high load state,
The message is stored in the external storage device.

【0014】本発明の第7の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、トラン
ザクション処理を実行する複数のホスト計算機と、該複
数のホスト計算機と端末間のメッセージの送受信を制御
する通信制御装置と、該複数のホスト計算機が共用する
外部記憶装置を備えた疎結合多重計算機システムにおい
て、前記端末は、前記複数のホスト計算機のいずれかに
所望のトランザクション処理を実行させるためのメッセ
ージに該メッセージのメッセージ形式のバージョンを付
して入力し、前記外部記憶装置は、前記複数のホスト計
算機間で受け渡しされるデータを格納するグローバルメ
ッセージキューイングファイルを含み、前記ホスト計算
機は、前記端末から入力されたメッセージを前記通信制
御装置を介して受信するメッセージ送受信手段と、前記
端末から入力されたメッセージのトランザクション処理
を実行するトランザクション実行処理手段と、前記複数
のホスト計算機毎にトランザクション処理を実行するこ
とができるメッセージのメッセージ形式のバージョンを
登録するプロトコル記憶手段と、自ホスト計算機の立上
げ時および一定時間間隔毎に、自ホスト計算機がトラン
ザクション処理を実行することができるメッセージのメ
ッセージ形式のバージョンを前記プロトコル記憶手段に
登録するとともに他のホスト計算機に通知するプロトコ
ル通知手段と、他のホスト計算機から通知された該他の
ホスト計算機がトランザクション処理を実行することが
できるメッセージのメッセージ形式のバージョンを前記
プロトコル記憶手段に登録するプロトコル更新手段と、
前記グローバルメッセージキューイングファイルに対し
てデータの入出力を行うグローバルメッセージキューイ
ングファイル入出力手段と、前記端末から入力されたメ
ッセージのトランザクション処理を他のホスト計算機に
依頼するとともに、他のホスト計算機からトランザクシ
ョン処理の依頼を受け、前記グローバルメッセージキュ
ーイングファイル入出力手段により前記グローバルメッ
セージキューイングファイルに格納されているメッセー
ジを読み出す処理依頼通知手段と、前記複数のホスト計
算機毎に前記端末から入力されたメッセージに対するト
ランザクション処理を実行することができないというこ
とを未確認か確認済かを登録するホスト状態管理表と、
前記メッセージ送受信手段および前記処理依頼通知手段
からメッセージを受け、前記プロトコル記憶手段を参照
して該メッセージに付されているメッセージ形式のバー
ジョンが自ホスト計算機でトランザクション処理を実行
することができるメッセージ形式のバージョンであり、
かつ自ホスト計算機が高負荷状態でなく、かつ前記トラ
ンザクション実行処理手段が活性状態の場合には、受信
したメッセージに対するトランザクション処理を前記ト
ランザクション実行処理手段により実行するメッセージ
処理ホスト判断手段を含むことを特徴とする。
A transaction load distribution system in a seventh loosely-coupled multi-computer system according to the present invention includes a plurality of host computers for executing transaction processing, and a communication control device for controlling transmission and reception of messages between the plurality of host computers and terminals. And a loosely coupled multiple computer system having an external storage device shared by the plurality of host computers, wherein the terminal includes a message for causing any of the plurality of host computers to execute a desired transaction process. The external storage device includes a global message queuing file for storing data to be transferred between the plurality of host computers, and the host computer receives the message from the terminal. A message is received via the communication control device. Message transmitting / receiving means, transaction execution processing means for executing transaction processing of a message input from the terminal, and a protocol for registering a message format version of a message capable of executing transaction processing for each of the plurality of host computers. At the time of start-up of the own host computer and at regular time intervals, a storage means and a message format version of a message by which the own host computer can execute a transaction process are registered in the protocol storage means and stored in another host computer. A protocol notifying means for notifying, and a protocol for registering, in the protocol storage means, a message format version of a message notified by the other host computer that the other host computer can execute transaction processing. And Col update means,
A global message queuing file input / output unit for inputting / outputting data to / from the global message queuing file, and requesting another host computer to perform transaction processing of a message input from the terminal; A request for transaction processing, a processing request notifying means for reading out a message stored in the global message queuing file by the global message queuing file input / output means, and inputting from the terminal for each of the plurality of host computers. A host status management table for registering whether the transaction processing for the message cannot be executed or not confirmed or confirmed,
A message format received from the message transmitting / receiving means and the processing request notifying means and having a message format version attached to the message with reference to the protocol storage means is a message format capable of executing transaction processing in the host computer. Version,
When the host computer is not in a high load state and the transaction execution processing means is in an active state, the transaction execution processing means includes a message processing host determination means for executing a transaction processing for a received message by the transaction execution processing means. And

【0015】本発明の第8の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、第7の
疎結合多重計算機システムにおけるトランザクション負
荷分散システムにおいて、前記メッセージ処理ホスト判
断手段は、さらに前記メッセージ送受信手段および前記
処理依頼通知手段からメッセージを受け、前記プロトコ
ル記憶手段を参照して該メッセージに付されているメッ
セージ形式のバージョンが自ホスト計算機でトランザク
ション処理を実行することができるメッセージ形式のバ
ージョンであり、かつ自ホスト計算機が高負荷状態でな
く、かつ前記トランザクション実行処理手段が非活性状
態の場合には、該メッセージにさらに自ホスト計算機に
ついて確認済としたホスト処理状態表を付して、前記グ
ローバルメッセージキューイングファイル入出力手段に
より前記グローバルメッセージキューイングファイルに
格納することを特徴とする。
The transaction load balancing system in the eighth loosely coupled multiprocessor system according to the present invention is the transaction load distribution system in the seventh loosely coupled multiprocessor system, wherein the message processing host determining means further comprises the message transmitting and receiving means and Receiving a message from the processing request notifying means, referring to the protocol storage means, a message format version attached to the message is a message format version capable of executing transaction processing in the host computer; and When the own host computer is not in a high load state and the transaction execution processing means is in an inactive state, the message further includes a host processing state table that has been confirmed for the own host computer, and the global message is added. And storing, by the queuing file input and output means to the global message queue file.

【0016】本発明の第9の疎結合多重計算機システム
におけるトランザクション負荷分散システムは、第7お
よび第8の疎結合多重計算機システムにおけるトランザ
クション負荷分散システムにおいて、前記メッセージ処
理ホスト判断手段は、さらに前記メッセージ送受信手段
および前記処理依頼通知手段からメッセージを受け、前
記プロトコル記憶手段を参照して該メッセージに付され
ているメッセージ形式のバージョンが自ホスト計算機で
トランザクション処理を実行することができるメッセー
ジ形式のバージョンではないと判定した場合には、該メ
ッセージにさらに自ホスト計算機について確認済とした
ホスト処理状態表を付して、前記グローバルメッセージ
キューイングファイル入出力手段により前記グローバル
メッセージキューイングファイルに格納することを特徴
とする。
In a ninth loosely-coupled multiprocessor system according to the present invention, there is provided a transaction load balancing system according to the seventh and eighth loosely-coupled multiprocessor systems. A message format version received from the transmitting / receiving means and the processing request notifying means, and referring to the protocol storage means, is a message format version attached to the message. If it is determined that there is no message, a host processing status table that has been confirmed for the host computer is further added to the message, and the global message queue is input and output by the global message queuing file input / output means. And storing, in the ring file.

【0017】本発明の第10の疎結合多重計算機システ
ムにおけるトランザクション負荷分散システムは、第7
から第9のいずれかの疎結合多重計算機システムにおけ
るトランザクション負荷分散システムにおいて、前記メ
ッセージ処理ホスト判断手段は、さらに前記メッセージ
送受信手段および前記処理依頼通知手段からメッセージ
を受け、前記プロトコル記憶手段を参照して該メッセー
ジに付されているメッセージ形式のバージョンが自ホス
ト計算機でトランザクション処理を実行することができ
るメッセージ形式のバージョンであると判定し、かつ自
ホスト計算機が高負荷状態で、かつ前記ホスト処理状態
表に未確認のホスト計算機が存在する場合には、該メッ
セージにさらにすべてのホスト計算機について未確認と
したホスト処理状態表を付して、前記グローバルメッセ
ージキューイングファイル入出力手段により前記グロー
バルメッセージキューイングファイルに格納し、前記処
理依頼通知手段により前記ホスト処理状態表において未
確認の他のホスト計算機に該メッセージのトランザクシ
ョン処理を依頼することを特徴とする。
The transaction load distribution system in the tenth loosely-coupled multi-computer system according to the present invention has a seventh configuration.
To the ninth to ninth loosely coupled multiple computer systems, the message processing host determining means further receives a message from the message transmitting / receiving means and the processing request notifying means, and refers to the protocol storage means. It is determined that the version of the message format attached to the message is a version of the message format capable of executing transaction processing in the host computer, and the host computer is in a high load state, and the host processing state If there is an unconfirmed host computer in the table, the host further adds a host processing status table for all the host computers that has not been confirmed to the message, and the global message queuing file input / output means outputs the global message key. Stored in the over viewing files, characterized by requesting the transaction processing of the message to an unverified other host computer in the host processing state table by said processing request notification unit.

【0018】本発明の第11の疎結合多重計算機システ
ムにおけるトランザクション負荷分散システムは、第7
から第10のいずれかの疎結合多重計算機システムにお
けるトランザクション負荷分散システムにおいて、前記
メッセージ処理ホスト判断手段は、さらに前記メッセー
ジ送受信手段および前記処理依頼通知手段からメッセー
ジを受け、前記プロトコル記憶手段を参照して該メッセ
ージに付されているメッセージ形式のバージョンが自ホ
スト計算機でトランザクション処理を実行することがで
きるメッセージ形式のバージョンであると判定し、かつ
自ホスト計算機が高負荷状態で、かつ前記ホスト処理状
態表に未確認のホスト計算機が存在しない場合には、受
信したメッセージに対するトランザクション処理を前記
トランザクション実行処理手段により実行することを特
徴とする。
The transaction load balancing system in the eleventh loosely-coupled multi-computer system of the present invention comprises
In the transaction load distribution system in any one of the tenth to tenth loosely coupled multiple computer systems, the message processing host determining unit further receives a message from the message transmitting / receiving unit and the processing request notifying unit, and refers to the protocol storage unit. It is determined that the version of the message format attached to the message is a version of the message format capable of executing transaction processing in the host computer, and the host computer is in a high load state, and the host processing state When there is no unconfirmed host computer in the table, the transaction processing for the received message is executed by the transaction execution processing means.

【0019】本発明の第12の疎結合多重計算機システ
ムにおけるトランザクション負荷分散システムは、第7
から第11のいずれかの疎結合多重計算機システムにお
けるトランザクション負荷分散システムにおいて、前記
処理依頼通知手段は、さらに自ホスト計算機におけるト
ランザクション処理の完了時および一定時間間隔毎に、
前記グローバルメッセージキューイングファイル入出力
手段により前記グローバルメッセージキューイングファ
イルに格納されているメッセージを読み出すことを特徴
とする。
The transaction load distribution system in the twelfth loosely-coupled multi-computer system according to the present invention has a seventh configuration.
To the transaction load distribution system in any one of the eleventh to eleventh loosely-coupled multi-computer systems, the processing request notifying means further comprises:
A message stored in the global message queuing file is read by the global message queuing file input / output means.

【0020】[0020]

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

【0021】図1を参照すると、本発明の一実施例は、
グローバルメッセージキューイングファイル(以下、G
MQFとする)3を共用して疎結合多重計算機システム
を構成するホストA(ホスト番号0001)、ホストB
(ホスト番号0002)と、該ホストA、ホストBと端
末11間のメッセージの送受信を制御する通信制御装置
10とから構成されている。
Referring to FIG. 1, one embodiment of the present invention is:
Global message queuing file (G
Host A (host number 0001) and host B, which share a loosely-coupled multi-computer system by sharing 3
(Host number 0002) and a communication control device 10 for controlling transmission and reception of messages between the host A, the host B and the terminal 11.

【0022】ホストA、ホストBは、それぞれトランザ
クション処理システムを有する。
Each of the host A and the host B has a transaction processing system.

【0023】該トランザクション処理システムは、メッ
セージ処理を行う業務プログラムを有するトランザクシ
ョン実行処理手段1、メッセージ処理ホスト判断手段
2、GMQF入出力手段4、プロトコル更新手段5、プ
ロトコル記憶手段6、プロトコル通知手段7、処理依頼
通知手段8、およびメッセージ送受信手段9を含む。
The transaction processing system comprises a transaction execution processing means 1 having a business program for performing message processing, a message processing host determination means 2, a GMQF input / output means 4, a protocol update means 5, a protocol storage means 6, and a protocol notification means 7. , A processing request notifying means 8 and a message transmitting / receiving means 9.

【0024】図2は、プロトコル通知手段7で受信した
他ホストのプロトコル情報を記憶するプロトコル記憶手
段6の記憶情報のデータ形式を示す図である。記憶情報
には各ホストの番号21と各ホストのトランザクション
処理システムで処理可能なプロトコルバージョン22を
含む。
FIG. 2 is a diagram showing a data format of information stored in the protocol storage means 6 for storing the protocol information of another host received by the protocol notification means 7. The storage information includes a number 21 of each host and a protocol version 22 that can be processed by the transaction processing system of each host.

【0025】図3は、GMQF3に格納されるデータ形
式を示す図である。格納される情報には、投入されたト
ランザクションメッセージのプロトコルバージョン31
と各ホストでのメッセージ処理状態を表すホスト処理状
態表32および受信メッセージ33を含む。
FIG. 3 is a diagram showing a data format stored in the GMQF3. The stored information includes the protocol version 31 of the input transaction message.
And a host processing state table 32 and a received message 33 which indicate a message processing state in each host.

【0026】図4は、GMQF3に格納されるホスト処
理状態表(第3図の32)の内部情報を示す図である。
格納する情報にはホスト番号41とそのホストでの処理
状態42があり、そのホストが投入されたメッセージの
プロトコルのバージョンを処理することができないと確
認した場合には処理状態に確認済を、未確認の場合には
未確認を設定する。
FIG. 4 is a diagram showing internal information of the host processing status table (32 in FIG. 3) stored in the GMQF3.
The information to be stored includes a host number 41 and a processing state 42 of the host. If the host confirms that the protocol version of the input message cannot be processed, the processing state is confirmed, but not confirmed. In the case of, set unconfirmed.

【0027】図5は、プロトコルバージョンが異なるト
ランザクション処理システムを有した5台のホストで疎
結合多重計算機システムを構成した場合に、各トランザ
クション処理システムのプロトコル記憶手段6で保持す
る情報について示した図である。
FIG. 5 is a diagram showing information held in the protocol storage means 6 of each transaction processing system when a loosely coupled multi-computer system is constituted by five hosts having transaction processing systems having different protocol versions. It is.

【0028】以下に本発明の一実施例である疎結合多重
計算機システムにおけるトランザクション負荷分散シス
テムについて、図1を参照して説明する。
Hereinafter, a transaction load distribution system in a loosely-coupled multi-computer system according to an embodiment of the present invention will be described with reference to FIG.

【0029】利用者は、端末11からホストAに所望の
トランザクション処理を実行させためのメッセージに該
メッセージのプロトコルのバージョンを付して入力す
る。
The user inputs a message for causing the host A to execute a desired transaction process from the terminal 11 by attaching a protocol version of the message.

【0030】端末11から入力されたメッセージは、通
信処理装置10を介してホストA内トランザクション処
理システムのメッセージ送受信手段9で受信される(ス
テップ61)。
The message input from the terminal 11 is received by the message transmitting / receiving means 9 of the transaction processing system in the host A via the communication processing device 10 (step 61).

【0031】メッセージ送受信手段9が受信したメッセ
ージは、メッセージ処理ホスト判断手段2に渡され(ス
テップ62)、該メッセージに付されているプロトコル
のバージョンと自ホストの負荷状況により処理すべきホ
スト(自ホスト/他ホスト)が決定される(ステップ6
3)。
The message received by the message transmitting / receiving means 9 is passed to the message processing host judging means 2 (step 62), and the host (self) to be processed according to the protocol version attached to the message and the load status of the host. Host / other host is determined (step 6)
3).

【0032】ステップ63においては、まず受信したメ
ッセージに付されているプロトコルのバージョンがプロ
トコル記憶装置6に記憶されている自ホストがトランザ
クション処理を実行することができるメッセージのプロ
トコルのバージョンより高位であれば、メッセージの処
理を他ホストに依頼し、高位でなくても自ホストのCP
U使用率、メモリ使用率、入出力回数等の資源の使用率
が予め設定した閾値より高い、すなわち自ホストの負荷
が高いと判定した場合には、メッセージの処理を他ホス
トに依頼する。
In step 63, first, the protocol version attached to the received message is higher than the protocol version of the message stored in the protocol storage device 6 and capable of executing the transaction processing by the host. Request the other host to process the message.
When it is determined that the resource usage rate such as the U usage rate, the memory usage rate, and the number of times of input / output is higher than a preset threshold, that is, the load of the host is high, the processing of the message is requested to another host.

【0033】メッセージ処理ホスト判断手段2が該メッ
セージを他ホストで処理すると判断した場合は、受信し
たメッセージに該メッセージのプロトコルのバージョン
と全ホスト未確認状態のホスト処理状態表を付加してG
MQF入出力手段4を用いてGMQF3に格納し(ステ
ップ64)、処理依頼通知手段8で他ホストに処理を依
頼する(ステップ65)。
When the message processing host determining means 2 determines that the message is to be processed by another host, the message processing version is added to the received message with the protocol version of the message and a host processing status table of all hosts unconfirmed.
It is stored in the GMQF 3 using the MQF input / output means 4 (step 64), and the processing request notifying means 8 requests processing from another host (step 65).

【0034】メッセージ処理ホスト判断手段2が、ステ
ップ63において該メッセージを自ホストで処理すると
判断した場合は、受信したメッセージをGMQF3に格
納することなくトランザクション実行処理手段1に渡し
てトランザクション処理を実行する(ステップ66)。
If the message processing host determining means 2 determines in step 63 that the message is to be processed by its own host, the received message is passed to the transaction execution processing means 1 without being stored in the GMQF 3 to execute the transaction processing. (Step 66).

【0035】ホストBの処理依頼通知手段8は、ホスト
Aから処理依頼通知を受信し(ステップ67)、GMQ
F入出力手段4を用いてGMQF3のメッセージを読み
出す(ステップ68)。なお、GMQF3のメッセージ
読み出しは、処理依頼通知受信時だけでなく実行中トラ
ンザクションの完了(負荷低下)時および一定時間ごと
にも行う。
The processing request notification means 8 of the host B receives the processing request notification from the host A (step 67), and
The GMQF3 message is read out using the F input / output means 4 (step 68). The message reading of the GMQF3 is performed not only at the time of receiving the processing request notification, but also at the time of completion of the transaction in progress (load reduction) and at regular intervals.

【0036】ホストBのメッセージ処理ホスト判断手段
2は、読み出したメッセージに付加されているホスト処
理状態表を参照し(ステップ69)、自ホストが未確認
の状態であればプロトコル記憶手段6に記憶された情報
を参照して自ホストの処理可能プロトコルのバージョン
と読み出したメッセージに付加されているプロトコルの
バージョンとを比較する(ステップ6A)。
The message processing host determination means 2 of the host B refers to the host processing state table added to the read message (step 69). If the host is in an unconfirmed state, it is stored in the protocol storage means 6. Referring to the information, the version of the processable protocol of the host and the version of the protocol added to the read message are compared (step 6A).

【0037】ホストBのメッセージ処理ホスト判断手段
2は、読み出したメッセージに付加されているプロトコ
ルのバージョンが自ホストの処理可能プロトコルのバー
ジョンに比して同一または低位の場合には、さらに自ホ
ストの負荷が高いか否かを判定し(ステップ6B)、自
ホストの負荷が高い場合には、ホスト処理状態表の当該
ホストの処理状態を未確認の状態としたままGMQF3
に該メッセージを再格納する(ステップ6C)。ホスト
の負荷が低くトランザクションを実行できる環境の場合
には、さらにトランザクション実行処理手段1が活性状
態か否かを判定し(ステップ6D)、活性状態の場合に
は、ホスト処理状態表の自ホストの処理状態を確認済と
して、該メッセージのプロトコルに対応したトランザク
ション処理を実行する(ステップ6E)。トランザクシ
ョン実行処理手段1が非活性状態の場合には、ホストB
ではトランザクション処理を実行することができないた
めホスト処理状態表の該ホストの処理状態を確認済とし
て、GMQF3に該メッセージを再格納する(ステップ
6F)。
If the version of the protocol added to the read message is the same or lower than the version of the protocol that can be processed by the host, the message processing host determination means 2 of the host B further checks the host. It is determined whether or not the load is high (step 6B). If the load of the host is high, the GMQF3 remains in the host processing state table with the processing state of the host being unconfirmed.
Is stored again (step 6C). In an environment where the load on the host is low and the transaction can be executed, it is further determined whether or not the transaction execution processing means 1 is in an active state (step 6D). Assuming that the processing state has been confirmed, the transaction processing corresponding to the protocol of the message is executed (step 6E). When the transaction execution processing means 1 is inactive, the host B
Since the transaction processing cannot be executed, the processing state of the host in the host processing state table is confirmed, and the message is stored again in the GMQF3 (step 6F).

【0038】ホストBのメッセージ処理ホスト判断手段
2は、ステップ6C終了後、ホスト処理状態表で未確認
状態の他ホストが存在するか否かを判定し(ステップ6
G)、未確認状態の他ホストが存在すると判定した場合
には、さらに、プロトコル記憶手段6の内容から該他の
ホストが該メッセージのプロトコルのバージョンを処理
することができるか否かを判定する(ステップ6H)。
ステップ6Gにおいて未確認状態の他ホストが存在しな
いと判定した場合、およびステップ6Hにおいて該他の
ホストが該メッセージのプロトコルのバージョンを処理
することができないと判定した場合には、ステップ6D
へ至る。ステップ6Hにおいて該他のホストが該メッセ
ージのプロトコルのバージョンを処理することができる
と判定した場合には、処理依頼通知手段8で他ホストに
処理を依頼する(ステップ6I)。
After the end of step 6C, the message processing host determining means 2 of the host B determines whether or not there is any other host in an unconfirmed state in the host processing state table (step 6).
G) If it is determined that there is another host in the unconfirmed state, it is further determined from the contents of the protocol storage means 6 whether the other host can process the protocol version of the message ( Step 6H).
If it is determined in step 6G that there is no other host in the unconfirmed state, and if it is determined in step 6H that the other host cannot process the protocol version of the message, step 6D
To If it is determined in step 6H that the other host can process the protocol version of the message, the processing request notifying unit 8 requests the other host to perform processing (step 6I).

【0039】またホストBのメッセージ処理ホスト判断
手段2は、ステップ6Aにおいて、読み出したメッセー
ジに付加されているプロトコルのバージョンが自ホスト
の処理可能プロトコルのバージョンに比して高位である
と判定した場合には、自ホストではトランザクション処
理を実行することができないためホスト処理状態表の自
ホストの処理状態を確認済として、GMQF3に該メッ
セージを再格納する(ステップ6J)。
If the message processing host determining means 2 of the host B determines in step 6A that the version of the protocol added to the read message is higher than the version of the protocol that can be processed by the host B, Since the own host cannot execute the transaction processing, the processing status of the own host in the host processing status table has been confirmed, and the message is stored again in the GMQF3 (step 6J).

【0040】これとは別に各ホストは、トランザクショ
ン処理システムが起動した時、もしくは起動後一定時間
ごとにプロトコル通知手段7が自トランザクション処理
システムで処理可能なメッセージのプロトコルのバージ
ョンをプロトコル記憶手段6に登録するとともに他ホス
トに通知する。該通知を受信したホストのプロトコル通
知手段7は、プロトコル更新手段5を用いてプロトコル
記憶手段6内の該ホストのプロトコルのバージョンを通
知されたプロトコルのバージョンで更新する。
Separately from this, when the transaction processing system starts up or at regular intervals after the start-up, the protocol notification means 7 stores the protocol version of the message which can be processed by the own transaction processing system in the protocol storage means 6. Register and notify other hosts. The protocol notifying means 7 of the host that has received the notification updates the protocol version of the host in the protocol storage means 6 using the protocol updating means 5 with the notified protocol version.

【0041】次にプロトコルのバージョンの記憶方法に
ついて、図2を参照して説明する。
Next, a method of storing the protocol version will be described with reference to FIG.

【0042】プロトコル通知手段7により他ホストに通
知する情報は、自ホスト番号と該ホストがトランザクシ
ョン処理を実行することができるメッセージのプロトコ
ルのバージョンである。プロトコル通知手段7によりプ
ロトコル通知を受け取るとプロトコル更新手段5はプロ
トコル記憶手段6に、通知されたホスト番号21に対応
してプロトコルバージョン22を記憶する。プロトコル
通知を受信していないホストのプロトコルのバージョン
はプロトコル記憶手段上、未確認の状態として処理可能
ホストの候補とはしない。
The information notified to the other host by the protocol notifying means 7 is the host number of the own host and the version of the protocol of the message by which the host can execute the transaction processing. Upon receiving the protocol notification from the protocol notification means 7, the protocol update means 5 stores the protocol version 22 in the protocol storage means 6 corresponding to the notified host number 21. The version of the protocol of the host that has not received the protocol notification is not confirmed in the protocol storage means and is not a candidate for a processable host.

【0043】次にGMQF3のデータ形式について図3
および図4を参照して説明する。
Next, the data format of GMQF3 is shown in FIG.
This will be described with reference to FIG.

【0044】通信処理装置10からメッセージを受信
し、メッセージ処理ホスト判断手段2で該メッセージを
他ホストで処理すると判断した場合、処理可能なプロト
コルのバージョン31と全ホスト未確認状態としたホス
ト処理状態表32を受信メッセージ33に付加してGM
QF3に格納する。また、GMQF3から読み出した場
合、メッセージのプロトコルのバージョンが自トランザ
クション処理システムよりも高位のプロトコルのバージ
ョンのメッセージである場合、または読み出したホスト
のトランザクション実行処理手段1が非活性状態である
ためトランザクション実行が不可能な状態の場合は、ホ
スト処理状態表32のホスト番号41に対応する処理状
態42を確認済としてGMQF3に書き戻す。
When a message is received from the communication processing apparatus 10 and the message processing host determining means 2 determines that the message is to be processed by another host, the protocol version 31 which can be processed and a host processing status table in which all hosts are unconfirmed are set. 32 to the received message 33
Store it in QF3. When the message is read from the GMQF3, when the protocol version of the message is a message of a protocol version higher than that of the own transaction processing system, or when the read transaction execution processing means 1 of the host is inactive, the transaction is executed. Is impossible, the processing state 42 corresponding to the host number 41 in the host processing state table 32 is confirmed and written back to the GMQF3.

【0045】次にプロトコルが混在した5台のホストで
疎結合多重計算機システムを構成した場合の負荷分散例
について図5を参照して説明する。
Next, an example of load distribution when a loosely-coupled multi-computer system is configured with five hosts having mixed protocols will be described with reference to FIG.

【0046】ホストA(ホスト番号0001)〜ホスト
E(同0005)で疎結合多重計算機システムを構成
し、それぞれのホストで動作するトランザクション処理
システムが処理できるプロトコルのバージョンがそれぞ
れホストA=2、B=2、C=3、D=2、およびE=
3となっている場合、各トランザクション処理システム
のプロトコル記憶手段6が保持する情報は図5の51の
ようになる。
Host A (host number 0001) to host E (0005) constitute a loosely coupled multiple computer system, and the protocol versions that can be processed by the transaction processing system operating on each host are host A = 2 and B, respectively. = 2, C = 3, D = 2, and E =
When the number is 3, the information stored in the protocol storage unit 6 of each transaction processing system is as shown by 51 in FIG.

【0047】この疎結合多重計算機システムにプロトコ
ルのバージョンが2のトランザクションメッセージを投
入した場合、プロトコル記憶手段6の内容からプロトコ
ルのバージョン2のメッセージを処理可能なホストは全
ホストとなるため、全てのホストが負荷分散対象となり
負荷の低いホストで処理される。また、プロトコルのバ
ージョンが3のトランザクションメッセージの場合は、
プロトコル記憶手段の内容から処理可能なホストはホス
トCとホストEになり、その2台のホストで負荷分散が
行われる。
When a transaction message having a protocol version of 2 is input to this loosely coupled multi-computer system, all the hosts capable of processing the protocol version 2 message from the contents of the protocol storage means 6 are all hosts. The host becomes a target of load distribution and is processed by a host with a low load. In the case of a transaction message with a protocol version of 3,
The hosts that can be processed are the hosts C and E based on the contents of the protocol storage means, and the two hosts perform load distribution.

【0048】以上により、本発明の一実施例である疎結
合多重計算機システムにおけるトランザクション負荷分
散システムの処理が完了する。
As described above, the processing of the transaction load balancing system in the loosely-coupled multi-computer system according to one embodiment of the present invention is completed.

【0049】本発明の一実施例である疎結合多重計算機
システムにおけるトランザクション負荷分散システム
は、GMQF3に格納するメッセージにプロトコルのバ
ージョンを付加しておくことにより、自トランザクショ
ン処理システムで処理可能なプロトコルのバージョンと
同じか低位のプロトコルのバージョンのメッセージをG
MQF3から読み出した場合、そのメッセージに対応し
たトランザクション処理が可能となり、また高位のプロ
トコルのバージョンのメッセージの場合はGMQF3へ
の再格納を行うといったプロトコルのバージョンに対応
した処理が可能となるので、プロトコルのバージョンの
異なるメッセージに対するトランザクション処理を、疎
結合多重計算機システムを構成する各ホストのトランザ
クション処理システムで分散して実行することができる
効果を有している。
The transaction load distribution system in the loosely coupled multi-computer system according to one embodiment of the present invention adds a protocol version to a message stored in the GMQF3, thereby providing a protocol that can be processed by its own transaction processing system. G for messages with the same or lower protocol version
When the message is read from the MQF3, transaction processing corresponding to the message can be performed. In the case of a message of a higher protocol version, processing corresponding to the protocol version such as re-storage in the GMQF3 can be performed. Transaction processing for messages of different versions can be executed in a distributed manner by the transaction processing systems of the respective hosts constituting the loosely-coupled multi-computer system.

【0050】[0050]

【発明の効果】以上説明したように、本発明の疎結合多
重計算機システムにおけるトランザクション負荷分散シ
ステムは、他ホスト上のトランザクション処理システム
のプロトコルのバージョンを相互に通知し認識すること
により、プロトコルのバージョン毎に処理できるホスト
を決定することができるので、プロトコルのバージョン
の異なるメッセージに対するトランザクション処理を、
疎結合多重計算機システムを構成する各ホストのトラン
ザクション処理システムで分散して実行することがで
き、疎結合多重計算機システムを構成するホストのいず
れかに障害が発生しても、該ホストで実行されていたト
ランザクション処理を他のホストで継続することができ
る効果を有している。
As described above, the transaction load balancing system in the loosely-coupled multi-computer system of the present invention mutually notifies and recognizes the protocol version of the transaction processing system on another host, thereby recognizing the protocol version. Since it is possible to determine the host that can process each time, transaction processing for messages with different protocol versions,
It can be executed in a distributed manner in the transaction processing system of each host constituting the loosely-coupled multi-computer system, and even if a failure occurs in any of the hosts constituting the loosely-coupled multi-computer system, it is not executed on the host. This has the effect that the transaction processing can be continued on another host.

【0051】また、端末利用者がプロトコルのバージョ
ンを意識することなくメッセージを投入し、トランザク
ション処理を実行することができる効果を有している。
Further, there is an effect that the terminal user can input a message without being aware of the protocol version and execute a transaction process.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】本発明の一実施例におけるプロトコル記憶手段
6の内容を示す図である。
FIG. 2 is a diagram showing the contents of a protocol storage means 6 in one embodiment of the present invention.

【図3】本発明の一実施例におけるGMQF3の内容を
示す図である。
FIG. 3 is a diagram showing the contents of GMQF3 in one embodiment of the present invention.

【図4】本発明の一実施例におけるホスト処理状態表の
内容を示す図である。
FIG. 4 is a diagram showing the contents of a host processing status table in one embodiment of the present invention.

【図5】本発明の一実施例においてプロトコルが混在し
た5台のホストで疎結合多重計算機システムを構成した
場合の負荷分散例について説明するための図である。
FIG. 5 is a diagram for explaining an example of load distribution when a loosely-coupled multi-computer system is configured by five hosts with mixed protocols in one embodiment of the present invention.

【図6】本発明の一実施例におけるメッセージ送受信手
段9、メッセージ処理ホスト判断手段2、GMQF入出
力手段4、処理依頼通知手段8、およびトランザクショ
ン実行処理手段1の処理を示す流れ図である。
FIG. 6 is a flowchart showing the processing of the message transmitting / receiving means 9, the message processing host determining means 2, the GMQF input / output means 4, the processing request notifying means 8, and the transaction execution processing means 1 in one embodiment of the present invention.

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

1 トランザクション実行処理手段 2 メッセージ処理ホスト判断手段 3 グローバルメッセージキューイングファイル(G
MQF) 4 GMQF入出力手段 5 プロトコル更新手段 6 プロトコル記憶手段 7 プロトコル通知手段 8 処理依頼通知手段 9 メッセージ送受信手段 10 通信処理装置 11 端末 21 ホスト番号 22 プロトコルバージョン 31 プロトコルバージョン 32 ホスト処理状態表 33 受信メッセージ 41 ホスト番号 42 処理状態 51 各ホストのトランザクション処理システムのプ
ロトコル記憶手段が保持する内容
1 transaction execution processing means 2 message processing host judgment means 3 global message queuing file (G
MQF) 4 GMQF input / output means 5 Protocol update means 6 Protocol storage means 7 Protocol notification means 8 Processing request notification means 9 Message transmission / reception means 10 Communication processing device 11 Terminal 21 Host number 22 Protocol version 31 Protocol version 32 Host processing status table 33 Reception Message 41 Host number 42 Processing status 51 Contents held by protocol storage means of transaction processing system of each host

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 トランザクション処理を実行する複数の
ホスト計算機と、該トランザクション処理を実行させる
ためのメッセージにメッセージ形式を付して通信制御装
置を介して該複数のホスト計算機のいずれかに送信する
端末と、該複数のホスト計算機が共用する外部記憶装置
を備えた疎結合多重計算機システムにおいて、 前記ホスト計算機は、 前記複数のホスト計算機毎にトランザクション処理を実
行することができるメッセージのメッセージ形式を登録
するプロトコル記憶手段と、 自ホスト計算機の立上げ時および一定時間間隔毎に、自
ホスト計算機がトランザクション処理を実行することが
できるメッセージのメッセージ形式を前記プロトコル記
憶手段に登録するとともに他のホスト計算機に通知する
プロトコル通知手段と、 他のホスト計算機から通知された該他のホスト計算機が
トランザクション処理を実行することができるメッセー
ジのメッセージ形式を前記プロトコル記憶手段に登録す
るプロトコル更新手段と、 前記端末からメッセージを受け、前記プロトコル記憶手
段を参照して該メッセージに付されているメッセージ形
式が自ホスト計算機でトランザクション処理を実行する
ことができるメッセージ形式のバージョンであり、かつ
自ホスト計算機が高負荷状態でない場合には、受信した
メッセージに対するトランザクション処理を実行するメ
ッセージ処理ホスト判断手段を含むことを特徴とする疎
結合多重計算機システムにおけるトランザクション負荷
分散システム。
1. A plurality of host computers that execute transaction processing, and a terminal that attaches a message format to a message for executing the transaction processing and sends it to any of the plurality of host computers via a communication control device. And a loosely coupled multiple computer system having an external storage device shared by the plurality of host computers, wherein the host computer registers a message format of a message capable of executing transaction processing for each of the plurality of host computers. Protocol storage means, and at the time of start-up of the host computer and at regular time intervals, register the message format of a message which allows the host computer to execute transaction processing in the protocol storage means and notify other host computers. Protocol notification means to Protocol update means for registering a message format of a message notified by the host computer that the other host computer can execute transaction processing in the protocol storage means; receiving a message from the terminal, and referring to the protocol storage means If the message format attached to the message is a version of the message format in which the transaction processing can be executed by the host computer, and the host computer is not in a high load state, the transaction processing for the received message is performed. A transaction load balancing system in a loosely-coupled multi-computer system, comprising a message processing host determining means for executing
【請求項2】 前記メッセージ処理ホスト判断手段は、 さらに前記端末からメッセージを受け、前記プロトコル
記憶手段を参照して該メッセージに付されているメッセ
ージ形式が自ホスト計算機でトランザクション処理を実
行することができるメッセージ形式ではないと判定した
場合には、該メッセージを前記外部記憶装置に格納する
ことを特徴とする請求項1記載の疎結合多重計算機シス
テムにおけるトランザクション負荷分散システム。
2. The message processing host determining unit further receives a message from the terminal, and executes a transaction process in a host computer of a message format attached to the message by referring to the protocol storage unit. 2. The transaction load balancing system in a loosely coupled multi-computer system according to claim 1, wherein when it is determined that the message format is not an acceptable message format, the message is stored in the external storage device.
【請求項3】 前記メッセージ処理ホスト判断手段は、 さらに前記端末からメッセージを受け、前記プロトコル
記憶手段を参照して該メッセージに付されているメッセ
ージ形式が自ホスト計算機でトランザクション処理を実
行することができるメッセージ形式であると判定し、か
つ自ホスト計算機が高負荷状態である場合には、該メッ
セージを前記外部記憶装置に格納することを特徴とする
請求項1および請求項2に記載の疎結合多重計算機シス
テムにおけるトランザクション負荷分散システム。
3. The message processing host judging unit further receives a message from the terminal, and executes a transaction process in a host computer of the message format attached to the message by referring to the protocol storage unit. 3. The loosely-coupled connection according to claim 1, wherein the message is stored in the external storage device when the host computer is determined to be in a message format that can be used and the host computer is in a high load state. Transaction load distribution system in a multi-computer system.
【請求項4】 トランザクション処理を実行する複数の
ホスト計算機と、該トランザクション処理を実行させる
ためのメッセージにメッセージ形式を付して通信制御装
置を介して該複数のホスト計算機のいずれかに送信する
端末と、該複数のホスト計算機が共用する外部記憶装置
を備えた疎結合多重計算機システムにおいて、 前記ホスト計算機は、 前記複数のホスト計算機毎にトランザクション処理を実
行することができるメッセージのメッセージ形式を登録
するプロトコル記憶手段と、 自ホスト計算機の立上げ時および一定時間間隔毎に、自
ホスト計算機がトランザクション処理を実行することが
できるメッセージのメッセージ形式を前記プロトコル記
憶手段に登録するとともに他のホスト計算機に通知する
プロトコル通知手段と、 他のホスト計算機から通知された該他のホスト計算機が
トランザクション処理を実行することができるメッセー
ジのメッセージ形式を前記プロトコル記憶手段に登録す
るプロトコル更新手段と、 自ホスト計算機におけるトランザクション処理の完了時
および一定時間間隔毎に前記外部記憶装置からメッセー
ジを読み出し、前記プロトコル記憶手段を参照して該メ
ッセージに付されているメッセージ形式が自ホスト計算
機でトランザクション処理を実行することができるメッ
セージ形式のバージョンであり、かつ自ホスト計算機が
高負荷状態でない場合には、受信したメッセージに対す
るトランザクション処理を実行するメッセージ処理ホス
ト判断手段を含むことを特徴とする疎結合多重計算機シ
ステムにおけるトランザクション負荷分散システム。
4. A plurality of host computers that execute transaction processing, and a terminal that attaches a message format to a message for executing the transaction processing and sends it to any of the plurality of host computers via a communication control device. And a loosely coupled multiple computer system having an external storage device shared by the plurality of host computers, wherein the host computer registers a message format of a message capable of executing transaction processing for each of the plurality of host computers. Protocol storage means, and at the time of start-up of the host computer and at regular time intervals, register the message format of a message which allows the host computer to execute transaction processing in the protocol storage means and notify other host computers. Protocol notification means to Protocol update means for registering, in the protocol storage means, a message format of a message notified by the host computer that the other host computer can execute transaction processing; and completion of transaction processing in the own host computer and at a fixed time interval. Each time a message is read from the external storage device with reference to the protocol storage means, the message format attached to the message is a version of a message format that allows the host computer to execute a transaction process, and A transaction load distribution system in a loosely-coupled multi-computer system, characterized by including a message processing host determining means for executing a transaction processing on a received message when the host computer is not in a high load state.
【請求項5】 前記メッセージ処理ホスト判断手段は、 さらに自ホスト計算機におけるトランザクション処理の
完了時および一定時間間隔毎に前記外部記憶装置からメ
ッセージを読み出し、前記プロトコル記憶手段を参照し
て該メッセージに付されているメッセージ形式が自ホス
ト計算機でトランザクション処理を実行することができ
るメッセージ形式ではないと判定した場合には、該メッ
セージを前記外部記憶装置に格納することを特徴とする
請求項4記載の疎結合多重計算機システムにおけるトラ
ンザクション負荷分散システム。
5. The message processing host judging means further reads a message from the external storage device at the completion of transaction processing in the host computer and at regular time intervals, and refers to the protocol storage means to attach the message to the message. 5. The sparse message storage device according to claim 4, wherein when it is determined that the message format is not a message format in which transaction processing can be executed by the host computer, the message is stored in the external storage device. A transaction load distribution system in a coupled multiple computer system.
【請求項6】 前記メッセージ処理ホスト判断手段は、 さらに自ホスト計算機におけるトランザクション処理の
完了時および一定時間間隔毎に前記外部記憶装置からメ
ッセージを読み出し、前記プロトコル記憶手段を参照し
て該メッセージに付されているメッセージ形式が自ホス
ト計算機でトランザクション処理を実行することができ
るメッセージ形式であると判定し、かつ自ホスト計算機
が高負荷状態である場合には、該メッセージを前記外部
記憶装置に格納することを特徴とする請求項4および請
求項5に記載の疎結合多重計算機システムにおけるトラ
ンザクション負荷分散システム。
6. The message processing host determining means further reads a message from the external storage device at the time of completion of transaction processing in the host computer and at regular time intervals, and refers to the protocol storage means to attach the message to the message. If the determined message format is a message format in which transaction processing can be executed by the host computer, and the host computer is in a high load state, the message is stored in the external storage device. 6. A transaction load distribution system in a loosely-coupled multi-computer system according to claim 4, wherein:
【請求項7】 トランザクション処理を実行する複数の
ホスト計算機と、該複数のホスト計算機と端末間のメッ
セージの送受信を制御する通信制御装置と、該複数のホ
スト計算機が共用する外部記憶装置を備えた疎結合多重
計算機システムにおいて、 前記端末は、前記複数のホスト計算機のいずれかに所望
のトランザクション処理を実行させるためのメッセージ
に該メッセージのメッセージ形式のバージョンを付して
入力し、 前記外部記憶装置は、前記複数のホスト計算機間で受け
渡しされるデータを格納するグローバルメッセージキュ
ーイングファイルを含み、 前記ホスト計算機は、 前記端末から入力されたメッセージを前記通信制御装置
を介して受信するメッセージ送受信手段と、 前記端末から入力されたメッセージのトランザクション
処理を実行するトランザクション実行処理手段と、 前記複数のホスト計算機毎にトランザクション処理を実
行することができるメッセージのメッセージ形式のバー
ジョンを登録するプロトコル記憶手段と、 自ホスト計算機の立上げ時および一定時間間隔毎に、自
ホスト計算機がトランザクション処理を実行することが
できるメッセージのメッセージ形式のバージョンを前記
プロトコル記憶手段に登録するとともに他のホスト計算
機に通知するプロトコル通知手段と、 他のホスト計算機から通知された該他のホスト計算機が
トランザクション処理を実行することができるメッセー
ジのメッセージ形式のバージョンを前記プロトコル記憶
手段に登録するプロトコル更新手段と、 前記グローバルメッセージキューイングファイルに対し
てデータの入出力を行うグローバルメッセージキューイ
ングファイル入出力手段と、 前記端末から入力されたメッセージのトランザクション
処理を他のホスト計算機に依頼するとともに、他のホス
ト計算機からトランザクション処理の依頼を受け、前記
グローバルメッセージキューイングファイル入出力手段
により前記グローバルメッセージキューイングファイル
に格納されているメッセージを読み出す処理依頼通知手
段と、 前記複数のホスト計算機毎に前記端末から入力されたメ
ッセージに対するトランザクション処理を実行すること
ができないということを未確認か確認済かを登録するホ
スト状態管理表と、 前記メッセージ送受信手段および前記処理依頼通知手段
からメッセージを受け、前記プロトコル記憶手段を参照
して該メッセージに付されているメッセージ形式のバー
ジョンが自ホスト計算機でトランザクション処理を実行
することができるメッセージ形式のバージョンであり、
かつ自ホスト計算機が高負荷状態でなく、かつ前記トラ
ンザクション実行処理手段が活性状態の場合には、受信
したメッセージに対するトランザクション処理を前記ト
ランザクション実行処理手段により実行するメッセージ
処理ホスト判断手段を含むことを特徴とする疎結合多重
計算機システムにおけるトランザクション負荷分散シス
テム。
7. A system comprising: a plurality of host computers for executing transaction processing; a communication control device for controlling transmission and reception of messages between the plurality of host computers and terminals; and an external storage device shared by the plurality of host computers. In the loosely-coupled multi-computer system, the terminal inputs a message for causing any of the plurality of host computers to execute a desired transaction process with a message format version of the message attached thereto, and the external storage device A global message queuing file for storing data transferred between the plurality of host computers, wherein the host computer receives a message input from the terminal via the communication control device; Transaction of message input from the terminal Transaction execution processing means for executing processing; protocol storage means for registering a message format version of a message capable of executing transaction processing for each of the plurality of host computers; at start-up of the own host computer and at fixed time intervals Protocol notification means for registering a message format version of a message in which the own host computer can execute transaction processing in the protocol storage means and for notifying the other host computer, A protocol update unit for registering a message format version of a message which can execute the transaction processing by the other host computer in the protocol storage unit; and data for the global message queuing file. A global message queuing file input / output unit for performing input / output, and requesting transaction processing of a message input from the terminal to another host computer, and receiving a transaction processing request from another host computer, A processing request notifying means for reading out a message stored in the global message queuing file by the queuing file input / output means; and a transaction processing for a message input from the terminal cannot be executed for each of the plurality of host computers. A host status management table for registering whether the message has not been confirmed or confirmed, and a message received from the message transmitting / receiving means and the processing request notifying means, and attached to the message by referring to the protocol storage means. And version of the message format and is the version of the message format that can perform transaction processing in the local host computer,
When the host computer is not in a high load state and the transaction execution processing unit is in an active state, the transaction execution processing unit executes a transaction process for a received message by the transaction execution processing unit. Transaction load balancing system in a loosely coupled multi-computer system.
【請求項8】 前記メッセージ処理ホスト判断手段は、 さらに前記メッセージ送受信手段および前記処理依頼通
知手段からメッセージを受け、前記プロトコル記憶手段
を参照して該メッセージに付されているメッセージ形式
のバージョンが自ホスト計算機でトランザクション処理
を実行することができるメッセージ形式のバージョンで
あり、かつ自ホスト計算機が高負荷状態でなく、かつ前
記トランザクション実行処理手段が非活性状態の場合に
は、該メッセージにさらに自ホスト計算機について確認
済としたホスト処理状態表を付して、前記グローバルメ
ッセージキューイングファイル入出力手段により前記グ
ローバルメッセージキューイングファイルに格納するこ
とを特徴とする請求項7記載の疎結合多重計算機システ
ムにおけるトランザクション負荷分散システム。
8. The message processing host determining means further receives a message from the message transmitting / receiving means and the processing request notifying means, and refers to the protocol storing means to determine a message format version attached to the message. If the host computer is in a message format version capable of executing transaction processing, and the host computer is not in a high load state, and the transaction execution processing means is in an inactive state, the message further includes the host computer. 8. The loosely-coupled multi-computer system according to claim 7, wherein a host processing status table confirmed for the computer is added to the global message queuing file by the global message queuing file input / output means. Tran Transfection load balancing system.
【請求項9】 前記メッセージ処理ホスト判断手段は、 さらに前記メッセージ送受信手段および前記処理依頼通
知手段からメッセージを受け、前記プロトコル記憶手段
を参照して該メッセージに付されているメッセージ形式
のバージョンが自ホスト計算機でトランザクション処理
を実行することができるメッセージ形式のバージョンで
はないと判定した場合には、該メッセージにさらに自ホ
スト計算機について確認済としたホスト処理状態表を付
して、前記グローバルメッセージキューイングファイル
入出力手段により前記グローバルメッセージキューイン
グファイルに格納することを特徴とする請求項7および
請求項8記載の疎結合多重計算機システムにおけるトラ
ンザクション負荷分散システム。
9. The message processing host determining means further receives a message from the message transmitting / receiving means and the processing request notifying means, and refers to the protocol storing means to determine a version of the message format attached to the message. If it is determined that the version is not a message format version in which transaction processing can be executed by the host computer, the global message queuing is added to the message with a host processing status table that has been confirmed for the host computer. 9. The transaction load distribution system in a loosely-coupled multi-computer system according to claim 7, wherein the global message queuing file is stored by a file input / output unit.
【請求項10】 前記メッセージ処理ホスト判断手段
は、 さらに前記メッセージ送受信手段および前記処理依頼通
知手段からメッセージを受け、前記プロトコル記憶手段
を参照して該メッセージに付されているメッセージ形式
のバージョンが自ホスト計算機でトランザクション処理
を実行することができるメッセージ形式のバージョンで
あると判定し、かつ自ホスト計算機が高負荷状態で、か
つ前記ホスト処理状態表に未確認のホスト計算機が存在
する場合には、該メッセージにさらにすべてのホスト計
算機について未確認としたホスト処理状態表を付して、
前記グローバルメッセージキューイングファイル入出力
手段により前記グローバルメッセージキューイングファ
イルに格納し、前記処理依頼通知手段により前記ホスト
処理状態表において未確認の他のホスト計算機に該メッ
セージのトランザクション処理を依頼することを特徴と
する請求項7から請求項9のいずれかに記載の疎結合多
重計算機システムにおけるトランザクション負荷分散シ
ステム。
10. The message processing host determining means further receives a message from the message transmitting / receiving means and the processing request notifying means, and refers to the protocol storage means to determine a message format version attached to the message. If it is determined that the version is a message format version that can execute transaction processing on the host computer, and the host computer is in a high load state, and there is an unconfirmed host computer in the host processing state table, Attached to the message is a host processing status table that has not been confirmed for all host computers.
The global message queuing file is stored in the global message queuing file by the global message queuing file input / output means, and the processing request notification means requests another host computer which has not been confirmed in the host processing status table to perform a transaction processing of the message. The transaction load distribution system in the loosely-coupled multi-computer system according to any one of claims 7 to 9.
【請求項11】 前記メッセージ処理ホスト判断手段
は、 さらに前記メッセージ送受信手段および前記処理依頼通
知手段からメッセージを受け、前記プロトコル記憶手段
を参照して該メッセージに付されているメッセージ形式
のバージョンが自ホスト計算機でトランザクション処理
を実行することができるメッセージ形式のバージョンで
あると判定し、かつ自ホスト計算機が高負荷状態で、か
つ前記ホスト処理状態表に未確認のホスト計算機が存在
しない場合には、受信したメッセージに対するトランザ
クション処理を前記トランザクション実行処理手段によ
り実行することを特徴とする請求項7から請求項10の
いずれかに記載の疎結合多重計算機システムにおけるト
ランザクション負荷分散システム。
11. The message processing host determining means further receives a message from the message transmitting / receiving means and the processing request notifying means, and refers to the protocol storage means to determine a message format version attached to the message. If it is determined that the version is in a message format in which transaction processing can be executed by the host computer, and the own host computer is in a high load state, and there is no unconfirmed host computer in the host processing state table, the reception is performed. 11. The transaction load distribution system in a loosely-coupled multi-computer system according to claim 7, wherein a transaction process for said message is executed by said transaction execution processing means.
【請求項12】 前記処理依頼通知手段は、 さらに自ホスト計算機におけるトランザクション処理の
完了時および一定時間間隔毎に、前記グローバルメッセ
ージキューイングファイル入出力手段により前記グロー
バルメッセージキューイングファイルに格納されている
メッセージを読み出すことを特徴とする請求項7から請
求項11のいずれかに記載の疎結合多重計算機システム
におけるトランザクション負荷分散システム。
12. The processing request notifying means is further stored in the global message queuing file by the global message queuing file input / output means at the completion of transaction processing in the host computer and at regular time intervals. The transaction load distribution system in a loosely-coupled multiple computer system according to any one of claims 7 to 11, wherein a message is read.
JP7320526A 1995-12-08 1995-12-08 Transaction load balancing system for loosely coupled multi-computer systems Expired - Fee Related JP2812274B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7320526A JP2812274B2 (en) 1995-12-08 1995-12-08 Transaction load balancing system for loosely coupled multi-computer systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7320526A JP2812274B2 (en) 1995-12-08 1995-12-08 Transaction load balancing system for loosely coupled multi-computer systems

Publications (2)

Publication Number Publication Date
JPH09160888A JPH09160888A (en) 1997-06-20
JP2812274B2 true JP2812274B2 (en) 1998-10-22

Family

ID=18122424

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7320526A Expired - Fee Related JP2812274B2 (en) 1995-12-08 1995-12-08 Transaction load balancing system for loosely coupled multi-computer systems

Country Status (1)

Country Link
JP (1) JP2812274B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256395A (en) * 2002-03-06 2003-09-12 Nec Corp Cluster system

Also Published As

Publication number Publication date
JPH09160888A (en) 1997-06-20

Similar Documents

Publication Publication Date Title
JP3484049B2 (en) Delay coded data transmission
JP4144897B2 (en) Optimal server in common work queue environment
CN102630315A (en) Method and system for processing data for preventing deadlock
TW200411403A (en) System and method for transferring data between virtual machines or other computer entities
CN112787999B (en) Cross-chain calling method, device, system and computer readable storage medium
US5204954A (en) Remote storage management mechanism and method
EP1430410A1 (en) Method for handling transitions in grouped services in a distributed computing application
EP0317481A2 (en) Remote storage management mechanism and method
EP2845110B1 (en) Reflective memory bridge for external computing nodes
JP2005346573A (en) Web service providing method, server device and client terminal in web service system, web service system, web service program, and recording medium
JP2003006170A (en) Method for performing program in environment of plural computers
CN113590362A (en) Inter-process message processing method and device, electronic equipment and storage medium
JP5086820B2 (en) Service management method, system and program
JP2812274B2 (en) Transaction load balancing system for loosely coupled multi-computer systems
US20100250684A1 (en) High availability method and apparatus for shared resources
JP2001060157A (en) Inter-application message exchange system
JP2006268794A (en) Image processor, image processing method, information processing system and information processor
CN113704274B (en) Data reading method and electronic equipment
JP2005149332A (en) Workflow management system and program therefor
JP2752894B2 (en) File transfer device
CN116010968A (en) FaaS distributed computing system, method and storage medium based on side car mode
CN114171168A (en) Business module management system, method, electronic device and storage medium
JP3019774B2 (en) Network system remote operation management system, remote operation management method, and medium for storing remote operation management program
SDSF ABCs of z/OS System Programming Volume 13
JP2006285620A (en) Application execution management system, computer device and application execution management program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980707

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070807

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100807

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110807

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees