JPH0210437A - Management method for timer request - Google Patents

Management method for timer request

Info

Publication number
JPH0210437A
JPH0210437A JP63161168A JP16116888A JPH0210437A JP H0210437 A JPH0210437 A JP H0210437A JP 63161168 A JP63161168 A JP 63161168A JP 16116888 A JP16116888 A JP 16116888A JP H0210437 A JPH0210437 A JP H0210437A
Authority
JP
Japan
Prior art keywords
timer
request
time
cancellation
cancel
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
JP63161168A
Other languages
Japanese (ja)
Other versions
JPH0833826B2 (en
Inventor
Naoko Kodate
小舘 直子
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63161168A priority Critical patent/JPH0833826B2/en
Publication of JPH0210437A publication Critical patent/JPH0210437A/en
Publication of JPH0833826B2 publication Critical patent/JPH0833826B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To accurately forecast the cancel occurrence time at a high speed by managing a timer request with a queue generated in the order of timer cancel occurrence. CONSTITUTION:When receiving a timer cancel request, a system 13 outputs a cancel reception completion signal. Then, a timer cancel processing part 14 gives the cancel reception completion signal to a process 10 and turns off a pertinent queue of a management table 15. Log information is gathered and gathered data is written in a log buffer 16. Data written in the log buffer 16 is sent to a statistical information part 12. A timer request processing part 11 totalizes data for each request source and each processing classification to statistically obtain the time, when a cancel request may occur, and manages queues of the management table 15 by the queue generated in the order of timer cancel request occurrence.

Description

【発明の詳細な説明】 [概要] プロセスからシステムに対してタイムアウト通知依頼(
以下単にタイマ依頼と略す)を行う際のタイマ依頼の管
理方法に関し、 より正確なキャンセル発生時刻をシステムとして予測す
ることを目的とし、 タイムアウト通知依頼の順序(キューイング)を定める
管理用テーブルを用意し、 プロセスからシステムに対してタイムアウト通知依頼を
送出した後、当該システムから応答される受付完了信号
を受け、次にプロセスから所定の処理終了後にシステに
対しタイマキャンセル依頼を送出し、システムから応答
されるキャンセル受付完了信号を受けるとタイマ値、実
処理時間等のログ情報を採取し、採取したログ情報に基
づいてキャンセル依頼が発生すると思われる時刻を統計
的に求め、前記管理用テーブルのキューをタイマキャン
セル依頼発生順に生成したキューで管理するように構成
する。
[Detailed Description of the Invention] [Summary] A timeout notification request (
Regarding the method of managing timer requests (hereinafter simply referred to as timer requests), we have prepared a management table that determines the order (queuing) of timeout notification requests in order to more accurately predict the time when cancellation will occur as a system. After the process sends a timeout notification request to the system, it receives an acceptance completion signal from the system, and then after the process completes the specified processing, it sends a timer cancellation request to the system, and the system responds. When the cancellation reception completion signal is received, log information such as the timer value and actual processing time is collected, and based on the collected log information, the time when the cancellation request is expected to occur is statistically determined, and the time when the cancellation request is expected to occur is calculated. are managed in a queue generated in the order in which timer cancellation requests occur.

[産業上の利用分野1 本発明は、プロセスからシステムに対してタイムアウト
通知依頼(以下単にタイマ依頼と略す)を行う際のタイ
マ依頼の管理方法に関する。
[Industrial Application Field 1] The present invention relates to a timer request management method when a process requests a timeout notification (hereinafter simply referred to as a timer request) to a system.

プロセスからは、システムに対して種々のタイマ依頼が
行われる。この場合においては、この樟のシステムにお
いては、各種のタイマ依頼に対して最も効率よくその処
理を行うことが要求される。
The process makes various timer requests to the system. In this case, this system is required to process various timer requests in the most efficient manner.

[従来の技術] プロセスである種のタスク処理を実行する場合、まずプ
ロセスからシステムに対してタイマ依頼を行う。そして
システム内のタイマは依頼を受けると、プロセスに対し
て受付完了信号を送出する。
[Prior Art] When a process executes a certain type of task processing, the process first requests a timer to the system. When the timer in the system receives the request, it sends an acceptance completion signal to the process.

プロセス側ではシステムからの受付完了信号を持つて、
所定の処理を開始し、処理終了後にシステム内のタイマ
に対するタイマキャンセル依頼を行う。タイマは予め定
められた時間をカウントし、当該カウントが終了すると
システム側からプロセス側に対してタイムアウト信号を
送出する。プロセス側では、このタイムアウト信号が入
力されるまでの間に所定のタスク処理を終了していなけ
ればならない。つまり、プロセスが正常な場合には、タ
イムアウト信号が発生するまでの間にタイマキャンセル
依頼を行う必要がある。タイムアウト信号がプロセスに
入力された時に処理が終了していない場合には、異常処
理を行う。
The process side receives an acceptance completion signal from the system,
A predetermined process is started, and after the process is finished, a timer cancellation request is made to a timer in the system. The timer counts a predetermined time, and when the count ends, the system side sends a timeout signal to the process side. On the process side, the predetermined task processing must be completed before this timeout signal is input. In other words, if the process is normal, it is necessary to request timer cancellation before the timeout signal is generated. If the process has not finished when the timeout signal is input to the process, abnormal processing is performed.

ここでタイマ依頼を行う時には、タイマ管理用のテーブ
ルを設けている。ここで、キューイングの方法としては
タイマ依頼に対してタイマキャンセル(タスク処理終了
後のタイマキャンセル依頼信号)が起きる時刻を求め、
その順番にバッファのリンクを行っている。
When making a timer request here, a table for timer management is provided. Here, the queuing method is to find the time when timer cancellation (timer cancellation request signal after task processing is completed) occurs in response to a timer request,
Buffers are linked in that order.

第8図は従来方法によるタイマキャンセル発生時刻の求
め方の説明図である。管理用バッファ1には、タイマ1
0.タイマ値、実所置時間割合及びタイマキセンセル発
生時刻等が格納される。時刻算出部2では、管理用バッ
ファ1のタイマ値と実所及時間割j合からタイマキャン
セル発生時刻を算出し、管理用バッファ1のタイマキャ
ンセル発生時刻領域に格納する。タイマキャンセル発生
時刻は、現時刻に実所要時間を加算することにより算出
される。タイマキせンセル発生時刻は、次式%式% 現時刻+(タイマ値)/(実所要時間割り合)ここで、
タイマ値はタスク処理のタイムリミツトまでの時間であ
り、実所要時間か1合は依頼したタイマ値に対して実際
の所要時間の占める割合である。なお、タイマ値、実所
要時間の割合はプロセス依頼元からのパラメータとして
与えられる。
FIG. 8 is an explanatory diagram of how to determine timer cancellation occurrence time using a conventional method. Management buffer 1 contains timer 1.
0. The timer value, actual location time ratio, timer maximum cell generation time, etc. are stored. The time calculation unit 2 calculates the timer cancellation occurrence time from the timer value of the management buffer 1 and the actual time ratio j, and stores it in the timer cancellation occurrence time area of the management buffer 1. The timer cancellation occurrence time is calculated by adding the actual required time to the current time. The timer cell generation time is calculated using the following formula: Current time + (timer value) / (actual required time percentage) where:
The timer value is the time until the time limit for task processing, and the actual required time is the ratio of the actual required time to the requested timer value. Note that the timer value and the ratio of the actual required time are given as parameters from the process requester.

方、管理用テーブル3にはタイムアウト通知依頼用のキ
ューの先頭バッファアドレスから最終バッファアドレス
が格納されており、タイマ要求順に格納されている。そ
して、管理用バッファ1のタイマキャンセル発生時刻を
元に管理用テーブルのバッフ?をサーチし、目的のバッ
ファが見つかったらキューイングを行い、当該キューを
オフにする。
On the other hand, the management table 3 stores the first buffer address to the last buffer address of the queue for timeout notification requests, and is stored in the order of timer requests. Based on the timer cancellation occurrence time of management buffer 1, the management table buffer? When the desired buffer is found, queuing is performed and the queue is turned off.

[発明が解決しようとする課題] 前述した実所要時間の割合は、依頼元からのパラメータ
であり、依頼元の指定の仕方に依存している。従って、
タイマキ1アンセルの発生する時刻は、正確にはタイマ
キャンセルが起きると予測される時刻であり、それを基
に生成されているタイマ依頼のキューの並び順は信頼性
が十分にあるとはいえない。このように、タイマキャン
セルが起きる時刻を固定値として持っていると、キュー
の並び順にタイマキャンセルが発生するとは限らないた
め、キューのサーチが効率的でなくなる。
[Problems to be Solved by the Invention] The ratio of the actual required time described above is a parameter from the requester and depends on how the requester specifies it. Therefore,
The time at which timer 1 uncell occurs is precisely the time at which timer cancellation is predicted to occur, and the order in which the timer request queue is generated based on this cannot be said to be sufficiently reliable. . In this way, if the time at which timer cancellation occurs is held as a fixed value, timer cancellation does not necessarily occur in the order in which the queues are arranged, making queue searches inefficient.

本発明はこのような課題に鑑みてなされたものであって
、より正確なキ!?ンセル発生時刻をシステムとして予
測することができるタイマ依頼の管理方法を提供するこ
とを目的としている。
The present invention has been made in view of such problems, and is a more accurate key! ? The purpose of this invention is to provide a timer request management method that allows the system to predict the time when a cell occurs.

[課題を解決するための手段] 第1図は本発明方法の原理を示すフローチャー]〜であ
る。本発明はプロセスからシステムに対してタイムアウ
ト通知依頼を行う場合において、タイムアウト通知依頼
の順序(キューイング)を定める管理用テーブルを用意
しくステップ1)、プロセスからシステムに対してタイ
ムアウト通知依頼を送出した後、当該システムから応答
される受付完了信号を受け(ステップ2)、次にプロセ
スから所定の処理終了後にシステムに対しタイマキャン
セル依頼を送出しくステップ3〉、 システムから応答されるキャンセル受付完了信号を受け
るとタイマ値、実処理時間等のログ情報を採取しくステ
ップ4)、 採取したログ情報に基づいてキャンセル依頼が発生ずる
と思われる時刻を統計的に求め(ステップ5)。
[Means for Solving the Problem] FIG. 1 is a flowchart showing the principle of the method of the present invention. When a process requests a timeout notification to the system, the present invention prepares a management table that determines the order (queuing) of timeout notification requests.Step 1) The process sends a timeout notification request to the system. After that, the process receives the acceptance completion signal responded from the system (step 2), and then sends a timer cancellation request to the system after the process completes the predetermined processing.Step 3) receives the cancellation acceptance completion signal responded from the system. When received, log information such as timer values and actual processing time is collected (Step 4), and based on the collected log information, the time at which a cancellation request is expected to occur is statistically determined (Step 5).

