JPH03250326A - Automatic extracting system for design specification of hierarchical data base - Google Patents

Automatic extracting system for design specification of hierarchical data base

Info

Publication number
JPH03250326A
JPH03250326A JP4801290A JP4801290A JPH03250326A JP H03250326 A JPH03250326 A JP H03250326A JP 4801290 A JP4801290 A JP 4801290A JP 4801290 A JP4801290 A JP 4801290A JP H03250326 A JPH03250326 A JP H03250326A
Authority
JP
Japan
Prior art keywords
design specification
design
database
specifications
design specifications
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
JP4801290A
Other languages
Japanese (ja)
Inventor
Mitsuaki Kakemizu
光明 掛水
Junichi Yamazaki
山崎 準一
Yasuo Iwami
岩見 泰夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4801290A priority Critical patent/JPH03250326A/en
Publication of JPH03250326A publication Critical patent/JPH03250326A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically extract the design specifications used for a specific project with common use of a data base by using a hierarchical data base for extraction of the design specifications. CONSTITUTION:A hierarchical data base 10 stores the design specifications corresponding to all projects which use an verification system. Then the design specifications containing the desired number of editions to be extracted are extracted out of a data base 101 for higher rank hierarchies. Meanwhile the design specifications corresponding a due project are extracted out of a data base 102 for lower rank hierarchies. If the design specifications of a lower rank hierarchy to be included in the base 102 are contained in the base 101. These specifications are extracted for acquisition of the conversion origin design specifications 14. Thus it is possible to use the data base 10 in common and also to automatically extract the design specifications to be used by a specific project.

Description

