JPH0635854A - Command prompt responsivity property assuring system - Google Patents

Command prompt responsivity property assuring system

Info

Publication number
JPH0635854A
JPH0635854A JP4208493A JP20849392A JPH0635854A JP H0635854 A JPH0635854 A JP H0635854A JP 4208493 A JP4208493 A JP 4208493A JP 20849392 A JP20849392 A JP 20849392A JP H0635854 A JPH0635854 A JP H0635854A
Authority
JP
Japan
Prior art keywords
priority
command
fixed
time slice
execution
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
JP4208493A
Other languages
Japanese (ja)
Inventor
Miyuki Ogawa
みゆき 小川
和寿 ▲高▼橋
Kazuhisa Takahashi
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 JP4208493A priority Critical patent/JPH0635854A/en
Publication of JPH0635854A publication Critical patent/JPH0635854A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely carry out the processes corresponding to the commands except a specific one while assuring the prompt responsivity property of the specific command having high urgency. CONSTITUTION:A time slice scheduling mechanism 115 performs the scheduling to fix the priority only for a fixed time and to dynamically change the priority after a fixed time. A command interpreter 105 sets the fixed priority stored in a user priority register table 102 to a specific user and the time slice in a user priority storing area 106 and then requests a process generating means 109 to generate a process in response to an input command. A fixed priority setting means 110 sets the fixed priority set in the area 106 and the time slice to the process corresponding to the command inputted by the specific user. Then, the means 110 registers the relevant program in an execution waiting process queue 111 in accordance with the mechanism 115.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はコマンド即答性保証方式
に関し、特に動的優先度スケジューリング機構(各プロ
セスに関して動的に優先度(プロセスの実行の優先度)
を変化させるスケジューリングを行う機構)によってス
ケジューリングされているプロセスよりも優先的に特定
のプロセスを実行すること(当該特定のプロセスに対応
するコマンドの応答性を良くすること、すなわち当該コ
マンドの即答性を保証すること)を実現するコマンド即
答性保証方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a command prompt response guarantee system, and more particularly to a dynamic priority scheduling mechanism (dynamic priority for each process (priority of process execution)).
To execute a specific process with priority over a process scheduled by a scheduling mechanism that changes the value of the command (to improve the responsiveness of the command corresponding to the specific process, that is, to improve the prompt response of the command). (Guarantee) is provided for the command prompt response guarantee method.

【0002】[0002]

【従来の技術】コマンド即答性保証方式は、コンピュー
タシステムが高負荷である場合に緊急性の高いコマンド
の即答性を保証すること等を目的として採用される。
2. Description of the Related Art A command prompt response guarantee system is adopted for the purpose of guaranteeing prompt prompt response of a command with a high degree of urgency when the computer system is under heavy load.

【0003】従来、この種のコマンド即答性保証方式で
は、特定のコマンド(特定のユーザによって入力された
コマンド,特定の端末から入力されたコマンドまたは特
定のコマンド種類のコマンド)の即答性を保証するため
に、当該特定のコマンドに対応するプロセスの優先度を
固定的に高く設定すべく、固定優先度スケジューリング
機構(各プロセスに関して初めに与えられた優先度をそ
の優先度が与えられたプロセスの実行が終了するまで変
化させないスケジューリングを行う機構)が設けられて
いた(動的優先度スケジューリング機構と固定優先度ス
ケジューリング機構とがコンピュータシステムに共存し
ていた)。
Conventionally, this type of command prompt response guarantee system guarantees prompt response of a specific command (command input by a specific user, command input from a specific terminal, or a command of a specific command type). In order to set the priority of the process corresponding to the particular command to a fixed high value, the fixed priority scheduling mechanism (the priority given to each process at the beginning is executed by the process given the priority). (A mechanism for scheduling that does not change until the end of) is provided (a dynamic priority scheduling mechanism and a fixed priority scheduling mechanism coexisted in a computer system).

【0004】固定優先度スケジューリング機構に従うプ
ロセスに対して、高い優先度が与えられた場合には、当
該プロセスは動的優先度スケジューリング機構に従うプ
ロセスよりも優先的に実行されることになる。ただし、
当該プロセスの実行が終了するまでは当該プロセス以外
のプロセス(動的優先度スケジューリング機構に従うプ
ロセス)は実行されないことになる。
When a high priority is given to a process according to the fixed priority scheduling mechanism, the process is executed with priority over a process according to the dynamic priority scheduling mechanism. However,
Until the execution of the process is completed, the processes other than the process (processes according to the dynamic priority scheduling mechanism) are not executed.

【0005】[0005]

【発明が解決しようとする課題】上述した従来のコマン
ド即答性保証方式では、動的優先度スケジューリング機
構と共に固定優先度スケジューリング機構が設けられ、
特定のコマンド(特定のユーザ,特定の端末または特定
のコマンド種類に係るコマンド)に対応するプロセスの
優先度が固定的に高く設定されているので、特定のユー
ザによって誤ったコマンド(終了しないコマンド等)が
入力されたり特定の端末から誤ったコマンドが入力され
たりした場合(人的な誤操作が発生した場合)には、特
定のプロセス以外のプロセスを実行することができなく
なる(特定のコマンド以外のコマンドを入力することが
できなくなる、すなわち特定のユーザ以外のユーザがコ
マンドを入力できなくなったり、特定の端末以外の端末
からコマンドを入力することができなくなる)という問
題点があった。
In the conventional command promptness guarantee system described above, a fixed priority scheduling mechanism is provided together with a dynamic priority scheduling mechanism.
Since the process priority corresponding to a specific command (a specific user, a specific terminal, or a command related to a specific command type) is set to a fixed high level, an incorrect command (command that does not end, etc.) ) Is input or an incorrect command is input from a specific terminal (when a human error occurs), it becomes impossible to execute processes other than the specific process (other than the specific command). There is a problem that a command cannot be input, that is, a user other than a specific user cannot input a command, or a command cannot be input from a terminal other than a specific terminal).

【0006】また、人的な誤操作が発生しなかったとし
ても、長時間にわたって特定のプロセスが実行を独占
し、当該特定のプロセスがコンピュータシステム資源を
独占するという事態が発生し、コンピュータシステムの
円滑な運用に支障が生じるという問題点があった。
Even if a human error does not occur, a particular process monopolizes execution for a long time, and the particular process monopolizes computer system resources. However, there was a problem that it hindered proper operation.

【0007】なお、対応するプロセスの優先度を高く設
定したいユーザ,端末またはコマンド種類を誤った場合
には、本来高い優先度を与えるべきではないプロセスが
上述のようにしてコンピュータシステム資源を独占する
という事態が生じるので、緊急性の高くないコマンドに
対応するプロセスの実行のみが行われ、緊急性の高いコ
マンドに対応するプロセスの実行が全く行われなくなる
という危険性があった。
If the user, terminal, or command type for which the priority of the corresponding process is desired to be set high, the process that should not be given a high priority monopolizes the computer system resources as described above. Therefore, there is a risk that only the process corresponding to the command that is not urgent is executed, and the process corresponding to the command that is urgent is not executed at all.

【0008】本発明の目的は、上述の点に鑑み、タイム
スライススケジューリング機構(各プロセスに関して初
めの一定時間には優先度を固定して変化させないスケジ
ューリングを行い一定時間の経過後には動的に優先度を
変化させるスケジューリングを行う機構)と動的優先度
スケジューリング機構とを共存させ、特定のコマンド
(緊急性の高いコマンド等)の即答性を保証しつつ、当
該特定のコマンド以外のコマンドに対応するプロセスの
実行を確保することができるコマンド即答性保証方式を
提供することにある。
In view of the above points, an object of the present invention is to provide a time slice scheduling mechanism (scheduling in which fixed priority is not changed for each process at a fixed initial time, and dynamic priority is given after the fixed time elapses. A mechanism for performing scheduling that changes the degree) and a dynamic priority scheduling mechanism coexist to support the prompt response of a specific command (such as a command with a high degree of urgency) while supporting commands other than the specific command. It is to provide a command prompt response guarantee method capable of ensuring the execution of a process.

【0009】[0009]

【課題を解決するための手段】本発明のコマンド即答性
保証方式は、各プロセスに関して動的に優先度を変化さ
せるスケジューリングを行う動的優先度スケジューリン
グ機構と、各プロセスに関して初めの一定時間には優先
度を固定して変化させないスケジューリングを行い一定
時間の経過後には動的に優先度を変化させるスケジュー
リングを行うタイムスライススケジューリング機構と、
コマンドを入力するコマンド入力手段と、対応するプロ
セスの優先度を高く設定したい特定のユーザに対する固
定優先度およびタイムスライスを有するユーザ優先度登
録テーブルと、当該特定のユーザによるログイン時に当
該特定のユーザに対する前記ユーザ優先度登録テーブル
内の固定優先度およびタイムスライスを自己の内部のユ
ーザ優先度格納領域に設定し前記コマンド入力手段から
のコマンドの入力時に当該コマンドを解釈しその解釈に
基づいて当該コマンドに対応するプロセスの生成を要求
するコマンドインタプリタと、このコマンドインタプリ
タからの要求に基づき当該コマンドに対応するプロセス
を生成するプロセス生成手段と、当該特定のユーザによ
り入力されたコマンドに対応するものとして前記プロセ
ス生成手段により生成されたプロセスに当該特定のユー
ザに対する前記ユーザ優先度格納領域内の固定優先度お
よびタイムスライスを設定し実行待ちプロセスキューに
当該プロセスを前記タイムスライススケジューリング機
構に従うプロセスとして登録する固定優先度設定手段
と、前記動的優先度スケジューリング機構および前記タ
イムスライススケジューリング機構によるスケジューリ
ングに基づき前記実行待ちプロセスキューから実行すべ
きプロセスを選択する実行プロセス選択手段と、この実
行プロセス選択手段によって選択されたプロセスの実行
を制御するプロセス実行手段とを有する。
The command prompt response guarantee system of the present invention includes a dynamic priority scheduling mechanism for performing scheduling in which the priority is dynamically changed for each process, and the initial fixed time for each process. A time slice scheduling mechanism that performs fixed-priority scheduling that does not change and that dynamically changes priorities after a certain period of time elapses.
A command input means for inputting a command, a user priority registration table having a fixed priority and a time slice for a specific user who wants to set a high priority of a corresponding process, and a user priority registration table for the specific user when logging in by the specific user. The fixed priority and the time slice in the user priority registration table are set in the internal user priority storage area of the self, and the command is interpreted when the command is input from the command input means, and the command is converted based on the interpretation. A command interpreter requesting generation of a corresponding process, process generation means for generating a process corresponding to the command based on a request from the command interpreter, and the process as a process corresponding to the command input by the specific user. By generating means Fixed priority setting means for setting a fixed priority and a time slice in the user priority storage area for the specific user in the created process and for registering the process in the waiting process queue as a process according to the time slice scheduling mechanism An execution process selecting means for selecting a process to be executed from the execution waiting process queue based on the scheduling by the dynamic priority scheduling mechanism and the time slice scheduling mechanism, and execution of the process selected by the execution process selecting means And a process execution means for controlling.

