JPH08212163A - System for detecting program loop spread over transactions - Google Patents

System for detecting program loop spread over transactions

Info

Publication number
JPH08212163A
JPH08212163A JP4137595A JP4137595A JPH08212163A JP H08212163 A JPH08212163 A JP H08212163A JP 4137595 A JP4137595 A JP 4137595A JP 4137595 A JP4137595 A JP 4137595A JP H08212163 A JPH08212163 A JP H08212163A
Authority
JP
Japan
Prior art keywords
level value
transaction
derived
value storage
program loop
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
JP4137595A
Other languages
Japanese (ja)
Other versions
JP2817773B2 (en
Inventor
Kazuyuki Muramoto
一之 村本
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 JP7041375A priority Critical patent/JP2817773B2/en
Publication of JPH08212163A publication Critical patent/JPH08212163A/en
Application granted granted Critical
Publication of JP2817773B2 publication Critical patent/JP2817773B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To detect a program loop spread over transactions by the malfunction of an application program while using a derived level value. CONSTITUTION: A reception processing means 13 for a transaction 12 receives a transaction starting message transmitted from a message transmitter 1, extracts the derived level value from its level value storage part and preserves that level value in a level value storage area 14. When it is necessary to derivatively start the same transaction 12, a program loop suppressing means 15 is activated and when the derivation level value in the level value storage area 14 is larger than an upper limit value, error processing is performed but when that level value is less than the upper limit value, a transmission processing means 16 is activated. The transmission processing means 16 updates the derivation level value extracted from the level value storage area 14, sets that level value to a level value storage part in the transaction starting message and transmits that message. Thus, the same transaction 12 is derivatively activated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はオンライントランザクシ
ョン処理システムに関し、特に端末,コンピュータシス
テム等のメッセージ発信装置から発信されたトランザク
ション起動メッセージによって起動されたトランザクシ
ョンを起点として、同一のトランザクションが次々と派
生して起動されることによって一連の処理を完結するオ
ンライントランザクション処理システムにおけるトラン
ザクションを跨がったプログラムループの検出方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an online transaction processing system, and in particular, the same transaction is successively derived from a transaction started by a transaction start message sent from a message sending device such as a terminal or a computer system. The present invention relates to a method of detecting a program loop that crosses transactions in an online transaction processing system that completes a series of processes by being activated by.

【0002】[0002]

【従来の技術】従来、この種のオンライントランザクシ
ョン処理システムでは、起動された各トランザクション
単位にプログラムループを検出する方策が講じられてき
たが、アプリケーションプログラムの誤動作によって同
一のトランザクションが次々と派生していくといったト
ランザクションを跨がったプログラムループが生じた場
合には、これを検出する手段はなく、システムを停止さ
せる等の処置をとらなければならなかった。
2. Description of the Related Art Conventionally, in this type of online transaction processing system, measures have been taken to detect a program loop in each activated transaction, but the same transaction is successively generated due to a malfunction of an application program. When a program loop that crosses transactions such as going is generated, there is no means to detect this and it is necessary to take measures such as stopping the system.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のオンラ
イントランザクション処理システムでは、アプリケーシ
ョンプログラムの誤動作によって同一のトランザクショ
ンが次々と派生していくといったトランザクションを跨
がったプログラムループが発生した場合には、トランザ
クションを停止する契機を見つけることができなかった
ので、オンライントランザクション処理システムの各資
源は高負荷状態が続き、そのためにオンライントランザ
クション処理システムの処理能力が低下するといった事
態を招くことがあるという問題点があった。
In the above-described conventional online transaction processing system, when a program loop that crosses transactions occurs such that the same transaction is successively derived due to a malfunction of an application program, Since the trigger to stop the transaction could not be found, each resource of the online transaction processing system continues to be under a heavy load, which may cause a situation in which the processing capacity of the online transaction processing system decreases. was there.

【0004】本発明の目的は、上述の点に鑑み、自身の
トランザクションが起点のトランザクションから数えて
何段階(レベル)目に派生したものかを示す派生レベル
値を使用して、アプリケーションプログラムの誤動作に
よるトランザクションを跨がったプログラムループを検
出できるようにしたトランザクションを跨がったプログ
ラムループの検出方式を提供することにある。
In view of the above points, an object of the present invention is to make a malfunction of an application program by using a derived level value indicating how many levels (levels) the own transaction is derived from the originating transaction. It is to provide a method for detecting a program loop that crosses transactions, which enables the detection of a program loop that crosses transactions.

【0005】[0005]

【課題を解決するための手段】本発明のトランザクショ
ンを跨がったプログラムループの検出方式は、メッセー
ジ発信装置から発信されたトランザクション起動メッセ
ージによって起動されたトランザクションを起点とし
て、同一のトランザクションが次々と派生して起動され
ることによって一連の処理を完結するオンライントラン
ザクション処理システムにおいて、派生レベル値が格納
されるレベル値格納部を備えるトランザクション起動メ
ッセージと、このトランザクション起動メッセージを受
信して前記レベル値格納部から派生レベル値を取り出し
てレベル値記憶領域に保存する受信処理手段と、同一の
トランザクションを派生して起動する必要が生じたとき
に起動され、前記レベル値記憶域の派生レベル値が上限
値以上のときにはエラー処理を行うプログラムループ抑
止手段と、このプログラムループ抑止手段により前記レ
ベル値記憶域の派生レベル値が上限値未満であると判断
されたときに起動され、前記レベル値記憶域から取り出
した派生レベル値を更新してトランザクション起動メッ
セージ中のレベル値格納部にセットして該トランザクシ
ョン起動メッセージを送信する送信処理手段とを有す
る。
According to the method of detecting a program loop that crosses transactions of the present invention, the same transaction is successively output from a transaction started by a transaction start message sent from a message sending device. In an online transaction processing system that completes a series of processes by being derived and activated, a transaction activation message including a level value storage unit that stores a derivation level value; and a level value storage that receives this transaction activation message. It is activated when it is necessary to derive and activate the same transaction as the reception processing means for extracting the derived level value from the section and storing it in the level value storage area, and the derived level value in the level value storage area is the upper limit value. When the above A program loop inhibiting means for performing processing, and a derivative level extracted from the level value storage area, activated when the program loop inhibiting means determines that the derived level value in the level value storage area is less than the upper limit value. And a transmission processing means for updating the value, setting it in the level value storage unit in the transaction start message, and transmitting the transaction start message.

【0006】[0006]

【作用】本発明のトランザクションを跨がったプログラ
ムループの検出方式では、トランザクション起動メッセ
ージが派生レベル値が格納されるレベル値格納部を備
え、受信処理手段がトランザクション起動メッセージを
受信してレベル値格納部から派生レベル値を取り出して
レベル値記憶領域に保存し、同一のトランザクションを
派生して起動する必要が生じたときに起動されたプログ
ラムループ抑止手段がレベル値記憶域の派生レベル値が
上限値以上のときにはエラー処理を行い、プログラムル
ープ抑止手段によりレベル値記憶域の派生レベル値が上
限値未満であると判断されたときに起動された送信処理
手段がレベル値記憶域から取り出した派生レベル値を更
新してトランザクション起動メッセージ中のレベル値格
納部にセットして該トランザクション起動メッセージを
送信する。
In the method of detecting a program loop spanning transactions according to the present invention, the transaction activation message includes a level value storage unit for storing the derived level value, and the reception processing means receives the transaction activation message and receives the level value. Derived level values are fetched from the storage unit and stored in the level value storage area, and the program loop suppression means that is activated when it is necessary to derive and activate the same transaction has an upper limit of the derived level value in the level value storage area. If the value is greater than or equal to the value, error processing is performed, and the derivative level extracted from the level value storage area by the transmission processing means activated when the program loop suppression means determines that the derived level value in the level value storage area is less than the upper limit value. Update the value and set it in the level value storage in the transaction start message To send a transaction start-up message.

【0007】[0007]

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

【0008】図1は、本発明の一実施例に係るトランザ
クションを跨がったプログラムループの検出方式の構成
を示すブロック図である。本実施例のトランザクション
を跨がったプログラムループの検出方式は、トランザク
ション起動メッセージ20(図2参照)の発信源となる
端末,コンピュータシステム等からなるメッセージ発信
装置11と、メッセージ発信装置11からのトランザク
ション起動メッセージ20によって起動されるトランザ
クション12とから、その主要部が構成されている。な
お、トランザクション12は、ホストコンピュータ(図
示せず)上で動作する。
FIG. 1 is a block diagram showing the structure of a program loop detecting method for crossing transactions according to an embodiment of the present invention. The method of detecting a program loop that crosses transactions according to the present embodiment is performed by a message transmission device 11 including a terminal, a computer system, or the like, which is a transmission source of the transaction activation message 20 (see FIG. 2), and a message transmission device 11. The main part is composed of the transaction 12 activated by the transaction activation message 20. The transaction 12 operates on a host computer (not shown).

【0009】トランザクション12は、受信処理手段1
3と、レベル値記憶領域14と、プログラムループ抑止
手段15と、送信処理手段16とを含んで構成されてい
る。
The transaction 12 is the reception processing means 1
3, a level value storage area 14, a program loop inhibiting means 15, and a transmission processing means 16.

【0010】図2を参照すると、トランザクション起動
メッセージ20には、トランザクション処理に必要なデ
ータを格納するフィールドの他に、レベル値格納部21
が設けられている。
Referring to FIG. 2, the transaction start message 20 includes a level value storage section 21 in addition to fields for storing data required for transaction processing.
Is provided.

【0011】図3を参照すると、受信処理手段13の処
理手順は、トランザクション起動メッセージ受信ステッ
プ31と、派生レベル値取出しステップ32と、派生レ
ベル値保存ステップ33とからなる。
Referring to FIG. 3, the processing procedure of the reception processing means 13 includes a transaction activation message reception step 31, a derived level value extraction step 32, and a derived level value storage step 33.

【0012】図4を参照すると、プログラムループ抑止
手段15の処理手順は、派生レベル値取出しステップ4
1と、派生レベル値/上限値比較ステップ42と、送信
処理手段起動ステップ43と、エラー処理ステップ44
とからなる。
Referring to FIG. 4, the processing procedure of the program loop inhibiting means 15 is as follows:
1, a derivative level value / upper limit value comparing step 42, a transmission processing means starting step 43, and an error processing step 44.
Consists of

【0013】図5を参照すると、送信処理手段16の処
理手順は、派生レベル値取出しステップ51と、派生レ
ベル値加算およびセットステップ52と、トランザクシ
ョン起動メッセージ送信ステップ53とからなる。
Referring to FIG. 5, the processing procedure of the transmission processing means 16 includes a derivative level value extraction step 51, a derivative level value addition and setting step 52, and a transaction activation message transmission step 53.

【0014】次に、このように構成された本実施例のト
ランザクションを跨がったプログラムループの検出方式
の動作について説明する。
Next, the operation of the program loop detection method of straddling the transactions of this embodiment having the above-mentioned configuration will be described.

【0015】メッセージ発信装置11(またはトランザ
クション12)からトランザクション12を起動するた
めにトランザクション起動メッセージ20が送信される
と、トランザクション起動メッセージ20により起動さ
れたトランザクション12では、受信処理手段13がト
ランザクション起動メッセージ20の受信処理を行う。
When the transaction activation message 20 is transmitted from the message transmission device 11 (or the transaction 12) to activate the transaction 12, in the transaction 12 activated by the transaction activation message 20, the reception processing means 13 causes the reception processing means 13 to perform the transaction activation message. 20 reception processing is performed.

【0016】詳しくは、受信処理手段13は、メッセー
ジ発信装置11(またはトランザクション12)からの
トランザクション起動メッセージ20を受信し(ステッ
プ31)、トランザクション起動メッセージ20中のレ
ベル値格納部21から派生レベル値Xを取り出し(ステ
ップ32)、この派生レベル値Xをレベル値記憶領域1
4に保存する(ステップ33)。
Specifically, the reception processing means 13 receives the transaction activation message 20 from the message transmission device 11 (or the transaction 12) (step 31), and derives the derived level value from the level value storage unit 21 in the transaction activation message 20. X is taken out (step 32), and this derived level value X is stored in the level value storage area 1
4 (step 33).

【0017】トランザクション12によるメイン処理
(図示せず)が行われ、新たに同一のトランザクション
12を派生して起動する必要が生じると、プログラムル
ープ抑止手段15がまず起動される。
When the main processing (not shown) by the transaction 12 is performed and it is necessary to newly derive and activate the same transaction 12, the program loop inhibiting means 15 is activated first.

【0018】起動されたプログラムループ抑止手段15
は、トランザクション12が新たに同一のトランザクシ
ョン12を起動させることができるかどうかを判定す
る。
The activated program loop inhibiting means 15
Determines whether the transaction 12 can newly activate the same transaction 12.

【0019】詳しくは、プログラムループ抑止手段15
は、レベル値記憶領域14から派生レベル値Xを取り出
し(ステップ41)、取り出した派生レベル値Xが派生
レベル値の上限値Xmax以上であるかどうかを判定す
る(ステップ42)。派生レベル値Xが上限値Xmax
未満であれば、プログラムループ抑止手段15は、送信
処理手段16を起動する(ステップ43)。一方、派生
レベル値Xが上限値Xmax以上であれば、プログラム
ループ抑止手段15は、エラー処理を行って(ステップ
44)、処理を終了させる。この結果、新たな同一のト
ランザクション12は起動されない。
More specifically, the program loop inhibiting means 15
Derives the derived level value X from the level value storage area 14 (step 41) and determines whether or not the derived derivative level value X is not less than the upper limit value Xmax of the derived level value (step 42). Derivation level value X is upper limit value Xmax
If it is less than the above, the program loop inhibiting means 15 activates the transmission processing means 16 (step 43). On the other hand, if the derivation level value X is not less than the upper limit value Xmax, the program loop inhibiting means 15 performs error processing (step 44) and ends the processing. As a result, the new identical transaction 12 is not activated.

【0020】起動された送信処理手段16は、トランザ
クション起動メッセージ20を送信する。
The activated transmission processing means 16 transmits the transaction activation message 20.

【0021】詳しくは、送信処理手段16は、レベル値
記憶領域14に保存されている派生レベル値Xを取り出
し(ステップ51)、取り出した派生レベル値Xに1を
加算してトランザクション起動メッセージ20中のレベ
ル値格納部21にセットし(ステップ52)、トランザ
クション起動メッセージ20を送信する(ステップ5
3)。この結果、新たに同一のトランザクション12が
起動される。
More specifically, the transmission processing means 16 fetches the derived level value X stored in the level value storage area 14 (step 51), adds 1 to the fetched derived level value X, and outputs the transaction start message 20. Is set in the level value storage unit 21 (step 52) and the transaction activation message 20 is transmitted (step 5).
3). As a result, the same transaction 12 is newly activated.

