JP2570089B2 - Dependency consideration command interpreter - Google Patents

Dependency consideration command interpreter

Info

Publication number
JP2570089B2
JP2570089B2 JP5085477A JP8547793A JP2570089B2 JP 2570089 B2 JP2570089 B2 JP 2570089B2 JP 5085477 A JP5085477 A JP 5085477A JP 8547793 A JP8547793 A JP 8547793A JP 2570089 B2 JP2570089 B2 JP 2570089B2
Authority
JP
Japan
Prior art keywords
file
application
application program
essential
name
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.)
Expired - Fee Related
Application number
JP5085477A
Other languages
Japanese (ja)
Other versions
JPH06274321A (en
Inventor
毅 兵藤
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 JP5085477A priority Critical patent/JP2570089B2/en
Publication of JPH06274321A publication Critical patent/JPH06274321A/en
Application granted granted Critical
Publication of JP2570089B2 publication Critical patent/JP2570089B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は電子計算機のコマンドイ
ンタプリタに関し、特に、コマンドにより実行指示され
たアプリケーションプログラムの実行に必要となるファ
イルを自動的に生成することができる依存関係考慮コマ
ンドインタプリタ装置に関する。
The present invention relates to an command interpreter of the computer, more particularly, to dependency consideration command interpreter apparatus can automatically generate the files needed for the execution of application programs executed instruction by the command .

【0002】[0002]

【従来の技術】従来のコマンドインタプリタは実行させ
るアプリケーションプログラムのアプリケーション名及
び上記アプリケーションプログラムの実行に必要な引
数,ファイル名を含むコマンドが投入された場合、上記
アプリケーションプログラムに引数,ファイル名を渡す
だけであった。
2. Description of the Related Art When a command including an application name of an application program to be executed and arguments and file names required for executing the application program is input, the conventional command interpreter simply passes the arguments and the file name to the application program. Met.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従来
のコマンドインタプリタは投入されたコマンドに含まれ
ている引数,ファイル名をアプリケーションプログラム
に引き渡すだけであり、上記アプリケーションプログラ
ムを実行する前に生成されていなければならないファイ
ルが生成されているかとか、上記アプリケーションプロ
グラムを実行する前に実行しておかなければならないア
プリケーションプログラムが実行されているかとかいっ
た実行条件をアプリケーションプログラム側で判定して
いたため、実行条件の整っていないアプリケーションプ
ログラムの実行を指示するコマンドが投入された場合、
作業の後戻りが大変なものになるという問題があった。
As described above, the conventional command interpreter only passes arguments and file names included in the input command to the application program, and generates the arguments and file names before executing the application program. Because the execution conditions such as whether a file that must be executed has been generated and whether the application program that must be executed before executing the application program has been executed have been determined on the application program side, If a command to execute an application program whose execution conditions are not satisfied is issued,
There was a problem that it was difficult to return to the work.

【0004】本発明の目的は実行条件の整っていないア
プリケーションプログラムを実行させるコマンドが投入
された場合でも、作業の後戻りが必要になるケースを少
なくすることができる依存関係考慮コマンドインタプリ
装置を提供することにある。
[0004] It is an object of the present invention to provide a dependency-considering command interpreter apparatus which can reduce the number of cases where it is necessary to return to the work even when a command for executing an application program whose execution conditions are not satisfied is input. It is in.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するため、ファイル名に対応して各ファイルの生成方法
が登録されるファイル依存関係テーブルと、アプリケー
ション名に対応して各アプリケーションプログラムの実
行前に実行されていなければならない必須アプリケーシ
ョンプログラムのアプリケーション名及び各アプリケー
ションプログラムの実行前に生成されていなければなら
ない必須ファイルのファイル名が登録されるアプリケー
ション依存関係テーブルと、アプリケーションプログラ
ムの実行履歴及びファイルの生成履歴が登録される履歴
テーブルと、前記アプリケーション依存関係テーブルに
登録されているアプリケーション名を含むコマンドが入
力されることにより、前記アプリケーション依存関係テ
ーブル及び前記履歴テーブルを参照して前記コマンドに
よって実行指示されたアプリケーションプログラムに対
する必須ファイルが生成済みか否かを判定する必須ファ
イル判定手段と、該必須ファイル判定手段で生成済みで
ないと判定されることにより、前記ファイル依存関係テ
ーブルに登録されている生成方法に従って必須ファイル
を自動生成するファイル自動生成手段と、前記コマンド
により実行指示されたアプリケーションプログラムにつ
いての必須アプリケーションプログラムが実行済みか否
かを前記アプリケーション依存関係テーブル及び前記履
歴テーブルに基づいて判定し、実行済みでないと判定す
ることによりエラーメッセージを出力する必須アプリケ
ーション判定手段とを設けたものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a file dependency table in which a method of generating each file is registered in correspondence with a file name, and a file dependency table in which each application program is associated with an application name. and application-dependent relationship table the file name of the application name and the required files that must be generated prior to the execution of each application program of mandatory application program that must be executed before the execution is registered, and the execution history of the application program a history table generation record file is registered, by the command including the application name that is registered in the application dependency table is input, the application dependency table and the footwear A required file determination means for determining whether or not a required file for the application program instructed to be executed by the command with reference to the table has been generated; and determining that the required file has not been generated by the required file determination means. File automatic generation means for automatically generating an essential file according to a generation method registered in the dependency table; and determining whether or not the essential application program for the application program instructed to be executed by the command has been executed. A required application determining unit that determines based on the history table and outputs an error message by determining that the application has not been executed is provided.

【0006】[0006]

【作用】必須ファイル判定手段は、アプリケーション依
存関係テーブルに登録されているアプリケーション名を
含むコマンドが入力されることにより、アプリケーショ
ン依存関係テーブル及び履歴テーブルを参照して上記コ
マンドによって実行指示されたアプリケーションプログ
ラムに対する必須ファイルが生成済みか否かを判定す
る。
When a command including an application name registered in the application dependency table is input, the essential file determination means refers to the application dependency table and the history table to execute the application program instructed by the command. It is determined whether the required file for has been generated.

【0007】必須ファイルが生成済みでないと判定され
た場合は、ファイル自動生成手段がファイル依存関係テ
ーブルに登録されている生成方法に従って必須ファイル
を自動的に生成する。
If it is determined that the essential file has not been generated, the automatic file generation means automatically generates the essential file according to the generation method registered in the file dependency table.

【0008】また、必須アプリケーション判定手段はコ
マンドにより実行指示されたアプリケーションプログラ
ムについての必須アプリケーションプログラムが実行済
みか否かをアプリケーション依存関係テーブル及び履歴
テーブルに基づいて判定し、実行済みでないと判定する
ことにより、エラーメッセージを出力する。
The essential application determining means determines whether or not the essential application program for the application program instructed to be executed by the command has been executed based on the application dependency relationship table and the history table, and judges that the application program has not been executed. Outputs an error message.

【0009】[0009]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0010】図1は本発明の実施例のブロック図であ
り、コマンドインタプリタ装置(以下、コマンドインタ
プリタと称す)1と、プログラム実行部2と、入出力部
3とから構成されている。
[0010] Figure 1 is a block diagram of an embodiment of the present invention, the command interpreter device (hereinafter, command interface
1 ) , a program execution unit 2, and an input / output unit 3.

【0011】コマンドインタプリタ1はタスク設定手段
10と、登録判定手段11と、必須ファイル判定手段1
2と、ファイル自動生成手段13と、必須アプリケーシ
ョン判定手段14と、タスク変数領域15と、アプリケ
ーション依存関係テーブル16と、ファイル依存関係テ
ーブル17と、履歴テーブル18とから構成されてい
る。
The command interpreter 1 includes a task setting unit 10, a registration determining unit 11, and an essential file determining unit 1.
2, an automatic file generation unit 13, an essential application determination unit 14, a task variable area 15, an application dependence table 16, a file dependence table 17, and a history table 18.

【0012】図2はアプリケーション依存関係テーブル
16の構成例を示す図であり、アプリケーションプログ
ラムのアプリケーション名が登録されるアプリケーショ
ン名フィールド16−1と、そのアプリケーションプロ
グラムを実行する前に実行されていなければならないア
プリケーションプログラム(必須アプリケーションプロ
グラム)のアプリケーション名が登録されるアプリケー
ション依存フィールド16−2と、そのアプリケーショ
ンプログラムが実行される前に生成されていなければな
らないファイル(必須ファイル)のファイル名が登録さ
れるファイル依存フィールド16−3とから構成されて
いる。尚、アプリケーション依存関係テーブル16に
は、例えば、回路図作成アプリケーションプログラム,
ファイル変換ルーツ,配置アプリケーションプログラ
ム,配線アプリケーションプログラム等のように互いに
関係するアプリケーションプログラムのアプリケーショ
ン名,必須アプリケーションプログラムのアプリケーシ
ョン名,必須ファイルのファイル名を登録しておくもの
である。
FIG. 2 is a diagram showing an example of the configuration of the application dependency relationship table 16. An application name field 16-1 in which an application name of an application program is registered, and if the application program is not executed before the application program is executed, An application-dependent field 16-2 in which an application name of an application program (essential application program) to be registered is registered, and a file name of a file (essential file) that must be generated before the application program is executed are registered. And a file dependent field 16-3. The application dependency table 16 includes, for example, a circuit diagram creation application program,
The application names of application programs related to each other, such as file conversion roots, placement application programs, and wiring application programs, the application names of essential application programs, and the file names of essential files are registered.

【0013】図2の例は、アプリケーション名app1
のアプリケーションプログラムはそれが実行される前に
ファイル名が「.01」で終わるファイルが生成されて
いなければならず、アプリケーション名app2のアプ
リケーションプログラムはそれが実行される前にアプリ
ケーション名app1のアプリケーションプログラムが
実行され、且つファイル名が「.02」で終わるファイ
ルが生成されていなければならないことを示している。
尚、*は固定ファイル名を代入することを指示する特殊
文字である。
FIG. 2 shows an example of application name app1.
Before the application program is executed, a file whose file name ends with “.01” must be generated, and the application program with the application name app2 becomes the application program with the application name app1 before it is executed. Is executed, and a file whose file name ends with “.02” must be generated.
Note that * is a special character instructing to substitute a fixed file name.

【0014】図3はファイル依存関係テーブル17の構
成例を示す図であり、ファイルのファイル名が登録され
るファイル名フィールド17−1と、そのファイルの自
動生成方法が登録されるファイル生成方法フィールド1
7−2とから構成されている。
FIG. 3 is a diagram showing an example of the configuration of the file dependency relationship table 17, in which a file name field 17-1 in which a file name of a file is registered and a file generation method field in which an automatic generation method of the file is registered 1
7-2.

【0015】図3の例はファイル名が「.01」で終わ
るファイルには自動生成方法がなく、ファイル名が「.
02」で終わるファイルはアプリケーションプログラム
app1を実行することにより自動生成できることを示
している。
In the example of FIG. 3, there is no automatic generation method for a file whose file name ends with ".01", and the file name is ".01".
A file ending with "02" indicates that the file can be automatically generated by executing the application program app1.

【0016】図4は履歴テーブル18の構成例を示す図
であり、タスクのタスク名が登録されるタスク名フィー
ルド18−1と、実行順序が登録される順序フィールド
18−2と、実行したアプリケーションプログラムのア
プリケーション名が登録される実行アプリケーションフ
ィールド18−3と、生成したファイルのファイル名が
登録される生成ファイル名フィールド18−4とから構
成されている。
FIG. 4 is a diagram showing an example of the configuration of the history table 18, in which a task name field 18-1 in which a task name of a task is registered, an order field 18-2 in which an execution order is registered, an executed application It comprises an execution application field 18-3 in which the application name of the program is registered, and a generated file name field 18-4 in which the file name of the generated file is registered.

【0017】図4の例はタスク名user1のタスク
は、先ずアプリケーション名app1のアプリケーショ
ンプログラムを実行してファイル名f1.02のファイ
ルを生成し、その後、ファイル名一覧表示(1s−1)
を実行したことを示している。
In the example of FIG. 4, the task with the task name user1 first executes the application program with the application name app1 to generate a file with the file name f1.02, and then displays the file name list (1s-1).
Has been executed.

【0018】図5はコマンドインタプリタ1の処理例を
示すフローチャートであり、以下各図を参照して本実施
例の動作を説明する。尚、図5に於いて、実線は処理の
流れを、破線はテーブル参照の流れを示している。
FIG. 5 is a flowchart showing a processing example of the command interpreter 1. The operation of this embodiment will be described below with reference to the drawings. In FIG. 5, the solid line indicates the flow of processing, and the broken line indicates the flow of table reference.

【0019】先ず、ユーザは実行させるタスクのタスク
名を入出力部3から入力する。
First, a user inputs a task name of a task to be executed from the input / output unit 3.

【0020】コマンドインタプリタ1内のタスク設定手
段10はタスク名が入力されると、タスク名をタスク変
数領域15に設定する (ステップS1)。
When the task name is input, the task setting means 10 in the command interpreter 1 sets the task name in the task variable area 15 (step S1).

【0021】その後、ユーザは実行させるアプリケーシ
ョンプログラムのアプリケーション名及びそのアプリケ
ーションプログラムを実行させるために必要となる引
数,ファイル名を含むコマンドを入出力部3から入力す
る。
Thereafter, the user inputs from the input / output unit 3 a command including an application name of the application program to be executed, arguments required for executing the application program, and a file name.

【0022】コマンドインタプリタ1内の登録判定手段
11は上記コマンドが入力されたことを検出すると (ス
テップS2)、上記コマンドに含まれているアプリケー
ション名がアプリケーション依存関係テーブル16のア
プリケーション名フィールド16−1に登録されている
か否かを判定する (ステップS3)。
When the registration judging means 11 in the command interpreter 1 detects that the command has been input (step S2), the application name included in the command is entered in the application name field 16-1 of the application dependency table 16. It is determined whether or not the information has been registered (step S3).

【0023】そして、登録されていない場合 (ステップ
S3がno)は、登録判定手段11はプログラム実行部
2に対して上記コマンドに含まれているアプリケーショ
ン名のアプリケーションプログラムの実行を要求する
(ステップS11)。
If the application is not registered (No in step S3), the registration judging unit 11 requests the program execution unit 2 to execute the application program of the application name included in the command.
(Step S11).

【0024】また、登録されている場合 (ステップS3
がyes)は、登録判定手段11は必須ファイル判定手
段12に制御を渡す。
If it has been registered (step S3
If yes, the registration judging unit 11 passes control to the essential file judging unit 12.

【0025】必須ファイル判定手段12は登録判定手段
11から制御を渡されると、入力されたコマンドによっ
て実行指示されたアプリケーションプログラムに対する
必須ファイルが全て生成されているか否かをタスク変数
領域15,アプリケーション依存関係テーブル16,履
歴テーブル18の内容に基づいて判定する (ステップS
4)。そして、必須ファイルが全て生成されていると判
定した場合は制御を必須アプリケーション判定手段14
に渡し、生成されていない必須ファイルが存在すると判
定した場合は制御をファイル自動生成手段13に渡す。
When the control is passed from the registration judging means 11, the essential file judging means 12 determines whether all the essential files for the application program instructed to be executed by the input command have been generated or not, in the task variable area 15, the application dependent area. The determination is made based on the contents of the relationship table 16 and the history table 18 (step S
4). When it is determined that all the essential files have been generated, the control is performed by the essential application determination unit 14.
When it is determined that there is an indispensable file that has not been generated, the control is passed to the file automatic generation unit 13.

【0026】この処理を詳しく説明すると、必須ファイ
ル判定手段12は先ず、アプリケーション依存関係テー
ブル16のアプリケーション名フィールド16−1及び
ファイル依存フィールド16−3を参照し、上記コマン
ドによって実行指示されたアプリケーションプログラム
に対する必須ファイルのファイル名を取得する。
The process will be described in detail. First, the essential file determination unit 12 refers to the application name field 16-1 and the file dependence field 16-3 of the application dependence table 16 and determines the application program designated to be executed by the command. Get the file name of the required file for.

【0027】その後、必須ファイル判定手段12はタス
ク変数領域15に設定されているタスク名を取得する。
After that, the essential file determination means 12 acquires the task name set in the task variable area 15.

【0028】更に、必須ファイル判定手段12は履歴テ
ーブル18のタスク名フィールド18−1及び生成ファ
イル名フィールド18−4を参照し、上記タスク名が登
録されているタスク名フィールド18−1の領域と対応
する生成ファイル名フィールド18−4の領域に、アプ
リケーション依存関係テーブル16から取得したファイ
ル名が全て登録されているか否かを、即ち、必須ファイ
ルが全て生成されているか否かを判定する。
Further, the essential file judging means 12 refers to the task name field 18-1 and the generated file name field 18-4 of the history table 18 to determine the area of the task name field 18-1 where the task name is registered. It is determined whether or not all the file names acquired from the application dependency relationship table 16 are registered in the corresponding generated file name field 18-4, that is, whether or not all the essential files have been generated.

【0029】そして、必須ファイルが全て生成されてい
ると判定した場合(ステップS4がyes)は制御を必
須アプリケーション判定手段14に渡し、生成されてい
ない必須ファイルが存在すると判定した場合 (ステップ
S4がno)は制御をファイル自動生成手段13に渡
す。尚、ファイル自動生成手段13に制御を渡す際、必
須ファイル判定手段12は生成されていない必須ファイ
ルのファイル名をファイル自動生成手段13に通知す
る。
When it is determined that all the essential files have been generated (Yes in step S4), the control is passed to the essential application determination means 14, and it is determined that there is an essential file that has not been generated (step S4 determines No) passes control to the file automatic generation means 13. When transferring control to the automatic file generation means 13, the essential file determination means 12 notifies the automatic file generation means 13 of the file names of the essential files that have not been generated.

【0030】ファイル自動生成手段13は必須ファイル
判定手段12から生成されていない必須ファイルのファ
イル名が渡されると、そのファイルを自動生成する条件
が整っているか否かをタスク変数領域15,アプリケー
ション依存関係テーブル16,ファイル依存関係テーブ
ル17及び履歴テーブル18の内容に基づいて判定する
(ステップS5)。そして、自動生成する条件が整って
いないと判定した場合(ステップS5がno)はエラー
メッセージを入出力部3に出力し (ステップS10)、
整っていると判定した場合 (ステップS5がyes)は
必須ファイルを自動生成した後 (ステップS6)、制御
を必須アプリケーション判定手段14に渡す。
When the file name of an indispensable file that has not been generated is passed from the indispensable file judging means 12, the automatic file generating means 13 determines whether or not the conditions for automatically generating the file are satisfied. Judgment is made based on the contents of the relation table 16, the file dependence table 17, and the history table 18.
(Step S5). When it is determined that the conditions for automatic generation are not satisfied (No in step S5), an error message is output to the input / output unit 3 (step S10).
When it is determined that the file is complete (Yes in step S5), the essential file is automatically generated (step S6), and the control is passed to the essential application determination unit 14.

【0031】この処理を詳しく説明すると、次のように
なる。
This processing will be described in detail as follows.

【0032】ファイル自動生成手段13は先ずファイル
依存関係テーブル17を参照し、未生成の必須ファイル
の生成方法がファイル生成方法フィールド17−2に登
録されているか否かを判断する。そして、生成方法が登
録されていない場合は、必須ファイルの自動生成条件が
整っていないとしてエラーメッセージを入出力部3に出
力する (ステップS10)。
First, the file automatic generation means 13 refers to the file dependency table 17 and determines whether or not the generation method of an ungenerated essential file is registered in the file generation method field 17-2. If the generation method has not been registered, an error message is output to the input / output unit 3 assuming that the conditions for automatically generating the essential file are not satisfied (step S10).

【0033】また、ファイルの生成方法がファイル生成
方法フィールド17−2に登録されており、その生成方
法がアプリケーションプログラムの実行を指示するもの
である場合は、アプリケーション依存関係テーブル16
を参照し、上記アプリケーションプログラムに対する必
須アプリケーションプログラムが存在するか否かを調べ
る。
If the file generation method is registered in the file generation method field 17-2 and the generation method instructs the execution of the application program, the application dependence table 16
To check whether there is an essential application program for the application program.

【0034】必須アプリケーションプログラムが存在し
ない場合は、必須ファイルを生成するために、プログラ
ム実行部2に対してファイル生成方法フィールド17−
2に登録されているアプリケーション名のアプリケーシ
ョンプログラムの実行を要求する (ステップS6)。こ
れにより、プログラム実行部2で上記アプリケーション
プログラムが実行され、必須ファイルが生成される。
If the required application program does not exist, the file execution method field 17-
A request is made to execute the application program with the application name registered in Step 2 (Step S6). As a result, the application program is executed by the program execution unit 2, and an essential file is generated.

【0035】また、必須アプリケーションプログラムが
存在する場合は、ファイル自動生成手段13は、先ず、
タスク変数領域15に設定されているタスク名を取得す
る。
If an essential application program exists, the file automatic generation means 13 first
The task name set in the task variable area 15 is obtained.

【0036】次いで、ファイル自動生成手段13は履歴
テーブル18のタスク名フィールド18−1及び実行ア
プリケーションフィールド18−3を参照し、上記タス
名が登録されているタスク名フィールド18−1の領
域と対応する実行アプリケーションフィールド18−3
の領域に、上記必須アプリケーションプログラムのアプ
リケーション名が登録されているか否かを調べる。
[0036] Then, the automatic file generating unit 13 refers to the task name field 18-1 and execution application field 18-3 in the history table 18, the task
Execution application fields corresponding to the area of the task name field 18-1 metric name is registered 18-3
It is checked whether or not the application name of the essential application program is registered in the area of (1).

【0037】そして、登録されていない場合、即ち必須
アプリケーションプログラムが未実行の場合は必須ファ
イルの自動生成条件が整っていないとしてエラーメッセ
ージを入出力部3に出力する (ステップS10)。ま
た、登録されている場合、即ち必須アプリケーションプ
ログラムが実行済みの場合は、必須ファイルを生成させ
るために、プログラム実行部2に対してファイル生成方
法フィールド17−2に登録されているアプリケーショ
ン名のアプリケーションプログラムの実行を要求する
(ステップS6)。これにより、プログラム実行部2で
上記アプリケーションプログラムが実行され、必須ファ
イルが生成される。
If not registered, that is, if the required application program has not been executed, an error message is output to the input / output unit 3 assuming that the conditions for automatically generating the required file are not satisfied (step S10). If the application has been registered, that is, if the essential application program has been executed, the program execution unit 2 is instructed to execute the application having the application name registered in the file generation method field 17-2 in order to generate the essential file. Request execution of the program
(Step S6). As a result, the application program is executed by the program execution unit 2, and an essential file is generated.

【0038】必須アプリケーション判定手段14は必須
ファイル判定手段12或いはファイル自動生成手段13
から制御が渡されると、タスク変数領域15、アプリケ
ーション依存関係テーブル16及び履歴テーブル18の
内容に基づいてコマンドにより実行指示されたアプリケ
ーションプログラムに対する必須アプリケーションプロ
グラムが全て実行されているか否かを判定する (ステッ
プS7)。
The essential application determining means 14 is the essential file determining means 12 or the automatic file generating means 13
When the control is passed from, it is determined based on the contents of the task variable area 15, the application dependence table 16 and the history table 18 whether or not all the essential application programs for the application program instructed to be executed by the command are executed ( Step S7).

【0039】そして、全て実行されていると判定した場
合 (ステップS7がyes)は、履歴テーブル18に今
回実行するアプリケーションプログラムに関する情報を
追加し (ステップS8)、更にプログラム実行部2に今
回実行するアプリケーションプログラムの実行を要求す
る (ステップS9)。また未実行の必須アプリケーショ
ンプログラムが存在すると判断した場合 (ステップS7
がno)は入出力部3に対してエラーメッセージを出力
する (ステップS10)。
When it is determined that all the programs have been executed (Yes in step S7), information on the application program to be executed this time is added to the history table 18 (step S8), and further executed in the program execution unit 2. Request execution of the application program (step S9). When it is determined that an unexecuted essential application program exists (step S7)
No) outputs an error message to the input / output unit 3 (step S10).

【0040】この処理を詳しく説明すると、必須アプリ
ケーション判定手段14はアプリケーション依存関係テ
ーブル16のアプリケーション名フィールド16−1及
びアプリケーション依存フィールド16−2を参照し、
コマンドによって実行指示されたアプリケーションプロ
グラムに対する必須アプリケーションプログラムが存在
するか否かを調べる。
To explain this processing in detail, the essential application determining means 14 refers to the application name field 16-1 and the application dependence field 16-2 of the application dependence table 16,
It is determined whether or not there is an essential application program for the application program instructed to be executed by the command.

【0041】そして、必須アプリケーションプログラム
が存在しない場合は、コマンドによって実行指示された
アプリケーションプログラムに関する内容を履歴テーブ
ル18に追加し (ステップS8)、その後、上記アプリ
ケーションプログラムの実行をプログラム実行部2に要
求する (ステップS9)。
If the required application program does not exist, the contents related to the application program instructed to be executed by the command are added to the history table 18 (step S8), and thereafter, the execution of the application program is requested to the program execution unit 2. Yes (step S9).

【0042】また、必須アプリケーションが存在する場
合は、先ず、タスク変数領域15に設定されているタス
ク名を取得する。その後、履歴テーブル18のタスク名
フィールド18−1,実行アプリケーションフィールド
18−3を参照し、上記タスク名が登録されているタス
ク名フィールド18−1の領域と対応する実行アプリケ
ーションフィールド18−3の領域に必須アプリケーシ
ョンプログラムのアプリケーション名が全て登録されて
いるか否かを調べる。
When there is an essential application, first, the task name set in the task variable area 15 is obtained. Then, referring to the task name field 18-1 and the execution application field 18-3 of the history table 18, the area of the execution application field 18-3 corresponding to the area of the task name field 18-1 in which the task name is registered. It is checked whether or not all the application names of the essential application programs are registered.

【0043】そして、アプリケーション名が全て登録さ
れている場合、即ち、必須アプリケーションプログラム
が全て実行済みである場合は、ステップS8,S9の処
理を行ない、登録されていない場合、即ち未実行の必須
アプリケーションが存在する場合はステップS10の処
理を行なう。
If all the application names have been registered, that is, if all the essential application programs have been executed, the processing of steps S8 and S9 is performed. If not registered, that is, the unexecuted essential application has been executed. If exists, the process of step S10 is performed.

【0044】入出力部3からアプリケーションプログラ
ムの実行を指示するコマンドが入力される毎に上記した
処理が繰り返し行なわれる。
Each time a command instructing execution of an application program is input from the input / output unit 3, the above-described processing is repeated.

【0045】今、例えば、アプリケーション依存関係テ
ーブル16,ファイル依存関係テーブル17,履歴テー
ブル18の内容がそれぞれ図2,図3,図4に示すもの
であり、タスク変数領域15にタスク名user1が設
定されている場合を考えてみる。
Now, for example, the contents of the application dependence table 16, file dependence table 17, and history table 18 are as shown in FIGS. 2, 3, and 4, respectively, and the task name user1 is set in the task variable area 15. Let's consider the case.

【0046】この時、図4から判るように、既にタスク
名user1のタスクに於いてアプリケーションプログ
ラムapp1が実行され、ファイルf1.02が生成さ
れている。
At this time, as can be seen from FIG. 4, the application program app1 has already been executed in the task having the task name user1, and the file f1.02 has been generated.

【0047】この状態に於いて、ユーザが入出力部3か
らアプリケーション名app2及びそのアプリケーショ
ンプログラムの実行に必要な引数,ファイル名を含むコ
マンド入力したとする。
In this state, it is assumed that the user inputs a command including the application name app2 and arguments and file names required for executing the application program from the input / output unit 3.

【0048】上記コマンドに含まれているアプリケーシ
ョン名app2はアプリケーション依存関係テーブル1
6のアプリケーション名フィールド16−1に登録され
ているので、ステップS3の判定結果がyesとなり、
ステップS4の処理が行なわれる。
The application name app2 contained in the above command is stored in the application dependency table 1
6 is registered in the application name field 16-1, so that the determination result in step S3 is yes,
Step S4 is performed.

【0049】ステップS4ではアプリケーションプログ
ラムapp2の必須ファイルが既に生成されているか否
かが判定される。この例の場合、図2に示したアプリケ
ーション依存関係テーブル16のファイル依存フィール
ド16−3から判るように、上記アプリケーションプロ
グラムapp2の必須ファイルはファイル名が「.0
2」で終わるファイルである。また、図4に示すよう
に、生成ファイル名フィールド18−4中のタスク名u
ser1に関係する領域には「.02」で終わるファイ
ル名f1.02が登録されている。従って、ステップS
4では上記アプリケーションプログラムapp2の必須
ファイルは既に生成されていると判断され、ステップS
7の処理が行なわれる。
In step S4, it is determined whether or not an essential file of the application program app2 has already been generated. In the case of this example, as can be seen from the file dependence field 16-3 of the application dependence table 16 shown in FIG. 2, the essential file of the application program app2 has the file name “.0”.
2 ". As shown in FIG. 4, the task name u in the generated file name field 18-4 is used.
A file name f1.02 ending in “.02” is registered in an area related to ser1. Therefore, step S
In step S4, it is determined that the essential file of the application program app2 has already been generated.
Step 7 is performed.

【0050】ステップS7では上記アプリケーションプ
ログラムapp2の必須アプリケーションプログラムが
全て実行済みか否かが判断される。この例の場合、図2
に示したアプリケーション依存関係テーブル16のアプ
リケーション依存フィールド16−2から判るように、
上記アプリケーションプログラムapp2に対する必須
アプリケーションプログラムはアプリケーション名ap
p1のものである。また、図4に示すように、実行アプ
リケーションフィールド18−3中のタスク名user
1に関係する領域にはアプリケーション名app1が登
録されている。従って、ステップS7では上記アプリケ
ーションプログラムの必須アプリケーションプログラム
は全て実行済みであると判断され、ステップS8の処理
が行なわれることになる。
In step S7, it is determined whether or not all the essential application programs of the application program app2 have been executed. In this case, FIG.
As can be seen from the application dependency field 16-2 of the application dependency table 16 shown in FIG.
The essential application program for the application program app2 is the application name app
p1. As shown in FIG. 4, the task name user in the execution application field 18-3 is displayed.
The application name app1 is registered in the area related to 1. Therefore, in step S7, it is determined that all the essential application programs of the application program have been executed, and the process of step S8 is performed.

【0051】この例では上記したように、ステップS4
に引き続きステップS7の処理が行なわれることになる
が、もし、履歴テーブル18の生成ファイル名フィール
ド18−4のタスク名user1に関係する領域に「.
02」で終わるファイル名が登録されていないとする
と、図3のファイル依存関係テーブル17のファイル生
成方法フィールド17−2の内容に基づいてアプリケー
ションプログラムapp1が実行され、ファイルf1.
02が生成され、その後、ステップS7の処理が行なわ
れることになる。
In this example, as described above, step S4
The processing of step S7 is performed subsequently to step S7. If the area related to the task name user1 in the generated file name field 18-4 of the history table 18, ".
02 is not registered, the application program app1 is executed based on the contents of the file generation method field 17-2 of the file dependency table 17 of FIG.
02 is generated, and then the process of step S7 is performed.

【0052】尚、上述した実施例に於いては、必須アプ
リケーション判定手段14で必須アプリケーションプロ
グラムの中に未実行のものがあると判断した場合 (ステ
ップS7がnoの場合)、エラーメッセージを出力する
ようにしたが、プログラム実行部2に対して未実行のア
プリケーションプログラムの実行を要求し、その後、ス
テップS8の処理を行なうようにすることもできる。し
かし、未実行の必須アプリケーションプログラムを自動
実行させるようにすると、巨大なアプリケーションプロ
グラムが自動実行され、多くの資源,時間が費やされる
場合があるので、実施例のようにエラーメッセージを出
力し、アプリケーションプログラムの内容をユーザに事
前に調べさせるようにする方が望ましい。
In the above-described embodiment, if the essential application determining means 14 determines that any of the essential application programs is not executed (step S7 is no), an error message is output. However, it is also possible to request the program execution unit 2 to execute an unexecuted application program, and then perform the processing in step S8. However, when an unexecuted essential application program is automatically executed, a huge application program is automatically executed, and a lot of resources and time may be consumed. It is desirable to have the user check the contents of the program in advance.

【0053】[0053]

【発明の効果】以上説明したように、本発明は、コマン
ドにより実行指示されたアプリケーションプログラムに
ついての必須ファイルが生成されていない場合、必須フ
ァイルを自動生成するファイル自動生成手段を備えると
共に、実行指示されたアプリケーションプログラムにつ
いての必須アプリケーションプログラムが実行済みでな
い場合、エラーメッセージを出力する必須アプリケーシ
ョン判定手段を備えているので、作業の後戻りが必要に
なるケースを従来に比較して少なくすることができると
共に、定型業務以外には適用しにくいフレームワークを
非定型業務でも適用できるという効果がある。
As described above, according to the present invention, when an essential file for an application program instructed to be executed by a command is not generated, the automatic file generating means for automatically generating the essential file is provided. If the required application program for the performed application program has not been executed, an essential application determination unit that outputs an error message is provided. In addition, there is an effect that a framework which is difficult to be applied to other than the routine work can be applied to the irregular work.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】アプリケーション依存関係テーブル16の構成
例を示す図である。
FIG. 2 is a diagram illustrating a configuration example of an application dependency relationship table 16;

【図3】ファイル依存関係テーブル17の構成例を示す
図である。
FIG. 3 is a diagram illustrating a configuration example of a file dependency relationship table 17;

【図4】履歴テーブル18の構成例を示す図である。FIG. 4 is a diagram showing a configuration example of a history table 18.

【図5】コマンドインタプリタ1の処理例を示すフロー
チャートである。
FIG. 5 is a flowchart illustrating a processing example of the command interpreter 1;

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

1…コマンドインタプリタ 2…プログラム実行部 3…入出力部 10…タスク設定手段 11…登録判定手段 12…必須ファイル判定手段 13…ファイル自動生成手段 14…必須アプリケーション判定手段 15…タスク変数領域 16…アプリケーション依存関係テーブル 17…ファイル依存関係テーブル 18…履歴テーブル REFERENCE SIGNS LIST 1 command interpreter 2 program execution unit 3 input / output unit 10 task setting unit 11 registration determination unit 12 essential file determination unit 13 automatic file generation unit 14 essential application determination unit 15 task variable area 16 application Dependency table 17: File dependency table 18: History table

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ファイル名に対応して各ファイルの生成
方法が登録されるファイル依存関係テーブルと、 アプリケーション名に対応して各アプリケーションプロ
グラムの実行前に実行されていなければならない必須ア
プリケーションプログラムのアプリケーション名及び各
アプリケーションプログラムの実行前に生成されていな
ければならない必須ファイルのファイル名が登録される
アプリケーション依存関係テーブルと、アプリケーショ
ンプログラムの実行履歴及びファイルの生成履歴が登録
される履歴テーブルと、 前記アプリケーション依存関係テーブルに登録されてい
るアプリケーション名を含むコマンドが入力されること
により、前記アプリケーション依存関係テーブル及び前
記履歴テーブルを参照して前記コマンドによって実行指
示されたアプリケーションプログラムに対する必須ファ
イルが生成済みか否かを判定する必須ファイル判定手段
と、 該必須ファイル判定手段で生成済みでないと判定される
ことにより、前記ファイル依存関係テーブルに登録され
ている生成方法に従って必須ファイルを自動生成するフ
ァイル自動生成手段と、 前記コマンドにより実行指示されたアプリケーションプ
ログラムについての必須アプリケーションプログラムが
実行済みか否かを前記アプリケーション依存関係テーブ
ル及び前記履歴テーブルに基づいて判定し、実行済みで
ないと判定することによりエラーメッセージを出力する
必須アプリケーション判定手段とを備えたことを特徴と
する依存関係考慮コマンドインタプリタ装置
1. A file dependency table in which a generation method of each file is registered according to a file name, and an application of an essential application program which must be executed before execution of each application program according to an application name An application dependency table in which names and file names of essential files that must be generated before execution of each application program are registered; a history table in which application program execution histories and file generation histories are registered; When a command including the application name registered in the dependency table is input, the execution command is executed by the command with reference to the application dependency table and the history table. Required file determination means for determining whether a required file for the generated application program has been generated, and a generation method registered in the file dependency table by determining that the required file has not been generated by the required file determination means File automatic generation means for automatically generating an essential file in accordance with the following, and determining whether the essential application program for the application program instructed to be executed by the command has been executed based on the application dependency table and the history table, and executing dependency consideration command interpreter apparatus characterized by comprising an essential application determining means for outputting an error message by determining the no finished.
【請求項2】 前記ファイルの生成方法はファイルを生
成させるためのアプリケーションプログラムのアプリケ
ーション名を含むことを特徴とする請求項1記載の依存
関係考慮コマンドインタプリタ装置
2. A method for generating the file dependencies considered command interpreter apparatus according to claim 1, characterized in that it comprises the application name of an application program for generating files.
JP5085477A 1993-03-19 1993-03-19 Dependency consideration command interpreter Expired - Fee Related JP2570089B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5085477A JP2570089B2 (en) 1993-03-19 1993-03-19 Dependency consideration command interpreter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5085477A JP2570089B2 (en) 1993-03-19 1993-03-19 Dependency consideration command interpreter

Publications (2)

Publication Number Publication Date
JPH06274321A JPH06274321A (en) 1994-09-30
JP2570089B2 true JP2570089B2 (en) 1997-01-08

Family

ID=13859995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5085477A Expired - Fee Related JP2570089B2 (en) 1993-03-19 1993-03-19 Dependency consideration command interpreter

Country Status (1)

Country Link
JP (1) JP2570089B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4799419B2 (en) 2004-10-20 2011-10-26 富士通株式会社 Setting program, setting method, and setting device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
発明協会公開技報公技番号85−8910号 インターフェース、12〔12〕(昭61−12−1)CQ出版社P.306−312

Also Published As

Publication number Publication date
JPH06274321A (en) 1994-09-30

Similar Documents

Publication Publication Date Title
US5802530A (en) Web document based graphical user interface
US6370561B1 (en) Method and system for invoking methods of objects over the internet
US20030085918A1 (en) Standardized and application-independent graphical user interface components implemented with web technology
US20030081002A1 (en) Method and system for chaining and extending wizards
US7171663B2 (en) External event interrupt for server-side programs
JP2001344105A (en) Web application developing method, development support system, and memory medium storing program related to this method
JP2570089B2 (en) Dependency consideration command interpreter
von Laszewski et al. Java cog kit karajan/gridant workflow guide
JP4493269B2 (en) Program editing apparatus and program
US8676842B2 (en) Creating multiple Mbeans from a factory Mbean
JPH06348766A (en) Method and device for incorporating tool
CN110928672B (en) Task arranging method, device and equipment and storage medium
JP2871433B2 (en) Patch method
JP2856492B2 (en) Program processing device
JPH10171572A (en) Method for checking input error of input picture to computer
JP3120473B2 (en) How to upgrade software programs
JPH07200233A (en) Graphic parts management device
JP2002229789A (en) Program source file management method by multiple users on the same network and program source file management system
WO2002065228A2 (en) Distributed computing system
JPS62212734A (en) Executing system for intermediate code program
JPH04195452A (en) Program start system
KR20020069869A (en) An method renewing web document in internet-site
JPH0357040A (en) System for selecting input file connection at the time of execution
JPH09258961A (en) Method for analyzing program environment definition information
JPH0553835A (en) Processor for applying right of user

Legal Events

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