JPH04242427A - Program designing system - Google Patents

Program designing system

Info

Publication number
JPH04242427A
JPH04242427A JP3014988A JP1498891A JPH04242427A JP H04242427 A JPH04242427 A JP H04242427A JP 3014988 A JP3014988 A JP 3014988A JP 1498891 A JP1498891 A JP 1498891A JP H04242427 A JPH04242427 A JP H04242427A
Authority
JP
Japan
Prior art keywords
design
design information
program
rule
contents
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
JP3014988A
Other languages
Japanese (ja)
Inventor
Isao Taguchi
功 田口
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 JP3014988A priority Critical patent/JPH04242427A/en
Publication of JPH04242427A publication Critical patent/JPH04242427A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To efficiently design a program by automatizing conversion between a source program and design information and the diagnosis of a design pattern. CONSTITUTION:This system is equipped with a term dictionary 1 wherein the correspondence between terms used in the design information and variable names in the program is rearranged as term information and stored in dictionary form, a program design information control part 5 which controls the source program 8 and the contents of the design information 7 which has design contents as the design pattern 13, a rule control part 6 which stores a converting method for representing the contents of the design information in detail or roughly in a rule base as a conversion rule, and an algorithm extracting process part 2 which converts the contents of the design information according to the conversion rule and generates the design information showing the process concept. Further, the system is equipped with the term dictionary 1, program design information control part 5, rule control part 6, algorithm detailing process part 3 which converts the contents of the design information showing the process concept according to the conversion rule and generates the design information representing the detailed process contents, and a diagnostic process part 4 which detects the design pattern specified by the design rule in the rule base 9 according to the contents of the design information and diagnoses the design contents.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ソフトウェアの開発支
援システム処理方式に関し、特にプログラムの設計支援
ツールにおいて設計の自動化および設計情報の管理を行
うプログラム設計方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software development support system processing method, and more particularly to a program design method for automating design and managing design information in a program design support tool.

【0002】0002

【従来の技術】従来、設計支援ツールにおける設計情報
の管理方式では、設計情報に対して詳細化または概要化
のためのルールを持たず、設計情報からソースプログラ
ムへ詳細化する作業、およびソースプログラムから設計
情報を抽出する作業は手作業で行っていた。
[Background Art] Conventionally, design information management methods in design support tools do not have rules for detailing or summarizing design information, and the work of detailing design information into source programs and source programs The work of extracting design information from was done manually.

【0003】0003

【発明が解決しようとする問題点】従来の設計方式では
、設計情報からソースプログラムへ手作業で詳細化する
場合は、詳細化の作業で瑕疵が発生し易く、また設計情
報からソースプログラムを自動生成する場合は、設計情
報を手作業で詳細化しなければ自動生成できないため、
利用効果が少ないという欠点があった。さらに、従来の
設計方式にあっては、ソースプログラムから自動生成で
きる設計情報は、詳細な設計情報であり、ソースプログ
ラムから設計概要やアルゴリズムを作成する作業は、手
作業で行わなければならないという欠点があった。
[Problems to be solved by the invention] In the conventional design method, when manually detailing design information into a source program, defects are likely to occur during the detailing work, and it is difficult to automatically create a source program from design information. When generating, automatic generation is not possible unless the design information is manually detailed.
The drawback was that it was not very effective. Furthermore, with conventional design methods, the design information that can be automatically generated from source programs is detailed design information, and the work of creating design outlines and algorithms from source programs must be done manually. was there.

【0004】本発明は、このような問題点を解決するた
めになされたもので、その目的は設計作業を効率よく行
えるようにしたプログラム設計方式を提供することにあ
る。
The present invention has been made to solve these problems, and its purpose is to provide a program design method that allows design work to be carried out efficiently.

【0005】[0005]

