JP5978008B2 - Transaction management system, transaction management method, and transaction management program - Google Patents

Transaction management system, transaction management method, and transaction management program Download PDF

Info

Publication number
JP5978008B2
JP5978008B2 JP2012121682A JP2012121682A JP5978008B2 JP 5978008 B2 JP5978008 B2 JP 5978008B2 JP 2012121682 A JP2012121682 A JP 2012121682A JP 2012121682 A JP2012121682 A JP 2012121682A JP 5978008 B2 JP5978008 B2 JP 5978008B2
Authority
JP
Japan
Prior art keywords
transaction
execution
individual
processing
cancellation
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.)
Active
Application number
JP2012121682A
Other languages
Japanese (ja)
Other versions
JP2013246754A (en
Inventor
隆三郎 谷
隆三郎 谷
直人 千崎
直人 千崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mizuho Information and Research Institute Inc
Mizuho Bank Ltd
Original Assignee
Mizuho Information and Research Institute Inc
Mizuho Bank 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 Mizuho Information and Research Institute Inc, Mizuho Bank Ltd filed Critical Mizuho Information and Research Institute Inc
Priority to JP2012121682A priority Critical patent/JP5978008B2/en
Publication of JP2013246754A publication Critical patent/JP2013246754A/en
Application granted granted Critical
Publication of JP5978008B2 publication Critical patent/JP5978008B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、複数の処理を連携して実行する場合に、一部の処理で発生したエラーの対応を支援するための取引管理システム、取引管理方法及び取引管理プログラムに関する。   The present invention relates to a transaction management system, a transaction management method, and a transaction management program for supporting the handling of errors that occur in some processes when a plurality of processes are executed in cooperation.

クライアント端末から受信した処理要求に基づいて、情報処理システムにおいて各種情報処理を実行する場合、エラーが発生することがある。このようなエラーに対しては、迅速かつ効率的に対応することが望ましい。そこで、エラーが発生した場合に、要求元にエラーを返さずにロールバックや再処理を実行するための技術が検討されている(例えば、特許文献1参照。)。この文献に記載された技術においては、要求元端末からの第1サーバに対するリクエストを代理するリクエスト代理装置と、リクエスト代理装置から端末要求情報を受信し記憶する要求情報管理装置と、バックエンドサーバ又は他の外部デバイスへの第1サーバからの処理要求を代理し、接続情報を管理する接続代理装置とで構成される。そして、リクエスト代理装置は、サーバに障害を検知し、要求情報管理装置から端末要求情報を読み出して第2サーバへ送信する。第2サーバは、端末要求情報を用いて要求元端末からのリクエストを構成するトランザクション処理を継続する。そして、バックエンドサーバ又は外部デバイスへの処理要求を接続代理装置へ送信する際には、接続情報を用いて処理結果をリクエスト代理装置へ送信する。   An error may occur when various types of information processing are executed in the information processing system based on the processing request received from the client terminal. It is desirable to respond quickly and efficiently to such errors. Therefore, a technique for performing rollback or reprocessing without returning an error to the request source when an error occurs has been studied (for example, see Patent Document 1). In the technique described in this document, a request proxy device proxying a request for a first server from a request source terminal, a request information management device receiving and storing terminal request information from the request proxy device, a back-end server, or It is composed of a connection proxy device that acts as a proxy for processing requests from the first server to other external devices and manages connection information. Then, the request proxy device detects a failure in the server, reads the terminal request information from the request information management device, and transmits it to the second server. The second server continues the transaction processing that constitutes the request from the request source terminal using the terminal request information. When transmitting a processing request to the back-end server or the external device to the connection proxy device, the processing result is transmitted to the request proxy device using the connection information.

また、このような情報処理においては、複数の個別処理を組み合わせて、ホストシステムにおいて行なうこともある。そこで、クライアント端末からのデータをホストシステムに転送するためのデータ転送システムも検討されている(例えば、特許文献2参照。)。この文献に記載された技術においては、電文を受信した締上げ管理サーバは、締上げ処理を実行する。そして、この電文を送信電文保管部に保管し、稼動状態のメインHUBを介して電文の送信処理を実行する。そして、この文献には、一つの取引電文の取引を完了させるために、複数の個別処理を組み合わせた取引フロー(連携処理)を行なうことが記載されている。ここで、連携処理とは、複数の個別処理(例えば、営業店毎の売上げ管理や、顧客毎の顧客情報ファイル管理(CIF)、口座管理等)を連続して一連の取引として扱う処理である。   In addition, such information processing may be performed in the host system by combining a plurality of individual processes. Therefore, a data transfer system for transferring data from the client terminal to the host system has also been studied (see, for example, Patent Document 2). In the technique described in this document, the tightening management server that has received the message executes a tightening process. Then, this message is stored in the transmission message storage unit, and a message transmission process is executed via the main HUB in the operating state. And in this document, in order to complete the transaction of one transaction message, it is described that a transaction flow (cooperation processing) combining a plurality of individual processes is performed. Here, the linkage process is a process in which a plurality of individual processes (for example, sales management for each branch office, customer information file management (CIF) for each customer, account management, etc.) are continuously handled as a series of transactions. .

特開2008−27189号公報(第1頁、図1)Japanese Patent Laying-Open No. 2008-27189 (first page, FIG. 1) 特開2009−237789号公報(第1頁、図1)JP 2009-237789 A (first page, FIG. 1)

ところで、エラーが発生する原因は多様であり、情報処理を実行するために必要な条件が整合していない場合に生じる業務エラーや、システム的な障害により発生するシステムエラー等がある。そして、このようなエラーの種類によって対応の仕方は異なる。ここで、業務エラーとシステムエラーとでは、既に実行済みの処理を取り消す場合にも、その取消方法が異なる。すなわち、業務エラーの場合には健全なシステムを前提として取り消すことが可能であるが、システムエラーの場合にはシステムに障害が発生しているために、業務エラーとは異なる対応が必要である。   By the way, there are various causes of the error, and there are a business error that occurs when conditions necessary for executing information processing are not consistent, a system error that occurs due to a system failure, and the like. The way of handling varies depending on the type of error. Here, the cancellation method differs between the business error and the system error even when the already executed processing is canceled. That is, in the case of a business error, it is possible to cancel on the premise of a sound system, but in the case of a system error, a failure has occurred in the system, and therefore, a response different from the business error is required.

また、特許文献2に記載されている連携処理においては、連携処理を構成する個別処理の順番が大切であり、取消時においても取り消す順番を考慮する必要がある。
本発明は、上述した問題に鑑みてなされたものであり、その目的は、複数の処理を連携して実行する場合に、一部の処理で発生したエラーに対して効率的な対応を支援するための取引管理システム、取引管理方法及び取引管理プログラムを提供することにある。
In the cooperation process described in Patent Document 2, the order of the individual processes constituting the cooperation process is important, and it is necessary to consider the order of cancellation even when canceling.
The present invention has been made in view of the above-described problems, and an object of the present invention is to support efficient responses to errors generated in some processes when a plurality of processes are executed in cooperation. To provide a transaction management system, a transaction management method and a transaction management program.

上記問題点を解決するために、請求項1に記載の発明は、取引端末と、取引のための個別処理を実行する実行装置とに接続された制御部と、取引のために連携して行なう複数の個別処理に関する情報を記憶した連携情報記憶部と、前記取引端末から受信した取引電文に対応して実行した個別処理の完了情報を記録した実行情報記憶部と、前記連携情報記憶部に記録された連携処理を実行する連携アプリケーションを実行するアプリケーション実行手段の実行状況を監視する管理部とを備えた取引管理システムであって、前記制御部が、前記取引端末から受信した取引電文に対応する連携アプリケーションにより、個別処理を実行するアプリケーション実行手段を起動し、前記アプリケーション実行手段が、前記連携アプリケーションにより前記連携情報記憶部において特定される個別処理について、前記実行装置に対して、順次、前記個別処理の処理依頼を送信し、前記個別処理を完了した場合、前記個別処理についての完了情報を前記実行情報記憶部に記録し、前記アプリケーション実行手段が、複数の個別処理を組み合わせた連携処理の一部の個別処理においてエラーを検知した場合、前記連携アプリケーションにより、前記実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、前記実行済み個別処理を連携処理において取り消す取消要求電文を、順次、生成して、前記実行装置に送信するフロー取消処理を実行し、前記管理部が、前記アプリケーション実行手段によって実行されている前記連携アプリケーションにおいてシステムエラーを検知した場合には、前記実行情報記憶部から個別処理の完了情報を取得し、前記完了情報に基づいて、前記実行済み個別処理を取り消すための取消実行手段を起動し、前記取消実行手段を用いて、前記実行済み個別処理のロールバック取消処理を実行することを要旨とする。 In order to solve the above problems, the invention described in claim 1 is performed in cooperation with a transaction terminal, a control unit connected to an execution device that executes individual processing for transaction, and for transaction. A cooperation information storage unit that stores information related to a plurality of individual processes, an execution information storage unit that records completion information of individual processes executed in response to a transaction message received from the transaction terminal, and a record in the cooperation information storage unit A transaction management system comprising: a management unit that monitors an execution status of an application execution unit that executes a linked application that executes a linked process , wherein the control unit corresponds to a transaction message received from the transaction terminal the cooperative application, then start the application execution means for executing the individual process, said application executing means, before by the cooperative application For the individual process specified in the cooperation information storage unit, the processing request for the individual process is sequentially transmitted to the execution device, and when the individual process is completed, the completion information about the individual process is displayed as the execution information. When the application execution means detects an error in a part of the individual processing of the cooperation processing combining a plurality of individual processing , the completion information is recorded in the execution information storage unit by the cooperation application. The executed individual process is identified, a cancellation request message for canceling the executed individual process in the cooperation process is sequentially generated, and the flow cancellation process is transmitted to the execution device, and the management unit executes the application When a system error is detected in the cooperative application being executed by the execution means Acquires completion information of the individual process from the execution information storage unit, starts cancellation execution means for canceling the executed individual process based on the completion information, and uses the cancellation execution means to execute the execution The gist is to execute the rollback cancellation processing of the completed individual processing .

請求項2に記載の発明は、請求項1に記載の取引管理システムにおいて、前記実行済み個別処理の取消処理を実行する場合には、前記実行済み個別処理の実行順番の逆順に前記各個別処理の取消処理を実行することを要旨とする。   According to a second aspect of the present invention, in the transaction management system according to the first aspect, when executing the cancellation process of the executed individual processes, the individual processes are performed in the reverse order of the execution order of the executed individual processes. The main point is to execute the cancellation process.

請求項に記載の発明は、取引端末と、取引のための個別処理を実行する実行装置とに接続された制御部と、取引のために連携して行なう複数の個別処理に関する情報を記憶した連携情報記憶部と、前記取引端末から受信した取引電文に対応して実行した個別処理の完了情報を記録した実行情報記憶部と、前記連携情報記憶部に記録された連携処理を実行する連携アプリケーションを実行するアプリケーション実行手段の実行状況を監視する管理部とを備えた取引管理システムを用いて、取引を管理するための方法であって、前記制御部が、前記取引端末から受信した取引電文に対応する連携アプリケーションにより、個別処理を実行するアプリケーション実行手段を起動し、前記アプリケーション実行手段が、前記連携アプリケーションにより前記連携情報記憶部において特定される個別処理について、前記実行装置に対して、順次、前記個別処理の処理依頼を送信し、前記個別処理を完了した場合、前記個別処理についての完了情報を前記実行情報記憶部に記録し、前記アプリケーション実行手段が、複数の個別処理を組み合わせた連携処理の一部の個別処理においてエラーを検知した場合、前記連携アプリケーションにより、前記実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、前記実行済み個別処理を連携処理において取り消す取消要求電文を、順次、生成して、前記実行装置に送信するフロー取消処理を実行し、前記管理部が、前記アプリケーション実行手段によって実行されている前記連携アプリケーションにおいてシステムエラーを検知した場合には、前記実行情報記憶部から個別処理の完了情報を取得し、前記完了情報に基づいて、前記実行済み個別処理を取り消すための取消実行手段を起動し、前記取消実行手段を用いて、前記実行済み個別処理のロールバック取消処理を実行することを要旨とする。 Invention of Claim 3 memorize | stored the information regarding the control part connected to the transaction terminal, the execution apparatus which performs the separate process for a transaction, and the several separate process cooperated for a transaction A cooperation information storage unit, an execution information storage unit that records completion information of an individual process executed in response to a transaction message received from the transaction terminal, and a cooperation application that executes the cooperation process recorded in the cooperation information storage unit And a transaction management system comprising a management unit that monitors the execution status of the application execution means for executing the transaction, wherein the control unit receives the transaction message received from the transaction terminal. the corresponding cooperative application, then start the application execution means for executing the individual process, said application executing means, the cooperative application Ri for individual process specified in the linkage information storage section, to the execution unit sequentially transmits a processing request of the individual processing, if completed the individual processing, the completion information of the individual processing When the application execution unit detects an error in a part of the individual processing of the cooperation process that combines a plurality of individual processes , the completion information is stored in the execution information storage unit by the cooperation application. The recorded individual executed process is identified, a cancellation request message for canceling the executed individual process in the cooperation process is sequentially generated, and a flow cancellation process is transmitted to the execution device . A system error is detected in the cooperative application being executed by the application execution means. In this case, the completion information of the individual process is acquired from the execution information storage unit, and based on the completion information, a cancellation execution unit for canceling the executed individual process is started, and the cancellation execution unit is used. The gist of the present invention is to execute rollback cancellation processing of the executed individual processing .

請求項に記載の発明は、取引端末と、取引のための個別処理を実行する実行装置とに接続された制御部と、取引のために連携して行なう複数の個別処理に関する情報を記憶した連携情報記憶部と、前記取引端末から受信した取引電文に対応して実行した個別処理の完了情報を記録した実行情報記憶部と、前記連携情報記憶部に記録された連携処理を実行する連携アプリケーションを実行するアプリケーション実行手段の実行状況を監視する管理部とを備えた取引管理システムを用いて、取引を管理するためのプログラムであって、前記制御部を、前記取引端末から受信した取引電文に対応する連携アプリケーションにより、個別処理を実行するアプリケーション実行手段を起動し、前記アプリケーション実行手段が、前記連携アプリケーションにより前記連携情報記憶部において特定される個別処理について、前記実行装置に対して、順次、前記個別処理の処理依頼を送信し、前記個別処理を完了した場合、前記個別処理についての完了情報を前記実行情報記憶部に記録し、前記アプリケーション実行手段が、複数の個別処理を組み合わせた連携処理の一部の個別処理においてエラーを検知した場合、前記連携アプリケーションにより、前記実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、前記実行済み個別処理を連携処理において取り消す取消要求電文を、順次、生成して、前記実行装置に送信するフロー取消処理を実行し、前記管理部が、前記アプリケーション実行手段によって実行されている前記連携アプリケーションにおいてシステムエラーを検知した場合には、前記実行情報記憶部から個別処理の完了情報を取得し、前記完了情報に基づいて、前記実行済み個別処理を取り消すための取消実行手段を起動し、前記取消実行手段を用いて、前記実行済み個別処理のロールバック取消処理を実行する手段として機能させることを要旨とする。 Invention of Claim 4 memorize | stored the information regarding the control part connected to the transaction terminal, the execution apparatus which performs the separate process for transaction, and the several separate process cooperated for transaction A cooperation information storage unit, an execution information storage unit that records completion information of individual processing executed in response to a transaction message received from the transaction terminal, and a cooperation application that executes the cooperation process recorded in the cooperation information storage unit A program for managing transactions using a transaction management system comprising a management unit that monitors the execution status of the application execution means for executing the control, and the control unit is connected to the transaction message received from the transaction terminal. the corresponding cooperative application, then start the application execution means for executing an individual process, said application executing means, wherein the linkage Apurikeshi The individual process specified in the linkage information storing unit by emissions, to the execution unit sequentially transmits a processing request of the individual processing, if completed the individual processing, the completion information of the individual processing When the application execution means detects an error in a part of the individual processing of the cooperation process that combines a plurality of individual processes , the completion information is recorded in the execution information storage unit by the cooperation application. The execution individual process in which the executed individual process is recorded , the cancellation request message for canceling the executed individual process in the cooperation process is sequentially generated, and the flow cancellation process is transmitted to the execution device, and the management unit A system error in the cooperative application being executed by the application executing means. If known, the completion information of the individual process is acquired from the execution information storage unit, and based on the completion information, a cancellation execution unit for canceling the executed individual process is started, and the cancellation execution unit is used. Thus, the gist is to function as means for executing the rollback cancellation processing of the individual processing that has been executed .

(作用)
請求項1、又はに記載の発明によれば、制御部が、取引端末から受信した取引電文に対応する個別処理を実行するためのアプリケーション実行手段を起動し、アプリケーション実行手段が、連携情報記憶部において特定される個別処理について、実行装置に対して、順次、個別処理の処理依頼を送信する。個別処理を完了した場合、個別処理についての完了情報を実行情報記憶部に記録する。そして、一部の個別処理においてエラーを検知した場合、実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、実行済み個別処理の取消処理を実行する。これにより、エラーが生じた場合に、実行済みの処理を取り消して、効率的に処理前の状態に戻すことができる。
(Function)
According to invention of Claim 1, 3 or 4 , a control part starts the application execution means for performing the separate process corresponding to the transaction message received from the transaction terminal, and an application execution means is cooperation information. For the individual processes specified in the storage unit, processing requests for the individual processes are sequentially transmitted to the execution device. When the individual process is completed, the completion information about the individual process is recorded in the execution information storage unit. When an error is detected in some of the individual processes, the executed individual process in which the completion information is recorded in the execution information storage unit is specified, and the executed individual process is canceled. Thereby, when an error occurs, the executed process can be canceled and the state before the process can be efficiently restored.

請求項2に記載の発明によれば、実行済み個別処理の取消処理を実行する場合には、実行済み個別処理の実行順番の逆順に各個別処理の取消処理を実行する。これにより、個別処理を実行した順番を考慮して、処理前の状態に戻すことができる。   According to the second aspect of the present invention, when executing the cancellation processing of the executed individual processing, the cancellation processing of each individual processing is executed in the reverse order of the execution order of the executed individual processing. Thereby, it is possible to return to the state before the processing in consideration of the order in which the individual processing is executed.

発明によれば、実行済み個別処理の取消処理を実行する場合には、アプリケーション実行手段が、実行情報記憶部から個別処理の完了情報を取得し、完了情報に基づいて、実行装置に対して取消要求電文を送信する。これにより、業務エラー等のように、予め想定されるエラーに対して、アプリケーションにより、実行済み処理を取り消すことができる。 According to the present invention, when executing the cancellation process of the executed individual process, the application execution unit acquires the completion information of the individual process from the execution information storage unit and, based on the completion information, the execution apparatus Send a cancellation request message. As a result, an executed process can be canceled by an application for a previously assumed error such as a business error.

発明によれば、アプリケーション実行手段においてシステムエラーを検知した場合には、アプリケーション実行手段を監視する管理部が、実行情報記憶部から個別処理の完了情報を取得する。そして、完了情報に基づいて、実行済み個別処理を取り消すための取消実行手段を起動し、取消実行手段を用いて個別処理の取消を行なう。これにより、システムエラー等のように、アプリケーションで制御できない場合にも、実行済みの処理を取り消すことができる。 According to the present invention, when a system error is detected in the application execution unit, the management unit that monitors the application execution unit acquires completion information of the individual process from the execution information storage unit. Then, based on the completion information, a cancel execution means for canceling the executed individual process is activated, and the individual process is canceled using the cancel execution means. As a result, even when the application cannot be controlled, such as a system error, the executed process can be canceled.

本発明によれば、複数の処理を連携して実行する場合に、一部の処理で発生したエラーに対して効率的な対応を支援するための取引管理システム、取引管理方法及び取引管理プログラムを提供することができる。   According to the present invention, a transaction management system, a transaction management method, and a transaction management program for supporting an efficient response to an error occurring in a part of processing when a plurality of processes are executed in cooperation with each other. Can be provided.

本発明の実施形態のシステム概略図。The system schematic of embodiment of this invention. 本発明の実施形態の各情報記憶部に記録されたデータの説明図であって、(a)は連携情報記憶部、(b)は取引管理情報記憶部、(c)はエラー情報記憶部に記録されたデータの説明図。It is explanatory drawing of the data recorded on each information storage part of embodiment of this invention, (a) is a cooperation information storage part, (b) is a transaction management information storage part, (c) is an error information storage part. Explanatory drawing of the recorded data. 本実施形態の処理手順の説明図。Explanatory drawing of the process sequence of this embodiment. 本実施形態の処理手順の説明図。Explanatory drawing of the process sequence of this embodiment. 本実施形態の処理手順の説明図。Explanatory drawing of the process sequence of this embodiment. 本実施形態の処理手順の説明図。Explanatory drawing of the process sequence of this embodiment.

以下、本発明を具体化した一実施形態を図1〜図6に基づいて説明する。本実施形態では、取引要求に対応して、複数のプロセスを組み合わせた個別処理により各取引を実行する場合を想定する。   Hereinafter, an embodiment embodying the present invention will be described with reference to FIGS. In the present embodiment, it is assumed that each transaction is executed by individual processing combining a plurality of processes in response to a transaction request.

図1に示すように、ここでは、ネットワークを介して接続された取引端末10、取引共通システム20、サービス管理サーバ30を用いる。
取引端末10は、ディスプレイ等の出力手段や、キーボードやポインティングデバイス等の入力手段を備えている。
As shown in FIG. 1, here, a transaction terminal 10, a transaction common system 20, and a service management server 30 connected via a network are used.
Transaction terminal 10 includes output means such as a display and input means such as a keyboard and a pointing device.

取引端末10は、取引担当者によって入力された取引電文を送信するコンピュータ端末である。この取引端末10は、例えば、店頭に設置されたフロント端末等を用いることが可能である。取引端末10は、取引電文に対して取引種別コード、顧客コードや取引内容を取引情報記憶部(図示せず)に記録する。そして、取引端末10は、この取引電文を、ネットワークを介して、取引共通システム20に転送する。また、取引端末10は、取引共通システム20から受信した取引応答電文を出力手段に出力する。   The transaction terminal 10 is a computer terminal that transmits a transaction message input by a transaction representative. As the transaction terminal 10, for example, a front terminal installed at a store can be used. The transaction terminal 10 records a transaction type code, a customer code, and transaction contents in a transaction information storage unit (not shown) for the transaction message. And the transaction terminal 10 transfers this transaction message to the transaction common system 20 via a network. Moreover, the transaction terminal 10 outputs the transaction response message received from the transaction common system 20 to the output means.

取引共通システム20は、取引電文の内容に基づいて必要な個別処理を特定し、この個別処理を実行するサービス管理サーバ30に処理依頼電文を送信するコンピュータ装置である。ここで、制御部21は、取引電文の内容に応じて後続の個別処理の実行が必要な場合には、新たに処理依頼電文を生成し、この個別処理を実行するサービス管理サーバ30に送信する。そして、取引電文に対応するすべての個別処理を終了した場合には、取引電文に対応する取引応答電文を、取引端末10に返信する。   The common transaction system 20 is a computer device that specifies necessary individual processing based on the contents of a transaction message and transmits a processing request message to the service management server 30 that executes the individual processing. Here, when it is necessary to execute a subsequent individual process according to the contents of the transaction message, the control unit 21 newly generates a process request message and transmits it to the service management server 30 that executes this individual process. . Then, when all the individual processes corresponding to the transaction message are completed, a transaction response message corresponding to the transaction message is returned to the transaction terminal 10.

取引共通システム20は、制御部21、連携情報記憶部22、取引管理情報記憶部24、エラー情報記憶部26、取消実行ルーチン記憶部28を備えている。
制御部21は、制御手段(CPU、RAM、ROM等)を備えている。そして、この制御部21は、後述する処理(取引フロー管理段階、例外処理実行段階等の各処理等)を行なう。そのための取引管理プログラムを実行することにより、この制御部21は、図1に示すように、取引フロー管理手段211、例外処理実行手段212等の各手段として機能する。
The common transaction system 20 includes a control unit 21, a linkage information storage unit 22, a transaction management information storage unit 24, an error information storage unit 26, and a cancellation execution routine storage unit 28.
The control unit 21 includes control means (CPU, RAM, ROM, etc.). And this control part 21 performs the process (each process of a transaction flow management stage, an exception process execution stage, etc.) mentioned later. By executing a transaction management program for this purpose, the control unit 21 functions as each unit such as a transaction flow management unit 211 and an exception process execution unit 212 as shown in FIG.

取引フロー管理手段211はアプリケーション実行手段として機能し、取引アプリケーションに基づいて、取引端末10から受信した取引電文に対応して取引を行なう各種処理を実行する。具体的には、取引フロー管理手段211は、取引実行手段A1及びフロー取消手段A2を起動して各種処理を実行させる。取引実行手段A1は、取引を行なうために必要な取引フローを特定し、この取引フローに含まれる取引プロセス(個別処理)を行なうサービス管理サーバ30に、処理依頼電文を送信する処理を実行する。一方、フロー取消手段A2は、サービス管理サーバ30において実行される個別処理において業務エラーを検知した場合、実行済みの個別処理を取り消す処理を行なう。   The transaction flow management unit 211 functions as an application execution unit, and executes various processes for performing a transaction in response to a transaction message received from the transaction terminal 10 based on the transaction application. Specifically, the transaction flow management unit 211 activates the transaction execution unit A1 and the flow cancellation unit A2 to execute various processes. The transaction execution means A1 specifies a transaction flow necessary for performing the transaction, and executes a process of transmitting a processing request message to the service management server 30 that performs a transaction process (individual processing) included in the transaction flow. On the other hand, when a business error is detected in the individual processing executed in the service management server 30, the flow canceling means A2 performs processing for canceling the executed individual processing.

例外処理実行手段212は、取引フロー管理手段211を監視する管理部として機能し、取引フロー管理手段211においてシステムエラーが生じた場合に、実行済みの個別処理を取り消す取消実行手段B1を起動する処理を行なう。ここでは、取引アプリケーションが実行されるシステム環境(実行環境)においてロールバック取消処理を実行する。   The exception process execution unit 212 functions as a management unit that monitors the transaction flow management unit 211. When a system error occurs in the transaction flow management unit 211, the exception process execution unit 212 starts the cancellation execution unit B1 that cancels the executed individual process. To do. Here, rollback cancellation processing is executed in a system environment (execution environment) in which the transaction application is executed.

連携情報記憶部22には、図2(a)に示すように、取引電文の取引を実現するために連携して行なう個別処理を特定するための連携管理レコード220が記録されている。この連携管理レコード220は、取引において必要な個別処理が登録された場合に記録される。連携管理レコード220には、取引種別、処理種別に関するデータが記録される。   As shown in FIG. 2A, a cooperation management record 220 for specifying individual processing to be performed in cooperation with each other in order to realize a transaction message transaction is recorded in the cooperation information storage unit 22. This cooperation management record 220 is recorded when an individual process necessary for the transaction is registered. In the cooperation management record 220, data related to transaction types and processing types is recorded.

取引種別データ領域には、取引電文における取引種別を特定するための識別子に関するデータが記録される。
処理種別データ領域には、この取引電文の取引を完了させるために必要な個別処理の処理種別を特定するための識別子に関するデータが記録される。ここでは、個別処理を実行する順番を特定できるように記録されている。
In the transaction type data area, data relating to an identifier for specifying the transaction type in the transaction message is recorded.
In the process type data area, data relating to an identifier for specifying the process type of the individual process necessary for completing the transaction of the transaction message is recorded. Here, it records so that the order which performs an individual process can be specified.

取引管理情報記憶部24は実行情報記憶部として機能する。この取引管理情報記憶部24には、図2(b)に示すように、取引端末10から受信した取引電文を管理するための取引管理レコード240が記録される。この取引管理レコード240は、取引端末10から取引電文を受信した場合に登録される。取引管理レコード240には、取引電文コード、電文受信日時、取引種別、取引内容、取引結果に関するデータが記録される。更に、この取引管理レコード240には、処理種別に対して処理結果に関するデータが記録される。   The transaction management information storage unit 24 functions as an execution information storage unit. In the transaction management information storage unit 24, as shown in FIG. 2B, a transaction management record 240 for managing the transaction message received from the transaction terminal 10 is recorded. This transaction management record 240 is registered when a transaction message is received from the transaction terminal 10. In the transaction management record 240, data relating to a transaction message code, message reception date and time, transaction type, transaction content, and transaction result is recorded. Further, in the transaction management record 240, data regarding the processing result is recorded for the processing type.

取引電文コードデータ領域には、各取引電文を特定するための識別子に関するデータが記録される。
電文受信日時データ領域には、この取引電文を受信した年月日及び時刻に関するデータが記録される。
Data relating to an identifier for identifying each transaction message is recorded in the transaction message code data area.
Data related to the date and time when this transaction message is received is recorded in the message reception date and time data area.

取引種別データ領域には、この取引電文における取引種別を特定するための識別子に関するデータが記録される。
取引内容データ領域には、この取引電文における取引の詳細に関するデータが記録される。この取引内容には、取引金額に関するデータが含まれる。
In the transaction type data area, data relating to an identifier for specifying the transaction type in the transaction message is recorded.
In the transaction content data area, data relating to the details of the transaction in the transaction message is recorded. This transaction content includes data relating to the transaction amount.

取引結果データ領域には、この取引電文における取引の最終結果に関するデータが記録される。本実施形態では、取引を完了した場合には完了フラグが記録される。一方、エラーが発生して取引を完了できなかった場合には、エラーフラグが記録される。   In the transaction result data area, data relating to the final result of the transaction in this transaction message is recorded. In the present embodiment, when the transaction is completed, a completion flag is recorded. On the other hand, when an error occurs and the transaction cannot be completed, an error flag is recorded.

処理種別データ領域には、この取引電文に基づいて、連携して行なわれる個別処理の処理種別を特定するための識別子に関するデータが記録される。
処理結果データ領域には、この個別処理についての処理結果に関するデータが記録される。本実施形態では、この処理種別の個別処理を完了した場合には完了フラグ(個別処理の完了情報)が記録される。また、エラー発生に対応して、個別処理を取り消した場合には、取消フラグが記録される。
In the process type data area, data relating to an identifier for specifying the process type of the individual process performed in cooperation with each other is recorded based on this transaction message.
In the processing result data area, data related to the processing result for the individual processing is recorded. In the present embodiment, when the individual processing of this processing type is completed, a completion flag (individual processing completion information) is recorded. When an individual process is canceled in response to the occurrence of an error, a cancellation flag is recorded.

エラー情報記憶部26には、図2(c)に示すように、取引電文に基づいて行なわれた個別処理において発生したエラーについてのエラー管理レコード260が記録される。このエラー管理レコード260は、エラーが発生した個別処理を行なったサービス管理サーバ30からエラー情報を取得した場合に登録される。エラー管理レコード260には、取引電文コード、エラー発生日時、処理種別、エラーコード、エラー詳細に関するデータが記録される。   In the error information storage unit 26, as shown in FIG. 2 (c), an error management record 260 regarding an error that has occurred in the individual processing performed based on the transaction message is recorded. This error management record 260 is registered when error information is acquired from the service management server 30 that performed the individual processing in which the error occurred. In the error management record 260, data related to a transaction message code, error occurrence date / time, processing type, error code, and error details are recorded.

取引電文コードデータ領域には、エラーが発生した取引電文を特定するための識別子に関するデータが記録される。
エラー発生日時データ領域には、エラーが発生した年月日及び時刻に関するデータが記録される。
In the transaction message code data area, data relating to an identifier for identifying a transaction message in which an error has occurred is recorded.
In the error occurrence date and time data area, data related to the date and time when the error occurred is recorded.

処理種別データ領域には、エラーが発生した個別処理を特定するための識別子に関するデータが記録される。
エラーコードデータ領域、エラー詳細データ領域には、それぞれ、発生したエラーの内容を特定するための識別子や詳細内容に関するデータが記録される。
In the process type data area, data relating to an identifier for specifying an individual process in which an error has occurred is recorded.
In the error code data area and the error detailed data area, an identifier for specifying the content of the error that has occurred and data relating to the detailed content are recorded.

取消実行ルーチン記憶部28には、ロールバック取消において用いるプログラム(取消実行ルーチン)が記録されている。この取消実行ルーチンを呼び出すことにより、取消実行手段B1を起動させることができる。取消実行ルーチン記憶部28において、取消実行ルーチンは、処理種別毎に記録されている。   The cancellation execution routine storage unit 28 stores a program (cancellation execution routine) used in rollback cancellation. By calling this cancellation execution routine, the cancellation execution means B1 can be activated. In the cancellation execution routine storage unit 28, a cancellation execution routine is recorded for each processing type.

サービス管理サーバ30は実行装置として機能し、処理依頼電文に対応するために必要な各個別処理を実行するコンピュータ装置(例えば、ホストコンピュータ)である。各サービス管理サーバ30における個別処理には、例えば、営業店毎の売上げ管理や、顧客毎の顧客情報ファイル管理(CIF)、口座管理等の各処理が含まれる。   The service management server 30 functions as an execution device, and is a computer device (for example, a host computer) that executes each individual process necessary for responding to a processing request message. The individual processing in each service management server 30 includes, for example, sales management for each branch, customer information file management (CIF) for each customer, account management, and the like.

このサービス管理サーバ30は、取引共通システム20から受信した処理依頼電文に基づいて、処理種別に応じた個別処理を実行する。この場合、正常終了する場合と、エラーが発生する場合とがある。そして、サービス管理サーバ30は、処理依頼電文に基づいた個別処理の処理結果を含めた処理結果電文を返信する。この処理結果電文には、取引電文コード、処理種別に関するデータを含める。更に、エラーが発生することなく個別処理を正常終了した場合には、処理結果電文において処理結果として完了メッセージを含める。一方、エラーを検知し、個別処理を正常終了できなかった場合には、処理結果電文において処理結果としてエラーメッセージを含める。このエラーメッセージには、エラー内容を特定するためのエラーコード及びその詳細に関するデータを含める。   The service management server 30 executes individual processing according to the processing type based on the processing request message received from the transaction common system 20. In this case, there are a case where the processing ends normally and an case where an error occurs. Then, the service management server 30 returns a processing result message including the processing result of the individual processing based on the processing request message. The processing result message includes data related to the transaction message code and the processing type. Furthermore, when the individual processing is normally completed without causing an error, a completion message is included as a processing result in the processing result message. On the other hand, if an error is detected and the individual processing cannot be completed normally, an error message is included as a processing result in the processing result message. This error message includes an error code for specifying the error content and data related to the details.

また、サービス管理サーバ30は、取引共通システム20から取消要求電文を受信した場合、この取消要求電文に含まれる取引電文コードにおいて行なわれた個別処理を取り消して、取引前の状態に戻す取消処理(ロールバック処理)を実行する。   In addition, when the service management server 30 receives a cancellation request message from the transaction common system 20, the service management server 30 cancels the individual processing performed in the transaction message code included in the cancellation request message and returns to the state before the transaction ( Execute rollback processing.

このサービス管理サーバ30は、取引ログ記憶部32を備えている。この取引ログ記憶部32には、処理依頼電文に対応して実行した個別処理についての実行履歴(取引ログ)が記録される。この取引ログには、取引電文コードに関連付けて、処理内容及び処理結果に関するデータが記録される。   The service management server 30 includes a transaction log storage unit 32. In the transaction log storage unit 32, an execution history (transaction log) for an individual process executed corresponding to the process request message is recorded. In this transaction log, data relating to processing contents and processing results is recorded in association with the transaction message code.

(フロー取消の概要)
まず、図3を用いて、フロー取消の概要を説明する。
取引端末10から取引電文を受信した取引共通システム20の制御部21は、この取引電文に応じたアプリケーションにより、取引実行手段A1を起動する。
(Overview of flow cancellation)
First, the outline of the flow cancellation will be described with reference to FIG.
The control unit 21 of the transaction common system 20 that has received the transaction message from the transaction terminal 10 activates the transaction execution means A1 with an application corresponding to the transaction message.

この取引実行手段A1は、連携情報記憶部22に記録されている処理種別を、順次、特定して、この処理種別の個別処理の実行を要求する。ここでは、図3に示すように、取引フローに含まれる取引プロセス(S11、S12、S13、…)の順番で取引フローを実行する場合を想定する。そこで、取引実行手段A1は、サービス管理サーバ30に対して、順次、取引フローに含まれる取引プロセス(S11、S12、S13、…)に対応した処理種別の処理依頼電文を送信する。この場合、サービス管理サーバ30は、処理依頼電文に対応した個別処理を実施する。ここでは、サービス管理サーバ30においては、取引フローに含まれる取引プロセス(S11、S12、S13、…)に対応した個別処理(S31、S32、S33、…)が行なわれる。   This transaction execution means A1 sequentially specifies the process types recorded in the cooperation information storage unit 22, and requests execution of individual processes of this process type. Here, as shown in FIG. 3, it is assumed that the transaction flow is executed in the order of the transaction processes (S11, S12, S13,...) Included in the transaction flow. Therefore, the transaction execution means A1 sequentially transmits to the service management server 30 processing request messages of processing types corresponding to the transaction processes (S11, S12, S13,...) Included in the transaction flow. In this case, the service management server 30 performs individual processing corresponding to the processing request message. Here, in the service management server 30, individual processes (S31, S32, S33,...) Corresponding to the transaction processes (S11, S12, S13,...) Included in the transaction flow are performed.

そして、取引実行手段A1は、サービス管理サーバ30から受信した処理結果電文に基づいて、処理結果を取引管理情報記憶部24に記録する。
ここで、処理結果電文において業務エラーを検知した場合、取引実行手段A1は、アプリケーションにより、取消プロセスS1nを実行するため、フロー取消手段A2に処理を引き継ぐ。この場合、フロー取消手段A2は、取引管理情報記憶部24を用いて、実行済みの個別処理を特定する。そして、フロー取消手段A2は、取消フローとして、取消要求電文作成処理S41、電文送信処理S42、取消結果確認処理S43を実行する。
And transaction execution means A1 records a processing result in transaction management information storage part 24 based on a processing result message received from service management server 30.
Here, when a business error is detected in the processing result message, the transaction execution unit A1 takes over the processing to the flow cancellation unit A2 in order to execute the cancellation process S1n by the application. In this case, the flow cancellation unit A2 uses the transaction management information storage unit 24 to identify the executed individual process. Then, the flow cancellation unit A2 executes a cancellation request message creation process S41, a message transmission process S42, and a cancellation result confirmation process S43 as a cancellation flow.

この取消要求電文作成処理S41においては、実行済みの取引プロセスを取り消すための取消要求電文を作成する。この取消要求電文には、取消対象の取引電文コードや取引内容に関するデータを含める。   In this cancellation request message creation process S41, a cancellation request message for canceling an executed transaction process is created. This cancellation request message includes data regarding the transaction message code to be canceled and transaction details.

電文送信処理S42においては、作成した取消要求電文を、サービス管理サーバ30に送信する。
取消結果確認処理S43は、サービス管理サーバ30から受信した処理結果電文に基づいて、取消対象の取引プロセスが取り消されたことを確認する。
In the message transmission process S42, the created cancellation request message is transmitted to the service management server 30.
The cancellation result confirmation processing S43 confirms that the transaction process to be canceled has been canceled based on the processing result message received from the service management server 30.

(ロールバック取消の概要)
次に、図4を用いて、アプリケーションにおいてシステムエラーが生じた場合のロールバック取消の概要を説明する。
(Overview of rollback cancellation)
Next, an outline of rollback cancellation when a system error occurs in an application will be described with reference to FIG.

ロールバック取消においても、フロー取消と同様に、取引実行手段A1において取引プロセス(S11、S12、S13、…)を実行し、サービス管理サーバ30に対して、順次、処理依頼電文を送信する。そして、サービス管理サーバ30においては、取引プロセス(S11、S12、S13、…)に対応して、個別処理(S31、S32、S33、…)が行なわれる。   Also in the rollback cancellation, similarly to the flow cancellation, the transaction execution means A1 executes the transaction process (S11, S12, S13,...), And sequentially transmits processing request messages to the service management server 30. And in the service management server 30, an individual process (S31, S32, S33, ...) is performed corresponding to a transaction process (S11, S12, S13, ...).

ここで、取引フロー管理手段211においてシステムエラーが発生した場合、フロー取消手段A2を起動することができない。そこで、システムエラーを検知した例外処理実行手段212は、取消実行手段B1を起動する。この取消実行手段B1は、取引管理情報記憶部24を用いて、実行済みの取引プロセス(S11、S12、S13)を特定する。次に、取引プロセスにおける個別処理を実行したサービス管理サーバ30の取引ログ記憶部32にアクセスし、取引ログを取得する。そして、取消実行手段B1は、この取引ログに基づいて、実行済みの個別処理(S33、S32、S31)に対応して、個別処理を取り消すための取消処理(S51、S52、S53)を実行する。   Here, when a system error occurs in the transaction flow management unit 211, the flow cancellation unit A2 cannot be activated. Therefore, the exception processing execution means 212 that has detected the system error activates the cancellation execution means B1. This cancellation execution means B1 uses the transaction management information storage unit 24 to specify an executed transaction process (S11, S12, S13). Next, the transaction log storage unit 32 of the service management server 30 that has executed the individual processing in the transaction process is accessed to acquire the transaction log. And cancellation execution means B1 performs cancellation processing (S51, S52, S53) for canceling individual processing corresponding to the executed individual processing (S33, S32, S31) based on this transaction log. .

次に、以上のように構成されたシステムにおいて、取引を行なう場合についての手順を図5〜図6に基づいて説明する。
(取引処理)
まず、図5を用いて、取引管理処理を説明する。
ここでは、取引共通システム20の制御部21は、取引フローの定義処理を実行する(ステップS1−1)。具体的には、店頭において取引を行なう場合、取引担当者は取引端末10に取引情報を入力する。そして、入力を完了した場合、取引端末10は、取引電文を取引共通システム20に送信する。この取引電文には、取引種別、顧客コード、金額に関するデータを含める。取引端末10から取引電文を受信した取引共通システム20の制御部21の取引フロー管理手段211は、取引電文コードを付与するとともに、システムタイマから現在日時を取得し、取引電文コード及び電文受信日時として記録した取引管理レコード240を生成する。更に、この取引管理レコード240には、取引種別、取引内容(取引金額)に関するデータを含める。そして、取引フロー管理手段211は、生成した取引管理レコード240を取引管理情報記憶部24に記録する。
更に、取引フロー管理手段211は、取引電文に含まれる取引種別に基づいて、連携情報記憶部22に記録された連携管理レコード220を特定する。
Next, a procedure for performing a transaction in the system configured as described above will be described with reference to FIGS.
(Transaction processing)
First, the transaction management process will be described with reference to FIG.
Here, the control unit 21 of the transaction common system 20 executes transaction flow definition processing (step S1-1). Specifically, when a transaction is performed at a store, the person in charge of transaction inputs transaction information to the transaction terminal 10. When the input is completed, the transaction terminal 10 transmits a transaction message to the transaction common system 20. This transaction message includes data relating to the transaction type, customer code, and amount. The transaction flow management means 211 of the control unit 21 of the transaction common system 20 that has received the transaction message from the transaction terminal 10 gives the transaction message code, obtains the current date and time from the system timer, and obtains the transaction message code and the message reception date and time. A recorded transaction management record 240 is generated. Further, the transaction management record 240 includes data regarding the transaction type and transaction content (transaction amount). Then, the transaction flow management unit 211 records the generated transaction management record 240 in the transaction management information storage unit 24.
Furthermore, the transaction flow management unit 211 specifies the cooperation management record 220 recorded in the cooperation information storage unit 22 based on the transaction type included in the transaction message.

次に、取引共通システム20の制御部21は、実行対象の個別処理の特定処理を実行する(ステップS1−2)。具体的には、制御部21の取引フロー管理手段211は、この連携管理レコード220を用いて、取引電文の取引を実現するために必要な個別処理の処理種別を特定し、この処理種別を取引管理レコード240に記録する。そして、取引フロー管理手段211は、個別処理のための処理依頼電文を生成する。処理依頼電文には、取引電文コード、取引内容に関するデータを含める。   Next, the control part 21 of the transaction common system 20 performs the specific process of the individual process of execution object (step S1-2). Specifically, the transaction flow management unit 211 of the control unit 21 uses this cooperation management record 220 to specify the processing type of individual processing necessary for realizing the transaction of the transaction message, and this transaction type is changed to the transaction. Record in the management record 240. Then, the transaction flow management means 211 generates a processing request message for individual processing. The processing request message includes a transaction message code and data related to transaction contents.

次に、取引共通システム20の制御部21は、処理依頼の送信処理を実行する(ステップS1−3)。具体的には、制御部21の取引フロー管理手段211は、生成した処理依頼電文を、サービス管理サーバ30に送信する。ここでは、連携管理レコード220に記録された個別処理の順番に処理依頼電文を送信する。   Next, the control unit 21 of the transaction common system 20 executes processing request transmission processing (step S1-3). Specifically, the transaction flow management unit 211 of the control unit 21 transmits the generated processing request message to the service management server 30. Here, the process request messages are transmitted in the order of the individual processes recorded in the cooperation management record 220.

処理依頼電文を受信したサービス管理サーバ30は、処理依頼電文に基づいて、個別処理を実行する。そして、サービス管理サーバ30は、個別処理の処理結果を含めた処理結果電文を取引共通システム20に返信する。この処理結果電文には、取引電文コード、処理種別、処理結果(完了メッセージ又はエラーメッセージ)に関するデータを含める。   The service management server 30 that has received the processing request message executes individual processing based on the processing request message. Then, the service management server 30 returns a processing result message including the processing result of the individual processing to the transaction common system 20. This processing result message includes data related to a transaction message code, a processing type, and a processing result (completion message or error message).

次に、取引共通システム20の制御部21は、取引フローの実行結果の記録処理を実行する(ステップS1−4)。具体的には、制御部21の取引フロー管理手段211は、サービス管理サーバ30から受信した処理結果電文に基づいて、取引管理レコード240に処理種別に対応した処理結果を記録する。   Next, the control part 21 of the transaction common system 20 performs the recording process of the execution result of transaction flow (step S1-4). Specifically, the transaction flow management unit 211 of the control unit 21 records the processing result corresponding to the processing type in the transaction management record 240 based on the processing result message received from the service management server 30.

次に、取引共通システム20の制御部21は、エラーが発生したかどうかについての判定処理を実行する(ステップS1−5)。具体的には、制御部21の取引フロー管理手段211は、処理結果電文において処理結果としてエラーメッセージが含まれている場合には、エラーと判定する。   Next, the control part 21 of the transaction common system 20 performs the determination process about whether the error generate | occur | produced (step S1-5). Specifically, the transaction flow management unit 211 of the control unit 21 determines an error when an error message is included as a processing result in the processing result message.

ここで、処理結果電文において処理結果として完了メッセージが含まれており、エラーが発生していないと判定した場合(ステップS1−5において「NO」の場合)、取引共通システム20の制御部21は、すべての個別処理を完了したかどうかについての判定処理を実行する(ステップS1−6)。具体的には、制御部21の取引フロー管理手段211は、取引管理情報記憶部24の取引管理レコード240に記録されている処理結果に基づいて、すべての個別処理を終了したかどうかを判定する。ここで、すべての処理種別に対して処理結果が記録されている場合には、取引フロー管理手段211は、すべての個別処理を完了したと判定する。   Here, when it is determined that the processing result includes a completion message as a processing result and no error has occurred (in the case of “NO” in step S1-5), the control unit 21 of the transaction common system 20 Then, a determination process is executed as to whether all the individual processes have been completed (step S1-6). Specifically, the transaction flow management unit 211 of the control unit 21 determines whether all individual processes have been completed based on the processing results recorded in the transaction management record 240 of the transaction management information storage unit 24. . Here, when processing results are recorded for all processing types, the transaction flow management unit 211 determines that all individual processing has been completed.

すべての個別処理を完了したと判定した場合(ステップS1−6において「YES」の場合)、取引共通システム20の制御部21は、取引管理レコード240の取引結果データ領域に完了フラグを記録し、取引端末10に対して取引応答電文を送信して取引処理を終了する。この取引応答電文には、取引を完了したことを示すメッセージを含める。   When it is determined that all the individual processes have been completed (in the case of “YES” in step S1-6), the control unit 21 of the transaction common system 20 records a completion flag in the transaction result data area of the transaction management record 240, A transaction response message is transmitted to the transaction terminal 10 to end the transaction process. This transaction response message includes a message indicating that the transaction has been completed.

一方、処理結果が記録されていない処理種別が残っており、すべての個別処理を完了していないと判定した場合(ステップS1−6において「NO」の場合)、取引共通システム20の制御部21は、ステップS1−2の処理から繰り返す。この場合には、取引管理レコード240において処理結果が記録されていない処理種別において、順番が次の処理種別の処理依頼電文をサービス管理サーバ30に送信する。   On the other hand, if it is determined that there are processing types for which no processing result is recorded and that all individual processing has not been completed (in the case of “NO” in step S1-6), the control unit 21 of the transaction common system 20 Are repeated from the process of step S1-2. In this case, in the process type in which the process result is not recorded in the transaction management record 240, the process request message of the next process type in the order is transmitted to the service management server 30.

また、処理結果電文において処理結果としてエラーメッセージが含まれており、エラーが発生したと判定した場合(ステップS1−5において「YES」の場合)、取引共通システム20の制御部21は、業務エラーに基づくフロー取消処理を実行する。ここでは、取引共通システム20の制御部21は、取引フローの実行結果の呼出処理を実行する(ステップS1−7)。具体的には、制御部21の取引フロー管理手段211は、フロー取消手段A2に処理を引き継ぐ。このフロー取消手段A2は、システムタイマから現在日時を取得し、エラー発生日時として設定したエラー管理レコード260を生成する。このエラー管理レコード260には、サービス管理サーバ30から受信した処理結果電文のエラーメッセージに基づいて、取引電文コード、処理種別、エラーコード、エラー詳細を含める。そして、フロー取消手段A2は、生成したエラー管理レコード260をエラー情報記憶部26に登録する。   In addition, when it is determined that an error message has been included as a processing result in the processing result message and an error has occurred (in the case of “YES” in step S1-5), the control unit 21 of the transaction common system 20 determines a business error. Execute flow cancellation processing based on. Here, the control part 21 of the transaction common system 20 performs the calling process of the execution result of transaction flow (step S1-7). Specifically, the transaction flow management unit 211 of the control unit 21 takes over the process to the flow cancellation unit A2. This flow canceling means A2 acquires the current date and time from the system timer and generates an error management record 260 set as the error occurrence date and time. The error management record 260 includes a transaction message code, a process type, an error code, and error details based on the error message of the process result message received from the service management server 30. Then, the flow cancellation unit A2 registers the generated error management record 260 in the error information storage unit 26.

次に、フロー取消手段A2は、エラーが発生した個別処理の取引電文コードが記録された取引管理レコード240を取引管理情報記憶部24から抽出する。そして、フロー取消手段A2は、取引管理レコード240において、処理種別に関連付けてエラーフラグを記録する。   Next, the flow canceling means A2 extracts from the transaction management information storage unit 24 a transaction management record 240 in which an individual processing transaction message code in which an error has occurred is recorded. Then, the flow canceling means A2 records an error flag in association with the processing type in the transaction management record 240.

次に、取引共通システム20の制御部21は、取消対象の個別処理の特定処理を実行する(ステップS1−8)。具体的には、制御部21のフロー取消手段A2は、取引管理レコード240において完了フラグが記録されている処理種別を、取消対象の個別処理として特定する。ここでは、元の取引において個別処理を実行した順番の逆順で、取消対象の個別処理を特定する。   Next, the control part 21 of the transaction common system 20 performs the specific process of the individual process of cancellation object (step S1-8). Specifically, the flow canceling means A2 of the control unit 21 specifies the process type in which the completion flag is recorded in the transaction management record 240 as the individual process to be canceled. Here, the individual process to be canceled is specified in the reverse order of the order in which the individual processes were executed in the original transaction.

次に、取引共通システム20の制御部21は、取消要求の送信処理を実行する(ステップS1−9)。具体的には、制御部21のフロー取消手段A2は、特定した処理種別の個別処理を取り消すための取消要求電文を生成し、サービス管理サーバ30に送信する。この取消要求電文には、取消対象の個別処理を特定するための情報(取引電文コード、取引種別、取引内容等)を含める。   Next, the control part 21 of the transaction common system 20 performs the cancellation request transmission process (step S1-9). Specifically, the flow cancellation unit A2 of the control unit 21 generates a cancellation request message for canceling the individual processing of the specified processing type, and transmits it to the service management server 30. This cancellation request message includes information (transaction message code, transaction type, transaction content, etc.) for specifying the individual processing to be canceled.

次に、取引共通システム20の制御部21は、取消応答の取得処理を実行する(ステップS1−10)。具体的には、取消要求を受信したサービス管理サーバ30は、取引電文コードに対応した個別処理の取消処理を実行する。そして、サービス管理サーバ30は、取消処理の結果を含めた取消応答電文を取引共通システム20に返信する。取引共通システム20の制御部21のフロー取消手段A2は、サービス管理サーバ30から、取消要求電文に対する取消応答電文を受信する。この場合、フロー取消手段A2は、取引管理レコード240において、取り消した処理種別に関連付けて、取消フラグを記録する。   Next, the control part 21 of the transaction common system 20 performs cancellation response acquisition processing (step S1-10). Specifically, the service management server 30 that has received the cancellation request executes cancellation processing of individual processing corresponding to the transaction message code. Then, the service management server 30 returns a cancellation response message including the result of the cancellation process to the transaction common system 20. The flow cancellation means A2 of the control unit 21 of the transaction common system 20 receives a cancellation response message for the cancellation request message from the service management server 30. In this case, the flow cancellation means A2 records a cancellation flag in the transaction management record 240 in association with the canceled processing type.

次に、取引共通システム20の制御部21は、すべてを取り消したかどうかについての判定処理を実行する(ステップS1−11)。具体的には、制御部21のフロー取消手段A2は、取引管理レコード240において、完了フラグが記録されている処理種別が残っていない場合には、すべてを取り消したと判定する。   Next, the control part 21 of the transaction common system 20 performs the determination process about whether it canceled all (step S1-11). Specifically, the flow cancellation means A2 of the control unit 21 determines that all of the transaction management records 240 have been canceled when there is no remaining processing type in which the completion flag is recorded.

ここで、すべてを取り消したと判定した場合(ステップS1−11において「YES」の場合)、取引共通システム20の制御部21は、取引管理レコード240の取引結果データ領域にエラーフラグを記録し、取引端末10に対して取引応答電文を送信して取引処理を終了する。この取引応答電文には、業務エラーにより取引を完了できなかったことを示すメッセージを含める。   If it is determined that all have been canceled (“YES” in step S1-11), the control unit 21 of the transaction common system 20 records an error flag in the transaction result data area of the transaction management record 240, and the transaction A transaction response message is transmitted to the terminal 10 to end the transaction process. This transaction response message includes a message indicating that the transaction could not be completed due to a business error.

一方、完了フラグが記録されている処理種別が残っており、すべての取消を終了していないと判定した場合(ステップS1−11において「NO」の場合)、取引共通システム20の制御部21は、ステップS1−8の処理から繰り返す。   On the other hand, when it is determined that the processing type in which the completion flag is recorded remains and all cancellations are not completed (in the case of “NO” in step S1-11), the control unit 21 of the transaction common system 20 The process from step S1-8 is repeated.

(ロールバック取消処理)
次に、図6を用いて、ロールバック取消処理を説明する。この処理は、例外処理実行手段212が、取引フロー管理手段211におけるシステムエラーを検出した場合に実行される。
(Rollback cancellation processing)
Next, rollback cancellation processing will be described with reference to FIG. This process is executed when the exception process execution unit 212 detects a system error in the transaction flow management unit 211.

まず、取引共通システム20の制御部21は、実行記録の取得処理を実行する(ステップS2−1)。具体的には、制御部21の例外処理実行手段212は、エラーが発生した取引電文コードが記録された取引管理レコード240を取引管理情報記憶部24から抽出する。次に、例外処理実行手段212は、取引管理レコード240において、処理種別に関連付けて、処理結果としてエラーフラグを記録する。そして、例外処理実行手段212は、取引管理レコード240において完了フラグが記録されている処理種別を、取消対象のフロー情報として特定する。   First, the control unit 21 of the transaction common system 20 executes execution record acquisition processing (step S2-1). Specifically, the exception process execution unit 212 of the control unit 21 extracts from the transaction management information storage unit 24 a transaction management record 240 in which a transaction message code in which an error has occurred is recorded. Next, the exception process execution unit 212 records an error flag as a process result in the transaction management record 240 in association with the process type. Then, the exception process execution unit 212 identifies the process type in which the completion flag is recorded in the transaction management record 240 as the flow information to be canceled.

次に、取引共通システム20の制御部21は、取消対象の個別処理の特定処理を実行する(ステップS2−2)。具体的には、制御部21の例外処理実行手段212は、取引管理レコード240において完了フラグが記録されている処理種別を、取消対象の個別処理として特定する。ここでは、元の取引において個別処理を実行した順番の逆順で、取消対象の個別処理を特定する。   Next, the control part 21 of the transaction common system 20 performs the specific process of the individual process of cancellation object (step S2-2). Specifically, the exception process execution unit 212 of the control unit 21 specifies the process type in which the completion flag is recorded in the transaction management record 240 as the individual process to be canceled. Here, the individual process to be canceled is specified in the reverse order of the order in which the individual processes were executed in the original transaction.

次に、取引共通システム20の制御部21は、取消実行ルーチンの呼出処理を実行する(ステップS2−3)。具体的には、制御部21の例外処理実行手段212は、特定した取消対象の個別処理の処理種別に対応する取消実行ルーチンを、取消実行ルーチン記憶部28から呼び出す。そして、例外処理実行手段212は、呼び出した取消実行ルーチンにより、取消実行手段B1を起動する。   Next, the control part 21 of the transaction common system 20 performs the calling process of cancellation execution routine (step S2-3). Specifically, the exception process execution unit 212 of the control unit 21 calls a cancellation execution routine corresponding to the specified processing type of the individual process to be canceled from the cancellation execution routine storage unit 28. Then, the exception processing execution unit 212 activates the cancellation execution unit B1 by the called cancellation execution routine.

この場合、取引共通システム20の制御部21は、取引ログの取得処理を実行する(ステップS3−1)。具体的には、制御部21の取消実行手段B1は、取消対象の処理種別の個別処理を実行するサービス管理サーバ30にアクセスし、取引ログ記憶部32から、取引電文コードに関連付けられた取引ログを取得する。   In this case, the control unit 21 of the transaction common system 20 executes transaction log acquisition processing (step S3-1). Specifically, the cancellation execution unit B1 of the control unit 21 accesses the service management server 30 that executes the individual processing of the processing type to be canceled, and the transaction log associated with the transaction message code from the transaction log storage unit 32. To get.

次に、取引共通システム20の制御部21は、取消処理を実行する(ステップS3−2)。具体的には、制御部21の取消実行手段B1は、取得した取引ログに基づいて、個別処理を取り消すための取消要求電文を生成し、サービス管理サーバ30に送信する。この取消要求電文には、取消対象の個別処理を特定するための情報(取引電文コード、取引種別、取引内容等)を含める。   Next, the control part 21 of the transaction common system 20 performs cancellation processing (step S3-2). Specifically, the cancellation execution unit B1 of the control unit 21 generates a cancellation request message for canceling the individual processing based on the acquired transaction log, and transmits the cancellation request message to the service management server 30. This cancellation request message includes information (transaction message code, transaction type, transaction content, etc.) for specifying the individual processing to be canceled.

次に、取引共通システム20の制御部21は、取消結果の出力処理を実行する(ステップS3−3)。具体的には、取消要求を受信したサービス管理サーバ30は、取引電文コードに対応した個別処理の取消処理を実行する。そして、サービス管理サーバ30は、取消処理の結果を含めた取消応答電文を取引共通システム20に返信する。取引共通システム20は、サービス管理サーバ30から、取消要求電文に対する取消応答電文を受信し、例外処理実行手段212に対して取消結果を出力する。   Next, the control part 21 of the transaction common system 20 performs the output process of a cancellation result (step S3-3). Specifically, the service management server 30 that has received the cancellation request executes cancellation processing of individual processing corresponding to the transaction message code. Then, the service management server 30 returns a cancellation response message including the result of the cancellation process to the transaction common system 20. The transaction common system 20 receives a cancellation response message for the cancellation request message from the service management server 30 and outputs a cancellation result to the exception processing execution unit 212.

次に、取引共通システム20の制御部21は、取消結果の取得処理を実行する(ステップS2−4)。具体的には、制御部21の例外処理実行手段212は、取引管理レコード240において、取り消した処理種別に関連付けて、処理結果として取消フラグを記録する。   Next, the control unit 21 of the transaction common system 20 executes a cancellation result acquisition process (step S2-4). Specifically, the exception process execution unit 212 of the control unit 21 records a cancel flag as a process result in the transaction management record 240 in association with the canceled process type.

次に、取引共通システム20の制御部21は、すべてを取り消したかどうかについての判定処理を実行する(ステップS2−5)。具体的には、制御部21の例外処理実行手段212は、取引管理レコード240において、完了フラグが記録されている処理種別が残っていない場合には、すべてを取り消したと判定する。   Next, the control part 21 of the transaction common system 20 performs the determination process about whether it canceled all (step S2-5). Specifically, the exception process execution unit 212 of the control unit 21 determines that all have been canceled when there is no process type in which the completion flag is recorded in the transaction management record 240.

ここで、すべてを取り消したと判定した場合(ステップS2−5において「YES」の場合)、取引共通システム20の制御部21は、システムエラー通知処理を実行する(ステップS2−6)。具体的には、制御部21の例外処理実行手段212は、取引管理レコード240の取引結果データ領域にエラーフラグを記録し、取引端末10に対して取引応答電文を送信して取引処理を終了する。この取引応答電文には、システムエラーにより取引を完了できなかったことを示すメッセージを含める。   Here, when it is determined that all have been canceled (in the case of “YES” in step S2-5), the control unit 21 of the transaction common system 20 executes a system error notification process (step S2-6). Specifically, the exception process execution unit 212 of the control unit 21 records an error flag in the transaction result data area of the transaction management record 240, transmits a transaction response message to the transaction terminal 10, and ends the transaction process. . This transaction response message includes a message indicating that the transaction could not be completed due to a system error.

一方、完了フラグが記録されている処理種別が残っており、すべての取消を終了していないと判定した場合(ステップS2−5において「NO」の場合)、取引共通システム20の制御部21は、ステップS2−3の処理から繰り返す。   On the other hand, when it is determined that the processing type in which the completion flag is recorded remains and all the cancellations are not completed (in the case of “NO” in step S2-5), the control unit 21 of the transaction common system 20 The process from step S2-3 is repeated.

以上、本実施形態によれば、以下のような効果を得ることができる。
(1)本実施形態によれば、処理結果電文において処理結果としてエラーメッセージが含まれており、エラーが発生したと判定した場合(ステップS1−5において「YES」の場合)、取引共通システム20の制御部21は、業務エラーに基づくフロー取消処理を実行する。ここでは、取引共通システム20の制御部21は、取引フローの実行結果の呼出処理(ステップS1−7)、取消対象の個別処理の特定処理(ステップS1−8)、取消要求の送信処理(ステップS1−9)を実行する。これにより、業務エラーが発生した場合には、実行済みの個別処理を取り消して、効率的に元の状態に戻すことができる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) According to the present embodiment, when a processing result message contains an error message as a processing result and it is determined that an error has occurred (in the case of “YES” in step S1-5), the transaction common system 20 The control unit 21 executes a flow cancellation process based on a business error. Here, the control unit 21 of the transaction common system 20 calls the transaction flow execution result calling process (step S1-7), the individual process to be canceled (step S1-8), and the cancellation request transmission process (step S1-7). S1-9) is executed. Thereby, when a business error occurs, the executed individual processing can be canceled and the original state can be efficiently restored.