【0022】図6は、メッセージ発信装置11からのト
ランザクション起動メッセージ20−1により起動され
たトランザクション12Aを起点とし、起動されるトラ
ンザクション12の派生レベル値Xの上限値Xmaxを
2回までとした場合の動作について例示している。以
下、この図6に基づいて具体的な動作について説明す
る。
FIG. 6 shows a case where the transaction 12A started by the transaction start message 20-1 from the message sending device 11 is used as a starting point and the upper limit value Xmax of the derivative level value X of the started transaction 12 is set up to twice. The operation of is illustrated. The specific operation will be described below with reference to FIG.

【0023】メッセージ発信装置11からトランザクシ
ョン起動メッセージ20−1中のレベル値格納部21に
派生レベル値“0”がセットされて送信されると、トラ
ンザクション起動メッセージ20−1により起動された
トランザクション12Aでは、受信処理手段13Aが、
トランザクション処理メッセージ20−1を受信して、
トランザクション処理メッセージ20−1中のレベル値
格納部21から派生レベル値“0”を取り出して、その
派生レベル値“0”をレベル値記憶領域14Aに保存す
る。
When the message transmitter 11 sets the derivative level value "0" in the level value storage section 21 of the transaction activation message 20-1 and transmits it, the transaction 12A activated by the transaction activation message 20-1 , The reception processing means 13A
Upon receiving the transaction processing message 20-1,
The derived level value “0” is retrieved from the level value storage unit 21 in the transaction processing message 20-1, and the derived level value “0” is stored in the level value storage area 14A.