【問題点を解決するための手段】本発明は、上記問題点
を解決し得るプログラム設計方式に関するもので、設計
情報内で使用する用語とプログラム上の変数名との間の
対応を用語情報として整理し、辞書形式で蓄積した用語
辞書と、ソースプログラムと設計内容を設計パターンと
して持つ設計情報の内容とを管理するプログラム設計情
報管理部と、設計情報の内容を詳細化または概要化する
ための変換方法を変換ルールとしてルールベースに蓄積
して管理するルール管理部と、変換ルールに基づいて設
計情報の内容を変換し、処理概要を表す設計情報を作成
するアルゴリズム抽出処理部とを有している。
[Means for Solving the Problems] The present invention relates to a program design method capable of solving the above problems, in which the correspondence between terms used in design information and variable names on the program is used as terminology information. A program design information management department that manages terminology dictionaries that are organized and stored in a dictionary format, and the content of design information that includes source programs and design content as design patterns; It has a rule management unit that stores and manages conversion methods in a rule base as conversion rules, and an algorithm extraction processing unit that converts the contents of design information based on the conversion rules and creates design information representing a processing outline. There is.

【0006】また、本発明は、設計情報内で使用する用
語とプログラム上の変数名との間の対応を用語情報とし
て整理し、辞書形式で蓄積した用語辞書と、ソースプロ
グラムと設計内容を設計パターンとして持つ設計情報の
内容とを管理するプログラム設計情報管理部と、設計情
報の内容を詳細化または概要化するための変換方法を変
換ルールとしてルールベースに蓄積して管理するルール
管理部と、処理概要を表す設計情報の内容を変換ルール
に基づいて変換し、詳細な処理内容を表す設計情報を作
成するアルゴリズム詳細化処理部とを有するものである
Furthermore, the present invention organizes the correspondence between terms used in design information and variable names on a program as terminology information, and uses a terminology dictionary stored in a dictionary format to design source programs and design contents. a program design information management section that manages the contents of design information held as patterns; a rule management section that stores and manages conversion methods for detailing or summarizing the contents of design information in a rule base as conversion rules; The algorithm includes an algorithm detailing processing unit that converts the contents of design information representing a processing outline based on conversion rules and creates design information representing detailed processing contents.

【0007】更に本発明は、設計情報内で使用する用語
とプログラム上の変数名との間の対応を用語情報として
整理し、辞書形式で蓄積した用語辞書と、ソースプログ
ラムと設計内容を設計パターンとして持つ設計情報の内
容とを管理するプログラム設計情報管理部と、設計情報
の内容を検査するための検査内容を、設計ルールとして
ルールベースに蓄積して管理するルール管理部と、設計
情報の内容からルールベース内の設計ルールで指定され
た設計パターンを検出し、設計内容の診断を行う診断処
理部とを有するものである。
Furthermore, the present invention organizes the correspondence between terms used in design information and variable names on a program as terminology information, and uses a terminology dictionary stored in a dictionary format, a source program, and design contents as a design pattern. a program design information management unit that manages the content of design information held as a program design information management unit; a rule management unit that stores and manages inspection content for inspecting the content of design information in a rule base as design rules; The system includes a diagnosis processing unit that detects a design pattern specified by a design rule in a rule base and diagnoses the design content.

【0008】[0008]

【実施例】次に、本発明の実施例について、図面を参照
して説明する。図1は本発明の一実施例を示すブロック
図であり、用語辞書1、アルゴリズム抽出処理部2、ア
ルゴリズム詳細化処理部3、診断処理部4、プログラム
設計情報管理部5、ルール管理部6、設計情報7、ソー
スプログラム8、ルールベース9から構成されている。 用語辞書1は、用語の名称と属性情報を持つ用語情報1
2から構成されている。用語情報12は、図2に示すよ
うに日本語名称201、プログラム内名称202、属性
情報203から成り立っている。設計情報7は、設計内
容を表す設計パターン13の例から構成されている。ル
ールベース9は、設計情報の内容を詳細化または概要化
するための変換ルール10と、設計情報の内容を検査す
るための設計ルール11から構成されている。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, which includes a term dictionary 1, an algorithm extraction processing section 2, an algorithm detailing processing section 3, a diagnosis processing section 4, a program design information management section 5, a rule management section 6, It consists of design information 7, source program 8, and rule base 9. The term dictionary 1 contains term information 1 that includes term names and attribute information.
It is composed of 2. The terminology information 12 consists of a Japanese name 201, a program name 202, and attribute information 203, as shown in FIG. The design information 7 is composed of examples of design patterns 13 representing design contents. The rule base 9 includes conversion rules 10 for detailing or summarizing the contents of design information, and design rules 11 for inspecting the contents of the design information.

