JPH11175328A - Execution controller for program module - Google Patents

Execution controller for program module

Info

Publication number
JPH11175328A
JPH11175328A JP33921897A JP33921897A JPH11175328A JP H11175328 A JPH11175328 A JP H11175328A JP 33921897 A JP33921897 A JP 33921897A JP 33921897 A JP33921897 A JP 33921897A JP H11175328 A JPH11175328 A JP H11175328A
Authority
JP
Japan
Prior art keywords
input
execution control
program
output
program modules
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
JP33921897A
Other languages
Japanese (ja)
Inventor
Takahiro Kimura
隆宏 木村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP33921897A priority Critical patent/JPH11175328A/en
Publication of JPH11175328A publication Critical patent/JPH11175328A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide the execution controller of a program module capable of reducing influence on a software accompanying the change of the input/output specifications of the program module and suppressing the increase of development man-hour. SOLUTION: This controller is provided with the plural program modules PM1-PMn provided with individual input/output specifications for executing a prescribed processing operation, an input/output information input means (a) for setting information relating to the input/output specifications of the respective program modules, an input/output information conversion means (b) for converting an inputted program so as to be matched with the input/ output specifications of the program module of a controlled system based on input/output information, an execution control information input means (c) for setting the information for controlling the respective operation processings of the program modules and an execution control means (d) for inputting the converted program to the respective program modules and executing the processing operations in a prescribed order based on execution control information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムモジュ
ールの実行制御装置に関し、特に、複数のプログラムモ
ジュールの各々の入出力仕様が異なる場合の実行制御方
法を備えたプログラムモジュールの実行制御装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program module execution control device, and more particularly to a program module execution control device provided with an execution control method when input / output specifications of a plurality of program modules are different.

【0002】[0002]

【従来の技術】近年、情報処理システムの普及に伴い、
所望の処理動作を実行するソフトウェアへの高速化、高
機能化等の要望が強くなっている。このような要望に対
応するため、所望の処理動作を実行するプログラムモジ
ュールを複数備え、ソフトウェア中の制御プログラムに
より各々のプログラムモジュールの実行制御を行う方式
が採用されている。
2. Description of the Related Art In recent years, with the spread of information processing systems,
There is an increasing demand for higher speed and higher functionality of software for executing desired processing operations. In order to respond to such a demand, a method is employed in which a plurality of program modules for executing desired processing operations are provided, and the execution of each program module is controlled by a control program in software.

【0003】一般に、プログラムモジュールを有するソ
フトウェアにおいては、プログラムモジュールに関する
制御処理が、直接ソフトウェア上に制御プログラムとし
て記述される。このとき、制御対象となるプログラムモ
ジュールの入出力仕様に合わせて、ソフトウェア上に制
御プログラムを作成、記述する必要がある。
Generally, in software having a program module, a control process relating to the program module is described directly as a control program on the software. At this time, it is necessary to create and describe a control program on software according to the input / output specifications of the program module to be controlled.

【0004】[0004]

【発明が解決しようとする課題】上述したように、従来
のプログラムモジュールの実行制御方式においては、ソ
フトウェアの開発段階で、プログラムモジュールが複数
ある場合や、プログラムモジュールの入出力仕様が途中
で変更された場合には、各々の入出力仕様に対応させて
制御プログラムを作成し、また修正しなければならない
問題を有していた。
As described above, in the conventional program module execution control method, when there are a plurality of program modules or the input / output specifications of the program modules are changed during the software development stage. In such a case, there is a problem that a control program must be created and corrected according to each input / output specification.

【0005】そのため、制御プログラムを含む一連のソ
フトウェアについて、その記述の修正作業や、入出力仕
様の検証等が繁雑となり、ソフトウェアの開発工数が増
大するという問題を有していた。そこで、本発明は、上
記問題点を解決し、プログラムモジュールの入出力仕様
の変更に伴うソフトウェアへの影響を低減し、開発工数
の増加を抑制することができるプログラムモジュールの
実行制御装置を提供することを目的とする。
[0005] For this reason, for a series of software including a control program, the work of correcting the description and the verification of input / output specifications become complicated, and there is a problem that the number of software development steps increases. Thus, the present invention provides a program module execution control device that solves the above problems, reduces the influence on software due to changes in the input / output specifications of the program module, and can suppress an increase in the number of development steps. The purpose is to:

【0006】[0006]