前記管理用テーブルのキューをタイマキャンセル依頼発
生順に生成したキューで管理する(ステップ6)ように
したことを特徴としている。
The present invention is characterized in that the queues in the management table are managed using queues generated in the order in which timer cancellation requests are generated (step 6).

[作用] タイマ依頼をタイマキャンセル発生順に生成したキュー
で管理する。これにより従来方法よりもより正確かつ高
速にキャンセル発生時刻をシステムとして予測すること
ができるタイマ依頼の管理方法を提供することができる
[Operation] Manage timer requests in a queue generated in the order in which timer cancellations occur. This makes it possible to provide a timer request management method that allows the system to predict the time at which cancellation will occur more accurately and faster than conventional methods.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

プロセスがタイマを使用する時の一般的なシーケンスは
、成る処理(仮にAとする)結果を待つ時のタイムリミ
ツトを決め、タイムアウト通知を依頼するというもので
ある。その時のタイムリミツトは、プロセスが行おうと
する処理Aの内容に依存しており、実際の処理にかかる
時間に+αした値(いいかえると複数倍した値)を設定
する。
The general sequence when a process uses a timer is to determine a time limit for waiting for the result of a process (let's say A) and request a timeout notification. The time limit at that time depends on the content of processing A that the process attempts to perform, and is set to a value obtained by adding α to the time required for the actual processing (in other words, a value multiplied by multiple times).

本発明方法は、プロセスがタイムアウト通知依頼を依頼
してくる時のパラメータから求めた1aと、実際の処理
時間等をログ情報として採取し、統計的に実所要時間割
合を求め、タイマキャンセル発生時刻算出の誤差を少な
くするものである。
The method of the present invention collects 1a obtained from the parameters when a process requests a timeout notification request, the actual processing time, etc. as log information, statistically calculates the percentage of the actual time required, and calculates the timer cancellation occurrence time. This reduces calculation errors.

第2図は本発明方法のシーケンス例を示す図である。プ
ロセス10で事象へが発生すると、当該プロセス10は
タイムアウト通知依頼(タイマ依頼)を発行する。タイ
マ依頼処理部11はこの依頼を受け、まだ統計情報部1
2に情報がない場合には、システム13に対してタイマ
依頼を行う。
FIG. 2 is a diagram showing an example of the sequence of the method of the present invention. When an event occurs in the process 10, the process 10 issues a timeout notification request (timer request). The timer request processing unit 11 receives this request, and the statistical information unit 1
If there is no information in the system 13, a timer request is made to the system 13.

システム13からの受付完了信号を受けると、タイマ依
頼処理部11はプロセス10に対して受付完了信号を伝
える。プロセス10では、次に98理Δの終了と同時に
タイマキャンセル処理部14に対してタイマキャンセル
依頼を発行する。該タイマキャンセル処理部14は、こ
の依頼をシステム13に伝える。
Upon receiving the reception completion signal from the system 13, the timer request processing unit 11 transmits the reception completion signal to the process 10. In the process 10, a timer cancellation request is issued to the timer cancellation processing unit 14 at the same time as the 98th process Δ ends. The timer cancellation processing section 14 transmits this request to the system 13.

システム13内はタイマキャンセル依頼を受けると、キ
ャンセル受付完了信号を出力する。タイマキャンセル処
理部14は、該キャンセル受付完了信号をプロセス10
に与えると同時に管理用テーブル15の当該キューをオ
フにする。また、ログ情報を採取し、ログバッファ16
に採取したデータを書込む。図には、依頼元識別子、処
理種別。
When the system 13 receives a timer cancellation request, it outputs a cancellation acceptance completion signal. The timer cancellation processing unit 14 transmits the cancellation reception completion signal to the process 10.
At the same time, the corresponding queue in the management table 15 is turned off. Also, log information is collected and the log buffer 16
Write the collected data to. The figure shows the requester identifier and processing type.

タイマ値、実処理時間、依頼回数等のパラメータが書込
まれている例を示している。ログバッフ?16に書込ま
れたデータは、統計情報部12に送られる。
An example is shown in which parameters such as a timer value, actual processing time, and number of requests are written. Logbuff? The data written in 16 is sent to statistical information section 12.

タイマ依頼処理部11は、依頼回数が統計的に意味のあ
る回数を越えたら、依頼元と処理の種類別にデータを集
計し、標準値を割り出し記憶する。
When the number of requests exceeds a statistically significant number, the timer request processing unit 11 aggregates data by request source and type of processing, determines and stores a standard value.

第3図は標準値の割り出しの説明図である。横軸は割合
、縦軸は依頼元の依頼回数である。例えば処理△、処理
8毎にそれぞれ分布の中心を標準値としている。この標
準値を(1)式における実所要時間割合とする。そして
、次にタイムアウト通知依頼があっ1=時には、パラメ
ータではなく、ログ情報の結果から求めた値をシステム
13に与え、キャンセル発生時刻を求め、キューイング
する。
FIG. 3 is an explanatory diagram of standard value determination. The horizontal axis is the percentage, and the vertical axis is the number of requests made by the requester. For example, the center of the distribution is set as the standard value for each process Δ and process 8. This standard value is taken as the actual required time ratio in equation (1). Then, when there is a next timeout notification request (=1), the system 13 is given a value determined from the result of the log information, not a parameter, and the cancellation occurrence time is determined and queued.

その後は、ある一定の周期(時間数又はカウント数)で
その標準値を更新していく。これにより、キャンセル発
生時刻をより正確に求めることができる。そして、タイ
マ依頼処理部11は管理用テープ°ル15のキューをタ
イマキャンセル発生順に管理する。
Thereafter, the standard value is updated at a certain period (number of hours or number of counts). Thereby, the time of occurrence of cancellation can be determined more accurately. The timer request processing unit 11 then manages the queues in the management tape file 15 in the order in which timer cancellations occur.

第4図は本発明方法を実施するシステム構成例を示す図
である。第2図と同一のものは、同一の符号を付して示
す。図において、20はタイマ制御部で、前述のタイマ
依頼処理部11.タイマキャンセル処理部14に加えて
、タイムアウト処理部17及び実所要時間割合算出部1
8より構成されている。実所要時間割合算出部18は、
イニシャルプログラムローダ(IPL)30により起動
される。プロレス1oは、タイマ依頼部10a。
FIG. 4 is a diagram showing an example of a system configuration for implementing the method of the present invention. Components that are the same as those in FIG. 2 are designated by the same reference numerals. In the figure, reference numeral 20 denotes a timer control section, which includes the above-mentioned timer request processing section 11. In addition to the timer cancellation processing section 14, a timeout processing section 17 and an actual required time ratio calculation section 1
It is composed of 8. The actual required time ratio calculation unit 18
It is activated by an initial program loader (IPL) 30. The professional wrestling 1o is a timer requesting section 10a.

タイマキャンセル依頼部10bより構成されており、タ
イマ依頼部10aはタイマ依頼処理部11に対してタイ
マ依頼を発行し、タイマキャンセル依頼部101)はタ
イマキャンセル処理部14にタイマキャン廿ル依頼を発
行する。
The timer request unit 10a issues a timer request to the timer request processing unit 11, and the timer cancellation request unit 101) issues a timer cancel request to the timer cancellation processing unit 14. do.

