JPH05314070A - Message queue managing system - Google Patents

Message queue managing system

Info

Publication number
JPH05314070A
JPH05314070A JP14193892A JP14193892A JPH05314070A JP H05314070 A JPH05314070 A JP H05314070A JP 14193892 A JP14193892 A JP 14193892A JP 14193892 A JP14193892 A JP 14193892A JP H05314070 A JPH05314070 A JP H05314070A
Authority
JP
Japan
Prior art keywords
business processing
message queue
business
class
queue management
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
JP14193892A
Other languages
Japanese (ja)
Inventor
Iwao Maruyama
巌 丸山
Kimitaka Asami
公貴 浅見
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP14193892A priority Critical patent/JPH05314070A/en
Publication of JPH05314070A publication Critical patent/JPH05314070A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load of a message queue by distributing job processing requests concerning the message queue used for inter-process communication in a transaction processing system. CONSTITUTION:At a host computer system 1, one message queue 14 is made correspondent to the unit of a job processing process class 13, the copy of a job processing process 131, 132 or 133 is generated and erased at a monitor process 16 by referring to a message queue managing table 17. Thus, the job processing requests are distributed, the load of the message queue is reduced, and the message queue being system resources is saved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、トランザクション処理
システムに関し、特に入力装置からの業務処理要求およ
び出力装置に出力する処理結果を制御する端末制御プロ
セスと、データベース管理システムに対してトランザク
ション処理要求を行う業務処理プロセスとの間で行われ
るプロセス間通信に使用されるメッセージキューの管理
方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction processing system, and more particularly to a terminal control process for controlling a business processing request from an input device and a processing result output to an output device, and a transaction processing request to a database management system. The present invention relates to a management method of a message queue used for interprocess communication performed with a business processing process.

【0002】[0002]

【従来の技術】従来、1つの業務処理プロセスに対して
1つのメッセージキューが用意され、同一の業務処理プ
ロセスが複数存在し、同一の業務処理プロセス数を越え
る同一業務処理プロセスに対する処理要求が発生した
際、前記処理要求を分散させることによりメッセージキ
ューの負荷を軽減する方法として、メッセージキューと
業務処理プロセスとの対応および業務処理プロセスに対
する処理待ち状態の端末制御プロセス数を管理する管理
テーブルを設け、端末制御プロセスが管理テーブルを参
照し、処理待ちの少ない業務プロセスに対して処理要求
を行うことによって処理要求の分散とメッセージキュー
の負荷の軽減を実現している。
2. Description of the Related Art Conventionally, one message queue is prepared for one business processing process, a plurality of the same business processing processes exist, and a processing request for the same business processing process exceeds the same number of business processing processes. In this case, as a method of reducing the load on the message queue by distributing the processing requests, a management table for managing the correspondence between the message queue and the business processing process and the number of terminal control processes waiting for the business processing process is provided. The terminal control process refers to the management table and requests processing to business processes with a small number of processing waits, thereby realizing distribution of processing requests and reduction of load on the message queue.

【0003】[0003]

【発明が解決しようとする課題】この従来の方法では、
1つの業務処理プロセスに対してシステムの資源である
メッセージキューが1つ用意されるため、複数の同一業
務処理プロセスを束ねた業務処理プロセスクラスを多数
持つトランザクション処理システムにおいて、資源の効
率化は困難であった。またシステムに許される資源数の
制限があるため、業務処理プロセス数が制限されるとい
う問題点があった。
SUMMARY OF THE INVENTION In this conventional method,
Since one message queue, which is a system resource, is prepared for one business processing process, it is difficult to make the resources efficient in a transaction processing system having a large number of business processing process classes that bundle a plurality of same business processing processes. Met. Further, there is a problem that the number of business processing processes is limited because the number of resources allowed in the system is limited.

【0004】本発明は上述の問題点を解決するためにな
されたものであり、業務処理プロセスクラス単位に1つ
のメッセージキューを対応させることにより、システム
の資源であるメッセージキューを節約し、資源の効率化
を可能とするメッセージキュー管理方式を提供すること
を目的とするものである。
The present invention has been made in order to solve the above-mentioned problems. By associating one message queue with each business process class, the message queue which is the resource of the system can be saved and the resource can be saved. It is an object of the present invention to provide a message queue management method that enables efficiency.

【0005】[0005]