【課題を解決するための手段】上記問題点を解決するた
めに、請求項1記載のプログラムモジュールの実行制御
装置は、個別の入出力仕様を有し、所定の処理動作を実
行する複数のプログラムモジュールと、前記複数のプロ
グラムモジュールの各々の前記入出力仕様に関する入出
力情報を設定する入出力情報入力手段と、前記入出力情
報に基づいて、前記複数のプログラムモジュールの各々
で実行される処理動作に関するプログラムを、前記複数
のプログラムモジュールの各々の入出力仕様に対応させ
て変換する入出力情報変換手段と、前記複数のプログラ
ムモジュールの各々の処理動作の実行順序に関する実行
制御情報を設定する実行制御情報入力手段と、前記実行
制御情報に基づいて、前記入出力情報変換手段により変
換された前記プログラムを、前記複数のプログラムモジ
ュールの各々に入力して所定の順序で前記処理動作を実
行させる実行制御手段と、を有することを特徴としてい
る。
According to a first aspect of the present invention, there is provided a program module execution control apparatus comprising a plurality of programs each having a specific input / output specification and executing a predetermined processing operation. A module, input / output information input means for setting input / output information relating to the input / output specifications of each of the plurality of program modules, and a processing operation executed by each of the plurality of program modules based on the input / output information Information conversion means for converting a program related to the input / output specifications of each of the plurality of program modules, and execution control for setting execution control information regarding an execution order of processing operations of each of the plurality of program modules Information input means, and the program converted by the input / output information conversion means based on the execution control information. The ram is characterized by having an execution control unit is input to each of the plurality of program modules to execute the processing operation in a predetermined order.

【0007】また、請求項2記載の発明は、請求項1記
載のプログラムモジュールの実行制御装置において、前
記実行制御手段は、前記実行制御情報に基づいて、所定
のプログラムモジュールのみを選択して前記処理動作を
実行させ、前記プログラムモジュールによる処理動作の
結果を出力することを特徴としている。そして、請求項
3記載の発明は、請求項1記載のプログラムモジュール
の実行制御装置において、前記実行制御手段は、前記実
行制御情報に基づいて、前記複数のプログラムモジュー
ルの各々を所定の順序で前記処理動作を実行させる際
に、前記複数のプログラムモジュールの各々の処理結果
を前記変換されたプログラムとともに、順次次段の前記
プログラムモジュールに入力して前記処理動作を実行さ
せ、前記複数のプログラムモジュールによる一連の処理
動作の結果を出力することを特徴としている。
According to a second aspect of the present invention, in the program module execution control device according to the first aspect, the execution control means selects only a predetermined program module based on the execution control information, and It is characterized in that a processing operation is executed and a result of the processing operation by the program module is output. According to a third aspect of the present invention, in the execution control device for a program module according to the first aspect, the execution control means controls the plurality of program modules in a predetermined order based on the execution control information. When executing the processing operation, the processing result of each of the plurality of program modules is sequentially input to the next-stage program module together with the converted program to execute the processing operation. It is characterized by outputting the result of a series of processing operations.

【0008】さらに、請求項4記載の発明は、請求項1
記載のプログラムモジュールの実行制御装置において、
前記複数のプログラムモジュールによる処理動作の結果
を出力ファイルとして生成する出力ファイル生成手段を
有し、前記実行制御手段は、前記実行制御情報に基づい
て、前記複数のプログラムモジュールの各々を所定の順
序で前記処理動作を実行させる際に、前記複数のプログ
ラムモジュールの各々の処理結果を前記出力ファイルの
形式で前記変換されたプログラムとともに、順次次段の
前記プログラムモジュールに入力して前記処理動作を実
行させ、前記複数のプログラムモジュールによる一連の
処理動作の結果を出力することを特徴としている。
Further, the invention described in claim 4 is the invention according to claim 1.
In the execution control device of the program module described in the above,
An output file generation unit configured to generate a result of a processing operation by the plurality of program modules as an output file, wherein the execution control unit executes the plurality of program modules in a predetermined order based on the execution control information. When executing the processing operation, the processing results of each of the plurality of program modules are sequentially input to the next-stage program module together with the converted program in the form of the output file to execute the processing operation. And outputting a result of a series of processing operations by the plurality of program modules.

【0009】上記請求項1、2、3又は4記載のプログ
ラムモジュールの実行制御装置によれば、入出力情報変
換手段が、入出力情報入力手段により設定された入出力
情報に基づいて、各プログラムモジュールに入力される
プログラムを、各プログラムモジュールの入出力仕様に
対応した形式に変換し、また、実行制御手段が、実行制
御情報入力手段により設定された実行制御情報に基づい
て、所定の順序でプログラムモジュールに変換されたプ
ログラムを入力して処理動作を実行させる。
According to the program module execution control device of the present invention, the input / output information conversion means executes each program based on the input / output information set by the input / output information input means. The program input to the module is converted into a format corresponding to the input / output specification of each program module, and the execution control means is executed in a predetermined order based on the execution control information set by the execution control information input means. The converted program is input to the program module to execute the processing operation.