(2)本実施形態によれば、取引共通システム20の制御部21は、システムエラーを検出した場合にロールバック取消処理を実行する。これにより、アプリケーション(取引フロー管理手段211)によりフロー取消を実行できない場合にも、実行済みの個別処理を取り消して、効率的に元の状態に戻すことができる。   (2) According to this embodiment, the control part 21 of the transaction common system 20 performs a rollback cancellation process, when a system error is detected. Thereby, even when the flow cancellation cannot be executed by the application (transaction flow management means 211), the executed individual processing can be canceled and the original state can be efficiently restored.

(3)本実施形態によれば、ロールバック取消処理において、取引共通システム20の制御部21は、取消実行ルーチンの呼出処理を実行する(ステップS2−3)。そして、制御部21は、取消対象の処理種別の取消実行ルーチンを用いて、取引ログの取得処理(ステップS3−1)、取消処理(ステップS3−2)、取消結果の出力処理(ステップS3−3)を実行する。これにより、アプリケーションの実行環境において設けられている機能を用いて、実行済みの個別処理を取り消すことができる。   (3) According to the present embodiment, in the rollback cancellation process, the control unit 21 of the transaction common system 20 executes a calling process of a cancellation execution routine (step S2-3). And the control part 21 uses the cancellation execution routine of the process type of cancellation object, transaction log acquisition process (step S3-1), cancellation process (step S3-2), and output process (step S3- 3) is executed. Thereby, the executed individual processing can be canceled using the function provided in the execution environment of the application.