ここで、実所要時間のロギングは前述したようにタイマ
キャンセル処理部14で採取する。一方、採取したデー
タを基に実処理時間の割合を算出するロジックは、別プ
ロセス、即ち実処理時間割合算出部18で行い、それ用
のテーブルを生成する。
Here, the logging of the actual required time is collected by the timer cancellation processing unit 14 as described above. On the other hand, the logic for calculating the actual processing time ratio based on the collected data is performed in a separate process, that is, the actual processing time ratio calculation unit 18, and a table for it is generated.

起動のタイミングは、IPL処地の延長上に行う。The timing of activation is based on the extension of the IPL location.

そこで作成されたテーブルからタイマ依頼処理部11は
実処理時間割合を読込み、次のタイムアウト通知依頼の
あった時に、その値を使用する。
The timer request processing unit 11 reads the actual processing time ratio from the table created there, and uses that value when the next timeout notification request is made.

第5図はタイマキャンセル処理部14(第4図参照)の
動作を示すフローチャートである。ここではパラメータ
としてタイマIDを用いている。
FIG. 5 is a flowchart showing the operation of the timer cancellation processing section 14 (see FIG. 4). Here, a timer ID is used as a parameter.

先ず、依頼されたキャンセルがすでにタイムアウト済み
かどうかチエツクする(ステップ1)。
First, it is checked whether the requested cancellation has already timed out (step 1).

