JP2012138015A - Time-out monitoring system and time-out monitoring program - Google Patents

Time-out monitoring system and time-out monitoring program Download PDF

Info

Publication number
JP2012138015A
JP2012138015A JP2010291146A JP2010291146A JP2012138015A JP 2012138015 A JP2012138015 A JP 2012138015A JP 2010291146 A JP2010291146 A JP 2010291146A JP 2010291146 A JP2010291146 A JP 2010291146A JP 2012138015 A JP2012138015 A JP 2012138015A
Authority
JP
Japan
Prior art keywords
timer
timer value
timeout
unit
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010291146A
Other languages
Japanese (ja)
Other versions
JP5364932B2 (en
Inventor
Tomoyuki Masuda
智之 益田
Kenji Hayashi
健二 林
Masakazu Yoshida
雅一 吉田
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 JP2010291146A priority Critical patent/JP5364932B2/en
Publication of JP2012138015A publication Critical patent/JP2012138015A/en
Application granted granted Critical
Publication of JP5364932B2 publication Critical patent/JP5364932B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a time-out monitoring system and a time-out monitoring program for early detection of time-out at the time of request processing execution with plural processes working together.SOLUTION: A timer monitoring unit 10 of a process device A specifies a transaction request and specifies a timer value according to the transaction request. The process device A transmits a telegraphic message including the timer value to each succeeding process device B to D, and the timer monitoring unit 10 executes event monitoring processing. The timer monitoring unit 10 determines whether a process is normally complete or time-out occurs, and when determining that time-out occurs, executes time-out notification processing. Timer monitoring units 20 to 40 of the process devices B to D each obtain a timer value from a preceding process. The timer monitoring units 20 to 40 each calculate a new timer value obtained by subtracting a subtraction value from the timer value and execute telegraphic message transmission processing including the timer value.

Description

本発明は、プロセスの進捗を管理して、各プロセスのタイムアウトを検知するためのタイムアウト監視システム及びタイムアウト監視プログラムに関する。   The present invention relates to a timeout monitoring system and a timeout monitoring program for managing the progress of a process and detecting a timeout of each process.

コンピュータシステムにおいて、複数のプロセスを連携させて、一つの業務処理を行なうことがある(例えば、特許文献1参照。)。この文献に記載された技術では、クライアント端末からのデータをホストシステムに転送する。この場合、複数の通信中継装置や、業務管理サーバから構成されたシステムが用いられる。このようなシステム環境下において、特定の依頼処理に時間を要している場合や、障害発生により処理を進めることができない場合には、他の依頼を処理するためのリソースを確保することができない。そこで、各依頼処理を完結するための制限時間が設けられていることが多い。この制限時間を途過する場合には、タイムアウトとして判定して、リソースを解放し、並行して行なわれる他の依頼処理に用いられるリソース量を確保する。   In a computer system, a plurality of processes may be linked to perform one business process (see, for example, Patent Document 1). In the technique described in this document, data from a client terminal is transferred to a host system. In this case, a system composed of a plurality of communication relay devices and a business management server is used. In such a system environment, if a specific request process takes time, or if the process cannot proceed due to a failure, it is not possible to secure resources for processing other requests. . Therefore, there is often a time limit for completing each request process. When this time limit is exceeded, it is determined as a timeout, resources are released, and the amount of resources used for other request processing performed in parallel is secured.

このため、多数の処理依頼が滞留した場合にも障害回復を速やかに行なうために、処理打ち切り時限の設定方法も検討されている(例えば、特許文献2参照。)。この文献に記載された技術においては、コール元からのRPC発行時に応答監視タイムアウト時刻をコール先への処理依頼データに付加しておく。そして、応答監視タイムアウト時刻を各サーバ間で引き継ぐ。途中以降のサーバでは、更に他のサーバに処理を依頼するとき、コール元タイムアウト時刻と現在時刻の差分を応答監視時間として設定する。また、コール元タイムアウト時刻を過ぎた場合や応答監視時間を過ぎてもコール先からの応答がなかった場合には処理を打ち切る。   For this reason, in order to quickly recover from a failure even when a large number of processing requests stay, a method for setting a processing termination time limit has been studied (for example, see Patent Document 2). In the technique described in this document, the response monitoring timeout time is added to the processing request data to the call destination when RPC is issued from the call source. Then, the response monitoring timeout time is taken over between the servers. In the middle and subsequent servers, when further processing is requested to another server, the difference between the caller timeout time and the current time is set as the response monitoring time. Also, if the call source timeout time has passed or if there is no response from the call destination even after the response monitoring time has passed, the processing is terminated.

特開2009−237789号公報(第1頁、図2)JP 2009-237789 A (first page, FIG. 2) 特開2000−40020号公報(第1頁、図5)JP 2000-40020 (first page, FIG. 5)

このような処理については、できるだけ早期にタイムアウトを検知できることが望ましい。一方、一つの取引処理のために複数のプロセスを連携させて処理する場合もある。この場合には、各プロセスの処理に要する時間を考慮しておく必要がある。従って、特許文献2のように、応答監視タイムアウト時刻に対する残り時間のみを監視したのでは、この応答監視タイムアウト時刻に至るまでタイムアウトを検知することができず、迅速に対応することができない。   For such processing, it is desirable that a timeout can be detected as early as possible. On the other hand, there is a case where a plurality of processes are linked and processed for one transaction processing. In this case, it is necessary to consider the time required for processing each process. Therefore, as in Patent Document 2, if only the remaining time with respect to the response monitoring timeout time is monitored, the timeout cannot be detected until this response monitoring timeout time is reached, and it is not possible to respond quickly.

更に、各依頼を処理するために必要なプロセス(連携処理)は、依頼内容によって異なる。そこで、それぞれのプロセスに応じて、個別に制限時間を設けた場合には、各プロセスにおいて設定された制限時間の合計時間が、最初の処理装置において設定した制限時間よりも長くなるという不整合が生じる場合もある。特に、連携数が多い場合には、合計時間が長くなり、早期対応という目的を果たすことができず、更に初期設定の制限時間との間で不整合が生じやすい。   Furthermore, a process (cooperation process) necessary for processing each request differs depending on the content of the request. Therefore, there is a mismatch that the total time of the time limit set in each process becomes longer than the time limit set in the first processing device when the time limit is individually set according to each process. It may occur. In particular, when the number of linkages is large, the total time becomes long, the purpose of early response cannot be achieved, and inconsistency is likely to occur with the default time limit.

また、連携処理においては、処理毎の所要時間を想定した予測時間を考慮してタイムアウト時刻を設定する。連携数が多い場合、連携途中において実際の所要時間と予測時間と
の間にずれも大きくなる可能性が高い。従って、連携処理途中において、より正確な残り時間を算出できることが望ましい。
In the cooperation process, a timeout time is set in consideration of a predicted time assuming a required time for each process. When the number of linkages is large, there is a high possibility that the gap between the actual required time and the predicted time will increase during the linkage. Therefore, it is desirable that a more accurate remaining time can be calculated during the cooperation process.

また、取引(サービス)についての依頼を処理する場合、店舗販売やネット販売等の多様なチャネルを利用することがある。このように、チャネルが異なる場合であっても、共通した取引については、同じ時間でタイムアウトを管理することが望ましい。   When processing a request for a transaction (service), various channels such as store sales and online sales may be used. Thus, it is desirable to manage timeouts at the same time for common transactions even when the channels are different.

本発明は、上述した問題に鑑みてなされたものであり、その目的は、複数のプロセスを連携して依頼処理を実行する場合に、タイムアウトを早期に検知するためのタイムアウト監視システム及びタイムアウト監視プログラムを提供することにある。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a timeout monitoring system and a timeout monitoring program for early detection of timeout when request processing is executed in cooperation with a plurality of processes. Is to provide.

上記問題点を解決するために、請求項1に記載の発明は、先行プロセスから受信した第1電文に応じて、後続プロセスに処理を依頼するための第2電文を送信する引継処理を実行するとともに、前記後続プロセスからの戻り電文を受信するプロセス実行部と、タイマ値の経過を通知するタイマとに接続され、前記プロセス実行部とタイマとからイベント情報を取得するタイマ監視部とを備えたタイムアウト監視システムであって、前記タイマ監視部が、前記プロセス実行部において受信した第1電文から第1タイマ値を取得し、前記第1タイマ値から、引継処理に必要な想定時間を減算した第2タイマ値を算出し、前記プロセス実行部において後続プロセスに引き継ぐ第2電文に、前記第2タイマ値を設定するタイマ値設定手段と、前記タイマにおける前記第2タイマ値の経過と、前記プロセス実行部における前記後続プロセスからの戻り電文とを待機する監視手段と、前記戻り電文を受信する前に、前記第2タイマ値のタイムアウトを検知した場合には、タイムアウト報告を出力し、前記第2タイマ値のタイムアウト前に、前記戻り電文を受信した場合には、前記プロセス実行部において前記戻り電文に基づく処理を許容するタイムアウト報告手段とを備えたことを要旨とする。   In order to solve the above problem, the invention according to claim 1 executes a takeover process of transmitting a second message for requesting the subsequent process to be processed in accordance with the first message received from the preceding process. And a process execution unit that receives a return message from the subsequent process, and a timer monitoring unit that is connected to a timer that notifies the elapse of a timer value and acquires event information from the process execution unit and the timer. In the timeout monitoring system, the timer monitoring unit obtains a first timer value from the first message received by the process execution unit, and subtracts an assumed time necessary for the takeover process from the first timer value. 2 timer value setting means for calculating the timer value and setting the second timer value in a second message to be taken over by the process execution unit to the succeeding process; Monitoring means for waiting for the elapse of the second timer value and the return message from the subsequent process in the process execution unit, and detecting the timeout of the second timer value before receiving the return message Includes a time-out report unit that outputs a time-out report and allows the process execution unit to perform processing based on the return message when the return message is received before the second timer value times out. This is the gist.

請求項2に記載の発明は、請求項1に記載のタイムアウト監視システムにおいて、前記タイマ監視部は、引継処理に必要な想定時間として、既定値を予め保持していることを要旨とする。   The invention according to claim 2 is summarized in that, in the timeout monitoring system according to claim 1, the timer monitoring unit holds a predetermined value in advance as an estimated time required for the takeover process.

請求項3に記載の発明は、請求項1又は2に記載のタイムアウト監視システムにおいて、前記タイマ監視部は、前記プロセス実行部において受信した戻り電文に基づいて、後続する連携プロセスの要否を判断し、新たな連携プロセスを行なう場合には、前記第1タイマ値から、前記戻り電文を受信するまでの経過時間を差し引いた残り時間を第2タイマ値として算出し、プロセス実行部において、新たな連携プロセスに引き継ぐ第2電文に前記第2タイマ値を設定することを要旨とする。   According to a third aspect of the present invention, in the time-out monitoring system according to the first or second aspect, the timer monitoring unit determines whether or not a subsequent linked process is necessary based on a return message received by the process execution unit. When a new linkage process is performed, a remaining time obtained by subtracting an elapsed time until the return message is received from the first timer value is calculated as a second timer value. The gist is to set the second timer value in the second message taken over by the linkage process.

請求項4に記載の発明は、請求項3に記載のタイムアウト監視システムにおいて、前記タイマ監視部は、後続する連携プロセスが残っている場合には、後続する連携プロセスを行なうための残り時間と基準値とを比較し、前記残り時間が基準値以下の場合には、タイムアウト報告を出力することを要旨とする。   According to a fourth aspect of the present invention, in the time-out monitoring system according to the third aspect, the timer monitoring unit, when there is a subsequent cooperative process, a remaining time and a reference for performing the subsequent cooperative process When the remaining time is equal to or less than a reference value, a time-out report is output.

請求項5に記載の発明は、請求項1〜4のいずれか一つに記載のタイムアウト監視システムにおいて、前記タイマ監視部は、最初に取引要求を受け付けた場合に、取引要求の内容に基づいて、タイマ値の初期値を設定することを要旨とする。   According to a fifth aspect of the present invention, in the timeout monitoring system according to any one of the first to fourth aspects, when the timer monitoring unit first receives a transaction request, the timer monitoring unit is based on the content of the transaction request. The gist is to set the initial value of the timer value.

請求項6に記載の発明は、先行プロセスから受信した第1電文に応じて、後続プロセスに処理を依頼するための第2電文を送信する引継処理を実行するとともに、前記後続プロセスからの戻り電文を受信するプロセス実行部と、タイマ値の経過を通知するタイマとに
接続され、前記プロセス実行部とタイマとからイベント情報を取得するタイマ監視部とを備えたタイムアウト監視システムを用いて、タイムアウトを監視するためのプログラムであって、前記タイマ監視部を、前記プロセス実行部において受信した第1電文から第1タイマ値を取得し、前記第1タイマ値から、引継処理に必要な想定時間を減算した第2タイマ値を算出し、前記プロセス実行部において後続プロセスに引き継ぐ第2電文に、前記第2タイマ値を設定するタイマ値設定手段、前記タイマにおける前記第2タイマ値の経過と、前記プロセス実行部における前記後続プロセスからの戻り電文とを待機する監視手段、前記戻り電文を受信する前に、前記第2タイマ値のタイムアウトを検知した場合には、タイムアウト報告を出力し、前記第2タイマ値のタイムアウト前に、前記戻り電文を受信した場合には、前記プロセス実行部において前記戻り電文に基づく処理を許容するタイムアウト報告手段として機能させることを要旨とする。
According to a sixth aspect of the present invention, in response to the first message received from the preceding process, the handover process for transmitting the second message for requesting the subsequent process is executed, and the return message from the subsequent process is executed. Using a time-out monitoring system that is connected to a process execution unit that receives the timer value and a timer that notifies the elapse of the timer value and includes event monitoring information from the process execution unit and the timer. A program for monitoring, wherein the timer monitoring unit acquires a first timer value from a first message received by the process execution unit, and subtracts an estimated time required for the takeover process from the first timer value A timer value for setting the second timer value in a second message that is calculated by the process execution unit and is taken over by the subsequent process in the process execution unit Monitoring means for waiting for the elapse of the second timer value in the timer and the return message from the succeeding process in the process execution unit; timeout of the second timer value before receiving the return message A time-out report that outputs a time-out report when the second timer value is timed out, and that accepts processing based on the return message in the process execution unit when the return message is received before the time-out of the second timer value. It is made to function as.

(作用)
請求項1又は6に記載の発明によれば、タイマ監視部が、プロセス実行部において受信した第1電文から第1タイマ値を取得し、第1タイマ値から、引継処理に必要な想定時間を減算した第2タイマ値を算出し、プロセス実行部において後続プロセスに引き継ぐ第2電文に、第2タイマ値を設定する。そして、タイマにおける前記第2タイマ値の経過と、プロセス実行部における後続プロセスからの戻り電文とを待機する。戻り電文を受信する前に、第2タイマ値のタイムアウトを検知した場合には、タイムアウト報告を出力する。一方、第2タイマ値のタイムアウト前に、戻り電文を受信した場合には、プロセス実行部において戻り電文に基づく処理を許容する。これにより、引継処理に必要な想定時間を考慮して、後続のプロセスにおいてタイムアウトを検知するためのタイマ値を引き継ぐことができる。従って、複数のプロセスを連携する場合においても、迅速にタイムアウトを検知することができる。
(Function)
According to the first or sixth aspect of the invention, the timer monitoring unit acquires the first timer value from the first message received by the process execution unit, and calculates the estimated time required for the takeover process from the first timer value. The subtracted second timer value is calculated, and the second timer value is set in the second telegram to be taken over by the subsequent process in the process execution unit. And it waits for progress of the said 2nd timer value in a timer, and the return message from the subsequent process in a process execution part. If a timeout of the second timer value is detected before receiving a return message, a timeout report is output. On the other hand, if a return message is received before the second timer value times out, the process execution unit allows processing based on the return message. Accordingly, it is possible to take over a timer value for detecting a timeout in a subsequent process in consideration of an assumed time required for the takeover process. Therefore, even when a plurality of processes are linked, a timeout can be detected quickly.

請求項2に記載の発明によれば、タイマ監視部は、引継処理に必要な想定時間として、既定値を予め保持していることにより、後続のプロセスに用いるタイマ値を設定することができる。   According to the second aspect of the present invention, the timer monitoring unit can set a timer value used in the subsequent process by holding a predetermined value in advance as the estimated time required for the takeover process.

請求項3に記載の発明によれば、タイマ監視部は、プロセス実行部において受信した戻り電文に基づいて、後続する連携プロセスの要否を判断する。そして、新たな連携プロセスを行なう場合には、第1タイマ値から、戻り電文を受信するまでの経過時間を差し引いた残り時間を第2タイマ値として算出し、プロセス実行部において、新たな連携プロセスに引き継ぐ第2電文に第2タイマ値を設定する。これにより、後続の連携プロセスの要否に応じて、タイマ値を設定することにより、タイムアウトを迅速に検知することができる。   According to the third aspect of the present invention, the timer monitoring unit determines whether or not a subsequent cooperative process is necessary based on the return message received by the process execution unit. When a new linkage process is performed, the remaining time obtained by subtracting the elapsed time until the return message is received from the first timer value is calculated as the second timer value, and the process execution unit executes the new linkage process. The second timer value is set in the second message to be taken over. Thereby, the timeout can be detected quickly by setting the timer value according to the necessity of the subsequent cooperation process.

請求項4に記載の発明によれば、タイマ監視部は、後続する連携プロセスが残っている場合には、後続する連携プロセスを行なうための残り時間と基準値とを比較する。そして、残り時間が基準値以下の場合には、タイムアウト報告を出力する。これにより、タイムアウトまでの残り時間に対して、残っている連携プロセスの数が多い場合には、タイムアウトを予測して迅速に対応することができる。   According to the fourth aspect of the present invention, when the subsequent cooperative process remains, the timer monitoring unit compares the remaining time for performing the subsequent cooperative process with the reference value. If the remaining time is less than the reference value, a timeout report is output. Thereby, when there are many remaining cooperation processes with respect to the remaining time until timeout, timeout can be estimated and it can respond quickly.

請求項5に記載の発明によれば、タイマ監視部は、最初に取引要求を受け付けた場合に、取引要求の内容に基づいて、タイマ値の初期値を設定する。これにより、取引内容に応じて適切なタイマ値の初期値を設定することができる。   According to the fifth aspect of the present invention, the timer monitoring unit sets the initial value of the timer value based on the content of the transaction request when the transaction request is first received. Thereby, an appropriate initial value of the timer value can be set according to the transaction content.

本発明によれば、複数のプロセスを連携して依頼処理を実行する場合に、タイムアウトを早期に検知するためのタイムアウト監視システム及びタイムアウト監視プログラムを提
供することができる。
According to the present invention, it is possible to provide a timeout monitoring system and a timeout monitoring program for detecting a timeout at an early stage when request processing is executed in cooperation with a plurality of processes.

本発明の実施形態のシステム概略図。The system schematic of embodiment of this invention. 本発明の実施形態のタイマ監視部の機能ブロックの説明図。Explanatory drawing of the functional block of the timer monitoring part of embodiment of this invention. 本実施形態の処理手順の説明図であって、(a)はプロセス装置Aにおける処理手順、(b)はプロセス装置(B、D)における処理手順の説明図。It is explanatory drawing of the processing procedure of this embodiment, Comprising: (a) is a processing procedure in the process apparatus A, (b) is explanatory drawing of the processing procedure in the process apparatus (B, D). 本実施形態のプロセス装置Cにおける処理手順の説明図。Explanatory drawing of the process sequence in the process apparatus C of this embodiment. 本実施形態の連携処理の説明図であって、(a)はプロセス装置間で送受信される電文の説明図、(b)は各プロセス装置におけるタイマ値の説明図。It is explanatory drawing of the cooperation process of this embodiment, Comprising: (a) is explanatory drawing of the message | telegram transmitted / received between process apparatuses, (b) is explanatory drawing of the timer value in each process apparatus. 他の実施形態の処理手順の説明図。Explanatory drawing of the process sequence of other embodiment. 他の実施形態の処理手順の説明図。Explanatory drawing of the process sequence of other embodiment.

以下、本発明を具体化した一実施形態を図1〜図5に基づいて説明する。本実施形態では、取引要求について、図1に示すように、プロセス装置A〜Eにおいて、複数のプロセスからなる処理を行なう場合を想定する。プロセス装置A〜Eには、プロセス実行部A1〜E1を備えている。ここで、プロセス実行部A1〜D1は、受信した電文(第1電文)に基づいて、後続プロセスを実行するプロセス装置に処理を依頼する電文(第2電文)を送信する。そして、プロセス実行部B1〜E1は、先行するプロセス実行部A1〜D1に対して戻り電文を返信する。   Hereinafter, an embodiment embodying the present invention will be described with reference to FIGS. In the present embodiment, it is assumed that a transaction request is processed by a plurality of processes in the process devices A to E as shown in FIG. The process devices A to E include process execution units A1 to E1. Here, based on the received message (first message), the process execution units A1 to D1 transmit a message (second message) requesting processing to the process device that executes the subsequent process. Then, the process execution units B1 to E1 return a return message to the preceding process execution units A1 to D1.

プロセス装置Aは、担当者や顧客において入力された取引要求電文を特定するコンピュータプロセス装置である。このプロセス装置Aのプロセス実行部A1は、銀行の各拠点に設置されている現金自動預払機(ATM)や店頭に設置されたフロント端末等から取引要求電文を取得する。そして、プロセス実行部A1は、取引要求電文に対して取引種別識別子を付与するとともに、取引種別識別子に関連づけて取引要求電文に含まれる顧客識別子や取引内容を取引情報記憶部(図示せず)に記録する。そして、プロセス実行部A1は、この取引要求電文をプロセス装置Bに転送する。また、プロセス実行部A1は、取引要求電文に対応する取引応答電文をプロセス装置Bから受信した場合には、取引要求電文を送信した端末に出力する。   The process device A is a computer process device that identifies a transaction request message input by a person in charge or a customer. The process execution unit A1 of the process device A acquires a transaction request message from an automatic teller machine (ATM) installed at each base of the bank, a front terminal installed at a store, or the like. Then, the process execution unit A1 assigns a transaction type identifier to the transaction request message, and associates the customer identifier and transaction content included in the transaction request message with the transaction type identifier in a transaction information storage unit (not shown). Record. Then, the process execution unit A1 transfers this transaction request message to the process device B. Further, when receiving a transaction response message corresponding to the transaction request message from the process device B, the process execution unit A1 outputs the transaction request message to the terminal that transmitted the transaction request message.

プロセス装置Bは、プロセス装置Aとプロセス装置Cとの間で電文を中継するコンピュータ装置(ハブ装置)である。このプロセス装置Bのプロセス実行部B1は、プロセス装置Aから受信した取引要求電文をプロセス装置Cに転送する。また、プロセス実行部B1は、プロセス装置Cから受信した取引応答電文をプロセス装置Aに転送する。   The process device B is a computer device (hub device) that relays a message between the process device A and the process device C. The process execution unit B1 of the process device B transfers the transaction request message received from the process device A to the process device C. In addition, the process execution unit B1 transfers the transaction response message received from the process device C to the process device A.

プロセス装置Cは、取引要求電文の内容に基づいて必要な連携プロセス(連携処理)を特定し、このプロセスを実行する業務コンポーネントに処理依頼電文を送信するコンピュータ装置である。このプロセス装置Cのプロセス実行部C1は、送信先テーブルを保持している。そして、この送信先テーブルを用いて、受信した取引要求電文の内容に応じて、業務ロジックに基づいて送信先の業務コンポーネントや処理依頼内容を決定する。プロセス実行部C1は、プロセス装置Dを経由して、業務コンポーネントを備えたプロセス装置Eに処理依頼電文を送信し、プロセス装置Eからの処理結果電文を受信する。   The process device C is a computer device that identifies a necessary cooperation process (cooperation processing) based on the contents of a transaction request message and transmits a processing request message to a business component that executes this process. The process execution unit C1 of the process apparatus C holds a transmission destination table. Then, using this transmission destination table, the business component of the transmission destination and the content of the processing request are determined based on the business logic in accordance with the content of the received transaction request message. The process execution unit C1 transmits a processing request message to the process device E including the business component via the process device D, and receives a processing result message from the process device E.

また、プロセス実行部C1は、取引要求電文の内容に応じて後続の連携プロセス(連携処理)が必要な場合には、新たに処理依頼電文を生成し、業務コンポーネントに処理依頼電文を送信する。ここで、連携処理とは、複数の個別取引(例えば、残高チェック、口座存在チェック、入金処理等)を連続して一連の取引として扱う処理である。そして、取引要求電文に対応するすべての連携処理を終了した場合には、取引要求電文に対応する取引
応答電文を、プロセス装置Bを介してプロセス装置Aに返信する。
Further, when the subsequent cooperation process (cooperation process) is necessary according to the content of the transaction request message, the process execution unit C1 newly generates a process request message and transmits the process request message to the business component. Here, the cooperative processing is processing in which a plurality of individual transactions (for example, balance check, account existence check, payment processing, etc.) are continuously handled as a series of transactions. And when all the cooperation processes corresponding to a transaction request message are complete | finished, the transaction response message corresponding to a transaction request message is returned to the process apparatus A via the process apparatus B.

プロセス装置Dは、プロセス装置Cとプロセス装置Eとの間で電文を中継するコンピュータ装置(ハブ装置)である。このプロセス装置Dのプロセス実行部D1は、プロセス装置Cから受信した処理依頼電文をプロセス装置Eに転送する。また、プロセス実行部D1は、プロセス装置Eから受信した処理結果電文をプロセス装置Cに転送する。   The process device D is a computer device (hub device) that relays a message between the process device C and the process device E. The process execution unit D1 of the process device D transfers the processing request message received from the process device C to the process device E. In addition, the process execution unit D1 transfers the processing result message received from the process device E to the process device C.

プロセス装置Eは、処理依頼電文に対応するために必要な各プロセスを実行するコンピュータ装置(例えば、ホストコンピュータ)である。例えば、プロセス装置Eのプロセス実行部E1は、口座存在チェック処理、残高チェック処理、支払い処理、入金処理、勘定計上処理等の各処理を実行するための業務コンポーネントから構成されている。   The process device E is a computer device (for example, a host computer) that executes each process necessary for handling a processing request message. For example, the process execution unit E1 of the process device E includes business components for executing various processes such as an account existence check process, a balance check process, a payment process, a deposit process, and an account accounting process.

また、プロセス装置A〜Dは、図2に示すように、タイマTMやタイマ監視部10〜40を備えている。タイマ監視部10〜40は、各プロセス装置A〜Dにおいてタイムアウトを監視する。   Further, the process devices A to D include a timer TM and timer monitoring units 10 to 40 as shown in FIG. The timer monitoring units 10 to 40 monitor timeouts in the process devices A to D.

タイマ監視部10は、取引要求についてのタイムアウトを監視する処理を実行する。このタイマ監視部10は、制御手段(CPU、RAM及びROM等)を備えており、後述する処理(タイマ値設定段階、イベント監視段階、タイムアウト報告段階を含む処理)を行なう。このため、プロセス管理プログラムを実行することにより、タイマ監視部10は、タイマ値設定手段111、イベント監視手段112、タイムアウト報告手段113として機能する。   The timer monitoring unit 10 executes processing for monitoring a timeout for a transaction request. The timer monitoring unit 10 includes control means (CPU, RAM, ROM, and the like), and performs processing described later (processing including a timer value setting stage, an event monitoring stage, and a timeout reporting stage). Therefore, by executing the process management program, the timer monitoring unit 10 functions as the timer value setting unit 111, the event monitoring unit 112, and the timeout reporting unit 113.

タイマ値設定手段111は、取引要求電文に応じて、タイムアウトまでの残り時間(タイマ値)を設定する処理を実行する。タイマ値設定手段111は、タイマ初期値テーブルを保持している。このタイマ初期値テーブルには、顧客識別子、取引種別識別子に関連づけて、タイマ値の初期値が記憶されている。顧客識別子、取引種別識別子は、それぞれ取引相手の顧客、取引種別を特定するための識別子である。タイマ初期値は、この取引要求を完了させるための制限時間である。   The timer value setting means 111 executes processing for setting the remaining time (timer value) until timeout in accordance with the transaction request message. The timer value setting means 111 holds a timer initial value table. In this timer initial value table, initial values of timer values are stored in association with customer identifiers and transaction type identifiers. The customer identifier and the transaction type identifier are identifiers for specifying the customer and the transaction type of the trading partner, respectively. The timer initial value is a time limit for completing the transaction request.

イベント監視手段112は、タイマTM又はプロセス実行部A1の進捗状況の監視処理を実行する。このイベント監視手段112は、プロセス実行部A1における戻り電文受信又はタイマTMにおけるタイムアップについてのイベント情報を取得する。   The event monitoring unit 112 executes a progress monitoring process of the timer TM or the process execution unit A1. The event monitoring unit 112 acquires event information about return message reception at the process execution unit A1 or time-up at the timer TM.

タイムアウト報告手段113は、タイムアウトした場合にタイムアウトを、取引要求電文により特定される送信元であるプロセス実行部A1に通知する処理を実行する。そして、このタイムアウト通知に基づいて、各プロセス装置に対して、取引要求の取引取消電文が送信され、取引要求に対応するために使用していたリソースが解放される。   The time-out reporting unit 113 executes processing for notifying the process execution unit A1 that is a transmission source specified by the transaction request message when time-out occurs. Then, based on this timeout notification, a transaction cancellation message for a transaction request is transmitted to each process device, and the resources used to respond to the transaction request are released.

タイマ監視部(20、40)は、受信電文に基づいてタイムアウトを監視する処理を実行する。このタイマ監視部(20、40)は、制御手段(CPU、RAM及びROM等)を備えており、後述する処理(タイマ値設定段階、イベント監視段階、タイムアウト報告段階を含む処理)を行なう。このため、プロセス管理プログラムを実行することにより、タイマ監視部(20、40)は、タイマ値設定手段(211、411)、イベント監視手段(212、412)、タイムアウト報告手段(213、413)として機能する。   The timer monitoring unit (20, 40) executes processing for monitoring timeout based on the received message. The timer monitoring units (20, 40) are provided with control means (CPU, RAM, ROM, etc.) and perform processing (processing including a timer value setting stage, an event monitoring stage, and a timeout reporting stage) described later. Therefore, by executing the process management program, the timer monitoring units (20, 40) serve as timer value setting means (211 and 411), event monitoring means (212 and 412), and timeout report means (213 and 413). Function.

タイマ値設定手段(211、411)は、取引要求電文や処理依頼電文に応じて、タイムアウトまでの残り時間(タイマ値)を設定する処理を実行する。タイマ値設定手段211は、減算値テーブルを保持している。この減算値テーブルには、タイマ値を短縮する減算値が記憶されている。減算値は、先行プロセスとしてのプロセス装置(B、D)のプロ
セス実行部(B1、D1)が後続プロセスに処理を依頼するための引継処理に要する想定時間(既定時間)である。
The timer value setting means (211 and 411) executes processing for setting the remaining time (timer value) until timeout in accordance with the transaction request message and the processing request message. The timer value setting unit 211 holds a subtraction value table. This subtraction value table stores a subtraction value for shortening the timer value. The subtraction value is an estimated time (predetermined time) required for the handover process for the process execution unit (B1, D1) of the process device (B, D) as the preceding process to request the subsequent process.

イベント監視手段(212、412)は、イベント監視手段112と同様に、タイマTM又はプロセス実行部(B1、D1)の進捗状況の監視処理を実行する。
タイムアウト報告手段(213、413)は、タイムアウト報告手段113と同様に、タイムアウトした場合には、タイムアウトを通知する処理を実行する。
Similar to the event monitoring unit 112, the event monitoring unit (212, 412) executes a progress monitoring process of the timer TM or the process execution unit (B1, D1).
Similar to the timeout report unit 113, the timeout report unit (213, 413) executes processing for notifying a timeout when a timeout occurs.

タイマ監視部30は、受信電文についてのタイムアウトを監視する処理を実行する。このタイマ監視部30は、制御手段(CPU、RAM及びROM等)を備えており、後述する処理(タイマ値設定段階、イベント監視段階、タイムアウト報告段階を含む処理)を行なう。このため、プロセス管理プログラムを実行することにより、タイマ監視部30は、タイマ値設定手段311、イベント監視手段312、タイムアウト報告手段313として機能する。   The timer monitoring unit 30 executes processing for monitoring a timeout for a received message. The timer monitoring unit 30 includes control means (CPU, RAM, ROM, and the like), and performs processing described later (processing including a timer value setting stage, an event monitoring stage, and a timeout reporting stage). Therefore, by executing the process management program, the timer monitoring unit 30 functions as the timer value setting unit 311, the event monitoring unit 312, and the timeout reporting unit 313.

タイマ値設定手段311は、処理依頼電文に応じて、タイムアウトまでの残り時間(タイマ値)を設定する処理を実行する。タイマ値設定手段311は、タイマ値設定手段(211、411)と同様に、減算値テーブルを保持している。また、タイマ値設定手段311は、取得したタイマ値を記録するための仮記憶メモリを備えている。そして、後続の連携処理が必要な場合には、タイマ値設定手段311は、仮記憶メモリに記録されたタイマ値から戻り電文を受信するまでに要した時間を差し引いた時間を、新たなタイマ値として設定する。   The timer value setting unit 311 executes processing for setting the remaining time (timer value) until timeout in accordance with the processing request message. The timer value setting means 311 holds a subtraction value table, similarly to the timer value setting means (211 and 411). The timer value setting unit 311 includes a temporary storage memory for recording the acquired timer value. Then, when the subsequent cooperation processing is necessary, the timer value setting unit 311 obtains a new timer value by subtracting the time required to receive the return message from the timer value recorded in the temporary storage memory. Set as.

イベント監視手段312は、イベント監視手段112と同様に、タイマTM又はプロセス実行部C1の進捗状況の監視処理を実行する。
タイムアウト報告手段313は、タイムアウト報告手段113と同様に、タイムアウトした場合には、タイムアウトを通知する処理を実行する。
Similar to the event monitoring unit 112, the event monitoring unit 312 executes a monitoring process of the progress status of the timer TM or the process execution unit C1.
Similar to the timeout report unit 113, the timeout report unit 313 executes a process of notifying a timeout when a timeout occurs.

次に、以上のように構成されたシステムにおいて、プロセス管理を行なう場合についての手順を図3〜図5に基づいて説明する。ここでは、図5(a)に示すように、プロセス装置Aの取引要求は、プロセス装置Bを介してプロセス装置Cに転送される。そして、プロセス装置Cは、プロセス装置Dを介して、プロセス装置Eに3連携によって処理し、取引応答電文を、プロセス装置Bを介してプロセス装置Aに返信する場合を想定する。この場合、プロセス装置A〜Dにおいて、タイマ監視処理が行われる。   Next, a procedure for process management in the system configured as described above will be described with reference to FIGS. Here, as shown in FIG. 5A, the transaction request of the process apparatus A is transferred to the process apparatus C via the process apparatus B. Then, it is assumed that the process device C processes the process device E via the process device D in three linkages and returns a transaction response message to the process device A via the process device B. In this case, timer monitoring processing is performed in the process devices A to D.

(プロセス装置Aにおけるタイマ監視処理)
まず、図3(a)を用いて、プロセス装置Aにおけるタイマ監視処理を説明する。
ここでは、プロセス装置Aのタイマ監視部10は、取引要求の特定処理を実行する(ステップS1−1)。具体的には、タイマ監視部10のタイマ値設定手段111は、プロセス実行部A1において取得した取引要求についての取引種類、顧客識別子に関する情報を取得する。
(Timer monitoring process in process device A)
First, the timer monitoring process in the process apparatus A will be described with reference to FIG.
Here, the timer monitoring unit 10 of the process device A executes transaction request specifying processing (step S1-1). Specifically, the timer value setting unit 111 of the timer monitoring unit 10 acquires information on the transaction type and customer identifier for the transaction request acquired in the process execution unit A1.

次に、プロセス装置Aのタイマ監視部10は、取引要求に応じてタイマ値の特定処理を実行する(ステップS1−2)。具体的には、タイマ監視部10のタイマ値設定手段111は、取得した取引種類、顧客識別子に関連付けられたタイマ値を、タイマ初期値テーブルから抽出する。本実施形態では、図5(b)に示すように、初期のタイマ値として「118秒」を用いる。   Next, the timer monitoring unit 10 of the process device A executes a timer value specifying process in response to the transaction request (step S1-2). Specifically, the timer value setting unit 111 of the timer monitoring unit 10 extracts a timer value associated with the acquired transaction type and customer identifier from the timer initial value table. In the present embodiment, as shown in FIG. 5B, “118 seconds” is used as the initial timer value.

次に、プロセス装置Aは、タイマ値を含めた電文送信処理を実行する(ステップS1−3)。具体的には、プロセス装置Aのプロセス実行部A1は、プロセス装置Bに送信する
取引要求電文を作成する。この場合、タイマ監視部20のタイマ値設定手段211は、抽出したタイマ値「118秒」を、プロセス装置Bに送信する取引要求電文のタイマ値領域に格納する。そして、この取引要求電文は、プロセス実行部A1により、プロセス装置Bに送信される。また、タイマ値設定手段111は、プロセス装置AのタイマTMにタイマ値「118秒」を供給する。この場合、タイマTMは、このタイマ値「118秒」からのカウントダウンを開始する。
Next, the process device A executes a message transmission process including a timer value (step S1-3). Specifically, the process execution unit A1 of the process device A creates a transaction request message to be transmitted to the process device B. In this case, the timer value setting unit 211 of the timer monitoring unit 20 stores the extracted timer value “118 seconds” in the timer value area of the transaction request message transmitted to the process device B. Then, this transaction request message is transmitted to the process device B by the process execution unit A1. The timer value setting unit 111 supplies the timer value “118 seconds” to the timer TM of the process apparatus A. In this case, the timer TM starts counting down from the timer value “118 seconds”.

そして、プロセス装置Aのタイマ監視部10は、イベント監視処理を実行する(ステップS1−4)。具体的には、タイマTMは、タイマ値「118秒」のカウントダウンを終了した場合には、タイムアップ通知をタイマ監視部10のイベント監視手段112に供給する。また、プロセス実行部A1が、プロセス装置Bからの戻り電文(取引応答電文)を受信した場合には、戻り電文受信通知をタイマ監視部10のイベント監視手段112に供給する。このようなイベント情報を取得するため、タイマ監視部10のイベント監視手段112は、タイマTMにおけるタイムアップ通知又は戻り電文受信通知を待機する。   Then, the timer monitoring unit 10 of the process device A executes event monitoring processing (step S1-4). Specifically, the timer TM supplies a time-up notification to the event monitoring unit 112 of the timer monitoring unit 10 when the timer value “118 seconds” has been counted down. When the process execution unit A1 receives a return message (transaction response message) from the process device B, the process execution unit A1 supplies a return message reception notification to the event monitoring unit 112 of the timer monitoring unit 10. In order to acquire such event information, the event monitoring unit 112 of the timer monitoring unit 10 waits for a time-up notification or a return message reception notification in the timer TM.

そして、プロセス装置Aのタイマ監視部10は、正常完了又はタイムアウトの判定処理を実行する(ステップS1−5)。具体的には、タイマ監視部10のイベント監視手段112は、タイマTMからのタイムアップ通知又はプロセス実行部A1からの戻り電文受信通知の先後関係によりタイムアウトを判定する。ここで、戻り電文受信通知の前にタイムアップ通知を取得した場合には、タイムアウトと判定する。一方、タイムアップ通知の前に戻り電文通知を取得した場合には、正常完了と判定する。   Then, the timer monitoring unit 10 of the process apparatus A executes normal completion or timeout determination processing (step S1-5). Specifically, the event monitoring unit 112 of the timer monitoring unit 10 determines the timeout based on the relationship between the time-up notification from the timer TM or the return message reception notification from the process execution unit A1. Here, if a time-up notification is acquired before the return message reception notification, it is determined that a timeout has occurred. On the other hand, when a return message notification is acquired before the time-up notification, it is determined that the operation is normally completed.

タイムアウトと判定した場合(ステップS1−5において「タイムアウト」の場合)には、プロセス装置Aのタイマ監視部10は、タイムアウト報告処理を実行する(ステップS1−6)。具体的には、タイマ監視部10のイベント監視手段112は、タイムアウト報告手段113にタイムアウトを通知する。この場合、タイムアウト報告手段113は、取引要求電文の送信元に対してタイムアウトを通知する。
一方、正常完了と判定した場合(ステップS1−5において「正常完了」の場合)には、プロセス装置Aのタイマ監視部10は、タイマ監視処理を終了する。
If it is determined that a timeout has occurred ("timeout" in step S1-5), the timer monitoring unit 10 of the process device A executes a timeout report process (step S1-6). Specifically, the event monitoring unit 112 of the timer monitoring unit 10 notifies the timeout reporting unit 113 of the timeout. In this case, the timeout report means 113 notifies the timeout to the sender of the transaction request message.
On the other hand, if it is determined as normal completion (in the case of “normal completion” in step S1-5), the timer monitoring unit 10 of the process apparatus A ends the timer monitoring processing.

(プロセス装置Bにおけるタイマ監視処理)
次に、図3(b)を用いて、プロセス装置Bにおけるタイマ監視処理を説明する。このプロセス装置Bにおいては、プロセス装置Aから受信した取引要求電文をプロセス装置Cに送信し、取引応答電文をプロセス装置Cから受信するまでのタイマ監視を行なう。
(Timer monitoring process in process device B)
Next, the timer monitoring process in the process apparatus B will be described with reference to FIG. In this process device B, the transaction request message received from the process device A is transmitted to the process device C, and the timer is monitored until the transaction response message is received from the process device C.

プロセス装置Bのタイマ監視部20は、先行プロセスからタイマ値の取得処理を実行する(ステップS2−1)。具体的には、タイマ監視部20のタイマ値設定手段211は、先行のプロセス装置Aから取得した取引要求電文のタイマ値領域からタイマ値(第1タイマ値)を取得する。本実施形態では、図5(b)に示すように、タイマ値として「118秒」を取得する。   The timer monitoring unit 20 of the process device B executes a timer value acquisition process from the preceding process (step S2-1). Specifically, the timer value setting unit 211 of the timer monitoring unit 20 acquires a timer value (first timer value) from the timer value area of the transaction request message acquired from the preceding process device A. In the present embodiment, “118 seconds” is acquired as the timer value, as shown in FIG.

次に、プロセス装置Bのタイマ監視部20は、タイマ値から減算値の減算処理を実行する(ステップS2−2)。具体的には、タイマ監視部20のタイマ値設定手段211は、取得したタイマ値から、減算値テーブルに記憶されている減算値を差し引く。本実施形態では、減算値として「3秒」を取得する。そして、タイマ値設定手段211は、「118秒」から「3秒」を差し引いた「115秒」を新たなタイマ値(第2タイマ値)として算出する。   Next, the timer monitoring unit 20 of the process device B executes a subtraction process of the subtraction value from the timer value (step S2-2). Specifically, the timer value setting unit 211 of the timer monitoring unit 20 subtracts the subtraction value stored in the subtraction value table from the acquired timer value. In the present embodiment, “3 seconds” is acquired as the subtraction value. Then, the timer value setting unit 211 calculates “115 seconds” obtained by subtracting “3 seconds” from “118 seconds” as a new timer value (second timer value).

次に、プロセス装置Bは、タイマ値を含めた電文送信処理を実行する(ステップS2−3)。具体的には、プロセス装置Bのプロセス実行部B1は、プロセス装置Cに転送する
取引要求電文を準備する。この場合、タイマ監視部20のタイマ値設定手段211は、算出したタイマ値「115秒」を、プロセス装置Cに転送する取引要求電文のタイマ値領域に格納する。この取引要求電文は、プロセス実行部B1により、後続のプロセス装置Cに転送される。また、タイマ値設定手段211は、プロセス装置BのタイマTMにタイマ値「115秒」を供給する。この場合、タイマTMは、このタイマ値「115秒」からのカウントダウンを開始する。
Next, the process device B executes a message transmission process including a timer value (step S2-3). Specifically, the process execution unit B1 of the process device B prepares a transaction request message to be transferred to the process device C. In this case, the timer value setting unit 211 of the timer monitoring unit 20 stores the calculated timer value “115 seconds” in the timer value area of the transaction request message transferred to the process device C. This transaction request message is transferred to the subsequent process device C by the process execution unit B1. Further, the timer value setting means 211 supplies the timer value “115 seconds” to the timer TM of the process apparatus B. In this case, the timer TM starts counting down from the timer value “115 seconds”.

そして、プロセス装置Bのタイマ監視部20は、イベント監視処理を実行する(ステップS2−4)。具体的には、タイマTMは、タイマ値「115秒」のカウントダウンを終了した場合には、タイムアップ通知をタイマ監視部20のイベント監視手段212に供給する。また、プロセス実行部B1が、プロセス装置Cからの戻り電文(取引応答電文)を受信した場合には、戻り電文受信通知をタイマ監視部20のイベント監視手段212に供給する。このようなイベント情報を取得するため、タイマ監視部20のイベント監視手段212は、タイマTMにおけるタイムアップ通知又は戻り電文受信通知を待機する。   Then, the timer monitoring unit 20 of the process device B executes event monitoring processing (step S2-4). Specifically, when the timer TM has finished counting down the timer value “115 seconds”, the timer TM supplies a time-up notification to the event monitoring unit 212 of the timer monitoring unit 20. When the process execution unit B1 receives a return message (transaction response message) from the process device C, the process execution unit B1 supplies a return message reception notification to the event monitoring unit 212 of the timer monitoring unit 20. In order to acquire such event information, the event monitoring unit 212 of the timer monitoring unit 20 waits for a time-up notification or a return message reception notification in the timer TM.

そして、プロセス装置Bのタイマ監視部20は、正常完了又はタイムアウトの判定処理を実行する(ステップS2−5)。具体的には、タイマ監視部20のイベント監視手段212は、タイマTMからのタイムアップ通知又はプロセス実行部B1からの戻り電文受信通知の先後関係によりタイムアウトを判定する。ここで、戻り電文受信通知の前にタイムアップ通知を取得した場合には、タイムアウトと判定する。一方、タイムアップ通知の前に戻り電文通知を取得した場合には、正常完了と判定する。   Then, the timer monitoring unit 20 of the process device B executes normal completion or timeout determination processing (step S2-5). Specifically, the event monitoring unit 212 of the timer monitoring unit 20 determines the timeout based on the prior relationship of the time-up notification from the timer TM or the return message reception notification from the process execution unit B1. Here, if a time-up notification is acquired before the return message reception notification, it is determined that a timeout has occurred. On the other hand, when a return message notification is acquired before the time-up notification, it is determined that the operation is normally completed.

タイムアウトと判定した場合(ステップS2−5において「タイムアウト」の場合)には、プロセス装置Bのタイマ監視部20は、タイムアウト報告処理を実行する(ステップS2−6)。具体的には、タイマ監視部20のイベント監視手段212は、タイムアウト報告手段213にタイムアウトを通知する。この場合、タイムアウト報告手段213は、取引要求の送信元に対してタイムアウトを通知する。
一方、正常完了と判定した場合(ステップS2−5において「正常完了」の場合)には、プロセス装置Bのタイマ監視部20は、タイマ監視処理を終了する。
If it is determined that a timeout has occurred ("timeout" in step S2-5), the timer monitoring unit 20 of the process apparatus B executes a timeout report process (step S2-6). Specifically, the event monitoring unit 212 of the timer monitoring unit 20 notifies the timeout reporting unit 213 of the timeout. In this case, the timeout report means 213 notifies the transaction request transmission source of the timeout.
On the other hand, when it is determined that the operation is normally completed (in the case of “normal completion” in step S2-5), the timer monitoring unit 20 of the process apparatus B ends the timer monitoring process.

なお、プロセス装置Dにおいても、プロセス装置Bと同様のタイマ監視処理が行なわれる。このプロセス装置Dにおいては、プロセス装置Cから受信した処理依頼電文についての処理結果電文を、プロセス装置Eから受信するまでのタイマ監視を行なう。図5(b)に示すように、このプロセス装置Cにおいては、減算値として「2秒」が設定されているため、プロセス装置Cから取得したタイマ値から、この「2秒」を差し引いてタイマ監視を行なう。   In the process apparatus D, the same timer monitoring process as that of the process apparatus B is performed. In this process apparatus D, a timer is monitored until a process result message for the process request message received from the process apparatus C is received from the process apparatus E. As shown in FIG. 5B, since “2 seconds” is set as the subtraction value in the process apparatus C, the timer value obtained by subtracting “2 seconds” from the timer value acquired from the process apparatus C Monitor.

(プロセス装置Cにおけるタイマ監視処理)
次に、図4を用いて、プロセス装置Cにおけるタイマ監視処理を説明する。
プロセス装置Cのタイマ監視部30は、先行プロセスからタイマ値の取得処理を実行する(ステップS3−1)。具体的には、タイマ監視部30のタイマ値設定手段311は、先行のプロセス装置Bから取得した取引要求電文のタイマ値領域からタイマ値(第1タイマ値)を取得する。本実施形態では、図5(b)に示すように、タイマ値として「115秒」を取得する。この場合、タイマ値設定手段311は、取得したタイマ値を仮記憶メモリに記録する。この仮記憶メモリに記録されたタイマ値は、後述するように、2回目以降の連携処理のタイマ値を算出する場合に用いられる。
(Timer monitoring process in process device C)
Next, timer monitoring processing in the process apparatus C will be described with reference to FIG.
The timer monitoring unit 30 of the process apparatus C executes timer value acquisition processing from the preceding process (step S3-1). Specifically, the timer value setting unit 311 of the timer monitoring unit 30 acquires a timer value (first timer value) from the timer value area of the transaction request message acquired from the preceding process device B. In this embodiment, as shown in FIG. 5B, “115 seconds” is acquired as the timer value. In this case, the timer value setting unit 311 records the acquired timer value in the temporary storage memory. As will be described later, the timer value recorded in the temporary storage memory is used when calculating the timer value for the second and subsequent linkage processes.

次に、プロセス装置Cのタイマ監視部30は、タイマ値から減算値の減算処理を実行する(ステップS3−2)。具体的には、タイマ監視部30のタイマ値設定手段311は、取得したタイマ値から、減算値テーブルに記憶されている減算値を差し引く。本実施形態
では、減算値として「2秒」を取得する。そして、タイマ値設定手段211は、「115秒」から「2秒」を差し引いた「113秒」を新たなタイマ値(第2タイマ値)として算出する。
Next, the timer monitoring unit 30 of the process device C executes a subtraction process of the subtraction value from the timer value (step S3-2). Specifically, the timer value setting unit 311 of the timer monitoring unit 30 subtracts the subtraction value stored in the subtraction value table from the acquired timer value. In this embodiment, “2 seconds” is acquired as the subtraction value. Then, the timer value setting unit 211 calculates “113 seconds” obtained by subtracting “2 seconds” from “115 seconds” as a new timer value (second timer value).

次に、プロセス装置Cは、タイマ値を含めた電文送信処理を実行する(ステップS3−3)。具体的には、プロセス装置Cのプロセス実行部C1は、取引要求電文の内容に応じて、送信先テーブルを用いて後続のプロセスに送信する処理依頼電文を生成する。そして、タイマ監視部30のタイマ値設定手段311は、算出したタイマ値「113秒」を、プロセス装置Dに送信する処理依頼電文のタイマ値領域に格納する。この処理依頼電文は、プロセス実行部C1により、後続のプロセス装置Dに送信される。また、タイマ値設定手段311は、タイマTMにタイマ値「113秒」を供給する。この場合、タイマTMは、このタイマ値「113秒」からのカウントダウンを開始する。   Next, the process device C executes a message transmission process including a timer value (step S3-3). Specifically, the process execution unit C1 of the process device C generates a processing request message to be transmitted to the subsequent process using the transmission destination table according to the content of the transaction request message. Then, the timer value setting unit 311 of the timer monitoring unit 30 stores the calculated timer value “113 seconds” in the timer value area of the processing request message to be transmitted to the process device D. This processing request message is transmitted to the subsequent process device D by the process execution unit C1. The timer value setting means 311 supplies the timer value “113 seconds” to the timer TM. In this case, the timer TM starts counting down from the timer value “113 seconds”.

そして、プロセス装置Cのタイマ監視部30は、イベント監視処理を実行する(ステップS3−4)。具体的には、タイマTMは、タイマ値「113秒」のカウントダウンを終了した場合には、タイムアップ通知をタイマ監視部30のイベント監視手段312に供給する。また、プロセス実行部C1が、プロセス装置Dからの戻り電文(処理結果電文)を受信した場合には、戻り電文受信通知をタイマ監視部30のイベント監視手段312に供給する。このようなイベント情報を取得するため、タイマ監視部30のイベント監視手段312は、タイマTMにおけるタイムアップ通知又は戻り電文受信通知を待機する。   Then, the timer monitoring unit 30 of the process device C executes event monitoring processing (step S3-4). Specifically, the timer TM supplies a time-up notification to the event monitoring unit 312 of the timer monitoring unit 30 when the count-down of the timer value “113 seconds” is completed. When the process execution unit C1 receives a return message (processing result message) from the process device D, the process execution unit C1 supplies a return message reception notification to the event monitoring unit 312 of the timer monitoring unit 30. In order to acquire such event information, the event monitoring unit 312 of the timer monitoring unit 30 waits for a time-up notification or a return message reception notification in the timer TM.

そして、プロセス装置Cのタイマ監視部30は、正常完了又はタイムアウトの判定処理を実行する(ステップS3−5)。具体的には、タイマ監視部30のイベント監視手段312は、タイマTMからのタイムアップ通知又はプロセス実行部C1からの戻り電文受信通知の先後関係によりタイムアウトを判定する。ここで、戻り電文受信通知の前にタイムアップ通知を取得した場合には、タイムアウトと判定する。一方、タイムアップ通知の前に戻り電文通知を取得した場合には、正常完了と判定する。   Then, the timer monitoring unit 30 of the process apparatus C executes normal completion or timeout determination processing (step S3-5). Specifically, the event monitoring unit 312 of the timer monitoring unit 30 determines the timeout based on the prior relationship of the time-up notification from the timer TM or the return message reception notification from the process execution unit C1. Here, if a time-up notification is acquired before the return message reception notification, it is determined that a timeout has occurred. On the other hand, when a return message notification is acquired before the time-up notification, it is determined that the operation is normally completed.

タイムアウトと判定した場合(ステップS3−5において「タイムアウト」の場合)には、プロセス装置Cのタイマ監視部30は、タイムアウト報告処理を実行する(ステップS3−6)。具体的には、タイマ監視部30のイベント監視手段312は、タイムアウト報告手段313にタイムアウトを通知する。この場合、タイムアウト報告手段313は、取引要求の送信元に対してタイムアウトを通知する。   If it is determined that a timeout has occurred (in the case of “timeout” in step S3-5), the timer monitoring unit 30 of the process device C executes a timeout report process (step S3-6). Specifically, the event monitoring unit 312 of the timer monitoring unit 30 notifies the timeout reporting unit 313 of the timeout. In this case, the timeout report means 313 notifies the transaction request transmission source of the timeout.

一方、正常完了と判定した場合(ステップS3−5において「正常完了」の場合)には、プロセス装置Cのタイマ監視部30は、後続の連携処理が必要かどうかについての判定処理を実行する(ステップS3−7)。具体的には、プロセス装置Cのプロセス実行部C1は、送信先テーブルを用いて、受信した処理結果電文に基づいて後続の連携処理が必要かどうかを判定する。そして、タイマ監視部30のタイマ値設定手段311は、プロセス実行部C1から、新たな連携処理の要否情報を取得する。   On the other hand, when it is determined that the process is normally completed (in the case of “normally completed” in step S3-5), the timer monitoring unit 30 of the process device C executes a determination process as to whether or not a subsequent cooperation process is necessary ( Step S3-7). Specifically, the process execution unit C1 of the process apparatus C uses the transmission destination table to determine whether or not subsequent cooperative processing is necessary based on the received processing result message. Then, the timer value setting unit 311 of the timer monitoring unit 30 acquires information on necessity of new cooperation processing from the process execution unit C1.

プロセス実行部C1から取得した連携処理の要否情報に基づいて、後続の連携処理が必要と判定した場合(ステップS3−7において「YES」の場合)、プロセス装置Cのタイマ監視部30は、新たなタイマ値の算出処理を実行する(ステップS3−8)。具体的には、タイマ監視部30のタイマ値設定手段311は、処理依頼電文の送信時のタイマ値(仮記憶メモリに記録されたタイマ値)から、処理結果電文が戻ってくるまでの所要時間を差し引いた新たなタイマ値を算出する。この場合、タイマ値設定手段311は、取得したタイマ値を用いて、仮記憶メモリのタイマ値を更新する。本実施形態では、図5(b)において、最初の連携処理においては、3秒後に戻り電文を受信した場合を想定する。この場合には、先行のプロセス(連携処理)から取得したタイマ値として、最初にプロセス
装置Cが取得したタイマ値「113秒」から戻り所要時間「3秒」を差し引いた値「110秒」を用いる。また、2回目の連携処理においては、10秒後に戻り電文を受信した場合を想定する。この場合には、先行のプロセス(連携処理)のタイマ値「110秒」から戻り所要時間「10秒」を差し引いた値「100秒」を用いる。そして、プロセス装置Cのタイマ監視部30は、算出した新たなタイマ値を用いて、ステップS3−3以降の処理を繰り返す。
When it is determined that the subsequent cooperation processing is necessary based on the necessity information of the cooperation processing acquired from the process execution unit C1 (in the case of “YES” in step S3-7), the timer monitoring unit 30 of the process device C A new timer value calculation process is executed (step S3-8). Specifically, the timer value setting means 311 of the timer monitoring unit 30 takes the time required for the processing result message to return from the timer value at the time of transmission of the processing request message (the timer value recorded in the temporary storage memory). A new timer value is calculated by subtracting. In this case, the timer value setting unit 311 updates the timer value in the temporary storage memory using the acquired timer value. In this embodiment, in FIG.5 (b), the case where a return message | telegram is received 3 seconds after the first cooperation process is assumed. In this case, a value “110 seconds” obtained by subtracting the required time “3 seconds” from the timer value “113 seconds” first acquired by the process apparatus C is used as the timer value acquired from the preceding process (cooperation processing). Use. In the second linkage process, it is assumed that a return message is received after 10 seconds. In this case, a value “100 seconds” obtained by subtracting the required time “10 seconds” from the timer value “110 seconds” of the preceding process (cooperation processing) is used. And the timer monitoring part 30 of the process apparatus C repeats the process after step S3-3 using the calculated new timer value.

なお、図5(b)では、1回目〜3回目の連携処理において、プロセス装置Dは、プロセス装置Cからタイマ値「113秒」、「110秒」、「100秒」(第1タイマ値)を取得するので、減算値「2秒」を差し引いた「111秒」、「108秒」、「98秒」(第2タイマ値)を用いてタイマ監視を行なうことになる。   In FIG. 5B, in the first to third linked processing, the process device D receives the timer values “113 seconds”, “110 seconds”, “100 seconds” (first timer value) from the process device C. Therefore, the timer monitoring is performed using “111 seconds”, “108 seconds”, and “98 seconds” (second timer value) obtained by subtracting the subtraction value “2 seconds”.

一方、プロセス実行部C1から取得した連携処理の要否情報に基づいて、後続の連携処理がないと判定した場合(ステップS3−7において「NO」の場合)、プロセス装置Cのタイマ監視部30は、タイマ監視処理を終了する。   On the other hand, when it is determined that there is no subsequent cooperation process based on the necessity information of the cooperation process acquired from the process execution unit C1 (in the case of “NO” in step S3-7), the timer monitoring unit 30 of the process apparatus C Ends the timer monitoring process.

以上、本実施形態によれば、以下のような効果を得ることができる。
(1)本実施形態によれば、取引要求について、プロセス装置A〜Eにおいて、複数のプロセスからなる処理を行なう。プロセス装置A〜Dには、タイマTMやタイマ監視部10〜40を備え、各プロセス装置A〜Dにおいてタイムアウトを監視する。これにより、連続して行われる各プロセスにおいて、迅速にタイムアウトを検知することができる。そして、このタイムアウトに応じた対応(リソースの解放等)を速やかに行なうことができる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) According to the present embodiment, processing consisting of a plurality of processes is performed in the process devices A to E for transaction requests. The process devices A to D are provided with a timer TM and timer monitoring units 10 to 40, and each process device A to D monitors a timeout. Thereby, in each process performed continuously, it is possible to quickly detect a timeout. Then, it is possible to promptly respond to this timeout (such as resource release).

