[go: up one dir, main page]

JPH09204301A - Program generation system - Google Patents

Program generation system

Info

Publication number
JPH09204301A
JPH09204301A JP8012949A JP1294996A JPH09204301A JP H09204301 A JPH09204301 A JP H09204301A JP 8012949 A JP8012949 A JP 8012949A JP 1294996 A JP1294996 A JP 1294996A JP H09204301 A JPH09204301 A JP H09204301A
Authority
JP
Japan
Prior art keywords
program
definition
program generation
generation system
parts
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
JP8012949A
Other languages
Japanese (ja)
Inventor
Toshimasa Nakahara
俊政 中原
Takehiro Tanimura
武洋 谷村
Hiroyuki Egami
博幸 江上
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP8012949A priority Critical patent/JPH09204301A/en
Publication of JPH09204301A publication Critical patent/JPH09204301A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily produce a software product of high quality by process management more efficient than conventional one. SOLUTION: This program generation system for automatically generating a desired source program by analyzing program specifications described based on unitarily managed many kinds of definition information and components and developing the definition information and the components in a pattern provided with a standard logic structure is provided with a new program generation part 16. The program generation part 16 automatically generates the desired source program 17a by developing rule definition components supplemented by description in the program specifications 14a in the pattern based on relation information 23a for making many kinds of the rule definition components 21 for defining rules relating to plural data items shared between programs and the respective kinds of the definition information respectively correspond to each other beforehand.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はプログラム生成シス
テムに係り、特に、従来より効率的な工程管理で高品質
のソフトウェア製品を容易に生産するためのプログラム
生成システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program generation system, and more particularly to a program generation system for easily producing a high-quality software product with more efficient process management than before.

【0002】[0002]

【従来の技術】従来より、ソフトウェア開発の作業工程
を自動化および効率化するため、与えられた部品(サブ
ルーチン群),パターン(プログラムの骨組み),定義
仕様書(ファイル,レコード,データベース,画面・帳
票などの項目や属性を定義した仕様書)およびデータ項
目辞書などの定義情報に基づいて記述されたプログラム
仕様書からソースプログラムの半完成品を自動的に生成
する「プログラム合成」が行われている(日立製作所編
「ソフトウェアエンジニアリングワークベンチ/SEW
B3 COBOL プログラム合成/使用の手引/資料
番号3000-7-465-20 」2〜6頁,18〜31頁)。
2. Description of the Related Art Conventionally, in order to automate and improve the work process of software development, given parts (subroutine group), patterns (framework of program), definition specifications (files, records, databases, screens / forms) "Program synthesis" is performed to automatically generate a semi-finished product of a source program from a specification document that defines items and attributes) and a program specification document that is described based on definition information such as a data item dictionary. (Hitachi, “Software Engineering Workbench / SEW”
B3 COBOL Program Synthesis / Handling Guide / Document No. 3000-7-465-20 ”, pages 2-6, 18-31).

【0003】図4は、プログラム生成システムの一般的
な構成の一例を示す図である。同図中、部品11,パタ
ーン12,定義仕様書13,データ項目辞書15を事前
に作成し、準備しておく。ソースプログラムを作成する
場合、最初に作業者は、多くの種類の部品11,パター
ン12,定義仕様書13から所望の処理を実現させるた
めに最適なものを選択し、これをプログラム仕様書14
中に記述する。次にプログラム生成部16は、プログラ
ム仕様書14中で指定されている部品11,パターン1
2,定義仕様書13に基づいて、ソースプログラム17
の半完成品を自動生成する。このとき、定義仕様書13
中で使用されているデータ項目についてデータ項目辞書
15中に何らかの定義が記述されていれば、該当する定
義を用いてソースプログラム17への展開を行う。最後
に作業者は、上述した部品11,パターン12,定義仕
様書13,データ項目辞書15から自動生成できなかっ
た部分を手作業のコーディングにより作成し、これをユ
ーザ追加コーディングとしてソースプログラム17中に
補足して完成品とする。プログラム生成システムでは、
上述した作業および処理の流れにしたがって目的とする
ソースプログラムの生成が行われる。
FIG. 4 is a diagram showing an example of a general configuration of a program generation system. In the figure, a component 11, a pattern 12, a definition specification 13, and a data item dictionary 15 are created and prepared in advance. When creating a source program, an operator first selects an optimum one for realizing desired processing from many types of parts 11, patterns 12, and definition specifications 13 and selects it from the program specifications 14
Write inside. Next, the program generation unit 16 determines that the component 11 and the pattern 1 specified in the program specification 14
2, the source program 17 based on the definition specification 13
Automatically generate semi-finished products. At this time, the definition specifications 13
If any definition is described in the data item dictionary 15 for the data item used therein, the definition is expanded to the source program 17 using the corresponding definition. Finally, the operator manually creates a portion that could not be automatically generated from the above-mentioned parts 11, patterns 12, definition specifications 13, and data item dictionary 15, and uses this as user-added coding in the source program 17. Supplemented to make a finished product. In the program generation system,
A target source program is generated according to the above-described work and processing flow.

