JP2004164253A - Queue controller and registration suppression method used therefor - Google Patents

Queue controller and registration suppression method used therefor Download PDF

Info

Publication number
JP2004164253A
JP2004164253A JP2002328959A JP2002328959A JP2004164253A JP 2004164253 A JP2004164253 A JP 2004164253A JP 2002328959 A JP2002328959 A JP 2002328959A JP 2002328959 A JP2002328959 A JP 2002328959A JP 2004164253 A JP2004164253 A JP 2004164253A
Authority
JP
Japan
Prior art keywords
queue
request
registration
information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002328959A
Other languages
Japanese (ja)
Inventor
Kazuyuki Horikoshi
和之 堀越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2002328959A priority Critical patent/JP2004164253A/en
Publication of JP2004164253A publication Critical patent/JP2004164253A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a queue controller which improves terminal operability in time of congestion of transaction processing to improve operating efficiency of a terminal operator. <P>SOLUTION: A queue registration means 123 confirms a queue limit length notified from a queue registration condition decision means 122, and acquires the number of telegrams remaining in queues 125-1 to 125-n, i.e., a queue length. When the queue length is smaller than the queue limit length, the queue registration means 123 puts the telegrams into the queues 125-1 to 125-n. When the queue length is not smaller, the queue registration means 123 does not put the telegrams into the queues 125-1 to 125-n, and calls an execution impossibility notification generation means 124 to notify a terminal device 2 of the effect that a transaction is not executed. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は待ち行列制御装置及びそれに用いる登録抑止方法に関し、特にトランザクション処理に用いられる待ち行列の制御方法に関する。
【0002】
【従来の技術】
従来、待ち行列制御方式としては、待ち行列に滞留している電文数にのみ着目し、それが事前に設定した値を超える場合に待ち行列への投入を抑止する制御を行う方法がある(例えば、特許文献1参照)。
【0003】
この方法の場合には、オンラインシステムを構成するコンピュータが端末からのデータ受信時に、該当データ処理の処理待ち行列長を検出し、予め設定した待ち行列長よりも長い時に、受信データを待ち行列に登録せず、端末オペレータに対して処理待ちが大きくなるため、データ処理を実行しない旨の通知を返送している。
【0004】
また、他の待ち行列制御方式としては、待ち行列への投入抑止をせずに、とりあえず待ち行列への投入を行い、その後、個々の電文に対して待ち時間を監視することで、待ち時間の限界に達した電文について待ちを中断する方法がある(例えば、特許文献2参照)。
【0005】
この方法の場合には、トランザクション処理装置の待ち行列キュー内に保留したトランザクションを個別に、保留を開始してからの保留経過時間の監視を行い、トランザクションが予め設定した保留限界時間に達した場合に事象を端末に通知してトランションを抑止している。
【0006】
さらに、別の待ち行列制御方式としては、CPU(中央処理装置)の統計情報に基づいて抑止制御を行う方法がある(例えば、特許文献2参照)。この方法の場合には、トランザクション量自動制御部において、トランザクション入出力部から入力したトランザクションをオンライン業務処理に振り分ける前に、系内滞留トランザクション件数としてカウントし、一定時間毎に、CPU利用率モニタ部から通知されるCPU利用率が予め設定されたCPU利用率の危険値を上回り、かつ単位時間当りの系内滞留トランザクション件数が増加傾向にあり、次回処理時にCPU利用率が100%になると判断した時、トランザクション入出力部に対して新規トランザクションの入力規制を指示している。
【0007】
【特許文献1】
特開平5−233547号公報(第2,3頁、図1)
【特許文献2】
特開2000−222357号公報(第3,4頁、図1)
【特許文献3】
特開平6−266669号公報(第2,3頁、図1)
【0008】
【発明が解決しようとする課題】
しかしながら、上述した従来の待ち行列制御方式では、上記の特許文献1の場合、待ち行列中の電文が実行され、応答が返るまでの時間が待ち行列長だけに依存するわけではないため、待ち行列長による抑止制御では応答時間の保障が困難であるという問題がある。例えば、トランザクションシステム全体が負荷状態にある時と、そうでない時とでは、同じ待ち行列長でも応答までの時間が異なるし、障害等の要因によって実行多重度の増減があった場合にも同様のことがいえる。
【0009】
また、上記の特許文献2の場合には、待ち時間の上限が保障されるものの、待ったあげくに実行されないということが繰り返される可能性があり、端末オペレータの作業効率や精神衛生上好ましいとはいえないという問題がある。
【0010】
さらに、上記の特許文献3の場合には、トランザクションのCPU使利用率に注目してそれが一定の水準を超えた場合に抑止する方式のため、実行多重度が小さくてCPU利用率が上がらない場合や、CPUを使用しないものの、DB(データベース)サーバからの応答待ち時間が長い場合に抑止がきかないため、実行多重度が小さい場合やDBサーバが別サーバとなっている場合等の抑止制御に問題がある。
【0011】
そこで、本発明の目的は上記の問題点を解消し、トランザクション処理の混雑時における端末操作性を改善し、端末オペレータの作業効率の改善を図ることができる待ち行列制御装置及びそれに用いる登録抑止方法を提供することにある。
【0012】
【課題を解決するための手段】
本発明による待ち行列制御装置は、端末装置からの要求を受付けて実行するために当該要求を待ち行列に登録する待ち行列制御装置であって、
前記要求の受付けから応答を返すまでの時間が予め設定された利用者側の許容範囲を超えるか否かを事前予測する判定手段と、前記判定手段で前記許容範囲を超えると事前予測された時に前記要求の待ち行列への登録の実行を抑止する登録手段と、前記要求の待ち行列への登録の実行を抑止した旨を前記端末装置へ通知する通知手段とを備えている。
【0013】
本発明による登録抑止方法は、端末装置からの要求を受付けて実行するために当該要求を待ち行列に登録する待ち行列制御装置の登録抑止方法であって、
前記要求の受付けから応答を返すまでの時間が予め設定された利用者側の許容範囲を超えるか否かを事前予測する第1のステップと、前記許容範囲を超えると事前予測された時に前記要求の待ち行列への登録の実行を抑止する第2のステップと、前記要求の待ち行列への登録の実行を抑止した旨を前記端末装置へ通知する第3のステップとを備えている。
【0014】
すなわち、本発明の待ち行列制御装置は、オンライントランザクション処理システムにおいて、端末からの要求を受付けてから応答を返すまでの時間が利用者側の許容範囲を超えると予想される場合に、待ち行列への登録の実行を抑止し、即座にその旨を端末へ通知する装置を提供するものである。
【0015】
より具体的に説明すると、本発明の待ち行列制御装置では、稼動情報テーブルに実行手段におけるトランザクション一件当たりの平均処理時間情報と実行手段の多重度を登録し、動作定義ファイルに利用者が待つことができる時をが予め登録しておき、これらの情報を基に待ち行列登録条件判定手段で待ち行列へ投入するための待ち行列長上限を決定する。待ち行列登録手段では待ち行列への登録に際し、待ち行列長が上限より大きいことを検出した場合に待ち行列への登録の実行を抑止する。
【0016】
これによって、本発明の待ち行列制御装置では、応答時間の事前予測による抑止制御が可能となり、トランザクション処理の混雑時における端末操作性を改善し、端末オペレータの作業効率の改善を図ることが可能となる。
【0017】
【発明の実施の形態】
次に、本発明の実施例について図面を参照して説明する。図1は本発明の一実施例によるオンライントランザクション処理システムの構成を示すブロック図である。図1においては、本発明の一実施例による待ち行列制御装置を適用したオンライントランザクション処理システムの一例を示している。
【0018】
このオンライントランザクション処理システム1は端末装置2との通信を行う通信装置11と、受信した電文の解析から実行待ち行列への投入までを行う待ち行列制御装置12と、トランザクションを実行するトランザクション処理装置13と、動作定義ファイル14と、稼働情報テーブル15とから構成されている。
通信装置11は受信手段111と、送信手段112とを含んでおり、それぞれ端末装置2からの電文受信、端末装置2への電文送信を行う。
【0019】
待ち行列制御装置12は受信電文解析手段121と、待ち行列登録条件判定手段122と、待ち行列登録手段123と、実行不可通知作成手段124と、待ち行列125−1〜125−nとを含み、これらの手段は、概略、以下のように動作する。
【0020】
受信電文解析手段121は受信した電文を解析し、必要に応じて呼び出すべきトランザクション実行手段131−1〜131−nの特定を行う。待ち行列登録条件判定手段122は受信電文解析手段121からの情報と、動作定義ファイル14に記録された情報と、稼働情報テーブル15に記録された情報とから待ち行列125−1〜125−nへ電文を投入するかしないかを判定するための待ち行列限界長の算定を行う。
【0021】
待ち行列登録手段123は待ち行列125−1〜125−nへの投入に先立って待ち行列長を確認し、その長さが待ち行列登録条件判定手段122から通知された待ち行列限界長よりも小さければ待ち行列125−1〜125−nへの投入を行い、そうでなければ投入せずに実行不可通知作成手段124を呼び出す。実行不可通知作成手段124は実行抑止した旨を記した電文を作成して送信手段112を呼び出す。
【0022】
トランザクション処理装置13はトランザクション実行手段131−1〜131−nを含み、待ち行列125−1〜125−nからの電文取出しと、その電文の実行とを行う。
【0023】
動作定義ファイル14は利用者がトランザクション処理システムの動作をカスタマイズするための情報を格納したファイルであり、本実施例においては待ち行列上限141を含むことを特徴としている。
【0024】
稼働情報テーブル15はトランザクション実行手段131−1〜131−nの稼働情報を適宜反映したテーブルであり、本実施例においてはトランザクション実行手段131−1〜131−nの多重度151及び一件当りの平均処理時間情報152を含むことを特徴としている。
【0025】
図2及び図3は本発明の一実施例による待ち行列制御装置12の動作を示すフローチャートである。これら図1〜図3を参照して本発明の一実施例による待ち行列制御装置12の動作について説明する。尚、図2は待ち行列登録条件判定手段122の詳細な動作を示し、図3は待ち行列登録手段123の詳細な動作を示している。
【0026】
まず、受信電文解析手段121では受信手段111によって端末装置2から受信した電文の正当性検証を行う。また、待ち行列125−1〜125−n及びトランザクション実行手段131−1〜131−nが業務等の特性によって2つ以上に分かれて存在する場合には、電文内容から投入すべき待ち行列125−1〜125−nの決定を行う。解析した結果、問題があった場合には実行不可通知作成手段124によって端末装置2への応答を作成して送信する。
【0027】
待ち行列登録条件判定手段122では、まず、利用者が定義した動作定義ファイル14から待ち時間上限141を取込み、待ち時間上限141をW1とする(図2ステップS1)。
【0028】
次に、待ち行列登録条件判定手段122は稼働情報テーブル15からトランザクション実行手段131−1〜131−nの多重度151を取込み、この多重度151をM1とする(図2ステップS2)。
【0029】
上記と同様に、待ち行列登録条件判定手段122は稼働情報テーブル15からトランザクション実行手段131−1〜131−nでトランザクション一件の処理に必要な時間を記録した平均処理時間情報152を取込み、この平均処理時間情報152をT1とする(図2ステップS3)。
【0030】
待ち行列登録条件判定手段122では、上述した情報を基に、待ち行列限界長[=W1/(T1/M1)]を算出し(図2ステップS4)、受信電文とともに待ち行列登録手段123へ通知する(図2ステップS5)。
【0031】
待ち行列登録手段123では、まず、待ち行列登録条件判定手段122から通知された待ち行列限界長を確認し、その待ち行列限界長をQLとする(図3ステップS11)。
【0032】
次に、待ち行列登録手段123は待ち行列125−1〜125−nに滞留している電文の数、つまり待ち行列長を取得し、その待ち行列長をQ1とする(図3ステップS12)。
【0033】
ここで、待ち行列長Q1が待ち行列限界長QLよりも小さければ(Q1<QL)(図3ステップS13)、待ち行列125−1〜125−nへの電文投入を行い(図3ステップS14)、そうでなければ(図3ステップS13)、待ち行列125−1〜125−nへの投入を行わずに、実行不可通知作成手段124を呼び出し(図3ステップS15)、端末装置2へトランザクションを実行しなかった旨の通知を行う。
【0034】
実行不可通知作成手段124は受信電文解析手段121や待ち行列登録手段123からの通知を受取り、端末装置2に対してトランザクションを実行しなかった旨の通知電文を作成して送信手段112経由で端末装置2へ事象通知する。
【0035】
図4は本発明の一実施例によるオンライントランザクション処理システム1の具体例を示すブロック図である。この図4を参照して本発明の一実施例によるオンライントランザクション処理システム1の動作について説明する。
【0036】
図4において、動作定義情報ファイル14には「AP1」という業務について10秒が待てる上限であり、「AP2」という業務について60秒が待てる上限であると利用者によって予め設定されている。
【0037】
また、稼動情報テーブル15にはトランザクション実行手段131−1〜131−nの稼動情報が随時反映されるようになっており、現時点では「AP1」の業務が5多重で実行されており、その平均処理時間が1件当り2秒であり、また、「AP2」の業務が2多重で実行されており、その平均処理時間が1件当り10秒であると記録されている。
【0038】
この状態において、端末装置2から受付けた電文は受信電文解析手段121によって解析され、ここではその投入先業務が「AP1」であると解析され、その旨が次の待ち行列登録条件判定手段122に通知される。
【0039】
待ち行列登録条件判定手段122では動作定義ファイル14及び稼動情報テーブル15から業務名「AP1」に関する情報を取得し、それらの情報から判断して待ち行列125−1〜125nに滞留している電文が25件未満であれば、待ち行列125−1〜125−nへの投入を行い、25件以上であれば、待ち行列125−1〜125−nへの投入を抑止することを決定し、待ち行列登録手段123へその旨を伝える。
【0040】
待ち行列登録手段123では業務名「AP1」向けの待ち行列125−1〜125−nへの投入直前に電文滞留件数を確認したところ、電文滞留件数が25件であったため、ここでは待ち行列125−1〜125−nへの投入を抑止して実行回避通知作成手段124へ端末装置2への応答電文作成を依頼する。
【0041】
このように、本実施例では、応答時間が許容範囲に収まると予測した場合にのみ待ち行列125−1〜125−nへの投入の実行待ちを行い、収まらないと予測した場合に即座にその旨を端末装置2に応答することによって、端末装置2のオペレータの待ち時間が指定時間以内に抑えられるため、トランザクション処理の混雑時における端末操作性を改善し、端末オペレータの作業効率の改善を図ることできる。
【0042】
【発明の効果】
以上説明したように本発明は、端末装置からの要求を受付けて実行するために当該要求を待ち行列に登録する待ち行列制御装置において、要求の受付けから応答を返すまでの時間が予め設定された利用者側の許容範囲を超えるか否かを事前予測し、許容範囲を超えると事前予測された時に要求の待ち行列への登録の実行を抑止し、要求の待ち行列への登録の実行を抑止した旨を端末装置へ通知することによって、トランザクション処理の混雑時における端末操作性を改善し、端末オペレータの作業効率の改善を図ることができるという効果が得られる。
【図面の簡単な説明】
【図1】本発明の一実施例によるオンライントランザクション処理システムの構成を示すブロック図である。
【図2】図1の待ち行列登録条件判定手段の詳細な動作を示すフローチャートである。
【図3】図1の待ち行列登録手段の詳細な動作を示すフローチャートである。
【図4】本発明の一実施例によるオンライントランザクション処理システムの具体例を示すブロック図である。
【符号の説明】
1 オンライントランザクション処理システム
2 端末装置
11 通信装置
12 待ち行列制御装置
13 トランザクション処理装置
14 動作定義ファイル
15 稼働情報テーブル
111 受信手段
112 送信手段
121 受信電文解析手段
122 待ち行列登録条件判定手段
123 待ち行列登録手段
124 実行不可通知作成手段
125−1〜125−n 待ち行列
131−1〜131−n トランザクション実行手段
141 待ち行列上限
151 多重度
152 平均処理時間情報
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a queue control device and a registration suppression method used therefor, and more particularly to a queue control method used for transaction processing.
[0002]
[Prior art]
Conventionally, as a queue control method, there is a method in which attention is paid only to the number of messages staying in a queue, and control is performed to suppress entry into the queue when the number exceeds a value set in advance (for example, And Patent Document 1).
[0003]
In the case of this method, when the computer constituting the online system receives data from the terminal, it detects the processing queue length of the corresponding data processing, and when the data is longer than the preset queue length, the received data is queued. Without registration, the terminal operator is notified of the fact that the data processing is not to be performed because the waiting time for the processing becomes large.
[0004]
In addition, as another queue control method, without entering the queue, the queue is first entered, and then the waiting time is monitored for each message, so that the waiting time can be reduced. There is a method of suspending waiting for a message that has reached a limit (for example, see Patent Document 2).
[0005]
In the case of this method, the transactions held in the queue of the transaction processing device are individually monitored, and the elapsed time from the start of the hold is monitored, and when the transaction reaches a preset hold limit time. The event is reported to the terminal to suppress the transition.
[0006]
Further, as another queue control method, there is a method of performing suppression control based on statistical information of a CPU (Central Processing Unit) (for example, see Patent Document 2). In the case of this method, the transaction amount automatic control unit counts the transactions input from the transaction input / output unit as the number of in-system stale transactions before allocating the transactions to the online business processing, and periodically updates the CPU utilization monitoring unit. The CPU utilization notified from the server exceeds the risk value of the preset CPU utilization, and the number of transactions staying in the system per unit time tends to increase, and it is determined that the CPU utilization becomes 100% at the next processing. At this time, the transaction input / output unit is instructed to restrict input of a new transaction.
[0007]
[Patent Document 1]
JP-A-5-233547 (pages 2, 3; FIG. 1)
[Patent Document 2]
JP-A-2000-222357 (pages 3 and 4, FIG. 1)
[Patent Document 3]
JP-A-6-266669 (pages 2, 3; FIG. 1)
[0008]
[Problems to be solved by the invention]
However, in the conventional queuing control method described above, in the case of the above-mentioned Patent Document 1, the time until a message in the queue is executed and a response is returned does not depend only on the queue length. There is a problem that it is difficult to guarantee the response time in the suppression control by the head. For example, when the entire transaction system is in a load state and when it is not, the response time differs even with the same queue length, and the same applies when the execution multiplicity increases or decreases due to a failure or the like. I can say that.
[0009]
Further, in the case of Patent Document 2 described above, although the upper limit of the waiting time is guaranteed, there is a possibility that repeated execution will not be performed after waiting, which is preferable in terms of work efficiency and mental health of the terminal operator. There is no problem.
[0010]
Further, in the case of the above-mentioned Patent Document 3, since the CPU utilization of a transaction is focused on and is suppressed when it exceeds a certain level, the execution multiplicity is small and the CPU utilization does not increase. In the case where the CPU is not used but the response waiting time from the DB (database) server is long, the suppression cannot be performed. Therefore, the suppression control is performed when the execution multiplicity is small or when the DB server is another server. There's a problem.
[0011]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the above-mentioned problems, improve the terminal operability when transaction processing is congested, and improve the work efficiency of a terminal operator, and a registration suppression method used therefor. Is to provide.
[0012]
[Means for Solving the Problems]
A queuing control device according to the present invention is a queuing control device that registers a request in a queue to receive and execute a request from a terminal device,
Determining means for predicting in advance whether or not the time from the reception of the request to returning the response exceeds a predetermined allowable range on the user side, and when the determining means predicts in advance that the time exceeds the allowable range. A registration unit for inhibiting execution of the request in the queue; and a notifying unit for notifying the terminal device that the execution of the request in the queue is inhibited.
[0013]
A registration suppression method according to the present invention is a registration suppression method for a queue control device that registers a request in a queue to accept and execute a request from a terminal device,
A first step of predicting in advance whether the time from receiving the request until returning a response exceeds a preset allowable range on the user side; And a third step of notifying the terminal device that the execution of the registration of the request in the queue has been suppressed.
[0014]
That is, in the online transaction processing system, the queuing control device of the present invention, when it is expected that the time from receiving a request from a terminal to returning a response is expected to exceed the allowable range on the user side, the queue control device The present invention provides a device that suppresses the execution of registration of a terminal and immediately notifies the terminal of the fact.
[0015]
More specifically, in the queue control device of the present invention, the average processing time information per transaction in the execution unit and the multiplicity of the execution unit are registered in the operation information table, and the user waits in the operation definition file. The time at which the queue can be used is registered in advance, and the queue registration condition determination means determines the upper limit of the queue length for entering the queue based on the information. The queue registration means inhibits the execution of the registration in the queue when it detects that the queue length is larger than the upper limit.
[0016]
As a result, the queuing control device of the present invention enables suppression control by predicting the response time in advance, improves terminal operability when transaction processing is congested, and improves terminal operator work efficiency. Become.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an online transaction processing system according to one embodiment of the present invention. FIG. 1 shows an example of an online transaction processing system to which a queue control device according to an embodiment of the present invention is applied.
[0018]
The online transaction processing system 1 includes a communication device 11 that communicates with the terminal device 2, a queue control device 12 that performs processing from analysis of a received message to entry into an execution queue, and a transaction processing device 13 that executes a transaction. , An operation definition file 14, and an operation information table 15.
The communication device 11 includes a receiving unit 111 and a transmitting unit 112, and performs reception of a message from the terminal device 2 and transmission of a message to the terminal device 2, respectively.
[0019]
The queue control device 12 includes a received message analysis unit 121, a queue registration condition determination unit 122, a queue registration unit 123, an execution impossible notification creation unit 124, and queues 125-1 to 125-n. These means operate roughly as follows.
[0020]
The received message analysis unit 121 analyzes the received message and specifies the transaction execution units 131-1 to 131-n to be called as necessary. The queue registration condition judging unit 122 enters the queues 125-1 to 125-n from the information from the received message analyzing unit 121, the information recorded in the operation definition file 14, and the information recorded in the operation information table 15. Calculate the queue limit length to determine whether to send a message.
[0021]
The queue registration unit 123 confirms the queue length prior to the entry into the queues 125-1 to 125-n, and if the length is smaller than the queue limit length notified from the queue registration condition determination unit 122. For example, it submits to the queues 125-1 to 125-n, otherwise calls the execution-impossible-notification creating means 124 without submitting. The execution-impossible-notification creating unit 124 creates a message indicating that execution has been suppressed, and calls the transmitting unit 112.
[0022]
The transaction processing device 13 includes transaction execution means 131-1 to 131-n, and fetches a message from the queues 125-1 to 125-n and executes the message.
[0023]
The operation definition file 14 is a file storing information for a user to customize the operation of the transaction processing system, and is characterized in that the operation definition file 14 includes a queue upper limit 141 in this embodiment.
[0024]
The operation information table 15 is a table which appropriately reflects the operation information of the transaction execution units 131-1 to 131-n. In the present embodiment, the multiplicity 151 of the transaction execution units 131-1 to 131-n and the number of transactions It is characterized by including the average processing time information 152.
[0025]
2 and 3 are flowcharts showing the operation of the queue control device 12 according to one embodiment of the present invention. The operation of the queue control device 12 according to one embodiment of the present invention will be described with reference to FIGS. FIG. 2 shows a detailed operation of the queue registration condition determining means 122, and FIG. 3 shows a detailed operation of the queue registration means 123.
[0026]
First, the received message analyzer 121 verifies the validity of the message received from the terminal device 2 by the receiver 111. When the queues 125-1 to 125-n and the transaction execution units 131-1 to 131-n are divided into two or more according to the characteristics of the business or the like, the queue 125- to be put in from the message content is used. Make a determination of 1-125-n. As a result of the analysis, if there is a problem, a response to the terminal device 2 is created and transmitted by the non-executable notice creating unit 124.
[0027]
The queue registration condition determining means 122 first takes in the upper limit 141 of the waiting time from the operation definition file 14 defined by the user, and sets the upper limit 141 of the waiting time to W1 (step S1 in FIG. 2).
[0028]
Next, the queue registration condition judging means 122 fetches the multiplicity 151 of the transaction executing means 131-1 to 131-n from the operation information table 15, and sets the multiplicity 151 to M1 (step S2 in FIG. 2).
[0029]
Similarly to the above, the queue registration condition determining means 122 fetches the average processing time information 152 in which the transaction execution means 131-1 to 131-n records the time required for processing one transaction from the operation information table 15, and The average processing time information 152 is set to T1 (step S3 in FIG. 2).
[0030]
The queue registration condition determination means 122 calculates a queue limit length [= W1 / (T1 / M1)] based on the above information (step S4 in FIG. 2), and notifies the queue registration means 123 together with the received message. (Step S5 in FIG. 2).
[0031]
The queue registration unit 123 first checks the queue limit length notified from the queue registration condition determination unit 122, and sets the queue limit length to QL (step S11 in FIG. 3).
[0032]
Next, the queue registration unit 123 acquires the number of messages staying in the queues 125-1 to 125-n, that is, the queue length, and sets the queue length to Q1 (step S12 in FIG. 3).
[0033]
Here, if the queue length Q1 is smaller than the queue limit length QL (Q1 <QL) (step S13 in FIG. 3), a message is input to the queues 125-1 to 125-n (step S14 in FIG. 3). Otherwise (step S13 in FIG. 3), the non-executable-notification creating unit 124 is called without entering the queues 125-1 to 125-n (step S15 in FIG. 3), and the transaction is transmitted to the terminal device 2. Notify that it was not executed.
[0034]
The execution-impossible-notification creating unit 124 receives the notification from the received-message analyzing unit 121 and the queue registering unit 123, creates a notification message indicating that the transaction was not executed to the terminal device 2, The event is notified to the device 2.
[0035]
FIG. 4 is a block diagram showing a specific example of the online transaction processing system 1 according to one embodiment of the present invention. The operation of the online transaction processing system 1 according to one embodiment of the present invention will be described with reference to FIG.
[0036]
In FIG. 4, the user has previously set in the operation definition information file 14 that the upper limit of waiting for 10 seconds for the operation “AP1” and the upper limit of 60 seconds for the operation of “AP2”.
[0037]
The operation information table 15 reflects the operation information of the transaction execution units 131-1 to 131-n as needed. At this time, the operation of "AP1" is executed in five multiplexes, It is recorded that the processing time is 2 seconds per case, and that the work of "AP2" is executed in duplicate, and the average processing time is 10 seconds per case.
[0038]
In this state, the message received from the terminal device 2 is analyzed by the received message analysis unit 121, and here, the input job is analyzed to be “AP1”, and the fact is transmitted to the next queue registration condition determination unit 122. Notified.
[0039]
The queue registration condition determining unit 122 acquires information on the business name “AP1” from the operation definition file 14 and the operation information table 15, and determines from the information based on the information that the message staying in the queues 125-1 to 125n is determined. If the number is less than 25, it is determined that the input to the queues 125-1 to 125-n is performed. If the number is more than 25, it is determined that the input to the queues 125-1 to 125-n is to be suppressed. The fact is notified to the queue registration means 123.
[0040]
When the queue registration unit 123 checks the number of messages stored in the queue immediately before entering the queues 125-1 to 125-n for the business name "AP1", the number of messages stored was 25. -1 to 125-n are suppressed, and the execution avoidance notice creating means 124 is requested to create a response message to the terminal device 2.
[0041]
As described above, in the present embodiment, the execution of the input to the queues 125-1 to 125-n is waited only when the response time is predicted to fall within the allowable range, and immediately when the response time is predicted not to fall within the allowable range. By responding to the terminal device 2 to the effect that the waiting time of the operator of the terminal device 2 can be suppressed within the designated time, the terminal operability at the time of congestion of transaction processing is improved, and the work efficiency of the terminal operator is improved. I can do it.
[0042]
【The invention's effect】
As described above, according to the present invention, in a queuing control device that registers a request from a terminal device in a queue in order to receive and execute the request, a time period from receiving the request to returning a response is set in advance. Predict whether or not it exceeds the allowable range on the user side, and when it is predicted to exceed the allowable range, suppress execution of request enqueue in the queue and inhibit execution of request enqueue in the queue. By notifying the terminal device that the operation has been performed, it is possible to obtain an effect that the terminal operability during congestion of the transaction processing can be improved and the work efficiency of the terminal operator can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an online transaction processing system according to one embodiment of the present invention.
FIG. 2 is a flowchart showing a detailed operation of a queue registration condition determining means of FIG. 1;
FIG. 3 is a flowchart showing a detailed operation of a queue registration unit of FIG. 1;
FIG. 4 is a block diagram showing a specific example of an online transaction processing system according to one embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Online transaction processing system 2 Terminal device 11 Communication device 12 Queue control device 13 Transaction processing device 14 Operation definition file 15 Operation information table 111 Receiving means 112 Transmission means 121 Received message analysis means 122 Queue registration condition judgment means 123 Queue registration Means 124 Non-executable notification creating means 125-1 to 125-n Queues 131-1 to 131-n Transaction executing means 141 Queue upper limit 151 Multiplicity 152 Average processing time information