【0010】このようにして、各プログラムモジュール
の入出力仕様にプログラムの形式が合致され、かつ、所
定の順序でプログラムモジュールの処理動作が実行され
る。そのため、ソフトウェアの開発段階でプログラムモ
ジュールの入出力仕様に変更が生じた場合にも、入出力
情報入力手段において変更された入出力仕様に対応した
入出力情報を設定することによりプログラムモジュール
に入力されるプログラムを所望の入出力仕様に合致させ
ることができるため、プログラムモジュールの処理動作
を制御するプログラムを含むソフトウェア自体を修正す
る必要がなく、ソフトウェアの開発工数の増加を抑制し
て、短期間でのソフトウェア開発を実現することができ
る。
In this way, the program format is matched to the input / output specifications of each program module, and the processing operations of the program modules are executed in a predetermined order. Therefore, even if the input / output specifications of the program module are changed in the software development stage, the input / output information corresponding to the changed input / output specifications is set by the input / output information input means, and the input / output information is input to the program module. Program that conforms to the desired input / output specifications, eliminating the need to modify the software itself, including the program that controls the processing operations of the program modules, and suppressing an increase in software development man-hours in a short period of time. Software development can be realized.

【0011】[0011]

【本発明の実施態様】まず、本発明の基本概念につい
て、図1を参照して説明する。図1において、プログラ
ムモジュールの実行制御装置は、複数のプログラムモジ
ュールPM1〜PMnと、入出力情報入力手段aと、入
出力情報変換手段bと、実行制御情報入力手段cと、実
行制御手段dと、を有して構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the basic concept of the present invention will be described with reference to FIG. 1, an execution control device for a program module includes a plurality of program modules PM1 to PMn, input / output information input means a, input / output information conversion means b, execution control information input means c, and execution control means d. , Is configured.

【0012】複数のプログラムモジュールPM1〜PM
nは、例えば、n個のプログラムモジュールからなり、
それぞれ個別の入出力仕様を有し、ソフトウェア中に含
まれる制御プログラムに基づいて所定の処理動作を実行
する。入出力情報入力手段aは、複数のプログラムモジ
ュールPM1〜PMnの各々の入出力仕様に関する入出
力情報が設定され、後述の入出力情報変換手段bに入力
される。
A plurality of program modules PM1 to PM
n is composed of, for example, n program modules,
Each has a specific input / output specification, and executes a predetermined processing operation based on a control program included in software. In the input / output information input means a, input / output information relating to input / output specifications of each of the plurality of program modules PM1 to PMn is set, and input to the input / output information conversion means b described later.

【0013】入出力情報変換手段bは、入出力情報入力
手段aにより設定された入出力情報に基づいて、プログ
ラムモジュールPM1〜PMnに入力されるプログラム
を、制御対象となるプログラムモジュールPM1〜PM
nの各々の入出力仕様に合致させるように変換する。実
行制御情報入力手段cは、複数のプログラムモジュール
PM1〜PMnの各々の動作処理を制御する実行制御情
報を設定する。この実行制御情報により各プログラムモ
ジュールPM1〜PMn相互の処理動作の実行順序が決
定される。
The input / output information conversion means b converts the program input to the program modules PM1 to PMn based on the input / output information set by the input / output information input means a, into the program modules PM1 to PM
n so as to match the input / output specifications. The execution control information input means c sets execution control information for controlling operation processing of each of the plurality of program modules PM1 to PMn. The execution control information determines the execution order of the processing operations among the program modules PM1 to PMn.

【0014】実行制御手段dは、実行制御情報入力手段
cにより設定された実行制御情報に基づいて、プログラ
ムモジュールPM1〜PMnの各々へ変換されたプログ
ラムを入力し、所定の順序で処理動作を実行させ、各プ
ログラムモジュールPM1〜PMnによる処理結果、或
いは、一連のプログラムモジュールPM1〜PMnによ
る処理結果が出力される。
The execution control means d inputs the converted program to each of the program modules PM1 to PMn based on the execution control information set by the execution control information input means c, and executes the processing operations in a predetermined order. Then, the processing results of the program modules PM1 to PMn or the processing results of the series of program modules PM1 to PMn are output.

【0015】このような構成において、入出力情報変換
手段bが、入出力情報入力手段aにより設定される各プ
ログラムモジュールPM1〜PMnの入出力情報に基づ
いて、入力されるプログラムを制御対象となるプログラ
ムモジュールPM1〜PMnの入出力仕様に合致するよ
うに変換する。また、実行制御手段dが、実行制御情報
入力手段cにより設定される各プログラムモジュールP
M1〜PMnの実行制御情報に基づいて、プログラムモ
ジュールPM1〜PMn相互を所定の順序で実行する。
In such a configuration, the input / output information conversion means b controls the input program based on the input / output information of each of the program modules PM1 to PMn set by the input / output information input means a. The conversion is performed so as to match the input / output specifications of the program modules PM1 to PMn. Further, the execution control means d executes each program module P set by the execution control information input means c.
The program modules PM1 to PMn are executed in a predetermined order based on the execution control information of M1 to PMn.