【0004】上述したプログラム生成システムにおける
データ項目辞書15は、旧来のシステムで常にユーザ追
加コーディングによる補足を要した入力項目チェック処
理と項目編集処理とを、プログラム生成部16がソース
プログラム17中に自動的に展開できるようにするため
のものである。
The data item dictionary 15 in the above-described program generation system is configured so that the program generation unit 16 automatically performs the input item check process and the item edit process, which are always required to be supplemented by user-added coding in the old system, in the source program 17. It is intended to be able to be expanded.

【0005】入力項目チェック処理では、外部から与え
られた入力項目の値が正当なものである否かを判定す
る。例えば、プログラム中で「人数」や「個数」として
用いる値を外部から入力させる場合、入力項目の値が自
然数でない負数値や小数点以下を含む整数値であればエ
ラー処理に分岐させる必要がある。そこで、このような
入力項目チェック処理の具体的な分岐条件および分岐先
については、あらかじめデータ項目辞書15中に登録
し、個々の作業者には、定義仕様書13中に入力項目チ
ェック処理を展開させたいデータ項目の名称のみを記述
させる。プログラム生成部16は、定義仕様書13中の
データ項目について、データ項目辞書15を参照して該
当する入力項目チェック処理のコーディングをソースプ
ログラム17中に展開する。
In the input item check processing, it is determined whether or not the value of the input item given from the outside is valid. For example, when a value used as "number of people" or "number of pieces" in the program is input from the outside, if the value of the input item is a negative value that is not a natural number or an integer value including a decimal point, it is necessary to branch to error processing. Therefore, specific branch conditions and branch destinations of such input item check processing are registered in the data item dictionary 15 in advance, and the input item check processing is expanded in the definition specification 13 for each worker. Have only the name of the data item you want to have written. The program generation unit 16 refers to the data item dictionary 15 for the data items in the definition specification 13 and develops the coding of the corresponding input item check processing in the source program 17.

【0006】項目編集処理では、与えられたデータ項目
に基づいて新たなデータ項目を生成する。例えば、面積
を数量的に表す単位として一般的に『m2』が用いられる
が、面積を把握しようとする対象が土地の場合には例外
的に『坪』単位で表現されることも少なくなく、『坪』
単位で与えられた土地面積の数値をあらかじめ『m2』単
位の数値に変換しておかなければならないことも多い。
そこで、上記と同様に項目編集処理の具体的な内容をあ
らかじめデータ項目辞書15中に登録し、個々の作業者
には、定義仕様書13中に項目編集処理を展開させたい
データ項目の名称のみを記述させる。プログラム生成部
16は、定義仕様書13中のデータ項目について、デー
タ項目辞書15を参照して該当する項目編集処理のコー
ディングをソースプログラム17中に展開する。
In the item editing process, a new data item is generated based on the given data item. For example, “m 2 ” is generally used as a unit to express the area quantitatively, but when the object whose area is to be grasped is land, it is often exceptionally expressed in the unit of “tsubo”. , "Tsubo"
It is often necessary to convert the value of the land area given in units to the value in the unit of "m 2 " in advance.
Therefore, similar to the above, the specific contents of the item editing process are registered in the data item dictionary 15 in advance, and each worker only has the name of the data item to which the item editing process is to be expanded in the definition specification 13. Let me describe. The program generation unit 16 refers to the data item dictionary 15 for the data items in the definition specification 13 and develops the coding of the corresponding item editing process in the source program 17.

【0007】[0007]