【発明の詳細な説明】 [概要〕 階層化データベースの設計仕様自動抽出方式に関し 設計仕様を格納するデータベースを共通化すると共にデ
ータベースから特定のプロジェクトで使用する設計仕様
を自動的に抽出できる方式を提供することを目的とし プログラムの設計仕様が版数が付与された上位層データ
ベースと下位層データベースとして管理される階層化デ
ータベースを設け、上位層データベースから特定の指定
された版数が付与された設計仕様を抽出する特定版数抽
出部と、抽出された設計仕様と同一種別の設計仕様が下
位層のデータベースに含まれているか判定し、含まれて
いない時前記抽出された設計仕様を出力する設計仕様比
較部と、下位層のデータベースから全ての設計仕様を抽
出すると共に前記設計仕様比較部から出力された設計仕
様を知識ベースへの変換元の設計仕様としてして出力す
る設計仕様出力部とを備えるよう構成する。
[Detailed Description of the Invention] [Summary] Regarding a method for automatically extracting design specifications from a hierarchical database, the present invention provides a method that can standardize a database that stores design specifications and automatically extract design specifications used in a specific project from the database. We have created a hierarchical database that is managed as an upper layer database and a lower layer database in which program design specifications are assigned a version number, and the design specifications are assigned a specific specified version number from the upper layer database. and a design specification that determines whether a design specification of the same type as the extracted design specification is included in the lower layer database, and outputs the extracted design specification if it is not included. Comprising a comparison unit, and a design specification output unit that extracts all design specifications from a lower layer database and outputs the design specifications output from the design specification comparison unit as design specifications to be converted into a knowledge base. Configure it like this.

[産業上の利用分野] 本発明は階層化データベースの設計仕様自動抽出方式で
あって、交換プログラムの設計仕様を階層化データベー
スにより構成して管理する場合の必要な設計仕様を自動
抽出する方式に関する。
[Industrial Field of Application] The present invention relates to a method for automatically extracting design specifications from a hierarchical database, and relates to a method for automatically extracting necessary design specifications when the design specifications of an exchange program are configured and managed using a hierarchical database. .

交換機のプログラムを設計した時にその内容を検証する
作業を知識ベースを用いて自動的に行う方法が用いられ
るが、その場合設計されるプログラムが使用した設計仕
様に違反してないかどうかが検証される。そのためには
、設計されたプログラムに対応する設計仕様を知識ベー
ス化して検証システムに供給する必要がある。
When designing a switching program, a method is used in which the content is automatically verified using a knowledge base, but in this case it is not verified whether the designed program violates the design specifications used. Ru. To do this, it is necessary to create a knowledge base of design specifications corresponding to the designed program and supply it to the verification system.

ところが、設計仕様は多数の顧客向は対応に異なった内
容のものがあり、従来はそれらの設計仕様が個別に管理
されているため記憶装置の容量や管理が複雑になるなど
の点で改善が望まれている。
However, many customers have different design specifications, and in the past, these design specifications were managed individually, making it difficult to improve storage capacity and management. desired.

[従来の技術] 第5図は設計仕様と知識ベースの例を示す門弟9図は従
来例の説明図である。
[Prior Art] FIG. 5 shows an example of a design specification and a knowledge base. FIG. 9 is an explanatory diagram of a conventional example.

第9図のA5 は交換プログラムの検証システムの構成
図、B、はプログラム設計の変更の様子を示す図である
A5 in FIG. 9 is a block diagram of the exchange program verification system, and B is a diagram showing how the program design is changed.

交換機のプログラムは、一般にタスクマクロと呼ばれる
プログラム部品を組み合わせて作成される。このタスク
マクロには多数の種類が用意され。
Exchange programs are generally created by combining program parts called task macros. Many types of task macros are available.

それぞれの呼出し形式やパラメータが予め設計仕様とし
てプログラムの作成前に規定されている。
Each calling format and parameters are defined in advance as design specifications before the program is created.

具体例を第5図イ、により説明すると、この例では「%
ABCDEJというタスクマクロの設計仕様が示され、
この呼出形式は「%ABCDEA、BJと規定されてお
り、この場合rA、BJはプログラムで使用するパラメ
ータを表す。そして、この設計仕様では各パラメータに
ついて規定されており、パラメータrA」については、
「5ENDJかrRECJの何れか一方を指定すること
ができ、Bについてはr rORcJかrNRC」の何
れか一方を指定することができる。なお。
A specific example will be explained with reference to Figure 5 A. In this example, “%
The design specifications of a task macro called ABCDEJ are shown,
This calling format is defined as "%ABCDEA, BJ, where rA and BJ represent parameters used in the program. In this design specification, each parameter is defined, and for parameter rA",
Either "5ENDJ or rRECJ can be specified, and for B, either r rORcJ or rNRC" can be specified. In addition.

rSEND、、rREcj ・・等は装置の動作や状態
を表す。
rSEND, , rREcj, etc. represent the operation or status of the device.

このような設計仕様が規定されたプログラム部品を組み
合わせてプログラムを開発する際、プログラムにエラー
がないが試験が行われていたが。
When developing a program by combining program parts with such design specifications, tests were conducted to ensure that the program was error-free.

試験工程に多くの工数を要していた。この工程を効率化
するためにAI技術を用いてプログラムの検証を支援す
る検証システムを利用することが可能となった。
The testing process required a lot of man-hours. In order to streamline this process, it has become possible to use a verification system that supports program verification using AI technology.

第9図A、によりその検証システムの構成を説明すると
、多数のタスクマクロについてのX】という内容の設計
仕様をデータベース61として設け、その設計仕様を用
いてχlという内容のプログラム62が作成された場合
、このプログラムX1に誤りがないかを検証システム6
3により調べる。この検証システム63は、プログラム
が設計仕様に従って2作成されているが(規定された以
外のタスクマクロを使っているが、規定されたパラメー
タを使っているか等)を調べて誤りを自動的に検出する
ものである。
To explain the configuration of the verification system with reference to FIG. 9A, a design specification with the content "X" for a large number of task macros is provided as a database 61, and a program 62 with the content χl is created using the design specification. In this case, the verification system 6 checks whether there are any errors in this program X1.
Check by 3. This verification system 63 automatically detects errors by checking whether the program is created according to the design specifications (such as whether it uses a task macro other than the specified ones or specified parameters). It is something to do.

この検証システムでは、その検証を知識ベース65を用
いて検証する。この知識ベース65は検証の対象となる
プログラム62の設計仕様xiを元にして知識ベース変
換部64により知識ベースに変換されたものが使用され
る。
In this verification system, the verification is performed using the knowledge base 65. This knowledge base 65 is converted into a knowledge base by the knowledge base conversion unit 64 based on the design specifications xi of the program 62 to be verified.

第5図口、に知識ベースの知識の例が示されこの例は第
5図イ、の設計仕様を知識表現(LISP言語による)
した例である。
An example of the knowledge of the knowledge base is shown in Fig. 5, and this example represents the design specifications in Fig.
This is an example.

このような、交換プログラムは、各顧客からの要求やそ
の後の改良により変更される場合が多く。
Exchange programs like this are often changed based on requests from each customer and subsequent improvements.

それに応じて設計仕様が決められ、その設計仕様により
プログラムが作成(修正を含む)され、そのプログラム
に対してエラーがないか検証している。
Design specifications are determined accordingly, a program is created (including modifications) based on the design specifications, and the program is verified for errors.

そして、交換プログラムの開発は各顧客の要望に応じて
各顧客対応に別々のプロジェクトで行われており、その
後の改良なども個々に行われているので従来は第6図B
、に示すように5各顧客向けの設計仕様はそれぞれ完全
に独立して管理していた。すなわち、顧客A用のプログ
ラムと顧客B用のプログラムは、それらを検証する際に
必要な設計仕様が別々に設けられている。この場合、そ
れぞれの顧客向けの設計仕様は、それぞれデータベース
として更新されるが、同時に改良に対応して複数の版の
設計仕様が保存され1それぞれ改良の内容は版数により
表示される。
The development of exchange programs is carried out in separate projects for each customer according to their requests, and subsequent improvements are also made individually.
As shown in Figure 5, the design specifications for each customer were managed completely independently. That is, the program for customer A and the program for customer B have separate design specifications necessary for verifying them. In this case, the design specifications for each customer are updated as a database, but at the same time, multiple versions of the design specifications are saved in correspondence with improvements, and the details of each improvement are displayed by version number.

[発明が解決しようとする課題] 上記した従来の方法によれば、各顧客向けのプログラム
を改良した場合2そのプログラムを検証システムにより
検証するためには、それぞれの個々の設計仕様を格納し
たデータベースに対して新たに付加(または削除)され
た機能を含む設計仕様を作成して、その設計仕様(変換
元設計仕様)を知識ベースに変換して検証を行う必要が
ある。
[Problem to be Solved by the Invention] According to the conventional method described above, when a program for each customer is improved2, in order to verify the program with a verification system, a database storing each individual design specification is required. It is necessary to create a design specification that includes the newly added (or deleted) functions to the database, convert that design specification (conversion source design specification) into a knowledge base, and perform verification.

ところが、従来の方法では個別のプロジェクト別(顧客
別)に設計仕様が管理されているため。
However, with conventional methods, design specifications are managed for each individual project (customer).

それらの間に共通の仕様が含まれているにも係わらずそ
れぞれが記憶装置に格納されて検索する必要があり、メ
モリ使用量が大きいという問題があった。
Even though they include common specifications, each of them needs to be stored in a storage device and searched for, resulting in a problem that the amount of memory used is large.

また、あるプロジェクトで設計仕様を更新する場合1元
の設計仕様のデータベースから更新したい設計仕様を検
索する際に、以前の更新により新たな版のものが格納さ
れていると同時に、古くなった版の設計仕様も含まれて
いるので、そのプロジェクトでは更新の対象とならない
設計仕様(古い版)も検索の対象に入っているために検
索に時間がかかるという問題があった。
Also, when updating design specifications in a project, when searching for the design specification you want to update from the original design specification database, you may notice that the new version is stored due to a previous update, and at the same time the old version is stored. The problem is that the search takes time because the design specifications (older versions) that are not subject to update in that project are also included in the search.

本発明は設計仕様を格納するデータベースを共通化する
と共にデータベースから特定のプロジェクトで使用する
設計仕様を自動的に抽出できる方式を提供することを目
的とする。
SUMMARY OF THE INVENTION An object of the present invention is to share a database that stores design specifications and to provide a method that can automatically extract design specifications used in a specific project from the database.

[課題を解決するための手段] 第1図(a)は本発明の第1の原理構成図、第1図ら)
は第2の原理構成図である。
[Means for solving the problem] Fig. 1(a) is a first principle configuration diagram of the present invention, Fig. 1 et al.)
is a second principle configuration diagram.

