JPH02212962A - Transaction message output control system - Google Patents

Transaction message output control system

Info

Publication number
JPH02212962A
JPH02212962A JP3410289A JP3410289A JPH02212962A JP H02212962 A JPH02212962 A JP H02212962A JP 3410289 A JP3410289 A JP 3410289A JP 3410289 A JP3410289 A JP 3410289A JP H02212962 A JPH02212962 A JP H02212962A
Authority
JP
Japan
Prior art keywords
message
transaction
output
storage area
message storage
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.)
Granted
Application number
JP3410289A
Other languages
Japanese (ja)
Other versions
JPH0792788B2 (en
Inventor
Haruhiko Okuwaki
奥脇 春彦
Masaaki Kawanishi
川西 正章
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 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

Abstract

PURPOSE:To reduce the manhour of program generation and a program resource by suppressing the execution of an application program by stopping once a new transaction schedule when an output message storage becomes insufficient. CONSTITUTION:A transaction schedule means 4 started by a message inputting means 2 decides whether the load state of the output message information area 9 is in an overload state or not according to load information stored in an output message storage area load information area 5. If it is in the overload state, the taking-out of the registered transaction processing request message from a transaction schedule queue is stopped once so that the execution of the application program is controlled. Then, by avoiding a state that the output message storage area is insufficient, an output message transmission request from the application program is made not to be refused. Thus, the increase of the program generating manhour and the program resource can be prevented.

Description

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

〔従来の技術〕[Conventional technology]

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

この場合にアプリケージ5ンプログラムは、出力メツセ
ージ送信要求が受は付けられるまで出カメ7七−ジ送信
要求を操り返し行うか、出力メツセージをファイルに一
時退避する処理を行うか等して出力メツセージの保障を
していた。
In this case, the application cage 5 program outputs 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 to a file. I was guaranteeing the message.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

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

また、出力メンセージの保障をするためには全てのアプ
リケーションプログラムに出力メツセージの保障のため
の処理を追加しなければならないので、プログラム作成
工数およびプログラム資源が増大するという欠点がある
Furthermore, in order to guarantee output messages, it is necessary to add processing for guaranteeing output messages to all application programs, resulting in an increase in program creation man-hours and program resources.

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

〔課題を解決するための手段〕[Means to solve the problem]

本発明のトランザクションメツセージ出力制御方式は、
通信回線を介して結ばれた端末装置からトランザクショ
ン処理を要求するトランザクション処理要求メツセージ
を入力してアプリケーションプログラムを実行しトラン
ザクション処理結果の出力メツセージを前記端末装置に
出力するトランザクション処理システムにおいて、前記
端末装置から入力されたトランザクション処理要求メツ
セージを受信して入力メツセージ格納領域上のタスク毎
のトランザクションスケジュール待ち行列に登録するメ
ツセージ入力手段と、このメツセージ入力手段により前
記トランザクションスケジュール待ち行列にトランザク
ション処理要求メツセージが登録されたときおよびタイ
マ機能からの指定時間経過通知を受信したときに出力メ
ツセージ格納領域の負荷状態を示す負荷情報が格納され
た出力メツセージ格納領域負荷情報域を参照して前記出
力メツセージ格納領域が過負荷状態でないならば前記ト
ランザクションスケジュール待ち行列から登録済みのト
ランザクシッン処理要求メツセージを1件取り出してト
ランザクション実行制御手段に渡し前記出力メツセージ
格納領域が過負荷状態ならば前記トランザクションスケ
ジュール待ち行列からの登録済のトランザクシッン処理
要求メンセージの取出しを一旦停止して時間間隔を指定
して前記タイマ機能を起動するトランザクションスケジ
ュール手段と、このトランザクションスケジュール手段
から指定された時間間隔が経過したならば前記トランザ
クションスケジュール手段に指定時間経過通知を行う前
記タイマ機能と、前記トランザクションスケジュール手
段から渡されたトランザクシッン処理要求メツセージを
処理すべきタスクを起動してトランザクシッン処理要求
メツセージをアプリケーションプログラムに渡しアプリ
ケーションプログラムの実行制御を行いアプリケージタ
ンプログラムからの出力メツセージをメツセージ出力手
段に渡す前記トランザクション実行制御手段と、このト
ランザクション実行制御手段から渡された出力メンセー
ジを前記出カメ送信して前記端末装置に到達したことを
確認したならば前記出力メツセージ格納領域から削除す
る前記メツセージ出力手段と、前記出力メツセージ格納
領域の負荷状態を監視して負荷情報を前記出力メツセー
ジ格納領域負荷情報域に格納する出力メツセージ格納領
域監視手段とを有する。
The transaction message output control method of the present invention is as follows:
In a transaction processing system that inputs a transaction processing request message requesting transaction processing from a terminal device connected via a communication line, executes an application program, and outputs an output message representing a transaction processing result to the terminal device, the terminal device a message input means for receiving a transaction processing request message input from and registering it in a transaction schedule queue for each task on an input message storage area, and registering the transaction processing request message in the transaction schedule queue by the message input means; When the specified time elapsed notification is received from the timer function, the output message storage area is overloaded by referring to the output message storage area load information area in which load information indicating the load status of the output message storage area is stored. If the output message storage area is not overloaded, one registered transaction processing request message is retrieved from the transaction schedule queue and passed to the transaction execution control means, and if the output message storage area is overloaded, the message is retrieved from the transaction schedule queue. transaction scheduling means for temporarily stopping the retrieval of registered transaction processing request messages and starting the timer function by specifying a time interval; The timer function notifies the scheduling means of the elapse of a specified time, and the application program starts a task to process the transaction processing request message passed from the transaction scheduling means and passes the transaction processing request message to the application program. the transaction execution control means for controlling the execution of the application program and passing an output message from the application program to the message output means; and sending the output message passed from the transaction execution control means to the output camera to reach the terminal device. and an output message storage area monitor that monitors the load state of the output message storage area and stores the load information in the output message storage area load information area. means.

〔作用〕[Effect]

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

〔実施例〕〔Example〕

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

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

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

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

次に、このように構成された本実施例のトランザクシロ
ンメッセージ出力制御方式の動作につい端末装置lから
トランザクシコン処理を要求するトランザクション処理
要求メツセージが入力されると、メツセージ入力手段2
は、トランザクシッン処理要求メツセージを受信して入
力メツセージ格納領域3上にあるタスク毎のトランザク
ションスケジュール待ち行列に登録しく以下、タスク毎
のトランザクション待ち行列に登録されたトランザクシ
ッン処理要求メツセージを登録済み入力メツセージと称
する)、トランザクションスケジュール手段4を起動す
る。
Next, when a transaction processing request message requesting transaction processing is input from the terminal device l regarding the operation of the transaction processing message output control method of the present embodiment configured as described above, 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. Below, registers the transaction processing request message registered in the transaction queue for each task. (referred to as a completed input message), the transaction scheduling means 4 is activated.