(4)本実施形態によれば、取引共通システム20の制御部21は、業務エラーに基づくフロー取消処理を実行する。また、制御部21は、システムエラーを検出した場合には、ロールバック取消処理を実行する。これにより、システムのオペレータにおいて、後続のオペレーションを行なうことなく、取引前の状態に戻すことができる。
また、取引共通システム20においては、取引管理情報記憶部24に記録されている情報に基づいて取り消すため、汎用的な一つのフロー取消手段A2を準備することにより、使い回すことができる。システム開発の効率化、メンテナンスビリティを向上させることができる。
一方、サービス管理サーバ30においては、フロー取消、ロールバック取消の違いはなく、それぞれの取消に応じたカスタマイズを行なうことなく、取消を行なうことができる。
(4) According to this embodiment, the control part 21 of the transaction common system 20 performs the flow cancellation process based on a business error. Moreover, the control part 21 performs a rollback cancellation process, when a system error is detected. As a result, the system operator can return to the state before the transaction without performing the subsequent operation.
Moreover, in the transaction common system 20, since it cancels based on the information currently recorded on the transaction management information storage part 24, it can be reused by preparing one general purpose flow cancellation means A2. System development efficiency and maintainability can be improved.
On the other hand, in the service management server 30, there is no difference between flow cancellation and rollback cancellation, and cancellation can be performed without performing customization according to each cancellation.

