JPH086791A - Universal class construction drawing generating method - Google Patents

Universal class construction drawing generating method

Info

Publication number
JPH086791A
JPH086791A JP6135463A JP13546394A JPH086791A JP H086791 A JPH086791 A JP H086791A JP 6135463 A JP6135463 A JP 6135463A JP 13546394 A JP13546394 A JP 13546394A JP H086791 A JPH086791 A JP H086791A
Authority
JP
Japan
Prior art keywords
class
name
identifier
structure diagram
class structure
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
JP6135463A
Other languages
Japanese (ja)
Inventor
Shigemitsu Sueyasu
重光 末安
Hiroyuki Chiba
寛之 千葉
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 Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP6135463A priority Critical patent/JPH086791A/en
Publication of JPH086791A publication Critical patent/JPH086791A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To generate a class construction drawing with high universal applicability considering object-oriented succession and making into a capsule. CONSTITUTION:After plural class construction drawings are inputted and desired adaptability factors for them are inputted, a rate of coincidence is calculated by performing matching among the semantic data of plural inputted class construction drawings, and the class construction drawing can be generated and outputted based on the data which satisfies the adaptability factor.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、汎用クラス構造図生成
方法に関し、特に、オブジェクト指向技術を用いたシス
テム開発を支援するオブジェクト指向分析/設計支援シ
ステムにおいて、業務分野の類似したシステムのクラス
構造図から同一データを抽出し、その業務分野に汎用的
なクラス構成図を生成するのに好適な汎用クラス構造図
生成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a general-purpose class structure diagram generation method, and more particularly, in an object-oriented analysis / design support system that supports system development using object-oriented technology, a class structure of systems similar to the business field. The present invention relates to a general-purpose class structure diagram generation method suitable for extracting the same data from a diagram and generating a general-purpose class configuration diagram for the business field.

【0002】[0002]

【従来の技術】近年、システムの保守性、再利用性を向
上できる新しいシステム開発技術として、オブジェクト
指向技術が注目されている。
2. Description of the Related Art In recent years, object-oriented technology has attracted attention as a new system development technology capable of improving system maintainability and reusability.

【0003】オブジェクト指向技術を用いたシステムの
分析/設計では、世の中に存在する”モノ”をオブジェ
クトとし、そのオブジェクト(クラスまたはインスタン
ス)間の関係を定義したクラス構造図を作成する。クラ
ス構造図は、オブジェクト指向分析/設計において最も
中心となるダイアグラムである。
In the analysis / design of a system using the object-oriented technology, a "thing" existing in the world is used as an object, and a class structure diagram defining a relationship between the objects (classes or instances) is created. The class structure diagram is the most central diagram in object-oriented analysis / design.

【0004】汎用クラス構造図とは、業務分野の類似し
たシステムのクラス構造図から、オブジェクト指向の特
徴である継承関係及びカプセル化を考慮に入れて同一デ
ータを抽出したクラス構造図である。
The general-purpose class structure diagram is a class structure diagram in which the same data is extracted from a class structure diagram of a system similar to a business field in consideration of inheritance relation and encapsulation which are object-oriented features.

【0005】従って、汎用クラス構造図を作成した業務
分野と同じシステムを新たに構築する場合、作成済みの
汎用クラス構造図を修正、変更することでシステムの分
析/設計が早期に行なえ、開発期間の軽減と信頼性の向
上が可能になる。
Therefore, in the case of newly constructing the same system as the business field in which the general-purpose class structure diagram was created, the analysis / design of the system can be performed early by modifying or changing the created general-purpose class structure diagram, and the development period Can be reduced and reliability can be improved.

【0006】従来、この種の汎用クラス構造図は、クラ
ス構造図の意味データを単に比較し、一致したデータを
汎用クラス構造図として出力するという方法で作成され
ていた。
Conventionally, this kind of general-purpose class structure diagram has been created by a method of simply comparing the semantic data of the class structure diagram and outputting the matched data as a general-purpose class structure diagram.

【0007】図14は、従来の汎用クラス構造図生成方
法を説明するためのフローチャートであり、まず、汎用
クラス構造図の対象となる複数のクラス構造図をオペレ
ータに選択させ、その選択されたクラス構造図を汎用ク
ラス構造図生成処理における入力データとして設定し
(ステップ201)、この後に、クラス構造図の意味デ
ータ間のデータ比較を行い、比較結果が同一データであ
る場合は、汎用クラス構造図の生成処理を行い(ステッ
プ202)、次に、その生成された汎用クラス構造図を
表示部へ出力する(ステップ203)。
FIG. 14 is a flow chart for explaining a conventional general-purpose class structure diagram generation method. First, an operator is made to select a plurality of class structure diagrams to be objects of the general-purpose class structure diagram, and the selected classes are selected. The structure diagram is set as input data in the general class structure diagram generation process (step 201), and then the data comparison between the semantic data of the class structure diagram is performed. If the comparison result is the same data, the general class structure diagram Is generated (step 202), and the generated general-purpose class structure diagram is output to the display unit (step 203).

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記の
従来のクラス構造図生成方法にあっては、オブジェクト
指向の特徴である「継承」及び「カプセル化」を考慮し
ていないため、適切な汎用クラス構造図が生成できない
という問題がある。
However, the conventional class structure diagram generation method described above does not consider the object-oriented features of "inheritance" and "encapsulation". There is a problem that the structure diagram cannot be generated.

【0009】また、完全に一致した意味データをクラス
構造図として生成するため、一致する意味データが少な
い場合は、汎用クラス構造図の利用度が減少するという
問題がある。
Further, since the completely matched semantic data is generated as a class structure diagram, there is a problem that the usage rate of the general-purpose class structure diagram is reduced when the number of matched semantic data is small.

【0010】本発明の目的は、オブジェクト指向の継承
及びカプセル化を考慮し、汎用性の高いクラス構造図を
作成するができる汎用クラス構造図生成方法を提供する
ことにある。
An object of the present invention is to provide a general-purpose class structure diagram generation method capable of creating a highly versatile class structure diagram in consideration of object-oriented inheritance and encapsulation.

【0011】[0011]

【課題を解決するための手段】本発明は、上記目的を達
成するために、基本的には、複数のクラス構造図を入力
すると共に、そのクラス構造図に対する任意の適合率を
入力した後、入力された複数のクラス構造図の意味デー
タ間のマッチングを行って一致率を算出し、該一致率に
基づいて前記適合率を満たす意味データを抽出し、該意
味データ間のクラス構造図を生成することを特徴とす
る。
In order to achieve the above-mentioned object, the present invention basically inputs a plurality of class structure diagrams and, after inputting an arbitrary matching rate for the class structure diagrams, Matching between semantic data of a plurality of input class structure diagrams is performed to calculate a matching rate, and semantic data satisfying the matching rate is extracted based on the matching rate to generate a class structure diagram between the semantic data. It is characterized by doing.

【0012】[0012]

【作用】本発明によれば、まず、オペレータに汎用クラ
ス構造図の生成対象となる複数のクラス構造図を入力す
ると共に、そのクラス構造図に対する任意の適合率を入
力させる。この後、入力された複数のクラス構造図の意
味データ間のマッチングを行って一致率を算出し、該一
致率に基づいて前記適合率を満たす意味データを抽出
し、該意味データ間のクラス構造図を生成する。
According to the present invention, first, an operator is made to input a plurality of class structure diagrams for which general-purpose class structure diagrams are to be generated, and at the same time, an arbitrary matching rate for the class structure diagrams is inputted. Thereafter, matching is performed between the semantic data of the input plurality of class structure diagrams to calculate the matching rate, and the semantic data satisfying the matching rate is extracted based on the matching rate, and the class structure between the semantic data is extracted. Generate the diagram.