メツセージ入力手段2により起動されたトランザクショ
ンスケジュール手段4は、出力メツセージ格納領域負荷
情報域5を参照して(ステップ41)、出力メッセージ
格納領域真菌情報域5に格納されている負荷情報により
出力メツセージ格納領域9の負荷状態が過負荷状態であ
るか否かを判定する(ステ:/プ42)、過負荷状態で
ないならば、トランザクションスケジュール手段4は1
、タスク毎のトランザクションスケジュール待ち行列か
ら登録済み入力メツセージを1件取り出して(ステップ
43) 、 トランザクション実行111m手段6を起
動して登録済み入力メンセージを渡しくステップ44)
、ステップ41に制御を戻す。
The transaction scheduling 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 based on the load information stored in the output message storage area fungus information area 5. It is determined whether the load state of the area 9 is an overload state (step 42), and if it is not an overload state, the transaction scheduling means 4
, one registered input message is taken out from the transaction schedule queue for each task (step 43), and the transaction execution 111m means 6 is activated to pass the registered input message (step 44).
, control is returned to step 41.

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

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

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

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

トランザクション実行制御手段6から出力メンセージを
渡されたメツセージ出力手段8は、出力メツセージを出
力メツセージ格納領域9に登録し、端末装置1に送信す
る。その後、出力メツセージが端末装置1に到達したこ
とを確認したら、メツセージ出力手段8は、該当する出
力メツセージを出力メツセージ格納領域9から削除する
The message output means 8, which has received the output message from the transaction execution control means 6, registers the output message in the output message storage area 9 and transmits it to the terminal device 1. Thereafter, when it is confirmed 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により起動された出力
メツセージ格納領域監視手段IOは、出力メッセージ格
納頭載9を参照して(ステップ101)、出力メツセー
ジ格納領域9の空きがM%以下か否かを判定する(ステ
ップ102 ) 、空きがM%以下ならば、出力メツセ
ージ格納領域監視手段lOは、出力メツセージ格納領域
負荷情報域5に出力メツセージ格納fJJ!!9が過負
荷状態であることを示す負荷情報を設定して(ステップ
103 )、処理を終了する。また、空きがM%以下で
ないならば、出力メツセージ格納領域監視手段10は、
出力メシセージ格納領域負荷情報域5に出力メッセージ
格納領域9が過負荷状態でないことを示すi荷情報を設
定して(ステップ104 ’) 、処理を終了する。
That is, the output message storage area monitoring means IO activated by the message output means 8 refers to the output message storage header 9 (step 101) and determines whether the free space in the output message storage area 9 is less than M%. (Step 102) If the free space is less than M%, the output message storage area monitoring means IO stores the output message fJJ! in the output message storage area load information area 5. ! 9 is in an overloaded state (step 103), and the process ends. Further, if the free space is not less than M%, the output message storage area monitoring means 10
Load information indicating that the output message storage area 9 is not overloaded is set in the output message storage area load information area 5 (step 104'), and the process is terminated.

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

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

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 in all tasks when the output message storage area monitoring means 10 determines that the output message storage area 9 is overloaded. It is.

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

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、出力メンセージ格納fi
Jl域が不足したときにアプリケーションプログラムか
らの出力メツセージの送信要求を拒否するのではなく、
新たなトランザクションスケジュールを一旦停止してア
プリケーションプログラムの実行を抑制するようにした
ことにより、出力メッセージ格納卵域が過負荷状態にな
ったときにはアプリケーションプログラムから出力メツ
セージの送信要求が行われることがなくなるために、全
てのアプリケージ5ンブログラムは出力メツセージの送
信要求が拒否された場合の処理を行う必要がなくなり、
プログラム作成工数およびプログラム資源を削減するこ
とができるという効果がある。
As explained above, the present invention has an output memory storage fi.
Instead of rejecting requests to send output messages from application programs when Jl area is insufficient,
By temporarily stopping the new transaction schedule and suppressing the execution of the application program, the application program will no longer request to send an output message when the output message storage area becomes overloaded. In addition, all app cage programs no longer need to handle the case where a request to send an output message is rejected.
This has the effect of reducing program creation man-hours and program resources.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例のトランザクションメツセー
ジ出力制御方式が適用されたトランザクシッン処理シス
テムの構成を示すブロック図、第2図は第1図中のトラ
ンザクションスケジュール手段における処理を示す流れ
図、 第3図は第1図中の出力メッセージ格納端域監視手段に
おける処理を示す流れ図である。 図において、 1・・・端末装置、 2・・・メツセージ入力手段、 3・・・入力メツセージ格納領域、 4・・・トランザクションスケジュール手段、出力メツ
セージ格納領域負荷情報域、 トランザクション実行制御手段、 アプリケーションプログラム、 メツセージ出力手段、 出力メツセージ格納領域、 出力メツセージ格納領域監視手段、 タイマ機能、 トランザクシ四ン処理システムである。 第3図 出力メツセージ格納領域監視手段10
FIG. 1 is a block diagram showing the configuration of a transaction processing system to which a transaction message output control method according to an embodiment of the present invention is applied, and FIG. 2 is a flow chart showing processing in the transaction scheduling means in FIG. FIG. 3 is a flowchart 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 schedule means, output message storage area load information area, transaction execution control means, application program , message output means, output message storage area, output message storage area monitoring means, timer function, and transaction processing system. FIG. 3 Output message storage area monitoring means 10

Claims (1)

【特許請求の範囲】 通信回線を介して結ばれた端末装置からトランザクショ
ン処理を要求するトランザクション処理要求メッセージ
を入力してアプリケーションプログラムを実行しトラン
ザクション処理結果の出力メッセージを前記端末装置に
出力するトランザクション処理システムにおいて、 前記端末装置から入力されたトランザクション処理要求
メッセージを受信して入力メッセージ格納領域上のタス
ク毎のトランザクションスケジュール待ち行列に登録す
るメッセージ入力手段と、このメッセージ入力手段によ
り前記トランザクションスケジュール待ち行列にトラン
ザクション処理要求メッセージが登録されたときおよび
タイマ機能からの指定時間経過通知を受信したときに出
力メッセージ格納領域の負荷状態を示す負荷情報が格納
された出力メッセージ格納領域負荷情報域を参照して前
記出力メッセージ格納領域が過負荷状態でないならば前
記トランザクションスケジュール待ち行列から登録済み
のトランザクション処理要求メッセージを1件取り出し
てトランザクション実行制御手段に渡し前記出力メッセ
ージ格納領域が過負荷状態ならば前記トランザクション
スケジュール待ち行列からの登録済のトランザクション
処理要求メッセージの取出しを一旦停止して時間間隔を
指定して前記タイマ機能を起動するトランザクションス
ケジュール手段と、 このトランザクションスケジュール手段から指定された
時間間隔が経過したならば前記トランザクションスケジ
ュール手段に指定時間経過通知を行う前記タイマ機能と
、 前記トランザクションスケジュール手段から渡されたト
ランザクション処理要求メッセージを処理すべきタスク
を起動してトランザクション処理要求メッセージをアプ
リケーションプログラムに渡しアプリケーションプログ
ラムの実行制御を行いアプリケーションプログラムから
の出力メッセージをメッセージ出力手段に渡す前記トラ
ンザクション実行制御手段と、 このトランザクション実行制御手段から渡された出力メ
ッセージを前記出力メッセージ格納領域に登録した後に
前記端末装置に送信して前記端末装置に到達したことを
確認したならば前記出力メッセージ格納領域から削除す
る前記メッセージ出力手段と、 前記出力メッセージ格納領域の負荷状態を監視して負荷
情報を前記出力メッセージ格納領域負荷情報域に格納す
る出力メッセージ格納領域監視手段と を有することを特徴とするトランザクションメッセージ
出力制御方式。
[Scope of Claims] Transaction processing that inputs a transaction processing request message requesting transaction processing from a terminal device connected via a communication line, executes an application program, and outputs an output message of the transaction processing result to the terminal device. The system includes: 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 on the input message storage area; When a transaction processing request message is registered and when a specified time elapsed notification is received from the timer function, the output message storage area load information area in which load information indicating the load status of the output message storage area is stored is stored, and the above-described process is performed. If the output message storage area is not overloaded, one registered transaction processing request message is retrieved from the transaction schedule queue and passed to the transaction execution control means, and if the output message storage area is overloaded, the transaction processing request message is retrieved from the transaction schedule queue and passed to the transaction execution control means. transaction scheduling means for temporarily stopping the extraction of registered transaction processing request messages from a queue and starting the timer function by specifying a time interval; the timer function notifying the transaction scheduling means of the elapse of a specified time; and activating a task to process the transaction processing request message passed from the transaction scheduling means and passing the transaction processing request message to an application program for execution of the application program. The transaction execution control means performs control and passes output messages from the application program to the message output means; and the transaction execution control means registers the output messages passed from the transaction execution control means in the output message storage area and then transmits them to the terminal device. The message output means deletes the message from the output message storage area when it is confirmed that the message has reached the terminal device, and the message output means deletes the message from the output message storage area after confirming that the message has reached the terminal device, and monitors the load state of the output message storage area and sends load information to the output message storage area load information area. 1. A transaction message output control method comprising: means for monitoring an output message storage area for storing a transaction message.
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 true JPH02212962A (en) 1990-08-24
JPH0792788B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348673A (en) * 1993-06-07 1994-12-22 Nec Corp System down preventing device for distributed system
US5511214A (en) * 1992-08-25 1996-04-23 Fujitsu Limited On-line processing system and overload suppressing method
JP2002342138A (en) * 2001-05-14 2002-11-29 Hachijuni Bank Ltd System and method for controlling on-line transaction

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5511214A (en) * 1992-08-25 1996-04-23 Fujitsu Limited On-line processing system and overload suppressing method
JPH06348673A (en) * 1993-06-07 1994-12-22 Nec Corp System down preventing device for distributed system
JP2002342138A (en) * 2001-05-14 2002-11-29 Hachijuni Bank Ltd System and method for controlling on-line transaction

Also Published As

Publication number Publication date
JPH0792788B2 (en) 1995-10-09

Similar Documents

Publication Publication Date Title
CN113448749B (en) Method, system, device and medium for optimizing execution of expected timing task
CN106802826A (en) A kind of method for processing business and device based on thread pool
JP7728974B2 (en) Robot scheduling method, device, electronic device, and storage medium
CN114461385A (en) Thread pool scheduling method, device and equipment and readable storage medium
CN109710416B (en) Resource scheduling method and device
CN111654480A (en) RPC connection establishment method and device and storage medium
CN117707758A (en) Thread pool dynamic self-adaptive adjustment method, system, equipment and storage medium
CN111240864B (en) Asynchronous task processing method, device, equipment and computer-readable storage medium
CN106547566B (en) Communication service process pool management method and system
CN115499493B (en) Asynchronous transaction processing method, device, storage medium and computer equipment
JPH02212962A (en) Transaction message output control system
McGee The information management system IMS/VS, Part V: Transaction processing facilities
EP4659912A1 (en) Wake-up method and apparatus for robot in shutdown state
US12019909B2 (en) IO request pipeline processing device, method and system, and storage medium
JP2005071171A (en) Batch job execution control method
JP3738701B2 (en) System setting method in transaction processing system
CN115454615A (en) An information processing method and device
JPH01258135A (en) Transaction execution control system
TW201541912A (en) Timeout controlling unit for remote procedure call and method for remote procedure call
JP2000267960A (en) Packet communication method and packet communication device between processes
CN120336045A (en) Method, device, equipment and storage medium for executing inter-process communication messages
JPH05324554A (en) Local terminal stopping system for online real time processing system
JP3112287B2 (en) Message management processor
CN118394464A (en) Task processing method, device, equipment and storage medium based on model resources
JPH04358228A (en) Process number control system