【0009】図3は変換ルール10の構成を説明するた
めの例を示した図であり、変換ルール10はルール名3
01、詳細パターン302、概要パターン305から成
り立っている。また、詳細パターン302と概要パター
ン305は、各々、パターンの種別を示すキーワード3
03と、キーワード303に関する具体的情報を示す実
体304、の列から成り立っている。
FIG. 3 is a diagram showing an example for explaining the configuration of the conversion rule 10. The conversion rule 10 has a rule name 3.
01, a detailed pattern 302, and a summary pattern 305. Further, the detailed pattern 302 and the summary pattern 305 each have a keyword 3 indicating the type of pattern.
03 and an entity 304 indicating specific information regarding the keyword 303.

【0010】図4は設計ルール11の構成を説明するた
めの例を示した図であり、設計ルール11は、設計ルー
ル名401と、設計内容の種別を示すキーワード402
と検査対象の処理の内容を示す実体403の列と、設計
ルール11に適合していない場合に出力する診断メッセ
ージ404から成り立っている。
FIG. 4 is a diagram showing an example for explaining the structure of the design rule 11. The design rule 11 includes a design rule name 401 and a keyword 402 indicating the type of design content.
, a sequence of entities 403 indicating the contents of the process to be inspected, and a diagnostic message 404 that is output when the design rule 11 is not met.

【0011】図5は設計情報7を構成する設計パターン
13の構成を説明するための例を示した図であり、設計
パターン13はパターンの種別を示すキーワード501
と、キーワード501に関する具体的情報を示す実体5
02から成り立っている。
FIG. 5 is a diagram showing an example for explaining the structure of the design pattern 13 constituting the design information 7. The design pattern 13 has a keyword 501 indicating the type of pattern.
and entity 5 indicating specific information regarding the keyword 501.
It consists of 02.

【0012】次に、動作を説明する。図6はプログラム
設計情報管理部5の処理の流れを示すフローチャート、
図7はアルゴリズム抽出処理部2の処理の流れを示すフ
ローチャート、図8はアルゴリズム詳細化処理部3の処
理の流れを示すフローチャート、図9は診断処理部4の
処理の流れを示すフローチャート、図10はルール管理
部6の処理の流れを示すフローチャートである。また、
図11はアルゴリズム抽出処理部2と診断処理部4の処
理の流れを示すために使用する用語辞書、ソースプログ
ラム、変換ルール、設計情報、診断情報の例を示した図
である。以下、上記図面に基づいて本実施例の動作を説
明する。
Next, the operation will be explained. FIG. 6 is a flowchart showing the process flow of the program design information management unit 5;
7 is a flowchart showing the processing flow of the algorithm extraction processing section 2, FIG. 8 is a flowchart showing the processing flow of the algorithm detailing processing section 3, FIG. 9 is a flowchart showing the processing flow of the diagnosis processing section 4, and FIG. is a flowchart showing the flow of processing by the rule management section 6. Also,
FIG. 11 is a diagram showing examples of terminology dictionaries, source programs, conversion rules, design information, and diagnostic information used to show the processing flow of the algorithm extraction processing section 2 and the diagnosis processing section 4. The operation of this embodiment will be explained below based on the above drawings.