【0013】これにより、各クラス構造図の継承関係の
構成によらず適切で汎用性が高い汎用クラス構造図を生
成することができる。
Thus, it is possible to generate a general-purpose class structure diagram that is appropriate and has high versatility regardless of the configuration of the inheritance relationship of each class structure diagram.

【0014】[0014]

【実施例】以下、本発明の一実施例を図面に基づき詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0015】図1は、本発明をオブジェクト指向分析/
設計システムに適用した場合の一実施例を示すシステム
構成ブロック図である。
FIG. 1 illustrates the present invention as an object-oriented analysis /
It is a system configuration block diagram which shows one Example at the time of applying to a design system.

【0016】図1において、101はクラス構造図及び
汎用クラス構造図を表示する表示部、102は汎用クラ
ス構造図の適合率を入力する入力部、103は複数シス
テムのクラス構造図から共通部分を抽出して汎用クラス
構造図を生成する処理部、104は複数のクラス構造図
及び汎用クラス構造図を記憶するクラス構造図記憶部、
105は汎用クラス構造図の適合率を記憶する適合率記
憶部である。
In FIG. 1, 101 is a display unit for displaying a class structure diagram and a general-purpose class structure diagram, 102 is an input unit for inputting a conformance ratio of the general-purpose class structure diagram, and 103 is a common part from the class structure diagrams of a plurality of systems. A processing unit for extracting and generating a general class structure diagram; 104 a class structure diagram storage unit for storing a plurality of class structure diagrams and a general class structure diagram;
Reference numeral 105 denotes a matching rate storage unit that stores the matching rate of the general-purpose class structure diagram.

【0017】図2は、実施例の入力データとなるクラス
構造図の一例を示す図であり、同図(a)はクラス構造
図A410、同図(b)はびクラス構造図B430であ
る。
FIG. 2 is a diagram showing an example of a class structure diagram which is input data of the embodiment. FIG. 2A is a class structure diagram A410 and FIG. 2B is a class structure diagram B430.

【0018】クラス構造図A410は、クラス”人”4
11、”従業員”414、”銀行”417とそれらのク
ラス間の関係から構成されている。
Class structure diagram A410 shows class "person" 4
11, "Employees" 414, "Banks" 417 and the relationships between those classes.

【0019】クラス”人”411は、属性に”名前”4
12、”住所”413を持つ。クラス”従業員”414
は、属性に”役職”415、メソッドに”給与計算”4
16を持つ。
The class "person" 411 has an attribute "name" 4
12, has "address" 413. Class "Employee" 414
Has "Title" 415 as attribute and "Payroll" 4 as method
Have 16.

【0020】クラス”銀行”417は、属性に”名前”
418、メソッドに”雇用”419を持つ。クラス”
人”411と”従業員”414の関係は、継承関係”一
種である”420という関係がある。
The class "bank" 417 has the attribute "name"
418, has "employment" 419 in the method. class"
The relationship between the person “411” and the “employee” 414 is a succession relationship “a type” 420.

【0021】クラス”従業員”414と”銀行”417
の関係は、多対1関係の”雇う”421という関係があ
る。
Class "employee" 414 and "bank" 417
Is related to "hire" 421, which is a many-to-one relationship.

【0022】同様に、クラス構造図B430は、クラ
ス”人”431、”従業員”433、”郵便局”437
とそれらのクラス間の関係から構成されている。
Similarly, the class structure diagram B430 has classes "person" 431, "employee" 433, "post office" 437.
And the relationships between those classes.

【0023】クラス”人”431は、属性に”名前”4
32を持つ。クラス”従業員”433は、属性に”住
所”434、”役職”435、メソッドに”給与計算”
436を持つ。
The class "person" 431 has an attribute "name" 4
Have 32. Class "employee" 433 has attributes "address" 434, "post" 435, and method "payroll"
Has 436.

【0024】クラス”郵便局”437は、属性に”名
前”438、メソッドに”雇用”439を持つ。クラ
ス”人”431と”従業員”433の関係は、継承関
係”一種である”440という関係がある。
The class "Post Office" 437 has "Name" 438 as an attribute and "Employment" 439 as a method. The relationship between the class “person” 431 and the “employee” 433 is a succession relationship “a type” 440.

【0025】また、クラス”従業員”433と”郵便
局”437の関係は、多対1関係”雇う”441という
関係がある。
The relationship between the class "employee" 433 and the "post office" 437 is a many-to-one relationship "hire" 441.

【0026】図4〜図7図は、図2のクラス構造図A4
01及びクラス構造図B413をクラス構造図記憶部1
04へ格納した意味データのテーブル形式を示す図であ
る。このテーブル510の種類は、実体型と関連型の大
きく2つが存在する。
4 to 7 show the class structure diagram A4 of FIG.
01 and the class structure diagram B413 to the class structure diagram storage unit 1
It is a figure which shows the table format of the meaning data stored in 04. There are roughly two types of the table 510, a substantial type and a related type.

【0027】クラス構造図A410の意味データのテー
ブルは、実体型クラステーブル511、実体型属性テー
ブル512、実体型メソッドテーブル513、実体型汎
化テーブル514、実体型多対1テーブル515、関連
型属性テーブル516、関連型メソッドテーブル51
7、関連型汎化テーブル518、関連型多対1テーブル
519から構成される。
The table of the semantic data of the class structure diagram A410 includes the entity type class table 511, the entity type attribute table 512, the entity type method table 513, the entity type generalization table 514, the entity type many-to-one table 515, and the association type attribute. Table 516, related type method table 51
7, related type generalization table 518, and related type many-to-one table 519.

【0028】このうち実体型クラステーブル511
は、”識別子”、”クラス名”、クラス名の”意味”の
フィールドから構成され、クラス名の値として図2の”
人”411、”従業員”414、”銀行”417を持
つ。
Of these, the entity type class table 511
Consists of "identifier", "class name", and "meaning" field of the class name.
It has a person “411”, an “employee” 414, and a “bank” 417.

【0029】実体型属性テーブル512は、”識別
子”、”属性名”、属性名の”意味”、”サイズ”、”
タイプ”のフィールドから構成され、属性名の値として
図2の”名前”412及び418、”住所”413、”
役職”415を持つ。
The entity type attribute table 512 includes "identifier", "attribute name", "meaning" of attribute name, "size", and "size".
It is composed of fields of "type", and "name" 412 and 418, "address" 413, "of FIG.
Holds a post “415”.

【0030】実体型メソッドテーブル513は、”識別
子”、”メソッド名”、メソッド名の”意味”のフィー
ルドから構成され、メソッド名の値として図2の”給与
計算”416、”雇用”419をメソッド名として持
つ。
The substantive method table 513 is composed of fields of "identifier", "method name", and "meaning" of the method name, and "salary calculation" 416 and "employment" 419 of FIG. 2 are set as the value of the method name. Have as a method name.

【0031】実体型汎化テーブル514は、”識別
子”、”汎化名”、汎化名の”意味”のフィールドから
構成され、汎化名の値として図2の”一種である”42
0を持つ。
The entity type generalization table 514 is composed of fields of "identifier", "generalization name", and "meaning" of the generalization name, and the value of the generalization name is "one type" 42 in FIG.
Has 0.