【発明が解決しようとする課題】これまでのプログラム
生成システムで用いられてきたデータ項目辞書15は、
単一のデータ項目ごとのルールのみが登録されることを
想定した構造とされている。すなわち、上述した例のよ
うにひとつのデータ項目値と一定の数値との比較判定の
みの入力項目チェック処理については登録できるが、あ
るデータ項目値と別のデータ項目との比較判定を要する
入力項目チェック処理については必ずしも登録できると
は限らない。例えば、入力項目として、ある社員の「配
属年月日」および「入社年月日」を外部から入力させる
場合、「配属年月日」より「入社年月日」が後であれば
エラー処理に分岐させる必要がある。しかしながら、複
数のデータ項目に関係するルールであった場合、従来の
システムではデータ項目辞書15中にこのような登録を
行うことはできない。同様に、ひとつのデータ項目値か
ら単に別の値を求めるような項目編集処理については登
録できるが、第1のデータ項目値と第2のデータ項目か
ら第3のデータ項目を求めるような処理については必ず
しも登録できるとは限らない。例えば、「売上数量」お
よび「単価」を乗算して「売上金額」を算出する処理
は、従来のシステムにおけるデータ項目辞書15中に定
義登録することができない。
The data item dictionary 15 used in the conventional program generation system is
It is structured assuming that only rules for each single data item will be registered. That is, as in the above-mentioned example, the input item check process that only compares and determines one data item value and a certain numerical value can be registered, but an input item that requires a comparison and determination of a certain data item value and another data item. The check process cannot always be registered. For example, if an employee's "assignment date" and "hire date" are to be entered from the outside as input items, if "hire date" is later than "hire date", error handling will be performed. Need to branch. However, if the rule is related to a plurality of data items, the conventional system cannot perform such registration in the data item dictionary 15. Similarly, although the item edit process of simply obtaining another value from one data item value can be registered, the process of obtaining the third data item from the first data item value and the second data item can be registered. Can't always be registered. For example, the process of calculating the "sales amount" by multiplying the "sales quantity" and the "unit price" cannot be defined and registered in the data item dictionary 15 in the conventional system.

【0008】したがって、複数種類のデータ項目に関わ
るルールについてプログラム生成部16による自動生成
を適用できず、旧来のシステムと同様に、常に作業者が
不完全なソースプログラム17に対してユーザ追加コー
ディングで補足を行わなければならないという問題点が
あった。そして、このようなユーザ追加コーディングの
品質は個々の作業者の熟練度などに左右されやすく、ユ
ーザ追加コーディングを含む複数のソースプログラム1
7の品質がすべて一定水準に達するように工程管理を行
うことが困難であるという問題点があった。また、仕様
変更や不良修正などに伴って複数種類のデータ項目に関
わるルールを改変する必要が生じると、対象となるすべ
てのソースプログラムを特定した後にそれぞれユーザ追
加コーディングの改訂を行わなければならず、このよう
な工程管理を効率的に行うことが困難であるという問題
点があった。
Therefore, the automatic generation by the program generation unit 16 cannot be applied to the rules relating to a plurality of types of data items, and as in the case of the conventional system, the worker always performs user addition coding on the incomplete source program 17. There was a problem that supplements had to be made. The quality of such user-added coding is easily influenced by the degree of proficiency of each worker, and a plurality of source programs 1 including user-added coding are included.
There is a problem in that it is difficult to perform process control so that the quality of all 7 reaches a certain level. Also, if it becomes necessary to modify the rules related to multiple types of data items due to specification changes or defect corrections, it is necessary to revise the user-added coding after specifying all the target source programs. However, there is a problem that it is difficult to efficiently perform such process control.

【0009】したがって本発明の目的は、上記の問題点
を解決して、従来より効率的な工程管理で高品質のソフ
トウェア製品を容易に生産することが可能なプログラム
生成システムを提供することにある。
Therefore, it is an object of the present invention to solve the above problems and provide a program generation system capable of easily producing a high quality software product with more efficient process management than before. .

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
め、本発明のプログラム生成システムは、一元管理され
ている多数種類の部品,パターン,定義仕様書およびデ
ータ項目辞書などの各種定義情報に基づいて記述された
プログラム仕様書を解析し、前記定義仕様書で指定され
た入出力に関する定義,データ項目に関する定義,およ
びプログラム遷移条件と、前記部品とを標準的な論理構
造を持つ前記パターン中に展開することによって所望の
ソースプログラムを自動生成するプログラム生成システ
ムにおいて、複数のデータ項目に関係するルールが定義
された多数種類のルール定義部品と前記各種定義情報と
をあらかじめ個別に対応付ける所定の関連情報に基づ
き、前記プログラム仕様書中の記述により補完された前
記ルール定義部品を前記パターン中に展開して所望のソ
ースプログラムを自動生成するプログラム生成部を具備
する構成としたものである。
In order to achieve the above object, the program generation system of the present invention stores various types of definition information such as a large number of centrally managed parts, patterns, definition specifications and data item dictionaries. The program specification described based on the above is analyzed, and the definition regarding the input / output, the definition regarding the data item, and the program transition condition specified by the definition specification, and the part have the standard logical structure in the pattern. In a program generation system for automatically generating a desired source program by expanding it into a predetermined number, a plurality of types of rule definition parts in which rules relating to a plurality of data items are defined and the various definition information are associated with each other in advance. Based on the information, the rule definition parts supplemented by the description in the program specification Expand the serial pattern in is obtained by a configuration having a program generating section for automatically generating a desired source program.