(2)本実施形態によれば、先行のプロセス装置から、タイマ値を引き継ぐ。これにより、最初に設定された初期タイマ値に基づいたタイマ値が、順次、引き継がれるので、一つの取引要求についての制限時間を考慮して、各プロセスにおいてタイムアウトを検知することができる。また、タイマ値設定手段111は、タイマ初期値テーブルを保持している。このタイマ初期値テーブルには、顧客識別子、取引種別識別子に関連づけて、タイマ値の初期値が記憶されている。顧客や取引種別によっては、取引要求に応答するための連携数が異なる場合がある。また、取引によっては、制限時間を長くして、取引要求を完結させた方がよい場合もある。タイマ初期値テーブルを用いることにより、顧客や取引種別に応じた制限時間を設定することができる。   (2) According to the present embodiment, the timer value is taken over from the preceding process device. As a result, the timer value based on the initially set initial timer value is successively taken over, so that a timeout can be detected in each process in consideration of the time limit for one transaction request. The timer value setting means 111 holds a timer initial value table. In this timer initial value table, initial values of timer values are stored in association with customer identifiers and transaction type identifiers. Depending on the customer and transaction type, the number of linkages for responding to a transaction request may be different. Also, depending on the transaction, it may be better to extend the time limit and complete the transaction request. By using the timer initial value table, it is possible to set a time limit according to the customer and transaction type.