【0013】本実施例にあっては、まずソースプログラ
ム8または設計情報7から、処理概要を表す設計情報7
を作成する場合は、アルゴリズム抽出処理部2を起動す
る。アルゴリズム抽出処理部2は、図7に示すように処
理対象がソースプログラム8か設計情報7かの区別を入
力し(701)、区別が設計情報7であるかを判定する
(702)。そして、区別が設計情報7であった場合は
、プログラム設計情報管理部5を用いて設計情報7を入
力する(703)。プログラム設計情報管理部5は、図
6に示すように入力モードかどうかを判定し(601)
、入力モードである場合は設計情報7から設計パターン
13を入力する(602)。そして用語辞書1を用いて
設計パターン13内のプログラム内名称202を日本語
名称201に変換する(603)。
In this embodiment, first, the design information 7 representing the processing outline is extracted from the source program 8 or the design information 7.
When creating the algorithm, the algorithm extraction processing section 2 is activated. As shown in FIG. 7, the algorithm extraction processing unit 2 inputs the distinction between the source program 8 and the design information 7 to be processed (701), and determines whether the distinction is the design information 7 (702). If the distinction is design information 7, design information 7 is input using the program design information management section 5 (703). The program design information management unit 5 determines whether it is in the input mode as shown in FIG. 6 (601).
, if the input mode is selected, the design pattern 13 is input from the design information 7 (602). Then, using the terminology dictionary 1, the program name 202 in the design pattern 13 is converted into a Japanese name 201 (603).

【0014】一方、区別が設計情報7でない場合は、図
7に示す如くソースプログラム8を入力して設計パター
ン13の列に変換し(704)、用語辞書1を用いてプ
ログラム内名称を日本語名称に変換する。アルゴリズム
抽出処理部2は、処理対象のソースプログラム8または
設計情報7を入力した後、ルール管理部6を用いて変換
ルール10を取り出す(706)。
On the other hand, if the distinction is not in the design information 7, input the source program 8 as shown in FIG. Convert to name. After inputting the source program 8 or design information 7 to be processed, the algorithm extraction processing unit 2 extracts the conversion rule 10 using the rule management unit 6 (706).

【0015】ルール管理部6にあっては、図10に示す
ように先頭のルールベース9に位置付け(1001)、
ルールベース9から変換ルール10を取り出し(100
2)、取り出す変換ルール10が終了したか判定する(
1003)。この判定結果、取り出す変換ルール10が
終了でない場合は、変換ルール10の取り出しが成功し
たとしてルール管理部6を終了する。また、取り出す変
換ルール10が終了であった場合は、次のルールベース
9に位置付け(1004)、位置付けるルールベースが
終了したか判定する(1005)。そして、位置付ける
ルールベース9が終了でない場合は、変換ルールを取り
出し(1002)、位置付けるルールベース9が終了の
場合は、ルールベース9が終了したとしてルール管理部
6を終了する。
In the rule management unit 6, as shown in FIG. 10, the rule base 9 is positioned at the top (1001),
Extract conversion rule 10 from rule base 9 (100
2), determine whether the conversion rule 10 to be retrieved has been completed (
1003). As a result of this determination, if the conversion rule 10 to be extracted is not completed, it is assumed that the conversion rule 10 has been successfully extracted and the rule management section 6 is terminated. If the conversion rule 10 to be taken out is finished, it is positioned in the next rule base 9 (1004), and it is determined whether the rule base to be positioned is finished (1005). If the rule base 9 to be positioned is not finished, the conversion rule is extracted (1002), and if the rule base 9 to be positioned is finished, the rule management unit 6 is terminated as the rule base 9 is finished.

【0016】ルール管理部6の実行後、アルゴリズム抽
出部2は図7に示す如く、ルールベース9が終了かどう
か判定し(707)、終了でないときは変換ルール10
の詳細パターン302と設計パターン13の列が一致す
るかどうかを検査する(708)。次いで、詳細パター
ン302と設計パターン13の列の一致検査結果を判定
し(709)、一致した場合は変換ルール10を用いて
一致した設計パターン13の列を変換する(710)。 また、詳細パターン302と設計パターン13の列が一
致しなかった場合は、次の変換ルール10を取り出す(
706)。このようにしてルールベース9が終了した場
合は、プログラム設計情報管理部5を用いて処理対象の
設計パターン13の列を設計情報7に出力する(711
)。
After execution of the rule management unit 6, the algorithm extraction unit 2 determines whether the rule base 9 is completed (707), as shown in FIG. 7, and if it is not completed, the conversion rule 10 is
It is checked whether the rows of the detailed pattern 302 and the design pattern 13 match (708). Next, the matching test result between the detailed pattern 302 and the column of the design pattern 13 is determined (709), and if they match, the column of the matched design pattern 13 is converted using the conversion rule 10 (710). Furthermore, if the columns of the detailed pattern 302 and the design pattern 13 do not match, the next conversion rule 10 is extracted (
706). When the rule base 9 is completed in this way, the program design information management unit 5 is used to output the sequence of design patterns 13 to be processed to the design information 7 (711
).