【課題を解決するための手段】本発明のメッセージキュ
ー管理方式は、業務処理要求と業務処理要求に関する入
力情報を受け付け、前記業務処理要求に対する結果を出
力する入出力装置と、データベースを利用するのに必要
な機能を管理するデータベース管理システムと、前記入
力装置から入力された業務処理要求から適切な業務処理
プロセスを選択し、前記入力装置からの入力情報を送信
すると共に、処理された結果を前記出力装置に出力する
端末制御プロセスと、前記端末制御プロセスからの要求
によって、前記データベース管理システムに対してトラ
ンザクション処理要求を行うことによって業務処理を遂
行する同一の業務処理プロセスを複数持つ業務処理プロ
セスクラスとを備えたトランザクション処理システムに
おいて、前記端末制御プロセスと前記業務処理プロセス
クラス内の業務処理プロセスとの間でプロセス間通信を
行うのに使用し、前記業務処理プロセスクラス毎に存在
するメッセージキューと、前記メッセージキューと前記
業務処理プロセスクラスとの対応および前記業務処理プ
ロセスクラス内の業務処理プロセスの稼働状態を管理す
るメッセージキュー管理テーブルと、前記メッセージキ
ュー管理テーブルの管理、および前記業務処理プロセス
クラス内の業務処理プロセスの生成及び削除する監視プ
ロセスとを備えている。
The message queue management system of the present invention uses a database and an input / output device that receives a business processing request and input information relating to the business processing request and outputs a result of the business processing request. A database management system that manages the functions required for selecting the appropriate business processing process from the business processing request input from the input device, transmits the input information from the input device, and outputs the processed result to the A business process class that has a plurality of terminal business processes that output to an output device and the same business process that performs business processes by issuing a transaction process request to the database management system in response to a request from the terminal process. In a transaction processing system comprising: It is used to perform inter-process communication between a process and a business processing process in the business processing process class, and a message queue existing for each business processing process class, the message queue, and the business processing process class. And management of the message queue management table for managing the operating status of the business processing process in the business processing class, management of the message queue management table, and monitoring for creating and deleting business processing processes in the business processing class And process.

【0006】[0006]

【作用】上記構成によれば、入出力装置からの業務処理
要求が端末制御プロセスへ入されると、端末制御プロセ
スは同一の業務処理プロセスを複数持つ業務処理プロセ
スクラスを選択し、その業務処理プロセスクラス毎に存
在するメッセージキューを、メッセージキュー管理テー
ブルより求め、求めたメッセージキューに対し業務処理
要求及び入力情報を、メッセージキューを介して業務処
理プロセスクラス内の各業務処理プロセスが受けとれる
型式で送出される。受信した業務処理プロセスはデータ
ベース管理システムに対して処理要求を行い、業務処理
終了後、業務処理プロセスクラスは対応するメッセージ
キューを介し端末制御プロセスへ業務処理要求結果を返
す。
According to the above configuration, when a business processing request from the input / output device is input to the terminal control process, the terminal control process selects a business processing process class having a plurality of the same business processing processes and executes the business processing. A model in which the message queue that exists for each process class is obtained from the message queue management table, business process requests and input information for the obtained message queue can be received by each business process process in the business process class via the message queue. Sent out. The received business processing process makes a processing request to the database management system, and after the business processing is completed, the business processing process class returns the business processing request result to the terminal control process via the corresponding message queue.

【0007】一方、監視プロセスは、メッセージキュー
と業務処理プロセスクラスとの対応、および業務処理プ
ロセスクラス内の業務処理プロセスの稼働状態を管理す
るメッセージキュー管理テーブルを管理することによ
り、その状態から業務処理プロセスクラス内の業務処理
プロセスの生成又は削除処理を行うので、業務処理要求
を分散させメッセージキューの負荷を軽減することがで
きる。
On the other hand, the monitoring process manages the correspondence between the message queue and the business processing process class and the message queue management table that manages the operating status of the business processing process in the business processing process class so that the business processing can be performed from that state. Since the business processing process in the processing process class is generated or deleted, the business processing requests can be distributed and the load on the message queue can be reduced.

【0008】[0008]

【実施例】以下、本発明について図面を参照して説明す
る。図1は本発明のメッセージキュー管理方式の構成図
である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a message queue management system of the present invention.

【0009】図1において、本実施例は、ホスト計算機
システム1と、入出力装置21と、入出力装置22と、
データベース3から構成される。
In FIG. 1, this embodiment is provided with a host computer system 1, an input / output device 21, an input / output device 22, and
It is composed of the database 3.