【0032】実体型多対1テーブル515は、”識別
子”、”多対1名”、多対1名の”意味”のフィールド
から構成され、多対1名として図2の”雇う”421を
持つ。
The substantial type many-to-one table 515 is composed of fields of "identifier", "many-to-one name", and "meaning" of many-to-one name, and "hire" 421 in FIG. To have.

【0033】関連型属性テーブル507は、”識別
子”、”クラス.識別子”、”属性.識別子”のフィール
ドから構成され、クラス.識別及び属性.識別子の値とし
て、実体型クラステーブル511と実体型属性テーブル
512のレコード識別子の組、”ec001, ea001”、”ec
002, ea002”、”ec002, ea003”、”ec003, ea001”を
持つ。
The related type attribute table 507 is composed of fields of "identifier", "class.identifier", and "attribute.identifier". As the value of class.identification and attribute.identifier, the entity type class table 511 and the entity type are stored. A set of record identifiers in the attribute table 512, "ec001, ea001", "ec
It has 002, ea002 ”,“ ec002, ea003 ”, and“ ec003, ea001 ”.

【0034】関連型メソッドテーブル517は、”識別
子”、”クラス.識別子”、”メソッド.識別子”のフィ
ールドから構成され、クラス.識別子及びメソッド.識別
子の値として、実体型クラステーブル511と実体型メ
ソッドテーブル513のレコード識別子の組、”ec002,
em001”、”ec003, em002”を持つ。
The related type method table 517 is composed of fields of "identifier", "class.identifier", and "method.identifier". The entity type class table 511 and the entity type are used as the values of the class.identifier and the method.identifier. A set of record identifiers in the method table 513, “ec002,
It has “em001” and “ec003, em002”.

【0035】関連型汎化テーブル518は、”識別
子”、”汎化.識別子”、”クラス[上位].識別子”、”
クラス[下位].識別子”のフィールドから構成され、汎
化.識別子、クラス[上位].識別子及びクラス[下位].識
別子の値として、実体型汎化テーブル514と実体型ク
ラステーブル511の組、”eg001, ec001, ec002”を
持つ。
The relational generalization table 518 includes "identifier", "generalization.identifier", "class [upper] .identifier", "
"Class [lower] .Identifier" field, and a set of the entity type generalization table 514 and the entity type class table 511 is used as the value of the generalization.identifier, class [upper] .identifier and class [lower]. It has “eg001, ec001, ec002”.

【0036】関連型多対1テーブル519は、”識別
子”、”多対1.識別子”、”クラス[多].識別子”、”
クラス[1].識別子”のフィールドから構成され、多対
1.識別子、クラス[多].識別及びクラス[1].識別子の
値として、実体型多対1テーブル515と実体型クラス
テーブル511の組、”ep001, ec002, ec003”を持
つ。
The association type many-to-one table 519 has "identifier", "many-to-one identifier", "class [many] .identifier", "
Class [1] .Identifier ”field, and the values of the many-to-one identifier, class [many] .identification and class [1] .identifier are stored in the entity type many-to-one table 515 and the entity type class table 511. It has a pair, "ep001, ec002, ec003".

【0037】同様に、クラス構造図B430意味データ
のテーブル520は、図6および図7に示すように、実
体型クラステーブル521、実体型属性テーブル52
2、実体型メソッドテーブル523、実体型汎化テーブ
ル524、実体型多対1テーブル525、関連型属性テ
ーブル526、関連型メソッドテーブル527、関連型
汎化テーブル528、関連型多対1テーブル529から
構成される。
Similarly, as shown in FIGS. 6 and 7, the table 520 of the class structure diagram B430 semantic data includes the entity type class table 521 and the entity type attribute table 52.
2, from entity type method table 523, entity type generalization table 524, entity type many-to-one table 525, relation type attribute table 526, relation type method table 527, relation type generalization table 528, relation type many-to-one table 529 Composed.

【0038】このうち、実体型クラステーブル521
は、”識別子”、”クラス名”、クラス名の”意味”の
フィールドから構成され、クラス名の値として図2の”
人”431、”従業員”433、”郵便局”437を持
つ。
Of these, the entity type class table 521
Consists of "identifier", "class name", and "meaning" field of the class name.
It has a person "431", an "employee" 433, and a "post office" 437.

【0039】実体型属性テーブル522は、”識別
子”、”属性名”、属性名の”意味”、”サイズ”、”
タイプ”のフィールドから構成され、属性名の値として
図2の”名前”432及び438、”住所”434、”
役職”435を持つ。
The entity-type attribute table 522 has "identifier", "attribute name", "meaning" of attribute name, "size", and "size".
2 is composed of fields of "type" and "name" 432 and 438 and "address" 434, "of FIG.
Holds a post “435”.

【0040】実体型メソッドテーブル523は、”識別
子”、”メソッド名”、メソッド名の”意味”のフィー
ルドから構成され、メソッド名の値として図2の”給与
計算”436、”雇用”439を持つ。
The substantive method table 523 is composed of fields of "identifier", "method name", and "meaning" of the method name, and "payroll calculation" 436 and "employment" 439 of FIG. 2 are set as the value of the method name. To have.

【0041】実体型汎化テーブル524は、”識別
子”、”汎化名”、汎化名の”意味”のフィールドから
構成され、汎化名の値として図2の”一種である”44
0を持つ。
The entity type generalization table 524 is composed of fields of "identifier", "generalization name", and "meaning" of the generalization name, and the value of the generalization name is "one type" 44 in FIG.
Has 0.

【0042】実体型多対1テーブル525は、”識別
子”、”多対1名”、多対1名の”意味”のフィールド
から構成され、多対1名として図2の”雇う”441を
持つ。
The substantial type many-to-one table 525 is composed of fields of "identifier", "many-to-one name", and "meaning" of many-to-one name, and "hire" 441 in FIG. To have.

【0043】関連型属性テーブル526は、”識別
子”、”クラス.識別子”、”属性.識別子”のフィール
ドから構成され、クラス.識別及び属性.識別子の値とし
て、実体型クラステーブル521と実体型属性テーブル
522のレコード識別子の組、”ec001, ea001”、”ec
001, ea002”、”ec002, ea003”、”ec003, ea001”を
持つ。
The related type attribute table 526 is composed of fields of "identifier", "class.identifier", and "attribute.identifier". As the value of class.identification and attribute.identifier, the entity type class table 521 and the entity type are stored. A set of record identifiers in the attribute table 522, "ec001, ea001", "ec
It has 001, ea002 ”,“ ec002, ea003 ”, and“ ec003, ea001 ”.

【0044】関連型メソッドテーブル527は、”識別
子”、”クラス.識別子”、”メソッド.識別子”のフィ
ールドから構成され、クラス.識別子及びメソッド.識別
子の値として、実体型クラステーブル521と実体型メ
ソッドテーブル523のレコード識別子の組、”ec002,
em001”、”ec003, em002”を持つ。
The related type method table 527 is composed of fields of "identifier", "class.identifier", and "method.identifier". The entity type class table 521 and the entity type are used as the values of the class.identifier and the method.identifier. A set of record identifiers in the method table 523, “ec002,
It has “em001” and “ec003, em002”.

【0045】関連型汎化テーブル528は、”識別
子”、”汎化.識別子”、”クラス[上位].識別子”、”
クラス[下位].識別子”のフィールドから構成され、汎
化.識別子、クラス[上位].識別子及びクラス[下位].識
別子の値として、実体型汎化テーブル524と実体型ク
ラステーブル521の組、”eg001, ec001, ec002”を
持つ。
The relational generalization table 528 includes "identifier", "generalization.identifier", "class [upper] .identifier", "
"Class [lower] .Identifier" field, and a set of the entity type generalization table 524 and the entity type class table 521 is used as the value of the generalization.identifier, class [upper] .identifier and class [lower]. It has “eg001, ec001, ec002”.