なお、上記実施形態は以下のように変更してもよい。
・上記実施形態では、取引共通システム20の制御部21は、取消対象の個別処理の特定処理(ステップS1−8、S2−2)を実行する。この場合、取引管理レコード240において完了フラグが記録されている処理種別を、元の取引において個別処理を実行した順番の逆順で、取消対象の個別処理を特定する。この取消順番の特定方法は、取引管理レコード240を用いる方法に限定されるものではない。例えば、取引種別を特定して、連携情報記憶部22に記録されている連携管理レコード220を用いて、取消順番を特定することも可能である。
In addition, you may change the said embodiment as follows.
In the above embodiment, the control unit 21 of the transaction common system 20 executes the individual process specific process (steps S1-8 and S2-2) to be canceled. In this case, the processing type for which the completion flag is recorded in the transaction management record 240 identifies the individual processing to be canceled in the reverse order of the order in which the individual processing was executed in the original transaction. The method for specifying the cancellation order is not limited to the method using the transaction management record 240. For example, it is also possible to specify the transaction type and specify the cancellation order using the cooperation management record 220 recorded in the cooperation information storage unit 22.

・上記実施形態では、業務エラーにおいてはフロー取消処理を実行し、システムエラーにおいてはロールバック取消処理を実行する。ここで、エラーの内容に応じて、いずれかの取消処理を実行するようにしてもよい。この場合には、制御部21に、エラーコードやエラー内容に応じて、取消方法(フロー取消又はロールバック取消)を決定するための情報を保持させておく。   In the above embodiment, the flow cancel process is executed for a business error, and the rollback cancel process is executed for a system error. Here, any cancellation processing may be executed according to the content of the error. In this case, the control unit 21 holds information for determining a cancellation method (flow cancellation or rollback cancellation) according to the error code and the error content.