【0024】起点のトランザクション12Aが新たに同
一のトランザクション12Bを起動させる必要が生じる
と、プログラムループ抑止手段15Aが起動される。
When the starting transaction 12A needs to newly activate the same transaction 12B, the program loop inhibiting means 15A is activated.

【0025】プログラムループ抑止手段15Aは、レベ
ル値記憶領域14Aの派生レベル値“0”と上限値
“2”とを比較し、派生レベル値“0”が上限値“2”
に達していないので、送信処理手段16Aを起動する。
The program loop inhibiting means 15A compares the derived level value "0" of the level value storage area 14A with the upper limit value "2", and the derived level value "0" is the upper limit value "2".
Therefore, the transmission processing means 16A is activated.

【0026】送信処理手段16Aは、レベル値記憶領域
14Aから取り出した派生レベル値“0”に“1”を加
算した派生レベル値“1”をトランザクション起動メッ
セージ20−2中のレベル値格納部21にセットして、
トランザクション起動メッセージ20−2を送信する。
The transmission processing means 16A uses the derived level value "1" obtained by adding "1" to the derived level value "0" fetched from the level value storage area 14A, in the level value storage unit 21 in the transaction activation message 20-2. Set to
The transaction activation message 20-2 is transmitted.

【0027】トランザクション起動メッセージ20−2
により起動されたトランザクション12Bでは、受信処
理手段13Bが、トランザクション起動メッセージ20
−2を受信し、トランザクション起動メッセージ20−
2中のレベル値格納部21から派生レベル値“1”を取
り出して、その派生レベル値“1”をレベル値記憶領域
14Bに保存する。
Transaction activation message 20-2
In the transaction 12B activated by, the reception processing means 13B causes the transaction activation message 20
-2 is received and the transaction start message 20-
The derived level value "1" is taken out from the level value storage unit 21 in 2 and the derived level value "1" is stored in the level value storage area 14B.