【0017】プログラム設計情報管理部5は、図6に示
すように設計情報7の入力かどうかを判定し(601)
、設計情報7の入力でない場合は設計パターン13のプ
ログラム内名称202を日本語名称201に変換し(6
04)、設計パターン13を設計情報7に出力する(6
05)。設計情報7を出力後、アルゴリズム抽出処理部
2の処理を終了する。
The program design information management unit 5 determines whether the design information 7 is input as shown in FIG. 6 (601).
, if design information 7 is not input, convert the program name 202 of design pattern 13 to Japanese name 201 (6
04), Output the design pattern 13 to the design information 7 (6
05). After outputting the design information 7, the processing of the algorithm extraction processing section 2 is ended.

【0018】また、本実施例では、設計情報7から処理
詳細を表わす設計情報7またはソースプログラム8を作
成する場合は、アルゴリズム詳細化処理部3を起動する
Furthermore, in this embodiment, when creating the design information 7 or source program 8 representing processing details from the design information 7, the algorithm detailing processing section 3 is activated.

【0019】アルゴリズム詳細化処理部3は、図8に示
すように、まず生成対象がソースプログラム8か設計情
報7かの生成区別を入力する(801)。次いで、プロ
グラム設計情報管理部5を用いて設計情報7を入力し(
802)、ルール管理部6を用いて変換ルール10を取
り出す(803)。その後、ルールベース9が終了した
かどうかを判定し(804)、終了でない場合は、変換
ルール10の概要パターン305と設計パターン13の
列が一致するかどうかを検査する(805)。そして、
概要パターン305と設計パターン13の列の一致検査
結果を判定し(806)、一致した場合は変換ルール1
0を用いて一致した設計パターン13の列を変換する(
807)。一致しない場合は、次の変換ルール10を取
り出し(803)、同様の処理を行う。このようにして
ルールベース9が終了した場合は、生成区別がソースプ
ログラム8かを判定し(808)、生成区別がソースプ
ログラム8であるときは、設計パターン13の列をソー
スプログラム8の形に変換して出力し(810)、アル
ゴリズム詳細化処理部3の処理を終了する。また、生成
区別がソースプログラム8でない場合は、プログラム設
計情報管理部5を用いて設計パターン13の列を設計情
報7に出力し(809)、アルゴリズム詳細化処理部3
の処理を終了する。
As shown in FIG. 8, the algorithm detailing processing section 3 first inputs the generation distinction of whether the generation target is the source program 8 or the design information 7 (801). Next, input the design information 7 using the program design information management section 5 (
802), the conversion rule 10 is extracted using the rule management unit 6 (803). Thereafter, it is determined whether the rule base 9 has been completed (804), and if not, it is checked whether the summary pattern 305 of the conversion rule 10 and the column of the design pattern 13 match (805). and,
The match check result between the outline pattern 305 and design pattern 13 columns is determined (806), and if they match, conversion rule 1 is applied.
Convert the sequence of matched design pattern 13 using 0 (
807). If they do not match, the next conversion rule 10 is extracted (803) and the same process is performed. When the rule base 9 is completed in this way, it is determined whether the generation type is source program 8 (808), and if the generation type is source program 8, the sequence of design patterns 13 is changed to the form of source program 8. It is converted and output (810), and the processing of the algorithm detailing processing unit 3 is ended. Furthermore, if the generation distinction is not source program 8, the program design information management unit 5 is used to output the sequence of design patterns 13 to the design information 7 (809), and the algorithm detailing processing unit 3
Terminates the process.