【0046】関連型多対1テーブル529は、”識別
子”、”多対1.識別子”、”クラス[多].識別子”、”
クラス[1].識別子”のフィールドから構成され、多対
1.識別子、クラス[多].識別及びクラス[1].識別子の
値として、実体型多対1テーブル525と実体型クラス
テーブル521の組、”ep001, ec002, ec003”を持
つ。
The relational many-to-one table 529 has "identifier", "many-to-one identifier", "class [many] .identifier", "
Class [1] .Identifier ”field, and the values of the many-to-one identifier, class [many] .identification and class [1] .identifier are stored in the entity type many-to-one table 525 and the entity type class table 521. It has a pair, "ep001, ec002, ec003".

【0047】図8〜図11は、本発明の処理過程で生成
される中間テーブルを示す図である。
8 to 11 are diagrams showing an intermediate table generated in the processing steps of the present invention.

【0048】図8は、図4〜図7のクラス構造図A意味
データ及びクラス構造図B意味データの各関連型テーブ
ルに対して、関連型の識別子から実体名を検索し、関連
名を作成したクラス構造図意味データの関連名テーブル
610の構成を示すもので、関連型属性テーブル61
1、関連型メソッドテーブル612、関連型汎化テーブ
ル613、関連型多対1テーブル614から構成され
る。
FIG. 8 is a diagram showing the relation type tables of the class structure diagram A meaning data and the class structure diagram B meaning data of FIGS. The structure of the related name table 610 of the class structure diagram meaning data is shown in FIG.
1, related type method table 612, related type generalization table 613, and related type many-to-one table 614.

【0049】このうち、関連型属性テーブル611
は、”クラス名”、”属性名”のフィールドから構成さ
れ、クラス名及び属性名の値として”人, 名前”、”
人, 住所”、”従業員, 名前”、”従業員, 住所”、”
従業員, 役職”、”銀行, 名前”を持つ。
Of these, the related type attribute table 611
Consists of "class name" and "attribute name" fields, and "person, name" and "as the value of class name and attribute name"
Person, address ”,“ employee, name ”,“ employee, address ”,“
Has "Employee, Title", "Bank, Name".

【0050】関連型メソッドテーブル612は、”クラ
ス名”、”メソッド名”のフィールドから構成され、ク
ラス名及びメソッド名の値として”従業員, 給与計
算”、”銀行, 雇用”を持つ。
The related method table 612 is composed of fields of "class name" and "method name", and has "employee, payroll", "bank, employment" as values of the class name and method name.

【0051】関連型汎化テーブル613は、”汎化
名”、”クラス[上位]名”、”クラス[下位]名”のフィ
ールドから構成され、汎化名、クラス[上位]名及びクラ
ス[下位]名の値として”一種である, 人, 従業員”を持
つ。
The relational generalization table 613 is composed of fields of "generalization name", "class [upper] name", and "class [lower] name", and the generalization name, class [upper] name and class [lower]. It has "a kind of person, employee" as the name value.

【0052】関連型多対1テーブル614は、”多対1
名”、”クラス[多]名”、”クラス[1]名”のフィール
ドから構成され、多対1名、クラス[多]名及びクラス
[1]名の値として”雇う, 従業員, 銀行”を持つ。
The relational many-to-one table 614 is "many-to-one".
It consists of fields of "Name", "Class [many] name", "Class [1] name", and many-to-one name, class [many] name and class
[1] Has the value of first name as "hire, employee, bank".

【0053】同様に、図9に示すクラス構造図B意味デ
ータの関連名テーブル620は、関連型属性テーブル6
21、関連型メソッドテーブル622、関連型汎化テー
ブル623、関連型多対1テーブル624から構成され
る。
Similarly, the related name table 620 of the class structure diagram B semantic data shown in FIG.
21, an associated type method table 622, an associated type generalization table 623, and an associated type many-to-one table 624.

【0054】関連型属性テーブル621は、”クラス
名”、”属性名”のフィールドから構成され、クラス名
及び属性名の値として”人, 名前”、”人, 住所”、”
従業員, 名前”、”従業員, 住所”、”従業員, 役
職”、”郵便局, 名前”を持つ。
The related type attribute table 621 is composed of fields of "class name" and "attribute name", and "person, name", "person, address", "as the values of the class name and the attribute name.
It has "employee, name", "employee, address", "employee, job title", and "post office, name".

【0055】関連型メソッドテーブル622は、”クラ
ス名”、”メソッド名”のフィールドから構成され、ク
ラス名及びメソッド名の値として”従業員, 給与計
算”、”郵便局, 雇用”を持つ。
The related method table 622 is composed of fields of "class name" and "method name", and has "employee, payroll", "post office, employment" as values of the class name and method name.

【0056】関連型汎化テーブル623は、”汎化
名”、”クラス[上位]名”、”クラス[下位]名”のフィ
ールドから構成され、汎化名、クラス[上位]名及びクラ
ス[下位]名の値として”一種である, 人, 従業員”を持
つ。
The relational generalization table 623 is composed of fields of "generalization name", "class [upper] name", and "class [lower] name", and generalization name, class [upper] name and class [lower]. It has "a kind of person, employee" as the name value.

【0057】関連型多対1テーブル624は、”多対1
名”、”クラス[多]名”、”クラス[1]名” のフィール
ドから構成され、多対1名、クラス[多]名及びクラス
[1]名の値として”雇う, 従業員, 郵便局”を持つ。
The relational many-to-one table 624 is "many-to-one".
It consists of "Name", "Class [many] name", "Class [1] name" fields, and many-to-one name, class [many] name and class
[1] Has "Hire, Employee, Post Office" as the value of the name.

【0058】図10は、クラス構造図A及びクラス構造
図Bの各関連型テーブルを比較し、同一関連名の有無を
判定した関連名比較結果テーブル700である。
FIG. 10 shows a relation name comparison result table 700 in which the relation type tables of the class structure diagram A and the class structure diagram B are compared to determine whether or not the same relation name is present.

【0059】レコード項目は、比較したクラス構造図と
なる。このテーブルのフィールドは、図8および図9の
クラス構造図A及びクラス構造図Bの関連名テーブルの
和集合であり、属性テーブル部分は、”人, 名前”、”
人, 住所”、”従業員, 名前”、”従業員, 住所”、”
従業員, 役職”、”銀行, 名前”、”郵便局, 名前”で
構成される。
The record items become a class structure diagram for comparison. The fields of this table are the union of the related name tables of the class structure diagram A and the class structure diagram B of FIGS. 8 and 9, and the attribute table part is “person, name”, “
Person, address ”,“ employee, name ”,“ employee, address ”,“
It consists of “Employee, Position”, “Bank, Name”, “Post Office, Name”.

【0060】また、メソッドテーブル部分は”従業員,
給与計算”、”銀行, 雇用”、”郵便局, 雇用”で構成
され、汎化テーブル部分は”一種である, 人, 従業
員”、多対1テーブル部分は、”雇う, 従業員, 銀
行”、”雇う, 従業員, 郵便局”で構成される。
Further, the method table portion is "employee,
It consists of "Payroll", "Bank, Employment", "Post Office, Employment", the generalization table part is "a kind, person, employee", many-to-one table part is "hire, employee, bank" Consists of "," Hire, Employee, Post Office ".