【0016】したがって、ソフトウェア開発段階でプロ
グラムモジュールの入出力仕様や実行順序に変更が生じ
た場合においても、ソフトウェア上の制御プログラムの
記述を修正する必要がなく、入出力情報、或いは、実行
制御情報を変更するだけで、入力されるプログラムを任
意の入出力仕様に合致させ、任意の順序でプログラムモ
ジュールPM1〜PMnを実行させることができるた
め、プログラムモジュールPM1〜PMnの入出力仕様
や実行順序を考慮することなく、ソフトウェア上の制御
プログラムを記述することができる。
Therefore, even when the input / output specifications and the execution order of the program modules are changed in the software development stage, it is not necessary to modify the description of the control program on the software. By simply changing the input / output specifications, the input program can be made to match any input / output specification and the program modules PM1 to PMn can be executed in any order. A control program on software can be described without consideration.

【0017】[0017]

【実施例】次に、本発明に係るプログラムモジュールの
実行制御装置の第1の実施例について、図2を参照して
説明する。図2は、本発明のプログラムモジュールの実
行制御装置をcコンパイラドライバに適用した実施例を
示す。図2において、cコンパイラドライバ10は、入
出力情報変換手段bを構成する入出力情報変換部11
と、実行制御手段dを構成する実行制御部15とを有し
て構成されている。
Next, a first embodiment of a program module execution control device according to the present invention will be described with reference to FIG. FIG. 2 shows an embodiment in which the program module execution control device of the present invention is applied to a c compiler driver. In FIG. 2, a c compiler driver 10 includes an input / output information conversion unit 11
And an execution control unit 15 constituting the execution control means d.

【0018】入出力情報変換部11は、入出力ファイル
や起動オプション等の入力情報を、プリプロセッサ用1
2a、コンパイラ用12b、アセンブラ用12c、リン
カ用12dの各入出力情報に基づいて、後述するプリプ
ロセッサ20a、コンパイラ20b、アセンブラ20
c、リンカ20dの各プログラムモジュールの入出力仕
様に合致する形式に変換する。
The input / output information conversion unit 11 converts input information such as input / output files and startup options into a preprocessor 1
2a, a compiler 12b, an assembler 12c, and a linker 12d, based on respective input / output information, a preprocessor 20a, a compiler 20b, and an assembler 20 described later.
c, Convert to a format that matches the input / output specifications of each program module of the linker 20d.

【0019】実行制御部15は、入出力情報変換部11
により変換されたプリプロセッサ用13a、コンパイラ
用13b、アセンブラ用13c、リンカ用13dの各入
力情報を、プリプロセッサ用14a、コンパイラ用14
b、アセンブラ用14c、リンカ用14dの各実行制御
情報に基づいて、所定の順序でプリプロセッサ20a、
コンパイラ20b、アセンブラ20c、リンカ20dの
各プログラムモジュールに入力し処理動作を実行させ
る。
The execution control unit 15 includes an input / output information conversion unit 11
The input information of the preprocessor 13a, the compiler 13b, the assembler 13c, and the linker 13d, which have been converted by the above, are input to the preprocessor 14a and the compiler 14 respectively.
b, the preprocessor 20a in a predetermined order based on the execution control information of the assembler 14c and the linker 14d.
Input is made to each program module of the compiler 20b, the assembler 20c, and the linker 20d to execute the processing operation.

【0020】プリプロセッサ20a、コンパイラ20
b、アセンブラ20c、リンカ20dの各プログラムモ
ジュールは、実行制御部15から出力される入力情報に
基づいて、所定の処理動作を実行し、その処理結果を実
行制御部15を介してcコンパイラドライバの外部に出
力する。ここで、cコンパイラドライバの外部から入力
される各入出力情報12a〜12dを取り込む入出力情
報入力手段は、入出力情報変換部11内に設けられてい
てもよいし、入出力情報変換部11とは別の構成でcコ
ンパイラドライバ内に設けられていてもよい。また、c
コンパイラドライバの外部から入力される各実行制御情
報14a〜14dを取り込む実行制御情報入力手段は、
実行制御部15内に設けられていてもよいし、実行制御
部15とは別の構成でcコンパイラドライバ内に設けら
れていてもよい。
Preprocessor 20a, compiler 20
b, each of the assembler 20c and the linker 20d executes a predetermined processing operation based on the input information output from the execution control unit 15, and outputs the processing result via the execution control unit 15 to the c compiler driver. Output to the outside. Here, the input / output information input means for taking in the input / output information 12a to 12d input from outside the c compiler driver may be provided in the input / output information conversion unit 11, or may be provided in the input / output information conversion unit 11. A different configuration may be provided in the c compiler driver. Also, c
An execution control information input unit that captures each of the execution control information 14a to 14d input from outside the compiler driver,
It may be provided in the execution control unit 15, or may be provided in the c compiler driver in a configuration different from that of the execution control unit 15.

【0021】このような構成において、各プログラムモ
ジュール20a〜20dへの入力情報は、入出力情報変
換部11において、入出力情報12a〜12dに基づい
て各プログラムモジュール20a〜20dの入出力仕様
に合致する形式に変換され、次いで実行制御部15にお
いて、実行制御情報14a〜14dに基づいて各プログ
ラムモジュール20a〜20dに入力されて、所定の順
番で処理動作が実行される。
In such a configuration, the input information to each of the program modules 20a to 20d matches the input / output specifications of each of the program modules 20a to 20d in the input / output information conversion unit 11 based on the input / output information 12a to 12d. Then, in the execution control section 15, the program is input to each of the program modules 20a to 20d based on the execution control information 14a to 14d, and the processing operation is executed in a predetermined order.