・上記実施形態では、ロールバック取消において、取引共通システム20の制御部21は、取消対象の個別処理の特定処理を実行する(ステップS2−2)。ここで、処理種別に応じて、ロールバック取消の実行可否を判定するようにしてもよい。この場合には、制御部21に、ロールバック取消の実行可否を判定するためのロールバック取消条件を保持させておく。また、サービス管理サーバ30の稼動状況に応じてロールバック取消の実行可否を判定するようにしてもよい。この場合には、ロールバック取消条件に、サービス管理サーバ30の稼動状況を設定しておく。そして、ロールバック取消処理を実行する前に、サービス管理サーバ30の稼動状況情報を取得し、ロールバック取消条件に基づいて実行可否を判定する。   -In above-mentioned embodiment, in rollback cancellation, the control part 21 of the transaction common system 20 performs the specific process of the individual process of cancellation object (step S2-2). Here, whether to execute rollback cancellation may be determined according to the processing type. In this case, the control unit 21 holds a rollback cancellation condition for determining whether or not rollback cancellation can be executed. Further, whether or not rollback cancellation can be executed may be determined according to the operating status of the service management server 30. In this case, the operating status of the service management server 30 is set in the rollback cancellation condition. Then, before executing the rollback cancellation process, the operation status information of the service management server 30 is acquired, and whether or not execution is possible is determined based on the rollback cancellation condition.