(3)本実施形態によれば、プロセス装置B〜Dのタイマ監視部20〜40は、タイマ値から減算値の減算処理を実行する(ステップS2−2、S3−2)。これにより、各プロセスにおいて必要な所要時間を考慮して、タイマ値を次のプロセスに引き継ぐことができる。   (3) According to the present embodiment, the timer monitoring units 20 to 40 of the process devices B to D execute the subtraction process of the subtraction value from the timer value (Steps S2-2 and S3-2). Thus, the timer value can be taken over to the next process in consideration of the time required for each process.

(4)本実施形態によれば、プロセス実行部C1から取得した連携処理の要否情報に基づいて、後続の連携処理が必要と判定した場合(ステップS3−7において「YES」の場合)、プロセス装置Cのタイマ監視部30は、新たなタイマ値の算出処理を実行する(ステップS3−8)。これにより、新たな連携プロセスが必要な場合、戻り電文を受信したときの残り時間を考慮して、タイマ値を次のプロセスに引き継ぐことができる。   (4) According to the present embodiment, when it is determined that the subsequent cooperation process is necessary based on the necessity information of the cooperation process acquired from the process execution unit C1 (in the case of “YES” in step S3-7), The timer monitoring unit 30 of the process apparatus C executes a new timer value calculation process (step S3-8). Thereby, when a new cooperation process is required, the timer value can be taken over to the next process in consideration of the remaining time when the return message is received.