そうであった場合には、エラー終了する。タイムアウト
済みでない場合には、現時刻(キャンセル完了時刻)を
求め〈ステップ2)、実処理時間を求める。ここで、実
処理時間は次式で求めることができる。
If so, the process ends with an error. If the timeout has not been completed, the current time (cancellation completion time) is determined (step 2), and the actual processing time is determined. Here, the actual processing time can be calculated using the following equation.

キレンセル完了時刻−タイムアウト通知依頼時刻ステッ
プ3で実処理時刻が求まったらログ情報を採取しくステ
ップ4)、依頼回数のカウントを行い(ステップ5)、
該当するバッファを使用ずみであるのでキューから外し
くステップ6)、タイマIDを解放する(ステップ7)
Killen cell completion time - timeout notification request time Once the actual processing time is determined in step 3, collect log information (step 4), count the number of requests (step 5),
Since the corresponding buffer has already been used, remove it from the queue (Step 6), and release the timer ID (Step 7).
.

第6図は実処理時間割合算出部18(第4図参照)の動
作を示すフローチャートである。先ず、統計的に充分な
データ量があるかどうかをチエツクしくステップ1)、
ない場合にはリターンする。
FIG. 6 is a flowchart showing the operation of the actual processing time ratio calculating section 18 (see FIG. 4). First, check whether you have a statistically sufficient amount of data (step 1).
If not, return.