【0010】また、本発明のコマンド即答性保証方式
は、各プロセスに関して動的に優先度を変化させるスケ
ジューリングを行う動的優先度スケジューリング機構
と、各プロセスに関して初めの一定時間には優先度を固
定して変化させないスケジューリングを行い一定時間の
経過後には動的に優先度を変化させるスケジューリング
を行うタイムスライススケジューリング機構と、コマン
ドを入力するコマンド入力手段と、対応するプロセスの
優先度を高く設定したい特定の端末に対する固定優先度
およびタイムスライスを有する端末優先度登録テーブル
と、当該特定の端末からのログイン時に当該特定の端末
に対する前記端末優先度登録テーブル内の固定優先度お
よびタイムスライスを自己の内部の端末優先度格納領域
に設定し前記コマンド入力手段からのコマンドの入力時
に当該コマンドを解釈しその解釈に基づいて当該コマン
ドに対応するプロセスの生成を要求するコマンドインタ
プリタと、このコマンドインタプリタからの要求に基づ
き当該コマンドに対応するプロセスを生成するプロセス
生成手段と、当該特定の端末から入力されたコマンドに
対応するものとして前記プロセス生成手段により生成さ
れたプロセスに当該特定の端末に対する前記端末優先度
格納領域内の固定優先度およびタイムスライスを設定し
実行待ちプロセスキューに当該プロセスを前記タイムス
ライススケジューリング機構に従うプロセスとして登録
する固定優先度設定手段と、前記動的優先度スケジュー
リング機構および前記タイムスライススケジューリング
機構によるスケジューリングに基づき前記実行待ちプロ
セスキューから実行すべきプロセスを選択する実行プロ
セス選択手段と、この実行プロセス選択手段によって選
択されたプロセスの実行を制御するプロセス実行手段と
を有する。
Further, the command prompt response guarantee system of the present invention has a dynamic priority scheduling mechanism for performing scheduling for dynamically changing the priority of each process, and a fixed priority for each process at the first fixed time. Time slice scheduling mechanism that performs scheduling that does not change and dynamically changes the priority after a certain period of time, command input means that inputs commands, and you want to set a high priority for the corresponding process Of the terminal priority registration table having a fixed priority and a time slice for the terminal, and the fixed priority and the time slice in the terminal priority registration table for the specific terminal when logging in from the specific terminal Set the above command in the terminal priority storage area A command interpreter that interprets the command when inputting the command from the input means and requests the generation of a process corresponding to the command based on the interpretation, and a process corresponding to the command based on the request from the command interpreter A fixed priority and a time slice in the terminal priority storage area for the particular terminal are set in the process created by the process creating means and the process created by the process creating means as corresponding to a command input from the particular terminal. Fixed priority setting means for registering the process in the pending process queue as a process according to the time slice scheduling mechanism, and based on scheduling by the dynamic priority scheduling mechanism and the time slice scheduling mechanism. Having an execution process selection means for selecting a process to be executed from the execution waiting process queue, and process execution means for controlling execution of processes that have been selected by the execution process selecting means.

【0011】さらに、本発明のコマンド即答性保証方式
は、各プロセスに関して動的に優先度を変化させるスケ
ジューリングを行う動的優先度スケジューリング機構
と、各プロセスに関して初めの一定時間には優先度を固
定して変化させないスケジューリングを行い一定時間の
経過後には動的に優先度を変化させるスケジューリング
を行うタイムスライススケジューリング機構と、コマン
ドを入力するコマンド入力手段と、対応するプロセスの
優先度を高く設定したい特定のコマンド種類に対する固
定優先度およびタイムスライスを有するコマンド種類優
先度登録テーブルと、ログイン時に当該特定のコマンド
種類に対する前記コマンド種類優先度登録テーブル内の
固定優先度およびタイムスライスを自己の内部のコマン
ド種類優先度格納領域に設定し前記コマンド入力手段か
らのコマンドの入力時に当該コマンドを解釈しその解釈
に基づいて当該コマンドに対応するプロセスの生成を要
求するコマンドインタプリタと、このコマンドインタプ
リタからの要求に基づき当該コマンドに対応するプロセ
スを生成するプロセス生成手段と、当該特定のコマンド
種類に該当するコマンドに対応するものとして前記プロ
セス生成手段により生成されたプロセスに当該特定のコ
マンド種類に対する前記コマンド種類優先度格納領域内
の固定優先度およびタイムスライスを設定し実行待ちプ
ロセスキューに当該プロセスを前記タイムスライススケ
ジューリング機構に従うプロセスとして登録する固定優
先度設定手段と、前記動的優先度スケジューリング機構
および前記タイムスライススケジューリング機構による
スケジューリングに基づき前記実行待ちプロセスキュー
から実行すべきプロセスを選択する実行プロセス選択手
段と、この実行プロセス選択手段によって選択されたプ
ロセスの実行を制御するプロセス実行手段とを有する。
Further, the command prompt response guarantee system of the present invention has a dynamic priority scheduling mechanism for performing scheduling in which the priority of each process is dynamically changed, and the priority of each process is fixed at a first fixed time. Time slice scheduling mechanism that performs scheduling that does not change and dynamically changes the priority after a certain period of time, command input means that inputs commands, and you want to set a high priority for the corresponding process Command type priority registration table having fixed priority and time slice for each command type, and the fixed priority and time slice in the command type priority registration table for the specific command type at login, the internal command type Priority storage area And interprets the command when the command is input from the command input means and requests the generation of a process corresponding to the command based on the interpretation, and supports the command based on the request from the command interpreter. And a process generation means for generating a process to be processed, and a process generated by the process generation means as a command corresponding to the command corresponding to the specific command type fixed in the command type priority storage area for the specific command type. Fixed priority setting means for setting a priority and a time slice and registering the process in the waiting process queue as a process according to the time slice scheduling mechanism, the dynamic priority scheduling mechanism, and the time slice schedule Having an execution process selection means for selecting a process to be executed from the execution waiting process queue based on the scheduling by the ring mechanism, and a process execution means for controlling execution of processes that have been selected by the execution process selecting means.

【0012】[0012]

【作用】本発明のコマンド即答性保証方式では、動的優
先度スケジューリング機構が各プロセスに関して動的に
優先度を変化させるスケジューリングを行い、タイムス
ライススケジューリング機構が各プロセスに関して初め
の一定時間には優先度を固定して変化させないスケジュ
ーリングを行い一定時間の経過後には動的に優先度を変
化させるスケジューリングを行い、コマンド入力手段が
コマンドを入力し、ユーザ優先度登録テーブルが対応す
るプロセスの優先度を高く設定したい特定のユーザに対
する固定優先度およびタイムスライスを有し、コマンド
インタプリタが当該特定のユーザによるログイン時に当
該特定のユーザに対するユーザ優先度登録テーブル内の
固定優先度およびタイムスライスを自己の内部のユーザ
優先度格納領域に設定しコマンド入力手段からのコマン
ドの入力時に当該コマンドを解釈しその解釈に基づいて
当該コマンドに対応するプロセスの生成を要求し、プロ
セス生成手段がコマンドインタプリタからの要求に基づ
き当該コマンドに対応するプロセスを生成し、固定優先
度設定手段が当該特定のユーザにより入力されたコマン
ドに対応するものとしてプロセス生成手段により生成さ
れたプロセスに当該特定のユーザに対するユーザ優先度
格納領域内の固定優先度およびタイムスライスを設定し
実行待ちプロセスキューに当該プロセスをタイムスライ
ススケジューリング機構に従うプロセスとして登録し、
実行プロセス選択手段が動的優先度スケジューリング機
構およびタイムスライススケジューリング機構によるス
ケジューリングに基づき実行待ちプロセスキューから実
行すべきプロセスを選択し、プロセス実行手段が実行プ
ロセス選択手段によって選択されたプロセスの実行を制
御する。
In the command prompt response guarantee system of the present invention, the dynamic priority scheduling mechanism performs scheduling for dynamically changing the priority of each process, and the time slice scheduling mechanism gives priority to each process at the first fixed time. The schedule is fixed and does not change. After a certain period of time, the priority is dynamically changed. The command input means inputs a command, and the user priority registration table sets the priority of the corresponding process. It has a fixed priority and a time slice for a specific user who wants to be set high, and when the command interpreter logs in by the specific user, the fixed priority and the time slice in the user priority registration table for the specific user are set in its own internal In the user priority storage area Process that interprets the command when the command is input from the specified command input means, requests the generation of a process corresponding to the command based on the interpretation, and the process generation means responds to the command based on the request from the command interpreter. The fixed priority and time in the user priority storage area for the specific user are generated in the process generated by the process generation means as the fixed priority setting means corresponding to the command input by the specific user. Set a slice and register the process in the pending process queue as a process according to the time slice scheduling mechanism,
The execution process selecting means selects a process to be executed from the waiting process queue based on the scheduling by the dynamic priority scheduling mechanism and the time slice scheduling mechanism, and the process executing means controls the execution of the process selected by the execution process selecting means. To do.