Claims (6)

端末装置からの要求を受付けて実行するために当該要求を待ち行列に登録する待ち行列制御装置であって、
前記要求の受付けから応答を返すまでの時間が予め設定された利用者側の許容範囲を超えるか否かを事前予測する判定手段と、前記判定手段で前記許容範囲を超えると事前予測された時に前記要求の待ち行列への登録の実行を抑止する登録手段と、前記要求の待ち行列への登録の実行を抑止した旨を前記端末装置へ通知する通知手段とを有することを特徴とする待ち行列制御装置。
A queuing control device for registering the request in a queue to receive and execute the request from the terminal device,
Determining means for predicting in advance whether or not the time from the reception of the request to returning the response exceeds a predetermined allowable range on the user side, and when the determining means predicts in advance that the time exceeds the allowable range. A queue comprising: a registration unit that suppresses execution of registration of the request in a queue; and a notification unit that notifies the terminal device that execution of registration of the request in the queue is inhibited. Control device.
前記要求の実行手段における一件当たりの平均処理時間情報と前記実行手段の多重度とを登録する稼動情報テーブルと、前記利用者側が待つことができる時間が予め登録された動作定義ファイルとを含み、
前記判定手段は、前記稼動情報テーブルの情報と前記動作定義ファイルの情報とを基に前記許容範囲を超えるか否かを事前予測することを特徴とする請求項1記載の待ち行列制御装置。
An operation information table for registering the average processing time information per case in the request execution unit and the multiplicity of the execution unit, and an operation definition file in which the user can wait for a time in advance. ,
2. The queuing control device according to claim 1, wherein the determination unit predicts in advance whether or not the allowable range is exceeded, based on information in the operation information table and information in the operation definition file.
前記判定手段は、前記稼動情報テーブルの情報と前記動作定義ファイルの情報とを基に前記待ち行列へ投入するための待ち行列長上限を決定し、
前記登録手段は、前記要求の前記待ち行列への登録に際してその待ち行列長が前記判定手段で算出された前記待ち行列長上限より大きいことを検出した時に前記要求の前記待ち行列への登録を抑止することを特徴とする請求項2記載の待ち行列制御装置。
The determining means determines a queue length upper limit for putting into the queue based on the information of the operation information table and the information of the operation definition file,
The registration unit suppresses registration of the request in the queue when detecting that the queue length is larger than the queue length upper limit calculated by the determination unit when registering the request in the queue. 3. The queuing control device according to claim 2, wherein:
端末装置からの要求を受付けて実行するために当該要求を待ち行列に登録する待ち行列制御装置の登録抑止方法であって、
前記要求の受付けから応答を返すまでの時間が予め設定された利用者側の許容範囲を超えるか否かを事前予測する第1のステップと、前記許容範囲を超えると事前予測された時に前記要求の待ち行列への登録の実行を抑止する第2のステップと、前記要求の待ち行列への登録の実行を抑止した旨を前記端末装置へ通知する第3のステップとを有することを特徴とする登録抑止方法。
A method for suppressing registration of a queuing control device that registers a request in a queue to receive and execute a request from a terminal device,
A first step of predicting in advance whether the time from receiving the request until returning a response exceeds a preset allowable range on the user side; And a third step of notifying the terminal device that execution of the registration of the request in the queue has been suppressed. Registration suppression method.
前記第1のステップは、前記要求の実行手段における一件当たりの平均処理時間情報と前記実行手段の多重度とを登録する稼動情報テーブルの情報と、前記利用者側が待つことができる時間が予め登録された動作定義ファイルの情報とを基に前記許容範囲を超えるか否かを事前予測することを特徴とする請求項4記載の登録抑止方法。
待ち行列制御装置。
The first step includes: an operation information table for registering average processing time information per case in the request execution unit and a multiplicity of the execution unit; and a time in which the user can wait in advance. 5. The registration suppression method according to claim 4, wherein whether or not the allowable range is exceeded is predicted in advance based on information of the registered operation definition file.
Queue control unit.
前記第1のステップは、前記稼動情報テーブルの情報と前記動作定義ファイルの情報とを基に前記待ち行列へ投入するための待ち行列長上限を決定し、
前記第2のステップは、前記要求の前記待ち行列への登録に際してその待ち行列長が前記待ち行列長上限より大きいことを検出した時に前記要求の前記待ち行列への登録を抑止することを特徴とする請求項5記載の登録抑止方法。
The first step determines a queue length upper limit for putting into the queue based on the information of the operation information table and the information of the operation definition file,
The second step is characterized in that when the request is registered in the queue, when the queue length is detected to be larger than the queue length upper limit, the request is prevented from being registered in the queue. 6. The registration suppression method according to claim 5, wherein:
JP2002328959A 2002-11-13 2002-11-13 Queue controller and registration suppression method used therefor Pending JP2004164253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002328959A JP2004164253A (en) 2002-11-13 2002-11-13 Queue controller and registration suppression method used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002328959A JP2004164253A (en) 2002-11-13 2002-11-13 Queue controller and registration suppression method used therefor

