JPH04102156A - Process control system - Google Patents

Process control system

Info

Publication number
JPH04102156A
JPH04102156A JP22022790A JP22022790A JPH04102156A JP H04102156 A JPH04102156 A JP H04102156A JP 22022790 A JP22022790 A JP 22022790A JP 22022790 A JP22022790 A JP 22022790A JP H04102156 A JPH04102156 A JP H04102156A
Authority
JP
Japan
Prior art keywords
command
execution priority
execution
terminal
priority degree
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
JP22022790A
Other languages
Japanese (ja)
Inventor
Eiji Tsukada
塚田 英治
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 JP22022790A priority Critical patent/JPH04102156A/en
Publication of JPH04102156A publication Critical patent/JPH04102156A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To preferentially execute a specified command by retrieving the command inputted by a user from a command table, changing the degree of execution priority for a process to execute the command in a process state table to a changed value and selecting the priority degree of execution. CONSTITUTION:A command analyzing means 106 reads and analyzes the inputted command and the parameter and when the execution priority degree of commands, which can be inputted from a user terminal 100, is instructed, it is reported to an execution priority degree change instructing means 107. The execution priority degree change instructing means 107 receives the command name and the correspondent execution priority degree from the command analyzing means 106 and sets the execution priority degree to a relevant entry in a command table 104. The command table 104 is composed of the entries composed of command names 200 and execution priority degrees 201 and defines the execution priority degree of the process to execute the command corresponding to the command name 200. Thus, control is enabled while having the execution priority degree for each dynamic type of command.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプロセス管理方式、特にコンピュータシステム
のもとてのタイムシュアリンクにおけるプロセス管理方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a process management system, and particularly to a process management system in a timesure link of a computer system.

〔従来の技術〕[Conventional technology]

従来、この種のプロセス管理方式では、プロセス上で実
行されるコマンドの実行優先度はシステムの運用開始時
に静的に決定され、運用中に動的に変更することはでき
ず、従ってコマンドは静的に決定された優先度の高い順
に優先的に実行され、低い順にスワップアウトする候補
を決定している。
Conventionally, in this type of process management method, the execution priority of commands executed on a process is determined statically when the system starts operating, and cannot be changed dynamically during operation. The candidates to be swapped out are determined in descending order of priority, and the candidates to be swapped out are determined in descending order of priority.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプロセス管理方式では、利用者が端末か
ら入力するコマンドをある時間帯だけ、他のコマンドよ
りも優先させて実行しない場合であっても、運用開始時
に定められた実行優先度により均一にプロセス管理がな
され、他のコマンドが実行するプロセスと同等に実行さ
れて、利用者の要求する動的なコマンド種類ごとの実行
優先度を持たせた制御ができないという欠点がある。
In the conventional process management method described above, even if a command that a user enters from a terminal is not executed with priority over other commands during a certain period of time, it is executed uniformly based on the execution priority determined at the start of operation. The disadvantage is that the process is managed in the same manner as other commands, and it is not possible to dynamically control the execution priority of each type of command as requested by the user.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のプロセス管理方式は、複数の端末のそれぞれに
1対1に対応し端末から入力されたコマンドを実行する
端未対応のプロセスを有するタイムシェアリングシステ
ムのプロセス管理方式において、端末から入力されるコ
マンドの実行優先度を指定するコマンドテーブルと、端
未対応のプロセスの状態を保持するプロセス状態テーブ
ルと、端末のうちで運用管理者用の端末から入力された
コマンドを解析して前記コマンドテーブルの実行優先度
の指定を変更する実行優先度変更指示手段と、端末から
入力されたコマンドが前記コマンドテーブル上にあると
きはこのコマンドに対応する実行優先度を前記プロセス
状態テーブルの該当エントリに設定してから、このプロ
セス状態テーブルから実行優先度の高いプロセスを選定
して実行させるプロセス管理手段とを有することにより
構成される。
The process management method of the present invention is a process management method for a time sharing system that has end-incompatible processes that correspond one-to-one to each of a plurality of terminals and executes commands input from the terminals. A command table that specifies the execution priority of commands to be executed, a process status table that holds the status of unsupported processes, and a command table that analyzes commands input from the operation administrator terminal among the terminals. an execution priority change instruction means for changing the execution priority specification of the process state table; and when a command input from a terminal is on the command table, an execution priority corresponding to this command is set in the corresponding entry of the process state table. and a process management means for selecting and executing a process with a high execution priority from this process state table.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成図である。第1図の実
施例は運用管理者以外の利用者がコマンドを入力する利
用者端末100、利用者端末100から入力したコマン
ドが実行する端未対応の利用者用プロセス101、運用
管理者がコマンドを入力する管理者用端末102、管理
者用端末102から入力したコマンドが実行する端未対
応の管理者用プロセス103、コマンドテーブル104
、プロセス状態テーブル105、管理者用端末102か
ら入力された運用者用コマンドのパラメータを解析する
コマンド解析手段106、実行優先度変更指示手段10
7、プロセス管理手段108、コマンドテーブル検索手
段109、プロセス状態テーブル変更手段110を有し
て構成される。
FIG. 1 is a block diagram of an embodiment of the present invention. The embodiment shown in FIG. 1 includes a user terminal 100 where a user other than the operation administrator inputs a command, a user process 101 that is not compatible with the end where the command input from the user terminal 100 is executed, and a user process 101 where the operation administrator inputs a command. An administrator terminal 102 for inputting a command, an unsupported administrator process 103 that executes a command input from the administrator terminal 102, and a command table 104.
, a process status table 105, a command analysis means 106 that analyzes parameters of an operator command input from the administrator terminal 102, and an execution priority change instruction means 10.
7. It is configured with a process management means 108, a command table search means 109, and a process state table change means 110.