ある場合にはログ情報を読み込み(ステップ2)、依頼
元毎に情報を分ける(ステップ3)。次に全依頼元につ
いて標準値を算出する計算が行われたかどうかをチエツ
クしくステップ4)、行われた場合にはリターンする。
If there is, the log information is read (step 2) and the information is divided for each request source (step 3). Next, it is checked in step 4) whether the calculation to calculate the standard value has been performed for all requesters, and if it has been performed, the process returns.

行われていない場合には、処理内容別に情報を分け(ス
テップ5)、同一の依頼元については全処理毎の標準値
が求められたかどうかチエツクづ゛る(ステップ6)。
If not, the information is divided by processing content (step 5), and for the same requestor, it is checked whether standard values have been obtained for all processing (step 6).

全処理毎の標準値が求められている場合にはステップ4
に戻り、求められていない場合には1回のタイマキャン
セル処理につき実所要時間割合の算出を行う(ステップ
7)。ここで、実所要時間割合は次式を用いて求める。
If standard values for all processes are required, step 4
Returning to step 7, if it has not been determined, the actual time required for one timer cancellation process is calculated (step 7). Here, the actual required time ratio is determined using the following formula.

実処理時間/タイマ値 そして、カウントアツプ(データの集計)を行い(ステ
ップ8)、同一の処理内容の中で全データを集計したか
どうかチエツクする(ステップ9)。
Actual processing time/timer value Then, a count-up (totalization of data) is performed (step 8), and it is checked whether all data have been totaled within the same processing content (step 9).