【0022】次に、第1の実施例に示した実行制御部1
5によるプログラムモジュールの実行制御処理につい
て、図3を参照して説明する。なお、図2と同等の構成
については、同一の符号を付して、その説明を省略す
る。図3において、実行制御部15は、プリプロセッサ
用14a、コンパイラ用14b、アセンブラ用14c、
リンカ用14dの各実行制御情報に基づいて、プリプロ
セッサ用13a、コンパイラ用13b、アセンブラ用1
3c、リンカ用13dの各入力情報を、プリプロセッサ
20a、コンパイラ20b、アセンブラ20c、リンカ
20dの各プログラムモジュールに選択的に入力して処
理動作を実行させる。
Next, the execution control unit 1 shown in the first embodiment
5 will be described with reference to FIG. In addition, about the structure equivalent to FIG. 2, the same code | symbol is attached | subjected and the description is abbreviate | omitted. In FIG. 3, the execution control unit 15 includes a preprocessor 14a, a compiler 14b, an assembler 14c,
Based on the execution control information of the linker 14d, the preprocessor 13a, the compiler 13b, and the assembler 1
3c and the input information of the linker 13d are selectively input to the respective program modules of the preprocessor 20a, the compiler 20b, the assembler 20c, and the linker 20d to execute the processing operation.

【0023】例えば、プリプロセッサ20aとコンパイ
ラ20bによる一連の処理動作を実行する場合には、実
行制御情報のうち、プリプロセッサ用及びコンパイラ用
の実行制御情報14a、14bを設定することにより、
実行制御部15を介してプリプロセッサ用入力情報13
aがプリプロセッサ20aに入力されて処理動作が実行
され、次いでプリプロセッサ20aによる処理結果がコ
ンパイラ用入力情報13bとともにコンパイラ20bに
入力されて処理動作が実行される。そして、このように
して得られたプリプロセッサ20aとコンパイラ20b
による一連の処理結果が、cコンパイラドライバの外部
に出力される。
For example, when a series of processing operations by the preprocessor 20a and the compiler 20b are executed, by setting the execution control information 14a and 14b for the preprocessor and the compiler among the execution control information,
Preprocessor input information 13 via execution control unit 15
a is input to the preprocessor 20a to execute the processing operation, and then the processing result by the preprocessor 20a is input to the compiler 20b together with the compiler input information 13b to execute the processing operation. Then, the preprocessor 20a and the compiler 20b thus obtained
Are output to the outside of the c compiler driver.

【0024】また、アセンブラ20c単独の処理動作を
実行する場合には、実行制御情報のうち、アセンブラ用
の実行制御情報14cを設定することにより、実行制御
部15を介してアセンブラ用入力情報13cがアセンブ
ラ20cに入力されて処理動作が実行され、その処理結
果が、cコンパイラドライバの外部に出力される。この
ように、実行制御部15への実行制御情報の設定方法に
応じて、各プログラムモジュールからの処理結果の出力
経路及び伝達経路を切り換えることにより、任意のプロ
グラムモジュールを選択的に処理動作させることができ
る。
When the processing operation of the assembler 20c alone is executed, the assembler input control information 14c is set via the execution control unit 15 by setting the assembler execution control information 14c in the execution control information. The processing is executed by being input to the assembler 20c, and the processing result is output to the outside of the c compiler driver. As described above, by switching the output path and the transmission path of the processing result from each program module in accordance with the method of setting the execution control information in the execution control unit 15, it is possible to selectively perform the operation of an arbitrary program module. Can be.

【0025】次に、第2の実施例の実行制御部15によ
るプログラムモジュールの実行制御処理について、図4
を参照して説明する。なお、図2と同等の構成について
は、同一の符号を付して、その説明を省略する。図4に
おいて、実行制御部15は、プリプロセッサ用14a、
コンパイラ用14b、アセンブラ用14c、リンカ用1
4dの各実行制御情報に基づいて、プリプロセッサ用1
3a、コンパイラ用13b、アセンブラ用13c、リン
カ用13dの各入力情報を、プリプロセッサ20a、コ
ンパイラ20b、アセンブラ20c、リンカ20dの各
プログラムモジュールに入力して所定の順序で処理動作
を実行させる。
Next, the execution control processing of the program module by the execution control unit 15 of the second embodiment will be described with reference to FIG.
This will be described with reference to FIG. In addition, about the structure equivalent to FIG. 2, the same code | symbol is attached | subjected and the description is abbreviate | omitted. In FIG. 4, the execution control unit 15 includes a preprocessor 14a,
14b for compiler, 14c for assembler, 1 for linker
4d based on each execution control information,
The input information of 3a, the compiler 13b, the assembler 13c, and the linker 13d is input to each of the program modules of the preprocessor 20a, the compiler 20b, the assembler 20c, and the linker 20d, and the processing operation is performed in a predetermined order.