【0020】更に、本実施例においては、ルールベース
9の設計ルール11を用いて設計情報7の適合検査を行
う場合は、診断処理部4を起動する。
Furthermore, in this embodiment, when performing a conformance check on the design information 7 using the design rules 11 of the rule base 9, the diagnostic processing section 4 is activated.

【0021】診断処理部4にあっては、図9に示すよう
に、まずプログラム設計情報管理部5を用いて処理対象
の設計情報7を入力し(901)、ルール管理部6を用
いて設計ルール11を取り出す(902)。その後、ル
ールベース9が終了かどうかを判定し(903)、終了
でない場合は、設計情報7の設計パターン13の列のキ
ーワード501と実体502の出現順序が、ルールベー
ス9の設計ルール11のキーワード402と実体403
の出現順序に適合するかを検査する(904)。次いで
、適合検査結果を判定し(905)、適合しない場合は
設計ルール違反に関する情報を診断メッセージ404を
用いて出力し(906)、次の設計ルール11を取り出
す(902)。また、適合検査結果が適合である場合は
、次の設計ルール11を取り出す(902)。ルールベ
ース9が終了すると、診断処理部4の処理を終了する。
In the diagnosis processing section 4, as shown in FIG. Rule 11 is taken out (902). After that, it is determined whether the rule base 9 is finished (903), and if it is not finished, the appearance order of the keyword 501 and the entity 502 in the column of design pattern 13 of the design information 7 is the keyword of the design rule 11 of the rule base 9. 402 and entity 403
(904). Next, the conformity check result is determined (905), and if the conformance is not conformed, information regarding the violation of the design rule is output using the diagnostic message 404 (906), and the next design rule 11 is extracted (902). Further, if the conformity test result is conformity, the next design rule 11 is extracted (902). When the rule base 9 is completed, the processing of the diagnostic processing unit 4 is ended.

【0022】次に、アルゴリズム抽出処理部2と診断処
理部4の変換ルール10と設計ルール11に関する処理
について、図11を用いて説明する。
Next, the processing related to the conversion rule 10 and the design rule 11 by the algorithm extraction processing section 2 and the diagnosis processing section 4 will be explained using FIG. 11.

【0023】アルゴリズム抽出処理部2は、図11(b
)に示すソースプログラム8を入力し、同図(a)に示
す用語辞書1により同図(c)に示す設計情報7を作成
する。また、アルゴリズム抽出処理部2は同図(d)に
示す変換ルール10と図3に示した変換ルール10によ
って、図11(e)に示す設計概要を表わす設計情報7
を生成する。診断処理部4は、この図11(e)に示す
設計情報7に対して、図5に示した設計ルール11を用
いて図11(f)に示す設計ルール違反情報を出力する
The algorithm extraction processing unit 2 is shown in FIG. 11(b).
) is input, and the design information 7 shown in FIG. 3(c) is created using the terminology dictionary 1 shown in FIG. 2(a). In addition, the algorithm extraction processing unit 2 uses the conversion rule 10 shown in FIG. 11(d) and the conversion rule 10 shown in FIG.
generate. The diagnostic processing unit 4 uses the design rule 11 shown in FIG. 5 to output design rule violation information shown in FIG. 11(f) for the design information 7 shown in FIG. 11(e).

【0024】[0024]

【発明の効果】以上説明したように本発明は、プログラ
ム内の名称と設計用の日本語名称を管理する用語辞書と
、設計情報をパターン化して管理し、設計パターン詳細
化と概要化のためのパターン間の関係をルール化して管
理することにより、ソースプログラムと設計情報の間の
変換を自動化し、また設計パターンの診断を自動化でき
るという効果がある。また、ルールを複数のルールベー
スに分けて管理することにより、設計用途ごとにルール
を分類して管理することができるという効果がある。
[Effects of the Invention] As explained above, the present invention provides a terminology dictionary for managing names in programs and Japanese names for design, and a term dictionary for managing names in programs and Japanese names for design, and for managing design information in patterns and for detailing and summarizing design patterns. By creating rules and managing relationships between patterns, it is possible to automate the conversion between source programs and design information, and also to automate the diagnosis of design patterns. Furthermore, by managing the rules by dividing them into a plurality of rule bases, there is an effect that the rules can be classified and managed for each design purpose.

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

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