全データを集計していない場合にはステップ7に戻り、
全データを集計している場合には標準値を決定しくステ
ップ10)、決定した標準値を格納しくステップ11)
、ログ情報をクリアしくステップ12)、ステップ6に
戻る。
If all data has not been aggregated, return to step 7.
If all data has been aggregated, determine the standard value (Step 10), and store the determined standard value (Step 11).
, clear the log information (step 12), and return to step 6.

第7図はタイマ依頼処理部11(第4図参照)の動作を
示すフローチャートである。先ずタイマIDの採番を決
定しくステップ1)、次に統計情報があるかどうかチエ
ツクする〈ステップ2)。
FIG. 7 is a flowchart showing the operation of the timer request processing section 11 (see FIG. 4). First, determine the timer ID number (step 1), then check whether there is statistical information (step 2).

ある場合には当該依頼元に関する情報があるかどうかチ
エツクしくステップ3)、ある場合には指定された処理
に関する情報があるかどうかチエツクする(ステップ4
)。ある場合には、統計情報から求めた実所要時間割合
を使用する(ステップ5)。ステップ2〜4でチエツク
結果がNoである場合にはいずれも依頼元が指定したパ
ラメータの実所要時間割合を使用する(ステップ6)。
If there is, check whether there is information about the requester (step 3), and if there is, check whether there is information about the specified process (step 4).
). If there is, the actual required time ratio determined from the statistical information is used (step 5). If the check result in steps 2 to 4 is No, the actual required time ratio of the parameters specified by the requester is used (step 6).

なお、ステップ2〜4では、タイムアウト通知を依頼し
てきたプロセスが何の処理に対してタイマを使用しよう
としているのかを調べ、そのプロセスのその処理に関し
て統計的な情報(実所要時間割合)があるか否かを検索
するものである。
In addition, in steps 2 to 4, we check what process the process that requested the timeout notification is trying to use the timer for, and we find statistical information (actual time required percentage) about that process. This is a search to find out whether or not.