【0013】また、本発明のコマンド即答性保証方式で
は、動的優先度スケジューリング機構が各プロセスに関
して動的に優先度を変化させるスケジューリングを行
い、タイムスライススケジューリング機構が各プロセス
に関して初めの一定時間には優先度を固定して変化させ
ないスケジューリングを行い一定時間の経過後には動的
に優先度を変化させるスケジューリングを行い、コマン
ド入力手段がコマンドを入力し、端末優先度登録テーブ
ルが対応するプロセスの優先度を高く設定したい特定の
端末に対する固定優先度およびタイムスライスを有し、
コマンドインタプリタが当該特定の端末からのログイン
時に当該特定の端末に対する端末優先度登録テーブル内
の固定優先度およびタイムスライスを自己の内部の端末
優先度格納領域に設定しコマンド入力手段からのコマン
ドの入力時に当該コマンドを解釈しその解釈に基づいて
当該コマンドに対応するプロセスの生成を要求し、プロ
セス生成手段がコマンドインタプリタからの要求に基づ
き当該コマンドに対応するプロセスを生成し、固定優先
度設定手段が当該特定の端末から入力されたコマンドに
対応するものとしてプロセス生成手段により生成された
プロセスに当該特定の端末に対する端末優先度格納領域
内の固定優先度およびタイムスライスを設定し実行待ち
プロセスキューに当該プロセスをタイムスライススケジ
ューリング機構に従うプロセスとして登録し、実行プロ
セス選択手段が動的優先度スケジューリング機構および
タイムスライススケジューリング機構によるスケジュー
リングに基づき実行待ちプロセスキューから実行すべき
プロセスを選択し、プロセス実行手段が実行プロセス選
択手段によって選択されたプロセスの実行を制御する。
Further, in the command prompt response guarantee system of the present invention, the dynamic priority scheduling mechanism carries out the scheduling in which the priority is dynamically changed for each process, and the time slice scheduling mechanism performs the scheduling at the first fixed time for each process. Schedules the priority to be fixed and does not change, and after a certain period of time, schedules to dynamically change the priority, the command input means inputs a command, and the terminal priority registration table gives priority to the corresponding process. Has a fixed priority and time slice for a particular terminal that you want to set higher
When the command interpreter logs in from the particular terminal, it sets a fixed priority and time slice in the terminal priority registration table for the particular terminal in its own terminal priority storage area and inputs a command from the command input means. Sometimes the command is interpreted, and based on the interpretation, a process corresponding to the command is requested to be generated, the process generation means generates a process corresponding to the command based on a request from the command interpreter, and the fixed priority setting means A fixed priority and a time slice in the terminal priority storage area for the specific terminal are set in the process created by the process creating means as a command corresponding to the command input from the specific terminal, and the process is queued in the process waiting queue. Process as a time slice scheduling mechanism The process execution selecting unit selects the process to be executed from the pending process queue based on the scheduling by the dynamic priority scheduling mechanism and the time slice scheduling mechanism, and the process executing unit is selected by the execution process selecting unit. Control the execution of these processes.

【0014】さらに、本発明のコマンド即答性保証方式
では、動的優先度スケジューリング機構が各プロセスに
関して動的に優先度を変化させるスケジューリングを行
い、タイムスライススケジューリング機構が各プロセス
に関して初めの一定時間には優先度を固定して変化させ
ないスケジューリングを行い一定時間の経過後には動的
に優先度を変化させるスケジューリングを行い、コマン
ド入力手段がコマンドを入力し、コマンド種類優先度登
録テーブルが対応するプロセスの優先度を高く設定した
い特定のコマンド種類に対する固定優先度およびタイム
スライスを有し、コマンドインタプリタがログイン時に
当該特定のコマンド種類に対するコマンド種類優先度登
録テーブル内の固定優先度およびタイムスライスを自己
の内部のコマンド種類優先度格納領域に設定しコマンド
入力手段からのコマンドの入力時に当該コマンドを解釈
しその解釈に基づいて当該コマンドに対応するプロセス
の生成を要求し、プロセス生成手段がコマンドインタプ
リタからの要求に基づき当該コマンドに対応するプロセ
スを生成し、固定優先度設定手段が当該特定のコマンド
種類に該当するコマンドに対応するものとしてプロセス
生成手段により生成されたプロセスに当該特定のコマン
ド種類に対するコマンド種類優先度格納領域内の固定優
先度およびタイムスライスを設定し実行待ちプロセスキ
ューに当該プロセスをタイムスライススケジューリング
機構に従うプロセスとして登録し、実行プロセス選択手
段が動的優先度スケジューリング機構およびタイムスラ
イススケジューリング機構によるスケジューリングに基
づき実行待ちプロセスキューから実行すべきプロセスを
選択し、プロセス実行手段が実行プロセス選択手段によ
って選択されたプロセスの実行を制御する。
Further, in the command prompt response guarantee system of the present invention, the dynamic priority scheduling mechanism performs scheduling in which the priority is dynamically changed for each process, and the time slice scheduling mechanism sets the initial fixed time for each process. Schedules the priority to be fixed and does not change, and after a certain period of time, schedules to dynamically change the priority, the command input means inputs a command, and the command type priority registration table It has a fixed priority and time slice for a specific command type for which you want to set a high priority, and when the command interpreter logs in, the fixed priority and time slice in the command type priority registration table for the specific command type are set by itself. Command Set in the class priority storage area, interpret the command when the command is input from the command input means, request the generation of the process corresponding to the command based on the interpretation, and the process generation means based on the request from the command interpreter. The process corresponding to the command is generated, and the fixed priority setting means stores the command type priority for the specific command type in the process generated by the process generation means as the command corresponding to the command corresponding to the specific command type. The fixed priority and time slice in the area are set, the process is registered in the pending process queue as a process that complies with the time slice scheduling mechanism, and the execution process selection means uses the dynamic priority scheduling mechanism and the time slice scheduling mechanism to execute the process. Select the process to be executed from the execution waiting process queue based on the scheduling, a process execution means controls execution of the process selected by the execution process selecting means.

【0015】[0015]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0016】図1は、本発明のコマンド即答性保証方式
の第1の実施例の構成を示すブロック図である。本実施
例のコマンド即答性保証方式は、コマンド入力手段10
1と、ユーザ優先度登録テーブル102と、ユーザ優先
度格納領域106を備えるコマンドインタプリタ105
と、プロセス生成手段109と、固定優先度設定手段1
10と、実行待ちプロセスキュー111と、実行プロセ
ス選択手段112と、プロセス実行手段113と、動的
優先度スケジューリング機構114と、タイムスライス
スケジューリング機構115とを含んで構成されてい
る。
FIG. 1 is a block diagram showing the configuration of a first embodiment of a command prompt response guarantee system of the present invention. The command prompt response guarantee system of the present embodiment uses the command input means 10
1, a user priority registration table 102, and a command interpreter 105 including a user priority storage area 106.
, Process generation means 109, and fixed priority setting means 1
10, a waiting process queue 111, an execution process selection unit 112, a process execution unit 113, a dynamic priority scheduling mechanism 114, and a time slice scheduling mechanism 115.

【0017】図2は、コマンドインタプリタ105によ
って行われる前処理(ログイン時の処理)を示す流れ図
である。この処理は、ユーザログインステップ201
と、ユーザ識別ステップ202と、ユーザ優先度登録テ
ーブル参照ステップ203と、ユーザ優先度格納領域情
報格納ステップ204とからなる。
FIG. 2 is a flow chart showing the preprocessing (processing at login) performed by the command interpreter 105. This process is performed by the user login step 201.
A user identification step 202, a user priority registration table reference step 203, and a user priority storage area information storage step 204.

【0018】図3は、コマンドインタプリタ105によ
って参照されるユーザ優先度登録テーブル102の内容
を示す図である。ユーザ優先度登録テーブル102に
は、対応するプロセスの優先度を高く設定したい各ユー
ザについて、ユーザ識別子(ユーザの識別情報)と、固
定優先度(一定時間だけ固定的に高く設定される優先
度)と、タイムスライス(固定優先度が維持される一定
時間)とが登録されている。なお、図3に示すようなユ
ーザ優先度登録テーブル102は、あらかじめ用意され
ているものとする。
FIG. 3 is a diagram showing the contents of the user priority registration table 102 referred to by the command interpreter 105. In the user priority registration table 102, a user identifier (user identification information) and a fixed priority (priority that is fixedly set high for a certain period of time) for each user who wants to set a high priority for the corresponding process And a time slice (a fixed time during which the fixed priority is maintained) are registered. It is assumed that the user priority registration table 102 as shown in FIG. 3 is prepared in advance.

【0019】次に、このように構成された本実施例のコ
マンド即答性保証方式の動作について説明する。本実施
例のコマンド即答性保証方式では、特定のユーザに係る
プロセス(特定のユーザによって入力されるコマンドに
対応するプロセス)に一定時間だけ固定的に高い優先度
が設定される場合の動作が実現される。
Next, the operation of the command prompt response guarantee system of the present embodiment thus constructed will be described. The command prompt response guarantee method of the present embodiment realizes an operation when a high priority is fixedly set for a certain period of time for a process related to a specific user (a process corresponding to a command input by a specific user). To be done.

【0020】コマンドインタプリタ105は、特定のユ
ーザに係るプロセスの優先度を高く設定するために、コ
マンドの入力を受け付ける以前に、次のような前処理を
行う(図2参照)。
The command interpreter 105 performs the following pre-processing before receiving a command input in order to set a high priority of a process related to a specific user (see FIG. 2).

【0021】任意の端末から特定のユーザ(一定時間だ
け固定的に高く設定される優先度を有するプロセス(タ
イムスライススケジューリング機構115に従うプロセ
ス)に対応するユーザ)によるログインが行われると
(ステップ201)、コマンドインタプリタ105が起
動される。
When a specific user (a user corresponding to a process (a process according to the time slice scheduling mechanism 115) having a priority set fixedly for a certain period of time) logs in from an arbitrary terminal (step 201). The command interpreter 105 is activated.

【0022】コマンドインタプリタ105は、ログイン
を行ったユーザをユーザ識別子によって識別し(ステッ
プ202)、ユーザ優先度登録テーブル102を参照す
る(ステップ203)。
The command interpreter 105 identifies the logged-in user by the user identifier (step 202) and refers to the user priority registration table 102 (step 203).

【0023】コマンドインタプリタ105は、ユーザ優
先度登録テーブル102から当該ユーザ識別子に対応す
る固定優先度およびタイムスライスを取得し、ユーザ優
先度格納領域106に当該固定優先度および当該タイム
スライスを格納する(ステップ204)。
The command interpreter 105 acquires the fixed priority and the time slice corresponding to the user identifier from the user priority registration table 102, and stores the fixed priority and the time slice in the user priority storage area 106 ( Step 204).

【0024】なお、特定のユーザ以外のユーザ(動的優
先度スケジューリング機構114に従うプロセスに対応
するユーザ)によりログインが行われた場合には、コマ
ンドインタプリタ105は、対応する固定優先度および
タイムスライスがユーザ優先度登録テーブル102に登
録されていないことを認識し、ユーザ優先度格納領域1
06内のタイムスライスとして「0」を設定する(この
場合には、ユーザ優先度格納領域106内の固定優先度
は意味のない情報になる)。
When a user other than a specific user (user corresponding to the process according to the dynamic priority scheduling mechanism 114) logs in, the command interpreter 105 determines that the corresponding fixed priority and time slice are Recognizing that it is not registered in the user priority registration table 102, the user priority storage area 1
“0” is set as the time slice in 06 (in this case, the fixed priority in the user priority storage area 106 becomes meaningless information).

【0025】次に、図1を参照して、ユーザによってコ
マンドが入力されてからそのコマンドに基づくプロセス
が実行されるまでのアルゴリズム(動作)を説明する。
Next, with reference to FIG. 1, an algorithm (operation) from when a command is input by a user to when a process based on the command is executed will be described.