・上記実施形態では、ロールバック取消において、取引共通システム20の制御部21は、取引ログの取得処理(ステップS3−1)、取消処理(ステップS3−2)を実行する。これに代えて、サービス管理サーバ30が取引ログを呼び出して、取消を行なうようにしてもよい。この場合には、取引共通システム20の制御部21は、取引管理情報記憶部24に記録されている取引管理レコード240に基づいて、実行済みの個別処理(取消対象)を特定する。そして、制御部21は、この個別処理を行なったサービス管理サーバ30に取消指示を送信する。取消指示を受信したサービス管理サーバ30は、取消対象の個別処理についての取引を取り消す。これにより、取引共通システム20とは異なるサーバにおいて実行される個別処理について、取引の取消を行なうことができる。   In the above embodiment, in rollback cancellation, the control unit 21 of the transaction common system 20 executes transaction log acquisition processing (step S3-1) and cancellation processing (step S3-2). Instead, the service management server 30 may call the transaction log and cancel it. In this case, the control unit 21 of the transaction common system 20 specifies an executed individual process (cancellation target) based on the transaction management record 240 recorded in the transaction management information storage unit 24. And the control part 21 transmits cancellation instruction | indication to the service management server 30 which performed this individual process. Receiving the cancellation instruction, the service management server 30 cancels the transaction for the individual process to be canceled. Thereby, it is possible to cancel the transaction for the individual processing executed in a server different from the transaction common system 20.