【0026】すなわち、プリプロセッサ20a、コンパ
イラ20b、アセンブラ20c、リンカ20dの各プロ
グラムモジュールによる一連の処理動作を実行する場合
には、実行制御情報14a〜14dに基づいて、まず実
行制御部15を介してプリプロセッサ用入力情報13a
がプリプロセッサ20aに入力されて処理動作が実行さ
れ、次いでプリプロセッサ20aによる処理結果がコン
パイラ用入力情報13bとともにコンパイラ20bに入
力されて処理動作が実行される。次いでコンパイラ20
bによる処理結果がアセンブラ用入力情報13cととも
にアセンブラ20cに入力されて処理動作が実行され、
アセンブラ20cによる処理結果がリンカ用入力情報1
3dとともにリンカ20dに入力されて処理動作が実行
される。そして、このようにして得られた一連のプログ
ラムモジュールによる処理結果が、cコンパイラドライ
バの外部に出力される。
That is, when a series of processing operations by each of the program modules of the preprocessor 20a, the compiler 20b, the assembler 20c, and the linker 20d are executed, first, the execution control unit 15 Preprocessor input information 13a
Is input to the preprocessor 20a to execute the processing operation, and then the processing result by the preprocessor 20a is input to the compiler 20b together with the compiler input information 13b to execute the processing operation. Then compiler 20
b is input to the assembler 20c together with the assembler input information 13c, and the processing operation is executed.
Processing result by assembler 20c is input information 1 for linker
The processing operation is executed by being input to the linker 20d together with 3d. Then, the processing results obtained by the series of program modules thus obtained are output to the outside of the c compiler driver.

【0027】このように、実行制御部15への実行制御
情報の設定方法に応じて、各プログラムモジュールから
の処理結果が順次次段のプログラムモジュールに入力さ
れて一連の処理動作が実行される。次に、第3の実施例
の実行制御部15によるプログラムモジュールの実行制
御処理について、図5を参照して説明する。なお、図2
と同等の構成については、同一の符号を付して、その説
明を省略する。
As described above, according to the method of setting the execution control information in the execution control section 15, the processing results from each program module are sequentially input to the next program module, and a series of processing operations are executed. Next, execution control processing of a program module by the execution control unit 15 of the third embodiment will be described with reference to FIG. Note that FIG.
The same components as those described above are denoted by the same reference numerals, and description thereof will be omitted.

【0028】図5において、実行制御部15は、プリプ
ロセッサ用14a、コンパイラ用14b、アセンブラ用
14c、リンカ用14dの各実行制御情報に基づいて、
プリプロセッサ用13a、コンパイラ用13b、アセン
ブラ用13c、リンカ用13dの各入力情報を、プリプ
ロセッサ20a、コンパイラ20b、アセンブラ20
c、リンカ20dの各プログラムモジュールに入力して
所定の順序で処理動作を実行させる。
In FIG. 5, the execution control unit 15 determines the execution control information based on the execution control information of the preprocessor 14a, the compiler 14b, the assembler 14c, and the linker 14d.
The input information of the preprocessor 13a, the compiler 13b, the assembler 13c, and the linker 13d is input to the preprocessor 20a, the compiler 20b, and the assembler 20.
c) Input to each program module of the linker 20d to execute processing operations in a predetermined order.

【0029】ここで、本実施例の特徴は、第2に実施例
に示したように、各プログラムモジュールの処理結果を
実行制御部15に転送して、次段の入力情報とともに次
段のプログラムモジュールに入力するのではなく、プリ
プロセッサ20a、コンパイラ20b、アセンブラ20
cの各プログラムモジュールが処理結果をファイル形式
で出力する機能を有し、次段のプログラムモジュールに
対してこの出力ファイルを入力情報とともに入力して一
連の処理動作を実行して、処理結果をcコンパイラドラ
イバの外部に出力する。
Here, the feature of this embodiment is that, as shown in the second embodiment, the processing result of each program module is transferred to the execution control unit 15, and the next-stage program information is transmitted together with the input information of the next stage. Instead of inputting to a module, a preprocessor 20a, a compiler 20b, an assembler 20
c) each of the program modules has a function of outputting the processing result in a file format. The output file is input to the next-stage program module together with the input information, and a series of processing operations are executed. Output outside the compiler driver.

【0030】すなわち、プリプロセッサ20a、コンパ
イラ20b、アセンブラ20cの各プログラムモジュー
ルは、各プログラムモジュールにおける処理結果を出力
ファイルの形式に生成する出力ファイル生成手段を構成
する。このように、実行制御部15への実行制御情報の
設定方法に応じて、各プログラムモジュールの処理結果
が出力ファイルの形式で順次次段のプログラムモジュー
ルに入力されて一連の処理動作が実行される。
That is, each program module of the preprocessor 20a, the compiler 20b, and the assembler 20c constitutes an output file generating means for generating a processing result of each program module in an output file format. As described above, according to the method of setting the execution control information in the execution control unit 15, the processing results of each program module are sequentially input to the next-stage program module in the form of an output file, and a series of processing operations are executed. .