第1図(a)において、10は共通の設計仕様が格納さ
れた上位層データベース101と各プロジェクト対応に
特有の設計仕様が格納された複数の下位層データベース
102とからなる階層化データベース、11は特定版数
の設計仕様を取り出す特定版数抽出部、12は特定版数
抽出部11からの抽出出力と下位層データベースの内容
を比較して一致しない場合1特定版数抽出部の出力を選
択する設計仕様比較部、13は設計仕様比較部12の出
力と下位層データベースからの抽出出力を取り出して出
力する設計仕様出力部、14は設計仕様出力部から出力
された設計仕様が格納され知識ベースに変換される変換
元設計仕様を表す。
In FIG. 1(a), 10 is a hierarchical database consisting of an upper layer database 101 that stores common design specifications and a plurality of lower layer databases 102 that store design specifications specific to each project; A specific version extraction unit 12 extracts the design specifications of a specific version, and 12 compares the extraction output from the specific version extraction unit 11 with the contents of the lower layer database, and if they do not match, selects the output of the specific version extraction unit 1. A design specification comparison section 13 is a design specification output section that extracts and outputs the output of the design specification comparison section 12 and the extracted output from the lower layer database, and 14 is a knowledge base in which the design specifications output from the design specification output section are stored. Represents the source design specification to be converted.

本発明の第1の構成は検証システムを利用するすべての
プロジェクト対応の設計仕様を格納する階層化データベ
ースを設け、抽出したい版数が付与された設計仕様を上
位階層のデータベースから抽出し、下位層データベース
からプロジェクト対応の設計仕様を抽出して、上位層の
データベースの中で下位層データベースに含まれる設計
仕様があると下位層のものを選択して変換元設計仕様を
得るものである。
The first configuration of the present invention is to provide a hierarchical database that stores design specifications for all projects that use the verification system, extract the design specifications assigned the desired version number from the upper-level database, and extract the design specifications from the lower-level database. The design specifications corresponding to the project are extracted from the database, and if there are design specifications included in the lower layer database in the upper layer database, those in the lower layer are selected to obtain the conversion source design specifications.

第1図ら)に示す本発明の第2の原理構成において、7
0は共通の設計仕様が格納された上位層デ−タベース7
01と各プロジェクト対応に特有の設計仕様が格納され
た複数の下位層データベース702とからなる階層化デ
ータベース、71は上位層のデータベースに存在して下
位層のデータベースに存在しない設計仕様種別を求める
特定設計仕様種別抽出部、72は特定設計仕様種別抽出
部71から求めた設計仕様種別骨に関して、特定版数の
設計仕様を抽出する特定共通設計仕様抽出部。
In the second principle configuration of the present invention shown in Fig. 1 et al.
0 is the upper layer database 7 that stores common design specifications
01 and a plurality of lower layer databases 702 storing design specifications specific to each project; 71 is a specification database for determining the type of design specification that exists in the upper layer database but does not exist in the lower layer database; A design specification type extraction unit 72 is a specific common design specification extraction unit that extracts a specific version of the design specification regarding the design specification type bone obtained from the specific design specification type extraction unit 71.