・上記実施形態では、取引共通システム20の制御部21は、フロー取消処理やロールバック取消処理を実行する。ここで、各取消処理の後で、付加的な処理を追加するようにしてもよい。例えば、付加的な処理としては、自動取消(フロー取消処理やロールバック取消処理)のログを、他の取消ログと識別できるように記録するようにしてもよい。また、特定の個別処理の取消を検知した場合のみ、付加的な処理を実行するようにしてもよい。また、例外処理実行手段212がロールバック取消を行なった場合には、付加的な処理として、取引フロー管理手段211の再立ち上げを行なうようにしてもよい。   In the above embodiment, the control unit 21 of the transaction common system 20 executes the flow cancellation process and the rollback cancellation process. Here, additional processing may be added after each cancellation processing. For example, as an additional process, a log of automatic cancellation (flow cancellation processing or rollback cancellation processing) may be recorded so that it can be distinguished from other cancellation logs. In addition, additional processing may be executed only when cancellation of specific individual processing is detected. Further, when the exception processing execution unit 212 cancels the rollback, the transaction flow management unit 211 may be restarted as an additional process.

・上記実施形態では、取引共通システム20の制御部21は、フロー取消処理やロールバック取消処理を実行する。ここで、フロー取消処理やロールバック取消処理の自動取消処理を失敗した場合に、手動取消を行なう。この場合、取引共通システム20の制御部21が、効率的に手動取消を行なえるように、手動取消の支援処理を行なうようにしてもよい。例えば、この手動取消のための情報をディスプレイに出力する。この情報には、手動取消の対象や手順等を含める。
また、取引共通システム20において、手動取消可能な処理種別を記録したテーブルを保持させておき、自動取消処理を失敗した処理種別において手動取消についての可否を示す情報を含めるようにしてもよい。
In the above embodiment, the control unit 21 of the transaction common system 20 executes the flow cancellation process and the rollback cancellation process. Here, when the automatic cancellation processing of the flow cancellation processing or rollback cancellation processing fails, manual cancellation is performed. In this case, the control unit 21 of the transaction common system 20 may perform a manual cancellation support process so that the manual cancellation can be efficiently performed. For example, information for this manual cancellation is output on the display. This information includes manual cancellation targets and procedures.
Further, in the transaction common system 20, a table in which processing types that can be manually canceled can be stored, and information indicating whether or not manual cancellation can be included in the processing types in which the automatic cancellation processing has failed may be included.

10…取引端末、20…取引共通システム、21…制御部、211…取引フロー管理手段、212…例外処理実行手段、A1…取引実行手段、A2…フロー取消手段、B1…取消実行手段、22…連携情報記憶部、24…取引管理情報記憶部、26…エラー情報記憶部、28…取消実行ルーチン記憶部、30…サービス管理サーバ。   DESCRIPTION OF SYMBOLS 10 ... Transaction terminal, 20 ... Transaction common system, 21 ... Control part, 211 ... Transaction flow management means, 212 ... Exception processing execution means, A1 ... Transaction execution means, A2 ... Flow cancellation means, B1 ... Cancel execution means, 22 ... Cooperation information storage unit, 24 ... transaction management information storage unit, 26 ... error information storage unit, 28 ... cancellation execution routine storage unit, 30 ... service management server.

Claims (4)