【0028】また、起点のトランザクション12Aが新
たに同一のトランザクション12Cを起動させる必要が
生じると、同じくプログラムループ抑止手段15Aが起
動される。
When the starting transaction 12A needs to newly activate the same transaction 12C, the program loop inhibiting means 15A is also activated.

【0029】プログラムループ抑止手段15Aは、レベ
ル値記憶領域14Aの派生レベル値“0”と上限値
“2”とを比較し、派生レベル値“0”が上限値“2”
に達していないので、送信処理手段16Aを起動する。
The program loop inhibiting means 15A compares the derived level value "0" of the level value storage area 14A with the upper limit value "2", and the derived level value "0" is the upper limit value "2".
Therefore, the transmission processing means 16A is activated.

【0030】送信処理手段16Aは、レベル値記憶領域
14Aから取り出した派生レベル値“0”に“1”を加
算した派生レベル値“1”をトランザクション起動メッ
セージ20−3中のレベル値格納部21にセットして、
トランザクション起動メッセージ20−3を送信する。
The transmission processing means 16A sets the derived level value "1" obtained by adding "1" to the derived level value "0" fetched from the level value storage area 14A, in the level value storage unit 21 in the transaction activation message 20-3. Set to
The transaction activation message 20-3 is transmitted.

【0031】トランザクション起動メッセージ20−3
により起動されたトランザクション12Cでは、受信処
理手段13Cが、トランザクション起動メッセージ20
−3を受信し、トランザクション起動メッセージ20−
3中のレベル値格納部21から派生レベル値“1”を取
り出して、その派生レベル値“1”をレベル値記憶領域
14Cに保存する。
Transaction activation message 20-3
In the transaction 12C activated by, the reception processing means 13C causes the transaction activation message 20
-3 is received and the transaction start message 20-
The derived level value "1" is taken out from the level value storage unit 21 in 3 and the derived level value "1" is stored in the level value storage area 14C.