【0011】このため、複数種類のデータ項目に関わる
ルールをあらかじめルール定義部品として定義しておく
ことにより、ユーザ追加コーディングで補足すべき部分
を従来にくらべて大幅に減少させて、作業工程の多くを
プログラム仕様書の記述作業のみに限定できる。したが
って、目的とするソースプログラムのほとんどをプログ
ラム生成部によって自動生成可能となり、各々のソース
プログラムの品質がすべて一定水準に達するような工程
管理を容易に実現させることができる。
Therefore, by defining rules relating to a plurality of types of data items in advance as rule definition parts, the parts to be supplemented by the user-added coding can be greatly reduced compared to the conventional method, and many work steps can be performed. Can be limited to the description work of the program specification. Therefore, most of the target source programs can be automatically generated by the program generation unit, and the process control can be easily realized such that the quality of each source program reaches a certain level.

【0012】また、上記構成に加えてさらに、すべての
前記関連情報をまとめて一元的に登録管理するためのリ
ポジトリを設け、前記プログラム生成部は、前記プログ
ラム仕様書中に記述されている具体的な定義情報の各々
について、その定義情報に対応する特定のルール定義部
品を前記リポジトリの検索により求めるようにしたもの
である。したがって、仕様変更や不良修正などに伴って
複数種類のデータ項目に関わるルールを改変する必要が
生じた場合には、リポジトリで登録管理されている該当
する関連情報を参照した後、そのルール定義部品を利用
するプログラム仕様書のみを対象として、プログラム生
成部によるソースプログラムの自動生成を再度行うこと
により、従来より効率的に工程管理を行うことができ
る。
In addition to the above-mentioned configuration, a repository for collectively registering and managing all the related information in a unified manner is provided, and the program generation unit is a specific program described in the program specification. For each definition information item, a specific rule definition component corresponding to the definition information item is obtained by searching the repository. Therefore, if it is necessary to modify the rules related to multiple types of data items due to specification changes or defect correction, refer to the relevant information registered and managed in the repository, and then add the rule definition parts. By performing the automatic generation of the source program again by the program generation unit only for the program specifications that utilize the, it is possible to perform the process management more efficiently than before.

【0013】そして、上記構成に加えてさらに、前記プ
ログラム生成部は、あらかじめ仮名称で表現された前記
定義情報中のデータ項目の各々を前記プログラム仕様書
中に記述されている指定名称に置き換えた後、所望のソ
ースプログラムを自動生成するようにしたものである。
これによってソフトウェア製品の設計と工程管理の自由
度を向上させ、さらに容易かつ効率的に上述した工程管
理を行うことができる。
Further, in addition to the above configuration, the program generation unit replaces each of the data items in the definition information previously expressed by a tentative name with the designated name described in the program specification. After that, a desired source program is automatically generated.
As a result, the degree of freedom in designing the software product and the process control can be improved, and the process control described above can be performed more easily and efficiently.

【0014】以上のように、本発明のプログラム生成シ
ステムにおいては、従来より効率的な工程管理で高品質
のソフトウェア製品を容易に生産することができる。
As described above, in the program generation system of the present invention, it is possible to easily produce a high quality software product with more efficient process control than before.

【0015】[0015]

【発明の実施の形態】以下、本発明のプログラム生成シ
ステムの実施の一形態を図面を用いて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of a program generation system of the present invention will be described in detail below with reference to the drawings.