次に決定された実所要時間割合を用いて(1)式により
タイマキャンセル発生時刻を求め(ステップ7)、管理
用バッファの設定をする(ステップ8)。ここで、バッ
ファの獲得は、タイマ制御に処理を依頼するプロセスで
行う。最後にキューイング処理を行う(ステップ9)。
Next, using the determined actual required time ratio, the timer cancellation occurrence time is determined by equation (1) (step 7), and a management buffer is set (step 8). Here, the buffer is acquired by a process that requests processing to timer control. Finally, queuing processing is performed (step 9).

[発明の効果] 以上詳細に説明したように、本発明によればタイマ依頼
をタイマキャンセル発生順に生成したキューで管理する
ことによりより正確かつ高速にキャンセル発生時刻をシ
ステムとして予測づ”ることができるタイマ依頼の管理
方法を提供することができる。
[Effects of the Invention] As explained in detail above, according to the present invention, by managing timer requests in a queue generated in the order in which timer cancellations occur, the system can more accurately and quickly predict the time when cancellations will occur. It is possible to provide a method for managing timer requests.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明方法の原理を示すフローチャート、 第2図は本発明方法のシーケンス例を示す図、第3図は
標準値の割り出しの説明図、 第4図は本発明方法を実施するシステム構成例を示す図
、 第5図はタイマキレンセル処理部の動作を示ずフローチ
ャート、 第6図は実処理時間割合算出部の動作を示すフローチャ
ート、 第7図はタイマ依頼処理部の動作を示すフローチャート
、 第8図は従来方法によるタイマキャンセル時刻の求め方
の説明図である。 第4図において、 10はプロセス、 10aはタイマ依頼部、 10bはタイマキャンセル依頼部、 11はタイマ依頼処理部、 13aはタイマ、 14はタイマキャンセル処理部、 17はタイムアラ1〜処理部、 1日は実処理時間割合算出部、 30はIPLである。 特許出願人   富  士  通  株  式  会 
 社代  理  人     弁理士   井  島 
 藤  冶外1名 本発明方法の原1を示すフローチャート第コ 図 くイU鞠コ元X〉 第3 図 本発明方法■シーク〉ス佼1と示す図 柄2図 本発明方法を実施するシステム構成例を示す図画4 区 ラメツ タイマID 」屋 タイマキャンセル処理部0動作を示すフローチャート第
5 区
Figure 1 is a flowchart showing the principle of the method of the present invention, Figure 2 is a diagram showing an example of the sequence of the method of the present invention, Figure 3 is an explanatory diagram of standard value determination, and Figure 4 is a system implementing the method of the present invention. Figure 5 is a flowchart showing the operation of the timer cell processing unit; Figure 6 is a flowchart showing the operation of the actual processing time ratio calculation unit; Figure 7 is a flowchart showing the operation of the timer request processing unit. Flowchart FIG. 8 is an explanatory diagram of how to find the timer cancellation time using the conventional method. In FIG. 4, 10 is a process, 10a is a timer request unit, 10b is a timer cancellation request unit, 11 is a timer request processing unit, 13a is a timer, 14 is a timer cancellation processing unit, 17 is a timer 1~processing unit, 1 day 3 is an actual processing time ratio calculation unit, and 30 is an IPL. Patent applicant: Fujitsu Limited
Company representative Patent attorney Ijima
Flowchart showing the origin of the method of the present invention 1 Figure 3 Figure 3 The method of the present invention ■ Sequence 1 Figure 2 System configuration for carrying out the method of the present invention Diagram 4 showing an example Flowchart showing the operation of the timer cancel processing unit 0

Claims (1)