【図2】用語情報の構造を示す説明図である。FIG. 2 is an explanatory diagram showing the structure of term information.

【図3】変換ルールの構造を示す説明図である。FIG. 3 is an explanatory diagram showing the structure of a conversion rule.

【図4】設計ルールの構造を示す説明図である。FIG. 4 is an explanatory diagram showing the structure of a design rule.

【図5】設計パターンの構造を示す説明図である。FIG. 5 is an explanatory diagram showing the structure of a design pattern.

【図6】プログラム設計情報管理部の処理の流れを示す
フローチャートである。
FIG. 6 is a flowchart showing the flow of processing by a program design information management unit.

【図7】アルゴリズム抽出処理部の処理の流れを示すフ
ローチャートである。
FIG. 7 is a flowchart showing the flow of processing by an algorithm extraction processing section.

【図8】アルゴリズム詳細化処理部の処理の流れを示す
フローチャートである。
FIG. 8 is a flowchart showing the flow of processing by an algorithm detailing processing unit.

【図9】診断処理部の処理の流れを示すフローチャート
である。
FIG. 9 is a flowchart showing the flow of processing by the diagnostic processing unit.

【図10】ルール管理部の処理の流れを示すフローチャ
ートである。
FIG. 10 is a flowchart showing the flow of processing by the rule management unit.

【図11】アルゴリズム抽出処理部と診断処理部の処理
の流れを示すために使用する用語辞書、ソースプログラ
ム、変換ルール、設計情報、診断情報の例を示す説明図
である。
FIG. 11 is an explanatory diagram showing examples of a terminology dictionary, source program, conversion rules, design information, and diagnostic information used to show the flow of processing by the algorithm extraction processing section and the diagnosis processing section.

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