【0026】上述の特定のユーザ(タイムスライススケ
ジューリング機構115に従うプロセスに対応するユー
ザ)によってコマンド入力手段101からコマンドが入
力されると、コマンドインタプリタ105は、当該コマ
ンドを解釈し、その解釈に基づいて当該コマンドに対応
するプロセスを生成する旨の要求をプロセス生成手段1
09に対して行う。この要求の際に、コマンドインタプ
リタ105は、ユーザ優先度格納領域106に格納され
ている当該特定のユーザに対応する固定優先度およびタ
イムスライスをプロセス生成手段109に対して渡す。
When a command is input from the command input means 101 by the above-mentioned specific user (user corresponding to the process according to the time slice scheduling mechanism 115), the command interpreter 105 interprets the command and based on the interpretation. The process generation means 1 issues a request to generate a process corresponding to the command.
Perform on 09. At the time of this request, the command interpreter 105 passes the fixed priority and time slice corresponding to the specific user stored in the user priority storage area 106 to the process generation unit 109.

【0027】プロセス生成手段109は、コマンドイン
タプリタ105からの要求に応じて、入力されたコマン
ドに対応するプロセスを生成する。
The process generation means 109 generates a process corresponding to the input command in response to a request from the command interpreter 105.

【0028】固定優先度設定手段110は、プロセス生
成手段109によって生成されたプロセスに対してユー
ザ優先度格納領域106に格納されている当該特定のユ
ーザに対応する固定優先度およびタイムスライス(これ
らの情報はプロセス生成手段109を介してコマンドイ
ンタプリタ105から渡される)を設定し、実行待ちプ
ロセスキュー111にそのプロセスをつなぐ(登録す
る)。
The fixed priority setting means 110 stores the fixed priority and time slice (these are stored in the user priority storage area 106) corresponding to the particular user for the process generated by the process generation means 109. The information is set from the command interpreter 105 via the process generation means 109), and the process is connected (registered) to the execution waiting process queue 111.

【0029】一方、上述の特定のユーザ以外のユーザ
(動的優先度スケジューリング機構114に従うプロセ
スに対応するユーザ)によってコマンド入力手段101
からコマンドが入力されると、コマンドインタプリタ1
05は、当該コマンドを解釈し、その解釈に基づいて当
該コマンドに対応するプロセスを生成する旨の要求をプ
ロセス生成手段109に対して行う。この要求の際に、
コマンドインタプリタ105は、ユーザ優先度格納領域
106に格納されている当該ユーザに対応する「0」の
値を有するタイムスライスをプロセス生成手段109に
対して渡す。
On the other hand, the command input means 101 by a user other than the above-mentioned specific user (user corresponding to the process according to the dynamic priority scheduling mechanism 114).
Command is input from command interpreter 1
05 interprets the command and makes a request to the process generation means 109 to generate a process corresponding to the command based on the interpretation. When making this request,
The command interpreter 105 passes the time slice stored in the user priority storage area 106 and having a value of “0” corresponding to the user, to the process generation unit 109.

【0030】プロセス生成手段109は、コマンドイン
タプリタ105からの要求に応じて、入力されたコマン
ドに対応するプロセスを生成する。
The process generation means 109 generates a process corresponding to the input command in response to a request from the command interpreter 105.

【0031】固定優先度設定手段110は、プロセス生
成手段109によって生成されたプロセスに対して
「0」の値を有するタイムスライスを設定し、実行待ち
プロセスキュー111にそのプロセスをつなぐ(登録す
る)。
The fixed priority setting means 110 sets a time slice having a value of "0" for the process generated by the process generation means 109 and connects (registers) the process to the execution waiting process queue 111. .

【0032】実行待ちプロセスキュー111には、動的
優先度スケジューリング機構114およびタイムスライ
ススケジューリング機構115の各スケジューリング機
構に従うプロセスが同一のキューにつながれている。動
的優先度スケジューリング機構114はタイムスライス
の値が「0」であるプロセス(当初より動的な優先度の
設定の対象である普通のプロセス)のスケジューリング
を行い、タイムスライススケジューリング機構115は
タイムスライスの値が「0」以外であるプロセス(上述
の「特定のユーザ」に対応するプロセス)のスケジュー
リングを行う(各スケジューリング機構は、実行待ちプ
ロセスキュー111に登録されているプロセス以外のプ
ロセスに関するスケジューリングをも行っている)。
Processes according to the scheduling mechanisms of the dynamic priority scheduling mechanism 114 and the time slice scheduling mechanism 115 are connected to the same queue in the execution waiting process queue 111. The dynamic priority scheduling mechanism 114 schedules a process whose time slice value is “0” (a normal process that is a target of dynamic priority setting from the beginning), and the time slice scheduling mechanism 115 performs time slice processing. Processes (processes corresponding to the above-mentioned “specific user”) having a value other than “0” (each scheduling mechanism performs scheduling regarding processes other than the processes registered in the pending process queue 111). Have also done).

【0033】なお、タイムスライススケジューリング機
構115に従うプロセスの優先度は、タイムスライスと
して設定された一定時間が経過するまでの間は固定優先
度として設定された優先度のままとなるように制御さ
れ、タイムスライスとして設定された一定時間が経過し
た後には動的スケジューリング機構114に従うプロセ
スの優先度と同様に動的に変化する。
The priority of the process according to the time slice scheduling mechanism 115 is controlled so as to remain the priority set as the fixed priority until a fixed time set as the time slice elapses. After a lapse of a certain time set as the time slice, the priority dynamically changes like the priority of the process according to the dynamic scheduling mechanism 114.

【0034】実行プロセス選択手段112は、実行すべ
きプロセスを決定すべき時点で、実行待ちプロセスキュ
ー111に登録されているプロセス群の中で最も優先度
の高いプロセスを選択し、プロセス実行手段113にそ
のプロセスを渡す。
The execution process selecting means 112 selects the process with the highest priority among the processes registered in the execution waiting process queue 111 at the time when the process to be executed should be determined, and the process executing means 113 Pass the process to.

【0035】プロセス実行手段113は、実行プロセス
選択手段112によって選択されたプロセスの実行を制
御する。すなわち、コンピュータシステムで設定されて
いる一定時間の実行を実行プロセス選択手段112によ
って選択されたプロセスに割り当てる(タイムスライス
スケジューリング機構115に従うプロセスに関しては
タイムスライス分の時間が割り当てられる)。
The process execution means 113 controls the execution of the process selected by the execution process selection means 112. That is, the execution for a fixed time set in the computer system is allocated to the process selected by the execution process selection means 112 (time slice time is allocated to the process according to the time slice scheduling mechanism 115).

【0036】図4は、本発明のコマンド即答性保証方式
の第2の実施例の構成を示すブロック図である。本実施
例のコマンド即答性保証方式は、コマンド入力手段40
1と、端末優先度登録テーブル403と、端末優先度格
納領域407を備えるコマンドインタプリタ405と、
プロセス生成手段409と、固定優先度設定手段410
と、実行待ちプロセスキュー411と、実行プロセス選
択手段412と、プロセス実行手段413と、動的優先
度スケジューリング機構414と、タイムスライススケ
ジューリング機構415とを含んで構成されている。
FIG. 4 is a block diagram showing the configuration of the second embodiment of the command prompt response guarantee system of the present invention. The command prompt response guarantee system of the present embodiment uses the command input means 40.
1, a terminal priority registration table 403, a command interpreter 405 including a terminal priority storage area 407,
Process generation means 409 and fixed priority setting means 410
And a process queue 411, a process selection unit 412, a process execution unit 413, a dynamic priority scheduling mechanism 414, and a time slice scheduling mechanism 415.

【0037】図5は、コマンドインタプリタ405によ
って行われる前処理(ログイン時の処理)を示す流れ図
である。この処理は、ユーザログインステップ501
と、端末識別ステップ502と、端末優先度登録テーブ
ル参照ステップ503と、端末優先度格納領域情報格納
ステップ504とからなる。
FIG. 5 is a flow chart showing the pre-processing (log-in processing) performed by the command interpreter 405. This process is performed by the user login step 501.
A terminal identification step 502, a terminal priority registration table reference step 503, and a terminal priority storage area information storage step 504.

【0038】図6は、コマンドインタプリタ405によ
って参照される端末優先度登録テーブル403の内容を
示す図である。端末優先度登録テーブル403には、対
応するプロセスの優先度を高く設定したい各端末につい
て、端末識別子(端末の識別情報)と、固定優先度(一
定時間だけ固定的に高く設定される優先度)と、タイム
スライス(固定優先度が維持される一定時間)とが登録
されている。なお、図6に示すような端末優先度登録テ
ーブル403は、あらかじめ用意されているものとす
る。
FIG. 6 is a diagram showing the contents of the terminal priority registration table 403 referenced by the command interpreter 405. In the terminal priority registration table 403, a terminal identifier (identification information of the terminal) and a fixed priority (a priority that is fixedly set high for a fixed time) are set for each terminal for which the priority of the corresponding process is to be set high. And a time slice (a fixed time during which the fixed priority is maintained) are registered. The terminal priority registration table 403 as shown in FIG. 6 is prepared in advance.

【0039】次に、このように構成された本実施例のコ
マンド即答性保証方式の動作について説明する。本実施
例のコマンド即答性保証方式では、特定の端末に係るプ
ロセス(特定の端末から入力されるコマンドに対応する
プロセス)に一定時間だけ固定的に高い優先度が設定さ
れる場合の動作が実現される。
Next, the operation of the command prompt response guarantee system of the present embodiment thus constructed will be described. The command prompt response guarantee method of this embodiment realizes an operation when a high priority is fixedly set for a certain period of time in a process related to a specific terminal (process corresponding to a command input from a specific terminal). To be done.

【0040】コマンドインタプリタ405は、特定の端
末に係るプロセスの優先度を高く設定するために、コマ
ンドの入力を受け付ける以前に、次のような前処理を行
う(図5参照)。
The command interpreter 405 performs the following preprocessing before receiving a command input in order to set a high priority of a process related to a specific terminal (see FIG. 5).

【0041】特定の端末(一定時間だけ固定的に高く設
定される優先度を有するプロセス(タイムスライススケ
ジューリング機構415に従うプロセス)に対応する端
末)から任意のユーザによるログインが行われると(ス
テップ501)、コマンドインタプリタ405が起動さ
れる。
When an arbitrary user logs in from a specific terminal (a terminal corresponding to a process (a process according to the time slice scheduling mechanism 415) having a priority set fixedly for a certain period of time) (step 501). The command interpreter 405 is activated.

【0042】コマンドインタプリタ405は、ログイン
を行った端末を端末識別子によって識別し(ステップ5
02)、端末優先度登録テーブル403を参照する(ス
テップ503)。
The command interpreter 405 identifies the terminal that logged in by the terminal identifier (step 5
02), and refers to the terminal priority registration table 403 (step 503).

