JPH11212917A - Transaction recovery system and its program recording medium - Google Patents

Transaction recovery system and its program recording medium

Info

Publication number
JPH11212917A
JPH11212917A JP10016921A JP1692198A JPH11212917A JP H11212917 A JPH11212917 A JP H11212917A JP 10016921 A JP10016921 A JP 10016921A JP 1692198 A JP1692198 A JP 1692198A JP H11212917 A JPH11212917 A JP H11212917A
Authority
JP
Japan
Prior art keywords
transaction
execution
processing
host
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10016921A
Other languages
Japanese (ja)
Inventor
Yumiko Horie
由美子 堀江
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 JP10016921A priority Critical patent/JPH11212917A/en
Publication of JPH11212917A publication Critical patent/JPH11212917A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the system reliability by checking the presence or absence of the record which is recovered by another host to prevent the double execution of a transaction and to secure an opportunity for starting a suspended transaction even when the end notification of the transaction is lost. SOLUTION: This transaction recovery system is connected to a host 1 or 2 from a terminal 4 via a communication processor 3 and acquires in sequence the executing transaction processing requests from the terminal 4. If the host has a down during the transactions are successively executed, a TR(transaction) message information confirmation part 15 confirms the transaction execution states which are stored in an execution TR management file 7 and a log file 5 and decides to or not to execute a suspended transaction to suspend and complete the execution processing. Then the suspended transaction is started as necessary.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はトランザクションリ
カバリ方式およびそのプログラム記録媒体に関し、特に
複数のホストが疎結合された情報処理システムにおける
トランザクションリカバリ方式およびそのプログラム記
録媒体に関する。
The present invention relates to a transaction recovery system and a program recording medium thereof, and more particularly to a transaction recovery system and a program recording medium in an information processing system in which a plurality of hosts are loosely coupled.

【0002】[0002]

【従来の技術】従来のリカバリ方式は、たとえば特開平
3−12773号公報によれば、あるプロセッサモジュ
ールが異常になった場合に共有メモリを利用したリカバ
リ処理部によるリカバリにより、任意のプロセッサモジ
ュールの状態の補正を行って処理の継続を可能としてい
る。すなわちトランザクション処理は完了したがトラン
ザクションの処理完了が通知されていないような場合に
ホストダウンが発生した場合にトランザクション状態の
補正を行うのみである。
2. Description of the Related Art According to a conventional recovery method, for example, according to Japanese Patent Laid-Open Publication No. Hei 3-12773, when a certain processor module becomes abnormal, a recovery processing unit using a shared memory performs recovery. The state is corrected so that the processing can be continued. That is, when the host is down in a case where the transaction processing is completed but the processing completion of the transaction is not notified, only the transaction state is corrected.

【0003】また、従来の順次実行トランザクションの
中断リカバリ方式は、順次実行会話型トランザクション
の中断事象が発生し、中断トランザクション起動を行う
必要のあるトランザクションを処理中のホストがダウン
した場合、処理中であったトランザクションの状態リカ
バリ処理が行われるのみで、トランザクション処理は完
了したがトランザクションの処理完了が通知されていな
いような場合に中断トランザクションの起動処理は行わ
れないという点が問題であった。
[0003] Further, in the conventional interruption recovery method for sequentially executed transactions, when an interruption event of a sequentially executed conversational transaction occurs and a host that is processing a transaction that needs to start an interrupted transaction goes down, processing is interrupted. There is a problem in that when only the state recovery processing of a given transaction is performed and the transaction processing is completed but the completion of the transaction processing is not notified, the processing of starting the suspended transaction is not performed.

【0004】ネットワークを介して、端末装置からホス
トコンピュータに対してデータ処理を依頼するオンライ
ントランザクション処理において、トランザクションの
実行完了時に完了時のメッセージにより次に起動を行う
トランザクションを指定し、一連の処理を複数のトラン
ザクションによって順次に行うトランザクションを会話
トランザクションという。
In online transaction processing in which a terminal device requests data processing from a terminal device to a host computer via a network, a transaction to be started next is designated by a message at the time of completion of transaction execution, and a series of processing is performed. A transaction performed sequentially by a plurality of transactions is called a conversation transaction.

【0005】会話トランザクション走行中は、トランザ
クション要求元の端末に障害が発生したり、端末操作者
やセンタオペレータの介入によるトランザクション実行
処理停止要求等の中断事象が発生する場合がある。この
ような場合には、処理を中断し完結させるためのトラン
ザクション(これを中断トランザクションという。)を
起動する。中断トランザクションは、前トランザクショ
ンの完了時に指定されたトランザクションに対し、”中
断”である旨を付加し起動するものである。
[0005] While the conversation transaction is running, a failure may occur at the transaction requesting terminal, or an interruption event such as a transaction execution processing stop request due to the intervention of the terminal operator or the center operator may occur. In such a case, a transaction for suspending and completing the process (this is called a suspended transaction) is started. The interrupted transaction is a transaction specified at the time of completion of the previous transaction, and is started by adding a “suspended” message.