【0032】以上により、起点のトランザクション12
Aから派生して起動されたトランザクション12Bおよ
び12Cの派生レベル値はすべて“1”となり、これら
のトランザクション12Bおよび12Cがトランザクシ
ョン12Aから1段階(レベル)目に派生したことがわ
かる。
From the above, the transaction 12 of the starting point
The derivation level values of the transactions 12B and 12C derived and activated from A are all "1", and it can be seen that these transactions 12B and 12C are derived from the transaction 12A at the first stage (level).

【0033】次に、トランザクション12Bが新たに同
一のトランザクション12Dを起動させる必要が生じる
と、プログラムループ抑止手段15Bが起動される。
Next, when the transaction 12B needs to newly activate the same transaction 12D, the program loop inhibiting means 15B is activated.

【0034】プログラムループ抑止手段15Bは、レベ
ル値記憶領域14Bの派生レベル値“1”と上限値
“2”とを比較して、派生レベル値“1”が上限値
“2”に達していないので、送信処理手段16Bを起動
する。
The program loop inhibiting means 15B compares the derived level value "1" of the level value storage area 14B with the upper limit value "2", and the derived level value "1" has not reached the upper limit value "2". Therefore, the transmission processing means 16B is activated.

【0035】送信処理手段16Bは、レベル値記憶領域
14Bから取り出した派生レベル値“1”に“1”を加
算した派生レベル値“2”をトランザクション起動メッ
セージ20−4中のレベル値格納部21にセットして、
トランザクション起動メッセージ20−4を送信する。
The transmission processing means 16B sets the derived level value "2" obtained by adding "1" to the derived level value "1" fetched from the level value storage area 14B, in the level value storage unit 21 in the transaction activation message 20-4. Set to
The transaction activation message 20-4 is transmitted.