第2図(a)および(b)はそれぞれ第1図のコマンド
テーブル104およびプロセス状態テーブル105の形
式図で、コマンドテーブル104はコマンド名200と
実行優先度201とを組にしたテーブルで、プロセス状
態テーブル105はプロセス識別名202と実行優先度
とを組にしたテーブルである。
FIGS. 2(a) and 2(b) are format diagrams of the command table 104 and process status table 105 shown in FIG. The status table 105 is a table in which process identification names 202 and execution priorities are paired.

次に、第1図の実施例において、タイムシェアリングシ
ステムの運用中に運用管理者が運用者用端末102から
コマンドを入力することにより、動的にコマンド種類ご
との実行優先度の指示を与える動作について説明を進め
る。先ず運用管理者はタイムシュアリングシステム運用
中に運用者端末102から、利用者用端末100から投
入可能なコマンドの実行優先度指示用コマンドを投入す
る。このコマンドは管理者用プロセス103で実行され
る。コマンド解析手段106は投入されたコマンドとそ
のパラメータとを読込んで解析を行なう。このときパラ
メータにて利用者端末100から投入可能なコマンドの
実行優先度の指示がなされたならば、実行優先度変更指
示手段107に通知する。実行優先度変更指示手段10
7はコマンド解析手段106からコマンド名と対応する
実行優先度とを受取り、コマンドテーブル104内の該
当するエントリに実行優先度を設定する。コマンドテー
ブル104は第2図(a)で示したように、コマンド名
200と実行優先度201とからなるエントリで構成さ
れていて、コマンド名200に対応するコマンドが実行
するプロセスの実行優先度を定義する。
Next, in the embodiment shown in FIG. 1, during operation of the time sharing system, the operations manager inputs commands from the operator terminal 102, thereby dynamically giving instructions on execution priority for each command type. Let's explain the operation. First, the operation manager inputs an execution priority instruction command for commands that can be input from the user terminal 100 from the operator terminal 102 during operation of the time sharing system. This command is executed by the administrator process 103. The command analysis means 106 reads and analyzes the input command and its parameters. At this time, if the execution priority of a command that can be input from the user terminal 100 is instructed by a parameter, the execution priority change instruction means 107 is notified. Execution priority change instruction means 10
7 receives the command name and the corresponding execution priority from the command analysis means 106, and sets the execution priority in the corresponding entry in the command table 104. As shown in FIG. 2(a), the command table 104 consists of entries consisting of a command name 200 and an execution priority 201, and the command corresponding to the command name 200 indicates the execution priority of the process to be executed. Define.

次に第1図の実施例におけるプロセスの実行優先度の制
御の動作について説明を進める。まず利用者が利用者用
端末100から利用開始用の特定のコマンドを入力する
と、プロセス管理手段108はコマンドの実行する利用
者用プロセス101と端末100との対応を作成し、作
成したプロセスに対応するエントリをプロセス状態テー
ブル105に登録する。プロセス状態テーブル105は
第2図(b)で示したように、プロセス識別名202と
実行優先度203とからなるエントリで構成されていて
、プロセス識別名202はプロセス]01を一意に識別
するために付与された名前であり、実行優先度はプロセ
スの実行順番を決定するための値である。プロセス管理
手段108は実行優先度203の値が大きいプロセスか
ら優先し。
Next, the operation of controlling the execution priority of processes in the embodiment shown in FIG. 1 will be explained. First, when a user inputs a specific command for starting use from the user terminal 100, the process management means 108 creates a correspondence between the user process 101 to be executed by the command and the terminal 100, and corresponds to the created process. The entry to be executed is registered in the process state table 105. As shown in FIG. 2(b), the process status table 105 is composed of entries consisting of a process identification name 202 and an execution priority 203, and the process identification name 202 is used to uniquely identify process]01. The execution priority is a value that determines the order in which processes are executed. The process management means 108 gives priority to the processes with the highest value of the execution priority 203.

て実行し、実行優先度203の値の小さいプロセスから
順にスワップアウトの候補とする。さて利用者端末]−
〇〇に実行用のコマンドが入力されて、プロセス101
が起動される状態になると、プロセス管理手段108は
コマンドテーブル検索手段109に通知すると共に、プ
ロセス識別名を与える。コマンドテーブル検索手段]、
09はこのプロセス識別名に対応するプロセス上で起動
されるコマンドのコマンド名をキーにして、コマンドテ
ーブル104を検索する。そこで、このコマンド名に対
応する実行優先度の指定がコマンドテーブル104内の
該当エントリ上で設定されているならば、この実行優先
度をプロセス状態テーブル変更手段11−0に与える。
The processes with the lowest execution priority 203 value are selected as swap-out candidates. Now, user terminal] -
An execution command is input to 〇〇, and process 101 is started.
When the command table is activated, the process management means 108 notifies the command table search means 109 and gives the process identification name. Command table search method]
09 searches the command table 104 using the command name of the command activated on the process corresponding to this process identification name as a key. Therefore, if the execution priority specification corresponding to this command name is set on the corresponding entry in the command table 104, this execution priority is given to the process state table changing means 11-0.

プロセス状態テーブル変更子n 110はコマンドテー
ブル検索手段109から実行優先度を受取り、プロセス
状態テーブル105の該当エンド・りに実行優先度を設
定する。次いで、プロセス管理手段108はプロセス状
態テーブル10らを検索して、実行優先度203の大き
いプロセスから優先して実行する。ところで、上記のコ
マンド名に対応する実行優先度の指定か、コマンドテー
ブル104内の該当エントリ上に設定されていないなら
は、プロセス管理手段108は直ちにプロセス状態テー
ブル]−05を検索し、実行優先度203の値の大きい
プロセスから実行する。
The process state table modifier n 110 receives the execution priority from the command table search means 109 and sets the execution priority to the corresponding end of the process state table 105. Next, the process management means 108 searches the process status table 10 and the like, and executes the processes in descending order of execution priority 203. By the way, if the execution priority corresponding to the above command name is not specified or set on the corresponding entry in the command table 104, the process management means 108 immediately searches the process status table ]-05 and sets the execution priority. Execute processes starting from the process with the highest value of degree 203.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、タイムシェアリングシス
テムの運用中に運用管理者が指示したコマンド実行優先
度をコマンドテーブル上で変更する実行優先度変更指示
手段と、利用者が入力したコマンドをコマンドテーブル
から検索して、そのコマンドを検出したときは、プロセ
ス状態テーブルのそのコマンドを実行するプロセスの実
行優先度を変更された値に変更して、実行の優先度を選
定するプロセス管理手段とを有することにより、特定コ
マンドを優先的に実行させることができるという効果が
ある。
As explained above, the present invention includes an execution priority change instruction means for changing the command execution priority instructed by an operation manager during operation of a time sharing system on a command table, and When the command is detected by searching the table, the process management means selects the execution priority by changing the execution priority of the process that executes the command in the process status table to the changed value. This has the effect of allowing specific commands to be executed preferentially.

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

第1図は本発明の一実施例の構成図、第2図(a)およ
び(b)はぞれぞれ第1図のコマンドテーブルおよびプ
ロセス状態テーブルの形式図である。 100・・・利用者用端末、101・・・利用者用プロ
セス、102・・・管理者用端末、103・・・管理者
用プロセス、104・・・コマンドテーブル、105・
・・プロセス状態テーブル、1.06・・・コマンド解
析手段、107・・・実行優先度変更指示手段、108
・・・プロセス管理手段、109・・・コマンドテーブ
ル検索手段、110・・・プロセス状態テーブル変更手
段。 第  f  間
FIG. 1 is a block diagram of an embodiment of the present invention, and FIGS. 2(a) and 2(b) are format diagrams of the command table and process status table of FIG. 1, respectively. 100... User terminal, 101... User process, 102... Administrator terminal, 103... Administrator process, 104... Command table, 105...
. . . Process status table, 1.06 . . . Command analysis means, 107 . . . Execution priority change instruction means, 108
. . . Process management means, 109 . . . Command table search means, 110 . . . Process status table change means. fth period

Claims (1)

【特許請求の範囲】[Claims]  複数の端末のそれぞれに1対1に対応し端末から入力
されたコマンドを実行する端末対応のプロセスを有する
タイムシエアリングシステムのプロセス管理方式におい
て、端末から入力されるコマンドの実行優先度を指定す
るコマンドテーブルと、端末対応のプロセスの状態を保
持するプロセス状態テーブルと、端末のうちで運用管理
者用の端末から入力されたコマンドを解析して前記コマ
ンドテーブルの実行優先度の指定を変更する実行優先度
変更指示手段と、端末から入力されたコマンドが前記コ
マンドテーブル上にあるときはこのコマンドに対応する
実行優先度を前記プロセス状態テーブルの該当エントリ
に設定してから、このプロセス状態テーブルから実行優
先度の高いプロセスを選定して実行させるプロセス管理
手段とを有することを特徴とするプロセス管理方式。
Specifies the execution priority of commands input from a terminal in a process management method for a time sharing system that has a terminal-compatible process that corresponds one-to-one to each of multiple terminals and executes commands input from the terminal. A command table, a process state table that holds the state of processes corresponding to the terminal, and an execution table that analyzes commands input from the operation administrator's terminal among the terminals and changes the execution priority specification of the command table. When a command input from a priority change instruction means and a terminal is on the command table, the execution priority corresponding to this command is set in the corresponding entry of the process state table, and then executed from this process state table. 1. A process management method comprising a process management means for selecting and executing a process with a high priority.
JP22022790A 1990-08-22 1990-08-22 Process control system Pending JPH04102156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22022790A JPH04102156A (en) 1990-08-22 1990-08-22 Process control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22022790A JPH04102156A (en) 1990-08-22 1990-08-22 Process control system

Publications (1)

Publication Number Publication Date
JPH04102156A true JPH04102156A (en) 1992-04-03

Family

ID=16747879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22022790A Pending JPH04102156A (en) 1990-08-22 1990-08-22 Process control system

Country Status (1)

Country Link
JP (1) JPH04102156A (en)

Similar Documents

Publication Publication Date Title
JPH1110400A (en) Automatic programming method for punch press and device therefor
JPH04102156A (en) Process control system
JPH03216756A (en) Time sharing computer system
JPH03241450A (en) Time sharing system
JPH04155449A (en) Process management system
JP2000293215A (en) Method for commanding work program of numerical controller
JPH01283637A (en) Inference controller which can be defined by user
JPH01112423A (en) Overlaying control system
JPH03252824A (en) Multiplex control system for batch job execution
JPH031243A (en) Time sharing system
JPH04177433A (en) Executing priority fractionizing system
JPH04105132A (en) Emergency job executing system
JPH0319035A (en) Control system for job execution multiple degree
JPH04344514A (en) Function key switching system
JPH01188977A (en) Job execution control system
JPH02211545A (en) Job execution control system
JPH05183604A (en) Priority management system for communication data
JPH02214965A (en) Program control system for time sharing system
JPH02172397A (en) Exchange
JPH03204035A (en) Control system for execution of network job step
JPH02118726A (en) Job performance control system
JPH05167686A (en) Load test equipment
JPS63228207A (en) Function key setting system
JPH0423036A (en) Designating method for software starting conditions
JPS59176803A (en) Multi-function robot