なお、上記実施形態は以下のように変更してもよい。
・上記実施形態では、プロセス実行部C1から取得した連携処理の要否情報に基づいて、後続の連携処理が必要と判定した場合(ステップS3−7において「YES」の場合)、プロセス装置Cのタイマ監視部30は、新たなタイマ値の算出処理を実行する(ステップS3−8)。ここで、残りの連携数に応じて、タイムアウトを判定するようにしてもよ
い。この処理を、図6を用いて説明する。この場合、タイマ値設定手段311には、一つの連携処理において必要と想定される所要時間(想定所要時間)を記憶させておく。
In addition, you may change the said embodiment as follows.
In the above embodiment, when it is determined that the subsequent cooperation process is necessary based on the necessity information of the cooperation process acquired from the process execution unit C1 (in the case of “YES” in step S3-7), the process device C The timer monitoring unit 30 executes a new timer value calculation process (step S3-8). Here, the timeout may be determined according to the remaining number of linkages. This process will be described with reference to FIG. In this case, the timer value setting means 311 stores a required time (assumed required time) that is assumed to be necessary in one linked process.

ここで、図4と同様に、先行プロセスからタイマ値の取得処理(ステップS3−1)〜後続の連携処理が必要かどうかについての判定処理(ステップS3−7)を実行する。
そして、プロセス実行部C1から取得した連携処理の要否情報に基づいて、後続の連携処理が必要と判定した場合(ステップS3−7において「YES」の場合)、プロセス装置Cのタイマ監視部30は、残りの連携数の特定処理を実行する(ステップS4−1)。具体的には、タイマ監視部30のタイマ値設定手段311は、プロセス実行部C1から、取引要求を完了するために必要な連携処理であって、未処理の連携数を取得する。
Here, similarly to FIG. 4, the timer value acquisition process (step S3-1) from the preceding process to the determination process (step S3-7) as to whether or not the subsequent linkage process is necessary.
Then, when it is determined that the subsequent cooperative processing is necessary based on the necessity information of the cooperative processing acquired from the process execution unit C1 (in the case of “YES” in step S3-7), the timer monitoring unit 30 of the process device C Performs the process of specifying the remaining number of linkages (step S4-1). Specifically, the timer value setting unit 311 of the timer monitoring unit 30 acquires the number of unprocessed linkages that are necessary for completing the transaction request from the process execution unit C1.