【0036】トランザクション起動メッセージ20−4
により起動されたトランザクション12Dでは、受信処
理手段13Dが、トランザクション起動メッセージ20
−4を受信し、トランザクション起動メッセージ20−
4中のレベル値格納部21から派生レベル値“2”を取
り出して、その派生レベル値“2”をレベル値記憶領域
14Dに保存する。これにより、トランザクション12
Dが、起点のトランザクション12Aから2段階(レベ
ル)目に派生したことがわかる。
Transaction activation message 20-4
In the transaction 12D activated by, the reception processing means 13D causes the transaction activation message 20
-4 is received and the transaction start message 20-
The derived level value "2" is taken out from the level value storage unit 21 of 4 and the derived level value "2" is stored in the level value storage area 14D. This allows transaction 12
It can be seen that D is derived from the transaction 12A at the starting point in the second stage (level).

【0037】さらに、トランザクション12Dが新たに
同一のトランザクション12を起動させる必要が生じた
ときには、プログラムループ抑止手段15Dは、レベル
値記憶領域14Dの派生レベル値“2”と上限値“2”
とを比較し、両者が等しいので、これ以上トランザクシ
ョン起動メッセージ20を送信することができないと判
断し、送信処理手段16を起動しないで、エラー処理を
行う。
Further, when it becomes necessary for the transaction 12D to newly activate the same transaction 12, the program loop inhibiting means 15D causes the derived level value "2" and the upper limit value "2" of the level value storage area 14D.
And the two are the same, it is determined that the transaction activation message 20 cannot be transmitted any more, and the error processing is performed without activating the transmission processing means 16.

【0038】よって、派生レベル値の上限値“2”を越
えてトランザクション12が起動されることはなくな
り、アプリケーションプログラムの誤動作によるトラン
ザクションを跨がったプログラムループが未然に解消さ
れる。
Therefore, the transaction 12 will not be activated beyond the upper limit value "2" of the derivation level value, and the program loop that crosses the transactions due to the malfunction of the application program will be eliminated.

【0039】なお、上記実施例では、メッセージ発信装
置11から発信されたトランザクション起動メッセージ
20中のレベル値格納部21に派生レベル値の初期値
“0”が設定され、送信処理手段16により派生レベル
値が1ずつ加算されるようにしたが、派生レベル値の初
期値をある正の整数とし、送信処理手段16により派生
レベル値が1ずつ減算されるようにするなどの種々の変
形が可能であることはいうまでもない。
In the above embodiment, the initial value "0" of the derived level value is set in the level value storage 21 in the transaction activation message 20 sent from the message sending device 11, and the sending processing means 16 sends the derived level. Although the values are added one by one, various modifications are possible such that the initial value of the derived level value is a positive integer and the derived processing level 16 is subtracted by one. Needless to say.