1    用語辞書 2    アルゴリズム抽出処理部 3    アルゴリズム詳細化処理部 4    診断処理部 5    プログラム設計情報管理部 6    ルール管理部 7    設計情報 8    ソースプログラム 9    ルールベース 10    変換ルール 11    設計ルール 12    用語情報 13    設計パターン 1. Terminology dictionary 2 Algorithm extraction processing section 3 Algorithm detailing processing unit 4 Diagnosis processing section 5 Program design information management department 6. Rules Management Department 7 Design information 8 Source program 9 Rule base 10 Conversion rules 11 Design rules 12 Terminology information 13 Design pattern

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  プログラム設計支援システムにおいて
、設計情報内で使用する用語とプログラム上の変数名と
の間の対応を用語情報として整理し、辞書形式で蓄積し
た用語辞書と、ソースプログラムと設計内容を設計パタ
ーンとして持つ設計情報の内容とを管理するプログラム
設計情報管理部と、設計情報の内容を詳細化または概要
化するための変換方法を変換ルールとしてルールベース
に蓄積して管理するルール管理部と、変換ルールに基づ
いて設計情報の内容を変換し、処理概要を表す設計情報
を作成するアルゴリズム抽出処理部とを有することを特
徴とするプログラム設計方式。
Claim 1: In a program design support system, the correspondence between terms used in design information and variable names on a program is organized as terminology information, and a terminology dictionary stored in a dictionary format, a source program, and design contents are provided. A program design information management section that manages the contents of design information having design patterns as design patterns, and a rule management section that stores and manages conversion methods for detailing or summarizing the contents of design information in a rule base as conversion rules. and an algorithm extraction processing unit that converts the content of design information based on conversion rules and creates design information representing a processing outline.
【請求項2】  プログラム設計支援システムにおいて
、設計情報内で使用する用語とプログラム上の変数名と
の間の対応を用語情報として整理し、辞書形式で蓄積し
た用語辞書と、ソースプログラムと設計内容を設計パタ
ーンとして持つ設計情報の内容とを管理するプログラム
設計情報管理部と、設計情報の内容を詳細化または概要
化するための変換方法を変換ルールとしてルールベース
に蓄積して管理するルール管理部と、処理概要を表す設
計情報の内容を変換ルールに基づいて変換し、詳細な処
理内容を表す設計情報を作成するアルゴリズム詳細化処
理部とを有することを特徴とするプログラム設計方式。
Claim 2: In a program design support system, the correspondence between terms used in design information and variable names on a program is organized as terminology information, and a terminology dictionary stored in a dictionary format, a source program, and design contents are provided. A program design information management section that manages the contents of design information having design patterns as design patterns, and a rule management section that stores and manages conversion methods for detailing or summarizing the contents of design information in a rule base as conversion rules. and an algorithm detailing processing unit that converts the content of design information representing a processing outline based on a conversion rule and creates design information representing detailed processing content.
【請求項3】  プログラム設計支援システムにおいて
、設計情報内で使用する用語とプログラム上の変数名と
の間の対応を用語情報として整理し、辞書形式で蓄積し
た用語辞書と、ソースプログラムと設計内容を設計パタ
ーンとして持つ設計情報の内容とを管理するプログラム
設計情報管理部と、設計情報の内容を検査するための検
査内容を設計ルールとしてルールベースに蓄積して管理
するルール管理部と、設計情報の内容からルールベース
内の設計ルールで指定された設計パターンを検出し、設
計内容の診断を行う診断処理部とを有することを特徴と
するプログラム設計方式。
3. In a program design support system, a terminology dictionary that organizes correspondence between terms used in design information and variable names on a program as terminology information and is stored in a dictionary format, a source program, and design contents. a program design information management section that manages the contents of design information having design information as a design pattern; a rule management section that stores and manages inspection contents for inspecting the contents of design information in a rule base as design rules; 1. A program design method comprising: a diagnosis processing unit that detects a design pattern specified by a design rule in a rule base from the contents of the rule base and diagnoses the design contents.
【請求項4】  変換ルール及び設計ルールを格納する
ルールベースを複数個管理するルール管理部を有するこ
とを特徴とする請求項1乃至請求項3のプログラム設計
方式。
4. The program design method according to claim 1, further comprising a rule management section that manages a plurality of rule bases storing conversion rules and design rules.
JP3014988A 1991-01-16 1991-01-16 Program designing system Pending JPH04242427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3014988A JPH04242427A (en) 1991-01-16 1991-01-16 Program designing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3014988A JPH04242427A (en) 1991-01-16 1991-01-16 Program designing system

Publications (1)

Publication Number Publication Date
JPH04242427A true JPH04242427A (en) 1992-08-31

Family

ID=11876332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3014988A Pending JPH04242427A (en) 1991-01-16 1991-01-16 Program designing system

Country Status (1)

Country Link
JP (1) JPH04242427A (en)

Similar Documents

Publication Publication Date Title
JPS63181033A (en) Automatic program generating system
JPH08190587A (en) Simulation system for application process
US5303147A (en) Computer aided planning method and system
JPH05257661A (en) Software production system
JPH11306046A (en) Test case generation system and method
JPH0540616A (en) Method for generating program specifications
JP2914664B2 (en) Automatic programming device
JPH03241439A (en) Test data preparation tool
JPH04242427A (en) Program designing system
JPS58112127A (en) Forming system of data input means
JPH08314706A (en) Software development support system
JPS62177627A (en) Production of parts segmenting program
JPH0850576A (en) Visually interactive simulator
JPH0916652A (en) Method and device for analyzing simulation result of circuit
JPH0954704A (en) Automatic test program generating system for language processor
JPH06214777A (en) Method and device for developiig program
JP2002049647A (en) Design support system
JPH03141427A (en) Preparation of information on standard record specifications
JPH05101032A (en) Simulation model generator
JPH0612248A (en) Automatic programming system
JPH04218833A (en) Program correction quantity deciding processor
JPS60178535A (en) Execution definition type command system for processing
JPH11149490A (en) Method for generating program for design standard check and device for automatically generating program for design standard check
JP2001134468A (en) Device and method for testing gui program test
JPH08249193A (en) Checking system for language specification range of program