【0010】さらに、ホスト計算機システム1は、入出
力装置21の入出力を制御する端末制御プロセス11
と、入出力装置22の入出力を制御する端末制御プロセ
ス12と、業務処理プロセスクラス13と、端末制御プ
ロセス11または端末制御プロセス12と業務処理プロ
セスクラス13間のプロセス間通信としてのメッセージ
キュー14と、データベース管理システム15と、メッ
セージキュー管理情報を管理するメッセージキュー管理
テーブル17と、業務処理プロセスクラス13を監視
し、メッセージキュー管理テーブル17を管理する監視
プロセス16を備える。
Further, the host computer system 1 has a terminal control process 11 for controlling the input / output of the input / output device 21.
, A terminal control process 12 for controlling the input / output of the input / output device 22, a business processing process class 13, a terminal control process 11, or a message queue 14 as inter-process communication between the terminal control process 12 and the business processing process class 13. A database management system 15, a message queue management table 17 that manages message queue management information, and a monitoring process 16 that monitors the business process class 13 and manages the message queue management table 17.

【0011】また、業務処理プロセスクラス13は、同
一の業務処理プロセスである業務処理プロセス131
と、業務処理プロセス132と、業務処理プロセス13
3を備える。
The business process class 13 is a business process 131 which is the same business process.
And the business processing process 132 and the business processing process 13
3 is provided.

【0012】図2は、図1のメッセージキュー管理テー
ブル17の内容例を示す図である。
FIG. 2 is a diagram showing an example of the contents of the message queue management table 17 of FIG.

【0013】図2の内容は、業務処理プロセスクラスを
識別するための識別子(13、51)と、業務処理プロ
セスを識別する識別番号(131〜512)と、端末制
御プロセスと業務処理プロセス間のプロセス間通信を実
現するメッセージキューの識別番号(14、61)と、
業務処理プロセスの状態である。
The contents of FIG. 2 are the identifiers (13, 51) for identifying the business processing process class, the identification numbers (131-512) for identifying the business processing process, and the terminal control process and the business processing process. The identification number (14, 61) of the message queue that realizes inter-process communication,
This is the status of the business process.

【0014】図3は、図1の端末制御プロセス11また
は端末制御プロセス12と業務処理プロセス131また
は業務処理プロセス132または業務処理プロセス13
3のプロセス間通信を行う場合のメッセージ形式であ
る。
FIG. 3 shows the terminal control process 11 or the terminal control process 12 and the business processing process 131 or the business processing process 132 or the business processing process 13 of FIG.
This is a message format when performing inter-process communication of No. 3.

【0015】このメッセージ形式は、メッセージ型とテ
キストに分けられ、この場合のテキストは装置識別子と
データに分けられる。メッセージ型はメッセージキュー
にキューイングされた処理要求または処理結果を取り出
す場合に使用する識別子であり、装置識別子とは処理要
求の出所を明確にするための識別子である。
The message format is divided into a message type and text, and the text in this case is divided into a device identifier and data. The message type is an identifier used to retrieve a processing request or processing result queued in the message queue, and the device identifier is an identifier for clarifying the source of the processing request.

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

【0017】入出力装置21から業務処理要求が端末制
御プロセス11に入力されると、端末制御プロセス11
は業務処理プロセスクラス13を選択し、業務処理プロ
セスクラス13に対応するメッセージキュー14をメッ
セージキュー管理テーブル17を参照することにより求
め、メッセージキュー14に対して業務処理要求及び入
力情報を図3のメッセージ形式で送信する。
When a business processing request is input to the terminal control process 11 from the input / output device 21, the terminal control process 11
Selects the business processing process class 13, obtains the message queue 14 corresponding to the business processing process class 13 by referring to the message queue management table 17, and obtains the business processing request and input information for the message queue 14 in FIG. Send in message format.

【0018】端末制御プロセス11からの送信の場合、
業務処理要求の際、要求先業務処理プロセスクラス13
の業務処理プロセス131と業務処理プロセス132と
業務処理プロセス133が業務処理要求を受け取れるよ
うに既知の固定値を図3のメッセージ型にセットし、入
力情報送信の際、処理結果が端末制御プロセス12の処
理結果と混じり合わないようにするためメッセージ形式
の装置識別子に入出力装置21と入出力装置22を識別
する論理識別子をセットする。
In the case of transmission from the terminal control process 11,
When a business processing request is made, the requested business processing process class 13
A known fixed value is set in the message type of FIG. 3 so that the business processing process 131, the business processing process 132, and the business processing process 133 of FIG. A logical identifier for identifying the input / output device 21 and the input / output device 22 is set in the device identifier in the message format so as not to be mixed with the processing result of (1).