【0006】会話トランザクション実行処理状態を管理
するために各ホストより参照可能なトランザクションメ
ッセージの状態を管理するログファイル(以下、単にロ
グファイルという。)を利用する。このログファイルに
は、処理状態を表すいくつかのログ(受付ログ:トラン
ザクション要求を行う際に記録するログ。実行終了ロ
グ:トランザクションの完了通知を受け付けた際に記録
するログ。)が用意されている。
In order to manage the state of the conversation transaction execution processing, a log file (hereinafter simply referred to as a log file) for managing the state of a transaction message that can be referred to from each host is used. In this log file, several logs indicating the processing status (reception log: log recorded when a transaction request is made; execution end log: log recorded when a transaction completion notification is received) are prepared. I have.

【0007】上述したような中断事象が発生した場合、
ログ状態を参照し、”実行終了ログ”の場合には中断ト
ランザクションの起動を即時に行い、”受付ログ”の場
合にはログファイルへ”中断保留”の旨を記録し、トラ
ンザクションの実行完了を待ち合わせた後、中断トラン
ザクションの起動を行う。
When an interruption event as described above occurs,
Refer to the log status, immediately start the suspended transaction in the case of "execution end log", record "suspend pending" in the log file in the case of "acceptance log", and confirm the completion of transaction execution. After waiting, start the suspended transaction.

【0008】複数ホストから構成され、あるホストが障
害等でダウンした場合に他ホストでリカバリを行うよう
な疎結合システムでは、トランザクション処理システム
へトランザクションの実行要求を行う際、各ホスト毎に
処理中のトランザクション情報を格納するファイル(以
下、実行トランザクション管理ファイルという。)中の
レコードにトランザクション情報を書き込み、トランザ
クション処理システムにおいてトランザクション実行処
理完了時に実行トランザクション管理ファイル中のレコ
ードを削除する。このようにしてホストダウンリカバリ
時のトランザクション二重実行を防止する。
In a loosely coupled system comprising a plurality of hosts and performing recovery on another host when a certain host goes down due to a failure or the like, when a transaction execution request is issued to the transaction processing system, processing is performed for each host. The transaction information is written in a record in a file storing the transaction information (hereinafter, referred to as an execution transaction management file), and the transaction processing system deletes the record in the execution transaction management file when the transaction execution processing is completed. In this way, duplicate execution of transactions during host down recovery is prevented.

【0009】上述した会話トランザクションのリカバリ
についても実行トランザクション管理ファイルを利用し
た制御により、トランザクションの二重実行を防止する
と共にログファイルをホスト間で共通に参照することに
より、中断トランザクション制御を行う手法がある。
In the above-described conversation transaction recovery, a method of controlling the execution transaction management file to prevent the transaction from being double-executed and performing a suspended transaction control by referring to the log file in common between the hosts. is there.

【0010】しかしながら、中断事象が発生し、中断ト
ランザクション起動を行う必要のある場合に、会話トラ
ンザクション実行中のホストがトランザクション処理を
完了し、実行トランザクション管理ファイルからの削除
を行ったが、トランザクションの処理完了の通知を行っ
ていないようなタイミングでダウンした場合には、中断
トランザクションの起動を行うことができないという問
題点がある。
However, when an interrupt event occurs and it is necessary to start the interrupted transaction, the host executing the conversation transaction completes the transaction processing and deletes it from the execution transaction management file. If the system goes down at a time when the completion is not notified, there is a problem that the suspended transaction cannot be started.

【0011】[0011]

【発明が解決しようとする課題】上記のように、疎結合
システムにおいて、トランザクション処理は終了したが
その通知を行っていないタイミングでホストダウンが発
生したような場合には、中断トランザクションを起動す
ることができないという欠点がある。
As described above, in a loosely coupled system, when a host goes down at the timing when transaction processing is completed but not notified, a suspended transaction is started. There is a disadvantage that you can not.

【0012】本発明の目的は、上記の欠点を回避し、ト
ランザクションの完了通知が紛失している場合でも、他
ホストにてリカバリされた記録の有無をチェックし、ト
ランザクションの二重実行を防止し中断トランザクショ
ンの起動の契機を得てシステムの信頼性を向上させるト
ランザクションリカバリの方式およびそのプログラム記
録媒体を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to avoid the above-mentioned drawbacks and to check the presence / absence of a record recovered by another host to prevent double execution of a transaction even if the transaction completion notification is lost. It is an object of the present invention to provide a transaction recovery method and a program recording medium for improving the reliability of a system by obtaining a trigger of an interrupted transaction.

【0013】[0013]