Publications (1)

Publication Number Publication Date
JP2004164253A true JP2004164253A (en) 2004-06-10

Family

ID=32807089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002328959A Pending JP2004164253A (en) 2002-11-13 2002-11-13 Queue controller and registration suppression method used therefor

Country Status (1)

Country Link
JP (1) JP2004164253A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006221516A (en) * 2005-02-14 2006-08-24 Kobe Steel Ltd Communication server setting value determining device, its program and its method
JP2010206595A (en) * 2009-03-04 2010-09-16 Nec Corp Transaction processing apparatus, congestion control method in the same, and program
JP2011164734A (en) * 2010-02-05 2011-08-25 Nippon Telegr & Teleph Corp <Ntt> System and method for processing stream data, data storage device, and program
JP2013222407A (en) * 2012-04-18 2013-10-28 Bank Of Tokyo-Mitsubishi Ufj Ltd System having flow rate control function
US10983836B2 (en) 2018-08-13 2021-04-20 International Business Machines Corporation Transaction optimization during periods of peak activity

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006221516A (en) * 2005-02-14 2006-08-24 Kobe Steel Ltd Communication server setting value determining device, its program and its method
JP4646649B2 (en) * 2005-02-14 2011-03-09 株式会社神戸製鋼所 COMMUNICATION SERVER SETTING VALUE DETERMINING DEVICE, ITS PROGRAM, AND ITS METHOD
JP2010206595A (en) * 2009-03-04 2010-09-16 Nec Corp Transaction processing apparatus, congestion control method in the same, and program
JP2011164734A (en) * 2010-02-05 2011-08-25 Nippon Telegr & Teleph Corp <Ntt> System and method for processing stream data, data storage device, and program
JP2013222407A (en) * 2012-04-18 2013-10-28 Bank Of Tokyo-Mitsubishi Ufj Ltd System having flow rate control function
US10983836B2 (en) 2018-08-13 2021-04-20 International Business Machines Corporation Transaction optimization during periods of peak activity