73は特定共通設計仕様抽出部72の出力と下位層のデ
ータベースからの抽出出力を取り出して出力する設計仕
様出力部、74は設計仕様出力部から出力された設計仕
様が格納され知識ベースに変換される変換元設計仕様を
表す。
73 is a design specification output unit that extracts and outputs the output of the specific common design specification extraction unit 72 and the extraction output from the lower layer database; 74 is a design specification output unit where the design specifications output from the design specification output unit are stored and converted into a knowledge base; represents the source design specification.

本発明の第2の原理構成は、検証システムを利用するす
べてのプロジェクト対応の設計仕様を格納する階層化デ
ータベースを設け、上位層のデータベースに存在して下
位層のデータベースに存在しない設計仕様種別を求め、
この範囲において抽出したい版数が付与された設計仕様
を上位層のデータベースから抽出して、下位層のすべて
のデータベースを抽出して変換元設計仕様を得るもので
ある。
The second principle configuration of the present invention is to provide a hierarchical database that stores design specifications for all projects that use the verification system, and to store design specification types that exist in the upper layer database but not in the lower layer database. seek,
The design specification to which the version number to be extracted within this range is assigned is extracted from the upper layer database, and all the lower layer databases are extracted to obtain the conversion source design specification.

[作用] 第1の原理構成の作用を説明する。[Effect] The operation of the first principle configuration will be explained.

第1図(a)において、最初に特定版数抽出部11に目
的とするプロジェクトで使用する版数を指定して階層化
データベース10の上位層データベースから指定した版
数が付与された設計仕様を抽出する。次に設計仕様比較
部12は、指定したプロジェクト対応の特定の下位層デ
ータベース102の設計仕様と特定版数抽出部11から
抽出された設計仕様とを比較して、同一種別の設計仕様
が検出されると、プロジェクト対応の設計仕様の方が優
先されるので、上位層データベースから抽出された設計
仕様を除外する(設計仕様比較部から出力しない)。
In FIG. 1(a), first, the version number to be used in the target project is specified in the specific version extraction unit 11, and the design specification to which the specified version number has been assigned is extracted from the upper layer database of the hierarchical database 10. Extract. Next, the design specification comparison unit 12 compares the design specifications of the specific lower layer database 102 corresponding to the specified project with the design specifications extracted from the specific version extraction unit 11, and detects design specifications of the same type. In this case, the design specifications corresponding to the project are given priority, so the design specifications extracted from the upper layer database are excluded (they are not output from the design specification comparison section).

設計仕様出力部13は、上記の設計仕様比較部12によ
り除外されなかった設計仕様とプロジェクト対応の下位
層データベース中の設計仕様を含めて知識ベースへの変
換元の設計仕様として出力する。
The design specification output unit 13 outputs the design specifications not excluded by the design specification comparison unit 12 and the design specifications in the lower layer database corresponding to the project as design specifications to be converted into a knowledge base.

次に第2の原理構成の作用を説明する。Next, the operation of the second principle configuration will be explained.

第1図[有])において、最初に特定設計仕様種別抽出
部71により5上位層のデータベースに存在して下位層
のデータベースに存在しない設計仕様種別を求める。次
に特定共通設計仕様抽出部72に目的とするプロジェク
トで使用する版数を指定して、特定設計仕様種別抽出部
71により求めた設計仕様種別の範囲内で上位層のデー
タベースから指定した版数が付与された設計仕様を抽出
する。
In FIG. 1, the specific design specification type extraction unit 71 first obtains the design specification types that exist in the five upper layer databases but do not exist in the lower layer databases. Next, specify the version number to be used in the target project to the specific common design specification extraction unit 72, and select the version number from the upper layer database within the range of the design specification type obtained by the specific design specification type extraction unit 71. Extract the design specifications given.

設計仕様出力部73は、上記特定共通設計仕様抽出部7
2により抽出された設計仕様とプロジェクト対応の下位
層データベース中の設計仕様を含めて知識ベースの変換
元の設計仕様として出力する。
The design specification output unit 73 includes the specific common design specification extraction unit 7
The design specifications extracted in step 2 and the design specifications in the lower layer database corresponding to the project are output as the design specifications to be converted from the knowledge base.

このような作用により1階層化されたデータベースから
特定のプロジェクトで使用する設計仕様を自動抽出する
ことができる。
With this operation, design specifications used in a specific project can be automatically extracted from a single-layer database.

[実施例] 第2図〜第4図は本発明の第1の原理構成に対応する実
施例1を示すもので、第2図は実施例1の構成図、第3
図は設計仕様を格納する階層化データベース。第4図は
特定版数抽出部の処理フローである。また、第6図〜第
8図は本発明の第2の原理構成に対応する実施例2を示
すもので、第6図は実施例2の構成図、第7図は特定設
計仕様種別抽出部の処理フロー、第8図は特定共通設計
仕様抽出部の処理フローである。
[Example] Figures 2 to 4 show Example 1 corresponding to the first principle configuration of the present invention; Figure 2 is a configuration diagram of Example 1;
The figure shows a hierarchical database that stores design specifications. FIG. 4 is a processing flow of the specific version number extraction section. 6 to 8 show a second embodiment corresponding to the second principle configuration of the present invention, FIG. 6 is a configuration diagram of the second embodiment, and FIG. 7 is a specific design specification type extraction section. FIG. 8 is a processing flow of the specific common design specification extraction section.

最初に実施例1の構成及び動作について説明する。First, the configuration and operation of the first embodiment will be explained.