【0040】[0040]

【発明の効果】以上説明したように本発明は、トランザ
クション起動メッセージ中にレベル値格納部を設け、レ
ベル値格納部にセットされた派生レベル値に基づいてト
ランザクション中のプログラムループ抑止手段によって
送信処理手段の起動の可否を判断することにより、アプ
リケーションプログラムの誤動作によるトランザクショ
ンを跨がったプログラムループを自動的に検出して解消
させることができ、オンライントランザクション処理シ
ステムの各資源の無駄使いを最小限度に食い止めること
ができるので、オンライントランザクション処理システ
ムの処理能力が低下するといったシステム全体への影響
を抑制することが可能になる効果がある。
As described above, according to the present invention, the level value storage section is provided in the transaction start message, and the transmission processing is performed by the program loop inhibiting means during the transaction based on the derived level value set in the level value storage section. By determining whether to activate the means, it is possible to automatically detect and eliminate a program loop that crosses transactions due to a malfunction of the application program, and minimize the waste of each resource of the online transaction processing system. Therefore, there is an effect that it is possible to suppress the influence on the entire system such as a decrease in the processing capacity of the online transaction processing system.

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

【図1】本発明の一実施例に係るトランザクションを跨
がったプログラムループの検出方式の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a program loop detection method across transactions according to an embodiment of the present invention.

【図2】本実施例のトランザクションを跨がったプログ
ラムループの検出方式におけるトランザクション起動メ
ッセージのフォーマットを示す図である。
FIG. 2 is a diagram showing a format of a transaction activation message in the method of detecting a program loop across transactions according to the present embodiment.

【図3】図1中の受信処理手段の処理手順を示す流れ図
である。
FIG. 3 is a flow chart showing a processing procedure of a reception processing means in FIG.

【図4】図1中のプログラムループ抑止手段の処理手順
を示す流れ図である。
FIG. 4 is a flowchart showing a processing procedure of a program loop inhibiting means in FIG.

【図5】図1中の送信処理手段の処理手順を示す流れ図
である。
5 is a flowchart showing a processing procedure of a transmission processing means in FIG.

【図6】本実施例のトランザクションを跨がったプログ
ラムループの検出方式の動作例を示す図である。
FIG. 6 is a diagram showing an operation example of a method of detecting a program loop across transactions according to the present embodiment.

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