【0061】また、テーブル中の”1”はクラス構造図
にそのフィールドの関連名が存在すること、”0”は関
連名が存在しないことを意味する。
Further, "1" in the table means that the related name of the field exists in the class structure diagram, and "0" means that the related name does not exist.

【0062】図11は、図10の関連名比較結果テーブ
ル700から、同一の関連名の存在する割合である関連
名一致率を算出した関連名一致率算出結果テーブル80
0を示すものである。
FIG. 11 shows a related name matching rate calculation result table 80 in which the related name matching rate, which is the ratio of existence of the same related name, is calculated from the related name comparison result table 700 of FIG.
It shows 0.

【0063】このテーブル800のフィールドは、図1
0のフィールドと同一であり、関連名一致率レコードの
各数字、”100”、”50”等は、関連名ごとの一致率を
示している。
The fields of this table 800 are shown in FIG.
It is the same as the 0 field, and each number, "100", "50", etc. of the related name matching rate record indicates the matching rate for each related name.

【0064】図12は、汎用クラス構造図意味データテ
ーブル900を示すもので、実体型クラステーブル90
1、実体型属性テーブル902、実体型メソッドテーブ
ル903、実体型汎化テーブル904、実体型多対1テ
ーブル905、関連型属性テーブル906、関連型メソ
ッドテーブル907から構成される。
FIG. 12 shows a generic class structure diagram meaning data table 900, which is a substantial class table 90.
1, a substance type attribute table 902, a substance type method table 903, a substance type generalization table 904, a substance type many-to-one table 905, a relation type attribute table 906, and a relation type method table 907.

【0065】このうち、実体型クラステーブル901
は、”識別子”、”クラス名”、クラス名の”意味”の
フィールドから構成され、クラス名の値として図11
の”人”、”従業員”を持つ。
Of these, the entity type class table 901
Is composed of fields of "identifier", "class name", and "meaning" of the class name.
Has "people" and "employees".

【0066】実体型属性テーブル902は、”識別
子”、”属性名”、属性名の”意味”、”サイズ”、”
タイプ”のフィールドから構成され、属性名の値として
図11の”名前”、”住所”、”役職”を持つ。
The entity type attribute table 902 includes "identifier", "attribute name", "meaning" of attribute name, "size" and "
It is composed of "type" fields, and has "name", "address", and "post" of FIG. 11 as the value of the attribute name.

【0067】実体型メソッドテーブル903は、”識別
子”、”メソッド名”、メソッド名の”意味”のフィー
ルドから構成され、メソッド名の値として図11の”給
与計算”、”雇用”をメソッド名として持つ。
The substantive method table 903 is composed of fields of "identifier", "method name", and "meaning" of the method name, and "payroll calculation" and "employment" of FIG. 11 are used as method name values. Have as.

【0068】実体型汎化テーブル904は、”識別
子”、”汎化名”、汎化名の”意味”のフィールドから
構成され、汎化名の値として図11の”一種である”を
持つ。
The entity type generalization table 904 is composed of fields of "identifier", "generalization name", and "meaning" of the generalization name, and has "one type" of FIG. 11 as the value of the generalization name.

【0069】関連型属性テーブル905は、”識別
子”、”クラス.識別子”、”属性.識別子”のフィール
ドから構成され、クラス.識別及び属性.識別子の値とし
て、実体型クラステーブル901と実体型属性テーブル
902のレコード識別子の組、”ec001, ea001”、”ec
002, ea002”、”ec002, ea003”、”ec003, ea001”を
持つ。
The related type attribute table 905 is composed of fields of "identifier", "class.identifier", and "attribute.identifier". As the value of class.identification and attribute.identifier, the entity type class table 901 and the entity type are stored. A set of record identifiers in the attribute table 902, "ec001, ea001", "ec
It has 002, ea002 ”,“ ec002, ea003 ”, and“ ec003, ea001 ”.

【0070】関連型メソッドテーブル906は、”識別
子”、”クラス.識別子”、”メソッド.識別子”のフィ
ールドから構成され、クラス.識別子及びメソッド.識別
子の値として、実体型クラステーブル901と実体型メ
ソッドテーブル903のレコード識別子の組、”ec002,
em001”、”ec003, em002”を持つ。
The related type method table 906 is composed of fields of "identifier", "class.identifier", and "method.identifier". As the values of the class.identifier and the method.identifier, the entity type class table 901 and the entity type are stored. A set of record identifiers in the method table 903, “ec002,
It has “em001” and “ec003, em002”.

【0071】関連型汎化テーブル907は、”識別
子”、”汎化.識別子”、”クラス[上位].識別子”
、”クラス[下位].識別子”のフィールドから構成さ
れ、汎化.識別子、クラス[上位].識別子及びクラス[下
位].識別子の値として、実体型汎化テーブル904と実
体型クラステーブル901の組、”eg001, ec001, ec00
2”を持つ。
The relational generalization table 907 includes "identifier", "generalization.identifier", and "class [upper] .identifier".
, “Class [lower]. Identifier” field, and the values of generalization.identifier, class [upper]. Identifier and class [lower]. Identifier are stored in the entity type generalization table 904 and the entity type class table 901. Pair, “eg001, ec001, ec00
With 2 ”.

【0072】図13は、図12の汎用クラス構造図意味
データテーブル900を用いて作成した汎用クラス構造
図1000を示すものである。
FIG. 13 shows a general class structure diagram 1000 created using the general class structure diagram meaning data table 900 of FIG.

【0073】この汎用クラス構造図1000は、クラ
ス”人”1001、”従業員”1003とそれらのクラ
ス間の関係から構成されている。
This general-purpose class structure diagram 1000 is composed of classes "person" 1001, "employee" 1003 and the relationship between these classes.

【0074】クラス”人”1001は、属性に”名前”
1002を持つ。また、クラス”従業員”1003は、
属性に”役職”1004と”住所”1005、メソッド
に”給与計算”1006を持つ。
The class "person" 1001 has an attribute "name"
Have 1002. Also, the class "Employee" 1003
The attribute has “post” 1004 and “address” 1005, and the method has “payroll” 1006.

【0075】クラス”人”1001と”従業員”100
3との関係は、継承関係”一種である”1007であ
る。
Class “person” 1001 and “employee” 100
The relationship with 3 is the inheritance relationship “one type” 1007.

【0076】図3は、汎用クラス構造図1000の生成
手順を示すフローチャートである。
FIG. 3 is a flow chart showing the procedure for generating the general class structure diagram 1000.

【0077】以下、このフローチャートに従って生成手
順を説明する。
The generation procedure will be described below with reference to this flowchart.

【0078】なお、ここではクラス構造図A410及び
クラス構造図B430との適合率”80”を入力データと
して設定し、汎用クラス構造図の生成処理を行い、その
汎用クラス構造図を表示部101へ出力する場合を例に
挙げて説明する。
Here, the matching rate “80” with the class structure diagram A410 and the class structure diagram B430 is set as input data, the general class structure diagram is generated, and the general class structure diagram is displayed on the display unit 101. The case of outputting will be described as an example.

【0079】ステップ301の動作 ステップ301では、クラス構造図記憶部104に格納
済であるクラス構造図A〜Zの名称一覧を表示部101
に出力し、オペレータにクラス構造図の選択を要求す
る。次に、オペレータが名称一覧から選択したクラス構
造図A410及びクラス構造図B430を汎用クラス構
造図の生成処理における入力データとして設定する。
Operation of Step 301 In step 301, the name list of the class structure diagrams A to Z already stored in the class structure diagram storage unit 104 is displayed on the display unit 101.
, And request the operator to select the class structure diagram. Next, the class structure diagram A410 and the class structure diagram B430 selected by the operator from the name list are set as input data in the generation process of the general class structure diagram.

【0080】ステップ302の動作 ステップ302では、適合率の入力画面を表示部101
に表示し、オペレータに適合率の入力を要求する。次
に、オペレータが入力した適合率”80”を適合率記憶
部105へ記憶する。
Operation of Step 302 In step 302, the input screen of the matching rate is displayed on the display unit 101.
, And the operator is requested to input the precision rate. Next, the matching rate “80” input by the operator is stored in the matching rate storage unit 105.

【0081】ステップ303の動作 ステップ303では、ステップ301で設定したクラス
構造図A410及びクラス構造図B430のそれぞれの
意味データに対して変換処理を行う。
Operation of Step 303 In step 303, conversion processing is performed on each of the semantic data of the class structure diagram A410 and the class structure diagram B430 set in step 301.

【0082】クラス構造図A410の意味データに対す
る処理を例にすると、関連型汎化テーブル518がEOF
でない間、クラス[上位].識別”ec001”及びクラス[下
位].識別子”ec002”を検索し、そのクラス[上位].識別
子”ec001”をキーに関連型属性テーブル516から属
性.識別子”ea001”、”ea002”を検索し、クラス[下
位].識別子 ”ec002” と属性.識別子 ”ea001”、 ”e
a002” を組とする関連型属性レコード ”ec002, ea00
1” 、 ”ec002, ea002” を作成し、そのレコードに識
別子 ”re005” を付加し、関連型属性テーブル516
に登録する。
Taking the processing on the semantic data of the class structure diagram A410 as an example, the relational generalization table 518 indicates EOF.
In the meantime, the class [upper] .identification “ec001” and the class [lower] .identifier “ec002” are searched, and the class [upper] .identifier “ec001” is used as a key to attribute from the related type attribute table 516. Search for "," ea002 ", class [lower] .Identifier" ec002 "and attribute.Identifiers" ea001 "," e
Related type attribute record "ec002, ea00" which consists of a002 "
1 ”,“ ec002, ea002 ”are created, the identifier“ re005 ”is added to the record, and the related type attribute table 516
Register with.

【0083】次に、クラス[上位].識別子”ec001” を
キーに関連型メソッドテーブル517からメソッド.識
別子を検索する。メソッド.識別子が存在しないため、
関連型汎化テーブルの検索処理に戻る。もし、メソッ
ド.識別子が存在すれば、クラス[下位].識別子 ”ec00
2” とそのメソッド.識別子から、クラス[下位].識別子
と属性.識別子を組とする関連型メソッドレコードを作
成し、そのレコードに識別子を付加し、関連型メソッド
テーブル517に登録する。
Next, the method.identifier is searched from the related type method table 517 using the class [upper] .identifier “ec001” as a key. Method. Because the identifier does not exist
Return to the search process for the relational generalization table. If method.identifier exists, class [lower] .identifier ”ec00
A related type method record having a class [lower level] .identifier and attribute.identifier as a set is created from 2 ”and its method.identifier, and the identifier is added to the record and registered in the related type method table 517.

【0084】ステップ304の動作 ステップ304では、クラス構造図A410及びクラス
構造図B430のそれぞれの意味データにおける関連型
テーブルの比較処理を行う。
Operation of Step 304 In step 304, comparison processing of the relational type tables in the semantic data of the class structure diagram A410 and the class structure diagram B430 is performed.

【0085】クラス構造図A410の意味データに対す
る処理を例にすると、各関連型テーブル516〜519
を用いて関連名テーブル610を作成する。
Taking the processing on the semantic data of the class structure diagram A410 as an example, each of the related type tables 516 to 519.
Is used to create the related name table 610.

【0086】関連型属性テーブル516に対する処理を
例にすると、関連型属性テーブル516がEOFでない
間、関連型属性テーブル516の変換処理を繰り返す処
理により、レコード ”人, 名前” 、 ”人, 住所” 、
”従業員, 名前” 、 ”従業員, 住所” 、 ”従業員,
役職” 、 ”銀行, 名前” から構成される図8の関連
型属性テーブル611を作成する。
Taking the processing for the related type attribute table 516 as an example, while the related type attribute table 516 is not EOF, the records "person, name", "person, address" are repeated by the processing of repeating the conversion processing of the related type attribute table 516. ,
"Employee, name", "employee, address", "employee,
The related type attribute table 611 of FIG. 8 composed of "post", "bank, name" is created.

【0087】レコード ”人, 名前” の作成処理を例に
すると、関連型属性テーブル516から、クラス.識別
子 ”ec001” 、属性.識別子 ”ea001” を検索し、そ
のクラス.識別子 ”ec001” 、属性.識別子 ”ea001”
をそれぞれキーに、実体型クラステーブル511からク
ラス名 ”人” 、実体型属性テーブル512から属性
名”名前” を検索し、その検索したクラス名 ”人”
及び属性名 ”名前” から、レコード ”人, 名前” を
作成する。
Taking the process of creating the record “person, name” as an example, the class.identifier “ec001” and the attribute.identifier “ea001” are searched from the related type attribute table 516, and the class.identifier “ec001” and the attribute .Identifier "ea001"
Each of the keys is used as a key to search the class name “person” from the entity type class table 511 and the attribute name “name” from the entity type attribute table 512, and the retrieved class name “person”
And record "person, name" is created from attribute name "name".

【0088】次に、意味データの関連型属性テーブル5
16から作成した関連名テーブル611のレコード ”
人, 名前” 、 ”人, 住所” 、 ”従業員, 名前” 、
”従業員, 住所” 、 ”従業員, 役職” 、 ”銀行,
名前” とクラス構造図B430の意味データの関連型
属性テーブル526から作成した関連名テーブル621
のレコード ”人, 名前” 、 ”従業員, 名前” 、 ”
従業員, 住所” 、 ”従業員, 役職” 、 ”郵便局, 名
前” のマージを行い、レコード ”人, 名前”、 ”人,
住所” 、 ”従業員, 名前” 、 ”従業員, 住所” 、
”従業員, 役職” 、 ”銀行, 名前” 、 ”郵便局,
名前” から構成される関連名テーブルを作成する。
Next, the related type attribute table 5 of the semantic data
Record of the related name table 611 created from 16 "
Person, name ”,“ person, address ”,“ employee, name ”,
"Employee, Address", "Employee, Title", "Bank,
Name ”and the related name table 621 created from the related type attribute table 526 of the semantic data of the class structure diagram B430.
Records for "People, Names", "Employees, Names", "
Employee, address ”,“ employee, title ”,“ post office, name ”are merged and records“ person, name ”,“ person, ”
Address ”,“ Employee, Name ”,“ Employee, Address ”,
"Employee, Position", "Bank, Name", "Post Office,"
Create a related name table consisting of "name".

【0089】そのテーブルのレコードをフィールド名と
し、クラス構造図A410及びクラス構造図B430を
レコードとする図10の関連名比較結果テーブル700
を作成する。
A related name comparison result table 700 of FIG. 10 in which the records of the table are used as field names and the class structure diagram A410 and the class structure diagram B430 are used as records.
To create.

【0090】クラス構造図A410及びクラス構造図B
430のレコードに対して、フラグを設定する。
Class structure diagram A410 and class structure diagram B
A flag is set for the record 430.

【0091】すなわち、クラス構造図A410のレコー
ドに対する処理を例にすると、クラス構造図A410の
意味データから作成した各関連名テーブルのレコードと
関連名比較結果テーブル700のフィールド名との照合
を行う。
That is, taking the processing for the record of the class structure diagram A410 as an example, the record of each related name table created from the semantic data of the class structure diagram A410 is compared with the field name of the related name comparison result table 700.

【0092】関連名比較結果テーブル700の属性フィ
ールドに対する処理を例にすると、照合により ”人,
名前” 、 ”人, 住所” 、 ”従業員, 名前” 、 ”従
業員,住所” 、 ”従業員, 役職” 、 ”銀行, 名前”
が一致するため、フラグを”1”にする。
Taking the processing for the attribute field of the related name comparison result table 700 as an example, by matching, "person,
Name "," Person, Address "," Employee, Name "," Employee, Address "," Employee, Title "," Bank, Name "
Since they match, the flag is set to "1".

【0093】”郵便局, 名前” の照合にあっては、一
致しないためにフラグを ”0”にする。これによっ
て、図8および図9のクラス構造図A,Bの関連名テー
ブル610,620が作成され、さらに図10の関連名
比較結果テーブル700が作成される。
In the collation of "post office, name", since they do not coincide, the flag is set to "0". As a result, the related name tables 610 and 620 of the class structure diagrams A and B of FIGS. 8 and 9 are created, and the related name comparison result table 700 of FIG. 10 is also created.

【0094】ステップ305の動作 ステップ305では、ステップ304で作成した関連名
比較結果テーブル700に対して、フィールドごとの関
連名一致率を計算し、図11のような関連名一致率算出
結果テーブル800を作成する。本例では、関連名一致
率の算出処理として次の計算式を使用する。
Operation of Step 305 In step 305, the related name matching rate for each field is calculated for the related name comparison result table 700 created in step 304, and the related name matching rate calculation result table 800 as shown in FIG. To create. In this example, the following calculation formula is used as the calculation processing of the related name matching rate.

【0095】[0095]

【数1】実体型関連名一致率[%] = 実体型関連名
が存在(フラグ ”1” )する数 / クラス構造図数
× 100 フィールド ”人, 名前”の関連名一致率の算出処理を
例にすると、
[Equation 1] Entity type related name match rate [%] = Number of entity type related names present (flag "1") / Number of class structure diagrams x 100 Field "Person, Name" related name match rate calculation processing For example,

【0096】[0096]

【数2】(フラグ ”1” の数=2)/(クラス構造図
数=2)×100=100.0[%] となる。
## EQU2 ## (Number of flags "1" = 2) / (Number of class structure diagrams = 2) × 100 = 10.0 [%].

【0097】ステップ306の動作 ステップ306では、ステップ305で作成した関連名
一致率算出結果テーブル800から汎用クラス構造図意
味データの生成を行う。
Operation of Step 306 In step 306, general class structure diagram meaning data is generated from the related name matching rate calculation result table 800 created in step 305.

【0098】フィールド ”人, 名前” を例にすると、
フィールド ”人, 名前” の関連型一致 ”100.0” と
ステップ302で適合率記憶部105に記憶した適合率
”80” とを比較する。
Taking the field "person, name" as an example,
The related type match “100.0” of the field “person, name” is compared with the matching rate “80” stored in the matching rate storage unit 105 in step 302.

【0099】関連名一致率 ”100.0” が適合率 ”80”
以上であるので、処理部103は、汎用クラス構造図
意味データとして、クラス名 ”人”、属性名 ”名前”
に識別子を付加して、それぞれ実体型クラステーブル
901、実体型属性テーブル902に追加する。
Related name matching rate “100.0” is matching rate “80”
As described above, the processing unit 103 uses the class name “person” and the attribute name “name” as the generic class structure diagram meaning data.
To the entity type class table 901 and the entity type attribute table 902, respectively.

【0100】さらに、実体型クラステーブルにおけるク
ラス名 ”人” の識別子 ”ec001”と実体型属性テーブ
ルにおける属性名 ”名前” の識別子 ”ea001” に識
別子”re005” を付加した関連型属性レコード ”re00
5, ea001, ec001” を作成し、関連型属性テーブル90
5に追加する。
Further, the related type attribute record "re00" in which the identifier "re001" is added to the identifier "ec001" of the class name "person" in the entity type class table and the identifier "ea001" of the attribute name "name" in the entity type attribute table
5, ea001, ec001 ”and create related type attribute table 90
Add to 5.

【0101】ステップ307の動作 ステップ307では、ステップ306で作成した汎用ク
ラス構造図意味データテーブル900の中の関連型汎化
テーブル907を検索する。
Operation of Step 307 In step 307, the related type generalization table 907 in the general class structure diagram meaning data table 900 created in step 306 is searched.

【0102】関連型汎化テーブル907がEOFでない間
テーブルの変換処理を行う。クラス[上位].識別子 ”ec
001” 、クラス[下位].識別子 ”ec002” を検索し、ク
ラス[上位].識別子 ”ec001” をキーに、関連型属性テ
ーブル905から属性.識別子”ea001” を検索し、ま
た関連型汎化テーブル907からクラス[下位].識別
子”ec002” を検索する。その識別子 ”ec002” をキ
ーに、関連型属性テーブル905から属性.識別子 ”ea
001” を検索する。
While the relational generalization table 907 is not EOF, table conversion processing is performed. Class [upper]. Identifier "ec
001 ”, class [lower] .Identifier“ ec002 ”is searched, and attribute.Identifier“ ea001 ”is searched from the related type attribute table 905 with class [upper] .Identifier“ ec001 ”as a key, and related type generalization Retrieval of class [lower] .Identifier “ec002” from table 907. Attribute.identifier “ea” from related type attribute table 905 with the identifier “ec002” as a key
Search for "001".

【0103】属性.識別子の値が同一データであると判
定すると、検索したクラス[上位].識別子 ”ec001” を
含むレコード ”re001、ec001、ea001”を、関連型属性
テーブル905から削除する。
When it is determined that the attribute.identifier values are the same data, the records “re001, ec001, ea001” including the retrieved class [upper] .identifier “ec001” are deleted from the related type attribute table 905.

【0104】さらに処理部103は、クラス[上位].識
別子 ”ec001” をキーに、関連型メソッドテーブル9
03からメソッド.識別子を検索する。
Further, the processing unit 103 uses the class [upper] .identifier "ec001" as a key, and the related type method table 9
Search method. Identifier from 03.

【0105】検索の結果、メソッド.識別子が存在しな
い場合は、関連型汎化テーブル907の検索へ戻る。
As a result of the search, if the method.identifier does not exist, the process returns to the search of the relational generalization table 907.

【0106】処理部103は、関連型汎化テーブルのEO
Fを判定し、ステップ307を終了する。
The processing unit 103 uses the EO of the relational generalization table.
F is determined, and step 307 ends.

【0107】ステップ308の動作 ステップ308では、ステップ307で変換した汎用ク
ラス構造図意味データに基づき、表示部101へ図13
のような汎用クラス構造図1000を表示する。
Operation of Step 308 In Step 308, the display unit 101 is displayed on the basis of the generic class structure diagram meaning data converted in Step 307.
A general class structure diagram 1000 such as is displayed.

【0108】[0108]