【0031】なお、上述した各実施例においては、cコ
ンパイラドライバに本発明を適用した例を示したが、c
コンパイラドライバは一例にすぎず、異なる入出力仕様
を有する複数のプログラムモジュールを実行制御するも
のであれば、他のソフトウェアにも良好に適用できるこ
とはいうまでもない。
In each of the embodiments described above, an example in which the present invention is applied to the c compiler driver has been described.
The compiler driver is merely an example, and it goes without saying that the compiler driver can be suitably applied to other software as long as it controls a plurality of program modules having different input / output specifications.

【0032】[0032]

【発明の効果】以上説明したように、請求項1、2、3
又は4記載のプログラムモジュールの実行制御装置によ
れば、ソフトウェアの開発段階でプログラムモジュール
の入出力仕様に変更が生じた場合にも、入出力情報入力
手段において変更された入出力仕様に対応した入出力情
報を設定することによりプログラムモジュールに入力さ
れるプログラムを所望の入出力仕様に合致させることが
できるため、プログラムモジュールの処理動作を制御す
るプログラムを含むソフトウェア自体を修正する必要が
なく、ソフトウェアの開発工数の増加を抑制して、短期
間でのソフトウェア開発を実現することができる。
As described above, claims 1, 2, 3
Also, according to the program module execution control device described in 4, even when the input / output specifications of the program module are changed in the software development stage, the input / output information input means corresponds to the changed input / output specifications. By setting the output information, the program input to the program module can be made to conform to the desired input / output specifications. Therefore, it is not necessary to modify the software itself, including the program that controls the processing operation of the program module. Software development in a short period of time can be realized by suppressing an increase in the number of development steps.

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

【図1】本発明に係るプログラムモジュールの実行制御
装置の基本概念を示す図である。
FIG. 1 is a diagram showing a basic concept of a program module execution control device according to the present invention.

【図2】本発明に係るプログラムモジュールの実行制御
装置の第1の実施例を示す概略構成図である。
FIG. 2 is a schematic configuration diagram showing a first embodiment of a program module execution control device according to the present invention.

【図3】第1の実施例における実行制御部の実行制御処
理を示す概念図である。
FIG. 3 is a conceptual diagram illustrating an execution control process of an execution control unit according to the first embodiment.

【図4】第2の実施例における実行制御部の実行制御処
理を示す概念図である。
FIG. 4 is a conceptual diagram illustrating an execution control process of an execution control unit according to a second embodiment.

【図5】第3の実施例における実行制御部の実行制御処
理を示す概念図である。
FIG. 5 is a conceptual diagram illustrating an execution control process of an execution control unit according to a third embodiment.

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

a 入出力情報入力手段 b 入出力情報変換手段 c 実行制御情報入力手段 d 実行制御手段 10 cコンパイラドライバ 11 入出力情報変換部 12a〜12d 入出力情報 13a〜13d 入力情報 14a〜14d 実行制御情報 15 実行制御部 20a〜20d プログラムモジュール 21a〜21c 出力ファイル a input / output information input means b input / output information conversion means c execution control information input means d execution control means 10 c compiler driver 11 input / output information conversion units 12a to 12d input / output information 13a to 13d input information 14a to 14d execution control information 15 Execution control unit 20a-20d Program module 21a-21c Output file

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】個別の入出力仕様を有し、所定の処理動作
を実行する複数のプログラムモジュールと、 前記複数のプログラムモジュールの各々の前記入出力仕
様に関する入出力情報を設定する入出力情報入力手段
と、 前記入出力情報に基づいて、前記複数のプログラムモジ
ュールの各々で実行される処理動作に関するプログラム
を、前記複数のプログラムモジュールの各々の入出力仕
様に対応させて変換する入出力情報変換手段と、 前記複数のプログラムモジュールの各々の処理動作の実
行順序に関する実行制御情報を設定する実行制御情報入
力手段と、 前記実行制御情報に基づいて、前記入出力情報変換手段
により変換された前記プログラムを、前記複数のプログ
ラムモジュールの各々に入力して所定の順序で前記処理
動作を実行させる実行制御手段と、を有することを特徴
とするプログラムモジュールの実行制御装置。
1. A plurality of program modules having individual input / output specifications and executing a predetermined processing operation, and input / output information input for setting input / output information on the input / output specifications of each of the plurality of program modules. Means for converting a program relating to a processing operation executed in each of the plurality of program modules based on the input / output information in accordance with input / output specifications of each of the plurality of program modules. Execution control information input means for setting execution control information relating to the execution order of the processing operations of each of the plurality of program modules; and executing the program converted by the input / output information conversion means based on the execution control information. Executing the processing operations in a predetermined order by inputting to each of the plurality of program modules. An execution control device for a program module, comprising: a line control unit.
【請求項2】前記実行制御手段は、前記実行制御情報に
基づいて、所定のプログラムモジュールのみを選択して
前記処理動作を実行させ、前記プログラムモジュールに
よる処理動作の結果を出力することを特徴とする請求項
1記載のプログラムモジュールの実行制御装置。
2. The method according to claim 1, wherein the execution control means selects only a predetermined program module based on the execution control information, causes the processing operation to be executed, and outputs a result of the processing operation by the program module. The execution control device for a program module according to claim 1.
【請求項3】前記実行制御手段は、前記実行制御情報に
基づいて、前記複数のプログラムモジュールの各々を所
定の順序で前記処理動作を実行させる際に、前記複数の
プログラムモジュールの各々の処理結果を前記変換され
たプログラムとともに、順次次段の前記プログラムモジ
ュールに入力して前記処理動作を実行させ、前記複数の
プログラムモジュールによる一連の処理動作の結果を出
力することを特徴とする請求項1記載のプログラムモジ
ュールの実行制御装置。
3. The processing result of each of the plurality of program modules when executing each of the plurality of program modules in a predetermined order based on the execution control information. 2. The program module of claim 1, further comprising: inputting a plurality of program modules together with the converted program to the next-stage program module to execute the processing operation, and outputting a result of a series of processing operations by the plurality of program modules. Execution control device for program modules.
【請求項4】前記複数のプログラムモジュールによる処
理動作の結果を出力ファイルとして生成する出力ファイ
ル生成手段を有し、 前記実行制御手段は、前記実行制御情報に基づいて、前
記複数のプログラムモジュールの各々を所定の順序で前
記処理動作を実行させる際に、前記複数のプログラムモ
ジュールの各々の処理結果を前記出力ファイルの形式で
前記変換されたプログラムとともに、順次次段の前記プ
ログラムモジュールに入力して前記処理動作を実行さ
せ、前記複数のプログラムモジュールによる一連の処理
動作の結果を出力することを特徴とする請求項1記載の
プログラムモジュールの実行制御装置。
4. An output file generating means for generating, as an output file, a result of a processing operation by the plurality of program modules, wherein the execution control means executes each of the plurality of program modules based on the execution control information. When executing the processing operation in a predetermined order, together with the converted program in the form of the output file, the processing results of each of the plurality of program modules are sequentially input to the next-stage program module, and 2. The program module execution control device according to claim 1, wherein a processing operation is executed, and a result of a series of processing operations by said plurality of program modules is output.
JP33921897A 1997-12-10 1997-12-10 Execution controller for program module Pending JPH11175328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33921897A JPH11175328A (en) 1997-12-10 1997-12-10 Execution controller for program module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33921897A JPH11175328A (en) 1997-12-10 1997-12-10 Execution controller for program module

Publications (1)

Publication Number Publication Date
JPH11175328A true JPH11175328A (en) 1999-07-02

Family

ID=18325377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33921897A Pending JPH11175328A (en) 1997-12-10 1997-12-10 Execution controller for program module

Country Status (1)

Country Link
JP (1) JPH11175328A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012058990A (en) * 2010-09-08 2012-03-22 Nec Corp Option information analysis system, option information analysis method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012058990A (en) * 2010-09-08 2012-03-22 Nec Corp Option information analysis system, option information analysis method, and program

Similar Documents

Publication Publication Date Title
US20200380347A1 (en) Neural network, method of control of neural network, and processor of neural network
JPH11175328A (en) Execution controller for program module
JP2000020114A (en) Method for generating and executing program for motion controller
JP4733695B2 (en) Method and apparatus for simulation of automated systems
JP4142589B2 (en) Modular functional blocks for field-oriented control systems
JPH04314133A (en) Information processor
US7433981B1 (en) System and method for using co-processor hardware to accelerate highly repetitive actions
CN107153631B (en) Reconfigurable computing system and method based on FPGA_ROS
US20050010903A1 (en) Method for creating a data processing program
JPH0210429A (en) Program structure processing system
JPH0589048A (en) Command processing system
CN115864941A (en) Linear motor synchronous control circuit, synchronous control method and device
JPH01183752A (en) Method and device for input/output control of data
JP2773672B2 (en) Input check method
JP2927049B2 (en) Image processing device
JPS63129426A (en) Timer module for data flow type computer
JP2002007398A (en) Method and device for controlling translation and storage medium with translation control program recorded thereon
JP2002258906A (en) Arithmetic processing circuit
JPH07112186B2 (en) Synchronous processing LSI interface method
JP2004234047A (en) Electronic circuit and assembler
JPH07325703A (en) Data converting device/method
JPH05219581A (en) General-purpose mechanism controller
JPH0721042A (en) Flow control system
JPH10187611A (en) Altering process system for job schedule
JPH02259800A (en) Echo generating circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060725

A131 Notification of reasons for refusal

Effective date: 20060808

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061205