【0016】図1は、本発明のプログラム生成システム
の実施の一形態例の概略的な構成を示す図である。同図
中、図4と同一構成部分については同一符号を付し、そ
の説明を省略する。また、21は個別に生成されたプロ
グラム相互間で共用される複数種類のデータ項目に関わ
るルールをそれぞれ表すルール定義部品、22は後述す
る関連情報の定義を行う関連定義部、23は関連情報や
ルール定義部品を一元的に登録管理するためのリポジト
リ、23aはリポジトリに直接管理される関連情報、2
4はプログラム仕様書に記述されたルール定義部品から
生成されたソースプログラムの一部である。以下、図1
のシステムでプログラムの自動生成を行う場合について
簡略に説明する。
FIG. 1 is a diagram showing a schematic configuration of an embodiment of a program generation system of the present invention. 4, the same components as those in FIG. 4 are denoted by the same reference numerals, and the description thereof will be omitted. Further, 21 is a rule definition component that respectively represents rules relating to a plurality of types of data items that are shared between individually generated programs, 22 is a related definition unit that defines related information to be described later, and 23 is related information and A repository for centrally registering and managing rule definition parts, 23a is related information directly managed by the repository, 2
Reference numeral 4 is a part of the source program generated from the rule definition part described in the program specification. Hereinafter, FIG.
A brief description will be given of a case where a program is automatically generated by the system.

【0017】最初に、個別に生成されたプログラム相互
間で共用される可能性のある各種のデータ項目を仮名称
で表現するとともに、その仮名称を用いて複数のデータ
項目間のルールを定義した多数種類のルール定義部品2
1をあらかじめ準備しておく。そして、関連定義部22
により、ルール定義部品21と定義仕様書13とを関連
付ける関連情報23aを定義し、これをリポジトリ23
に格納する。作業者は、従来より与えられている一般部
品11,パターン12,定義仕様書13をプログラム仕
様書14aに記述する。プログラム生成部16は、与え
られたプログラム仕様書14a中に記述されている一般
部品11,パターン12および定義仕様書13中のデー
タ項目についてデータ項目辞書15に登録されている処
理を読み出す。次に、定義仕様書13の名称に基づいて
リポジトリ23中の関連情報23aを検索し、関連付け
られているルール定義部品21を読み出してソースプロ
グラム17aの自動生成を行う。このとき、目的とする
プログラムに見合った十分な種類のルール定義部品21
と関連情報23aがあらかじめ準備されていれば、これ
らを活用して作業者が適切にプログラム仕様書14aを
記述することでソースプログラム17aの完成度が大幅
に向上し、自動生成後のユーザ追加コーディングを作業
者が手作業で作成および補足する必要性が少なくなる。
First, various data items that may be shared between the individually generated programs are represented by pseudo names, and the pseudo names are used to define rules between a plurality of data items. Many types of rule definition parts 2
Prepare 1 in advance. Then, the relation definition part 22
Defines the related information 23a for associating the rule definition component 21 with the definition specification 13, and stores the related information 23a.
To be stored. The operator describes the general part 11, the pattern 12, and the definition specification 13 which have been conventionally given in the program specification 14a. The program generation unit 16 reads out the processing registered in the data item dictionary 15 for the data items in the general part 11, the pattern 12, and the definition specification 13 described in the given program specification 14a. Next, the related information 23a in the repository 23 is searched based on the name of the definition specification 13, the associated rule definition component 21 is read, and the source program 17a is automatically generated. At this time, there are sufficient types of rule definition parts 21 suitable for the target program.
If the related information 23a and the related information 23a are prepared in advance, the operator can appropriately write the program specification 14a to greatly improve the completeness of the source program 17a, and the user-added coding after the automatic generation. Reduces the need for workers to manually create and supplement

【0018】図2は、図1のシステム中のプログラム生
成部による処理を具体的に説明するための図である。同
図中、図1と同一構成部分については同一符号を付し、
その説明を省略する。ソフトウェア製品の開発を担当す
る作業者は、例えば、定義仕様書のひとつとして仮入出
力仕様書の指定“A:?ニュウリョクファイル”と、その
仮入出力仕様書に関連するルール定義部品の展開位置の
指定“PARTS01 A”とを、パターン12中に記述する。
仮入出力仕様書は、パターン12中に該当する入出力仕
様書名を直接記述する代わりに記述する仮名称であり、
後から作成されるプログラム仕様書14a中で実際の入
出力仕様書との対応付けを行うことによってパターン1
2の再利用性を高めるためのものである。また、個別に
生成されたプログラム相互間で共用される可能性のある
データ項目について、それぞれのデータ項目間における
ルールを定義したルール定義部品21を多数種類準備し
ておく。ルール定義部品についても、このようなデータ
項目を仮名称で記述することによって、再利用性の向上
を図る。仮名称については “@PREFIX#[仮入出力仕様書名] [共用されるデータ項目名] @SUFFIX#[仮入出力仕様書名]” のように記述する。このほか、関連情報23aでは、各
種の定義仕様書とルール定義部品との対応付けを行って
おく。
FIG. 2 is a diagram for specifically explaining the processing by the program generation unit in the system of FIG. In the figure, the same components as those in FIG.
The description is omitted. An operator in charge of developing a software product, for example, specifies a temporary input / output specification "A :? New file" as one of the definition specifications and develops rule definition parts related to the temporary input / output specifications. The position designation “PARTS01 A” is described in the pattern 12.
The temporary input / output specification is a temporary name to be written instead of directly writing the corresponding input / output specification name in the pattern 12.
Pattern 1 is created by associating with the actual input / output specification in the program specification 14a created later.
This is for improving the reusability of No. 2. Further, with respect to the data items that may be shared between the individually generated programs, a large number of types of rule definition parts 21 that define the rules between the respective data items are prepared. Also in the rule definition part, the reusability is improved by describing such a data item with a tentative name. The temporary name is described as “@ PREFIX # [Temporary I / O specification name] [Shared data item name] @ SUFFIX # [Temporary I / O specification name]”. In addition, in the related information 23a, various definition specifications and rule definition parts are associated with each other.

【0019】プログラム生成部16は、パターン12,
プログラム仕様書14a,ルール定義部品1,関連情報
23aなどに基づいてソースプログラム17aの展開を
行う際、‘@PREFIX#[仮入出力仕様書名]’および‘@SUF
FIX#[仮入出力仕様書名]’をプログラム仕様書14a中
で指定された接頭辞および接尾辞に置き換えて、補完さ
れたルール定義部品を生成する。図2の例では、プログ
ラム仕様書14a中の記述で仮入出力仕様書名“?ニュ
ウリョクファイル”に実際の入出力仕様書名である“定
義仕様書A”と接頭辞“P1”および接尾辞“S1”が対応
付けられているので、 “@PREFIX#ADATAX@SUFFIX#A”→“P1-DATAX-S1” “@PREFIX#ADATAY@SUFFIX#A”→“P1-DATAY-S1” のように補完されたルール定義部品1が、パターン12
中の指定された展開位置“PARTS01 A”に展開される。
The program generation unit 16 includes a pattern 12,
When the source program 17a is expanded based on the program specification 14a, rule definition part 1, related information 23a, etc., '@ PREFIX # [temporary input / output specification name]' and '@ SUF
FIX # [temporary input / output specification name] 'is replaced with the prefix and suffix specified in the program specification 14a to generate the complemented rule definition part. In the example of FIG. 2, in the description in the program specification 14a, the provisional input / output specification name "? New file" is the actual input / output specification name "Definition specification A", the prefix "P1" and the suffix ". S1 ”is associated, so it is complemented as“ @ PREFIX # ADATAX @ SUFFIX # A ”→“ P1-DATAX-S1 ”“ @ PREFIX # ADATAY @ SUFFIX # A ”→“ P1-DATAY-S1 ” The defined rule definition component 1 is the pattern 12
It is expanded to the specified expansion position “PARTS01 A” inside.