【特許請求の範囲】 プロセスからシステムに対してタイムアウト通知依頼を
行う場合において、 タイムアウト通知依頼の順序(キューイング)を定める
管理用テーブルを用意し(ステップ1)、プロセスから
システムに対してタイムアウト通知依頼を送出した後、
当該システムから応答される受付完了信号を受け(ステ
ップ2)、 次にプロセスから所定の処理終了と同時にシステムに対
しタイマキャンセル依頼を送出し(ステップ3)、 システムから応答されるキャンセル受付完了信号を受け
るとタイマ値、実処理時間等のログ情報を採取し(ステ
ップ4)、 採取したログ情報に基づいてキャンセル依頼が発生する
と思われる時刻を統計的に求め(ステップ5)、 前記管理用テーブルのキューをタイマキャンセル依頼発
生順に生成したキューで管理する(ステップ6)ように
したことを特徴とするタイマ依頼の管理方法。
[Claims] When a process requests a timeout notification to the system, a management table is prepared that determines the order (queuing) of timeout notification requests (step 1), and the process sends a timeout notification to the system. After sending the request,
Receive the reception completion signal responded from the system (step 2), then send a timer cancellation request to the system at the same time as the process finishes the specified process (step 3), and receive the cancellation reception completion signal responded from the system. Once received, log information such as the timer value and actual processing time is collected (step 4), and based on the collected log information, the time at which the cancellation request is expected to occur is statistically determined (step 5), and the information in the management table is A timer request management method characterized in that the queue is managed in a queue generated in the order in which timer cancellation requests occur (step 6).
JP63161168A 1988-06-28 1988-06-28 How to manage timer requests Expired - Fee Related JPH0833826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63161168A JPH0833826B2 (en) 1988-06-28 1988-06-28 How to manage timer requests

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63161168A JPH0833826B2 (en) 1988-06-28 1988-06-28 How to manage timer requests

Publications (2)

Publication Number Publication Date
JPH0210437A true JPH0210437A (en) 1990-01-16
JPH0833826B2 JPH0833826B2 (en) 1996-03-29

Family

ID=15729888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63161168A Expired - Fee Related JPH0833826B2 (en) 1988-06-28 1988-06-28 How to manage timer requests

Country Status (1)

Country Link
JP (1) JPH0833826B2 (en)

Also Published As

Publication number Publication date
JPH0833826B2 (en) 1996-03-29

Similar Documents

Publication Publication Date Title
EP2266020B1 (en) Using priority to determine whether to queue an input/output (i/o) request directed to storage
US10831387B1 (en) Snapshot reservations in a distributed storage system
CN110806933B (en) Batch task processing method, device, equipment and storage medium
CN104391737B (en) The optimization method of load balance in cloud platform
JP2006524381A5 (en)
WO1999063446A1 (en) Apparatus and method for computer host system and adaptor interrupt reduction including clustered command completion
CN102739785B (en) Method for scheduling cloud computing tasks based on network bandwidth estimation
CN104462432A (en) Self-adaptive distributed computing method
US8126756B2 (en) Method and system for real time measurement data adjudication and service level evaluation
CN104407926A (en) Scheduling method of cloud computing resources
CN117149388A (en) Batch task scheduling method and system, electronic equipment and storage medium
US7107427B2 (en) Storage system comprising memory allocation based on area size, using period and usage history
JP4176933B2 (en) RECORDING MEDIUM RECORDING EXTERNAL STORAGE DEVICE DRIVER PROGRAM AND COMPUTER HAVING EXTERNAL STORAGE DEVICE ACCESS FUNCTION
JPH0210437A (en) Management method for timer request
US7089265B1 (en) Database management system for implementing independent database actions in response to events of interest
JP2002182932A (en) Job queue multiple degree controller
JP2001282551A (en) Job processor and job processing method
CN111210288A (en) Tax control server-based invoicing batch invoicing job optimized scheduling method and system
JP2921501B2 (en) Task execution priority change method under high load in online processing system
JPH05101015A (en) Device and method for simulation
CN112702376B (en) Real-time transaction monitoring method
JPH0736831A (en) Job control system
Conti et al. Modeling and simulation of the bottlenecks of an online reservation system
JPH0210438A (en) Management method for timer request
CN117742911A (en) High-speed loop-back system, method and storage medium for transaction algorithm scene

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees