JPH02259873A - Method for synthesizing table processing program - Google Patents

Method for synthesizing table processing program

Info

Publication number
JPH02259873A
JPH02259873A JP1078275A JP7827589A JPH02259873A JP H02259873 A JPH02259873 A JP H02259873A JP 1078275 A JP1078275 A JP 1078275A JP 7827589 A JP7827589 A JP 7827589A JP H02259873 A JPH02259873 A JP H02259873A
Authority
JP
Japan
Prior art keywords
program
parts
table processing
processing program
program 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
JP1078275A
Other languages
Japanese (ja)
Inventor
Suketsugu Nagamatsu
永松 祐嗣
Teruhisa Yasu
輝久 安
Hideki Chigira
千吉良 英毅
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
Hitachi Nuclear Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Nuclear Engineering Co 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, Hitachi Nuclear Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP1078275A priority Critical patent/JPH02259873A/en
Publication of JPH02259873A publication Critical patent/JPH02259873A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To synthesize a complete program code, which is coincident with request information, by extracting suitable program parts from a meaning network knowledge base, in which the existent table processing program parts are accumulated, and matching an interface between the parts. CONSTITUTION:An inference processor 2 and a meaning network knowledge base 3 are provided and the table processing program, which is already prepared, is accumulated as the program parts in the expression of meaning network knowledge corresponding to a meaning network. By using the data type of a table writing item extracted from the request information, the suitable program parts are selected from the meaning network, in which the existent table processing program parts are accumulated, by pattern matching, and the interface state of a selected program parts group is decided. When there is mismatching, a mismatched part is corrected by inference and as the program parts group to be matched to the request information, the whole program code is generated from the group of these program parts. Thus, the table processing program can be efficiently generated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ソフトウェア開発支援システムに係わり、特
に、プログラム設計者が、既存のプログラムの定義を利
用して新しいプログラムを作成する場合に好適なプログ
ラム情報の蓄積・利用技術に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a software development support system, and is particularly suitable for when a program designer creates a new program using the definition of an existing program. Regarding technology for storing and using program information.

〔従来の技術〕[Conventional technology]

従来、特願昭58−126052号に記載されるような
表作成方式が知られている。
Conventionally, a table creation method as described in Japanese Patent Application No. 126052/1982 has been known.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、表の項目の間の階層関係に着目して1
表の項目間の階層関係と、項目自体の属性を記述して、
開発したい表処理プログラムを生成する方法であり、利
用者は、表を作成する装置のハードウェアの特性(画面
メモリの番地、画面表示制御コード等)を知らなくても
表の論理的関係のみを記述すれば自動的に表処理プログ
ラムを生成できるが、項目の間の関係と、項目の属性を
全て利用者が与える必要があるという問題があった。
The above conventional technology focuses on hierarchical relationships between table items.
Describe the hierarchical relationships between table items and the attributes of the items themselves,
This is a method of generating a table processing program that the user wants to develop, and the user can understand only the logical relationships of the table without knowing the hardware characteristics of the device that creates the table (screen memory address, screen display control code, etc.). Although it is possible to automatically generate a table processing program by writing a table, there is a problem in that the user must provide all the relationships between items and the attributes of the items.

本発明の目的は、表処理プログラムを作るために、既に
開発された表処理プログラムの表処理構造及び意味内容
を用いて、利用者からの表処理に対する要求情報に合致
するような表処理プログラムを効率的に生成することに
ある。
An object of the present invention is to create a table processing program that matches the user's request information for table processing by using the table processing structure and semantic content of the table processing program that has already been developed. The goal is to generate it efficiently.

〔課題を解決するための手段〕 上記目的は、表作成の表処理プログラムをプログラム部
品として意味ネットワークに対応させて意味ネットワー
ク型知識表現で蓄積しておき、要求情報中から抽出した
表記述項目のデータ型を用いて、既存の表処理プログラ
ム部品を蓄積した意味ネットワーク中から、パターンマ
ツチングにより、適切なプログラム部品を選択し1選択
したプログラム部品群のインタフェース状態を判定し。
[Means for solving the problem] The above purpose is to store a table processing program for table creation as a program component in a semantic network type knowledge representation by making it correspond to a semantic network, and to store table description items extracted from request information. Using the data type, an appropriate program component is selected by pattern matching from a semantic network in which existing table processing program components are accumulated, and the interface state of the selected program component group is determined.

不整合があれば、不整合部分を推論により修正して、要
求情報に対して整合のどれたプログラム部品群として、
これらのプログラム部品群から全体のプログラムコード
を生成することにより達成される。
If there are any inconsistencies, the inconsistencies are corrected by inference and a group of program parts that are consistent with the required information are created.
This is achieved by generating the entire program code from a group of these program parts.

〔作用〕[Effect]

本発明の方法は、既存の表処理プログラムを、表処理構
造の意味ネットワークにより表現しておき、利用者から
の要求仕様を解析することにより、要求仕様中から表処
理必要項目を抽出し、抽出した表処理作成項目に対応す
る部品を意味ネットワークから抽出する。
The method of the present invention expresses an existing table processing program using a semantic network of table processing structures, and extracts necessary items for table processing from the request specifications by analyzing the request specifications from the user. Components corresponding to the created table processing items are extracted from the semantic network.

意味ネットワークは、表処理プログラムが葉相互間に順
序関係を持つ根の部分が表処理作成項目に対応する本構
造を与える形式であり、根に相当する表処理項目と、そ
の項目の中に含まれる下位の表処理項目との関係を表現
する。
A semantic network is a format in which a table processing program gives a main structure in which the root part has an order relationship between leaves and corresponds to the table processing creation item, and the table processing item corresponding to the root and the items included in that item are Expresses the relationship with lower-level table processing items.

要求情報中の表処理の項目のデータ型と、意味ネットワ
ーク中の部分構造である木構造の根のノードに当たるデ
ータ型とのマツチングにより、適切な木構造を選択する
。木構造は、それぞれ、表処理プログラムのプログラム
部品となる。
An appropriate tree structure is selected by matching the data type of the table processing item in the request information with the data type of the root node of the tree structure, which is a partial structure in the semantic network. Each tree structure becomes a program component of a table processing program.

横木した要求情報に対して適切なプログラム部品群のイ
ンタフェースの整合化を図る。プログラム部品間のイン
タフェースの状態は、■正常接続、■矛盾がある場合、
■下位プログラム部品が不足する場合、■上位プログラ
ム部品中に必要なF位プログラム部品のデータ型が欠落
する場合がある。
We aim to harmonize the interfaces of appropriate program component groups for the cross-linked request information. The status of the interface between program parts is: ■ Normal connection, ■ If there is a conflict,
(2) When there is a shortage of lower-level program parts, (2) The data type of a necessary F-rank program part may be missing from the upper-level program parts.

■、■、■の場合に推論によりプログラム部品間を整合
化する。
In the cases of ■, ■, and ■, the program parts are made consistent by inference.

要求仕様に合致したプログラムコードの生成方法は1部
品間インタフェースの整合化されたプログラム部品の各
々に対応したコードからデータの流れに沿って1本のプ
ログラムコードに合成して作成する。
A method for generating a program code that meets the required specifications is to create a single program code by combining codes corresponding to each of the harmonized program parts of the interface between parts into a single program code along the data flow.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図から第11図によV説
明する。
Hereinafter, one embodiment of the present invention will be explained with reference to FIGS. 1 to 11.

先ず、本実施例の構成を説明する。第2図に、本実施例
の全体構成図を示す。
First, the configuration of this embodiment will be explained. FIG. 2 shows an overall configuration diagram of this embodiment.

1は入出力端末装置であり、利用者が作成したい要求の
入力、及び、推論部からの問い合わせの表示と応答に使
用する。2は、推論処理装置であり、入出力端末装置1
からの入力に対し、要求仕様に合致する表処理プログラ
ムを推論により生成する装置である。3は、意味ネット
ワーク型知識ベースであり、既存の表処理プログラムを
プログラム部品として表現し蓄積しておき、推論処理袋
Reference numeral 1 denotes an input/output terminal device, which is used to input requests that the user wants to create, and to display and respond to inquiries from the inference section. 2 is an inference processing device, and an input/output terminal device 1
This is a device that uses inference to generate a table processing program that meets the required specifications based on the input from the computer. 3 is a semantic network type knowledge base, in which existing table processing programs are expressed and stored as program parts and used as an inference processing bag.

置2が知識ベースとして利用する。Station 2 uses it as a knowledge base.

推論処理袋[2は、要求情報解析部4、プログラム部品
選択推論部5、プログラム部品整合推論部6、プログラ
ムコード生成部7とから成る。要求情報解析部4は、入
出力端床袋f11からの利用富の表処理プログラムへの
要求情報を解析し、表処理プログラムで必要とされる表
処理項目のデータ型を抽出する。プログラム部品選定推
論部5は。
The inference processing bag [2 includes a request information analysis section 4, a program component selection inference section 5, a program component matching inference section 6, and a program code generation section 7. The request information analysis unit 4 analyzes the request information from the input/output end floor bag f11 to the table processing program of usage wealth, and extracts the data type of the table processing item required by the table processing program. The program component selection inference section 5 is.

要求情報中から抽出した表処理項目のデータ型と。Data type of table processing item extracted from request information.

意味ネットワーク型知識ベース3中に蓄えられた表処理
項目のデータ型とのマツチングにより、適切なプログラ
ム部品を選定・抽出する。プログラム部品整合推論部6
は、選定・抽出したプログラム部品群の部品間のインタ
フェースを推論により整合化する。データ値入力部品作
成部30は、他システム(データベースなど)から表項
目の値エリアへのデータ値の転送を行うプログラム部品
を作成する。プログラムコード生成部7は、整合化のと
れたプログラム部品群から、要求仕様に合致した全体の
プログラムコードを生成する。
Appropriate program parts are selected and extracted by matching the data types of table processing items stored in the semantic network type knowledge base 3. Program component consistency inference section 6
The program harmonizes the interfaces between the selected and extracted program parts by inference. The data value input component creation unit 30 creates a program component that transfers data values from another system (such as a database) to the value area of a table item. The program code generation unit 7 generates an entire program code that meets required specifications from a group of harmonized program parts.

表処理プログラムは、第11図に示すように、他システ
ムからのデータ値入力プログラム61と。
As shown in FIG. 11, the table processing program is a data value input program 61 from another system.

表示対話人カプログラム62とから成る。この内、プロ
グラム62を作成するのが中心的な技術課題となる。そ
こで、先ず、プログラム62のための方法を述べる。
It consists of a display dialog driver program 62. Among these, creating the program 62 is the central technical issue. Therefore, first, a method for the program 62 will be described.

意味ネットワーク型知識ベース3の中のプログラム部品
の構造を、第3図に示す、8,9等は、意味ネットワー
ク型知識ベース3の中のプログラム部品を示す、10.
13は、プログラム部品8゜9の表処理項目を表わす、
10.13は下位にある11,12,14,15などの
ノードは、表処理項目10.13のデータ型定義のため
に用いる項目のデータ型である。プログラム部品は、8
゜9のように全体のネットワーク構造中の部分構成水に
相当する。第3図の例では、8,9のプログラム部品を
示す部分木構造は両者とも、多階層となっているが、1
0と11と12だけから構成する単層層の部分木構造も
プログラム部品として扱うことができる。
The structure of the program parts in the semantic network type knowledge base 3 is shown in FIG. 3. 8, 9, etc. indicate the program parts in the semantic network type knowledge base 3. 10.
13 represents table processing items of program component 8゜9;
The nodes 11, 12, 14, 15, etc. below 10.13 are the data types of items used to define the data type of table processing item 10.13. The program parts are 8
9, it corresponds to water that constitutes a part of the entire network structure. In the example shown in Figure 3, the subtree structures showing program parts 8 and 9 are both multi-layered, but 1
A single-layer subtree structure consisting of only 0, 11, and 12 can also be treated as a program component.

プログラム部品9は、第4図、第5図に示すように表現
する。第4図で、16という項目は、下位に17.18
という項目を有しており、17゜18の間の関係が19
で示される表構成子(表の構造の入れ子及び順序関係)
で表されることを示している。第5図は、第4図の表処
理プログラム部品の定義をデータ型の定義として記述し
たものである。ここでは、定義式の左辺は、木構造の親
(根)の項目のデータ型名を表わし、右辺は、そのデー
タ型を定義する関係(左辺を定義するデータ型と、それ
らの順序関係)を示している0表処理中の集計項目など
の各項目ごとの属性は、項目ごとの属性情報格納エリア
中に持たせておく。
The program component 9 is expressed as shown in FIGS. 4 and 5. In Figure 4, the item 16 is listed as 17.18.
The relationship between 17° and 18 is 19
Table constructor shown in (nesting and order relationship of table structure)
It shows that it is expressed as . FIG. 5 shows the definition of the table processing program component shown in FIG. 4 as a data type definition. Here, the left side of the definition expression represents the data type name of the parent (root) item of the tree structure, and the right side represents the relationship that defines that data type (the data types that define the left side and their order relationship). Attributes for each item, such as the total item being processed in the 0 table shown, are stored in the attribute information storage area for each item.

次に、第1図に示す動作フローを用いて、本実施例の動
作を説明する。
Next, the operation of this embodiment will be explained using the operation flow shown in FIG.

本実施例では、先ず、32により、利用者からの要求情
報を解析する。要求情報の入力は表処理項目のデータ型
が抽出できるようなキーワードあるいは日本語文による
か、あるいは、既存の表処理プログラム部品による表を
入出力端末1へ表示し、その中の必要な項目を指定させ
ることにより得る0次に、33により32の解析結果か
ら表処理項目のデータ型を抽出する1次に、34により
In this embodiment, first, request information from the user is analyzed in step 32. Request information can be entered using keywords or Japanese text that can extract the data type of table processing items, or by displaying a table created by an existing table processing program component on the input/output terminal 1 and specifying the necessary items therein. The 0th order obtained by doing this, 33, the 1st order that extracts the data type of the table processing item from the analysis result of 32, and the 1st order, 34.

33で得られたデータ型に対応する部品を意味ネットワ
ークから抽出する。意味ネットワークからの抽出は、要
求情報−中の表処理項目のデータ型と意味ネットワーク
中のプログラム部品の定義のデータ型とのパターンマツ
チングにより行う。
Components corresponding to the data type obtained in step 33 are extracted from the semantic network. Extraction from the semantic network is performed by pattern matching between the data type of the table processing item in the request information and the data type of the definition of the program component in the semantic network.

次に、35により抽出したデータ型に対応するプログラ
ム部品間のインタフェースをチエツクする。その結果、
36では、プログラム部品間インタフェースの不整合の
有無を判定する0次に、不整合がある場合、37により
、不整合の種類を判定する。
Next, the interface between the program parts corresponding to the data type extracted in step 35 is checked. the result,
At step 36, it is determined whether or not there is a mismatch between program parts interfaces.If there is a mismatch, the type of the mismatch is determined at step 37.

不整合の種類として、欠落がある場合には、38により
、意味ネットワークから欠落するデータ型の部品の追加
抽出を試みる。その結果、41により、欠落するデータ
型に対応するプログラム部品の意味ネットワーク中での
有無を判定する。
If the type of inconsistency is missing, an attempt is made in step 38 to additionally extract parts of the missing data type from the semantic network. As a result, in step 41, it is determined whether or not a program component corresponding to the missing data type exists in the semantic network.

意味ネットワーク中に存在する場合、42により、意味
ネットワークから抽出し、追加する。意味ネットワーク
中に存在しない場合、43により、対話により欠落デー
タ型に対応するプログラム部品を作成する。
If it exists in the semantic network, it is extracted from the semantic network and added by 42. If it does not exist in the semantic network, 43 creates a program part corresponding to the missing data type through interaction.

37の不整合の種類として、不要部分が存在する場合、
39により、不要部分を特定化し、削除する。
37 types of inconsistency include when unnecessary parts exist,
39, unnecessary parts are specified and deleted.

37の不整合の種類として、抽出したデータ型に対応す
るプログラム部品間のインタフェースに矛盾(ミスマツ
チング)がある場合、40により、矛盾部分を特定化す
る0次に、44により、特定化した矛盾部分が推論で修
正できるか否かを判定する。その結果、修正可であれば
、45により知識を用いた推論により修正する。修正不
可であれば、46により、対話により、矛盾部分を解消
する。
As a type of inconsistency in 37, if there is a mismatch in the interface between program parts corresponding to the extracted data type, the inconsistent part is specified by 40. Next, the specified inconsistent part is specified by 44. Determine whether or not it can be corrected by inference. As a result, if it can be modified, it is modified by reasoning using knowledge in step 45. If it cannot be corrected, the conflicting portion is resolved through dialogue in step 46.

次に、42,43,45.46の処理後、全体のプログ
ラム部品間のインタフェースの不整合を判定し、整合が
とれておれば、47の他システムからのデータ値入力プ
ログラム部品の作成を行う。
Next, after processing steps 42, 43, 45, and 46, it is determined whether or not there is any inconsistency in the interface between the entire program components, and if there is a match, a program component 47 for inputting data values from other systems is created. .

他システムからのデータ値入力プログラム部品の作成は
、データベースなど他システムのファイルを入力し表表
示プログラムで用いる項目名と項目の値との対を出力す
るプログラムを作成する。他システムからのデータ値入
力プログラム部品は、データベースシステムなどの他シ
ステムへのアクセスモジュール(アクセス部品、データ
ベースには付属していることが多い)を用いて、表項目
の必要データを検索し、表処理項目のテーブルの値の設
定を行うことができるように合成する0次に、48によ
り、プログラム部品のプログラムコードを合成して完成
プログラムコードを出力する。
To create a program component for inputting data values from other systems, create a program that inputs files from other systems such as databases and outputs pairs of item names and item values used in the table display program. Program components that input data values from other systems use a module for accessing other systems such as a database system (access components, which are often attached to databases), search for the necessary data for table items, and Next, in step 48, the program codes of the program parts are synthesized to output a completed program code.

次に、簡単な例を用いて本方法を説明する。The method will now be explained using a simple example.

第6図に、例題の概要を示す、48,49゜50は、意
味ネットワーク中のプログラム部品である。51は、要
求情報である。52は、本方法により生成された表であ
る。第7図〜第9図にそれぞれ48,49.50のプロ
グラム部品の表を示す6次に、48,49.50のプロ
グラム部品の表処理項目のデータ型定義を示す。
FIG. 6 shows an outline of the example problem. Reference numerals 48, 49 and 50 are program parts in the semantic network. 51 is request information. 52 is a table generated by this method. 7 to 9 show tables for program parts 48 and 49.50, respectively. Next, data type definitions of table processing items for program parts 48 and 49.50 are shown.

部品Aの定義 〈損益計算書)::=(売上高〉〈売上原価〉〈販売費
及び一般管理費〉 〈売上原価> : :=<製品期首棚卸高〉〈当期製品
製造原価〉〈合計〉〈製品 期末棚卸高〉〈売上総利益〉 部品Bの定義 〈製品原価報告書> : :=<材料費°〉〈労務費〉
く間接費〉〈当期製品 製造原価〉 部品Cの定義 〈売上原価)::=(商品期首棚卸高〉〈当期簡品仕入
高〉〈商品期末棚卸高〉 く売上総利益〉 〈当期商品仕入高>::=<g品総仕入高〉〈仕入値引
及び戻し高〉 〈合計〉 本方法に対する入力となる要求情報として次の情報が得
られたとする。
Definition of Part A (Profit and Loss Statement): : = (Sales) <Cost of Sales><Selling, General and Administrative Expenses><Cost of Sales> : := <Product Inventory Amount><Product Manufacturing Cost for the Current Period><Total><Ending product inventory><Grossprofit> Definition of part B <Product cost report> : :=<Material cost°><Laborcost>
Indirect costs〉〈Product manufacturing cost for the current period〉 Definition of part C〈Cost of sales〉 ::= (Starting inventory of merchandise〉〈Purchases of simple items for the current period〉〈Ending inventory of merchandise〉 Gross profit on sales〉〉〈Cost of goods sold for the current period〉 >::=<Total purchase amount of g products><Purchase discount and return amount><Total> It is assumed that the following information is obtained as required information that is input to this method.

1、作成する表の種類 損益計算書 2、表処理項目 売上高、売上原価、販売費及び一般管理費等の項目 3、対象となる業種 流通業(製造業ではない、従って、製品項目ではなく、
商品項目が必要) 本方法では、部品間のインタフェースに関して次の推論
を行う。
1. Type of table to be created Income statement 2. Table processing items Sales, cost of goods sold, selling, general and administrative expenses, etc. 3. Target industry Distribution industry (not manufacturing, therefore not product items) ,
(requires product item) In this method, the following inferences are made regarding the interface between parts.

1、部品Aと部品Bとの間 部品Bは、部品Aの下位の項目であり、意味ネットワー
クにより接続されている0部品Aの項目全てが必要なら
ば、論理的な関係から部品■が必要である。しかし、例
題では1部品Aの製品項目が不要であるので、部品Bも
不要である。
1. Between part A and part B Part B is a subordinate item of part A, and if all the items of part A connected by the semantic network are required, part ■ is necessary from the logical relationship. It is. However, in the example problem, the product item for part A is unnecessary, so part B is also unnecessary.

2、部品Aと部品Cとの間 売上原価のデータ型の定義が、部品Aと部品Cとで矛盾
している(ミスマツチング)0部品Aでは、製品として
定義しているが、部品Cでは、商品として定義している
0例題では、流通業であるので商品として定義する必要
がある。知識(損益計算書を作成する業種が流通業であ
れば、売上原価の計算は商品をベースとして行う)を用
いた推論により、表処理項目の間の矛盾を解消する。こ
の結果、第10図52に示す表を作成する。
2. The data type definition of cost of sales between parts A and C is inconsistent between parts A and C (mismatching) 0 Part A is defined as a product, but part C is defined as a product. In example 0, which is defined as a product, it is a distribution industry, so it is necessary to define it as a product. Conflicts between table processing items are resolved by reasoning using knowledge (if the industry that prepares the income statement is a distribution industry, the cost of goods sold is calculated based on products). As a result, a table shown in FIG. 10 is created.

本実施例によれば1表処理プログラムを構成するプログ
ラム部品を表処理項目のデータ型とその定義、及び、プ
ログラムコードとして捉えることにより、要求情報に対
するプログラム部品の選定をデータ型により行ない、最
終的に生成するプログラムは、計算機実行に好都合なプ
ログラムコードとすることができ、高性能なプログラム
が効率的に得られるという点で効果がある。
According to this embodiment, by regarding the program parts that make up one table processing program as the data type of table processing item, its definition, and the program code, the selection of program parts for the requested information is performed based on the data type, and the final The program generated can be a program code that is convenient for computer execution, and is effective in that a high-performance program can be efficiently obtained.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、蓄積した表処理プログラムを。 According to the present invention, the accumulated table processing program.

蓄積の仕方を熟知していない利用者でも、表処理プログ
ラムに対する要求情報を入力すれば、既存の表処理プロ
グラム部品を蓄積した意味ネットワーク知識ベースから
適切なプログラム部品を選択・抽出し、抽出した部品間
のインタフェースの整合化を図り、要求情桝に合致する
完全なプログラムコードを合成できるので、プログラム
開発に携わる人間が必要とする作業工数を大幅に削減で
きるという効果がある。また、既存の高品質のプログラ
ムを利用できるので、開発するソフトウェアの品質向上
につながるという効果がある。
Even users who are not familiar with the storage method can select and extract appropriate program parts from the semantic network knowledge base that has accumulated existing table processing program parts by inputting the request information for the table processing program. Since it is possible to harmonize the interfaces between programs and synthesize complete program code that meets the requirements, it has the effect of significantly reducing the number of man-hours required by people involved in program development. Furthermore, since existing high-quality programs can be used, the quality of the software being developed can be improved.

近年来、プログラマは益々生産性向上を要求され、1人
の人間が複数の業務ソフトウェア・システムを担当した
り、短期間で次々と新しい業務に取り組まざるを得ない
状況にあり、本発明のように、プログラムの生産性を向
上させるだけでなく、計算機システムの最終利用者が既
存の高品質のプログラムを有効に活用して自分でプログ
ラムを開発できる方法の必要性が高まっている。
In recent years, programmers have been increasingly required to improve their productivity, and one person is forced to handle multiple business software systems or take on new tasks one after another in a short period of time. Therefore, there is an increasing need for a method that not only improves program productivity but also allows end users of computer systems to develop their own programs by effectively utilizing existing high-quality programs.

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

第1図は本発明の実施例の動作フロー図、第2図は本発
明の実施例の機能構成を示すブロック図、第3図は本発
明の実施例の意味ネットワーク型知識ベースの構成を示
す説明図、第4図、第5図は表処理項目のデータ型定義
構造を示す説明図、第6図は本実施例の概要を示す説明
図、第7図、第8図、第91fiはプログラム部品の表
現形式の説明図、第10図は出力される表の例を示す説
明図、第11図は本発明の実施例におけるプログラム構
成の関連を示すブロック図である。 1・・・入出力端末、2・・・推論処理装置、3・・・
プログラム部品の意味ネットワーク型知識ベース、4・
・・要求情報解析部、5・・・プログラム部品選択・推
論部、6・・・プログラム部品整合推論部、7・・・プ
ログラムコード生成部。 畜 ■ 図 第 ど 図 不 q 図 妥品O(7九透窯ナオφ)のf( 第 1ρ 図
FIG. 1 is an operational flow diagram of an embodiment of the present invention, FIG. 2 is a block diagram showing the functional configuration of an embodiment of the present invention, and FIG. 3 is a diagram showing the configuration of a semantic network type knowledge base of an embodiment of the present invention. Explanatory diagrams, Figures 4 and 5 are explanatory diagrams showing the data type definition structure of table processing items, Figure 6 is an explanatory diagram showing an overview of this embodiment, and Figures 7, 8, and 91fi are programs. FIG. 10 is an explanatory diagram showing an example of an output table. FIG. 11 is a block diagram showing the relationship of program configurations in an embodiment of the present invention. 1... Input/output terminal, 2... Reasoning processing device, 3...
Semantic network knowledge base for program parts, 4.
...Requirement information analysis section, 5. Program component selection/inference section, 6. Program component matching inference section, 7. Program code generation section. ■ Figure 1. Figure 1. Figure 1. Figure 1. Figure 1.

Claims (1)

【特許請求の範囲】 1、要求情報解析部とプログラム部品検索利用部とプロ
グラムコード出力部とからなる表処理プログラム作成方
法において、表処理が葉相互に順序関係をもつた木構造
と木構造の各接点の属性とにより表現できることから、
既存に表処理プログラムを木構造に表現してプログラム
部品として意味ネットワーク型知識ベースに蓄積してお
き、表処理プログラムへの要求情報を解析して、蓄積し
たプログラム部品とのマッチングにより適切なプログラ
ム部品を抽出するステップと、抽出したプログラム部品
間のインタフェースの整合状態を推論し、部品間のイン
タフェースの欠落部分、ミスマッチ部分、不要部分、を
要求に合致するように部品間のインタフェースの不整合
を推論により解消させるステップと、プログラム部品間
のインタフェースを整合化したプログラム部品からプロ
グラムコードを生成するステップとを設けたことを特徴
とする表処理プログラム合成方法。 2、要求情報の入力は、既存の表処理プログラムの表形
式を入出力端末上に表示させ、利用者が必要となる表項
目を選択させることによる指定もできる、特許請求の範
囲第1項記載の表処理プログラム合成方法。 3、表処理項目の値を、データベース等の他のシステム
装置から項目名との対応付けをすることにより入力し、
利用者からの要求に合致した表の表示、及び、項目への
値の設定もできる、特許請求の範囲第1項記載の表処理
プログラム合成方法。
[Claims] 1. In a table processing program creation method comprising a request information analysis section, a program component search utilization section, and a program code output section, table processing is performed using a tree structure in which leaves have an order relationship with each other and a tree structure. Since it can be expressed by the attributes of each contact point,
Existing table processing programs are represented in a tree structure and stored as program parts in a semantic network type knowledge base, and request information for the table processing program is analyzed and appropriate program parts are created by matching with the stored program parts. and inferring the consistency state of the interface between the extracted program parts, and inferring the inconsistency of the interface between the parts so that missing, mismatched, and unnecessary parts of the interface between the parts meet the requirements. 1. A method for synthesizing a table processing program, the method comprising: a step of resolving the problem, and a step of generating a program code from program parts that have harmonized interfaces between program parts. 2. Input of the requested information can also be specified by displaying the table format of an existing table processing program on an input/output terminal and allowing the user to select necessary table items, as described in claim 1. A table processing program synthesis method. 3. Input the values of table processing items by correlating them with item names from other system devices such as databases,
A table processing program synthesis method according to claim 1, which is capable of displaying a table that meets a request from a user and setting values for items.
JP1078275A 1989-03-31 1989-03-31 Method for synthesizing table processing program Pending JPH02259873A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1078275A JPH02259873A (en) 1989-03-31 1989-03-31 Method for synthesizing table processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1078275A JPH02259873A (en) 1989-03-31 1989-03-31 Method for synthesizing table processing program

Publications (1)

Publication Number Publication Date
JPH02259873A true JPH02259873A (en) 1990-10-22

Family

ID=13657426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1078275A Pending JPH02259873A (en) 1989-03-31 1989-03-31 Method for synthesizing table processing program

Country Status (1)

Country Link
JP (1) JPH02259873A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728636A (en) * 1993-07-12 1995-01-31 Toshiba Corp Graphical user interface construction assisting device
US5461714A (en) * 1990-09-28 1995-10-24 Kabushiki Kaisha Toshiba Apparatus for synthesizing an object described in an object-oriented language on the basis of a predetermined specification
JPWO2007116675A1 (en) * 2006-03-28 2009-08-20 テルモ株式会社 Body fluid component measuring device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5461714A (en) * 1990-09-28 1995-10-24 Kabushiki Kaisha Toshiba Apparatus for synthesizing an object described in an object-oriented language on the basis of a predetermined specification
JPH0728636A (en) * 1993-07-12 1995-01-31 Toshiba Corp Graphical user interface construction assisting device
JPWO2007116675A1 (en) * 2006-03-28 2009-08-20 テルモ株式会社 Body fluid component measuring device
JP4851514B2 (en) * 2006-03-28 2012-01-11 テルモ株式会社 Body fluid component measuring device

Similar Documents

Publication Publication Date Title
CN112099768B (en) Business process processing method and device and computer readable storage medium
Antkiewicz et al. FeaturePlugin: Feature modeling plug-in for Eclipse
US7734617B2 (en) Optimization using a multi-dimensional data model
US7447699B2 (en) Context-based heterogeneous information integration system
Vilain et al. A diagrammatic tool for representing user interaction in UML
US9075859B2 (en) Parameterized database drill-through
US7836119B2 (en) Distributed execution model for cross-organizational declarative web applications
JP2624753B2 (en) How to create higher-level specifications
JP2018516420A (en) Process and system for automatically generating functional architecture documents and software design / analysis specifications in natural language
US20110161371A1 (en) Sql generation
US20060010110A1 (en) Systems and methods that facilitate data mining
RU2340937C2 (en) Declarative sequential report parametrisation
US20110161941A1 (en) Creation of form-based applications
JP2010286910A (en) Information processor, information processing method, and program
JP3871832B2 (en) Data processing program automatic generation system and method, and computer-readable recording medium
JP2007087216A (en) Hierarchical dictionary preparing device, program and hierarchical dictionary preparing method
US20010037228A1 (en) System and method for using metadata to flexibly analyze data
AU2007200385B2 (en) Re-usuable clauses
KR20210150838A (en) System for providing virtual space renting service using virtual space archive
US7603332B2 (en) Devices, systems, and methods for mediated rule-based translation system configuration information
Berti et al. A generic approach to extract object-centric event data from databases supporting SAP ERP
JP3737294B2 (en) Electronic catalog using device and electronic catalog system
JPH02259873A (en) Method for synthesizing table processing program
JPH11316766A (en) Multidimensional analytical construction system and database for analytical processing
Liu CDADE: Conflict detector in activity diagram evolution based on speech act and ontology