取引端末と、取引のための個別処理を実行する実行装置とに接続された制御部と、
取引のために連携して行なう複数の個別処理に関する情報を記憶した連携情報記憶部と、
前記取引端末から受信した取引電文に対応して実行した個別処理の完了情報を記録した実行情報記憶部と
前記連携情報記憶部に記録された連携処理を実行する連携アプリケーションを実行するアプリケーション実行手段の実行状況を監視する管理部とを備えた取引管理システムであって、
前記制御部が、
前記取引端末から受信した取引電文に対応する連携アプリケーションにより、個別処理を実行するアプリケーション実行手段を起動し、
前記アプリケーション実行手段が、前記連携アプリケーションにより前記連携情報記憶部において特定される個別処理について、前記実行装置に対して、順次、前記個別処理の処理依頼を送信し、前記個別処理を完了した場合、前記個別処理についての完了情報を前記実行情報記憶部に記録し、
前記アプリケーション実行手段が、複数の個別処理を組み合わせた連携処理の一部の個別処理においてエラーを検知した場合、前記連携アプリケーションにより、前記実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、前記実行済み個別処理を連携処理において取り消す取消要求電文を、順次、生成して、前記実行装置に送信するフロー取消処理を実行し、
前記管理部が、前記アプリケーション実行手段によって実行されている前記連携アプリケーションにおいてシステムエラーを検知した場合には、前記実行情報記憶部から個別処理の完了情報を取得し、
前記完了情報に基づいて、前記実行済み個別処理を取り消すための取消実行手段を起動し、
前記取消実行手段を用いて、前記実行済み個別処理のロールバック取消処理を実行する
ことを特徴とする取引管理システム。
A control unit connected to a transaction terminal and an execution device that executes individual processing for transaction;
A cooperative information storage unit storing information on a plurality of individual processes performed in cooperation for transactions;
An execution information storage unit that records completion information of individual processing executed in response to the transaction message received from the transaction terminal ;
A transaction management system comprising a management unit that monitors an execution status of an application execution unit that executes a linked application that executes a linked process recorded in the linked information storage unit ;
The control unit is
With the cooperation application corresponding to the transaction message received from the transaction terminal, start the application execution means for executing the individual processing,
When the application execution unit transmits the processing request for the individual processing sequentially to the execution device for the individual processing specified in the cooperation information storage unit by the cooperation application, and completes the individual processing, Recording completion information about the individual processing in the execution information storage unit,
When the application execution unit detects an error in some of the individual processes of the cooperation process that combines a plurality of individual processes , the cooperation application performs an executed individual process in which completion information is recorded in the execution information storage unit. Identify, execute a flow cancellation process that sequentially generates a cancellation request message for canceling the executed individual process in the cooperation process, and transmits it to the execution device ;
When the management unit detects a system error in the cooperative application being executed by the application execution unit, the completion information of the individual processing is acquired from the execution information storage unit,
Based on the completion information, start cancel execution means for canceling the executed individual processing,
The transaction management system, wherein the cancel execution unit is used to execute a rollback cancellation process of the executed individual process .
前記実行済み個別処理の取消処理を実行する場合には、前記実行済み個別処理の実行順番の逆順に前記各個別処理の取消処理を実行することを特徴とする請求項1に記載の取引管理システム。   2. The transaction management system according to claim 1, wherein when executing the cancellation processing of the executed individual processing, the cancellation processing of each individual processing is executed in the reverse order of the execution order of the executed individual processing. . 取引端末と、取引のための個別処理を実行する実行装置とに接続された制御部と、
取引のために連携して行なう複数の個別処理に関する情報を記憶した連携情報記憶部と、
前記取引端末から受信した取引電文に対応して実行した個別処理の完了情報を記録した実行情報記憶部と
前記連携情報記憶部に記録された連携処理を実行する連携アプリケーションを実行するアプリケーション実行手段の実行状況を監視する管理部とを備えた取引管理システムを用いて、取引を管理するための方法であって、
前記制御部が、
前記取引端末から受信した取引電文に対応する連携アプリケーションにより、個別処理を実行するアプリケーション実行手段を起動し、
前記アプリケーション実行手段が、前記連携アプリケーションにより前記連携情報記憶部において特定される個別処理について、前記実行装置に対して、順次、前記個別処理の処理依頼を送信し、前記個別処理を完了した場合、前記個別処理についての完了情報を前記実行情報記憶部に記録し、
前記アプリケーション実行手段が、複数の個別処理を組み合わせた連携処理の一部の個別処理においてエラーを検知した場合、前記連携アプリケーションにより、前記実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、前記実行済み個別処理を連携処理において取り消す取消要求電文を、順次、生成して、前記実行装置に送信するフロー取消処理を実行し、
前記管理部が、前記アプリケーション実行手段によって実行されている前記連携アプリケーションにおいてシステムエラーを検知した場合には、前記実行情報記憶部から個別処理の完了情報を取得し、
前記完了情報に基づいて、前記実行済み個別処理を取り消すための取消実行手段を起動し、
前記取消実行手段を用いて、前記実行済み個別処理のロールバック取消処理を実行することを特徴とする取引管理方法。
A control unit connected to a transaction terminal and an execution device that executes individual processing for transaction;
A cooperative information storage unit storing information on a plurality of individual processes performed in cooperation for transactions;
An execution information storage unit that records completion information of individual processing executed in response to the transaction message received from the transaction terminal ;
A method for managing a transaction using a transaction management system including a management unit that monitors an execution status of an application execution unit that executes a linked application that executes a linked application recorded in the linked information storage unit. And
The control unit is
With the cooperation application corresponding to the transaction message received from the transaction terminal, start the application execution means for executing the individual processing,
When the application execution unit transmits the processing request for the individual processing sequentially to the execution device for the individual processing specified in the cooperation information storage unit by the cooperation application, and completes the individual processing, Recording completion information about the individual processing in the execution information storage unit,
When the application execution unit detects an error in some of the individual processes of the cooperation process that combines a plurality of individual processes , the cooperation application performs an executed individual process in which completion information is recorded in the execution information storage unit. Identify, execute a flow cancellation process that sequentially generates a cancellation request message for canceling the executed individual process in the cooperation process, and transmits it to the execution device ;
When the management unit detects a system error in the cooperative application being executed by the application execution unit, the completion information of the individual processing is acquired from the execution information storage unit,
Based on the completion information, start cancel execution means for canceling the executed individual processing,
A transaction management method , wherein rollback cancellation processing of the executed individual processing is executed using the cancellation execution means .
取引端末と、取引のための個別処理を実行する実行装置とに接続された制御部と、
取引のために連携して行なう複数の個別処理に関する情報を記憶した連携情報記憶部と、
前記取引端末から受信した取引電文に対応して実行した個別処理の完了情報を記録した実行情報記憶部と
前記連携情報記憶部に記録された連携処理を実行する連携アプリケーションを実行するアプリケーション実行手段の実行状況を監視する管理部とを備えた取引管理システムを用いて、取引を管理するためのプログラムであって、
前記制御部を、
前記取引端末から受信した取引電文に対応する連携アプリケーションにより、個別処理を実行するアプリケーション実行手段を起動し、
前記アプリケーション実行手段が、前記連携アプリケーションにより前記連携情報記憶部において特定される個別処理について、前記実行装置に対して、順次、前記個別処理の処理依頼を送信し、前記個別処理を完了した場合、前記個別処理についての完了情報を前記実行情報記憶部に記録し、
前記アプリケーション実行手段が、複数の個別処理を組み合わせた連携処理の一部の個
別処理においてエラーを検知した場合、前記連携アプリケーションにより、前記実行情報記憶部において完了情報が記録された実行済み個別処理を特定し、前記実行済み個別処理を連携処理において取り消す取消要求電文を、順次、生成して、前記実行装置に送信するフロー取消処理を実行し、
前記管理部が、前記アプリケーション実行手段によって実行されている前記連携アプリケーションにおいてシステムエラーを検知した場合には、前記実行情報記憶部から個別処理の完了情報を取得し、
前記完了情報に基づいて、前記実行済み個別処理を取り消すための取消実行手段を起動し、
前記取消実行手段を用いて、前記実行済み個別処理のロールバック取消処理を実行する手段として機能させることを特徴とする取引管理プログラム。
A control unit connected to a transaction terminal and an execution device that executes individual processing for transaction;
A cooperative information storage unit storing information on a plurality of individual processes performed in cooperation for transactions;
An execution information storage unit that records completion information of individual processing executed in response to the transaction message received from the transaction terminal ;
A program for managing transactions using a transaction management system including a management unit that monitors an execution status of an application execution unit that executes a linked application that executes a linked application recorded in the linked information storage unit. And
The control unit
With the cooperation application corresponding to the transaction message received from the transaction terminal, start the application execution means for executing the individual processing,
When the application execution unit transmits the processing request for the individual processing sequentially to the execution device for the individual processing specified in the cooperation information storage unit by the cooperation application, and completes the individual processing, Recording completion information about the individual processing in the execution information storage unit,
When the application execution unit detects an error in some of the individual processes of the cooperation process that combines a plurality of individual processes , the cooperation application performs an executed individual process in which completion information is recorded in the execution information storage unit. Identify, execute a flow cancellation process that sequentially generates a cancellation request message for canceling the executed individual process in the cooperation process, and transmits it to the execution device ;
When the management unit detects a system error in the cooperative application being executed by the application execution unit, the completion information of the individual processing is acquired from the execution information storage unit,
Based on the completion information, start cancel execution means for canceling the executed individual processing,
A transaction management program that functions as means for executing rollback cancellation processing of the executed individual processing using the cancellation execution means .
JP2012121682A 2012-05-29 2012-05-29 Transaction management system, transaction management method, and transaction management program Active JP5978008B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012121682A JP5978008B2 (en) 2012-05-29 2012-05-29 Transaction management system, transaction management method, and transaction management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012121682A JP5978008B2 (en) 2012-05-29 2012-05-29 Transaction management system, transaction management method, and transaction management program

Publications (2)

Publication Number Publication Date
JP2013246754A JP2013246754A (en) 2013-12-09
JP5978008B2 true JP5978008B2 (en) 2016-08-24

Family

ID=49846435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012121682A Active JP5978008B2 (en) 2012-05-29 2012-05-29 Transaction management system, transaction management method, and transaction management program

Country Status (1)

Country Link
JP (1) JP5978008B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019024583A1 (en) * 2017-07-31 2019-02-07 平安科技(深圳)有限公司 Transaction rollback method and apparatus, computer device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11422856B2 (en) * 2019-06-28 2022-08-23 Paypal, Inc. Adaptive program task scheduling to blocking and non-blocking queues

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4094752B2 (en) * 1998-11-27 2008-06-04 株式会社日立製作所 Transaction processing method, apparatus for executing the same, and medium storing the processing program
JP3766772B2 (en) * 1999-11-26 2006-04-19 富士通株式会社 Information processing apparatus, exception recovery processing method, and recording medium
US7277897B2 (en) * 2003-08-01 2007-10-02 Oracle International Corporation Dynamic reassignment of data ownership

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019024583A1 (en) * 2017-07-31 2019-02-07 平安科技(深圳)有限公司 Transaction rollback method and apparatus, computer device and storage medium

Also Published As

Publication number Publication date
JP2013246754A (en) 2013-12-09

Similar Documents

Publication Publication Date Title
US11017333B2 (en) Web-based support subscriptions
US11315084B2 (en) Method and system for aggregating diagnostic analyzer related information
US20100192020A1 (en) Method and system for remote monitoring subscription service
CN111078140B (en) Nuclear power station file uploading management method and device, terminal equipment and medium
US10467576B2 (en) Distributed software process tracking
WO2011088415A2 (en) Systems and methods for redundancy using snapshots and check pointing in contact handling systems
US8046638B2 (en) Testing of distributed systems
US20080208931A1 (en) Method and system for continuous availability subscription service
US10360095B2 (en) Methods and apparatuses for improving failure recovery in a distributed system
CN111026367A (en) Micro-service arranging method and device, terminal equipment and storage medium
CN114637448B (en) Data processing method, device, electronic equipment and storage medium
CN114879939A (en) Method, system, electronic device and storage medium for generating micro service
JP2006209194A (en) Repair reception system
JP5978008B2 (en) Transaction management system, transaction management method, and transaction management program
US11678194B2 (en) Information providing method for providing information regarding terminal activation and electronic device performing the same
CN106201805B (en) Method and device for detecting server failure
CN113703942A (en) Script execution method and device and computer equipment
JP5537599B2 (en) Version upgrade management method in business system
CN111858232A (en) Information interaction system and method based on DevOps platform
JP6224194B1 (en) Test process management system, test process management method, and test process management program
EP2613256A2 (en) Retail peripherals management system
CN108255629B (en) Breakpoint data obtaining method and terminal equipment
CN111045935A (en) Automatic version auditing method, device, equipment and storage medium
JP2015045901A (en) Business processing system, method for generating process pertaining business, and program
JP5596663B2 (en) Incident management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160725

R150 Certificate of patent or registration of utility model

Ref document number: 5978008

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250