第2図において、20〜24は第1図の原理構成のl 
O=14の各部に対応し、20は設計仕様を格納する階
層化データベース、21は特定版数抽出部、22は設計
仕様比較部、23は設計仕様出力部、24は変換元設計
仕様を表す。
In Fig. 2, 20 to 24 are l of the principle configuration of Fig. 1.
Corresponding to each part of O=14, 20 is a hierarchical database that stores design specifications, 21 is a specific version extraction section, 22 is a design specification comparison section, 23 is a design specification output section, and 24 is a conversion source design specification. .

特定版数抽出部21の内部を説明すると1階層化データ
ベース20から特定の版数を選択する版数リンク選択部
210と1選択した版数の共通設計仕様を抽出する共通
設計仕様抽出部211および共通設計仕様抽出部211
で抽出された設計仕様を格納する一時格納部212とで
構成される。
To explain the inside of the specific version extraction unit 21, there are 1 version link selection unit 210 that selects a specific version from the hierarchical database 20, 1 common design specification extraction unit 211 that extracts the common design specifications of the selected version, and Common design specification extraction unit 211
and a temporary storage section 212 that stores the design specifications extracted.

第2図に示す階層化データベース20の構成を第3図に
説明する。
The configuration of the hierarchical database 20 shown in FIG. 2 will be explained in FIG. 3.

第3図において、31は共通設計仕様の種別(タスクマ
クロ)を検索するための共通データベースディレクトリ
、32は共通データベースディレクトリから共通設計仕
様の版数を検索するための版数リンク、33は共通設計
仕様、34は共通データベースとプロジェクトデータベ
ースの間で階層関係をつくる構成リンク、35はプロジ
ェクト対応の設計仕様の種別を検索するためのプロジェ
クト対応データベースディレクトリ(図にはαプロジェ
クト対応データベースディレクトリ乃至βプロジェクト
対応データベースディレクトリが示されている)、36
はプロジェクト対応設計仕様を表す。
In FIG. 3, 31 is a common database directory for searching the type of common design specification (task macro), 32 is a version link for searching the version of common design specification from the common database directory, and 33 is a common design specification, 34 is a configuration link that creates a hierarchical relationship between the common database and the project database, and 35 is a project-compatible database directory for searching for the type of design specification compatible with the project (the figure shows the database directory corresponding to the α project to the database directory corresponding to the β project). database directory is shown), 36
represents the project-enabled design specification.

第3図に示すように共通データベースディレクトリ31
の各タスクマクロには1版数に対応して版数リンクが張
られているが、同じ種別のタスクマクロに対して版数に
対応した設計仕様が設けられている場合や、複数の版数
に対して一つの設計仕様が設けられている場合など様々
な場合がある。
As shown in FIG. 3, the common database directory 31
Each task macro has a version link corresponding to one version, but there are cases where design specifications corresponding to the version are provided for the same type of task macro, or when there are multiple versions. There are various cases, such as cases where one design specification is provided for each.

階層化データベースが第3回のような場合にβプロジェ
クト35(第3図下右側)で検証システムを利用するた
めに、このプロジェクトで必要な設計仕様を自動抽出す
る動作を説明する。
In order to use the verification system in β project 35 (lower right side of Figure 3) when the hierarchical database is the third one, the operation of automatically extracting the design specifications necessary for this project will be explained.

■特定版数抽出部21は、共通データベースから、βプ
ロジェクトで必要な版数として第10版の設計仕様の抽
出を第4図で示す動作フローにより抽出する。
- The specific version number extraction unit 21 extracts the design specifications of the 10th version as the version number required for the β project from the common database according to the operation flow shown in FIG.

すなわち、第4図において、共通データベースデイ1ツ
クトリ(第3図の31)からタスクマクロ1個を取り出
して(第4図の40)、まずプロジェクト側で指定した
版数を持つ版数リンクを選択する(第4図の41)。次
に選択したリンク先の共通設計仕様を抽出し一時格納部
(第2図の212)に格納しく第4図の42)、未処理
のタスクマクロがあるか否かを判別しく同43)、あれ
ば共通データベースディレクトリから次のタスクマクロ
1個を取り出して同様の処理を実行する。
That is, in Figure 4, one task macro is extracted from the common database directory (31 in Figure 3) (40 in Figure 4), and the version link with the version specified on the project side is first selected. (41 in Figure 4). Next, extract the common design specification of the selected link destination and store it in the temporary storage section (212 in FIG. 2) (42 in FIG. 4), and determine whether there is an unprocessed task macro (43) in FIG. If so, the next task macro is extracted from the common database directory and the same process is executed.

この特定版数抽出部の動作により5次の設計仕様群Ul
が一時格納部2】2に格納される。
By the operation of this specific version number extraction unit, the 5th order design specification group Ul
is stored in the temporary storage section 2]2.

C1= (A2.Bl、CI、D2・・・)なお、A2
は「%A、A2J、Blは「%B。
C1= (A2.Bl, CI, D2...) In addition, A2
is "%A, A2J, Bl is "%B.

BIJを略して表記したものであり、他も同様である。This is an abbreviation of BIJ, and the same applies to the others.