次に、プロセス装置Cのタイマ監視部30は、残りの連携数に対して残りタイマ値は十分かどうかについての判定処理を実行する(ステップS4−2)。具体的には、タイマ監視部30のタイマ値設定手段311は、想定所要時間に残りの連携数を乗算して必要時間を算出する。次に、タイマ値設定手段311は、現在のタイマ値と、算出した必要時間とを比較する。ここで、現在のタイマ値が必要時間より短い場合には、タイマ値が十分でないと判定する。   Next, the timer monitoring unit 30 of the process device C executes a determination process as to whether or not the remaining timer value is sufficient for the remaining number of cooperation (step S4-2). Specifically, the timer value setting unit 311 of the timer monitoring unit 30 calculates the required time by multiplying the estimated required time by the remaining number of linkages. Next, the timer value setting unit 311 compares the current timer value with the calculated required time. Here, if the current timer value is shorter than the required time, it is determined that the timer value is not sufficient.

残りの連携数に対して残りタイマ値は十分でないと判定した場合(ステップS4−2において「NO」の場合)、プロセス装置Cのタイマ監視部30は、タイムアウト報告処理を実行する(ステップS3−6)。   When it is determined that the remaining timer value is not sufficient for the remaining number of linkages (in the case of “NO” in step S4-2), the timer monitoring unit 30 of the process device C executes a timeout report process (step S3- 6).

