Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0792788B2 - Transaction message output control method - Google Patents
[go: Go Back, main page]

JPH0792788B2 - Transaction message output control method - Google Patents

Transaction message output control method

Info

Publication number
JPH0792788B2
JPH0792788B2 JP3410289A JP3410289A JPH0792788B2 JP H0792788 B2 JPH0792788 B2 JP H0792788B2 JP 3410289 A JP3410289 A JP 3410289A JP 3410289 A JP3410289 A JP 3410289A JP H0792788 B2 JPH0792788 B2 JP H0792788B2
Authority
JP
Japan
Prior art keywords
transaction
message
storage area
output
output message
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 - Lifetime
Application number
JP3410289A
Other languages
Japanese (ja)
Other versions
JPH02212962A (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 JP3410289A priority Critical patent/JPH0792788B2/en
Publication of JPH02212962A publication Critical patent/JPH02212962A/en
Publication of JPH0792788B2 publication Critical patent/JPH0792788B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はトランザクションメッセージ出力制御方式に関
し、特にトランザクション処理システムにおけるトラン
ザクションメッセージ出力制御方式に関する。
The present invention relates to a transaction message output control system, and more particularly to a transaction message output control system in a transaction processing system.

〔従来の技術〕[Conventional technology]

従来、この種のトランザクションメッセージ出力制御方
式では、多量の出力メッセージ(端末装置に出力するト
ランザクション処理結果のメッセージ)が発生したこと
により出力メッセージ格納領域が不足して出力メッセー
ジの格納ができなくなった場合、アプリケーションプロ
グラムからの出力メッセージの端末装置への送信要求
(以下、出力メッセージ送信要求と称する)を拒否して
いた。
Conventionally, in this type of transaction message output control method, when a large amount of output messages (messages of transaction processing results output to the terminal device) occur, the output message storage area becomes insufficient and the output messages cannot be stored. , The request to send the output message from the application program to the terminal device (hereinafter referred to as the output message sending request) is rejected.

この場合にアプリケーションプログラムは、出力メッセ
ージ送信要求が受け付けられるまで出力メッセージ送信
要求を繰り返し行うか、出力メッセージをファイルに一
時退避する処理を行うか等して出力メッセージの保障を
していた。
In this case, the application program guarantees the output message by repeating the output message transmission request until the output message transmission request is accepted, or by temporarily saving the output message in a file.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のトランザクションメッセージ出力制御方
式では、出力メッセージ格納領域が不足した場合にアプ
リケーションプログラムからの出力メッセージ送信要求
を拒否していたので、出力メッセージ送信要求を拒否さ
れたアプリケーションプログラムがそれに対して何も対
処しなければ出力メッセージの損失が発生し、トランザ
クション処理における重大な障害となるという欠点があ
る。
In the conventional transaction message output control method described above, the output message transmission request from the application program is rejected when the output message storage area is insufficient. If it is not dealt with, there is a drawback that output messages are lost, which becomes a serious obstacle in transaction processing.

また、出力メッセージの保障をするためには全てのアプ
リケーションプログラムに出力メッセージの保障のため
の処理を追加しなければならないので、プログラム作成
工数およびプログラム資源が増大するという欠点があ
る。
Further, in order to guarantee the output message, it is necessary to add a process for guaranteeing the output message to all the application programs, so that there is a drawback that the man-hours for creating the program and the program resources are increased.

本発明の目的は、上述の点に鑑み、出力メッセージ格納
領域が不足するという状態を回避できるようにしてアプ
リケーションプログラムからの出力メッセージ送信要求
を拒否しないようにすることにより、出力メッセージの
損失をなくすとともに出力メッセージの保障のために処
理をアプリケーションプログラムに追加する必要をなく
してプログラム作成工数およびプログラム資源の増大を
防ぐトランザクションメッセージ出力制御方式を提供す
ることにある。
In view of the above points, an object of the present invention is to avoid loss of an output message by preventing a situation where an output message storage area is insufficient and not rejecting an output message transmission request from an application program. Another object of the present invention is to provide a transaction message output control method that prevents the increase of program creation man-hours and program resources by eliminating the need to add processing to an application program to guarantee output messages.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明のトランザクションメッセージ出力制御方式は、
通信回線を介して結ばれた端末装置からトランザクショ
ン処理を要求するトランザクション処理要求メッセージ
を入力してアプリケーションプログラムを実行しトラン
ザクション処理結果の出力メッセージを前記端末装置に
出力するトランザクション処理システムにおいて、前記
端末装置から入力されたトランザクション処理要求メッ
セージを受信して入力メッセージ格納領域上のタスク毎
のトランザクションスケジュール待ち行列に登録するメ
ッセージ入力手段と、このメッセージ入力手段により前
記トランザクションスケジュール待ち行列にトランザク
ション処理要求メッセージが登録されたときおよびタイ
マ機能からの指定時間経過通知を受信したときに出力メ
ッセージ格納領域の負荷状態を示す負荷情報が格納され
た出力メッセージ格納領域負荷情報域を参照して前記出
力メッセージ格納領域が過負荷状態でないならば前記ト
ランザクションスケジュール待ち行列から登録済みのト
ランザクション処理要求メッセージを1件取り出してト
ランザクション実行制御手段に渡し前記出力メッセージ
格納領域が過負荷状態ならば前記トランザクションスケ
ジュール待ち行列からの登録済のトランザクション処理
要求メッセージの取出しを一旦停止して時間間隔を指定
して前記タイマ機能を起動するトランザクションスケジ
ュール手段と、このトランザクションスケジュール手段
から指定された時間間隔が経過したならば前記トランザ
クションスケジュール手段に指定時間経過通知を行う前
記タイマ機能と、前記トランザクションスケジュール手
段から渡されたトランザクション処理要求メッセージを
処理すべきタスクを起動してトランザクション処理要求
メッセージをアプリケーションプログラムに渡しアプリ
ケーションプログラムの実行制御を行いアプリケーショ
ンプログラムからの出力メッセージをメッセージ出力手
段に渡す前記トランザクション実行制御手段と、このト
ランザクション実行制御手段から渡された出力メッセー
ジを前記出力メッセージ格納領域に登録した後に前記端
末装置に送信して前記端末装置に到達したことを確認し
たならば前記出力メッセージ格納領域から削除する前記
メッセージ出力手段と、前記出力メッセージ格納領域の
負荷状態を監視して負荷情報を前記出力メッセージ格納
領域負荷情報域に格納する出力メッセージ格納領域監視
手段とを有する。
The transaction message output control method of the present invention is
A transaction processing system in which a transaction processing request message requesting transaction processing is input from a terminal device connected via a communication line, an application program is executed, and an output message of a transaction processing result is output to the terminal device. Message input means for receiving a transaction processing request message input from the above and registering it in the transaction schedule queue for each task in the input message storage area, and a transaction processing request message is registered in the transaction schedule queue by this message input means Output message that stores the load information that indicates the load status of the output message storage area when the specified time elapse notification from the timer function is received Storage area If the output message storage area is not overloaded by referring to the load information area, one registered transaction processing request message is taken out from the transaction schedule queue and passed to the transaction execution control means. Is an overload state, the transaction schedule means for temporarily stopping the retrieval of the registered transaction processing request message from the transaction schedule queue and activating the timer function by designating the time interval, and the transaction schedule means If the specified time interval has elapsed, the timer function for notifying the transaction scheduling means of the specified time elapses, and the transaction processing passed from the transaction scheduling means. Transaction execution control means for activating a task that should process a request message, passing a transaction processing request message to an application program, controlling execution of the application program, and passing an output message from the application program to message output means, and the transaction execution control The message output means for deleting the output message from the output message storage area when the output message passed from the means is registered in the output message storage area and then transmitted to the terminal device to confirm that the terminal device has reached the terminal device; And an output message storage area monitoring means for monitoring the load status of the output message storage area and storing the load information in the output message storage area load information area.

〔作用〕[Action]

本発明のトランザクションメッセージ出力制御方式で
は、メッセージ入力手段が端末装置から入力されたトラ
ンザクション処理要求メッセージを受信して入力メッセ
ージ格納領域上のタスク毎のトランザクションスケジュ
ール待ち行列に登録し、トランザクションスケジュール
手段がメッセージ入力手段によりトランザクションスケ
ジュール待ち行列にトランザクション処理要求メッセー
ジが登録されたときおよびタイマ機能からの指定時間経
過通知を受信したときに出力メッセージ格納領域の負荷
状態を示す負荷情報が格納された出力メッセージ格納領
域負荷情報域を参照して出力メッセージ格納領域が過負
荷状態でないならばトランザクションスケジュール待ち
行列から登録済みのトランザクション処理要求メッセー
ジを1件取り出してトランザクション実行制御手段に渡
し出力メッセージ格納領域が過負荷状態ならばトランザ
クションスケジュール待ち行列からの登録済のトランザ
クション処理要求メッセージの取出しを一旦停止して時
間間隔を指定してタイマ機能を起動し、タイマ機能がト
ランザクションスケジュール手段から指定された時間間
隔が経過したならばトランザクションスケジュール手段
に指定時間経過通知を行い、トランザクション実行制御
手段がトランザクションスケジュール手段から渡された
トランザクション処理要求メッセージを処理すべきタス
クを起動してトランザクション処理要求メッセージをア
プリケーションプログラムに渡しアプリケーションプロ
グラムの実行制御を行いアプリケーションプログラムか
らの出力メッセージをメッセージ出力手段に渡し、メッ
セージ出力手段がトランザクション実行制御手段から渡
された出力メッセージを出力メッセージ格納領域に登録
した後に端末装置に送信して端末装置に到達したことを
確認したならば出力メッセージ格納領域から削除し、出
力メッセージ格納領域監視手段が出力メッセージ格納領
域の負荷状態を監視して負荷情報を出力メッセージ格納
領域負荷情報域に格納する。
In the transaction message output control system of the present invention, the message input means receives the transaction processing request message input from the terminal device and registers it in the transaction schedule queue for each task in the input message storage area, and the transaction schedule means sends the message. An output message storage area that stores load information indicating the load state of the output message storage area when a transaction processing request message is registered in the transaction schedule queue by the input means and when a specified time elapse notification is received from the timer function. If the output message storage area is not overloaded by referring to the load information area, retrieve one registered transaction processing request message from the transaction schedule queue. If the output message storage area is overloaded to the transaction execution control means, the fetching of the registered transaction processing request message from the transaction schedule queue is temporarily stopped, the time interval is specified, and the timer function is activated. When the function has passed the specified time interval from the transaction scheduling means, the function notifies the transaction scheduling means of elapse of the specified time, and the transaction execution control means activates the task that should process the transaction processing request message passed from the transaction scheduling means. And pass the transaction processing request message to the application program to control the execution of the application program and output the output message from the application program as a message. When the message output means registers the output message passed from the transaction execution control means in the output message storage area and then sends it to the terminal device and confirms that it has reached the terminal device, deletes it from the output message storage area. Then, the output message storage area monitoring means monitors the load state of the output message storage area and stores the load information in the output message storage area load information area.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例のトランザクションメッセ
ージ出力制御方式が適用されたトランザクション処理シ
ステム20の構成を示すブロック図である。このトランザ
クション処理システム20は、通信回線を介して端末装置
1と結ばれており、メッセージ入力手段2と、入力メッ
セージ格納領域3と、トランザクションスケジュール手
段4と、出力メッセージ格納領域負荷情報域5と、トラ
ンザクション実行制御手段6と、アプリケーションプロ
グラム7と、メッセージ出力手段8と、出力メッセージ
格納領域9と、出力メッセージ格納領域監視手段10と、
タイマ機能11とから構成されている。
FIG. 1 is a block diagram showing the configuration of a transaction processing system 20 to which the transaction message output control system of one embodiment of the present invention is applied. This transaction processing system 20 is connected to a terminal device 1 via a communication line, and has a message input means 2, an input message storage area 3, a transaction schedule means 4, an output message storage area load information area 5, Transaction execution control means 6, application program 7, message output means 8, output message storage area 9, output message storage area monitoring means 10,
It is composed of a timer function 11.

第2図を参照すると、トランザクションスケジュール手
段4における処理は、出力メッセージ格納領域負荷情報
域参照ステップ41と、過負荷状態判定ステップ42と、登
録済み入力メッセージ取出しステップ43と、トランザク
ション実行制御手段起動ステップ44と、タイマ機能起動
済み判定ステップ45と、タイマ機能起動ステップ46と、
指定時間経過通知受信ステップ47とからなる。
Referring to FIG. 2, the processing in the transaction schedule means 4 is performed by referring to an output message storage area load information area reference step 41, an overload state determination step 42, a registered input message extraction step 43, and a transaction execution control means activation step. 44, a timer function activated step 45, a timer function activated step 46,
It comprises a designated time elapse notification receiving step 47.

第3図を参照すると、出力メッセージ格納領域監視手段
10における処理は、出力メッセージ格納領域参照ステッ
プ101と、出力メッセージ格納領域空き状態判定ステッ
プ102と、出力メッセージ格納領域負荷情報域過負荷状
態提示負荷情報設定ステップ103と、出力メッセージ格
納領域負荷情報域非過負荷状態提示負荷情報設定ステッ
プ104とからなる。
Referring to FIG. 3, output message storage area monitoring means
The process in 10 is the output message storage area reference step 101, the output message storage area free state determination step 102, the output message storage area load information area overload state presentation load information setting step 103, and the output message storage area load information area. And a non-overload state presentation load information setting step 104.

次に、このように構成された本実施例のトランザクショ
ンメッセージ出力制御方式の動作について説明する。
Next, the operation of the transaction message output control system of this embodiment configured as described above will be described.

端末装置1からトランザクション処理を要求するトラン
ザクション処理要求メッセージが入力されると、メッセ
ージ入力手段2は、トランザクション処理要求メッセー
ジを受信して入力メッセージ格納領域3上にあるタスク
毎のトランザクションスケジュール待ち行列に登録し
(以下、タスク毎のトランザクション待ち行列に登録さ
れたトランザクション処理要求メッセージを登録済み入
力メッセージと称する)、トランザクションスケジュー
ル手段4を起動する。
When a transaction processing request message requesting transaction processing is input from the terminal device 1, the message input means 2 receives the transaction processing request message and registers it in the transaction schedule queue for each task in the input message storage area 3. Then (hereinafter, the transaction processing request message registered in the transaction queue for each task is referred to as a registered input message), and the transaction schedule means 4 is activated.

メッセージ入力手段2により起動されたトランザクショ
ンスケジュール手段4は、出力メッセージ格納領域負荷
情報域5を参照して(ステップ41)、出力メッセージ格
納領域負荷情報域5に格納されている負荷情報により出
力メッセージ格納領域9の負荷状態が過負荷状態である
か否かを判定する(ステップ42)。過負荷状態でないな
らば、トランザクションスケジュール手段4は、タスク
毎のトランザクションスケジュール待ち行列から登録済
み入力メッセージを1件取り出して(ステップ43)、ト
ランザクション実行制御手段6を起動して登録済み入力
メッセージを渡し(ステップ44)、ステップ41に制御を
戻す。
The transaction schedule means 4 started by the message input means 2 refers to the output message storage area load information area 5 (step 41) and stores the output message according to the load information stored in the output message storage area load information area 5. It is determined whether or not the load state of the area 9 is the overload state (step 42). If it is not overloaded, the transaction schedule means 4 extracts one registered input message from the transaction schedule queue for each task (step 43), activates the transaction execution control means 6 and passes the registered input message. (Step 44), control is returned to step 41.

ステップ42で過負荷状態であると判定されたならば、ト
ランザクションスケジュール手段4は、登録済み入力メ
ッセージをトランザクションスケジュールすべきタスク
のタイマ機能11(タイマ機能11はタスク毎に起動され
る)を起動済みであるか否かを判定し(ステップ45)、
該当するタスクのタイマ機能11が未起動のときのみ時間
間隔を指定してタイマ機能11を起動した後に(ステップ
46)、処理を終了する。これによりトランザクションス
ケジュール待ち行列からの登録済み入力メッセージの取
出しは行われなくなり、トランザクションスケジュール
手段4によるトランザクションスケジュールが一旦停止
される。したがって、アプリケーションプログラム7の
実行も抑制されるために出力メッセージの発生もなくな
り、出力メッセージ格納領域9の過負荷状態も時間の経
過とともに解除される。
If it is determined in step 42 that the task is overloaded, the transaction scheduling means 4 has started the timer function 11 (the timer function 11 is started for each task) of the task for which the registered input message should be transaction-scheduled. Is determined (step 45),
After starting the timer function 11 by specifying the time interval only when the timer function 11 of the corresponding task is not started (step
46), and ends the process. As a result, the registered input message is not taken out from the transaction schedule queue, and the transaction schedule by the transaction schedule means 4 is temporarily stopped. Therefore, since the execution of the application program 7 is suppressed, the output message is not generated, and the overloaded state of the output message storage area 9 is released with the passage of time.

トランザクションスケジュール手段4から起動されたタ
イマ機能11は、指定された時間が経過したならば指定時
間経過通知をトランザクションスケジュール手段4に送
信する。
The timer function 11 activated by the transaction scheduling means 4 sends a designated time elapse notification to the transaction scheduling means 4 when the designated time has elapsed.

トランザクションスケジュール手段4は、タイマ機能11
から指定時間経過通知を受信したならば(ステップ4
7)、ステップ41から処理を行う。したがって、出力メ
ッセージ格納領域負荷情報域5を参照し(ステップ4
1)、出力メッセージ格納領域9の負荷状態を判定し
(ステップ42)、過負荷状態でないならばトランザクシ
ョンスケジュールが再開されることになる。
The transaction schedule means 4 has a timer function 11
If the specified time elapsed notification is received from (step 4
7), processing is performed from step 41. Therefore, the output message storage area load information area 5 is referred to (step 4
1) The load status of the output message storage area 9 is judged (step 42), and if not overloaded, the transaction schedule is restarted.

一方、トランザクションスケジュール手段4により起動
されたトランザクション実行制御手段6は、トランザク
ションスケジュール手段4から渡された登録済み入力メ
ッセージを処理すべきタスクを起動して登録済み入力メ
ッセージをアプリケーションプログラム7に渡し、アプ
リケーションプログラム7の実行制御を行い、アプリケ
ーションプログラム7によるトランザクション処理結果
である端末装置1向けの出力メッセージをメッセージ出
力手段8に渡す。
On the other hand, the transaction execution control means 6 activated by the transaction scheduling means 4 activates the task that should process the registered input message passed from the transaction scheduling means 4, passes the registered input message to the application program 7, and the application The execution control of the program 7 is performed, and the output message for the terminal device 1 which is the transaction processing result by the application program 7 is passed to the message output means 8.

トランザクション実行制御手段6から出力メッセージを
渡されたメッセージ出力手段8は、出力メッセージを出
力メッセージ格納領域9に登録し、端末装置1に送信す
る。その後、出力メッセージが端末装置1に到達したこ
とを確認したら、メッセージ出力手段8は、該当する出
力メッセージを出力メッセージ格納領域9から削除す
る。
Upon receiving the output message from the transaction execution control means 6, the message output means 8 registers the output message in the output message storage area 9 and sends it to the terminal device 1. After that, when confirming that the output message has reached the terminal device 1, the message output means 8 deletes the corresponding output message from the output message storage area 9.

出力メッセージ格納領域監視手段10は、メッセージ出力
手段8による出力メッセージの出力メッセージ格納領域
9への格納および削除の後にメッセージ出力手段8によ
り起動され、出力メッセージ格納領域9の負荷状態を監
視する。
The output message storage area monitoring means 10 is activated by the message output means 8 after the message output means 8 stores and deletes the output message in the output message storage area 9, and monitors the load state of the output message storage area 9.

すなわち、メッセージ出力手段8により起動された出力
メッセージ格納領域監視手段10は、出力メッセージ格納
領域9を参照して(ステップ101)、出力メッセージ格
納領域9の空きがM%以下か否かを判定する(ステップ
102)。空きがM%以下ならば、出力メッセージ格納領
域監視手段10は、出力メッセージ格納領域負荷情報域5
に出力メッセージ格納領域9が過負荷状態であることを
示す負荷情報を設定して(ステップ103)、処理を終了
する。また、空きがM%以下でないならば、出力メッセ
ージ格納領域監視手段10は、出力メッセージ格納領域負
荷情報域5に出力メッセージ格納領域9が過負荷状態で
ないことを示す負荷情報を設定して(ステップ104)、
処理を終了する。
That is, the output message storage area monitoring means 10 activated by the message output means 8 refers to the output message storage area 9 (step 101) and determines whether the output message storage area 9 has a free space of M% or less. (Step
102). If the free space is M% or less, the output message storage area monitoring unit 10 outputs the output message storage area load information area 5
The load information indicating that the output message storage area 9 is in the overloaded state is set in (step 103), and the process is terminated. If the free space is not less than M%, the output message storage area monitoring means 10 sets load information indicating that the output message storage area 9 is not overloaded in the output message storage area load information area 5 (step 104),
The process ends.

なお、上記Mの値は、次のように決められている。The value of M is determined as follows.

出力メッセージ格納領域9が一定の大きさの領域で構成
されていて、その領域1個を出力メッセージ1件で使用
するとすると、 となる。
If the output message storage area 9 is composed of a certain size area and one area is used for one output message, Becomes

Mは、出力メッセージ格納領域監視手段10が出力メッセ
ージ格納領域9が過負荷状態であると判定したときにす
でに全タスクで実行中となっているアプリケーションプ
ログラム7からの出力メッセージ送信要求を保障する値
である。
M is a value that guarantees an output message transmission request from the application program 7 that is already being executed by all the tasks when the output message storage area monitoring unit 10 determines that the output message storage area 9 is overloaded. Is.

このようにして、出力メッセージ格納領域9の空きがM
%以下になった場合(出力メッセージ格納領域9が過負
荷状態になった場合)に出力メッセージ格納領域9の空
きがM%以上に回復されるまでトランザクションスケジ
ュールが一旦停止され、出力メッセージ格納領域9が不
足するという事態を回避できるためにアプリケーション
プログラム7からの出力メッセージ送信要求に対する拒
否をなくすことができる。
In this way, the free space in the output message storage area 9 is M
% (When the output message storage area 9 is overloaded), the transaction schedule is temporarily stopped until the free space of the output message storage area 9 is recovered to M% or more, and the output message storage area 9 Since it is possible to avoid a situation where the output message transmission request from the application program 7 is rejected, it is possible to eliminate the denial.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、出力メッセージ格納領域
が不足したときにアプリケーションプログラムからの出
力メッセージの送信要求を拒否するのではなく、新たな
トランザクションスケジュールを一旦停止してアプリケ
ーションプログラムの実行を抑制するようにしたことに
より、出力メッセージ格納領域が過負荷状態になったと
きにはアプリケーションプログラムから出力メッセージ
の送信要求が行われることがなくなるために、全てのア
プリケーションプログラムは出力メッセージの送信要求
が拒否された場合の処理を行う必要がなくなり、プログ
ラム作成工数およびプログラム資源を削減することがで
きるという効果がある。
As described above, according to the present invention, instead of rejecting the output message transmission request from the application program when the output message storage area is insufficient, a new transaction schedule is temporarily stopped to suppress the execution of the application program. By doing so, when the output message storage area becomes overloaded, the application program no longer makes a request to send an output message, so all application programs reject a request to send an output message. This eliminates the need to perform the process of 1, and has the effect of reducing the number of program creation steps and program resources.

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

第1図は本発明の一実施例のトランザクションメッセー
ジ出力制御方式が適用されたトランザクション処理シス
テムの構成を示すブロック図、 第2図は第1図中のトランザクションスケジュール手段
における処理を示す流れ図、 第3図は第1図中の出力メッセージ格納領域監視手段に
おける処理を示す流れ図である。 図において、 1……端末装置、2……メッセージ入力手段、3……入
力メッセージ格納領域、4……トランザクションスケジ
ュール手段、5……出力メッセージ格納領域負荷情報
域、6……トランザクション実行制御手段、7……アプ
リケーションプログラム、8……メッセージ出力手段、
9……出力メッセージ格納領域、10……出力メッセージ
格納領域監視手段、11……タイマ機能、20……トランザ
クション処理システムである。
FIG. 1 is a block diagram showing the configuration of a transaction processing system to which the transaction message output control method of one embodiment of the present invention is applied, FIG. 2 is a flow chart showing the processing in the transaction scheduling means in FIG. 1, and FIG. The figure is a flow chart showing the processing in the output message storage area monitoring means in FIG. In the figure, 1 ... Terminal device, 2 ... Message input means, 3 ... Input message storage area, 4 ... Transaction scheduling means, 5 ... Output message storage area Load information area, 6 ... Transaction execution control means, 7 ... Application program, 8 ... Message output means,
9 ... Output message storage area, 10 ... Output message storage area monitoring means, 11 ... Timer function, 20 ... Transaction processing system.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】通信回線を介して結ばれた端末装置からト
ランザクション処理を要求するトランザクション処理要
求メッセージを入力してアプリケーションプログラムを
実行しトランザクション処理結果の出力メッセージを前
記端末装置に出力するトランザクション処理システムに
おいて、 前記端末装置から入力されたトランザクション処理要求
メッセージを受信して入力メッセージ格納領域上のタス
ク毎のトランザクションスケジュール待ち行列に登録す
るメッセージ入力手段と、 このメッセージ入力手段により前記トランザクションス
ケジュール待ち行列にトランザクション処理要求メッセ
ージが登録されたときおよびタイマ機能からの指定時間
経過通知を受信したときに出力メッセージ格納領域の負
荷状態を示す負荷情報が格納された出力メッセージ格納
領域負荷情報域を参照して前記出力メッセージ格納領域
が過負荷状態でないならば前記トランザクションスケジ
ュール待ち行列から登録済みのトランザクション処理要
求メッセージを1件取り出してトランザクション実行制
御手段に渡し前記出力メッセージ格納領域が過負荷状態
ならば前記トランザクションスケジュール待ち行列から
の登録済のトランザクション処理要求メッセージの取出
しを一旦停止して時間間隔を指定して前記タイマ機能を
起動するトランザクションスケジュール手段と、 このトランザクションスケジュール手段から指定された
時間間隔が経過したならば前記トランザクションスケジ
ュール手段に指定時間経過通知を行う前記タイマ機能
と、 前記トランザクションスケジュール手段から渡されたト
ランザクション処理要求メッセージを処理すべきタスク
を起動してトランザクション処理要求メッセージをアプ
リケーションプログラムに渡しアプリケーションプログ
ラムの実行制御を行いアプリケーションプログラムから
の出力メッセージをメッセージ出力手段に渡す前記トラ
ンザクション実行制御手段と、 このトランザクション実行制御手段から渡された出力メ
ッセージを前記出力メッセージ格納領域に登録した後に
前記端末装置に送信して前記端末装置に到達したことを
確認したならば前記出力メッセージ格納領域から削除す
る前記メッセージ出力手段と、 前記出力メッセージ格納領域の負荷状態を監視して負荷
情報を前記出力メッセージ格納領域負荷情報域に格納す
る出力メッセージ格納領域監視手段と を有することを特徴とするトランザクションメッセージ
出力制御方式。
1. A transaction processing system for inputting a transaction processing request message for requesting transaction processing from a terminal device connected via a communication line, executing an application program, and outputting an output message of a transaction processing result to the terminal device. A message input means for receiving a transaction processing request message input from the terminal device and registering it in a transaction schedule queue for each task in the input message storage area, and a transaction in the transaction schedule queue by this message input means. Load information indicating the load status of the output message storage area is stored when the processing request message is registered and when the specified time elapse notification from the timer function is received. Output message storage area If the output message storage area is not overloaded by referring to the load message storage area, one registered transaction processing request message is extracted from the transaction schedule queue and passed to the transaction execution control means. If the storage area is overloaded, a transaction schedule means for temporarily stopping the retrieval of the registered transaction processing request message from the transaction schedule queue and activating the timer function by designating a time interval, and the transaction schedule means. The timer function for notifying the transaction schedule means of elapse of a designated time when the time interval designated by the transaction schedule means has passed, A transaction execution control means for activating a task that should process a transaction processing request message, passing a transaction processing request message to an application program, controlling the execution of the application program, and passing an output message from the application program to a message output means; The message output means for registering the output message passed from the execution control means in the output message storage area and then transmitting it to the terminal device, and deleting the output message from the output message storage area when it is confirmed that the terminal device has arrived And an output message storage area monitoring means for monitoring the load status of the output message storage area and storing the load information in the output message storage area load information area. Stanza action message output control method.
JP3410289A 1989-02-14 1989-02-14 Transaction message output control method Expired - Lifetime JPH0792788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3410289A JPH0792788B2 (en) 1989-02-14 1989-02-14 Transaction message output control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3410289A JPH0792788B2 (en) 1989-02-14 1989-02-14 Transaction message output control method

Publications (2)

Publication Number Publication Date
JPH02212962A JPH02212962A (en) 1990-08-24
JPH0792788B2 true JPH0792788B2 (en) 1995-10-09

Family

ID=12404912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3410289A Expired - Lifetime JPH0792788B2 (en) 1989-02-14 1989-02-14 Transaction message output control method

Country Status (1)

Country Link
JP (1) JPH0792788B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2842738B2 (en) * 1992-08-25 1999-01-06 富士通株式会社 Online processing system
JPH06348673A (en) * 1993-06-07 1994-12-22 Nec Corp System down preventing device for distributed system
JP3732113B2 (en) * 2001-05-14 2006-01-05 株式会社八十二銀行 Transaction control system, method and program

Also Published As

Publication number Publication date
JPH02212962A (en) 1990-08-24

Similar Documents

Publication Publication Date Title
US5946498A (en) Delivery of client remote procedure calls to a server via a request queue utilizing priority and time-out
CN111782360A (en) Distributed task scheduling method and device
US6324567B2 (en) Method and apparatus for providing multiple commands to a server
US11194637B2 (en) Extensible alerts platform
CN111258774A (en) Process processing method, device, computer equipment and storage medium
JPH0792788B2 (en) Transaction message output control method
CN110825505A (en) Task scheduling method and device, computer equipment and storage medium
CN114546677A (en) Message execution processing method and device, electronic equipment and storage medium
CN107819855A (en) A kind of message distributing method and device
CN116155849B (en) Message delivery method and device, electronic equipment and storage medium
CN109905459B (en) Data transmission method and device
CN114281525B (en) Transaction task asynchronous deleting method, device, equipment and readable storage medium
CN120881002A (en) Communication method and device, electronic equipment, storage medium and chip
CN116627615A (en) Task processing method and device, electronic equipment and storage medium
CN111427673B (en) Load balancing method, device and equipment
JP2000267960A (en) Packet communication method and packet communication device between processes
JPH01258135A (en) Transaction execution control system
CN113965561B (en) Asynchronous event driven-based airborne file transmission system
US20260079866A1 (en) Message distribution system and method
JP3112287B2 (en) Message management processor
CN111614649B (en) Method and device for closing TCP short connection
CN118394464A (en) Task processing method, device, equipment and storage medium based on model resources
CN116248477A (en) A job scheduling method and device for a security orchestration and automatic response system
JP2712389B2 (en) Communication control processor
JP3486369B2 (en) Wait queue monitoring control method