【0020】図3は、図1のシステム中のリポジトリの
細部構成の一例を示す図である。同図中、それぞれ個別
に生成されたプログラム17a相互間で共用される可能
性のあるデータ項目間のルールを定義した各種のルール
定義部品21および定義仕様書13を対応付ける関連情
報23a1と、それぞれのプログラム17aおよび定義仕
様書13を対応付ける関連情報23a2は、図1に示した
リポジトリ23で一元的に登録管理する。このため、い
ずれかのルールを変更するために修正すべきルール定義
部品を特定すれば、ルール変更の影響を受ける定義仕様
書とプログラムとをすべて特定できる。すなわち図3の
例では、修正すべきルール定義部品1を特定すると、そ
の影響を受ける定義仕様書Aが特定され、さらにその影
響を受けるプログラムP1およびプログラムP2が特定
される。したがって、ルールの変更に伴ってルール定義
部品の改訂を行った場合、関連情報によって対応付けら
れているプログラム仕様書のみを対象として、プログラ
ム生成部によるソースプログラムの自動生成を再度行う
ことで、ルール変更の結果をほぼ自動的にプログラムに
反映させることができる。
FIG. 3 is a diagram showing an example of a detailed configuration of the repository in the system of FIG. In the figure, various rule definition parts 21 that define rules between data items that may be shared between the individually created programs 17a, and related information 23a 1 that associates the definition specifications 13 with each, Related information 23a 2 for associating programs 17a and define specifications 13 centrally registered and managed in the repository 23 shown in FIG. Therefore, by specifying the rule definition parts to be modified to change any of the rules, all the definition specifications and programs affected by the rule change can be specified. That is, in the example of FIG. 3, when the rule definition component 1 to be modified is specified, the definition specification A that is affected is specified, and the programs P1 and P2 that are affected are also specified. Therefore, when the rule definition parts are revised due to the change of the rule, the rule is generated by re-creating the source program automatically by the program generation section only for the program specifications associated with the related information. The result of the change can be reflected in the program almost automatically.

【0021】[0021]

【発明の効果】以上詳しく説明したように、本発明のプ
ログラム生成システムによれば、目的とするソースプロ
グラムのほとんどをプログラム生成部によって自動生成
可能となり、各々のソースプログラムの品質がすべて一
定水準に達するような工程管理を容易に実現させること
ができるという効果が得られる。また、仕様変更や不良
修正などがあっても、関連するプログラム仕様書につい
てのみプログラム生成部によるソースプログラムの自動
生成を再度行えば十分なので、従来より効率的に工程管
理を行うことができるという効果が得られる。したがっ
て、従来より効率的な工程管理で高品質のソフトウェア
製品を容易に生産することができるという効果が得られ
る。
As described in detail above, according to the program generation system of the present invention, most of the target source programs can be automatically generated by the program generation section, and the quality of each source program is kept at a constant level. The effect that the process control that reaches can be easily realized is obtained. Further, even if the specification is changed or the defect is corrected, it is sufficient to automatically generate the source program by the program generation unit only for the related program specifications, so that the process management can be performed more efficiently than before. Is obtained. Therefore, it is possible to easily produce a high-quality software product with more efficient process management than before.

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

【図1】本発明のプログラム生成システムの実施の一形
態例の概略的な構成を示す図である。
FIG. 1 is a diagram showing a schematic configuration of an embodiment of a program generation system of the present invention.

【図2】図1のシステム中のプログラム生成部による処
理を具体的に説明するための図である。
FIG. 2 is a diagram for specifically explaining a process by a program generation unit in the system of FIG.

【図3】図1のシステム中のリポジトリの細部構成の一
例を示す図である。
FIG. 3 is a diagram showing an example of a detailed configuration of a repository in the system of FIG.

【図4】プログラム生成システムの一般的な構成の一例
を示す図である。
FIG. 4 is a diagram showing an example of a general configuration of a program generation system.

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