一方、残りの連携数に対して残りタイマ値は十分と判定した場合(ステップS4−2において「YES」の場合)、プロセス装置Cのタイマ監視部30は、新たなタイマ値の算出処理を実行する(ステップS3−8)。   On the other hand, when it is determined that the remaining timer value is sufficient with respect to the remaining number of linkages (in the case of “YES” in step S4-2), the timer monitoring unit 30 of the process apparatus C executes a new timer value calculation process (Step S3-8).

これにより、タイマ値が小さくなり、残り時間が少ない状況下において、多くの連携処理が残っている場合には、タイムアウトと判定することができる。従って、タイムアウトの発生を早期に予測して、迅速に対応することができる。   As a result, in a situation where the timer value becomes small and the remaining time is small, it is possible to determine that a time-out has occurred when many linkage processes remain. Accordingly, it is possible to predict the occurrence of timeout at an early stage and respond quickly.

なお、残りの連携数に対して残りタイマ値は十分かどうかについての判定方法は、上述の想定所要時間を用いる方法に限定されるものではない。例えば、タイマ値設定手段311に、連携数に対して、タイムアウトと判定するタイマ基準値を記憶させたタイムアウト判定テーブルを保持させておいてもよい。この場合には、タイマ値設定手段311が、残りの連携数を取得した場合に、タイムアウト判定テーブルを用いて、タイマ基準値を取得し、現在のタイマ値と比較して、タイムアウトを判定する。   Note that the determination method as to whether the remaining timer value is sufficient for the remaining number of linkages is not limited to the method using the estimated required time. For example, the timer value setting unit 311 may hold a timeout determination table in which timer reference values for determining timeout are stored for the number of linkages. In this case, when the timer value setting unit 311 acquires the remaining number of linkages, the timer reference value is acquired using the timeout determination table and compared with the current timer value to determine the timeout.