Similar Documents

Publication Publication Date Title
US11157061B2 (en) Processor management via thread status
WO2019169724A1 (en) Server concurrency control method and device, computer device, and storage medium
US7840517B2 (en) Performance evaluating apparatus, method, and computer-readable medium
JP7020616B2 (en) Methods and systems for resource scheduling
US6167538A (en) Method and apparatus for monitoring components of a computer system
EP2108154B1 (en) Distributed task system and distributed task management method
US8387059B2 (en) Black-box performance control for high-volume throughput-centric systems
US9189272B2 (en) Information processing apparatus, computer program, and method for controlling execution of jobs
JP2007529080A (en) System and method for an application server with overload prevention
JP2007207219A (en) Computer system management method, management server, computer system, and program
JP2007052478A (en) Job management device, job management method, job management program
JP4834622B2 (en) Business process operation management system, method, process operation management apparatus and program thereof
JP2007249829A (en) Communication system between internal networks, information processor and repeating information processor, communication control program, communication control method between internal networks, remote fault management system, managed device, and management device
JP2004164253A (en) Queue controller and registration suppression method used therefor
US10303404B2 (en) Method for operating a print server for digital high-capacity printing systems
US11487623B2 (en) Information processing system
JP2008003736A (en) Method of warning shortage of computer resource
JP2018116518A (en) Job monitoring program, job monitoring device, and job monitoring method
JP2006012065A (en) Resource load adjustment management system
US9270742B2 (en) Computer system and control method of computer system
JP5476208B2 (en) Request processing system, method and program
JP2010122818A (en) Computer system and computer
JP3736680B2 (en) Access control apparatus and computer program
JP2020204897A (en) Information processing device, information processing system and program
JP5870635B2 (en) Processing request execution management apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A02 Decision of refusal

Effective date: 20070515

Free format text: JAPANESE INTERMEDIATE CODE: A02