【0043】コマンドインタプリタ405は、端末優先
度登録テーブル403から当該端末識別子に対応する固
定優先度およびタイムスライスを取得し、端末優先度格
納領域407に当該固定優先度および当該タイムスライ
スを格納する(ステップ504)。
The command interpreter 405 acquires the fixed priority and the time slice corresponding to the terminal identifier from the terminal priority registration table 403, and stores the fixed priority and the time slice in the terminal priority storage area 407 ( Step 504).

【0044】なお、特定の端末以外の端末(動的優先度
スケジューリング機構414に従うプロセスに対応する
端末)からログインが行われた場合には、コマンドイン
タプリタ405は、対応する固定優先度およびタイムス
ライスが端末優先度登録テーブル403に登録されてい
ないことを認識し、端末優先度格納領域407内のタイ
ムスライスとして「0」を設定する(この場合には、端
末優先度格納領域407内の固定優先度は意味のない情
報になる)。
When a login is made from a terminal other than a specific terminal (terminal corresponding to the process according to the dynamic priority scheduling mechanism 414), the command interpreter 405 determines that the corresponding fixed priority and time slice are Recognizing that it is not registered in the terminal priority registration table 403, "0" is set as the time slice in the terminal priority storage area 407 (in this case, fixed priority in the terminal priority storage area 407). Will be meaningless information).

【0045】次に、図4を参照して、端末からコマンド
が入力されてからそのコマンドに基づくプロセスが実行
されるまでのアルゴリズム(動作)を説明する。
Next, with reference to FIG. 4, an algorithm (operation) from when a command is input from the terminal to when a process based on the command is executed will be described.

【0046】上述の特定の端末(タイムスライススケジ
ューリング機構415に従うプロセスに対応する端末)
からコマンド入力手段401によってコマンドが入力さ
れると、コマンドインタプリタ405は、当該コマンド
を解釈し、その解釈に基づいて当該コマンドに対応する
プロセスを生成する旨の要求をプロセス生成手段409
に対して行う。この要求の際に、コマンドインタプリタ
405は、端末優先度格納領域407に格納されている
当該特定の端末に対応する固定優先度およびタイムスラ
イスをプロセス生成手段409に対して渡す。
The above-mentioned specific terminal (terminal corresponding to the process according to the time slice scheduling mechanism 415)
When a command is input from the command input unit 401 by the command interpreter 405, the command interpreter 405 interprets the command and requests the process generation unit 409 to generate a process corresponding to the command based on the interpretation.
Do against. At the time of this request, the command interpreter 405 passes the fixed priority and time slice corresponding to the specific terminal stored in the terminal priority storage area 407 to the process generation unit 409.

【0047】プロセス生成手段409は、コマンドイン
タプリタ405からの要求に応じて、入力されたコマン
ドに対応するプロセスを生成する。
The process generation means 409 generates a process corresponding to the input command in response to a request from the command interpreter 405.

【0048】固定優先度設定手段410は、プロセス生
成手段409によって生成されたプロセスに対して端末
優先度格納領域407に格納されている当該特定の端末
に対応する固定優先度およびタイムスライス(これらの
情報はプロセス生成手段409を介してコマンドインタ
プリタ405から渡される)を設定し、実行待ちプロセ
スキュー411にそのプロセスをつなぐ(登録する)。
The fixed priority setting means 410, for the process generated by the process generation means 409, stores the fixed priority and time slice (these are stored in the terminal priority storage area 407) corresponding to the particular terminal. The information is set from the command interpreter 405 via the process generation means 409), and the process is connected (registered) to the execution waiting process queue 411.

【0049】一方、上述の特定の端末以外の端末(動的
優先度スケジューリング機構414に従うプロセスに対
応する端末)からコマンド入力手段401によってコマ
ンドが入力されると、コマンドインタプリタ405は、
当該コマンドを解釈し、その解釈に基づいて当該コマン
ドに対応するプロセスを生成する旨の要求をプロセス生
成手段409に対して行う。この要求の際に、コマンド
インタプリタ405は、端末優先度格納領域407に格
納されている当該端末に対応する「0」の値を有するタ
イムスライスをプロセス生成手段409に対して渡す。
On the other hand, when a command is input by the command input means 401 from a terminal other than the above-mentioned specific terminal (terminal corresponding to the process according to the dynamic priority scheduling mechanism 414), the command interpreter 405
The command is interpreted, and the process generation unit 409 is requested to generate a process corresponding to the command based on the interpretation. At the time of this request, the command interpreter 405 passes to the process generation unit 409 a time slice having a value of “0” corresponding to the terminal stored in the terminal priority storage area 407.

【0050】プロセス生成手段409は、コマンドイン
タプリタ405からの要求に応じて、入力されたコマン
ドに対応するプロセスを生成する。
The process generation means 409 generates a process corresponding to the input command in response to a request from the command interpreter 405.

【0051】固定優先度設定手段410は、プロセス生
成手段409によって生成されたプロセスに対して
「0」の値を有するタイムスライスを設定し、実行待ち
プロセスキュー411にそのプロセスをつなぐ(登録す
る)。
The fixed priority setting means 410 sets a time slice having a value of "0" for the process created by the process creating means 409, and connects (registers) the process to the execution waiting process queue 411. .

【0052】実行待ちプロセスキュー411には、動的
優先度スケジューリング機構414およびタイムスライ
ススケジューリング機構415の各スケジューリング機
構に従うプロセスが同一のキューにつながれている。動
的優先度スケジューリング機構414はタイムスライス
の値が「0」であるプロセス(当初より動的な優先度の
設定の対象である普通のプロセス)のスケジューリング
を行い、タイムスライススケジューリング機構415は
タイムスライスの値が「0」以外であるプロセス(上述
の「特定の端末」に対応するプロセス)のスケジューリ
ングを行う(各スケジューリング機構は、実行待ちプロ
セスキュー411に登録されているプロセス以外のプロ
セスに関するスケジューリングをも行っている)。
In the execution waiting process queue 411, processes according to the scheduling mechanisms of the dynamic priority scheduling mechanism 414 and the time slice scheduling mechanism 415 are connected to the same queue. The dynamic priority scheduling mechanism 414 schedules a process whose time slice value is “0” (ordinary process which is a target of dynamic priority setting from the beginning), and the time slice scheduling mechanism 415 determines the time slice. Processes (processes corresponding to the above-mentioned “specific terminal”) having a value other than “0” (each scheduling mechanism performs scheduling regarding processes other than the processes registered in the pending process queue 411). Have also done).

【0053】なお、タイムスライススケジューリング機
構415に従うプロセスの優先度は、タイムスライスと
して設定された一定時間が経過するまでの間は固定優先
度として設定された優先度のままとなるように制御さ
れ、タイムスライスとして設定された一定時間が経過し
た後には動的スケジューリング機構414に従うプロセ
スの優先度と同様に動的に変化する。
The priority of the process according to the time slice scheduling mechanism 415 is controlled so as to remain the priority set as the fixed priority until a fixed time set as the time slice elapses. After the elapse of a certain time set as the time slice, it dynamically changes like the priority of the process according to the dynamic scheduling mechanism 414.

【0054】実行プロセス選択手段412は、実行すべ
きプロセスを決定すべき時点で、実行待ちプロセスキュ
ー411に登録されているプロセス群の中で最も優先度
の高いプロセスを選択し、プロセス実行手段413にそ
のプロセスを渡す。
The execution process selecting means 412 selects the process with the highest priority among the processes registered in the execution waiting process queue 411 at the time when the process to be executed should be determined, and the process executing means 413 is executed. Pass the process to.

【0055】プロセス実行手段413は、実行プロセス
選択手段412によって選択されたプロセスの実行を制
御する。すなわち、コンピュータシステムで設定されて
いる一定時間の実行を実行プロセス選択手段412によ
って選択されたプロセスに割り当てる(タイムスライス
スケジューリング機構415に従うプロセスに関しては
タイムスライス分の時間が割り当てられる)。
The process execution means 413 controls the execution of the process selected by the execution process selection means 412. That is, execution for a fixed time set in the computer system is allocated to the process selected by the execution process selection means 412 (time slice time is allocated to the process according to the time slice scheduling mechanism 415).

【0056】図7は、本発明のコマンド即答性保証方式
の第3の実施例の構成を示すブロック図である。本実施
例のコマンド即答性保証方式は、コマンド入力手段70
1と、コマンド種類優先度登録テーブル704と、コマ
ンド種類優先度格納領域708を備えるコマンドインタ
プリタ705と、プロセス生成手段709と、固定優先
度設定手段710と、実行待ちプロセスキュー711
と、実行プロセス選択手段712と、プロセス実行手段
713と、動的優先度スケジューリング機構714と、
タイムスライススケジューリング機構715とを含んで
構成されている。
FIG. 7 is a block diagram showing the configuration of the third embodiment of the command prompt response guarantee system of the present invention. The command prompt response guarantee system of the present embodiment uses the command input means 70.
1, a command type priority registration table 704, a command interpreter 705 having a command type priority storage area 708, a process generation unit 709, a fixed priority setting unit 710, and an execution waiting process queue 711.
An execution process selection unit 712, a process execution unit 713, a dynamic priority scheduling mechanism 714,
And a time slice scheduling mechanism 715.

【0057】図8は、コマンドインタプリタ705によ
って行われる前処理(ログイン時の処理)を示す流れ図
である。この処理は、ユーザログインステップ801
と、コマンド種類優先度登録テーブル参照ステップ80
2と、コマンド種類優先度格納領域情報格納ステップ8
03とからなる。
FIG. 8 is a flowchart showing the preprocessing (login processing) performed by the command interpreter 705. This process is performed by the user login step 801.
And command type priority registration table reference step 80
2 and command type priority storage area information storage step 8
It consists of 03.

【0058】図9は、コマンドインタプリタ705によ
って参照されるコマンド種類優先度登録テーブル704
の内容を示す図である。コマンド種類優先度登録テーブ
ル704には、対応するプロセスの優先度を高く設定し
たい各コマンド種類について、コマンド種類識別子(コ
マンド種類の識別情報)と、固定優先度(一定時間だけ
固定的に高く設定される優先度)と、タイムスライス
(固定優先度が維持される一定時間)とが登録されてい
る。なお、図9に示すようなコマンド種類優先度登録テ
ーブル704は、あらかじめ用意されているものとす
る。
FIG. 9 shows a command type priority registration table 704 referenced by the command interpreter 705.
It is a figure which shows the content of. In the command type priority registration table 704, a command type identifier (identification information of command type) and a fixed priority (fixedly set high for a fixed period of time) are set for each command type for which the priority of the corresponding process is set high. Priority) and a time slice (a fixed time during which a fixed priority is maintained) are registered. A command type priority registration table 704 as shown in FIG. 9 is prepared in advance.

【0059】次に、このように構成された本実施例のコ
マンド即答性保証方式の動作について説明する。本実施
例のコマンド即答性保証方式では、特定のコマンド種類
に係るプロセス(特定のコマンド種類のコマンドに対応
するプロセス)に一定時間だけ固定的に高い優先度が設
定される場合の動作が実現される。
Next, the operation of the command prompt response guarantee system of the present embodiment having such a configuration will be described. The command prompt response guarantee method of the present embodiment realizes the operation when a process having a specific command type (a process corresponding to a command of a specific command type) has a fixed high priority for a fixed time. It

【0060】コマンドインタプリタ705は、特定のコ
マンド種類に係るプロセスの優先度を高く設定するため
に、コマンドの入力を受け付ける以前に、次のような前
処理を行う(図8参照)。
The command interpreter 705 performs the following preprocessing before receiving a command input in order to set a high priority for a process related to a specific command type (see FIG. 8).

【0061】任意の端末から任意のユーザによるログイ
ンが行われると(ステップ801)、コマンドインタプ
リタ705が起動される。
When an arbitrary user logs in from an arbitrary terminal (step 801), the command interpreter 705 is activated.

【0062】起動されたコマンドインタプリタ705
は、コマンド種類優先度登録テーブル704を参照する
(ステップ802)。
The started command interpreter 705
Refers to the command type priority registration table 704 (step 802).

【0063】コマンドインタプリタ705は、コマンド
種類優先度登録テーブル704から特定のコマンド種類
(一定時間だけ固定的に高く設定される優先度を有する
プロセス(タイムスライススケジューリング機構715
に従うプロセス)に対応するコマンド種類)に対応する
固定優先度およびタイムスライスを取得し、コマンド種
類優先度格納領域708に当該固定優先度および当該タ
イムスライスを当該コマンド種類を識別するためのコマ
ンド種類識別子と共に格納する(ステップ803)。
The command interpreter 705 uses the command type priority registration table 704 to specify a specific command type (a process having a priority that is fixedly set high for a certain period of time (time slice scheduling mechanism 715).
Command type identifier for acquiring the fixed priority and the time slice corresponding to the command type (corresponding to the process according to the process) and identifying the fixed priority and the time slice in the command type priority storage area 708. It is stored together with (step 803).

【0064】なお、特定のコマンド種類以外のコマンド
種類(動的優先度スケジューリング機構714に従うプ
ロセスに対応するコマンド種類)に関しては、コマンド
インタプリタ705は、当該コマンド種類のコマンド種
類識別子に対応する端末優先度格納領域708内のタイ
ムスライスとして「0」を設定する(この場合には、固
定優先度は意味のない情報になる)。
For command types other than the specific command type (command types corresponding to processes according to the dynamic priority scheduling mechanism 714), the command interpreter 705 determines the terminal priority level corresponding to the command type identifier of the command type. “0” is set as the time slice in the storage area 708 (in this case, the fixed priority becomes meaningless information).

【0065】次に、図7を参照して、あるコマンドが入
力されてからそのコマンドに基づくプロセスが実行され
るまでのアルゴリズム(動作)を説明する。
Next, with reference to FIG. 7, an algorithm (operation) from the input of a command to the execution of the process based on the command will be described.

【0066】上述の特定のコマンド種類(タイムスライ
ススケジューリング機構715に従うプロセスに対応す
るコマンド種類)のコマンドがコマンド入力手段701
から入力されると、コマンドインタプリタ705は、当
該特定のコマンド種類のコマンドを解釈し、その解釈に
基づいて当該コマンドに対応するプロセスを生成する旨
の要求をプロセス生成手段709に対して行う。この要
求の際に、コマンドインタプリタ705は、コマンド種
類優先度格納領域708に格納されている当該特定のコ
マンド種類に対応する固定優先度およびタイムスライス
をプロセス生成手段709に対して渡す。
Commands of the above-mentioned specific command type (command type corresponding to the process according to the time slice scheduling mechanism 715) are command input means 701.
The command interpreter 705 interprets the command of the specific command type and makes a request to the process generation unit 709 to generate a process corresponding to the command based on the interpretation. At the time of this request, the command interpreter 705 passes the fixed priority and time slice corresponding to the specific command type stored in the command type priority storage area 708 to the process generation unit 709.

【0067】プロセス生成手段709は、コマンドイン
タプリタ705からの要求に応じて、入力されたコマン
ド(特定のコマンド種類のコマンド)に対応するプロセ
スを生成する。
The process generation means 709 generates a process corresponding to the input command (command of a specific command type) in response to a request from the command interpreter 705.

【0068】固定優先度設定手段710は、プロセス生
成手段709によって生成されたプロセスに対してコマ
ンド種類優先度格納領域708に格納されている当該特
定のコマンド種類に対応する固定優先度およびタイムス
ライス(これらの情報はプロセス生成手段709を介し
てコマンドインタプリタ705から渡される)を設定
し、実行待ちプロセスキュー711にそのプロセスをつ
なぐ(登録する)。
The fixed priority setting means 710 has a fixed priority and a time slice (corresponding to the particular command type stored in the command type priority storage area 708 for the process generated by the process generation means 709). These pieces of information are set in the command interpreter 705 via the process generation unit 709), and the process is connected (registered) to the execution waiting process queue 711.

【0069】一方、上述の特定のコマンド種類以外のコ
マンド種類(動的優先度スケジューリング機構714に
従うプロセスに対応するコマンド種類)のコマンドがコ
マンド入力手段701から入力されると、コマンドイン
タプリタ705は、当該コマンドを解釈し、その解釈に
基づいて当該コマンドに対応するプロセスを生成する旨
の要求をプロセス生成手段709に対して行う。この要
求の際に、コマンドインタプリタ705は、コマンド種
類優先度格納領域708に格納されている当該コマンド
のコマンド種類に対応する「0」の値を有するタイムス
ライスをプロセス生成手段709に対して渡す。
On the other hand, when a command of a command type (command type corresponding to the process according to the dynamic priority scheduling mechanism 714) other than the above-mentioned specific command type is input from the command input means 701, the command interpreter 705 will The command is interpreted, and a request to generate a process corresponding to the command is made to the process generation means 709 based on the interpretation. At the time of this request, the command interpreter 705 passes to the process generation unit 709 a time slice having a value of “0” corresponding to the command type of the command stored in the command type priority storage area 708.

【0070】プロセス生成手段709は、コマンドイン
タプリタ705からの要求に応じて、入力されたコマン
ドに対応するプロセスを生成する。
The process generation means 709 generates a process corresponding to the input command in response to a request from the command interpreter 705.

【0071】固定優先度設定手段710は、プロセス生
成手段709によって生成されたプロセスに対して
「0」の値を有するタイムスライスを設定し、実行待ち
プロセスキュー711にそのプロセスをつなぐ(登録す
る)。
The fixed priority setting means 710 sets a time slice having a value of “0” for the process generated by the process generation means 709, and connects (registers) the process to the execution waiting process queue 711. .

【0072】実行待ちプロセスキュー711には、動的
優先度スケジューリング機構714およびタイムスライ
ススケジューリング機構715の各スケジューリング機
構に従うプロセスが同一のキューにつながれている。動
的優先度スケジューリング機構714はタイムスライス
の値が「0」であるプロセス(当初より動的な優先度の
設定の対象である普通のプロセス)のスケジューリング
を行い、タイムスライススケジューリング機構715は
タイムスライスの値が「0」以外であるプロセス(上述
の「特定のコマンド種類」に対応するプロセス)のスケ
ジューリングを行う(各スケジューリング機構は、実行
待ちプロセスキュー711に登録されているプロセス以
外のプロセスに関するスケジューリングをも行ってい
る)。
Processes according to the scheduling mechanisms of the dynamic priority scheduling mechanism 714 and the time slice scheduling mechanism 715 are connected to the same queue in the execution waiting process queue 711. The dynamic priority scheduling mechanism 714 schedules a process whose time slice value is “0” (ordinary process that is a target of dynamic priority setting from the beginning), and the time slice scheduling mechanism 715 determines time slices. Processes (processes corresponding to the above-mentioned "specific command type") having a value other than "0" (each scheduling mechanism is related to processes other than the processes registered in the execution waiting process queue 711). Have also done).

【0073】なお、タイムスライススケジューリング機
構715に従うプロセスの優先度は、タイムスライスと
して設定された一定時間が経過するまでの間は固定優先
度として設定された優先度のままとなるように制御さ
れ、タイムスライスとして設定された一定時間が経過し
た後には動的スケジューリング機構714に従うプロセ
スの優先度と同様に動的に変化する。
The priority of the process according to the time slice scheduling mechanism 715 is controlled so that it remains the priority set as the fixed priority until the fixed time set as the time slice elapses. After a certain time set as the time slice has elapsed, it dynamically changes in the same manner as the priority of the process according to the dynamic scheduling mechanism 714.

【0074】実行プロセス選択手段712は、実行すべ
きプロセスを決定すべき時点で、実行待ちプロセスキュ
ー711に登録されているプロセス群の中で最も優先度
の高いプロセスを選択し、プロセス実行手段713にそ
のプロセスを渡す。
The execution process selection means 712 selects the process with the highest priority in the process group registered in the execution waiting process queue 711 at the time of determining the process to be executed, and the process execution means 713. Pass the process to.

【0075】プロセス実行手段713は、実行プロセス
選択手段712によって選択されたプロセスの実行を制
御する。すなわち、コンピュータシステムで設定されて
いる一定時間の実行を実行プロセス選択手段712によ
って選択されたプロセスに割り当てる(タイムスライス
スケジューリング機構715に従うプロセスに関しては
タイムスライス分の時間が割り当てられる)。
The process execution means 713 controls the execution of the process selected by the execution process selection means 712. That is, execution for a fixed time set in the computer system is allocated to the process selected by the execution process selection means 712 (time slice time is allocated to the process according to the time slice scheduling mechanism 715).

【0076】最後に、図10を用いて、上述した第1〜
第3の実施例のコマンド即答性保証方式における効果に
ついて説明する。
Finally, referring to FIG.
The effect of the command prompt response guarantee system of the third embodiment will be described.

【0077】ここでは、実行待ちプロセスキュー11
1,411または711に登録されているプロセスAお
よびプロセスBが、動的優先度スケジューリング機構1
14,414または714に従う普通のプロセスである
ものとする。また、実行待ちプロセスキュー111,4
11または711に登録されているプロセスCが、タイ
ムスライスとして設定されている一定時間だけ固定的に
高い優先度を持つプロセスであり、タイムスライススケ
ジューリング機構115,415または715に従うプ
ロセスであるものとする(以下の説明では、図1中の符
号で各スケジューリング機構や各手段等を表現する)。
Here, the waiting process queue 11
Processes A and B registered in 1, 411 or 711 are dynamic priority scheduling mechanism 1
It shall be a normal process according to 14, 414 or 714. In addition, the pending process queues 111, 4
It is assumed that the process C registered in 11 or 711 is a process having a fixed high priority for a fixed time set as a time slice, and is a process according to the time slice scheduling mechanism 115, 415 or 715. (In the following description, the symbols in FIG. 1 represent each scheduling mechanism, each means, etc.).

【0078】図10に示すグラフでは、横軸が時間の経
過を示しており、縦軸が優先度の高低を示している。
In the graph shown in FIG. 10, the horizontal axis indicates the passage of time, and the vertical axis indicates the level of priority.

【0079】プロセスAおよびプロセスBの優先度は、
動的優先度スケジューリング機構114のスケジューリ
ングによって、各プロセスの実行待ち状態時には上昇
し、各プロセスの実行中には下降する。
The priority of process A and process B is
Due to the scheduling of the dynamic priority scheduling mechanism 114, it rises during the execution waiting state of each process and falls during the execution of each process.

【0080】これに対して、プロセスCの優先度は、タ
イムスライススケジューリング機構115のスケジュー
リングによって、起動後の一定時間(タイムスライス分
の一定時間)は一定の値(固定優先度)を有し、一定時
間の経過後には動的スケジューリング機構114により
スケジューリングが行われる優先度と同様に動的に変化
する。
On the other hand, the priority of the process C has a fixed value (fixed priority) for a certain time after activation (a certain time for the time slice) by the scheduling of the time slice scheduling mechanism 115, After the elapse of a certain time, the priority dynamically changes in the same manner as the priority for scheduling by the dynamic scheduling mechanism 114.

【0081】すなわち、プロセスAおよびプロセスBが
とりうる優先度の最大値よりも高い固定優先度をプロセ
スCに与えてやれば、プロセスCは起動してからタイム
スライス分の一定時間が経過するまでは優先度の最も高
いプロセスとして実行プロセス選択手段112により選
択されてプロセス実行手段113の制御により実行され
ることになる。
That is, if the process C is given a fixed priority higher than the maximum value of the priorities that the processes A and B can take, the process C is started until the fixed time corresponding to the time slice elapses. Will be selected by the execution process selection unit 112 as the process having the highest priority and will be executed under the control of the process execution unit 113.

【0082】したがって、プロセスCに対応するコマン
ドの即答性が保証されることになる。
Therefore, the prompt response of the command corresponding to the process C is guaranteed.

【0083】また、タイムスライス分の一定時間の経過
後におけるプロセスCの優先度は、プロセスAおよびプ
ロセスBの優先度と同様に、動的に変化していく。これ
により、タイムスライス分の一定時間の経過後には、同
等の条件下にあるプロセスA,プロセスBおよびプロセ
スCの中から最も優先度の高いプロセスが実行プロセス
選択手段112により選択され、選択されたプロセスが
プロセス実行手段113の制御により実行されることに
なる。
Further, the priority of the process C after the elapse of a fixed time corresponding to the time slice dynamically changes like the priorities of the process A and the process B. As a result, after the elapse of a certain time corresponding to the time slice, the process having the highest priority is selected and selected by the execution process selecting means 112 from the processes A, B and C under the same conditions. The process is executed under the control of the process execution means 113.

【0084】したがって、プロセスCが存在しても、プ
ロセスAおよびプロセスBの実行は確保されることにな
る。
Therefore, even if the process C exists, the execution of the process A and the process B is ensured.

【0085】[0085]

【発明の効果】以上説明したように本発明では、タイム
スライススケジューリング機構と動的優先度スケジュー
リング機構とをコンピュータシステムに共存させて、特
定のプロセス(特定のユーザ,特定の端末または特定の
コマンド種類に係るコマンドに対応するプロセス)に一
定時間の間だけ固定的に高い優先度を与えることによ
り、以下のおよびに示すような効果を実現すること
ができ、コンピュータシステムの円滑な運用が可能にな
る。
As described above, in the present invention, the time slice scheduling mechanism and the dynamic priority scheduling mechanism coexist in the computer system, and a specific process (a specific user, a specific terminal or a specific command type). By assigning a fixed high priority to the process corresponding to the command) for a certain period of time, the following effects and can be realized, and the smooth operation of the computer system becomes possible. .

【0086】 コンピュータシステムが高負荷の場合
でも、緊急性の高いコマンド等の即答性を保証すること
が可能になる(コマンド即答性保証方式における従来か
らの効果を維持することができる)。
Even if the computer system has a heavy load, it is possible to guarantee prompt response of a command or the like with high urgency (the conventional effect of the command prompt response guarantee system can be maintained).

【0087】 与えられたある一定時間(タイムスラ
イス分の一定時間)が経過した後には特定のプロセス
(における緊急性の高いコマンド等に対応するプロセ
ス)の優先度も他のプロセスの優先度と同様に動的に変
化するように設定することにより、に示した効果を保
持しつつ、誤ったコマンドの入力等の人的な誤操作が発
生した場合でも特定のプロセスだけがコンピュータシス
テム資源を独占してしまうという事態を防ぐことがで
き、人的な誤操作がなかった場合をも含めて当該特定の
プロセス以外のプロセスの実行を確保することができ
る。
After a given fixed time (a fixed time corresponding to a time slice) has passed, the priority of a specific process (the process corresponding to a command or the like with high urgency in it) is the same as the priority of other processes. By dynamically changing the settings, while maintaining the effect shown in, even if a human error such as the input of an incorrect command occurs, only a specific process monopolizes the computer system resources. It is possible to prevent such a situation, and it is possible to ensure the execution of a process other than the specific process, including a case where there is no human error.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】図1中のコマンドインタプリタによって行われ
る前処理を示す流れ図である。
FIG. 2 is a flow chart showing preprocessing performed by a command interpreter in FIG.

【図3】図1中のユーザ優先度登録テーブルの内容を示
す図である。
FIG. 3 is a diagram showing contents of a user priority registration table in FIG.

【図4】本発明の第2の実施例の構成を示すブロック図
である。
FIG. 4 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図5】図4中のコマンドインタプリタによって行われ
る前処理を示す流れ図である。
5 is a flowchart showing preprocessing performed by the command interpreter in FIG.

【図6】図4中の端末優先度登録テーブルの内容を示す
図である。
FIG. 6 is a diagram showing the contents of a terminal priority registration table in FIG.

【図7】本発明の第3の実施例の構成を示すブロック図
である。
FIG. 7 is a block diagram showing a configuration of a third exemplary embodiment of the present invention.

【図8】図7中のコマンドインタプリタによって行われ
る前処理を示す流れ図である。
8 is a flow chart showing preprocessing performed by the command interpreter in FIG. 7. FIG.

【図9】図7中のコマンド種類優先度登録テーブルの内
容を示す図である。
9 is a diagram showing the contents of a command type priority registration table in FIG.

【図10】図1,図4および図7に示すコマンド即答性
保証方式における効果を説明するための図である。
FIG. 10 is a diagram for explaining an effect in the command prompt response guarantee system shown in FIGS. 1, 4 and 7.

【符号の説明】[Explanation of symbols]

101,401,701 コマンド入力手段 102 ユーザ優先度登録テーブル 403 端末優先度登録テーブル 704 コマンド種類優先度登録テーブル 105,405,705 コマンドインタプリタ 106 ユーザ優先度格納領域 407 端末優先度格納領域 708 コマンド種類優先度格納領域 109,409,709 プロセス生成手段 110,410,710 固定優先度設定手段 111,411,711 実行待ちプロセスキュー 112,412,712 実行プロセス選択手段 113,413,713 プロセス実行手段 114,414,714 動的優先度スケジューリング
機構 115,415,715 タイムスライススケジューリ
ング機構
101, 401, 701 Command input means 102 User priority registration table 403 Terminal priority registration table 704 Command type priority registration table 105, 405, 705 Command interpreter 106 User priority storage area 407 Terminal priority storage area 708 Command type priority Storage area 109, 409, 709 process generation means 110, 410, 710 fixed priority setting means 111, 411, 711 execution waiting process queue 112, 412, 712 execution process selection means 113, 413, 713 process execution means 114, 414 , 714 Dynamic priority scheduling mechanism 115, 415, 715 Time slice scheduling mechanism

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 各プロセスに関して動的に優先度を変化
させるスケジューリングを行う動的優先度スケジューリ
ング機構と、 各プロセスに関して初めの一定時間には優先度を固定し
て変化させないスケジューリングを行い一定時間の経過
後には動的に優先度を変化させるスケジューリングを行
うタイムスライススケジューリング機構と、 コマンドを入力するコマンド入力手段と、 対応するプロセスの優先度を高く設定したい特定のユー
ザに対する固定優先度およびタイムスライスを有するユ
ーザ優先度登録テーブルと、 当該特定のユーザによるログイン時に当該特定のユーザ
に対する前記ユーザ優先度登録テーブル内の固定優先度
およびタイムスライスを自己の内部のユーザ優先度格納
領域に設定し、前記コマンド入力手段からのコマンドの
入力時に当該コマンドを解釈しその解釈に基づいて当該
コマンドに対応するプロセスの生成を要求するコマンド
インタプリタと、 このコマンドインタプリタからの要求に基づき当該コマ
ンドに対応するプロセスを生成するプロセス生成手段
と、 当該特定のユーザにより入力されたコマンドに対応する
ものとして前記プロセス生成手段により生成されたプロ
セスに当該特定のユーザに対する前記ユーザ優先度格納
領域内の固定優先度およびタイムスライスを設定し実行
待ちプロセスキューに当該プロセスを前記タイムスライ
ススケジューリング機構に従うプロセスとして登録する
固定優先度設定手段と、 前記動的優先度スケジューリング機構および前記タイム
スライススケジューリング機構によるスケジューリング
に基づき前記実行待ちプロセスキューから実行すべきプ
ロセスを選択する実行プロセス選択手段と、 この実行プロセス選択手段によって選択されたプロセス
の実行を制御するプロセス実行手段とを有することを特
徴とするコマンド即答性保証方式。
1. A dynamic priority scheduling mechanism for dynamically changing the priority of each process, and a scheduling for fixing the fixed priority of each process in the initial fixed time without changing the priority. A time slice scheduling mechanism that performs scheduling that dynamically changes the priority after a lapse of time, a command input means that inputs commands, and a fixed priority and time slice for a specific user who wants to set a high priority for the corresponding process. The user priority registration table that the user has, and the fixed priority and time slice in the user priority registration table for the particular user when logging in by the particular user are set in the internal user priority storage area of the user, and the command Command from input means A command interpreter that interprets the command at the time of input and requests generation of a process corresponding to the command based on the interpretation; and a process generation unit that generates a process corresponding to the command based on a request from the command interpreter, A fixed priority and a time slice in the user priority storage area for the specific user are set in the process generated by the process generation means as a command corresponding to a command input by the specific user, and the process is queued for execution. Fixed priority setting means for registering the process as a process according to the time slice scheduling mechanism, and the execution waiting process based on scheduling by the dynamic priority scheduling mechanism and the time slice scheduling mechanism. A command prompt response guarantee system characterized in that it has an execution process selection means for selecting a process to be executed from the security and a process execution means for controlling the execution of the process selected by the execution process selection means.
【請求項2】 各プロセスに関して動的に優先度を変化
させるスケジューリングを行う動的優先度スケジューリ
ング機構と、 各プロセスに関して初めの一定時間には優先度を固定し
て変化させないスケジューリングを行い一定時間の経過
後には動的に優先度を変化させるスケジューリングを行
うタイムスライススケジューリング機構と、 コマンドを入力するコマンド入力手段と、 対応するプロセスの優先度を高く設定したい特定の端末
に対する固定優先度およびタイムスライスを有する端末
優先度登録テーブルと、 当該特定の端末からのログイン時に当該特定の端末に対
する前記端末優先度登録テーブル内の固定優先度および
タイムスライスを自己の内部の端末優先度格納領域に設
定し、前記コマンド入力手段からのコマンドの入力時に
当該コマンドを解釈しその解釈に基づいて当該コマンド
に対応するプロセスの生成を要求するコマンドインタプ
リタと、 このコマンドインタプリタからの要求に基づき当該コマ
ンドに対応するプロセスを生成するプロセス生成手段
と、 当該特定の端末から入力されたコマンドに対応するもの
として前記プロセス生成手段により生成されたプロセス
に当該特定の端末に対する前記端末優先度格納領域内の
固定優先度およびタイムスライスを設定し実行待ちプロ
セスキューに当該プロセスを前記タイムスライススケジ
ューリング機構に従うプロセスとして登録する固定優先
度設定手段と、 前記動的優先度スケジューリング機構および前記タイム
スライススケジューリング機構によるスケジューリング
に基づき前記実行待ちプロセスキューから実行すべきプ
ロセスを選択する実行プロセス選択手段と、 この実行プロセス選択手段によって選択されたプロセス
の実行を制御するプロセス実行手段とを有することを特
徴とするコマンド即答性保証方式。
2. A dynamic priority scheduling mechanism for dynamically changing the priority of each process, and a scheduling for fixing the fixed priority of each process in the first fixed time without changing the priority. A time-slice scheduling mechanism that performs scheduling that dynamically changes the priority after a lapse of time, command input means for entering commands, and fixed priority and time slice for a specific terminal for which you want to set a higher priority for the corresponding process. The terminal priority registration table that it has, and the fixed priority and time slice in the terminal priority registration table for the particular terminal when logging in from the particular terminal are set in its own terminal priority storage area, and When entering a command from the command input means A command interpreter that interprets a command and requests generation of a process corresponding to the command based on the interpretation, a process generation unit that generates a process corresponding to the command based on a request from the command interpreter, and the specific terminal. A fixed priority and time slice in the terminal priority storage area for the specific terminal are set in the process generated by the process generation means as a command corresponding to the command input from Fixed priority setting means for registering as a process according to the time slice scheduling mechanism, and execution from the waiting process queue based on scheduling by the dynamic priority scheduling mechanism and the time slice scheduling mechanism A command prompt response guarantee system characterized by having execution process selection means for selecting a process to be performed and process execution means for controlling the execution of the process selected by the execution process selection means.
【請求項3】 各プロセスに関して動的に優先度を変化
させるスケジューリングを行う動的優先度スケジューリ
ング機構と、 各プロセスに関して初めの一定時間には優先度を固定し
て変化させないスケジューリングを行い一定時間の経過
後には動的に優先度を変化させるスケジューリングを行
うタイムスライススケジューリング機構と、 コマンドを入力するコマンド入力手段と、 対応するプロセスの優先度を高く設定したい特定のコマ
ンド種類に対する固定優先度およびタイムスライスを有
するコマンド種類優先度登録テーブルと、 ログイン時に当該特定のコマンド種類に対する前記コマ
ンド種類優先度登録テーブル内の固定優先度およびタイ
ムスライスを自己の内部のコマンド種類優先度格納領域
に設定し、前記コマンド入力手段からのコマンドの入力
時に当該コマンドを解釈しその解釈に基づいて当該コマ
ンドに対応するプロセスの生成を要求するコマンドイン
タプリタと、 このコマンドインタプリタからの要求に基づき当該コマ
ンドに対応するプロセスを生成するプロセス生成手段
と、 当該特定のコマンド種類に該当するコマンドに対応する
ものとして前記プロセス生成手段により生成されたプロ
セスに当該特定のコマンド種類に対する前記コマンド種
類優先度格納領域内の固定優先度およびタイムスライス
を設定し実行待ちプロセスキューに当該プロセスを前記
タイムスライススケジューリング機構に従うプロセスと
して登録する固定優先度設定手段と、 前記動的優先度スケジューリング機構および前記タイム
スライススケジューリング機構によるスケジューリング
に基づき前記実行待ちプロセスキューから実行すべきプ
ロセスを選択する実行プロセス選択手段と、 この実行プロセス選択手段によって選択されたプロセス
の実行を制御するプロセス実行手段とを有することを特
徴とするコマンド即答性保証方式。
3. A dynamic priority scheduling mechanism for dynamically changing the priority of each process, and a scheduling for fixing the fixed priority of each process in the first fixed time without changing the priority. A time-slice scheduling mechanism that performs scheduling that dynamically changes the priority after a lapse of time, command input means for entering commands, and fixed priority and time slice for a specific command type for which you want to set a higher priority for the corresponding process. And a fixed type priority and time slice in the command type priority registration table for the specific command type at the time of login are set in its own internal command type priority storage area. From input means A command interpreter that interprets the command when a command is input and requests generation of a process corresponding to the command based on the interpretation; and a process generation unit that generates a process corresponding to the command based on a request from the command interpreter. , Setting and executing a fixed priority and a time slice in the command type priority storage area for the specific command type in the process generated by the process generation means as a command corresponding to the command corresponding to the specific command type A fixed priority setting means for registering the process in the waiting process queue as a process according to the time slice scheduling mechanism, and a scheduling based on the dynamic priority scheduling mechanism and the time slice scheduling mechanism. Based on the above, the command prompt response guarantee is characterized by having an execution process selecting means for selecting a process to be executed from the execution waiting process queue and a process executing means for controlling the execution of the process selected by the execution process selecting means. method.
JP4208493A 1992-07-13 1992-07-13 Command prompt responsivity property assuring system Pending JPH0635854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4208493A JPH0635854A (en) 1992-07-13 1992-07-13 Command prompt responsivity property assuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4208493A JPH0635854A (en) 1992-07-13 1992-07-13 Command prompt responsivity property assuring system

Publications (1)

Publication Number Publication Date
JPH0635854A true JPH0635854A (en) 1994-02-10

Family

ID=16557074

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4208493A Pending JPH0635854A (en) 1992-07-13 1992-07-13 Command prompt responsivity property assuring system

Country Status (1)

Country Link
JP (1) JPH0635854A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287385A (en) * 2005-03-31 2006-10-19 Nec Corp Packet scheduling method and apparatus utilizing hsdpa
EP2148270A2 (en) 2008-07-23 2010-01-27 Hitachi, Ltd. Storage subsystem and method of executing commands by controller
US7831973B2 (en) 2003-12-26 2010-11-09 Panasonic Corporation Task scheduling apparatus, task scheduling method, task scheduling program, storage medium and transmission medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7831973B2 (en) 2003-12-26 2010-11-09 Panasonic Corporation Task scheduling apparatus, task scheduling method, task scheduling program, storage medium and transmission medium
JP2006287385A (en) * 2005-03-31 2006-10-19 Nec Corp Packet scheduling method and apparatus utilizing hsdpa
EP2148270A2 (en) 2008-07-23 2010-01-27 Hitachi, Ltd. Storage subsystem and method of executing commands by controller
US8271749B2 (en) 2008-07-23 2012-09-18 Hitachi, Ltd. Storage subsystem and method of executing commands by controller
US8694741B2 (en) 2008-07-23 2014-04-08 Hitachi, Ltd. Storage system and method of executing commands by controller

Similar Documents

Publication Publication Date Title
KR101714791B1 (en) Apparatus for controlling service of network robot system based on remote procedure calls and method thereof
US5428789A (en) Method and apparatus for optimizing user response time in a priority preemptive operating system
KR102477072B1 (en) Coordinating the execution of a sequence of actions requested to be performed by an automated assistant
US7278141B2 (en) System and method for adding priority change value corresponding with a lock to a thread during lock processing
US7316017B1 (en) System and method for allocatiing communications to processors and rescheduling processes in a multiprocessor system
US6658448B1 (en) System and method for assigning processes to specific CPU's to increase scalability and performance of operating systems
US7203823B2 (en) Partial and start-over threads in embedded real-time kernel
JPH0954699A (en) Process scheduler of computer
US20050086030A1 (en) Software tool for synthesizing a real-time operating system
US20200395018A1 (en) Initializing non-assistant background actions, via an automated assistant, while accessing a non-assistant application
JP2021515341A (en) Reducing client device latency in rendering remotely generated automation assistant content
CN112313606A (en) Extending a physical motion gesture dictionary for an automated assistant
US20230396841A1 (en) Assigning priority for an automated assistant according to a dynamic user queue and/or multi-modality presence detection
CN110291474A (en) Controller
JPH0635854A (en) Command prompt responsivity property assuring system
US20050132038A1 (en) Resource reservation system and resource reservation method and recording medium storing program for executing the method
US7848928B2 (en) Overriding default speech processing behavior using a default focus receiver
EP3853845B1 (en) Processing concurrently received utterances from multiple users
JP2002358135A (en) Device and method for managing software use, program for allowing computer to perform its method and computer readable recording medium with its program recorded
KR20230121150A (en) Automated assistant performance of non-assistant application action(s) in response to user input, which may be limited to parameter(s)
CN117348988A (en) System, method and apparatus for suspending and resuming a virtual assistant
JPH07230387A (en) Exclusive control method
JP4754531B2 (en) Device access control method and processing apparatus
JP2000194573A (en) System and method for thread control
JPH08292956A (en) Device and method for data base management

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061228

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100112

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20130112

LAPS Cancellation because of no payment of annual fees