・上記実施形態では、タイマ値設定手段111は、タイマ値の初期値が記憶されているタイマ初期値テーブルを保持している。また、タイマ値設定手段(211、311、411)は、タイマ値を短縮する減算値が記憶されている減算値テーブルを保持している。このようなタイマ値の初期値や減算値を、実績に基づいて調整できるようにしてもよい。この場合、図7に示すように、各プロセス装置にネットワークを介して接続されたログ管理サーバ50を設ける。このログ管理サーバ50には、ログ取得手段51、ログ記憶部52、ログを解析するログ評価部53を設ける。   In the above embodiment, the timer value setting unit 111 holds a timer initial value table in which initial values of timer values are stored. Further, the timer value setting means (211, 311, 411) holds a subtraction value table in which a subtraction value for shortening the timer value is stored. Such an initial value or subtraction value of the timer value may be adjusted based on the actual results. In this case, as shown in FIG. 7, a log management server 50 connected to each process apparatus via a network is provided. The log management server 50 includes a log acquisition unit 51, a log storage unit 52, and a log evaluation unit 53 that analyzes a log.

ログ取得手段51は、ネットワークを介して、各プロセス装置からジョブ実行についてのログ情報を取得し、ログ記憶部52に蓄積する。このログ情報には、取引識別子、プロセス装置識別子、プロセス識別子、タイマ値、実績時間、タイムアウト情報を含める。   The log acquisition unit 51 acquires log information about job execution from each process device via the network and accumulates it in the log storage unit 52. This log information includes a transaction identifier, a process device identifier, a process identifier, a timer value, an actual time, and timeout information.

取引識別子は、各取引要求を特定するための識別子である。プロセス装置識別子は、こ
の各取引要求に対応して処理を実行したプロセス装置を特定するための識別子である。プロセス識別子は、この各取引要求に対応して、このプロセス装置において実行されたプロセスを特定するための識別子である。タイマ値は、取引要求や処理依頼に設定されたタイマ値である。実績時間は、取引要求や処理依頼の対応に要した時間である。タイムアウト情報は、タイムアウトしたかどうかを判定するための情報である。取引識別子、装置識別子により、一つの取引要求に対して、各プロセス装置によって実行された連携処理を特定することができる。
The transaction identifier is an identifier for specifying each transaction request. The process device identifier is an identifier for identifying a process device that has executed processing in response to each transaction request. The process identifier is an identifier for specifying a process executed in the process device in response to each transaction request. The timer value is a timer value set in the transaction request or processing request. The actual time is the time required to respond to a transaction request or a processing request. The timeout information is information for determining whether timeout has occurred. With the transaction identifier and the device identifier, it is possible to specify the cooperative processing executed by each process device for one transaction request.

ログ評価部53は、ログ記憶部52に記憶されたログ情報を解析する。このログ評価部53は、注意喚起すべき連携処理情報を仮記憶する評価対象メモリを備えている。
このログ管理サーバ50において実行されるログ評価処理を、図7を用いて説明する。このログ評価処理は、ログ管理サーバ50に接続された管理者端末からの指示に基づいて実行される。
The log evaluation unit 53 analyzes the log information stored in the log storage unit 52. The log evaluation unit 53 includes an evaluation target memory that temporarily stores cooperation processing information to be alerted.
The log evaluation process executed in the log management server 50 will be described with reference to FIG. This log evaluation process is executed based on an instruction from an administrator terminal connected to the log management server 50.

まず、ログ管理サーバ50は、タイムアウト状況の検索処理を実行する(ステップS5−1)。具体的には、ログ管理サーバ50のログ評価部53は、ログ記憶部52において、タイムアウト情報が記録されたログ情報を検索する。   First, the log management server 50 executes a timeout situation search process (step S5-1). Specifically, the log evaluation unit 53 of the log management server 50 searches the log storage unit 52 for log information in which timeout information is recorded.

ここで、ログ記憶部52からタイムアウト情報が記録されたログを抽出した場合、ログ管理サーバ50は、タイムアウトまでの連携情報の取得処理を実行する(ステップS5−2)。具体的には、ログ管理サーバ50のログ評価部53は、タイムアウトが記録されたログ情報の取引識別子が記録されたログ情報をログ記憶部52から抽出する。このログ情報に記憶されたプロセス識別子を用いて、タイムアウトまでに実行された連携処理を特定する。そして、ログ評価部53は、抽出した連携処理情報を評価対象メモリに仮記録する。なお、タイムアウト情報が記録されたログを抽出しない場合には、ログ管理サーバ50は、タイムアウトまでの連携情報の取得処理(ステップS5−2)をスキップする。   Here, when the log in which the time-out information is recorded is extracted from the log storage unit 52, the log management server 50 executes the cooperation information acquisition process until time-out (step S5-2). Specifically, the log evaluation unit 53 of the log management server 50 extracts the log information in which the transaction identifier of the log information in which the timeout is recorded is recorded from the log storage unit 52. Using the process identifier stored in the log information, the cooperative processing executed before the timeout is specified. Then, the log evaluation unit 53 temporarily records the extracted cooperation processing information in the evaluation target memory. Note that if the log in which the timeout information is recorded is not extracted, the log management server 50 skips the cooperation information acquisition process (step S5-2) until the timeout.

次に、ログ管理サーバ50は、タイムアウトまで時間的余裕が少なかった取引要求の検索処理を実行する(ステップS5−3)。具体的には、ログ管理サーバ50のログ評価部53は、ログ記憶部52に記録されたログ情報の中で、取引応答電文の受信時から初期タイマ値までの残り時間を算出する。そして、ログ評価部53は、この残り時間が予め定められた基準時間よりも短いログ情報がある場合、時間的余裕が少なかった取引要求があったと判定する。   Next, the log management server 50 executes a transaction request search process in which there is little time before timeout (step S5-3). Specifically, the log evaluation unit 53 of the log management server 50 calculates the remaining time from when the transaction response message is received to the initial timer value in the log information recorded in the log storage unit 52. Then, when there is log information whose remaining time is shorter than a predetermined reference time, the log evaluation unit 53 determines that there is a transaction request with a small time margin.

ここで、タイムアウトまで時間的余裕が少なかった取引要求を抽出した場合、ログ管理サーバ50は、取引要求に関する連携情報の取得処理を実行する(ステップS5−4)。具体的には、ログ管理サーバ50のログ評価部53は、時間的余裕が少なかった取引要求の取引識別子が記録されたログ情報をログ記憶部52から抽出する。このログ情報に記憶されたプロセス識別子を用いて、取引応答電文の受信までに実行された連携処理を特定する。そして、ログ評価部53は、抽出した連携処理情報を評価対象メモリに仮記録する。なお、タイムアウトまで時間的余裕が少なかった取引要求を抽出しない場合には、ログ管理サーバ50は、取引要求に関する連携情報の取得処理(ステップS5−4)をスキップする。   Here, when the transaction request with a small time margin until the timeout is extracted, the log management server 50 executes the acquisition process of the cooperation information regarding the transaction request (step S5-4). Specifically, the log evaluation unit 53 of the log management server 50 extracts, from the log storage unit 52, log information in which a transaction identifier of a transaction request having a small time margin is recorded. Using the process identifier stored in the log information, the cooperative process executed until the transaction response message is received is specified. Then, the log evaluation unit 53 temporarily records the extracted cooperation processing information in the evaluation target memory. In addition, when not extracting the transaction request with little time margin until timeout, the log management server 50 skips the acquisition process (step S5-4) of the cooperation information regarding a transaction request.

次に、ログ管理サーバ50は、注意喚起が必要かどうかについての判定処理を実行する(ステップS5−5)。具体的には、ログ管理サーバ50のログ評価部53は、評価対象メモリに連携処理情報が記憶されている場合には、注意喚起が必要と判定する。   Next, the log management server 50 executes determination processing as to whether or not alerting is necessary (step S5-5). Specifically, the log evaluation unit 53 of the log management server 50 determines that alerting is necessary when the cooperation processing information is stored in the evaluation target memory.

注意喚起が必要でないと判定した場合(ステップS5−5において「NO」の場合)、ログ管理サーバ50は、ログ評価処理を終了する。
一方、注意喚起が必要と判定した場合(ステップS5−5において「YES」の場合)、ログ管理サーバ50は、各プロセスの所要時間の算出処理を実行する(ステップS5−6)。具体的には、ログ管理サーバ50のログ評価部53は、評価対象メモリに記憶されたログ情報において、プロセス識別子毎に実績時間を算出する。そして、ログ評価部53は、プロセス毎に実績時間の統計値(例えば、平均値)を算出する。
When it is determined that alerting is not necessary (in the case of “NO” in step S5-5), the log management server 50 ends the log evaluation process.
On the other hand, if it is determined that alerting is necessary (in the case of “YES” in step S5-5), the log management server 50 executes a process for calculating the time required for each process (step S5-6). Specifically, the log evaluation unit 53 of the log management server 50 calculates the actual time for each process identifier in the log information stored in the evaluation target memory. And the log evaluation part 53 calculates the statistical value (for example, average value) of performance time for every process.

次に、ログ管理サーバ50は、処理時間が長いプロセスの特定処理を実行する(ステップS5−7)。具体的には、ログ管理サーバ50のログ評価部53は、算出したプロセス毎に実績時間の統計値が大きい順番に並び替える。   Next, the log management server 50 executes a specific process for a process having a long processing time (step S5-7). Specifically, the log evaluation unit 53 of the log management server 50 rearranges the calculated time statistics for each calculated process in descending order.

次に、ログ管理サーバ50は、連携状況情報の出力処理を実行する(ステップS5−8)。具体的には、ログ管理サーバ50のログ評価部53は、処理時間が長いプロセスが含まれる取引要求における連携処理を特定する。そして、ログ評価部53は、この連携処理における顧客識別子や取引種別識別子を取引情報記憶部から取得し、管理者端末に出力する。   Next, the log management server 50 executes output processing of cooperation status information (step S5-8). Specifically, the log evaluation unit 53 of the log management server 50 specifies the cooperation process in a transaction request including a process with a long processing time. And the log evaluation part 53 acquires the customer identifier and transaction classification identifier in this cooperation process from a transaction information storage part, and outputs them to an administrator terminal.