■設計仕様比較部22は、−時格納部212に格納され
ているUlの一つ一つについて、これらと同種の設計仕
様がβプロジェクト対応データベース内に存在するかど
うかを判定する。この例では、設計仕様B1およびDl
は同一種別の設計仕様がベータプロジェクト対応データ
ベース内に存在するので、これらをUlから除外して、
その結果をC2とすれば2次のようになる。
(2) The design specification comparison unit 22 determines, for each Ul stored in the -time storage unit 212, whether a design specification of the same type as these exists in the β project correspondence database. In this example, design specifications B1 and Dl
Since the same type of design specifications exist in the beta project compatible database, exclude these from Ul,
If the result is C2, it becomes quadratic.

C2= (A2.CI・・・) ■次に設計仕様出力部23は、βプロジェクトデータベ
ース内の設計仕様群U3を抽出し。
C2= (A2.CI...) ■Next, the design specification output unit 23 extracts the design specification group U3 from the β project database.

U3−(BB、DD) 続いて、上記U2とU3とを合わせたUを出力する。U3-(BB, DD) Subsequently, U, which is the sum of the above U2 and U3, is output.

U−fA2.BB、C1,DD、  ・・ ・)この出
力Uはβプロジェクトで必要な設計仕様として変換元設
計仕様24として出力される。
U-fA2. BB, C1, DD, . . .) This output U is output as the conversion source design specification 24 as a design specification necessary for the β project.

次に、実施例2の構成及び動作を第6圓乃至第8図を用
いて説明する。
Next, the configuration and operation of the second embodiment will be explained using FIGS. 6 to 8.

第6図において、80〜84は第1図(b)に示す第2
の原理構成の70〜74の各部に対応し、80は設計仕
様を格納する階層化データベース、81は特定設計仕様
種別抽出部、82は特定共通設計仕様抽出部、83は設
計仕様出力部、84は変換元設計仕様を表す。
In FIG. 6, 80 to 84 are the second
80 is a hierarchical database for storing design specifications, 81 is a specific design specification type extraction unit, 82 is a specific common design specification extraction unit, 83 is a design specification output unit, 84 represents the source design specification.

特定設計仕様種別抽出部81の内部を説明すると、共通
データベースに存在してプロジェクト対応のデータベー
スに存在しない設計仕様種別を求める設計仕様種別比較
部810と、この設計仕様出力部を一時的に保存する設
計仕様種別格納部811とで構成される。
To explain the inside of the specific design specification type extraction unit 81, there is a design specification type comparison unit 810 that calculates a design specification type that exists in the common database but does not exist in the project-compatible database, and a design specification output unit that temporarily saves this design specification type extraction unit. It is composed of a design specification type storage section 811.

特定共通設計仕様抽出部82の内部を説明すると、設計
仕様種別格納部に格納された設計仕様種別の範囲内で階
層化データヘース80から特定の版数を選択する版数リ
ンク選択部820と1選択した版数の共通設計仕様を抽
出する共通設計仕様抽出部821および共通設計仕様抽
出部821で抽出された設計仕様を格納する共通設計仕
様格納部822とで構成される。
To explain the inside of the specific common design specification extraction unit 82, there is a version link selection unit 820 that selects a specific version number from the hierarchical data hese 80 within the range of design specification types stored in the design specification type storage unit, and a version link selection unit 820 that selects a specific version number from the hierarchical data hese 80. The common design specification extraction section 821 extracts the common design specifications of the selected version number, and the common design specification storage section 822 stores the design specifications extracted by the common design specification extraction section 821.

第6図に示す階層化データベース80の構成は。The structure of the hierarchical database 80 shown in FIG. 6 is as follows.

第3図に同じである。Same as Figure 3.

階層化データベースが第3図のような場合にβプロジェ
クト35(第3図下右側)で検証システムを利用するた
めに、このプロジェクトで必要な設計仕様を自動抽出す
る動作を説明する。
In order to use the verification system in the β project 35 (lower right side of FIG. 3) when the hierarchical database is as shown in FIG. 3, the operation of automatically extracting the design specifications necessary for this project will be explained.

■特定設計仕様種別抽出部81は、共通データベースに
存在してβプロジェクト対応データベースに存在しない
設計仕様種別を第7図に示す動作フローにより求める。
(2) The specific design specification type extraction unit 81 obtains the design specification types that exist in the common database but not in the β project corresponding database using the operation flow shown in FIG.

すなわち、第7図において、共通データベースディレク
トリ(第3図の31)よりタスクマクロ1個を取り出し
て(第7図の90)、これがβプロジェクト対応データ
ベースのディレクトリに存在するかどうかを判定する(
第7図の91)。存在しない場合のみ1・そのタスクマ
クロ名を設計仕様種別格納部に格納しく第7図の92)
、未処理のタスクマクロがあるか否かを判別しく同93
)。
That is, in FIG. 7, one task macro is extracted (90 in FIG. 7) from the common database directory (31 in FIG. 3), and it is determined whether it exists in the directory of the β project compatible database (
91 in Figure 7). Only if it does not exist, store the task macro name in the design specification type storage section (92 in Figure 7).
, determine whether there is an unprocessed task macro or not.
).

あれば共通データベースディレクトリから次のタスクマ
クロ1個を取りだして同様の処理を実行する。
If so, the next task macro is extracted from the common database directory and the same process is executed.