【0019】業務処理プロセス131は、対応するメッ
セージキュー14から業務処理要求を受信した場合、メ
ッセージキュー管理テーブル17の状態をアクティブと
し、業務処理要求メンバである装置識別子を参照し、メ
ッセージ型が装置識別子と同一の物を受信する。
When a business processing request is received from the corresponding message queue 14, the business processing process 131 activates the status of the message queue management table 17, refers to the device identifier which is the business processing request member, and the message type is the device. Receive the same thing as the identifier.

【0020】業務処理プロセス131は、業務処理によ
って生じるデータベース3の更新要求をデータベース管
理システム15に要求する。
The business processing process 131 requests the database management system 15 for an update request for the database 3 generated by business processing.

【0021】業務処理終了後、処理結果のメッセージ型
を装置識別子とし、メッセージキュー14に対して送信
することで端末制御プロセス11はメッセージ型が自装
置識別子のメッセージを受信することで自プロセスから
の業務処理要求結果を受信することができる。
After the business processing is completed, the message type of the processing result is used as a device identifier, and by transmitting it to the message queue 14, the terminal control process 11 receives a message whose message type is its own device identifier, and thereby receives a message from its own process. The business processing request result can be received.

【0022】監視プロセス16は、業務処理プロセスク
ラス13とメッセージキュー14を監視し、メッセージ
キュー14に処理要求待ち数が増大した場合、業務プロ
セスクラス13に属する業務処理プロセス131または
業務処理132または業務処理133の複製を生成しメ
ッセージキュー14の負荷の軽減を行い、メッセージキ
ュー管理テーブル17の業務処理プロセス状態を参照す
ることで、アイドル状態またはアボート状態の業務処理
プロセスを検索し、削除する。
The monitoring process 16 monitors the business process class 13 and the message queue 14. When the number of waiting process requests in the message queue 14 increases, the business process 131 or business process 132 or the business process 132 belonging to the business process class 13 By generating a copy of the process 133 to reduce the load on the message queue 14 and referring to the business process status of the message queue management table 17, the business process in the idle state or the abort state is searched and deleted.

【0023】[0023]

【発明の効果】以上説明したように本発明は、業務処理
プロセスクラス単位に1つのメッセージキューを対応さ
せ、同一の業務処理プロセスを生成および削除すること
により、業務処理要求を分散させ、メッセージキューの
負荷を軽減するという効果を有する。
As described above, according to the present invention, one message queue is associated with each business process class, and the same business process is created and deleted to distribute business process requests and to distribute message queues. This has the effect of reducing the load on the.

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

【図1】本発明のメッセージキュー管理方式の構成図で
ある。
FIG. 1 is a configuration diagram of a message queue management system of the present invention.

【図2】図1に示すメッセージキュー管理テーブルの内
容を示す図である。
FIG. 2 is a diagram showing the contents of a message queue management table shown in FIG.

【図3】図1におけるプロセス間通信を行う際のメッセ
ージ形式を示す図である。
FIG. 3 is a diagram showing a message format when performing inter-process communication in FIG.