11 部品(一般部品) 12 パターン 13 定義仕様書 14,14a プログラム仕様書 15 データ項目辞書 16 プログラム生成部 17,17a ソースプログラム 21 ルール定義部品 22 関連定義部 23 リポジトリ 23a,23a1,23a2 関連情報11 parts (general parts) 12 patterns 13 definition specifications 14, 14a program specifications 15 data item dictionary 16 program generator 17, 17a source program 21 rule definition parts 22 related definition part 23 repositories 23a, 23a 1 , 23a 2 related information

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 一元管理されている多数種類の部品,パ
ターン,定義仕様書およびデータ項目辞書などの各種定
義情報に基づいて記述されたプログラム仕様書を解析
し、前記定義仕様書で指定された入出力に関する定義,
データ項目に関する定義,およびプログラム遷移条件
と、前記部品とを標準的な論理構造を持つ前記パターン
中に展開することによって所望のソースプログラムを自
動生成するプログラム生成システムにおいて、 複数のデータ項目に関係するルールが定義された多数種
類のルール定義部品と前記各種定義情報とをあらかじめ
個別に対応付ける所定の関連情報に基づき、前記プログ
ラム仕様書中の記述により補完された前記ルール定義部
品を前記パターン中に展開して所望のソースプログラム
を自動生成するプログラム生成部を具備する構成とした
ことを特徴とするプログラム生成システム。
1. A program specification written on the basis of various definition information such as a large number of types of parts, patterns, definition specifications, and data item dictionaries that are centrally managed is analyzed and designated by the definition specifications. Input / output definition,
A program generation system that automatically generates a desired source program by expanding the definition of data items, program transition conditions, and the parts in the pattern having a standard logical structure, and relates to a plurality of data items. The rule definition parts complemented by the description in the program specification are developed in the pattern based on predetermined related information that individually associates a large number of types of rule definition parts in which rules are defined with the various definition information. A program generation system characterized by comprising a program generation section for automatically generating a desired source program.
【請求項2】 すべての前記関連情報をまとめて一元的
に登録管理するためのリポジトリを設け、 前記プログラム生成部は、前記プログラム仕様書中に記
述されている具体的な定義情報の各々について、その定
義情報に対応する特定のルール定義部品を前記リポジト
リの検索により求めることを特徴とする請求項1記載の
プログラム生成システム。
2. A repository for collectively registering and managing all the related information in a centralized manner is provided, and the program generation unit, for each specific definition information described in the program specification, The program generation system according to claim 1, wherein a specific rule definition component corresponding to the definition information is obtained by searching the repository.
【請求項3】 前記プログラム生成部は、あらかじめ仮
名称で表現された前記定義情報中のデータ項目の各々を
前記プログラム仕様書中に記述されている指定名称に置
き換えた後、所望のソースプログラムを自動生成するこ
とを特徴とする請求項1または2記載のプログラム生成
システム。
3. The program generation unit replaces each of the data items in the definition information previously expressed by a tentative name with a designated name described in the program specification, and then a desired source program is created. The program generation system according to claim 1, wherein the program generation system is automatically generated.
JP8012949A 1996-01-29 1996-01-29 Program generation system Pending JPH09204301A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8012949A JPH09204301A (en) 1996-01-29 1996-01-29 Program generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8012949A JPH09204301A (en) 1996-01-29 1996-01-29 Program generation system

Publications (1)

Publication Number Publication Date
JPH09204301A true JPH09204301A (en) 1997-08-05

Family

ID=11819539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8012949A Pending JPH09204301A (en) 1996-01-29 1996-01-29 Program generation system

Country Status (1)

Country Link
JP (1) JPH09204301A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010109629A (en) * 2000-05-31 2001-12-12 이선아 Quality Management System using Hierarchical Software Quality Model
JP2005078650A (en) * 2003-09-02 2005-03-24 Microsoft Corp Software componentization
JP2008117095A (en) * 2006-11-02 2008-05-22 Hitachi Ltd Software development method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010109629A (en) * 2000-05-31 2001-12-12 이선아 Quality Management System using Hierarchical Software Quality Model
JP2005078650A (en) * 2003-09-02 2005-03-24 Microsoft Corp Software componentization
JP2008117095A (en) * 2006-11-02 2008-05-22 Hitachi Ltd Software development method

Similar Documents

Publication Publication Date Title
US6377956B1 (en) Automatically configuring product manual by binding document objects in logical structure to proper versions of component documents in a document database
US8577927B2 (en) Producing a virtual database from data sources exhibiting heterogeneous schemas
US5930806A (en) Method and system for data migration from network database to relational database
CN110543303B (en) Visual service platform
CN113010154B (en) Dynamic loading-based visual development configuration method for secondary data management interface
US8732567B1 (en) System and method for automating document generation
JP2000148814A (en) Component part data management system and computer readable storage medium storing component part data management program
US5303147A (en) Computer aided planning method and system
JPH05257661A (en) Software production system
CN113159618A (en) Rule engine design method and device with separated technical view angles
CN111367893A (en) Method and device for database version iteration
JP3186117B2 (en) Automatic program generation system using data-centric software components
JP2000202746A (en) Product parts table editing method and device
JPH09204301A (en) Program generation system
CN101388034A (en) Apparatus and method for processing database
JPH0546608A (en) Document processor
JPH06214768A (en) Program part generation method and automatic program generation method
JPH0667871A (en) Automatic program updating system
JPH04172529A (en) Automatic program generation method using data-centric software components
JPH06110733A (en) Program test case generator
JP2722358B2 (en) Program creation support system
JP3245635B2 (en) Standardization and analysis of software products
JP3345522B2 (en) Program development support device using data item parts
JP3050467B2 (en) Data item dictionary generation method
JP2004110102A (en) Project management method and process definition device