この特定設計仕様種別抽出部の動作により、βプロジェ
クトに関して共通データベースから抽出すべき設計仕様
の種別基■1が設計仕様種別格納部811に格納される
As a result of the operation of the specific design specification type extraction unit, the design specification type base (1) to be extracted from the common database regarding the β project is stored in the design specification type storage unit 811.

■1=(%A2%C9・・・) ■特定共通設計仕様抽出部82は、設計仕様種別格納部
に格納された設計仕様種別の範囲内で階層化データベー
ス80から特定の版数の付与された設計仕様を第8図に
示す動作フローにより抽出する。
■1=(%A2%C9...) ■The specific common design specification extraction unit 82 extracts a specific version number from the hierarchical database 80 within the range of the design specification type stored in the design specification type storage unit. The design specifications are extracted according to the operation flow shown in FIG.

すなわち、第8図において、設計仕様種別格納部からタ
スクマクロ種別名を1個取り出して(第8図の100)
、まずβプロジェクト側で指定した版数(10版)を持
つ版数リンクを共通データヘースより選択する(第8図
の101)。次に選択したリンク先の共通設計仕様を抽
出し共通設計仕様格納部822に格納しく第8図の10
2)。
That is, in FIG. 8, one task macro type name is extracted from the design specification type storage section (100 in FIG. 8).
, First, a version link having the version number (10th version) specified on the β project side is selected from the common data base (101 in FIG. 8). Next, extract the common design specifications of the selected link destination and store them in the common design specifications storage section 822.
2).

未処理のタスクマクロがあるか否かを判別しく第8図の
103)、あれば設計仕様種別格納部から次のタスクマ
クロ種別名を取り出して同様の処理を実行する。
It is determined whether there is an unprocessed task macro (103) in FIG. 8), and if so, the next task macro type name is retrieved from the design specification type storage section and the same process is executed.

この特定共通設計仕様抽出部の動作により次の設計仕様
群■2が共通設計仕様格納部822に格納される。
As a result of the operation of this specific common design specification extraction section, the next design specification group (2) is stored in the common design specification storage section 822.

V2−+A2.CI、  ・・・) ■次に設計仕様出力部83は、βプロジェクトデータベ
ース内の設計仕様群■3を抽出し。
V2-+A2. CI, ...) ■Next, the design specification output unit 83 extracts the design specification group ■3 from the β project database.

V3− (BB、DD+ 続いて、上記■2と■3とを合わせた■を出力する。V3- (BB, DD+ Subsequently, ``■'', which is a combination of ``2'' and ``3'' above, is output.

V= +A2.BB、C1,DD、  ・・・)この出
力はβプロジェクトで必要な設計仕様として変換元設計
仕様84として出力される。
V= +A2. BB, C1, DD, . . . ) This output is output as the conversion source design specification 84 as the design specification necessary for the β project.

[発明の効果] 本発明によれば設計仕様を階層化したデータヘースを用
いて抽出することにより、従来の設計仕様をプロジェク
ト間で完全に独立して管理する方式に比べてメモリ使用
量を少なくすることができ従来の設計仕様の更新の際に
検索時間がかかるという従来例の問題点を解消すること
ができる。
[Effects of the Invention] According to the present invention, by extracting design specifications using a hierarchical data cache, memory usage is reduced compared to the conventional method of managing design specifications completely independently between projects. This solves the problem of the conventional method that it takes a long time to search when updating design specifications.

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

