JPH0962393A - Time-out method for interactive jobs with a limited number of licenses - Google Patents
Time-out method for interactive jobs with a limited number of licensesInfo
- Publication number
- JPH0962393A JPH0962393A JP7211569A JP21156995A JPH0962393A JP H0962393 A JPH0962393 A JP H0962393A JP 7211569 A JP7211569 A JP 7211569A JP 21156995 A JP21156995 A JP 21156995A JP H0962393 A JPH0962393 A JP H0962393A
- Authority
- JP
- Japan
- Prior art keywords
- interactive
- limited
- license
- licenses
- time
- 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
Links
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 156
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000004913 activation Effects 0.000 claims description 8
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Abstract
(57)【要約】
【目的】 不必要なタイムアウトを防止し、計算機シス
テムのスループットを向上させることが可能な技術を提
供する。
【構成】 ライセンス数制限付対話型ジョブが最後にC
PU処理またはIO処理を行ってからタイムアウトの対
象となるまでの経過時間である放置制限時間及びライセ
ンス数を設定する手段と、実行中のライセンス数制限付
対話型ジョブが最後にCPU処理またはIO処理を行っ
てからの経過時間を記録する手段と、新たにライセンス
数制限付対話型ジョブの起動要求が行われた際に、現在
実行中のライセンス数制限付対話型ジョブの総数と前記
ライセンス数とを比較し、現在実行中のライセンス数制
限付対話型ジョブの総数が前記ライセンス数に達してい
る場合に、前記放置制限時間を超えているライセンス数
制限付対話型ジョブを終了する手段とを備えるものであ
る。
(57) [Summary] [Objective] To provide a technique capable of preventing unnecessary timeout and improving the throughput of a computer system. [Structure] The interactive job with a limited number of licenses is C at the end.
A means for setting an idle time limit and the number of licenses, which is the elapsed time from the time when PU processing or IO processing is performed to the time-out target, and the last executed CPU processing or IO processing of the license-limited interactive job being executed. Means for recording the elapsed time from the execution, and the total number of license-limited interactive jobs currently being executed and the number of licenses when a request to start a new license-limited interactive job is made. And a means for terminating the interactive job with a limited license number that has exceeded the leftover limit time when the total number of interactive jobs with a limited license number currently being executed has reached the number of licenses. It is a thing.
Description
【0001】[0001]
【産業上の利用分野】本発明は、ライセンス数制限付対
話型ジョブのタイムアウト方式に関し、特に、同時実行
可能なプログラムの数であるライセンス数が制限されて
いる対話型プログラムを実行するライセンス数制限付対
話型ジョブのタイムアウト処理を、前記ライセンス数と
実行中のライセンス数制限付対話型ジョブの総数との差
である空きライセンス数がない場合にのみ行う、ライセ
ンス数制限付対話型ジョブのタイムアウト方式に適用し
て有効な技術に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timeout method for an interactive job with a limited number of licenses, and more particularly to a limited number of licenses for executing an interactive program in which the number of licenses, which is the number of concurrently executable programs, is limited. Time-out method for interactive jobs with limited number of licenses, in which timeout processing of interactive jobs with limited number of licenses is performed only when there is no free license number, which is the difference between the number of licenses and the total number of interactive jobs with limited number of licenses being executed It is related to the technology effectively applied to.
【0002】[0002]
【従来の技術】従来の計算機システムで実行される対話
型プログラムの中には、その対話型プログラムを同時に
実行することが可能な数であるライセンス数が制限され
ているものがある。2. Description of the Related Art Among conventional interactive programs executed by a computer system, there is a limit on the number of licenses, which is the number of interactive programs that can be executed simultaneously.
【0003】前記のライセンス数が制限されている対話
型プログラムを実行するライセンス数制限付対話型ジョ
ブを新たに起動しようとした際に、既に実行中のライセ
ンス数制限付対話型ジョブの総数が前記ライセンス数に
達している場合には、前記の新たなライセンス数制限付
対話型ジョブの起動要求は拒否される。When a new license-limited interactive job for executing the above-mentioned license-limited interactive program is newly started, the total number of the license-limited interactive jobs already executed is the above-mentioned. If the number of licenses has been reached, the request to start the new interactive job with new license limit is rejected.
【0004】この為、前記のライセンス数が制限されて
いる対話型プログラムを実行する従来の計算機システム
では、実行中のライセンス数制限付対話型ジョブに制限
時間を設定し、前記制限時間を超えて放置されたライセ
ンス数制限付対話型ジョブを無条件に停止するタイムア
ウト方式によって、実行中のライセンス数制限付対話型
ジョブの数を制限して、新たなライセンス数制限付対話
型ジョブの起動要求を受け付けられる様にしていた。For this reason, in the conventional computer system for executing the interactive program whose license number is limited, a time limit is set for the license-number-limited interactive job being executed, and the time limit is exceeded. By the timeout method that unconditionally stops abandoned license limited interactive jobs, the number of running license limited interactive jobs is limited and a new license limited interactive job start request is issued. I was supposed to be accepted.
【0005】前記従来のライセンス数制限付対話型ジョ
ブのタイムアウト方式に近い公知例として、特開平3−
22120号がある。その概要は、バッテリーより電源
を供給する携帯用の端末装置において、端末装置を操作
しない任意の時間を登録する時間登録手段と、前記時間
登録手段に登録された時間内に当該端末装置が操作され
なかった場合に当該端末装置の電源を切る手段を備え、
前記時間登録手段に任意の時間を登録することにより、
当該端末装置が操作されなかった場合に電源を切る時間
を任意に変更するものである。As a publicly known example close to the conventional timeout method for the interactive job with a limited number of licenses, Japanese Patent Application Laid-Open No. Hei 3
There is No. 22120. The outline is that, in a portable terminal device that supplies power from a battery, time registration means for registering an arbitrary time when the terminal device is not operated, and the terminal device is operated within the time registered in the time registration means. If there is not, equipped with means for turning off the power of the terminal device,
By registering any time in the time registration means,
The time to turn off the power when the terminal device is not operated is arbitrarily changed.
【0006】[0006]
【発明が解決しようとする課題】本発明者は、前記従来
技術を検討した結果、以下の問題点を見い出した。The present inventor has found the following problems as a result of examining the above-mentioned prior art.
【0007】すなわち、前記従来のライセンス数制限付
対話型ジョブのタイムアウト方式では、新たなライセン
ス数制限付対話型ジョブの起動要求が無い場合でも、制
限時間を超えて放置されたライセンス数制限付対話型ジ
ョブは無条件に停止されてしまうという問題があった。That is, in the conventional timeout method for a license-number limited interactive job, even if there is no request to start a new license-number limited interactive job, a license-number limited interaction that has been left over for a limited time is left. There was a problem that the type job was unconditionally stopped.
【0008】また、前記従来のライセンス数制限付対話
型ジョブのタイムアウト方式では、前記制限時間を長め
に設定することによって、新たなライセンス数制限付対
話型ジョブの起動要求が無い場合に制限時間を超えて放
置されたライセンス数制限付対話型ジョブが無条件に停
止されてしまうことを防止すると、実行中のライセンス
数制限付対話型ジョブの総数がライセンス数に達した
後、新たなライセンス数制限付対話型ジョブの起動要求
が発生した場合に、前記の新たなライセンス数制限付対
話型ジョブを起動できる様になるまでの待ち時間が長く
なるという問題があった。In the conventional timeout method for a license-number limited interactive job, the time limit is set to be longer so that the time limit is set when there is no request to start a new license-number limited interactive job. To prevent unconditional termination of license-limited interactive jobs that have been left over, a new license limit is set after the total number of running license-limited interactive jobs reaches the number of licenses. When a request to start an attached interactive job is issued, there is a problem that the waiting time until the new interactive job with limited number of licenses can be activated becomes long.
【0009】本発明の目的は、不必要なタイムアウトを
防止し、計算機システムのスループットを向上させるこ
とが可能な技術を提供することにある。An object of the present invention is to provide a technique capable of preventing unnecessary timeout and improving the throughput of a computer system.
【0010】本発明の前記並びにその他の目的と新規な
特徴は、本明細書の記述及び添付図面によって明かにな
るであろう。The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.
【0011】[0011]
【課題を解決するための手段】本願において開示される
発明のうち、代表的なものの概要を簡単に説明すれば、
下記のとおりである。SUMMARY OF THE INVENTION Among the inventions disclosed in the present application, the outline of a representative one will be briefly described.
It is as follows.
【0012】すなわち、同時実行可能なプログラムの数
であるライセンス数が制限されている対話型プログラム
を実行するライセンス数制限付対話型ジョブのタイムア
ウト方式において、前記ライセンス数制限付対話型ジョ
ブが最後にCPU処理またはIO処理を行ってからタイ
ムアウトの対象となるまでの経過時間である放置制限時
間及び前記ライセンス数を設定する手段と、実行中のラ
イセンス数制限付対話型ジョブが最後にCPU処理また
はIO処理を行ってからの経過時間を記録する手段と、
新たにライセンス数制限付対話型ジョブの起動要求が行
われた際に、現在実行中のライセンス数制限付対話型ジ
ョブの総数と前記ライセンス数とを比較し、現在実行中
のライセンス数制限付対話型ジョブの総数が前記ライセ
ンス数に達している場合に、前記放置制限時間を超えて
いるライセンス数制限付対話型ジョブを終了する手段と
を備えるものである。That is, in the timeout method of the interactive job with a limited license, which executes an interactive program with a limited number of licenses, which is the number of programs that can be executed simultaneously, the interactive job with a limited license is finally A means for setting the left-over time limit, which is the elapsed time from the execution of the CPU processing or IO processing to the time-out target, and the number of licenses, and the interactive job with the limited license number being executed is finally executed by the CPU processing or IO. A means for recording the elapsed time since processing,
When a new request to start an interactive job with a limited number of licenses is made, the total number of interactive jobs with a limited number of licenses that are currently being executed is compared with the number of licenses, and the interactive dialog with a limited number of licenses that is currently being executed is displayed. When the total number of type jobs reaches the number of licenses, there is provided means for terminating the interactive job with the license number limitation exceeding the neglected time limit.
【0013】[0013]
【作用】上述した手段の項に記載されたライセンス数制
限付対話型ジョブのタイムアウト方式によれば、まず、
同時実行可能なプログラムの数であるライセンス数が制
限されている対話型プログラムを実行する計算機システ
ムで、前記ライセンス数制限付対話型ジョブの放置制限
時間と、そのライセンス数とを設定する。According to the time-out method of the interactive job with a limited number of licenses described in the above-mentioned means, first,
In a computer system that executes an interactive program with a limited number of licenses, which is the number of programs that can be simultaneously executed, a leaving limit time of the interactive job with a limited license and the number of licenses are set.
【0014】次に、新たなライセンス数制限付対話型ジ
ョブの起動要求が有るかどうかを調べ、前記の新たなラ
イセンス数制限付対話型ジョブの起動要求が有る場合
に、現在実行中のライセンス数制限付対話型ジョブの総
数と、前記ライセンス数とを比較する。Next, it is checked whether or not there is a request to start a new interactive job with a limited number of licenses. If there is a request to start the new interactive job with a limited number of licenses, the number of licenses currently being executed is checked. The total number of restricted interactive jobs is compared with the number of licenses.
【0015】現在実行中のライセンス数制限付対話型ジ
ョブの総数が、前記ライセンス数に達していない場合に
は、前記の新たに起動要求が行われているライセンス数
制限付対話型ジョブの起動を行う。If the total number of license-limited interactive jobs currently being executed has not reached the license number, the license-limited interactive jobs for which a new activation request has been issued are started. To do.
【0016】現在実行中のライセンス数制限付対話型ジ
ョブの総数が、前記ライセンス数に達している場合に
は、現在実行中の複数のライセンス数制限付対話型ジョ
ブの中から、当該ライセンス数制限付対話型ジョブにお
ける最後のCPU処理またはIO処理を最も以前に行っ
たライセンス数制限付対話型ジョブを選択する。If the total number of license-limited interactive jobs currently being executed has reached the license count, the license-limited number of licenses is selected from the plurality of license-limited interactive jobs currently being executed. Select the license-limited interactive job for which the last CPU processing or IO processing in the attached interactive job was performed most recently.
【0017】前記選択されたライセンス数制限付対話型
ジョブが最後にCPU処理またはIO処理を行ってから
経過した時間と、前記放置制限時間とを比較し、前記選
択されたライセンス数制限付対話型ジョブが最後にCP
U処理またはIO処理を行ってから経過した時間が、前
記放置制限時間を超えている場合には、前記選択したラ
イセンス数制限付対話型ジョブを終了した後、前記の新
たに起動要求が行われているライセンス数制限付対話型
ジョブの起動を行う。The time elapsed after the CPU or IO process was last performed by the selected license-limited interactive job is compared with the abandonment time limit, and the selected license-limited interactive job is compared. Job is CP at the end
If the time elapsed after performing the U process or the IO process exceeds the neglected time limit, the new activation request is issued after the selected license number restricted interactive job is completed. Start an interactive job with a limited number of licenses.
【0018】前記選択されたライセンス数制限付対話型
ジョブが最後にCPU処理またはIO処理を行ってから
経過した時間が、前記放置制限時間を超えていない場合
には、前記の新たに起動要求が行われているライセンス
数制限付対話型ジョブの起動を拒否する。If the time elapsed since the selected interactive job with limited number of licenses last executed the CPU processing or IO processing does not exceed the above-mentioned leaving limit time, the new start request is issued. Refuse to start the interactive job with a limited number of licenses.
【0019】以上の様に、前記手段の項に記載されたラ
イセンス数制限付対話型ジョブのタイムアウト方式によ
れば、実行中のライセンス数制限付対話型ジョブの総数
がライセンス数に達している場合にのみ、放置制限時間
を超えるライセンス数制限付対話型ジョブを終了させる
ので、不必要なタイムアウトを防止し、計算機システム
のスループットを向上させることが可能である。As described above, according to the time-out method of the license-number-limited interactive jobs described in the section, when the total number of license-number-limited interactive jobs being executed has reached the number of licenses. Only, the interactive job with the license number limitation exceeding the neglected time limit is terminated, so that unnecessary timeout can be prevented and the throughput of the computer system can be improved.
【0020】[0020]
【実施例】以下、本発明について、一実施例とともに図
面を参照して詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will now be described in detail with reference to the drawings together with an embodiment.
【0021】なお、実施例を説明するための全図におい
て、同一機能を有するものは同一符号を付け、その繰り
返しの説明は省略する。In all the drawings for explaining the embodiments, parts having the same function are designated by the same reference numerals, and the repeated description thereof will be omitted.
【0022】図1は、本発明のライセンス数制限付対話
型ジョブのタイムアウト方式の一実施例の概略構成を示
す図である。図1において、100はライセンス情報フ
ァイル、101は管理ファイル、102は優先ユーザI
Dファイル、103はタイムアウトプログラム、104
は監視プログラム、105はTSSプログラム、106
は対話型ジョブ処理用CPU、107は端末群である。FIG. 1 is a diagram showing a schematic configuration of an embodiment of a timeout method for an interactive job with a limited number of licenses according to the present invention. In FIG. 1, 100 is a license information file, 101 is a management file, and 102 is a priority user I.
D file, 103 is a timeout program, 104
Is a monitoring program, 105 is a TSS program, 106
Is a CPU for interactive job processing, and 107 is a terminal group.
【0023】図1に示す様に、本実施例のライセンス数
制限付対話型ジョブのタイムアウト方式では、ライセン
ス情報ファイル100と、管理ファイル101と、優先
ユーザIDを記録する優先ユーザIDファイル102
と、ライセンス数制限付対話型ジョブのタイムアウトを
行うタイムアウトプログラム103と、管理ファイル1
01にCPU処理またはIO処理を行った時刻を記録す
る監視プログラム104と、タイムアウトプログラム1
03を組み込んだTSSプログラム105と、監視プロ
グラム104とTSSプログラム105を実行する対話
型ジョブ処理用CPU106と、対話型ジョブ処理用C
PU106に接続された端末群107とを備えている。As shown in FIG. 1, in the time-out method of the interactive job with a limited number of licenses according to the present embodiment, the license information file 100, the management file 101, and the priority user ID file 102 for recording the priority user ID.
And a timeout program 103 that times out an interactive job with a limited number of licenses, and a management file 1
01, a monitoring program 104 for recording the time when CPU processing or IO processing is performed, and a timeout program 1
No. 03 embedded therein, a monitoring program 104, an interactive job processing CPU 106 that executes the TSS program 105, and an interactive job processing C
The terminal group 107 connected to PU106 is provided.
【0024】本実施例のライセンス数制限付対話型ジョ
ブのタイムアウト方式のライセンス情報ファイル100
には、ライセンス数が制限されている対話型プログラム
のプログラム名と、当該対話型プログラムのライセンス
数と、当該対話型プログラムを実行するライセンス数制
限付対話型ジョブが最後にCPU処理またはIO処理を
行ってからタイムアウトの対象となるまでの経過時間で
ある放置制限時間とを設定している。The license information file 100 of the timeout method for the interactive job with a limited number of licenses according to this embodiment.
Includes the program name of an interactive program with a limited number of licenses, the number of licenses for the interactive program, and the interactive job with a limited number of licenses that executes the interactive program finally executes CPU processing or IO processing. A leaving limit time, which is the elapsed time from the time of execution until the time is subject to timeout, is set.
【0025】本実施例のライセンス数制限付対話型ジョ
ブのタイムアウト方式の管理ファイル101には、実行
中のライセンス数制限付対話型ジョブの名称と、当該ラ
イセンス数制限付対話型ジョブが実行している対話型プ
ログラムのプログラム名と、当該ライセンス数制限付対
話型ジョブを起動したユーザのユーザIDと、当該ライ
センス数制限付対話型ジョブが最後にCPU処理または
IO処理を行った時刻と、当該ライセンス数制限付対話
型ジョブが優先ユーザIDファイル102に記録された
優先ユーザによって起動されたものであるかどうかを示
す優先フラグを記録している。In the management file 101 of the time-out method for the license-limited interactive job according to the present embodiment, the name of the license-limited interactive job being executed and the license-limited interactive job are executed. The program name of the interactive program that exists, the user ID of the user who started the license-limited interactive job, the time when the license-limited interactive job last executed the CPU processing or IO processing, and the license. A priority flag indicating whether or not the limited number interactive job is started by the priority user recorded in the priority user ID file 102 is recorded.
【0026】本実施例のライセンス数制限付対話型ジョ
ブのタイムアウト方式のタイムアウトプログラム103
は、新たにライセンス数制限付対話型ジョブの起動要求
が行われた際に、管理ファイル101の現在実行中のラ
イセンス数制限付対話型ジョブの総数と、ライセンス情
報ファイル100のライセンス数とを比較し、現在実行
中のライセンス数制限付対話型ジョブの総数が前記ライ
センス数に達している場合に、ライセンス情報ファイル
100の放置制限時間を超えているライセンス数制限付
対話型ジョブを終了する。The time-out program 103 of the time-out method for the interactive job with a limited number of licenses according to this embodiment.
Compares the total number of currently-executed license-limited interactive jobs in the management file 101 with the number of licenses in the license information file 100 when a new activation request for license-limited interactive jobs is made. If the total number of license-limited interactive jobs currently being executed has reached the number of licenses, the license-limited interactive jobs that have exceeded the leaving limit time of the license information file 100 are terminated.
【0027】図2は、本実施例のライセンス数制限付対
話型ジョブのタイムアウト方式のタイムアウトプログラ
ムの処理手順を示すフローチャートである。FIG. 2 is a flow chart showing the processing procedure of the timeout program of the timeout method for the interactive job with a limited number of licenses according to this embodiment.
【0028】図3は、本実施例のライセンス数制限付対
話型ジョブのタイムアウト方式の監視プログラムの処理
手順を示すフローチャートである。FIG. 3 is a flow chart showing the processing procedure of the time-out type monitoring program for the interactive job with a limited number of licenses according to this embodiment.
【0029】以下に、本実施例のライセンス数制限付対
話型ジョブのタイムアウト方式において、放置制限時間
を超えたライセンス数制限付対話型ジョブを終了させる
タイムアウトプログラムの処理手順について説明する。In the time-out method of the interactive job with a limited license according to the present embodiment, the processing procedure of the time-out program for terminating the interactive job with a limited number of licenses that has exceeded the neglect limit time will be described below.
【0030】図2に示す様に、本実施例のライセンス数
制限付対話型ジョブのタイムアウト方式において、タイ
ムアウトプログラム103は、ステップ201の処理
で、対話型ジョブの起動要求が有るかどうかを調べる。As shown in FIG. 2, in the time-out method of the interactive job with a limited license according to the present embodiment, the time-out program 103 checks in step 201 whether or not there is a request to start the interactive job.
【0031】ステップ201の処理で、対話型ジョブの
起動要求が有る場合には、ステップ202の処理に進
み、前記の起動要求が行われている対話型ジョブの対話
型プログラムのプログラム名をキーとして、ライセンス
情報ファイル100を検索する。If there is an interactive job activation request in the process of step 201, the process proceeds to step 202, and the program name of the interactive program of the interactive job for which the activation request is made is used as a key. , The license information file 100 is searched.
【0032】ステップ202の処理で、ライセンス情報
ファイル100を検索し、当該対話型プログラムのプロ
グラム名が見つからなければ、当該対話型ジョブの対話
型プログラムは、ライセンス数が制限されている対話型
プログラムではないので、当該対話型ジョブの起動を行
って、ステップ201の処理に戻る。In the process of step 202, if the license information file 100 is searched and the program name of the interactive program is not found, the interactive program of the interactive job is not an interactive program with a limited number of licenses. Since it does not exist, the interactive job is activated and the process returns to step 201.
【0033】ステップ202の処理で、ライセンス情報
ファイル100中に当該対話型プログラムのプログラム
名が見つかった場合には、ステップ203の処理に進
み、当該ライセンス数制限付対話型ジョブの対話型プロ
グラムのライセンス数と放置制限時間を読み取る。When the program name of the interactive program is found in the license information file 100 in the process of step 202, the process proceeds to step 203, and the license of the interactive program of the interactive job with the license number limitation is executed. Read the number and time limit.
【0034】次に、ステップ204の処理に進み、管理
ファイル101を参照して、当該対話型プログラムを実
行しているライセンス数制限付対話型ジョブが現在どれ
だけ起動されているかをカウントする。Next, in step 204, the management file 101 is referenced to count how many license-limited interactive jobs executing the interactive program are currently activated.
【0035】ステップ205の処理で、当該対話型プロ
グラムを実行しているライセンス数制限付対話型ジョブ
の総数と、当該対話型プログラムのライセンス数とを比
較し、当該対話型プログラムを実行しているライセンス
数制限付対話型ジョブの総数が、当該対話型プログラム
のライセンス数に達していない場合には、ステップ20
9の処理へ進む。In the processing of step 205, the total number of license-limited interactive jobs executing the interactive program is compared with the license number of the interactive program, and the interactive program is executed. If the total number of licensed interactive jobs does not reach the number of licenses for the interactive program, step 20.
Proceed to the processing of 9.
【0036】ステップ205の処理で、当該対話型プロ
グラムを実行しているライセンス数制限付対話型ジョブ
の総数が、当該対話型プログラムのライセンス数に達し
ていた場合には、ステップ206の処理へ進み、管理フ
ァイル101の優先フラグに”H”が設定されていない
ライセンス数制限付対話型ジョブの中で最終のCPU処
理時刻またはIO処理時刻が最も古いライセンス数制限
付対話型ジョブ(図1の例では、A)を選び、ステップ
207の処理で、当該ライセンス数制限付対話型ジョブ
が、放置制限時間を超えているかをチェックする(現時
刻−最終のCPU処理時刻またはIO処理時刻>放置制
限時間 であるかをチェックする)。If the total number of license-limited interactive jobs executing the interactive program reaches the license number of the interactive program in step 205, the process proceeds to step 206. , A license number limited interactive job with the oldest last CPU processing time or IO processing time among the license number limited interactive jobs in which "H" is not set in the priority flag of the management file 101 (example of FIG. 1). Then, A) is selected, and in the process of step 207, it is checked whether or not the license-number-restricted interactive job exceeds the leaving limit time (current time-last CPU processing time or IO processing time> leaving limit time). Check if).
【0037】ステップ207の処理で、当該ライセンス
数制限付対話型ジョブが放置制限時間を超えていれば、
ステップ208の処理へ進み、当該ライセンス数制限付
対話型ジョブをタイムアウトで終了させ、ステップ20
9の処理へ進む。In the processing of step 207, if the license-limited interactive job exceeds the neglect limit time,
Proceeding to the process of step 208, the interactive job with the limited number of licenses is terminated with a timeout, and step 20
Proceed to the processing of 9.
【0038】ステップ209の処理では、前記の起動要
求が行われているライセンス数制限付対話型ジョブを立
ち上げ、ステップ210の処理で、監視プログラム10
4を起動する。In the process of step 209, the license-limited interactive job for which the activation request is made is started up, and in the process of step 210, the monitoring program 10 is executed.
Start 4
【0039】ステップ207の処理で、当該ライセンス
数制限付対話型ジョブが放置制限時間を超えていない場
合には、ステップ211の処理へ進み、前記の起動要求
が行われているライセンス数制限付対話型ジョブをライ
センス数制限オーバで終了させる。In the processing of step 207, when the license-number-restricted interactive job does not exceed the neglected time limit, the process proceeds to step 211, and the license-number-restricted dialog for which the activation request is made. Type jobs are terminated when the license limit is exceeded.
【0040】以下に、本実施例のライセンス数制限付対
話型ジョブのタイムアウト方式において、実行中のライ
センス数制限付対話型ジョブがCPU処理またはIO処
理を行った時刻を記録する監視プログラムの処理手順に
ついて説明する。In the time-out method of the license-limited interactive job according to the present embodiment, the processing procedure of the monitoring program for recording the time when the running license-limited interactive job performs CPU processing or IO processing is described below. Will be described.
【0041】本実施例のライセンス数制限付対話型ジョ
ブのタイムアウト方式の監視プログラム104は、ライ
センス数制限付対話型ジョブ毎に起動される。The time-out monitoring program 104 for the interactive job with a limited number of licenses according to this embodiment is activated for each interactive job with a limited number of licenses.
【0042】図3に示す様に、本実施例のライセンス数
制限付対話型ジョブのタイムアウト方式の監視プログラ
ム104は、ステップ301の処理で、当該ライセンス
数制限付対話型ジョブの名称と、当該ライセンス数制限
付対話型ジョブで実行する対話型プログラムのプログラ
ム名と、当該ライセンス数制限付対話型ジョブを起動し
たユーザのユーザIDとを管理ファイル101へ登録す
る。As shown in FIG. 3, the time-out monitoring program 104 for the license-limited interactive job according to the present embodiment, in step 301, the name of the license-limited interactive job and the license. The program name of the interactive program executed by the limited number interactive job and the user ID of the user who has started the license limited interactive job are registered in the management file 101.
【0043】また、ステップ301の処理では、管理フ
ァイル101の最終のCPU処理時刻またはIO処理時
刻にはライセンス数制限付対話型ジョブを起動した時刻
を入れる。Further, in the processing of step 301, the time when the interactive job with a limited number of licenses is started is entered in the last CPU processing time or IO processing time of the management file 101.
【0044】次に、ステップ302の処理で、ユーザI
Dと対話型プログラムのプログラム名をキーとして優先
ユーザIDファイル102を検索し、優先ユーザIDフ
ァイル102の中に当該ユーザIDと対話型プログラム
のプログラム名が見つかった場合には、ステップ303
の処理に進み、管理ファイル101の優先フラグに”
H”を設定する。Next, in the processing of step 302, the user I
The priority user ID file 102 is searched using D and the program name of the interactive program as a key, and if the user ID and the program name of the interactive program are found in the priority user ID file 102, step 303.
Processing, and the priority flag of the management file 101 is set to "
H "is set.
【0045】次に、ステップ304の処理で、当該ライ
センス数制限付対話型ジョブにCPU処理またはIO処
理が発生しているかどうかを調べる。Next, in the processing of step 304, it is checked whether or not CPU processing or IO processing has occurred in the license-limited interactive job.
【0046】ステップ304の処理で、当該ライセンス
数制限付対話型ジョブにCPU処理またはIO処理が発
生している場合には、ステップ305の処理に進み、管
理ファイル101に現在の時刻を書き込んだ後、ステッ
プ304の処理に戻る。In the processing of step 304, if CPU processing or IO processing has occurred in the license-limited interactive job, after proceeding to the processing of step 305, the current time is written in the management file 101. The process returns to step 304.
【0047】ステップ304の処理で、当該ライセンス
数制限付対話型ジョブにCPU処理及びIO処理が発生
していない場合には、ステップ306の処理に進み、当
該ライセンス数制限付対話型ジョブが終了しているかど
うかを調べる。In the process of step 304, if the CPU process and the IO process have not occurred in the license number limited interactive job, the process proceeds to step 306, and the license number limited interactive job ends. Find out if
【0048】ステップ306の処理で、当該ライセンス
数制限付対話型ジョブが終了していない場合には、ステ
ップ304の処理に戻り、ステップ306の処理で、当
該ライセンス数制限付対話型ジョブが終了している場合
には、ステップ307の処理に進み、当該ライセンス数
制限付対話型ジョブのジョブ情報を管理ファイル101
から削除した後、当該監視プログラム104の実行を終
了する。If it is determined in step 306 that the license-limited interactive job has not ended, the process returns to step 304, and in step 306, the license-limited interactive job ends. If the license number is limited, the process proceeds to step 307, and the job information of the license-limited interactive job is added to the management file 101.
Then, the execution of the monitoring program 104 is finished.
【0049】以上の様に、本実施例のライセンス数制限
付対話型ジョブのタイムアウト方式によれば、実行中の
ライセンス数制限付対話型ジョブの総数がライセンス数
に達している場合にのみ、放置制限時間を超えるライセ
ンス数制限付対話型ジョブを終了させるので、不必要な
タイムアウトを防止し、計算機システムのスループット
を向上させることが可能である。As described above, according to the time-out method of the license-number-limited interactive job according to the present embodiment, the license-number-limited interactive job is left idle only when the total number of license-number-limited interactive jobs that have been executed has reached the number of licenses. Since the interactive job with the number of licenses exceeding the time limit is terminated, unnecessary timeout can be prevented and the throughput of the computer system can be improved.
【0050】以上、本発明を、前記実施例に基づき具体
的に説明したが、本発明は、前記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲において種々変
更可能であることは勿論である。Although the present invention has been specifically described based on the above embodiments, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the scope of the invention. Of course.
【0051】[0051]
【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記のとおりである。The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.
【0052】すなわち、実行中のライセンス数制限付対
話型ジョブの総数がライセンス数に達している場合にの
み、放置制限時間を超えるライセンス数制限付対話型ジ
ョブを終了させるので、不必要なタイムアウトを防止
し、計算機システムのスループットを向上させることが
可能である。That is, only when the total number of license-limited interactive jobs being executed has reached the number of licenses, the license-limited interactive jobs exceeding the neglect limit time are terminated, so that an unnecessary time-out occurs. It is possible to prevent and improve the throughput of the computer system.
【図1】本発明のライセンス数制限付対話型ジョブのタ
イムアウト方式の一実施例の概略構成を示す図である。FIG. 1 is a diagram showing a schematic configuration of an embodiment of a timeout method for an interactive job with a limited number of licenses according to the present invention.
【図2】本実施例のライセンス数制限付対話型ジョブの
タイムアウト方式のタイムアウトプログラムの処理手順
を示すフローチャートである。FIG. 2 is a flowchart showing a processing procedure of a timeout program of a timeout method of an interactive job with a limited number of licenses according to the present embodiment.
【図3】本実施例のライセンス数制限付対話型ジョブの
タイムアウト方式の監視プログラムの処理手順を示すフ
ローチャートである。FIG. 3 is a flowchart showing a processing procedure of a time-out type monitoring program for a license number limited interactive job according to the present embodiment.
100…ライセンス情報ファイル、101…管理ファイ
ル、102…優先ユーザIDファイル、103…タイム
アウトプログラム、104…監視プログラム、105…
TSSプログラム、106…対話型ジョブ処理用CP
U、107…端末群。100 ... License information file, 101 ... Management file, 102 ... Priority user ID file, 103 ... Timeout program, 104 ... Monitoring program, 105 ...
TSS program, 106 ... CP for interactive job processing
U, 107 ... Terminal group.
Claims (1)
イセンス数が制限されている対話型プログラムを実行す
るライセンス数制限付対話型ジョブのタイムアウト方式
において、 前記ライセンス数制限付対話型ジョブが最後にCPU処
理またはIO処理を行ってからタイムアウトの対象とな
るまでの経過時間である放置制限時間及び前記ライセン
ス数を設定する手段と、実行中のライセンス数制限付対
話型ジョブが最後にCPU処理またはIO処理を行って
からの経過時間を記録する手段と、新たにライセンス数
制限付対話型ジョブの起動要求が行われた際に、現在実
行中のライセンス数制限付対話型ジョブの総数と前記ラ
イセンス数とを比較し、現在実行中のライセンス数制限
付対話型ジョブの総数が前記ライセンス数に達している
場合に、前記放置制限時間を超えているライセンス数制
限付対話型ジョブを終了する手段とを備えることを特徴
とするライセンス数制限付対話型ジョブのタイムアウト
方式。1. A time-out method for a license-limited interactive job for executing an interactive program in which the number of licenses, which is the number of programs that can be executed simultaneously, is limited. A means for setting the left-over time limit, which is the elapsed time from the execution of the CPU processing or IO processing to the time-out target, and the number of licenses, and the interactive job with the limited license number being executed is finally executed by the CPU processing or IO. A means for recording the elapsed time after processing, and the total number of license-limited interactive jobs currently being executed and the number of licenses when a new license-limited interactive job activation request is made. If the total number of licensed interactive jobs currently being executed has reached the number of licenses described above, Licenses restricted interactive jobs time out scheme, characterized in that it comprises a means for terminating the license number interactive jobs with limits that exceeds the allowed time limit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7211569A JPH0962393A (en) | 1995-08-21 | 1995-08-21 | Time-out method for interactive jobs with a limited number of licenses |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7211569A JPH0962393A (en) | 1995-08-21 | 1995-08-21 | Time-out method for interactive jobs with a limited number of licenses |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0962393A true JPH0962393A (en) | 1997-03-07 |
Family
ID=16607958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7211569A Pending JPH0962393A (en) | 1995-08-21 | 1995-08-21 | Time-out method for interactive jobs with a limited number of licenses |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0962393A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100381503B1 (en) * | 1999-05-19 | 2003-04-23 | 인터내셔널 비지네스 머신즈 코포레이션 | Management of a concurrent use license in a logically-partitioned computer |
JP2006330842A (en) * | 2005-05-23 | 2006-12-07 | Nec Corp | License management system and method and queue system device and its program |
JP2008090508A (en) * | 2006-09-29 | 2008-04-17 | Fujitsu Ltd | Grid system, grid scheduling program and method |
US8233504B2 (en) | 1998-02-26 | 2012-07-31 | Hitachi, Ltd. | Receiver set, information apparatus and receiving system |
-
1995
- 1995-08-21 JP JP7211569A patent/JPH0962393A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8233504B2 (en) | 1998-02-26 | 2012-07-31 | Hitachi, Ltd. | Receiver set, information apparatus and receiving system |
US8856819B2 (en) | 1998-02-26 | 2014-10-07 | Hitachi Maxell, Ltd. | Receiver set, information apparatus and receiving system |
US9661363B2 (en) | 1998-02-26 | 2017-05-23 | Hitachi Maxell, Ltd. | Receiver set, information apparatus and receiving system |
KR100381503B1 (en) * | 1999-05-19 | 2003-04-23 | 인터내셔널 비지네스 머신즈 코포레이션 | Management of a concurrent use license in a logically-partitioned computer |
JP2006330842A (en) * | 2005-05-23 | 2006-12-07 | Nec Corp | License management system and method and queue system device and its program |
JP2008090508A (en) * | 2006-09-29 | 2008-04-17 | Fujitsu Ltd | Grid system, grid scheduling program and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6502122B1 (en) | Method and apparatus for executing transaction programs in parallel | |
JP4515701B2 (en) | VEHICLE CONTROL PROGRAM AND VEHICLE CONTROL DEVICE | |
JPH05346851A (en) | Software license managing device | |
JPH0962393A (en) | Time-out method for interactive jobs with a limited number of licenses | |
CN1092358C (en) | Computor system with detecting point function | |
US7496928B2 (en) | Method and system for moderating thread priority boost for I/O completion | |
CN114721791A (en) | Task scheduling method, electronic device, and computer-readable storage medium | |
JPH07249010A (en) | Job scheduler and job scheduling method | |
JPH08241214A (en) | Data processing system | |
JP2000259591A (en) | Distributed processing job execution method and network system | |
JP2001166956A (en) | Job scheduling method in complex system | |
JP2575761B2 (en) | Job management method | |
JP2504645B2 (en) | Test program execution control processing method | |
JPH03260838A (en) | Limiting system for cpu using time | |
JP2718377B2 (en) | Waiting system for child task completion | |
CN117215775A (en) | File scanning method, device, computer equipment and storage medium | |
JPH0869361A (en) | Printer control system | |
JPH0827751B2 (en) | Transaction resource dynamic update method | |
CN118606041A (en) | Resource dynamic adjustment method, device, equipment, storage medium and vehicle | |
JPH06161872A (en) | Inter-task exclusive control method | |
JPH0440532A (en) | Real time processor | |
KR100248024B1 (en) | System call function apparatus and time element processing method | |
JP3711642B2 (en) | Processing management system | |
JPH0497474A (en) | Job managing system for computer network | |
CN118885117A (en) | Data consistency verification method, device, electronic equipment and medium |