【課題を解決するための手段】本発明のトランザクショ
ンリカバリ方式は、疎結合された複数のホストに通信処
理装置を介して接続された端末を有する情報処理システ
ムにおいて、トランザクション処理の実行を制御するト
ランザクションスケジュール制御装置と、トランザクシ
ョン処理を実行するトランザクション処理システム装置
と、前記ホストを監視しそのダウンを検出するダウン検
出制御装置と、前記トランザクションスケジュール制御
装置が前記トランザクション処理システム装置に要求す
るトランザクション情報を格納するログファイルと、前
記トランザクション処理システム装置が処理中のトラン
ザクション情報を格納する実行トランザクション管理フ
ァイルと、前記ダウン検出制御装置がホストのダウンを
検出したとき前記実行トランザクション管理ファイルの
メッセージを格納するメッセージキューファイルとを具
備し、自ホストがダウンしたとき他ホストが前記メッセ
ージキューファイルを参照し中断したトランザクション
処理をリカバリするようにして構成される。
A transaction recovery system according to the present invention is a transaction recovery system for controlling execution of transaction processing in an information processing system having terminals connected to a plurality of loosely coupled hosts via a communication processing device. A schedule control device, a transaction processing system device that executes transaction processing, a down detection control device that monitors the host and detects a down state, and stores transaction information requested by the transaction schedule control device to the transaction processing system device. A log file to be executed, an execution transaction management file for storing transaction information being processed by the transaction processing system device, and Line transaction management; and a message queue file that stores the message file structured to own another host when the host is down to recover the reference aborted transaction processing the message queue file.

【0014】さらに、本発明のトランザクションリカバ
リ方式において、前記トランザクションスケジュール制
御装置は順次に実行されるトランザクション処理に伴っ
て前記ログファイルを更新するトランザクション実行状
態ログ制御部と、前記ダウン検出制御装置がホストのダ
ウンを検出したとき前記実行トランザクション管理ファ
イルのメッセージを前記メッセージキューファイルに書
き戻すリカバリ制御部と、前記メッセージキューファイ
ルを参照し中断トランザクションを起動するか否かを判
断するトランザクションメッセージ情報確認部とを具備
して構成される。
Further, in the transaction recovery method according to the present invention, the transaction schedule control device includes a transaction execution status log control unit that updates the log file in accordance with sequentially executed transaction processing, and the down detection control device is a host. A recovery control unit that writes back the message of the execution transaction management file to the message queue file when detecting the down of the transaction, and a transaction message information confirmation unit that refers to the message queue file and determines whether to start the suspended transaction. It comprises.

【0015】さらに、本発明のトランザクションリカバ
リ方式において、前記トランザクション処理システム装
置はトランザクション処理終了時に前記実行トランザク
ション管理ファイルを更新する処理終了格納部を具備し
て構成される。
Further, in the transaction recovery system according to the present invention, the transaction processing system device includes a processing end storage unit for updating the execution transaction management file when the transaction processing ends.

【0016】さらに、本発明のトランザクションリカバ
リ方式は、トランザクション処理終了時に前記実行トラ
ンザクション管理ファイルを更新する処理終了格納手段
と、前記メッセージキューファイルを参照し中断トラン
ザクションを起動するか否かを判断するトランザクショ
ンメッセージ情報確認手段とを含んで構成される。
Further, according to the transaction recovery method of the present invention, a processing end storing means for updating the execution transaction management file at the end of the transaction processing, and a transaction for referring to the message queue file to determine whether or not to start an interrupted transaction Message information confirmation means.

【0017】また、本発明のトランザクションリカバリ
方式のプログラム記録媒体は、疎結合された複数のホス
トに通信処理装置を介して接続された端末を有する情報
処理システムにおいて、トランザクション処理の実行を
制御する第一のステップと、トランザクション処理を実
行する第二のステップと、前記ホストを監視しそのダウ
ンを検出する第三のステップと、前記第一のステップが
前記第二のステップに要求するトランザクション情報を
格納するログファイルと、前記第二のステップが処理中
のトランザクション情報を格納する実行トランザクショ
ン管理ファイルと、前記第三のステップがホストのダウ
ンを検出したとき前記実行トランザクション管理ファイ
ルのメッセージを格納するメッセージキューファイルと
を具備し、自ホストがダウンしたとき他ホストが前記メ
ッセージキューファイルを参照し中断したトランザクシ
ョン処理をリカバリする。
Further, the program recording medium of the transaction recovery system of the present invention is a program recording medium for controlling execution of transaction processing in an information processing system having terminals connected to a plurality of loosely coupled hosts via a communication processing device. One step, a second step of executing a transaction process, a third step of monitoring the host and detecting its down, and storing transaction information required by the first step to the second step. A log file to be executed, an execution transaction management file storing transaction information being processed by the second step, and a message queue storing a message of the execution transaction management file when the third step detects that the host is down. File and own host There recover the transaction process another host is interrupted by referring to the message queue file when down.

【0018】さらに、上記のプログラム記録媒体は、ト
ランザクション処理終了時に前記実行トランザクション
管理ファイルを更新する第四のステップと、前記メッセ
ージキューファイルを参照し中断トランザクションを起
動するか否かを判断する第五のステップとを含む。
The program recording medium may further comprise a fourth step of updating the execution transaction management file at the end of the transaction processing, and a fifth step of referring to the message queue file to determine whether to start a suspended transaction. Steps.

【0019】すなわち、本発明のトランザクションリカ
バリ方式によれば、順次実行トランザクション処理状態
は、ログファイルにより管理される。メッセージが端末
より入力されると、トランザクションの実行状態に応じ
たログがトランザクション実行状態ログ制御部によりロ
グファイルへ記録される。記録するログは、トランザク
ションの要求を行うことを示す”受付ログ”とトランザ
クションの実行処理が完了したことを示す”実行終了ロ
グ”である。ログの初期値は”実行終了ログ”である。
That is, according to the transaction recovery method of the present invention, the sequentially executed transaction processing state is managed by the log file. When a message is input from the terminal, a log corresponding to the transaction execution state is recorded in a log file by the transaction execution state log control unit. The logs to be recorded are a "reception log" indicating that a transaction request is made and an "execution end log" indicating that the transaction execution processing has been completed. The initial value of the log is “execution end log”.

【0020】トランザクション要求元の端末に障害が発
生したり、端末操作者やセンタオペレータの介入による
トランザクション実行処理停止要求等の中断事象が発生
した場合には、処理を中断し完結させるために中断トラ
ンザクションが起動される。中断トランザクションはロ
グファイルの情報を参照し、”実行終了ログ”の場合に
は中断トランザクションの起動を即時に行い、”受付ロ
グ”の場合にはログファイルへ”中断保留”の旨を記録
し、トランザクションの実行完了を待ち合わせた後、中
断トランザクションは起動される。
When a failure occurs in the terminal that has issued the transaction request, or when an interruption event such as a request to stop the transaction execution processing due to the intervention of the terminal operator or the center operator occurs, the interrupted transaction is executed to interrupt and complete the processing. Is started. The suspended transaction refers to the information in the log file, immediately starts the suspended transaction in the case of "execution end log", and records "suspend pending" in the log file in the case of "acceptance log", After waiting for the completion of the execution of the transaction, the suspended transaction is started.

【0021】トランザクション処理システム装置ではト
ランザクションの実行処理が行われ、実行処理が完了す
ると処理終了格納部が実行トランザクション管理ファイ
ル中のレコードにトランザクション実行完了の旨を”T
Eレコード”として上書きする。
In the transaction processing system device, transaction execution processing is performed, and when the execution processing is completed, the processing end storage unit records “T
"E record".

【0022】ダウン検出制御装置はホストのダウンを検
出する。ホストのダウンが検出されると、リカバリホス
トのリカバリ制御はダウンしたホストの実行トランザク
ション管理ファイルに格納されているメッセージをメッ
セージキューファイルに戻す。
The down detection controller detects the down of the host. When the down of the host is detected, the recovery control of the recovery host returns the message stored in the execution transaction management file of the down host to the message queue file.

【0023】メッセージキューファイルより読み出した
メッセージ中に”TEレコード”が記録されている場合
にはログファイル中のログ状態のチェックを行いそれ
が”受付ログ”の場合にはトランザクションの完了通知
が紛失したと判断し、ログ状態を”実行終了ログ”に補
正する。”中断保留”と記録されている場合には、即時
に中断トランザクションの起動を行い中断事象の要求を
行う。このようにして、完了通知の紛失した中断トラン
ザクションの起動を行うことができる。
If the message read from the message queue file contains a "TE record", the log status in the log file is checked. If it is "acceptance log", the transaction completion notification is lost. Judgment has been made, and the log state is corrected to "execution end log". If “suspend pending” is recorded, the suspend transaction is immediately started and a suspend event is requested. In this way, it is possible to activate a suspended transaction whose completion notification is lost.

【0024】[0024]

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

【0025】図1は本発明の実施の一形態を示すブロッ
ク図である。同図において、本発明によるトランザクシ
ョンリカバリ方式は、(以下、トランザクションをTR
と略記することがある。)疎結合された複数のホスト1
および2に通信処理装置3を介して接続された端末4を
有する情報処理システムにおいて、TR処理の実行を制
御するTRスケジュール制御装置11と、TR処理を実
行するTR処理システム装置12と、前記ホストを監視
しそのダウンを検出するダウン検出制御装置13と、前
記TRスケジュール制御装置が前記TR処理システム装
置に要求するTR情報を格納するログファイル5と、前
記TR処理システム装置が処理中のTR情報を格納する
実行TR管理ファイル7と、前記ダウン検出制御装置が
ホストのダウンを検出したとき前記実行TR管理ファイ
ルのメッセージを格納するメッセージキューファイル6
とを具備し、自ホストがダウンしたとき他ホストが前記
メッセージキューファイルを参照し中断したTR処理を
リカバリする。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, the transaction recovery method according to the present invention is described as follows (hereinafter, transaction is referred to as TR
May be abbreviated. ) Loosely coupled multiple hosts 1
Schedule control device 11 for controlling the execution of the TR process, a TR processing system device 12 for executing the TR process, and the host And a log file 5 storing the TR information requested by the TR schedule control device to the TR processing system device, and the TR information being processed by the TR processing system device. And a message queue file 6 for storing a message of the execution TR management file when the down detection control device detects a host down.
When the own host goes down, the other host refers to the message queue file and recovers the interrupted TR process.

【0026】上記のTRスケジュール制御装置11は順
次に実行されるトランザクション処理に伴って前記ログ
ファイルを更新するTR実行状態ログ制御部14と、前
記ダウン検出制御装置がホストのダウンを検出したとき
前記実行TR管理ファイルのメッセージを前記メッセー
ジキューファイルに書き戻すリカバリ制御部16と、前
記メッセージキューファイルを参照し中断トランザクシ
ョンを起動するか否かを判断するTRメッセージ情報確
認部15とを具備する。
The TR schedule control unit 11 updates the log file in accordance with the sequentially executed transaction processing. The TR execution state log control unit 14 is configured to execute the above processing when the down detection control unit detects that the host is down. The system includes a recovery control unit 16 for writing back the message of the execution TR management file to the message queue file, and a TR message information confirmation unit 15 for referring to the message queue file to determine whether to start an interrupted transaction.

【0027】上記のTR実行状態ログ制御部14はログ
ファイル5中のログ情報に順次実行トランザクションの
処理状態を記録することにより、順次実行トランザクシ
ョンの処理状態を管理する。ログ情報には、トランザク
ション要求を行う際に記録する”受付ログ”と、トラン
ザクションの完了通知を受け付けた際に記録する”実行
終了ログ”と、トランザクションの実行完了を待ち合わ
せた後に中断トランザクションを起動する必要のある”
中断保留”とがある。
The TR execution state log control unit 14 manages the processing state of the sequentially executed transaction by recording the processing state of the sequentially executed transaction in the log information in the log file 5. The log information includes an “acceptance log” that is recorded when a transaction request is made, an “execution end log” that is recorded when a transaction completion notification is received, and an interrupted transaction started after waiting for completion of transaction execution. I need to "
"Suspend pending".

【0028】リカバリ制御部16はダウンしたホストが
検出された場合に実行TR管理ファイルに格納されてい
るメッセージをメッセージキューファイルに戻す。
When a downed host is detected, the recovery control section 16 returns the message stored in the execution TR management file to the message queue file.

【0029】TRメッセージ情報確認部15はメッセー
ジキューファイルとログファイルの情報をもとに、紛失
した完了通知の検出を行い、中断トランザクションの起
動を行う。
The TR message information confirming unit 15 detects a lost completion notification based on the information of the message queue file and the log file, and starts a suspended transaction.

【0030】また、TR処理システム装置12は、処理
終了格納部17を有し、処理終了格納部17は、処理が
完了した際に、実行TR管理ファイルのレコード情報に
処理完了情報を記録する。
Further, the TR processing system device 12 has a processing end storage unit 17, and when the processing is completed, the processing end storage unit 17 records the processing completion information in the record information of the execution TR management file.

【0031】なお、ホスト2はホスト1と同様の機能・
構成を有するものとする。
The host 2 has the same functions and functions as the host 1.
It has a configuration.

【0032】図2は実行TR管理ファイル7およびメッ
セージキューファイル6のレコード形式を示す説明図、
図3はログファイル5のレコード形式を示す説明図であ
る。以下、図1,図2,図3を参照して上記のトランザ
クションリカバリ方式の動作を説明する。
FIG. 2 is an explanatory diagram showing the record format of the execution TR management file 7 and the message queue file 6.
FIG. 3 is an explanatory diagram showing the record format of the log file 5. Hereinafter, the operation of the transaction recovery method will be described with reference to FIGS.

【0033】メッセージが端末4より入力されると、通
信処理装置3を介してTRスケジュール制御装置11に
通知される。
When a message is input from the terminal 4, the message is notified to the TR schedule control device 11 via the communication processing device 3.

【0034】TRスケジュール制御装置11は、通知さ
れたトランザクションの情報をTR実行状態ログ制御部
14により、ログファイル5のログ情報(図3参照)
を”受け付けログ”とする。また、TR処理システム装
置12へトランザクションの実行を要求する。
The TR schedule control device 11 uses the TR execution status log control unit 14 to transmit the notified transaction information to the log information of the log file 5 (see FIG. 3).
As “acceptance log”. Further, it requests the TR processing system device 12 to execute a transaction.

【0035】TR処理システム装置12はトランザクシ
ョン実行処理を完了すると、処理終了格納部17により
実行TR管理ファイル7中の処理結果(図2参照)を”
TEレコード”とし、TRスケジュール制御装置11へ
処理完了を通知する。
When the TR processing system apparatus 12 completes the transaction execution processing, the processing result storage section 17 reads the processing result (see FIG. 2) in the execution TR management file 7 into “
TE record ", and notifies the TR schedule control device 11 of the completion of the process.

【0036】TR処理システム装置12から完了通知を
受けたTRスケジュール制御装置11はTR実行状態ロ
グ制御部14により、ログファイル5のログ情報を”実
行終了ログ”とする。
The TR schedule control device 11, which has received the completion notification from the TR processing system device 12, sets the log information of the log file 5 to "execution end log" by the TR execution state log control unit 14.

【0037】中断事象が発生した場合には、TRスケジ
ュール制御装置11に対して中断トランザクションのス
ケジュールを指示する。この指示に応答してTRスケジ
ュール制御装置11はTR実行状態ログ制御部14によ
りログファイル5のログ情報を参照し、それが”実行終
了ログ”の場合には中断トランザクションの起動を即時
に行い、”受付ログ”の場合にはログファイル5のログ
情報へ”中断保留”の旨を記録する。
When an interruption event occurs, the TR schedule control unit 11 is instructed to schedule an interruption transaction. In response to this instruction, the TR schedule control device 11 refers to the log information of the log file 5 by the TR execution status log control unit 14, and immediately starts the interrupted transaction if it is the "execution end log", In the case of “acceptance log”, “suspension pending” is recorded in the log information of the log file 5.

【0038】ここで、”中断保留”状態のトランザクシ
ョンに対してTR処理システム装置12から処理完了の
通知が行われると、TRスケジュール制御装置11は中
断トランザクションの起動を行う。
Here, when the TR processing system apparatus 12 notifies the transaction in the "suspend pending" state of the completion of the processing, the TR schedule control unit 11 starts the suspended transaction.

【0039】疎結合システム内のホスト1がダウンする
と、ホスト2のダウン検出制御装置によりホスト1のダ
ウンが検出される。ダウンが検出されると、ホスト2の
リカバリ制御部によりホスト1の実行TR管理ファイル
7に格納されているメッセージはメッセージキューファ
イル6に戻される。
When the host 1 in the loosely coupled system goes down, the down detection of the host 2 detects that the host 1 is down. When the down is detected, the message stored in the execution TR management file 7 of the host 1 is returned to the message queue file 6 by the recovery control unit of the host 2.

【0040】続いてホスト2のTRメッセージ情報確認
部はメッセージキューファイル6よりメッセージを読み
出し、レコード中に”TEレコード”が記録されている
か否かの判断を行う。
Subsequently, the TR message information confirmation section of the host 2 reads the message from the message queue file 6 and determines whether or not a "TE record" is recorded in the record.

【0041】”TEレコード”が記録されていない場合
には、トランザクションは未実行と判断しホスト2のT
Rスケジュール制御装置に対して当該トランザクション
の再スケジュールを指示する。
If the "TE record" is not recorded, it is determined that the transaction has not been executed, and the T
It instructs the R schedule control device to reschedule the transaction.

【0042】”TEレコード”が記載されている場合に
は、ログファイル5中のログ情報をホスト2のTRメッ
セージ情報確認部が参照し、ログ情報が”受け付けロ
グ”の場合には、トランザクションの完了通知が紛失し
たと判断し、ログ状態を”実行終了ログ”に補正する。
When the "TE record" is described, the TR message information confirmation section of the host 2 refers to the log information in the log file 5, and when the log information is "accepted log", the transaction information It is determined that the completion notification has been lost, and the log state is corrected to “execution end log”.

【0043】また、それが”中断保留”と記録されてい
る場合には、即時に中断トランザクションの起動を行
う。
If it is recorded as "suspend pending", the suspension transaction is immediately started.

【0044】なお、上記のトランザクションリカバリ方
式はホストの主記憶(図示していない。)に保持された
プログラムを実行することによって動作する。このプロ
グラムはハードディスクやフロッピーディスクのような
記録媒体に格納されており、トランザクションシステム
の起動時にホストの主記憶にロードし、必要時に実行す
るように構成することができる。
The above-described transaction recovery method operates by executing a program stored in a main memory (not shown) of the host. This program is stored in a recording medium such as a hard disk or a floppy disk, and can be configured to be loaded into the main memory of the host when the transaction system is started and executed when necessary.

【0045】[0045]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、順次実行トランザクション実行中のホストで、
トランザクション処理が完了した旨の情報を実行トラン
ザクション管理ファイルに保持し、ホストダウンリカバ
リ時にトランザクションの完了通知が紛失したか否かを
チェックすることにより中断トランザクションの起動を
行うことができるので、トランザクションスケジュール
制御装置の信頼性の向上を図ることができる。
As described above in detail, according to the present invention, a host executing a sequentially executed transaction can
Transaction schedule control because information on the completion of transaction processing is stored in the execution transaction management file, and whether a transaction completion notification has been lost during host down recovery can be checked to determine whether a transaction has been completed. The reliability of the device can be improved.

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

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

【図2】実行トランザクション管理ファイルのレコード
形式を示す説明図。
FIG. 2 is an explanatory diagram showing a record format of an execution transaction management file.

【図3】ログファイルのレコード形式を示す説明図。FIG. 3 is an explanatory diagram showing a record format of a log file.

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

1,2 ホスト 3 通信処理装置 4 端末 5 ログファイル 6 メッセージキューファイル 7 実行TR管理ファイル 11 TRスケジュール制御装置 12 TR処理システム装置 13 ダウン検出制御装置 14 TR実行状態ログ制御部 15 TRメッセージ情報確認部 16 リカバリ制御部 17 処理終了格納部 1, 2 Host 3 Communication processing device 4 Terminal 5 Log file 6 Message queue file 7 Execution TR management file 11 TR schedule control device 12 TR processing system device 13 Down detection control device 14 TR execution status log control unit 15 TR message information confirmation unit 16 Recovery control unit 17 Processing end storage unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 疎結合された複数のホストに通信処理装
置を介して接続された端末を有する情報処理システムに
おいて、トランザクション処理の実行を制御するトラン
ザクションスケジュール制御装置と、トランザクション
処理を実行するトランザクション処理システム装置と、
前記ホストを監視しそのダウンを検出するダウン検出制
御装置と、前記トランザクションスケジュール制御装置
が前記トランザクション処理システム装置に要求するト
ランザクション情報を格納するログファイルと、前記ト
ランザクション処理システム装置が処理中のトランザク
ション情報を格納する実行トランザクション管理ファイ
ルと、前記ダウン検出制御装置がホストのダウンを検出
したとき前記実行トランザクション管理ファイルのメッ
セージを格納するメッセージキューファイルとを具備
し、自ホストがダウンしたとき他ホストが前記メッセー
ジキューファイルを参照し中断したトランザクション処
理をリカバリすることを特徴とするトランザクションリ
カバリ方式。
In an information processing system having terminals connected to a plurality of loosely coupled hosts via a communication processing device, a transaction schedule control device for controlling execution of transaction processing, and a transaction process for executing transaction processing A system unit;
A down detection controller for monitoring the host and detecting its down, a log file for storing transaction information requested by the transaction schedule controller to the transaction processing system, and transaction information being processed by the transaction processing system. And a message queue file for storing a message of the execution transaction management file when the down detection control device detects a host down, and when the own host goes down, the other host A transaction recovery method that refers to a message queue file and recovers interrupted transaction processing.
【請求項2】 請求項1記載のトランザクションリカバ
リ方式において、前記トランザクションスケジュール制
御装置は順次に実行されるトランザクション処理に伴っ
て前記ログファイルを更新するトランザクション実行状
態ログ制御部と、前記ダウン検出制御装置がホストのダ
ウンを検出したとき前記実行トランザクション管理ファ
イルのメッセージを前記メッセージキューファイルに書
き戻すリカバリ制御部と、前記メッセージキューファイ
ルを参照し中断トランザクションを起動するか否かを判
断するトランザクションメッセージ情報確認部とを具備
することを特徴とするトランザクションリカバリ方式。
2. The transaction recovery method according to claim 1, wherein the transaction schedule control device updates the log file in accordance with sequentially executed transaction processing, and the down detection control device. A recovery control unit that writes back the message of the execution transaction management file to the message queue file when the host detects that the host is down, and a transaction message information check unit that refers to the message queue file and determines whether to start a suspended transaction. And a transaction recovery method.
【請求項3】 請求項1記載のトランザクションリカバ
リ方式において、前記トランザクション処理システム装
置はトランザクション処理終了時に前記実行トランザク
ション管理ファイルを更新する処理終了格納部を具備す
ることを特徴とするトランザクションリカバリ方式。
3. The transaction recovery method according to claim 1, wherein the transaction processing system device includes a processing end storage unit that updates the execution transaction management file when the transaction processing ends.
【請求項4】 請求項1記載のトランザクションリカバ
リ方式において、トランザクション処理終了時に前記実
行トランザクション管理ファイルを更新する処理終了格
納手段と、前記メッセージキューファイルを参照し中断
トランザクションを起動するか否かを判断するトランザ
クションメッセージ情報確認手段とを含むことを特徴と
するトランザクションリカバリ方式。
4. The transaction recovery method according to claim 1, wherein a processing end storage unit for updating said execution transaction management file at the end of transaction processing, and referring to said message queue file to determine whether to start an interrupted transaction. And a transaction message information confirming means.
【請求項5】 疎結合された複数のホストに通信処理装
置を介して接続された端末を有する情報処理システムに
おいて、トランザクション処理の実行を制御する第一の
ステップと、トランザクション処理を実行する第二のス
テップと、前記ホストを監視しそのダウンを検出する第
三のステップと、前記第一のステップが前記第二のステ
ップに要求するトランザクション情報を格納するログフ
ァイルと、前記第二のステップが処理中のトランザクシ
ョン情報を格納する実行トランザクション管理ファイル
と、前記第三のステップがホストのダウンを検出したと
き前記実行トランザクション管理ファイルのメッセージ
を格納するメッセージキューファイルとを具備し、自ホ
ストがダウンしたとき他ホストが前記メッセージキュー
ファイルを参照し中断したトランザクション処理をリカ
バリすることを特徴とするトランザクションリカバリ方
式のプログラム記録媒体。
5. An information processing system having a terminal connected to a plurality of loosely coupled hosts via a communication processing device, a first step of controlling execution of transaction processing, and a second step of executing transaction processing. And a third step of monitoring the host and detecting its down state; a log file storing the transaction information requested by the first step to the second step; An execution transaction management file for storing transaction information in the server; and a message queue file for storing a message of the execution transaction management file when the third step detects that the host is down, and when the host is down. Another host is referring to the message queue file A program recording medium of a transaction recovery method for recovering a lost transaction process.
【請求項6】 請求項5記載のトランザクションリカバ
リ方式のプログラム記録媒体において、トランザクショ
ン処理終了時に前記実行トランザクション管理ファイル
を更新する第四のステップと、前記メッセージキューフ
ァイルを参照し中断トランザクションを起動するか否か
を判断する第五のステップとを含むことを特徴とするト
ランザクションリカバリ方式のプログラム記録媒体。
6. The transaction recording program recording medium according to claim 5, wherein a fourth step of updating the execution transaction management file at the end of the transaction processing, and referring to the message queue file to start an interrupted transaction. And a fifth step of determining whether or not the program recording medium is a transaction-recovery-type program recording medium.
JP10016921A 1998-01-29 1998-01-29 Transaction recovery system and its program recording medium Pending JPH11212917A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10016921A JPH11212917A (en) 1998-01-29 1998-01-29 Transaction recovery system and its program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10016921A JPH11212917A (en) 1998-01-29 1998-01-29 Transaction recovery system and its program recording medium

Publications (1)

Publication Number Publication Date
JPH11212917A true JPH11212917A (en) 1999-08-06

Family

ID=11929601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10016921A Pending JPH11212917A (en) 1998-01-29 1998-01-29 Transaction recovery system and its program recording medium

Country Status (1)

Country Link
JP (1) JPH11212917A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006129932A1 (en) * 2005-05-31 2006-12-07 Nhn Corporation Method and system for detecting double login
JP2010262587A (en) * 2009-05-11 2010-11-18 Fujitsu Ltd Program, method and apparatus for converting data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006129932A1 (en) * 2005-05-31 2006-12-07 Nhn Corporation Method and system for detecting double login
US8151107B2 (en) 2005-05-31 2012-04-03 Nhn Corporation Method and system for detecting concurrent logins
JP2010262587A (en) * 2009-05-11 2010-11-18 Fujitsu Ltd Program, method and apparatus for converting data

Similar Documents

Publication Publication Date Title
US6338126B1 (en) Crash recovery without complete remirror
US20050267916A1 (en) Data backup system and method
JP4490745B2 (en) Hot standby system
US7171583B2 (en) For PPRC backup systems
JPH0335313A (en) Data transfer system
JP3748708B2 (en) Client / server system, client computer, and recording medium
US8880552B2 (en) Database system and database control method
JP2007058506A (en) Document management server, document management system, and document management program and its recording medium
CN118069192A (en) Firmware upgrading method and device
JP2000132413A (en) Error retry method, error retry system and its recording medium
JP3323129B2 (en) File transfer protocol method, method, and recording medium
JPH11212917A (en) Transaction recovery system and its program recording medium
JP3687565B2 (en) Log data storage method, log data storage method, and log data storage program
JP2003006018A (en) System, method for restoring processing request, client device and server device
JP3006491B2 (en) Transaction execution state management system, management method, and medium for storing management program
JPH1185594A (en) Information processing system for remote copy
US7466648B2 (en) Data transfer in a messaging system
JP3683831B2 (en) Checkpoint designating method, apparatus and program recording medium for channel recovery in data processing system
JPS63305445A (en) Data writing system at power break
US20030033440A1 (en) Method of logging message activity
JP7015865B2 (en) Information processing method by storage system and storage system
JP3805296B2 (en) Client / server system, client computer, and recording medium
JP3494788B2 (en) Program execution management system and program execution management method
JP2005202532A (en) Batch suspend method and system for a plurality of copy group
JP2010140106A (en) Job execution system, method of taking over job flow used therein, and job flow takeover control program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020122