第1図(a)は本発明の第1の原理構成図、第1図(b
)は本発明の第2の原理構成図、第2図は実施例1の構
成図、第3図は設計仕様を格納する階層化データベース
、第4図は特定版数抽出部の処理フロー、第5図は設計
仕様と知識ベースの例を示す図、第6図は実施例2の構
成図、第7図は特定設計仕様種別抽出部の処理フロー、
第8図は特定共通設計仕様抽出部の処理フロー、第9図
は従来例の説明図である。 第1図(a)、第1図(b)中 10.7(1階層化データヘース 101,701:上位層データヘース 102.702:下位層データベース 11:特定版数抽出部 12:設計仕様比較部 13:設計仕様出力部 14;変換元設計仕様 71;特定設計仕様種別抽出部 72:特定共通設計仕様抽出部 73:設計仕様出力部 74:変換元設計仕様
FIG. 1(a) is the first principle configuration diagram of the present invention, FIG. 1(b)
) is the second principle configuration diagram of the present invention, FIG. 2 is the configuration diagram of the first embodiment, FIG. 3 is a hierarchical database that stores design specifications, FIG. 4 is the processing flow of the specific version extraction unit, and FIG. Figure 5 is a diagram showing an example of design specifications and knowledge base, Figure 6 is a configuration diagram of the second embodiment, Figure 7 is a processing flow of the specific design specification type extraction unit,
FIG. 8 is a processing flow of the specific common design specification extraction section, and FIG. 9 is an explanatory diagram of a conventional example. 10.7 (1-layer data hese 101, 701: upper layer data hese 102.702: lower layer database 11: specific version number extraction section 12: design specification comparison section 13 in Fig. 1(a) and Fig. 1(b) : Design specification output unit 14; Conversion source design specification 71; Specific design specification type extraction unit 72: Specific common design specification extraction unit 73: Design specification output unit 74: Conversion source design specification

Claims (2)

【特許請求の範囲】[Claims] (1)プログラムの設計仕様が版数が付与された上位層
データベースと下位層データベースとして管理される階
層化データベース(10)を設け、上位層データベース
から特定の指定された版数が付与された設計仕様を抽出
する特定版数抽出部(11)と、 抽出された設計仕様と同一種別の設計仕様が下位層のデ
ータベースに含まれているか判定し、含まれていない時
前記抽出された設計仕様を出力する設計仕様比較部(1
2)と、 下位層のデータベースから全ての設計仕様を抽出すると
共に前記設計仕様比較部から出力された設計仕様を知識
ベースへの変換元設計仕様(14)として出力する設計
仕様出力部(13)とを備えることを特徴とする階層化
データベースの設計仕様自動抽出方式。
(1) A hierarchical database (10) is provided in which the program design specifications are managed as an upper layer database and a lower layer database to which version numbers are assigned, and a design in which a specific specified version number is assigned from the upper layer database. A specific version extraction unit (11) that extracts specifications, and determines whether a design specification of the same type as the extracted design specification is included in the lower layer database, and if it is not included, extracts the extracted design specification. Design specification comparison section to output (1
2), and a design specification output unit (13) that extracts all design specifications from the lower layer database and outputs the design specifications output from the design specification comparison unit as a source design specification (14) for conversion into a knowledge base. An automatic design specification extraction method for a hierarchical database, characterized by comprising:
(2)プログラムの設計仕様が版数が付与された上位層
データベースと下位層データベースとして管理される階
層化データベース(70)を設け、上位層データベース
から、下位層データベースに存在しない設計仕様種別を
求める特定設計仕様種別抽出部(71)と、 求めた設計仕様種別から、特定の指定された版数が付与
された設計仕様を出力する特定共通設計仕様抽出部(7
2)と、 下位層のデータベースから全ての設計仕様を抽出すると
共に前記特定共通設計仕様抽出部から出力された設計仕
様を知識ベースへの変換元設計仕様(74)として出力
する設計仕様出力部(73)とを備えることを特徴とす
る階層化データベースの設計仕様自動抽出方式。
(2) A hierarchical database (70) is provided in which program design specifications are managed as an upper layer database and a lower layer database with version numbers assigned, and design specification types that do not exist in the lower layer database are obtained from the upper layer database. A specific design specification type extraction unit (71) and a specific common design specification extraction unit (71) that outputs a design specification to which a specific designated version number is assigned from the determined design specification type.
2), and a design specification output unit (74) that extracts all design specifications from the lower layer database and outputs the design specification output from the specific common design specification extraction unit as a source design specification (74) for conversion into a knowledge base. 73) A method for automatically extracting design specifications for a hierarchical database.
JP4801290A 1990-02-28 1990-02-28 Automatic extracting system for design specification of hierarchical data base Pending JPH03250326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4801290A JPH03250326A (en) 1990-02-28 1990-02-28 Automatic extracting system for design specification of hierarchical data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4801290A JPH03250326A (en) 1990-02-28 1990-02-28 Automatic extracting system for design specification of hierarchical data base

Publications (1)

Publication Number Publication Date
JPH03250326A true JPH03250326A (en) 1991-11-08

Family

ID=12791393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4801290A Pending JPH03250326A (en) 1990-02-28 1990-02-28 Automatic extracting system for design specification of hierarchical data base

Country Status (1)

Country Link
JP (1) JPH03250326A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006127364A (en) * 2004-11-01 2006-05-18 Fujitsu Ltd Macro provision system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006127364A (en) * 2004-11-01 2006-05-18 Fujitsu Ltd Macro provision system
US7840560B2 (en) 2004-11-01 2010-11-23 Fujitsu Semiconductor Limited Macro delivery system and macro delivery program

Similar Documents

Publication Publication Date Title
US6327593B1 (en) Automated system and method for capturing and managing user knowledge within a search system
US7921330B2 (en) Data migration manager
US5898872A (en) Software reconfiguration engine
US4864497A (en) Method of integrating software application programs using an attributive data model database
US6182245B1 (en) Software test case client/server system and method
US5822511A (en) Smart compare tool and method
US7188116B2 (en) Method and apparatus for deleting data in a database
US7401085B2 (en) System and method for controlling the release of updates to a database configuration
US20050050178A1 (en) Input/output device information management system for multi-computer system
WO1992003790A1 (en) Method of generating and accessing a database independent of its structure and syntax
JPH06259301A (en) Saving device, reloading device, and transition device for data base
US20030204527A1 (en) Logical hierarchical data model for sharing product information across product families
JPH04289920A (en) Method and device for controlling data object version affected by engineering change
US6530072B1 (en) Rule based hierarchy generation in a circuit design verification system
US20050010606A1 (en) Data organization for database optimization
JPH047640A (en) Class succession settling processing method
US8108431B1 (en) Two-dimensional data storage system
US6480849B1 (en) Efficient concurrency control method for high dimensional index structures
US20070255685A1 (en) Method and system for modelling data
US6253213B1 (en) Method and system for automatically maintaining data consistency across various databases
US20220147499A1 (en) Schema Agnostic Migration Of Delineated Data Between Relational Databases
CN101013426B (en) Information management apparatus and method
US7269589B2 (en) Database managing method and system having data backup function and associated programs
Cabibbo et al. Managing inheritance hierarchies in object/relational mapping tools
CA2398814C (en) System for controlling and monitoring a process