これにより、管理者は、処理時間が長くなっているプロセスの装置能力を補強したり、タイムアウトを抑制するためのタイマ値の初期値や減算値を再検討したりすることができる。   As a result, the administrator can reinforce the device capability of the process whose processing time is long, or can review the initial value or subtraction value of the timer value for suppressing timeout.

A〜E…プロセス装置、A1〜E1…プロセス実行部、10〜40…タイマ監視部、TM…タイマ、111〜411…タイマ値設定手段、112〜412…イベント監視手段、113〜413…タイムアウト報告手段。   A to E: process device, A1 to E1 ... process execution unit, 10 to 40 ... timer monitoring unit, TM ... timer, 111 to 411 ... timer value setting means, 112 to 412 ... event monitoring means, 113 to 413 ... timeout report means.

Claims (6)

先行プロセスから受信した第1電文に応じて、後続プロセスに処理を依頼するための第2電文を送信する引継処理を実行するとともに、前記後続プロセスからの戻り電文を受信するプロセス実行部と、
タイマ値の経過を通知するタイマとに接続され、
前記プロセス実行部と前記タイマとからイベント情報を取得するタイマ監視部を備えたタイムアウト監視システムであって、
前記タイマ監視部が、
前記プロセス実行部において受信した第1電文から第1タイマ値を取得し、
前記第1タイマ値から、引継処理に必要な想定時間を減算した第2タイマ値を算出し、
前記プロセス実行部において後続プロセスに引き継ぐ第2電文に、前記第2タイマ値を設定するタイマ値設定手段と、
前記タイマにおける前記第2タイマ値の経過と、前記プロセス実行部における前記後続プロセスからの戻り電文とを待機する監視手段と、
前記戻り電文を受信する前に、前記第2タイマ値のタイムアウトを検知した場合には、タイムアウト報告を出力し、
前記第2タイマ値のタイムアウト前に、前記戻り電文を受信した場合には、前記プロセス実行部において前記戻り電文に基づく処理を許容するタイムアウト報告手段と
を備えたことを特徴とするタイムアウト監視システム。
In accordance with the first message received from the preceding process, a process execution unit for executing a takeover process for transmitting a second message for requesting the subsequent process to be processed and receiving a return message from the subsequent process;
Connected to the timer to notify the timer value
A timeout monitoring system comprising a timer monitoring unit that acquires event information from the process execution unit and the timer,
The timer monitoring unit is
Obtaining a first timer value from the first message received by the process execution unit;
Calculating a second timer value obtained by subtracting an estimated time required for the takeover process from the first timer value;
A timer value setting means for setting the second timer value in a second message to be taken over by the subsequent process in the process execution unit;
Monitoring means for waiting for elapse of the second timer value in the timer and a return message from the subsequent process in the process execution unit;
If a timeout of the second timer value is detected before receiving the return message, a timeout report is output,
A timeout monitoring system comprising: a timeout report unit that allows the process execution unit to perform processing based on the return message when the return message is received before the second timer value times out.
前記タイマ監視部は、引継処理に必要な想定時間として、既定値を予め保持していることを特徴とする請求項1に記載のタイムアウト監視システム。   The timeout monitoring system according to claim 1, wherein the timer monitoring unit holds a predetermined value in advance as an estimated time required for the takeover process. 前記タイマ監視部は、
前記プロセス実行部において受信した戻り電文に基づいて、後続する連携プロセスの要否を判断し、
新たな連携プロセスを行なう場合には、前記第1タイマ値から、前記戻り電文を受信するまでの経過時間を差し引いた残り時間を第2タイマ値として算出し、
前記プロセス実行部において、新たな連携プロセスに引き継ぐ第2電文に前記第2タイマ値を設定することを特徴とする請求項1又は2に記載のタイムアウト監視システム。
The timer monitoring unit
Based on the return message received in the process execution unit, determine the necessity of the subsequent linkage process,
When a new linkage process is performed, a remaining time obtained by subtracting an elapsed time until the return message is received from the first timer value is calculated as a second timer value;
3. The timeout monitoring system according to claim 1, wherein the process execution unit sets the second timer value in a second message to be taken over by a new linkage process. 4.
前記タイマ監視部は、
後続する連携プロセスが残っている場合には、後続する連携プロセスを行なうための残り時間と基準値とを比較し、
前記残り時間が基準値以下の場合には、タイムアウト報告を出力することを特徴とする請求項3に記載のタイムアウト監視システム。
The timer monitoring unit
If there is a subsequent linkage process, compare the remaining time for the subsequent linkage process with the reference value,
4. The timeout monitoring system according to claim 3, wherein a timeout report is output when the remaining time is equal to or less than a reference value.
前記タイマ監視部は、最初に取引要求を受け付けた場合に、取引要求の内容に基づいて、タイマ値の初期値を設定することを特徴とする請求項1〜4のいずれか一つに記載のタイムアウト監視システム。   The said timer monitoring part sets the initial value of a timer value based on the content of a transaction request, when receiving a transaction request for the first time, As described in any one of Claims 1-4 characterized by the above-mentioned. Timeout monitoring system. 先行プロセスから受信した第1電文に応じて、後続プロセスに処理を依頼するための第2電文を送信する引継処理を実行するとともに、前記後続プロセスからの戻り電文を受信するプロセス実行部と、
タイマ値の経過を通知するタイマとに接続され、
前記プロセス実行部とタイマとからイベント情報を取得するタイマ監視部を備えたタイムアウト監視システムを用いて、タイムアウトを監視するためのプログラムであって、
前記タイマ監視部を、
前記プロセス実行部において受信した第1電文から第1タイマ値を取得し、
前記第1タイマ値から、引継処理に必要な想定時間を減算した第2タイマ値を算出し、
前記プロセス実行部において後続プロセスに引き継ぐ第2電文に、前記第2タイマ値を設定するタイマ値設定手段、
前記タイマにおける前記第2タイマ値の経過と、前記プロセス実行部における前記後続プロセスからの戻り電文とを待機する監視手段、
前記戻り電文を受信する前に、前記第2タイマ値のタイムアウトを検知した場合には、タイムアウト報告を出力し、
前記第2タイマ値のタイムアウト前に、前記戻り電文を受信した場合には、前記プロセス実行部において前記戻り電文に基づく処理を許容するタイムアウト報告手段
として機能させることを特徴とするタイムアウト監視プログラム。
In accordance with the first message received from the preceding process, a process execution unit for executing a takeover process for transmitting a second message for requesting the subsequent process to be processed and receiving a return message from the subsequent process;
Connected to the timer to notify the timer value
A program for monitoring a timeout using a timeout monitoring system including a timer monitoring unit that acquires event information from the process execution unit and the timer,
The timer monitoring unit,
Obtaining a first timer value from the first message received by the process execution unit;
Calculating a second timer value obtained by subtracting an estimated time required for the takeover process from the first timer value;
Timer value setting means for setting the second timer value in a second telegram to be taken over by the subsequent process in the process execution unit;
Monitoring means for waiting for the elapse of the second timer value in the timer and a return message from the subsequent process in the process execution unit;
If a timeout of the second timer value is detected before receiving the return message, a timeout report is output,
When the return message is received before the second timer value times out, the process execution unit causes the process execution unit to function as a timeout report unit that permits processing based on the return message.
JP2010291146A 2010-12-27 2010-12-27 Timeout monitoring system and timeout monitoring program Active JP5364932B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010291146A JP5364932B2 (en) 2010-12-27 2010-12-27 Timeout monitoring system and timeout monitoring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010291146A JP5364932B2 (en) 2010-12-27 2010-12-27 Timeout monitoring system and timeout monitoring program

Publications (2)

Publication Number Publication Date
JP2012138015A true JP2012138015A (en) 2012-07-19
JP5364932B2 JP5364932B2 (en) 2013-12-11

Family

ID=46675358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010291146A Active JP5364932B2 (en) 2010-12-27 2010-12-27 Timeout monitoring system and timeout monitoring program

Country Status (1)

Country Link
JP (1) JP5364932B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020087158A (en) * 2018-11-29 2020-06-04 株式会社リコー Information processing system, information processing apparatus, program, and log information management method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000040020A (en) * 1998-07-24 2000-02-08 Hitachi Ltd Processing truncation time limit setting method for network distributed processing system
JP2003233514A (en) * 2002-02-12 2003-08-22 Hitachi Ltd Decentralized computer system and setting method for timeout value
JP2005316960A (en) * 2004-03-29 2005-11-10 Matsushita Electric Ind Co Ltd Processing terminal, receiving terminal, and processing system for received data
JP2010117757A (en) * 2008-11-11 2010-05-27 Nomura Research Institute Ltd Performance monitoring system and performance monitoring method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000040020A (en) * 1998-07-24 2000-02-08 Hitachi Ltd Processing truncation time limit setting method for network distributed processing system
JP2003233514A (en) * 2002-02-12 2003-08-22 Hitachi Ltd Decentralized computer system and setting method for timeout value
JP2005316960A (en) * 2004-03-29 2005-11-10 Matsushita Electric Ind Co Ltd Processing terminal, receiving terminal, and processing system for received data
JP2010117757A (en) * 2008-11-11 2010-05-27 Nomura Research Institute Ltd Performance monitoring system and performance monitoring method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020087158A (en) * 2018-11-29 2020-06-04 株式会社リコー Information processing system, information processing apparatus, program, and log information management method
JP7115256B2 (en) 2018-11-29 2022-08-09 株式会社リコー Information processing system, information processing device, program, and log information management method

Also Published As

Publication number Publication date
JP5364932B2 (en) 2013-12-11

Similar Documents

Publication Publication Date Title
US10348809B2 (en) Naming of distributed business transactions
US7840517B2 (en) Performance evaluating apparatus, method, and computer-readable medium
US9535749B2 (en) Methods for managing work load bursts and devices thereof
JP2018532172A (en) Method and system for resource scheduling
US20160080267A1 (en) Monitoring device, server, monitoring system, monitoring method and program recording medium
CN109584105B (en) Service response method and system
CN109787850A (en) Monitoring system, monitoring method and calculate node
WO2017112324A1 (en) Ranking system
CN107025129B (en) Data processing method and device
CN112530074A (en) Queuing and calling reminding method, device, equipment and storage medium
JP5364932B2 (en) Timeout monitoring system and timeout monitoring program
US20120054751A1 (en) Disposition determination technique
CN113419852B (en) Method, device, equipment and storage medium for responding request of micro service
US10067778B2 (en) Management system, recording medium and method for managing virtual machines
CN114039878B (en) Network request processing method and device, electronic equipment and storage medium
CN110138634B (en) Key data monitoring method and terminal
CN107665163B (en) Method and system for automatic data backtracking
CN110177077A (en) System of account processed offline method, apparatus, equipment and storage medium
JP6073211B2 (en) Server monitoring method and server monitoring system
CN115174343B (en) B/S architecture page inspection method and device and page inspection system
US11868239B1 (en) Non-blocking concurrent work in a transaction generator
JP6273867B2 (en) Job performance analysis system, job performance analysis method and program
CN112486755A (en) Server detection method, detection device, electronic equipment and storage medium
EP2166451A1 (en) Distributed data processing system
CN115022209A (en) Monitoring method, monitoring device and computer-readable storage medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130318

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: 20130730

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130821

R150 Certificate of patent or registration of utility model

Ref document number: 5364932

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

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