【発明の効果】以上のように本発明によれば、オブジェ
クト指向の特徴である継承関係及びカプセル化を考慮に
入れ、類似したシステムの複数のクラス構造図を入力す
ると共に、そのクラス構造図に対する任意の適合率を入
力した後、入力された複数のクラス構造図の意味データ
間のマッチングを行って一致率を算出し、該一致率に基
づいて前記適合率を満たす意味データを抽出し、該意味
データ間のクラス構造図を生成するようにしたので、汎
用性の高いクラス構造図を生成することができる。
As described above, according to the present invention, in consideration of inheritance relations and encapsulation, which are object-oriented features, a plurality of class structure diagrams of a similar system are input, and the class structure diagrams are input. After inputting an arbitrary matching rate, matching is performed between the meaning data of the input plurality of class structure diagrams to calculate a matching rate, and semantic data satisfying the matching rate is extracted based on the matching rate. Since the class structure diagram between the semantic data is generated, it is possible to generate a highly versatile class structure diagram.

【0109】従って、類似したシステムを新たに構築す
る場合において、この汎用クラス構造図を修正、変更す
ることでシステムの開発期間の軽減と信頼性の向上を図
れるといった効果が得られる。
Therefore, when a similar system is newly constructed, the general-purpose class structure diagram can be modified or changed to reduce the development period of the system and improve the reliability.

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

【図1】本発明をオブジェクト指向システムに適用する
場合の一実施例を示すシステム構成ブロック図である。
FIG. 1 is a system configuration block diagram showing an embodiment when the present invention is applied to an object-oriented system.

【図2】実施例で入力情報として使用するクラス構造図
の例を示す図である。
FIG. 2 is a diagram showing an example of a class structure diagram used as input information in the embodiment.

【図3】実施例の処理手順を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing procedure of an embodiment.

【図4】実施例で使用するクラス構造図Aの意味データ
テーブルの構成および内容例を示す図である。
FIG. 4 is a diagram showing a configuration and an example of contents of a semantic data table of a class structure diagram A used in an embodiment.

【図5】図4の続きを示す図である。FIG. 5 is a view showing a sequel to FIG. 4;

【図6】実施例で使用するクラス構造図Bの意味データ
テーブルの構成および内容例を示す図である。
FIG. 6 is a diagram showing a configuration and an example of contents of a semantic data table of a class structure diagram B used in an embodiment.

【図7】図6の続きを示す図である。FIG. 7 is a view showing a sequel to FIG. 6;

【図8】クラス構造図Aの意味データの関連名テーブル
の構成および内容例を示す図である。
8 is a diagram showing a configuration and an example of contents of a relation name table of the semantic data of the class structure diagram A. FIG.

【図9】クラス構造図Aの意味データの関連名テーブル
の構成および内容例を示す図である。
FIG. 9 is a diagram showing a configuration and an example of contents of a relation name table of the semantic data in the class structure diagram A.

【図10】関連名比較結果テーブルの構成および内容例
を示す図である。
FIG. 10 is a diagram showing a configuration and an example of contents of a related name comparison result table.

【図11】関連名一致率算出結果テーブルの構成および
内容例を示す図である。
FIG. 11 is a diagram showing a configuration and an example of contents of a related name matching rate calculation result table.

【図12】汎用クラス構造図意味データテーブルの構成
および内容例を示す図である。
FIG. 12 is a diagram showing a configuration and an example of contents of a generic class structure diagram meaning data table.

【図13】実施例で出力される汎用クラス構造図の例を
示す図である。
FIG. 13 is a diagram showing an example of a general class structure diagram output in the embodiment.

【図14】従来のクラス構造図の生成手順を示すフロー
チャートである。
FIG. 14 is a flowchart showing a conventional procedure for generating a class structure diagram.

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

101…表示部、102…入力部、103…処理部、1
04…クラス構造図記憶部、105…適合率記憶部、5
10,520…クラス構造図意味データテーブル、61
0,620…クラス構造図意味データの関連名テーブ
ル、700…関連名比較結果テーブル、800…関連名
一致率算出結果テーブル、1000…汎用クラス構造
図。
101 ... Display unit, 102 ... Input unit, 103 ... Processing unit, 1
04 ... Class structure diagram storage unit, 105 ... Relevance ratio storage unit, 5
10, 520 ... Class structure diagram meaning data table, 61
0, 620 ... Class structure diagram Related name table of semantic data, 700 ... Related name comparison result table, 800 ... Related name matching rate calculation result table, 1000 ... General class structure diagram.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 千葉 寛之 神奈川県川崎市幸区鹿島田890番地の12 株式会社日立製作所情報システム事業部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hiroyuki Chiba 12 Hitachi, Ltd. Information Systems Division, 890 Kashimada, Sachi-ku, Kawasaki-shi, Kanagawa

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のクラス構造図から汎用部分を抽出
して汎用的なクラス構造図を生成する汎用クラス構造図
生成方法において、 複数のクラス構造図を入力すると共に、そのクラス構造
図に対する任意の適合率を入力した後、入力された複数
のクラス構造図の意味データ間のマッチングを行って一
致率を算出し、該一致率に基づいて前記適合率を満たす
意味データを抽出し、該意味データ間のクラス構造図を
生成することを特徴とする汎用クラス構造図生成方法。
1. A general-purpose class structure diagram generation method for extracting a general-purpose part from a plurality of class structure diagrams to generate a general-purpose class structure diagram. After inputting the matching rate, the matching rate is calculated by matching the meaning data of the input plurality of class structure diagrams, and the meaning data satisfying the matching rate is extracted based on the matching rate, A general-purpose class structure diagram generation method characterized by generating a class structure diagram between data.
JP6135463A 1994-06-17 1994-06-17 Universal class construction drawing generating method Pending JPH086791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6135463A JPH086791A (en) 1994-06-17 1994-06-17 Universal class construction drawing generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6135463A JPH086791A (en) 1994-06-17 1994-06-17 Universal class construction drawing generating method

Publications (1)

Publication Number Publication Date
JPH086791A true JPH086791A (en) 1996-01-12

Family

ID=15152308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6135463A Pending JPH086791A (en) 1994-06-17 1994-06-17 Universal class construction drawing generating method

Country Status (1)

Country Link
JP (1) JPH086791A (en)

Similar Documents

Publication Publication Date Title
US7143076B2 (en) Method and apparatus for transforming data
US7809768B2 (en) Method and apparatus for object oriented storage and retrieval of data from a relational database
EP0715254A2 (en) Apparatus and process for creating and accessing a database centric object
US6625613B2 (en) Automatic generation of SQL for frame completion
US20040078355A1 (en) Information management system
TW569110B (en) Dynamic database management system and method
WO2002047463A2 (en) A method and apparatus for transforming data
US20090228794A1 (en) Business specification comprehension assistance system and method
US7574329B1 (en) Object model for decision and issue tracking
JPH086791A (en) Universal class construction drawing generating method
JP3478558B2 (en) Object storage search method in database
JP3519910B2 (en) Name search device and program storage medium
JPH07296009A (en) Data base integration/retrieval device
JPH0969112A (en) Intelligent estate information management system
JP3202341B2 (en) Database system
JP2798147B2 (en) Database input / output method and input / output device
Pruckler et al. Achieving physical data independence in hypermedia databases
JPH06243118A (en) Operating procedure generating system
JP2777273B2 (en) Document creation and management system
JPH09146970A (en) Data retrieval and totalization device
JP2000056956A (en) Device and method for converting request specification model into other system model
JPH03180942A (en) Master file forming device for document data base
JPH10232773A (en) Job model preparing method utilizing reverse information
JPH10143435A (en) Document managing device
JPS62284459A (en) Document formation supporting device