11 メッセージ発信装置 12,12A〜12D トランザクション 13,13A〜13D 受信処理手段 14,14A〜14D レベル値記憶領域 15,15A〜15D プログラムループ抑止手段 16,16A,16B 送信処理手段 20,20−1〜20−4 トランザクション起動メッ
セージ 21 レベル値格納部
11 message sending device 12, 12A to 12D transaction 13, 13A to 13D reception processing means 14, 14A to 14D level value storage area 15, 15A to 15D program loop suppressing means 16, 16A, 16B transmission processing means 20, 20-1 to 20 20-4 Transaction Activation Message 21 Level Value Storage

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 メッセージ発信装置から発信されたトラ
ンザクション起動メッセージによって起動されたトラン
ザクションを起点として、同一のトランザクションが次
々と派生して起動されることによって一連の処理を完結
するオンライントランザクション処理システムにおい
て、 派生レベル値が格納されるレベル値格納部を備えるトラ
ンザクション起動メッセージと、 このトランザクション起動メッセージを受信して前記レ
ベル値格納部から派生レベル値を取り出してレベル値記
憶領域に保存する受信処理手段と、 同一のトランザクションを派生して起動する必要が生じ
たときに起動され、前記レベル値記憶域の派生レベル値
が上限値以上のときにはエラー処理を行うプログラムル
ープ抑止手段と、 このプログラムループ抑止手段により前記レベル値記憶
域の派生レベル値が上限値未満であると判断されたとき
に起動され、前記レベル値記憶域から取り出した派生レ
ベル値を更新してトランザクション起動メッセージ中の
レベル値格納部にセットして該トランザクション起動メ
ッセージを送信する送信処理手段とを有することを特徴
とするトランザクションを跨がったプログラムループの
検出方式。
1. An online transaction processing system for completing a series of processes by successively deriving and activating the same transaction starting from a transaction activated by a transaction activation message transmitted from a message transmission device, A transaction start message having a level value storage unit for storing the derived level value; reception processing means for receiving the transaction start message, extracting the derived level value from the level value storage unit, and storing it in the level value storage area; A program loop inhibiting means that is activated when it is necessary to derive and activate the same transaction and that performs error processing when the derived level value in the level value storage area is equal to or higher than the upper limit value, and the program loop inhibiting means. It is activated when it is determined that the derived level value of the level value storage area is less than the upper limit value, and the derived level value fetched from the level value storage area is updated and set in the level value storage section in the transaction activation message. And a transmission processing means for transmitting the transaction activation message, and a method for detecting a program loop across transactions.
【請求項2】 前記メッセージ発信装置から発信された
トランザクション起動メッセージ中のレベル値格納部に
派生レベル値の初期値が設定され、前記送信処理手段に
より派生レベル値が1ずつ加算される請求項1記載のト
ランザクションを跨がったプログラムループの検出方
式。
2. The initial value of the derived level value is set in the level value storage section in the transaction activation message sent from the message sending device, and the derived level value is incremented by 1 by the transmission processing means. Program loop detection method that spans the listed transactions.
JP7041375A 1995-02-06 1995-02-06 Method for detecting program loops across transactions Expired - Fee Related JP2817773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7041375A JP2817773B2 (en) 1995-02-06 1995-02-06 Method for detecting program loops across transactions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7041375A JP2817773B2 (en) 1995-02-06 1995-02-06 Method for detecting program loops across transactions

Publications (2)

Publication Number Publication Date
JPH08212163A true JPH08212163A (en) 1996-08-20
JP2817773B2 JP2817773B2 (en) 1998-10-30

Family

ID=12606674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7041375A Expired - Fee Related JP2817773B2 (en) 1995-02-06 1995-02-06 Method for detecting program loops across transactions

Country Status (1)

Country Link
JP (1) JP2817773B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002342138A (en) * 2001-05-14 2002-11-29 Hachijuni Bank Ltd System and method for controlling on-line transaction

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
JP2817773B2 (en) 1998-10-30

Similar Documents

Publication Publication Date Title
KR100442884B1 (en) Method for updating firmware
JPH08212163A (en) System for detecting program loop spread over transactions
JP3013868B2 (en) Memory volatilization prevention system for cordless telephone
US6721882B1 (en) Method and apparatus for warm starting a system where the system includes region(s) of software code incapable of warm starting
US20240126874A1 (en) Security processing device, method and electronic device for handling attacks
JPS6132426Y2 (en)
JPH0267671A (en) Execution restart system for on-line processing
JP2001297016A (en) Instruction execution system
JPH05189342A (en) Communication processor operation monitoring system
JP2639377B2 (en) Operating devices for electronic equipment
JPH10174294A (en) Power system stabilizer
JPH0575521A (en) Hit processor for mobile object radio telephone set
KR970064067A (en) Network inspection method for redundancy of network
JPH05292104A (en) Data communication system empolyoing token passing system
CN112804373A (en) Interface domain name determining method and device, electronic equipment and storage medium
JP2596345B2 (en) Line failure recovery method for each time slot
JPH0895831A (en) Method for recoverying from system abnormality
CN113168465A (en) Process running control method and device, storage medium and electronic equipment
JPH064175A (en) Timer managing system
JPH08235009A (en) Automatic system degeneration detection method
JPH0435197A (en) Transmission terminal equipment
KR940005030A (en) Signal Detection Method of R₂MFC Signal Receiver for Exchange
JPH05303549A (en) Terminal data inheritance system
JPH0962512A (en) Program transformation device and method having description language transformation function from low-class language to high-class language
JP2002373035A (en) Method and device for generating reset signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20070821

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20080821

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

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20080821

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

Free format text: PAYMENT UNTIL: 20090821

Year of fee payment: 11

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20090821

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

Free format text: PAYMENT UNTIL: 20100821

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees