JPH06301560A - Computer task management system - Google Patents

Computer task management system

Info

Publication number
JPH06301560A
JPH06301560A JP11207893A JP11207893A JPH06301560A JP H06301560 A JPH06301560 A JP H06301560A JP 11207893 A JP11207893 A JP 11207893A JP 11207893 A JP11207893 A JP 11207893A JP H06301560 A JPH06301560 A JP H06301560A
Authority
JP
Japan
Prior art keywords
task
data
name
resource
program
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
JP11207893A
Other languages
Japanese (ja)
Inventor
Toshiaki Asano
俊明 浅野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11207893A priority Critical patent/JPH06301560A/en
Publication of JPH06301560A publication Critical patent/JPH06301560A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To constitute the computer task management system so that it is unnecessary to describe a representative name of data resources for the purpose of switching, etc., of the data resources in an application program, and also, the same program can be executed simultaneously, and moreover, as for a generated task, one is accessed selectively from in plural data resources being independent, respectively. CONSTITUTION:The system consists of a task generating means 11 for receiving a task actuation request from the outside and generating a task, a management table 12 for showing the correspondence of a representative name of data resources, a task name and a name of a program to be executed, and a task identifier allocated from an OS, and a data access means 13 for determining the data resources to be tasked from the task identifier and accessing the data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マルチユーザ,マルチ
タスク及びマルチウィンドウ環境を提供するワークステ
ーションを利用した計算機タスク管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer task management system using a workstation that provides a multi-user, multi-task and multi-window environment.

【0002】[0002]

【従来の技術】マルチユーザ,マルチタスク及びマルチ
ウィンドウ環境を提供するオペレーティングシステム
(以下OSと略す)を備えたプロセス監視制御用途のワ
ークステーションでは、1ユーザが作業を行なう場合、
各々のユーザに割り当てられるログインIDのうち、自
分に割り当てられたログインIDを用いて先ずログイン
手続きを行なう。ログイン後の環境下で、データ構造が
同じでかつ同一の名称を持ち、各々互いに独立した複数
のデータリソースのうち1つを選択的に扱うアプリケー
ション処理を同時に併行して行なわせるためには、アプ
リケーションプログラム内で外部からのタスク起動要求
に応じてデータリソースの切り替え処理を明示的にコー
ディングするか、又はデータリソース毎にプログラムを
作成する必要があった。ここでいう同時に併行して行な
う処理とは、例えば以下に示す業務を遂行する上で要求
されるものである。 (1) 同じ業務処理をデータが異なる複数のデータベース
に対して同時に実施し、結果を比較検討する。 (2) データベースのデータを変更しながら業務処理を繰
り返し行ない結果を比べる時に、1回の計算時間が非常
に長くなる場合は、1つの処理が終了するのを待たずに
データ変更を併行して行なうことで作業の効率化を行な
う。
2. Description of the Related Art In a workstation for process monitoring control, which is provided with an operating system (hereinafter abbreviated as OS) that provides a multi-user, multi-task and multi-window environment, when one user performs work,
Of the login IDs assigned to each user, the login ID assigned to the user is first used to perform the login procedure. In the post-login environment, in order to concurrently execute application processing that has the same data structure and the same name and selectively handles one of a plurality of independent data resources, It was necessary to explicitly code the data resource switching processing in the program in response to a task activation request from the outside, or to create a program for each data resource. The processing to be performed concurrently in parallel here is, for example, required for performing the following work. (1) Perform the same business process simultaneously on multiple databases with different data and compare the results. (2) When changing the data in the database and repeating the business process and comparing the results, if the calculation time for one time becomes very long, the data change should be performed in parallel without waiting for the end of one process. By doing so, work efficiency will be improved.

【0003】データリソースがディスクファイルの場合
のリソースの指定は、「ログインした時のディレクトリ
ー/リソースの代表名/ファイル名」などの階層構造と
なり、リソースの代表名はリソース毎に異なった名称と
なるが、データ構造が同じでかつ同一名称のファイルが
各々のディレクトリー下に存在することになる。切り替
え処理を明示的に記述する方式では、リソースの代表名
を起動条件に応じて切り替える手順をアプリケーション
プログラム内に記述していた。主メモリーデータについ
ては、OSが主メモリーファイル管理システムを提供す
るならばディスクファイルと同じだが、メモリー割り当
て機能により各リソースの先頭アドレスを割り当てる方
式の場合には、リソースの代表名に相当する先頭アドレ
スをタスク起動時に指定されたデータリソース名に応じ
て切り替えていた。一方、リソース毎にプログラムを作
成する方式では、切り替え処理は不要だがリソースの代
表名を固定的に記述していた。更に、外部からのタスク
起動要求に対し、使用するデータリソースに応じて起動
すべきプログラムを選択する管理手段を用意しなければ
ならなかった。又、データリソースが追加された場合に
は、どちらの方式でもアプリケーションプログラムの修
正を必要とした。
When the data resource is a disk file, the resource designation has a hierarchical structure such as "directory at login / representative name of resource / file name", and the representative name of the resource is different for each resource. However, files having the same data structure and the same name exist under each directory. In the method of explicitly describing the switching process, the procedure for switching the representative name of the resource according to the start condition is described in the application program. The main memory data is the same as a disk file if the OS provides a main memory file management system, but in the method of allocating the start address of each resource by the memory allocation function, the start address corresponding to the representative name of the resource Was switched according to the data resource name specified when the task was started. On the other hand, in the method of creating a program for each resource, switching processing is not necessary, but the representative name of the resource is fixedly described. Further, in response to an external task activation request, it is necessary to prepare a management means for selecting a program to be activated according to the data resource used. Also, when data resources were added, both methods required modification of the application program.

【0004】[0004]

【発明が解決しようとする課題】上記した通り本来の業
務で必要な処理に加えてデータリソースの切り替え処理
をアプリケーションプログラムに明示的に記述したり、
あるいはデータリソース毎にプログラムを作成する方式
では、プログラム内にデータリソースの代表名を記述す
ることになり、データリソースの数や代表名変更に対し
てデータリソースを使用するすべてのプログラムの修正
が必要である。したがって、データリソースの数や代表
名を変更する場合及び他のプロセス監視制御システムに
プログラムを移植する場合に、アプリケーションプログ
ラムの記述変更が必要になり、プログラムメンテナンス
性やポータビリティーが悪くなる欠点があった。本発明
は上記事情に鑑みてなされたものであり、アプリケーシ
ョンプログラム内でのデータリソースの切り替えなどの
ためにデータリソースの代表名を記述することを不要に
した上で、同じプログラムの同時実行を可能にすると共
に、生成したタスクは夫々独立した複数のデータリソー
スの中から1つを選択的にアクセスすることを可能にし
た計算機タスク管理方式を提供することを目的としてい
る。
As described above, in addition to the processing necessary for the original business, the switching processing of the data resource is explicitly described in the application program,
Alternatively, in the method of creating a program for each data resource, the representative name of the data resource is described in the program, and it is necessary to modify all programs that use the data resource when the number of data resources or the representative name is changed. Is. Therefore, it is necessary to change the description of the application program when changing the number of data resources or the representative name, and when porting the program to other process monitoring and control systems, which has the drawback of degrading program maintainability and portability. It was The present invention has been made in view of the above circumstances, and it is possible to simultaneously execute the same program without having to describe the representative name of the data resource for switching the data resource in the application program. In addition, it is an object of the present invention to provide a computer task management system capable of selectively accessing one of a plurality of independently generated data resources.

【0005】[0005]

【課題を解決するための手段】本発明を実施例に対応す
る図1によって説明すると、外部からのタスク起動要求
14を受けてタスクを生成するタスク生成手段11と、デー
タリソースの代表名とタスク名と実行すべきプログラム
名とOSから割り当てられるタスク識別子との対応を示
す管理テーブル12と、タスク識別子からアクセスすべき
データリソースを決定しデータをアクセスするデータア
クセス手段13とからなる。
The present invention will be described with reference to FIG. 1 corresponding to an embodiment. A task activation request from the outside will be described.
Task generation means 11 for receiving a task in response to 14, a management table 12 showing the correspondence between the representative name of the data resource, the task name, the program name to be executed, and the task identifier assigned by the OS, and access from the task identifier The data access means 13 determines a data resource to be accessed and accesses the data.

【作用】外部からの処理要求14には、タスク名とデータ
リソースの代表名が指定される。処理要求を受けたタス
ク生成手段11は、与えられたタスク名とデータリソース
の代表名を用いて管理テーブル12から実行すべきプログ
ラム名を検索する。次に、検索したプログラムの実行を
OSに要求し、生成したタスクの識別子をOSから受け
取る。受け取ったタスク識別子を前記管理テーブル12に
格納する。生成タスク15におけるデータリソースのデー
タアクセスは、前記データアクセス手段13を経由して行
なうが、タスクからはアクセスすべきデータ名の指定を
行なうだけでデータリソース代表名の指定は必要ない。
データアクセス手段13では、データアクセスの要求元で
あるタスクの識別子を取り込み、前記管理テーブル12を
用いてデータリソース16〜18の中からアクセス対象のデ
ータリソースを決定し、要求されたデータをアクセスす
る。
In the processing request 14 from the outside, the task name and the representative name of the data resource are designated. Upon receiving the processing request, the task generation means 11 searches the management table 12 for the program name to be executed using the given task name and the representative name of the data resource. Next, the OS is requested to execute the retrieved program, and the generated task identifier is received from the OS. The received task identifier is stored in the management table 12. The data access of the data resource in the generation task 15 is performed via the data access means 13, but the task only specifies the data name to be accessed and does not need to specify the data resource representative name.
The data access means 13 takes in the identifier of the task that is the source of the data access, determines the data resource to be accessed from the data resources 16 to 18 using the management table 12, and accesses the requested data. .

【0006】[0006]

【実施例】以下図面を参照して実施例を説明する。図1
は本発明による計算機タスク管理方式を説明するための
一実施例の構成図である。図1において、11は外部から
のタスク起動要求14を受けてタスクを生成するタスク生
成手段、12はデータリソースの代表名とタスク名と実行
すべきプログラム名とOSから割り当てられるタスク識
別子との対応を示す管理テーブル(詳細は後述)、13は
タスク識別子からアクセスすべきデータリソースを決定
しデータをアクセスするデータアクセス手段、15,15′
は生成タスク、16はオンラインデータを保存するデータ
ベース、17は過去の実績データを保存するデータベー
ス、18は予測データを保存するデータベースであり、各
データベースには計算結果を保存するエリアが設けられ
ている。図1の例では、オンラインデータの計算入力デ
ータとしてファイル/online/inputdat
aが、計算結果データとしてファイル/online/
outdataが用意されている。実績データ及び予測
データについてはデータリソースの代表名online
がrecord又はpredictに代わるだけで、フ
ァイル名のinputdataとoutdataは同じ
である。管理テーブル12には、図2に示す対応関係が予
め定義されている。電力系統の系統解析計算を行なうた
めに、図3に示すマルチウィンドウ形式のマンマシン装
置を準備する。マルチウィンドウはオンラインデータ計
算用のウィンドウ31と過去の実績データに基づく計算用
のウィンドウ32及び将来の予測データに基づく計算用の
ウィンドウ33から構成される。
Embodiments will be described below with reference to the drawings. Figure 1
FIG. 1 is a configuration diagram of an embodiment for explaining a computer task management system according to the present invention. In FIG. 1, 11 is a task generation means for generating a task in response to an external task activation request 14, and 12 is a correspondence between a representative name of a data resource, a task name, a program name to be executed, and a task identifier assigned by the OS. Is a management table (details will be described later), 13 is a data access means for deciding a data resource to be accessed from the task identifier and accessing the data, 15, 15 '.
Is a generation task, 16 is a database that stores online data, 17 is a database that stores past performance data, 18 is a database that stores prediction data, and each database has an area for storing calculation results. . In the example of FIG. 1, file / online / inputdat is used as calculation input data for online data.
a is a file / online / as calculation result data
outdata is prepared. For actual data and forecast data, representative name of data resource online
Replaces record or predict, but the file names inputdata and outdata are the same. The correspondence relationship shown in FIG. 2 is defined in the management table 12 in advance. A multi-window type man-machine device shown in FIG. 3 is prepared in order to perform a system analysis calculation of a power system. The multi-window includes a window 31 for online data calculation, a window 32 for calculation based on past performance data, and a window 33 for calculation based on future prediction data.

【0007】次に作用について説明する。先ず各々のウ
ィンドウは相互に関連することなく、全く独立に作業を
進めることができる。オンライン計算を行なうウィンド
ウ31から計算処理1の起動要求を行なうと、「onli
ne」と「計算タスク1」の指定がタスク生成手段11に
通知される。タスク生成手段11では管理テーブル12から
起動すべきプログラム「計算処理1」を検索し、OSに
対して検索した名称のプログラムの実行を要求すること
でタスクを生成する。プログラム実行要求時にOSから
得られたタスク識別子「1001」は、管理テーブル12
に格納される。生成されたタスク15における処理で、先
ず、計算入力データの読み込み要求を行なう。この時、
前記データアクセス手段13にはタスク15からファイル名
inputdataが通知される。データアクセス手段
13では要求元のタスク識別子「1001」を取り込み、
管理テーブル12からデータリソース代表名online
を得る。次に、データファイル/online/inp
utdataから計算入力データを読み込みタスク15に
わたす。タスク15では読み込んだデータを用いて計算を
行ない、計算結果の書き込み要求を行なう。書き込み要
求ではタスクからファイル名outdataと計算結果
データがデータアクセス手段13に通知される。データア
クセス手段13ではデータ読み込み時と同様に、タスク識
別子からデータリソース代表名を得て計算結果データを
データファイル/online/outdataに書き
込む。なお、実績データによる計算を行なうウィンドウ
32からの計算処理要求及び予測データによる計算を行な
うウィンドウ33からの計算処理要求についても、要求時
のデータリソース代表名の指定が各々recordとp
redectに代わるだけで、タスクからのデータアク
セス要求時のファイル名指定は、オンライン計算の場合
と同じでよい。上記実施例によれば、オンラインデー
タ,実績データ及び予測データのいずれかを用いて系統
解析計算を行なう場合、計算プログラム内でデータベー
スの選択処理を記述しなくても、1本のプログラムで外
部からの処理要求に応じて複数のデータベースを選択的
に使用するタスクを生成することができる。又、複数の
タスクを同時に生成することも可能である。本実施例で
はonline,record,predictの3種
のデータリソースについて説明したが、本発明が対象と
するデータリソースの数は3に限定されるものではな
い。
Next, the operation will be described. First of all, the windows are independent of each other and can work independently. When a request to start calculation process 1 is issued from the window 31 for online calculation, "onli
The designation of “ne” and “calculation task 1” is notified to the task generation means 11. The task generation means 11 searches the management table 12 for the program "calculation process 1" to be started, and requests the OS to execute the program having the searched name, thereby generating the task. The task identifier “1001” obtained from the OS at the time of the program execution request is the management table 12
Stored in. In the generated processing in task 15, first, a request for reading calculation input data is issued. At this time,
The data access means 13 is notified of the file name inputdata from the task 15. Data access method
In 13, the task identifier “1001” of the request source is fetched,
Data resource representative name online from the management table 12
To get Next, data file / online / inp
The calculation input data is read from utdata and passed to task 15. In task 15, a calculation is performed using the read data and a request for writing the calculation result is made. In the write request, the task notifies the data access means 13 of the file name outdata and the calculation result data. The data access unit 13 obtains the data resource representative name from the task identifier and writes the calculation result data to the data file / online / outdata, as in the case of reading the data. In addition, a window for performing calculations based on actual data
With respect to the calculation processing request from 32 and the calculation processing request from the window 33 for performing calculation with prediction data, the designation of the data resource representative name at the time of the request is set to record and p, respectively.
The file name specification at the time of requesting data access from the task may be the same as in the case of online calculation, only in place of detect. According to the above-described embodiment, when performing system analysis calculation using any of online data, actual data, and prediction data, it is possible to use one program from the outside without describing the database selection process in the calculation program. It is possible to generate a task that selectively uses a plurality of databases according to the processing request of. It is also possible to generate multiple tasks simultaneously. Although three types of data resources, online, record, and predict have been described in the present embodiment, the number of data resources targeted by the present invention is not limited to three.

【0008】[0008]

【発明の効果】以上説明したように、本発明によればデ
ータ構造が同じでかつデータ名称も同じである複数のデ
ータリソースのうち、1つのデータリソースをアプリケ
ーションプログラムで選択的にアクセスする場合、アプ
リケーションプログラム内でデータリソースの切り替え
を明示的に記述する必要がなくなる。したがって、アプ
リケーションプログラムの開発工数を削減するだけでな
く、プログラムの移植性の向上に大いに効果的である。
As described above, according to the present invention, when one data resource is selectively accessed by an application program among a plurality of data resources having the same data structure and the same data name, There is no need to explicitly describe switching of data resources in the application program. Therefore, it is very effective not only for reducing the development man-hours of the application program but also for improving the portability of the program.

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

【図1】本発明による計算機タスク管理方式を説明する
一実施例の構成図。
FIG. 1 is a configuration diagram of an embodiment for explaining a computer task management system according to the present invention.

【図2】タスク管理テーブルの内容を示す一例図。FIG. 2 is an example diagram showing the contents of a task management table.

【図3】マルチウィンドウ方式マンマシン装置の表示例
図。
FIG. 3 is a diagram showing a display example of a multi-window man-machine device.

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

11 タスク生成手段 12 管理テーブル 13 データアクセス手段 14 処理要求 15,15′ 生成タスク 16 オンラインデータベース 17 実績データベース 18 予測データベース 11 Task generation means 12 Management table 13 Data access means 14 Processing requests 15, 15 'Generation task 16 Online database 17 Actual database 18 Prediction database

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マルチユーザ,マルチタスク及びマルチ
ウィンドウ環境を備えたプロセス監視制御用途のワーク
ステーションにおいて、データ構造が同じでかつ同一名
称の複数のデータリソースと、これらのデータリソース
のうちの1つと処理タスクのタスク名称及び実行すべき
プログラム名称の対応を示す管理テーブルと、外部から
のタスク起動要求と起動要求時に指定されたデータリソ
ース名称を受けて前記管理テーブルを参照し対応するタ
スク名称を持ったタスクを生成するタスク生成手段と、
タスク生成時にオペレーティングシステムから割り当て
られたタスク識別子からアクセスすべきデータリソース
の代表名を決定しデータリソースからデータをアクセス
するデータアクセス手段とを備えたことを特徴とする計
算機タスク管理方式。
1. In a process monitoring control workstation having a multi-user, multi-tasking and multi-window environment, a plurality of data resources having the same data structure and the same name, and one of these data resources are provided. A management table showing the correspondence between the task name of the processing task and the program name to be executed, and a task activation request from the outside and the data resource name specified at the time of the activation request are received to refer to the management table and have the corresponding task name. Task generation means for generating a task
A computer task management method comprising: a data access means for determining a representative name of a data resource to be accessed from a task identifier assigned by an operating system when a task is generated and accessing data from the data resource.
JP11207893A 1993-04-15 1993-04-15 Computer task management system Pending JPH06301560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11207893A JPH06301560A (en) 1993-04-15 1993-04-15 Computer task management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11207893A JPH06301560A (en) 1993-04-15 1993-04-15 Computer task management system

Publications (1)

Publication Number Publication Date
JPH06301560A true JPH06301560A (en) 1994-10-28

Family

ID=14577532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11207893A Pending JPH06301560A (en) 1993-04-15 1993-04-15 Computer task management system

Country Status (1)

Country Link
JP (1) JPH06301560A (en)

Similar Documents

Publication Publication Date Title
US9459850B2 (en) Adaptive cloud aware just-in-time (JIT) compilation
US7580938B1 (en) Methods and apparatus facilitating efficient display of data
US7609651B1 (en) Methods and systems for maintaining configuration information
US6256704B1 (en) Task management for data accesses to multiple logical partitions on physical disk drives in computer systems
Beynon et al. Optimizing execution of component-based applications using group instances
US7325017B2 (en) Method of implementation of data storage quota
US6081879A (en) Data processing system and virtual partitioning method for creating logical multi-level units of online storage
JPH04268927A (en) Apparatus and method for controlling memory
US7376758B2 (en) I/O dependency graphs
JP2005228278A (en) Management method, management device and management program of storage area
US5761696A (en) Parallel database serving mechanism for a single-level-store computer system
JP2002196960A (en) File input/output control method, file control server and parallel computer system
JP2003006170A (en) Method for performing program in environment of plural computers
US8060885B2 (en) Creating task queries for concrete resources using alias selection fields specifying formal resources and formal relationships
JP2870582B2 (en) Hypermedia document management device
US7478107B1 (en) Methods and apparatus facilitating management of a SAN
US7444636B2 (en) Method and system of determining attributes of a functional unit in a multiple processor computer system
Wang et al. ODDS: Optimizing data-locality access for scientific data analysis
JPH06301560A (en) Computer task management system
JPH0850559A (en) File memory protector
US20050015568A1 (en) Method and system of writing data in a multiple processor computer system
US7881946B1 (en) Methods and apparatus for guiding a user through a SAN management process
CA2387200A1 (en) Implementation of thread-static data in multi-threaded computer systems
JP2000163431A (en) System and method for information processing
JP2000235551A (en) Data base arrangement retrieval control method and recording medium