【符号の説明】 1 ホスト計算機システム 3 データベース 11、12 端末制御プロセス 13 業務処理プロセスクラス 14 メッセージキュー 15 データベース管理システム 16 監視プロセス 17 メッセージキュー管理テーブル 21、22 入出力装置 131、132、133 業務処理プロセス[Explanation of reference numerals] 1 host computer system 3 database 11, 12 terminal control process 13 business processing process class 14 message queue 15 database management system 16 monitoring process 17 message queue management table 21, 22 input / output device 131, 132, 133 business processing process

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 業務処理要求と業務処理要求に関する入
力情報を受け付け、前記業務処理要求に対する結果を出
力する入出力装置と、 データベースを利用するのに必要な機能を管理するデー
タベース管理システムと、 前記入力装置から入力された業務処理要求から適切な業
務処理プロセスを選択し、前記入力装置からの入力情報
を送信すると共に、処理された結果を前記出力装置に出
力する端末制御プロセスと、 前記端末制御プロセスからの要求によって、前記データ
ベース管理システムに対してトランザクション処理要求
を行うことによって業務処理を遂行する同一の業務処理
プロセスを複数持つ業務処理プロセスクラスとを備えた
トランザクション処理システムにおいて、 前記端末制御プロセスと前記業務処理プロセスクラス内
の業務処理プロセスとの間でプロセス間通信を行うのに
使用し、前記業務処理プロセスクラス毎に存在するメッ
セージキューと、 前記メッセージキューと前記業務処理プロセスクラスの
対応情報を管理するメッセージキュー管理テーブルと、 前記メッセージキュー管理テーブルを管理する監視プロ
セスとを備えたことを特徴とするメッセージキュー管理
方式。
1. A business processing request and an input / output device which receives input information relating to the business processing request and outputs a result corresponding to the business processing request, a database management system which manages functions required to use a database, A terminal control process for selecting an appropriate business processing process from a business processing request input from an input device, transmitting input information from the input device, and outputting a processed result to the output device; In a transaction processing system including a business processing process class having a plurality of same business processing processes for performing business processing by making a transaction processing request to the database management system in response to a request from a process, the terminal control process And the business within the business process class A message queue that is used to perform inter-process communication with a physical process and that exists for each business process class, and a message queue management table that manages correspondence information between the message queue and the business process class, A message queue management system comprising: a monitoring process for managing the message queue management table.
【請求項2】 請求項1に記載のメッセージキュー管理
方式において、 前記業務処理プロセスクラス内の業務処理プロセスの稼
働状態を管理するメッセージキュー管理テーブルと、 前記メッセージキュー管理テーブルを管理し、業務処理
要求数と前記業務処理プロセス内の業務処理プロセスの
稼働状態に応じて前記業務処理プロセスクラス内の業務
処理プロセスの生成及び削除する監視プロセスとを備え
たことを特徴とするメッセージキュー管理方式。
2. The message queue management method according to claim 1, wherein a message queue management table that manages an operating state of a business processing process in the business processing process class, and a business processing that manages the message queue management table A message queue management method, comprising: a monitoring process for creating and deleting business processing processes in the business processing process class according to the number of requests and the operating status of the business processing processes in the business processing process.
JP14193892A 1992-05-08 1992-05-08 Message queue managing system Pending JPH05314070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14193892A JPH05314070A (en) 1992-05-08 1992-05-08 Message queue managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14193892A JPH05314070A (en) 1992-05-08 1992-05-08 Message queue managing system

Publications (1)

Publication Number Publication Date
JPH05314070A true JPH05314070A (en) 1993-11-26

Family

ID=15303638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14193892A Pending JPH05314070A (en) 1992-05-08 1992-05-08 Message queue managing system

Country Status (1)

Country Link
JP (1) JPH05314070A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5890145A (en) * 1995-03-30 1999-03-30 Kabushiki Kaisha Toshiba Cooperative reasoning apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5890145A (en) * 1995-03-30 1999-03-30 Kabushiki Kaisha Toshiba Cooperative reasoning apparatus

Similar Documents

Publication Publication Date Title
US5220674A (en) Local area print server for requesting and storing required resource data and forwarding printer status message to selected destination
US4949254A (en) Method to manage concurrent execution of a distributed application program by a host computer and a large plurality of intelligent work stations on an SNA network
EP0362106B1 (en) Method for scheduling execution of distributed application programs at preset times in an SNA LU 6.2 network environment
US5062037A (en) Method to provide concurrent execution of distributed application programs by a host computer and an intelligent work station on an sna network
EP0738957B1 (en) Job scheduling system for print processing
JP3691515B2 (en) Event distribution apparatus and method in operating system
JP2677744B2 (en) Distributed memory digital computing system
EP0147574B1 (en) Resource sharing method between workstations
JP3185040B2 (en) Computer monitoring method and system using electronic mail
JPS61196326A (en) Priority processing system
JPH05314070A (en) Message queue managing system
JP2697588B2 (en) Communication task management method
JPS62126457A (en) Distributed data processing system
US5436888A (en) Communication path control method and communication device
JPH05265955A (en) Computer system and job executing method
JPH0512226A (en) Composite electronic computer system
JPH06259362A (en) Multi-server control system
JPH02253457A (en) Host computer
JPH0520280A (en) Program distributing system in composite electronic computer
JPH07121328A (en) Job processing system
JPH07319834A (en) Load distribution system in distributed on-line system
JPH0685167B2 (en) Network job execution monitoring control method
JPH0227452A (en) Dynamic area control processing system for area for controlling line
JPH02118841A (en) Input queue control system
JPH0351919A (en) Processing system for inter-program communication control