JPH06131165A - CASE diagram converter - Google Patents
CASE diagram converterInfo
- Publication number
- JPH06131165A JPH06131165A JP27747792A JP27747792A JPH06131165A JP H06131165 A JPH06131165 A JP H06131165A JP 27747792 A JP27747792 A JP 27747792A JP 27747792 A JP27747792 A JP 27747792A JP H06131165 A JPH06131165 A JP H06131165A
- Authority
- JP
- Japan
- Prior art keywords
- conversion
- diagram
- case
- data format
- tool
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
(57)【要約】
【目的】変換規則の記述が簡略化できるようにする。
【構成】CASEツール#1〜#nについてのそれぞれ
のダイアグラムを構成する図項目データの形式と中間デ
ータ形式との対応関係が登録された図項目データ形式テ
ーブルを保存したファイル42-1〜42-nと、同じく図
項目種別毎に表示形状が登録された図項目種別形状テー
ブルを保存したファイル43-1〜43-nを設ける。デー
タ形式変換部15は、ユーザの入力操作に従って変換元
CASEツール#1とその変換対象ダイアグラム、およ
び変換先CASEツール#nが変換指示部11により指
定された例では、変換元CASEダイアグラムデータを
ファイル42-1内の対応テーブルをもとに中間データ形
式に変換し、更にファイル42-n内の対応テーブル、フ
ァイル43-1,43-n内の各対応テーブルをもとに、中
間データ形式から変換先のCASEダイアグラムデータ
に変換する。
(57) [Summary] [Purpose] To simplify the description of conversion rules. [Structure] Files 42-1 to 42- which save the figure item data format table in which the correspondence relationship between the format of the figure item data and the intermediate data format forming each diagram of the CASE tools # 1 to #n is registered. Similarly, n and files 43-1 to 43-n storing a figure item type shape table in which a display shape is registered for each figure item type are provided. In the example in which the conversion source CASE tool # 1 and its conversion target diagram and the conversion destination CASE tool #n are specified by the conversion instruction unit 11, the data format conversion unit 15 converts the conversion source CASE diagram data into a file. Converted to an intermediate data format based on the correspondence table in 42-1. Then, based on the correspondence table in file 42-n and each correspondence table in files 43-1 and 43-n, the intermediate data format is changed. Convert to the destination CASE diagram data.
Description
【0001】[0001]
【産業上の利用分野】本発明は、ソフトウェア開発支援
用のCASEツールのダイアグラムのデータ形式を他の
CASEツールのダイアグラムのデータ形式に変換する
際に、ダイアグラムの図項目の表示形状およびサイズを
容易に変更できるように考慮しなければならない対象に
用いて好適なCASEダイアグラム変換装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention facilitates the display shape and size of diagram items in a diagram when converting the data format of a diagram of a CASE tool for software development support into the data format of a diagram of another CASE tool. The present invention relates to a CASE diagram conversion device suitable for use in an object that must be considered so that it can be changed to.
【0002】[0002]
【従来の技術】ソフトウェア開発支援用のCASEツー
ル(支援ツール)は、現在多くの種類のものが存在す
る。しかしながら、これらCASEツールのダイアグラ
ムのデータ形式はそれぞれ異なるため、そのままではC
ASEツールでの開発による成果物であるCASEダイ
アグラムを相互に流用することは不可能である。2. Description of the Related Art Currently, there are many kinds of CASE tools (support tools) for supporting software development. However, the data formats of the diagrams of these CASE tools are different, so C
It is impossible to divert the CASE diagram, which is a product of development with the ASE tool, from each other.
【0003】そこで従来より、異なるCASEツール間
でダイアグラムの流用を図るためのCASEダイアグラ
ム変換装置が考えられている。従来、この種のCASE
ダイアグラム変換装置は、ダイアグラムのデータ形式が
異なる変換元CASEツールから変換先CASEツール
へのダイアグラム変換を行うために、変換元CASEツ
ールおよび変換先CASEツールのダイアグラムを表現
する図項目についての規則(変換規則)をプログラム中
にCASEツールの組合せの数だけ持ち、プログラムで
構文解析を行って変換元CASEツールのダイアグラム
データを変換先CASEツールのダイアグラムデータに
変換していた。Therefore, conventionally, there has been considered a CASE diagram conversion device for diverting a diagram between different CASE tools. Traditionally, this type of CASE
The diagram conversion device uses a rule (conversion) for a diagram item representing a diagram of a conversion source CASE tool and a conversion destination CASE tool in order to convert a diagram from a conversion source CASE tool having a different data format of a diagram to a conversion destination CASE tool. Rules are included in the program by the number of combinations of CASE tools, and the program performs syntax analysis to convert the diagram data of the conversion source CASE tool into the diagram data of the conversion destination CASE tool.
【0004】ところでCASEツールは、準拠する開発
技法により同一の図項目種別に対しても複数の表記法を
支援しており、複数の形状(図項目の表示形状)を持つ
ことが多い。そのため、従来のCASEダイアグラム変
換装置では、変換元CASEツールと変換先CASEツ
ールとで同一の図項目種別でありながら変換できない状
態になるか、あるいは変換を可能とするために強制的に
他の形状に変換するようにプログラムで指示する必要が
あった。By the way, the CASE tool supports a plurality of notations even for the same figure item type by a compliant development technique, and often has a plurality of shapes (display shapes of figure items). Therefore, in the conventional CASE diagram conversion device, the conversion source CASE tool and the conversion destination CASE tool may be in the state in which they cannot be converted even though they have the same figure item type, or other shapes are forced to be converted in order to enable conversion. I had to tell the program to convert to.
【0005】[0005]
【発明が解決しようとする課題】上記した従来のCAS
Eダイアグラム変換装置においては、以下の課題が存在
していた。[Problems to be Solved by the Invention] The above-mentioned conventional CAS
The E-diagram conversion device has the following problems.
【0006】(1)変換元CASEツールおよび変換先
CASEツールのダイアグラムを表現する図項目につい
ての変換規則をプログラム中にCASEツールの組合せ
の数だけ持つ必要があるため、変換処理と規則の部分と
の切り分けが複雑になり、保守性が悪くなる。 (2)CASEツールの種類が増えるほど、変換元と変
換先の組合せが指数的に増えるため、装置の開発が複雑
になる。(1) Since it is necessary to have as many conversion rules as the number of combinations of CASE tools in the program for the diagram items expressing the diagrams of the conversion source CASE tool and the conversion destination CASE tool, the conversion processing and rule parts are Will be complicated and the maintainability will be poor. (2) As the number of CASE tools increases, the number of combinations of conversion sources and conversion destinations increases exponentially, which complicates device development.
【0007】(3)変換元と変換先とで同一の図項目に
対して異なる表示形状を持つ場合には、変換できない
か、あるいは変換を可能とするために変換規則をプログ
ラム中に記述する必要があった。 本発明は以上の課題を解決するためになされたもので、
その目的は、変換規則の記述が簡略化できるCASEダ
イアグラム変換装置を提供することにある。本発明の他
の目的は、且つ図項目の表示形状等が容易に変更できる
CASEダイアグラム変換装置を提供することにある。(3) If the same drawing item has different display shapes for the conversion source and the conversion destination, conversion cannot be performed or conversion rules need to be described in the program in order to enable conversion. was there. The present invention has been made to solve the above problems,
It is an object of the present invention to provide a CASE diagram conversion device capable of simplifying the description of conversion rules. Another object of the present invention is to provide a CASE diagram conversion device in which the display shape and the like of drawing items can be easily changed.
【0008】[0008]
【課題を解決するための手段】本発明は上記目的を達成
するため、各種CASEツールについてのそれぞれのダ
イアグラムを構成する図項目データの形式と中間データ
形式との対応関係が登録された第1のテーブルが格納さ
れる第1のテーブル格納手段と、各種CASEツールに
ついて図項目種別毎に少なくとも1つの形状が登録され
た第2のテーブルが格納される第2のテーブル格納手段
と、上記第1の格納手段に格納されている第1のテーブ
ルおよび第2の格納手段に格納されている第2のテーブ
ルを管理し、第1および第2のテーブルに対する新規登
録および登録内容の変更を司るテーブル管理手段と、変
換元CASEツールおよび変換先CASEツールを指示
するための変換指示手段と、この変換指示手段からの指
示に応じ、指示された変換元CASEツールのCASE
ダイアグラムデータを、第1のテーブル格納手段内の変
換元に対応する第1のテーブルをもとに中間データ形式
に変換し、この中間データ形式から、第1のテーブル格
納手段内の変換先に対応する第1のテーブルおよび前記
第2の格納手段内の変換元並びに変換先にそれぞれ対応
する2つの第2のテーブルをもとに、指示された変換先
CASEツールのCASEダイアグラムデータを生成す
るデータ形式変換手段とを設けたことを特徴とするもの
である。In order to achieve the above-mentioned object, the present invention is a first registration of the correspondence relationship between the format of the diagram item data and the intermediate data format constituting each diagram of various CASE tools. A first table storage means for storing a table; a second table storage means for storing a second table in which at least one shape is registered for each figure item type for various CASE tools; A table management unit that manages the first table stored in the storage unit and the second table stored in the second storage unit, and manages new registration and change of registered content for the first and second tables. A conversion instruction means for instructing the conversion source CASE tool and the conversion destination CASE tool, and an instruction according to the instruction from the conversion instruction means. Conversion based CASE tools CASE
The diagram data is converted into an intermediate data format based on the first table corresponding to the conversion source in the first table storage means, and this intermediate data format corresponds to the conversion destination in the first table storage means. A data format for generating CASE diagram data of the designated CASE tool of the conversion destination based on the first table and the two second tables respectively corresponding to the conversion source and the conversion destination in the second storage means. It is characterized in that conversion means is provided.
【0009】また本発明は、データ形式変換手段による
データ形式変換でデータ未登録のために変換異常が発生
した場合に、その異常状態の回復を促すためのメッセー
ジを生成出力するメッセージ出力手段と、このメッセー
ジを外部出力すると共に同メッセージで示される異常状
態を回復するための指示を対話的に入力するための対話
手段とを更に備え、この対話手段により入力された指示
に応じて、上記のテーブル管理手段が上記第1のテーブ
ルまたは第2のテーブルに対する新規登録または登録内
容の変更を行うように構成したことをも特徴とする。The present invention further includes message output means for generating and outputting a message for prompting recovery from the abnormal state when a conversion abnormality occurs due to data unregistered by the data format conversion means. This message is externally output, and a dialog means for interactively inputting an instruction for recovering the abnormal state indicated by the message is further provided, and the table described above is provided in accordance with the instruction input by the interactive means. It is also characterized in that the management means is configured to perform new registration or change of registration contents for the first table or the second table.
【0010】[0010]
【作用】上記の構成においては、各種CASEツールに
ついてのそれぞれのダイアグラムを構成する図項目デー
タの形式と中間データ形式との対応関係、および各種C
ASEツールがサポートする図項目種別毎の形状(表示
形状)が、それぞれテーブルにより管理され、変換指示
手段により変換元CASEツールと変換先CASEツー
ルが指示された場合には、指示された変換元CASEツ
ールのCASEダイアグラムデータが、第1の格納手段
内の変換元に対応したテーブルをもとに、データ形式変
換手段により中間データ形式に変換される。この中間デ
ータ形式は、第1の格納手段内の変換先に対応したテー
ブルと、第2の格納手段内の変換元並びに変換先にそれ
ぞれ対応する2つテーブルをもとに、データ形式変換手
段により変換先のCASEダイアグラムデータに変換さ
れる。In the above structure, the correspondence relationship between the format of the diagram item data and the intermediate data format that make up each diagram of various CASE tools, and various C
The shape (display shape) for each figure item type supported by the ASE tool is managed by a table, and when the conversion source CASE tool and the conversion destination CASE tool are instructed by the conversion instruction unit, the instructed conversion source CASE The CASE diagram data of the tool is converted into an intermediate data format by the data format conversion means based on the table corresponding to the conversion source in the first storage means. The intermediate data format is determined by the data format conversion means based on the table corresponding to the conversion destination in the first storage means and the two tables corresponding to the conversion source and the conversion destination in the second storage means. It is converted into the CASE diagram data of the conversion destination.
【0011】このデータ形式変換手段によるデータ形式
変換時に、変換元と変換先で同一の図項目に対し異なる
表示形状を持つために変換が行えない場合には、その旨
のメッセージがメッセージ出力手段により生成され、対
話手段により外部に出力されると共に、データ形式変換
手段による変換作業が一時停止される。ユーザが、上記
のメッセージに従い、対話手段との対話で新規の形状を
登録するか別の形状に変換するかを指定すると、対応す
るテーブルに対する新規登録または登録内容の変更がテ
ーブル管理手段により行われ、データ形式変換手段によ
るデータ形式変換の継続が可能となる。When the data format is converted by the data format conversion means and the conversion cannot be performed because the same drawing item has different display shapes in the conversion source and the conversion destination, a message to that effect is displayed by the message output means. The generated data is output to the outside by the interactive means, and the conversion work by the data format conversion means is temporarily stopped. According to the above message, when the user specifies whether to register a new shape or convert it into another shape through the dialog with the dialog means, the table management means performs new registration or modification of the registered content in the corresponding table. The data format conversion means can continue the data format conversion.
【0012】[0012]
【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は同実施例に係るCASEダイアグラム変
換装置の構成を示すブロック図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the CASE diagram conversion device according to the embodiment.
【0013】図1に示すCASEダイアグラム変換装置
は、装置の制御中枢をなすCPU1と、ディスプレイ2
1、キーボード22およびマウス23を持つディスプレ
イ端末2と、プリンタ3と、フロッピーディスク装置、
ハードディスク装置などの外部記憶装置4とにより構成
される。The CASE diagram conversion device shown in FIG. 1 has a CPU 1 and a display 2 which are the control centers of the device.
1, a display terminal 2 having a keyboard 22 and a mouse 23, a printer 3, a floppy disk device,
It is configured by an external storage device 4 such as a hard disk device.
【0014】外部記憶装置4には、CASEダイアグラ
ムデータファイル41-1〜41-nと、CASEダイアグ
ラム図項目データ形式テーブルファイル42-1〜42-n
と、CASEダイアグラム図項目種別形状テーブルファ
イル43-1〜43-nと、中間データ形式ファイル44と
が格納される。CASEダイアグラムデータファイル4
1-i(i=1〜n)には、CASEツール#iのダイア
グラムデータ(CASEダイアグラムデータ)が保存さ
れる。The external storage device 4 has CASE diagram data files 41-1 to 41-n and CASE diagram diagram item data format table files 42-1 to 42-n.
The CASE diagram diagram item type shape table files 43-1 to 43-n and the intermediate data format file 44 are stored. CASE diagram data file 4
The diagram data (CASE diagram data) of the CASE tool #i is stored in 1-i (i = 1 to n).
【0015】CASEダイアグラム図項目データ形式テ
ーブルファイル42-i(i=1〜n)には、CASEツ
ール#iのダイアグラム種別毎に用意されるテーブル
(図項目データ形式テーブル)が保存される。各図項目
データ形式テーブルには、CASEツール#iの対応す
るダイアグラム種別のデータ形式についての情報が図項
目毎に登録される。この図項目データ形式テーブルにつ
いての詳細は、図2を参照して後述する。In the CASE diagram drawing item data format table file 42-i (i = 1 to n), a table (drawing item data format table) prepared for each diagram type of the CASE tool #i is stored. In each figure item data format table, information about the data format of the corresponding diagram type of the CASE tool #i is registered for each figure item. Details of this figure item data format table will be described later with reference to FIG.
【0016】CASEダイアグラム図項目種別形状テー
ブルファイル43-i(i=1〜n)には、CASEツー
ル#iの図項目種別毎に用意されるテーブル(図項目種
別形状テーブル)が保存される。各図項目種別形状テー
ブルには、CASEツール#iの対応する図項目種別に
ついて共通に参照される複数の表示形状が登録される。
この図項目種別形状テーブルについての詳細は、図4を
参照して後述する。The CASE diagram drawing item type shape table file 43-i (i = 1 to n) stores a table (drawing item type shape table) prepared for each drawing item type of the CASE tool #i. In each drawing item type shape table, a plurality of display shapes commonly referred to for the corresponding drawing item type of the CASE tool #i are registered.
Details of this figure item type shape table will be described later with reference to FIG.
【0017】中間データ形式ファイル44には、各CA
SEツールのダイアグラム種別毎(で且つダイアグラム
1枚毎)に各図項目についての中間データ形式が保存さ
れる。この中間データ形式についての詳細は、図3を参
照して後述する。The intermediate data format file 44 contains each CA.
An intermediate data format for each diagram item is stored for each diagram type of SE tool (and for each diagram). Details of this intermediate data format will be described later with reference to FIG.
【0018】CPU1は、変換指示部11と、入力部1
2と、出力部13と、図項目テーブル管理部14と、デ
ータ形式変換部15と、メッセージ出力部16の各機能
ブロックを持つ。これら各機能ブロックは、CPU1が
CASEダイアグラム変換プログラムを実行することに
より実現される。The CPU 1 includes a conversion instruction section 11 and an input section 1
2, the output unit 13, the diagram item table management unit 14, the data format conversion unit 15, and the message output unit 16 are provided. Each of these functional blocks is realized by the CPU 1 executing a CASE diagram conversion program.
【0019】変換指示部11は、ディスプレイ端末2と
プリンタ3とのインタフェースをなし、ディスプレイ端
末2を用いたユーザ操作に応じて変換元CASEツール
および変換先CASEツールを指示する。The conversion instructing section 11 forms an interface between the display terminal 2 and the printer 3, and instructs a conversion source CASE tool and a conversion destination CASE tool in accordance with a user operation using the display terminal 2.
【0020】入力部12は、変換元CASEツールのダ
イアグラムデータをCASEダイアグラムデータファイ
ル41-1〜41-nのうちの該当ファイルから入力する。
また入力部12は、変換元CASEツールのダイアグラ
ムデータの中間データを中間データ形式ファイル44か
ら入力する。The input unit 12 inputs the diagram data of the conversion source CASE tool from the corresponding file of the CASE diagram data files 41-1 to 41-n.
The input unit 12 also inputs the intermediate data of the diagram data of the conversion source CASE tool from the intermediate data format file 44.
【0021】出力部13は、データ形式変換部15によ
って生成された中間データを中間データ形式ファイル4
4に出力する。また出力部13は、データ形式変換部1
5によって生成された変換先CASEツールのダイアグ
ラムデータをCASEダイアグラムデータファイル41
-1〜41-nのうちの該当ファイルに出力する。The output unit 13 converts the intermediate data generated by the data format conversion unit 15 into the intermediate data format file 4
Output to 4. Also, the output unit 13 is the data format conversion unit 1.
The CASE diagram data file 41 for converting the diagram data of the conversion destination CASE tool generated by
-It outputs to the applicable file of 41-n.
【0022】図項目テーブル管理部14は、変換元CA
SEダイアグラムデータ形式および変換先CASEダイ
アグラムデータ形式を各図項目毎のテーブルとして管理
する。図項目テーブル管理部14は、ディスプレイ端末
2からの入力により、変換指示部11を介して新規登録
または変更入力を受けて、CASEダイアグラム図項目
データ形式テーブルファイル42-i内の該当テーブルへ
の図項目形式登録、またはCASEダイアグラム図項目
種別形状テーブルファイル43-i内の該当テーブルへの
図項目種別形状登録を行う。The diagram item table management unit 14 determines the conversion source CA.
The SE diagram data format and the conversion destination CASE diagram data format are managed as a table for each figure item. The figure item table management unit 14 receives a new registration or change input via the conversion instruction unit 11 in response to an input from the display terminal 2, and sends a diagram to the corresponding table in the CASE diagram diagram item data format table file 42-i. The item format registration or the figure item type shape registration to the corresponding table in the CASE diagram figure item type shape table file 43-i is performed.
【0023】データ形式変換部15は、変換元CASE
ダイアグラムの図項目データ形式テーブルを参照して変
換元CASEダイアグラムデータから中間データ形式へ
の変換を行い、また変換先CASEダイアグラムの図項
目データ形式テーブルと、変換元並びに変換先CASE
ダイアグラムの図項目種別形状テーブルを参照して中間
データ形式から変換先CASEダイアグラムデータへの
変換を行う。メッセージ出力部16は、データ変換中の
状態のメッセージ出力および変換異常時のメッセージ出
力を行う。次に、図1の構成の装置によるCASEダイ
アグラム変換動作について説明する。The data format conversion unit 15 uses the conversion source CASE.
Converts the source CASE diagram data to the intermediate data format by referring to the diagram item data format table of the diagram, and the diagram item data format table of the destination CASE diagram and the source and destination CASE
Conversion from the intermediate data format to the conversion destination CASE diagram data is performed by referring to the diagram item type shape table of the diagram. The message output unit 16 outputs a message during data conversion and a message during abnormal conversion. Next, a CASE diagram conversion operation by the apparatus having the configuration of FIG. 1 will be described.
【0024】まずユーザは、CASEツールのダイアグ
ラムの変換を必要とする場合、ディスプレイ端末2のキ
ーボード22またはマウス23を用いて、変換元CAS
Eツール(を示すツール種別名)と、その変換対象ダイ
アグラム(を示すダイアグラム種別名)を指定するため
の入力操作を行う。ここでは、変換元CASEツール#
1と、その変換対象ダイアグラムが指定されたものとす
る。以上の指定操作が行われると、変換指示部11は、
指定された変換元CASEツール#1と変換対象ダイア
グラムを選択する。First, when the user needs to convert the diagram of the CASE tool, the user uses the keyboard 22 or mouse 23 of the display terminal 2 to convert the source CAS.
An input operation is performed to specify the E tool (tool type name indicating) and the diagram to be converted (diagram type name indicating). Here, the conversion source CASE tool #
It is assumed that 1 and its conversion target diagram are specified. When the above designation operation is performed, the conversion instructing unit 11
Select the specified source CASE tool # 1 and target diagram.
【0025】入力部12は、変換指示部11によって選
択された変換元CASEツール#1の変換対象ダイアグ
ラムのCASEダイアグラムデータ(変換元CASEダ
イアグラムデータ)をCASEダイアグラムデータファ
イル41-1から入力し、データ形式変換部15に渡す。The input unit 12 inputs the CASE diagram data (conversion source CASE diagram data) of the conversion target diagram of the conversion source CASE tool # 1 selected by the conversion instruction unit 11 from the CASE diagram data file 41-1 and outputs the data. It is passed to the format conversion unit 15.
【0026】データ形式変換部15は、CASEダイア
グラム図項目データ形式テーブルファイル42-1内に保
存されている図項目データ形式テーブルのうち、変換指
示部11によって選択された変換元CASEツール#1
の変換対象ダイアグラムについての図項目データ形式テ
ーブルを参照する。The data format conversion unit 15 selects the conversion source CASE tool # 1 selected by the conversion instruction unit 11 from the figure item data format table stored in the CASE diagram drawing item data format table file 42-1.
Refer to the figure item data format table for the conversion target diagram of.
【0027】この、変換元CASEツール#1の変換対
象ダイアグラムについての図項目データ形式テーブルの
一例を図2に示す。この図2のテーブルは、変換対象ダ
イアグラム(の種別)がデータフローダイアグラムの例
である。FIG. 2 shows an example of the diagram item data format table for the conversion target diagram of the conversion source CASE tool # 1. In the table of FIG. 2, the conversion target diagram (type thereof) is an example of a data flow diagram.
【0028】図2に示す図項目データ形式テーブルに
は、各図項目毎に、対応するダイアグラム(ここではデ
ータフローダイアグラム)を構成する図項目データの名
称、種別(図項目種別)の他、その図項目の表示形状の
候補のうち実際に使用する表示形状の図項目種別形状テ
ーブル内登録先を示す識別番号(登録先ID)、他図項
目との関係、等の属性からなる図項目データ形式と、こ
のデータ形式と中間データ形式との対応関係とが登録さ
れている。In the figure item data format table shown in FIG. 2, for each figure item, in addition to the name and type (figure item type) of the figure item data forming the corresponding diagram (here, a data flow diagram), Figure item data format consisting of attributes such as the identification number (registration destination ID) indicating the registration destination in the figure item type shape table of the display shape that is actually used among the display shape candidates of the figure item, the relationship with other figure items And the correspondence relationship between this data format and the intermediate data format are registered.
【0029】そこでデータ形式変換部15は、図2に示
す図項目データ形式テーブルを参照することにより、入
力部12によって入力された変換元CASEダイアグラ
ムデータを、同テーブルに各図項目毎に記述されている
中間データ形式との対応関係に従って、ダイアグラム1
枚毎に、各1図項目ずつ中間データ(中間データ形式)
に変換する。Therefore, the data format conversion unit 15 refers to the drawing item data format table shown in FIG. 2 to describe the conversion source CASE diagram data input by the input unit 12 in the table for each drawing item. Diagram 1 according to the correspondence with the intermediate data format
Intermediate data (intermediate data format) for each sheet for each figure
Convert to.
【0030】このように本実施例では、CASEツール
#1のダイアグラム種別毎に、中間データ形式との対応
関係を、CASEダイアグラム図項目データ形式テーブ
ルファイル42-1に格納されるテーブル(図項目データ
形式テーブル)内に持っているため、変換元CASEツ
ール#1の変換対象ダイアグラム種別に固有の図項目デ
ータ形式テーブルを参照することにより、変換元CAS
Eダイアグラムデータを中間データ形式に変換すること
ができる。また、同じCASEツール#1がバージョン
アップによってデータ形式に変更が生じても、このテー
ブルを修正するだけでよく、プログラムの変更を行わず
に済む。As described above, in the present embodiment, the correspondence relationship between each diagram type of the CASE tool # 1 and the intermediate data format is stored in the CASE diagram diagram item data format table file 42-1 (the table item data). Since it is stored in the format table), by referring to the diagram item data format table specific to the conversion target diagram type of the conversion source CASE tool # 1, the conversion source CAS
E-diagram data can be converted to an intermediate data format. Further, even if the data format of the same CASE tool # 1 is changed due to the version upgrade, it is only necessary to modify this table and the program need not be modified.
【0031】図3は、以上のデータ形式変換部15によ
る、変換元CASEダイアグラムデータ(変換元CAS
Eツール#1の変換対象ダイアグラムのCASEダイア
グラムデータ)に対する中間データ形式への変換結果の
一例を示す。この図3に示す中間データ形式(中間デー
タ)は、ダイアグラム種別がデータフローダイアグラム
の場合における(ダイアグラム番号がDFD#1の)ダ
イアグラム1枚の例である。本実施例で生成される中間
データ形式の特徴は、ダイアグラムを作画するために必
要な作画情報として位置情報(位置座標)のみを持ち、
その形状(表示形状)についての情報を持たないことで
ある。この形状については、中間データ形式の持つ図項
目種別の属性に従って、変換元ならびに変換先CASE
ダイアグラムについてのCASEダイアグラム図項目種
別形状テーブルファイル43-i内の図項目種別形状テー
ブルを参照することにより求められる。したがって、変
換元と変換先の図項目の表示形状が異なることを考慮す
る必要がない。FIG. 3 shows the conversion source CASE diagram data (conversion source CAS) by the above data format conversion unit 15.
An example of the conversion result to the intermediate data format for the CASE diagram data of the conversion target diagram of E tool # 1 is shown. The intermediate data format (intermediate data) shown in FIG. 3 is an example of one diagram (diagram number is DFD # 1) when the diagram type is a data flow diagram. A feature of the intermediate data format generated in this embodiment is that it has only position information (position coordinates) as drawing information necessary for drawing a diagram,
It has no information about its shape (display shape). Regarding this shape, according to the attribute of the figure item type that the intermediate data format has, the conversion source and conversion destination CASE
It is obtained by referring to the figure item type shape table in the CASE diagram figure item type shape table file 43-i for the diagram. Therefore, it is not necessary to consider that the display shapes of the conversion source and conversion destination graphic items are different.
【0032】データ形式変換部15により、変換元CA
SEダイアグラムのデータ形式が中間データ形式に変換
されると、出力部13は、その変換結果(中間データ)
を、該当するCASEツールのダイアグラム種別に対応
して中間データ形式ファイル44に格納する。The data format conversion unit 15 causes the conversion source CA
When the data format of the SE diagram is converted to the intermediate data format, the output unit 13 outputs the conversion result (intermediate data).
Are stored in the intermediate data format file 44 corresponding to the diagram type of the corresponding CASE tool.
【0033】以上のデータ形式変換部15による中間デ
ータ形式への変換動作および出力部13による中間デー
タ格納動作は、指定のダイアグラム種別についてダイア
グラム1枚単位で行われる。これらの動作状態は、後述
するようにメッセージ出力部16により逐次画面表示さ
れる。The above-described conversion operation to the intermediate data format by the data format conversion section 15 and the storage operation of the intermediate data by the output section 13 are performed for each designated diagram type in units of one diagram. These operation states are sequentially displayed on the screen by the message output unit 16 as described later.
【0034】以上の変換動作および格納動作が全て完了
し、その旨がメッセージ出力部16により画面表示され
ると、ユーザは、ディスプレイ端末2のキーボード22
またはマウス23を用いて、先の変換元CASEツール
#1に対する変換先CASEツール(を示すツール種別
名)を指定するための入力操作を行う。ここでは、CA
SEツール#nが指定されたものとする。When all of the above conversion operation and storage operation are completed and the message output section 16 displays that fact on the screen, the user operates the keyboard 22 of the display terminal 2.
Alternatively, the mouse 23 is used to perform an input operation for designating (the tool type name indicating) the conversion destination CASE tool for the conversion source CASE tool # 1. Here, CA
It is assumed that the SE tool #n has been specified.
【0035】以上の指定操作が行われると、変換指示部
11は、指定された変換先CASEツール#nを選択す
る。なお、この変換先CASEツール#nの指定操作
は、先の変換元CASEツール#1の指定操作時に、続
けて行うようにしてもよい。When the above designation operation is performed, the conversion instructing section 11 selects the designated conversion destination CASE tool #n. The designation operation of the conversion destination CASE tool #n may be continuously performed at the time of the designation operation of the conversion source CASE tool # 1.
【0036】入力部12は、変換指示部11によって変
換先CASEツール#nが選択されると、変換指示部1
1によって先に選択されていた変換元CASEツール#
1の変換対象ダイアグラムについての中間データ、即ち
データ形式変換部15により変換生成されて出力部13
により中間データ形式ファイル44に格納された変換元
ダイアグラムの中間データを、ダイアグラム1枚単位で
同ファイル44から順次入力し、データ形式変換部15
に渡す。When the conversion destination CASE tool #n is selected by the conversion instruction unit 11, the input unit 12 receives the conversion instruction unit 1
Source CASE tool previously selected by #
Intermediate data for one conversion target diagram, that is, converted and generated by the data format conversion unit 15 and output by the output unit 13
Then, the intermediate data of the conversion source diagram stored in the intermediate data format file 44 is sequentially input from the file 44 for each diagram, and the data format conversion unit 15
Pass to.
【0037】なお、データ形式変換部15が生成した変
換元CASEツール#1の変換対象ダイアグラムについ
ての中間データを全て記憶することが可能な内部メモリ
を設けるならば、中間データ形式ファイル44への中間
データの格納と同ファイル44からの中間データの入力
は不要となる。但し、中間データ形式ファイル44に中
間データを格納しておき、必要に応じて取出して利用す
ることにより、その都度中間データを生成しなくても、
変換元CASEツールのダイアグラムを変換先CASE
ツールのダイアグラムに変換することが可能となる。If an internal memory capable of storing all the intermediate data about the conversion target diagram of the conversion source CASE tool # 1 generated by the data format conversion unit 15 is provided, the intermediate data to the intermediate data format file 44 is stored. It is not necessary to store data and input intermediate data from the file 44. However, even if intermediate data is not generated each time by storing the intermediate data in the intermediate data format file 44 and extracting and using it as needed,
Convert the source CASE tool diagram to the target CASE
It becomes possible to convert into a diagram of the tool.
【0038】データ形式変換部15は、入力部12によ
り入力された中間データの形式を、変換指示部11によ
り選択(指示)された変換先CASEツール#nに固有
のCASEダイアグラム図項目データ形式テーブルファ
イル42-n内の図項目データ形式テーブルと、同じくC
ASEダイアグラム図項目種別形状テーブルファイル4
3-n内の図項目種別形状テーブルと、変換元CASEツ
ール#1に固有のCASEダイアグラム図項目種別形状
テーブルファイル43-1内の図項目種別形状テーブルを
参照して、1図項目ずつ変換先CASEダイアグラムデ
ータに変換する。The data format conversion unit 15 is a CASE diagram diagram item data format table unique to the conversion destination CASE tool #n selected (instructed) by the conversion instruction unit 11 for the format of the intermediate data input by the input unit 12. Same as the figure item data format table in file 42-n
ASE diagram diagram item type shape table file 4
By referring to the figure item type shape table in 3-n and the CASE diagram figure item type shape table file 43-1 specific to the conversion source CASE tool # 1, the conversion destination for each figure item Convert to CASE diagram data.
【0039】即ちデータ形式変換部15は、図項目の表
示形状以外については、図2と同様の構造の図項目デー
タ形式テーブル(但し、ここではCASEツール種別は
#n)を参照して、図3に示したような形式の中間デー
タを、ダイアグラムの図項目データ形式と中間データ形
式との対応情報に従い、前記の中間データへの変換時と
逆方向に1図項目ずつ変換先のダイアグラムデータに変
換する。また図項目の表示形状については、データ形式
変換部15は、図4に示すような構造の変換元CASE
ツール#1についての図項目種別形状テーブルと、この
図4と同様の構造の変換先CASEツール#nについて
の図項目種別形状テーブルを参照して変換する。この形
状変換の詳細は後述する。That is, the data format conversion unit 15 refers to the figure item data format table (however, here, the CASE tool type is #n) having the same structure as that of FIG. According to the correspondence information between the diagram item data format of the diagram and the intermediate data format, the intermediate data in the format as shown in 3 is converted into the diagram data of the one figure item in the reverse direction of the conversion to the intermediate data. Convert. Regarding the display shape of the drawing item, the data format conversion unit 15 uses the conversion source CASE having the structure as shown in FIG.
The conversion is performed by referring to the drawing item type shape table for the tool # 1 and the drawing item type shape table for the conversion destination CASE tool #n having the same structure as in FIG. Details of this shape conversion will be described later.
【0040】メッセージ出力部16は、変換元ダイアグ
ラムデータから中間データへのデータ形式変換時、ある
いは中間データから変換先ダイアグラムデータへのデー
タ形式変換時には、データ形式変換部15が1図項目ず
つ変換する内容を、ユーザの確認用にディスプレイ端末
2(のディスプレイ21)に表示出力する。またメッセ
ージ出力部16は、変換元CASEダイアグラムについ
ての図項目データ形式テーブル、変換元CASEダイア
グラムについての図項目種別形状テーブル、変換先CA
SEダイアグラムについての図項目データ形式テーブ
ル、あるいは変換先CASEダイアグラムについての図
項目種別形状テーブルに一致しないものがあった場合、
その旨をディスプレイ端末2、更にはプリンタ3に対し
てメッセージ出力する。In the message output unit 16, the data format conversion unit 15 converts one figure item at a time when converting the data format from the conversion source diagram data to the intermediate data or when converting the data format from the intermediate data to the conversion destination diagram data. The content is displayed and output on (the display 21 of) the display terminal 2 for confirmation by the user. In addition, the message output unit 16 includes a drawing item data format table for the conversion source CASE diagram, a drawing item type shape table for the conversion source CASE diagram, and a conversion destination CA.
If there is something that does not match the figure item data format table for the SE diagram or the figure item type shape table for the conversion destination CASE diagram,
A message to that effect is output to the display terminal 2 and further to the printer 3.
【0041】さて、図4に示した変換元CASEツール
#1の図項目種別形状テーブルは、図項目種別が「プロ
セス」である場合の例である。この図4に示すような図
項目種別形状テーブルは、各CASEツールについて、
図項目属性データの1つである図項目種別の数だけ存在
し、1つの図形種別について共通に参照される。The figure item type shape table of the conversion source CASE tool # 1 shown in FIG. 4 is an example in the case where the figure item type is "process". The figure item type shape table as shown in FIG.
There are as many drawing item types as one of the drawing item attribute data, and one figure type is commonly referred to.
【0042】図4に示すような図項目種別形状テーブル
では、あるCASEツール(図4の例ではCASEツー
ル#1)が持つ図項目種別について、それぞれ複数の表
示形状が管理可能である。図4の例では、複数の表示形
状のうち、登録先ID(登録先を示す識別番号)が
“1”の領域に“円形”の表示形状が、同じく“2”の
領域に“正方形”の表示形状が、同じく“3”の領域に
“正六角形”の表示形状が、それぞれ登録されている。
この図4においては、“円形”の表示形状に網掛けが施
されている。これは、図項目種別「プロセス」の表示形
状として、変換元CASEダイアグラムでは“円形”で
表示されることを表している。この情報は、その変換元
ダイアグラムに固有の図項目データ形式テーブルの図項
目種別「プロセス」に関する図項目データ形式中に、登
録先IDとして記述されている。この図項目データ形式
中の登録先IDが“1”であるものとすると、図項目種
別「プロセス」についての図項目種別形状テーブル内の
対応する登録先に登録されている“円形”の表示形状
が、図項目種別「プロセス」の表示形状として使用され
ることになる。In the drawing item type shape table as shown in FIG. 4, a plurality of display shapes can be managed for each drawing item type of a certain CASE tool (CASE tool # 1 in the example of FIG. 4). In the example of FIG. 4, among a plurality of display shapes, the display shape of “circle” is shown in the area where the registration destination ID (identification number indicating the registration destination) is “1”, and the square of the display area is also “2”. Similarly, the display shape of “regular hexagon” is registered in the area of display shape “3”.
In FIG. 4, the "circular" display shape is shaded. This indicates that the display item type “process” is displayed as “circle” in the conversion source CASE diagram. This information is described as a registration destination ID in the diagram item data format relating to the diagram item type “process” in the diagram item data format table specific to the conversion source diagram. Assuming that the registration destination ID in this figure item data format is "1", the display shape of "circle" registered in the corresponding registration destination in the figure item type shape table for the figure item type "process" Will be used as the display shape of the figure item type “process”.
【0043】そこでデータ形式変換部15は、もし変換
先ツール#nの図項目種別「プロセス」についての図項
目種別形状テーブル中に、“円形”の表示形状が登録さ
れているならば、図3に示したような形式の中間データ
の図項目種別「プロセス」についての形状を(指定する
情報を)“円形”(を指定する情報)とする。Therefore, if the display shape of "circle" is registered in the drawing item type shape table for the drawing item type "process" of the conversion destination tool #n, the data format converting portion 15 will execute the process shown in FIG. The shape for the figure item type “process” of the intermediate data in the format as shown in (1) is (the information to be specified) is “circular” (the information to specify).
【0044】これに対し、変換先ツール#nの図項目種
別「プロセス」についての図項目種別形状テーブル中
に、“円形”の表示形状が登録されていないならば、即
ち変換の対象となる表示形状の中に変換先ツールにおい
て未登録の形状が現れた場合には、データ形式変換部1
5はその旨を図項目テーブル管理部14に通知して、デ
ータ変換作業を一時停止する。On the other hand, if the "circular" display shape is not registered in the drawing item type shape table for the drawing item type "process" of the conversion destination tool #n, that is, the display to be converted is displayed. If an unregistered shape appears in the conversion destination tool in the shape, the data format conversion unit 1
5 notifies the figure item table management unit 14 to that effect and suspends the data conversion work.
【0045】さて、未登録形状が現れた場合、即ちデー
タ形式変換部15のデータ変換作業が一時停止された場
合において、ユーザが選択可能な方策として、次の2つ
がある。第1は変換元の表示形状を異なるものと解釈
(網掛け位置を変更)して、変換先CASEツールの対
応する図項目種別形状テーブルにも共通に登録されてい
る別の形状への変換を行う方策である。第2は未登録形
状を変換先の図項目種別形状テーブルに新しく登録する
方策である。When an unregistered shape appears, that is, when the data conversion work of the data format converter 15 is temporarily stopped, there are the following two options that the user can select. The first is to interpret the display shape of the conversion source as different (change the shaded position) and convert it to another shape that is also registered in common in the corresponding drawing item type shape table of the conversion destination CASE tool. It is a policy to do. The second is a method of newly registering an unregistered shape in the drawing item type shape table of the conversion destination.
【0046】そこでメッセージ出力部16は、データ形
式変換部15によって未登録形状が現れたことが検出さ
れた場合には、その旨をディスプレイ端末2およびプリ
ンタ3に対してメッセージ出力させる。このとき、図項
目テーブル管理部14は、変換元ダイアグラムについて
の該当する図項目種別に固有の図4に示す図項目種別形
状テーブルと、変換先ダイアグラムについての該当する
図項目種別に固有の図項目種別形状テーブルとを、ディ
スプレイ端末2(のディスプレイ21)に表示し、ユー
ザが上記第1の方策または第2の方策のいずれかをとる
ことを促す。Therefore, when the data format conversion unit 15 detects that an unregistered shape appears, the message output unit 16 causes the display terminal 2 and the printer 3 to output a message to that effect. At this time, the diagram item table management unit 14 includes the diagram item type shape table shown in FIG. 4 which is unique to the corresponding diagram item type of the conversion source diagram, and the diagram item unique to the corresponding diagram item type of the conversion destination diagram. The type shape table is displayed on (the display 21 of) the display terminal 2 to prompt the user to take either the first measure or the second measure.
【0047】これによりユーザが、ディスプレイ端末2
を操作して上記第1の方策を選択し、図4に示す変換元
CASEツール#1の図項目種別形状テーブルの中か
ら、変換先CASEツールの対応する図項目種別形状テ
ーブルにも登録されている別の形状(現在網掛けが施さ
れている“円形”とは別の登録済み形状)を指定する
と、その旨が変換指示部11からデータ形式変換部15
に通知される。するとデータ形式変換部15は、変換元
ダイアグラムと変換先ダイアグラムの該当する図項目種
別(こでは「プロセス」)についての形状を指定の登録
済み形状に変換する。As a result, the user can display the display terminal 2
Is selected to select the first measure, and from the drawing item type shape table of the conversion source CASE tool # 1 shown in FIG. 4, it is also registered in the corresponding drawing item type shape table of the conversion destination CASE tool. If another specified shape (a registered shape different from the “circular” that is currently shaded) is specified, the fact is notified from the conversion instruction unit 11 to the data format conversion unit 15.
Will be notified. Then, the data format conversion unit 15 converts the shape for the corresponding drawing item type (here, “process”) of the conversion source diagram and the conversion destination diagram into the designated registered shape.
【0048】この場合、図項目テーブル管理部14は、
変換元CASEツール#1と変換先CASEツール#n
のそれぞれ対応する図項目データ形式テーブルの図項目
データ形式中に記述されている登録先IDを、ユーザ指
定の形状の登録先を指すように書換える。またメッセー
ジ出力部16は、表示中の図項目種別形状テーブル内の
網掛け位置を、“円形”部分から、指定された形状部分
へ移動する。In this case, the figure item table management unit 14
Source CASE tool # 1 and destination CASE tool #n
The registration destination ID described in the diagram item data format of the corresponding diagram item data format table is rewritten to indicate the registration destination of the shape designated by the user. Further, the message output unit 16 moves the shaded position in the displayed figure item type shape table from the “circular” portion to the designated shape portion.
【0049】一方、ユーザが、上記第2の方策を選択
し、図4と同様の構造の、変換先CASEツール#nの
図項目種別形状テーブル中に、未登録形状である“円
形”を登録するための操作をディスプレイ端末2を用い
て行うと、データ形式変換部15は変換先ダイアグラム
の該当する図項目種別(こでは「プロセス」)について
の形状を“円形”にする。On the other hand, the user selects the second measure, and registers the unregistered shape "circle" in the drawing item type shape table of the conversion destination CASE tool #n having the same structure as in FIG. When the operation for doing so is performed using the display terminal 2, the data format conversion unit 15 sets the shape of the corresponding diagram item type (here, “process”) of the conversion destination diagram to “circular”.
【0050】この場合、図項目テーブル管理部14は、
変換先CASEツール#nの対応する図項目種別形状テ
ーブルに、“円形”を新たに登録する。また図項目テー
ブル管理部14は、変換先CASEツール#nの対応す
る図項目データ形式テーブルの図項目データ形式中に記
述されている登録先IDを、新たに登録した形状の登録
先を指すように書換える。In this case, the figure item table management unit 14
"Circle" is newly registered in the drawing item type shape table corresponding to the conversion destination CASE tool #n. Further, the drawing item table management unit 14 points the registration destination ID described in the drawing item data format of the corresponding drawing item data format table of the conversion destination CASE tool #n to the registration destination of the newly registered shape. Rewrite.
【0051】このように、変換元CASEダイアグラム
と変換先CASEダイアグラムによって同一図項目種別
であっても異なる表示形状をとっている場合にも、本装
置とユーザとの間でディスプレイ端末2を介して対話式
に選択することにより、容易にダイアグラム変換が行え
る。なお、表示形状は同じでもサイズが異なる場合に
も、表示形状が異なる場合と同様の扱いにより、容易に
ダイアグラム変換を行うことができる。As described above, even when the conversion source CASE diagram and the conversion destination CASE diagram have different display shapes even for the same drawing item type, the display terminal 2 is used between the present apparatus and the user. Diagram selection can be easily performed by selecting interactively. Even when the display shapes are the same, but the sizes are different, the diagram conversion can be easily performed by the same handling as when the display shapes are different.
【0052】[0052]
【発明の効果】以上詳述したように、本発明によれば、
各種CASEツールについてのそれぞれのダイアグラム
を構成する図項目データの形式と中間データ形式との対
応関係、および各種CASEツールがサポートする図項
目種別毎の形状(表示形状)を、それぞれテーブルによ
り管理し、変換元CASEツールと変換先CASEツー
ルが指示された場合には、指示された変換元CASEツ
ールのCASEダイアグラムデータを、テーブル参照に
より中間データ形式に変換し、更に中間データ形式から
テーブル参照により変換先CASEツールのCASEダ
イアグラムデータに変換する構成としたので、次のよう
な効果を得ることができる。As described in detail above, according to the present invention,
The correspondence between the format of the figure item data and the intermediate data format that make up each diagram for various CASE tools, and the shape (display shape) for each figure item type supported by various CASE tools are managed by tables, When the conversion source CASE tool and the conversion destination CASE tool are designated, the CASE diagram data of the designated conversion source CASE tool is converted into the intermediate data format by the table reference, and further the conversion destination is converted by the table reference from the intermediate data format. Since the configuration is such that the data is converted into the CASE diagram data of the CASE tool, the following effects can be obtained.
【0053】(1)テーブルを参照して、そのテーブル
に記述されたデータ形式の対応関係(変換規則)に従う
データ形式変換を行う構成をとることから、その変換の
手続き(を司るデータ形式変換手段)を実現するための
プログラム中に変換規則を持たせる必要がなく、常に同
一の手続きで変換処理が行える。このように、変換処理
と変換規則の切り分けがなされるために、変換規則(デ
ータ形式の対応関係)が変更されても、テーブルの記述
内容を変更するだけでよく、プログラムを書き換える必
要がないことから、保守性が向上する。 (2)CASEツールの種類が増えてもその分のテーブ
ルを新たに用意するだけでよく、プログラムを変更する
必要がない。(1) Since the table is referred to and the data format conversion is performed in accordance with the correspondence relation (conversion rule) of the data formats described in the table, the data format conversion means (which controls the conversion procedure) It is not necessary to have a conversion rule in the program for realizing), and the conversion process can always be performed by the same procedure. In this way, since the conversion process and the conversion rule are separated, even if the conversion rule (correspondence between the data formats) is changed, it is only necessary to change the description content of the table and there is no need to rewrite the program. Therefore, maintainability is improved. (2) Even if the number of types of CASE tools increases, it is only necessary to newly prepare tables for that, and there is no need to change the program.
【0054】また本発明によれば、データ未登録のため
に変換異常が発生した場合に、その異常状態の回復を促
すためのメッセージを外部出力すると共に同メッセージ
で示される異常状態を回復するための指示を対話的に入
力し、この指示に応じてテーブルに対する新規登録およ
び登録内容の変更を行う構成としたので、変換元と変換
先で同一の図項目に対し異なる表示形状を持つ場合に
は、その旨のメッセージ出力を行って、対話式に新規の
形状を登録するか別の形状に変換するかを選択すること
ができ、プログラム中で表示形状を考慮する必要がな
く、変換規則を記述する必要がない。Further, according to the present invention, when a conversion abnormality occurs due to unregistered data, a message for prompting recovery of the abnormal state is externally output and the abnormal state indicated by the message is recovered. Since the configuration is such that new instructions and registered contents for the table are input interactively according to this instruction, if there are different display shapes for the same drawing item in the conversion source and conversion destination, , It is possible to output a message to that effect, and select whether to interactively register a new shape or convert it to another shape. It is not necessary to consider the display shape in the program, and the conversion rule is described. You don't have to.
【図1】本発明の一実施例に係るCASEダイアグラム
変換装置の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of a CASE diagram conversion device according to an embodiment of the present invention.
【図2】図1中のCASEダイアグラム図項目データ形
式テーブルファイル42-1に保存されているCASEツ
ール#1の変換対象ダイアグラムについての図項目デー
タ形式テーブルの一例を示す図。FIG. 2 is a diagram showing an example of a diagram item data format table for a CASE tool # 1 conversion target diagram stored in a CASE diagram diagram item data format table file 42-1 in FIG. 1;
【図3】図1中のデータ形式変換部15による、変換元
CASEダイアグラムデータに対する中間データ形式へ
の変換結果の一例を示す図。FIG. 3 is a diagram showing an example of a conversion result of the conversion source CASE diagram data into an intermediate data format by a data format conversion unit 15 in FIG.
【図4】図1中のCASEダイアグラム図項目種別形状
テーブルファイル43-1に保存されている変換元CAS
Eツール#1の図項目種別「プロセス」についての図項
目種別形状テーブルの一例を示す図。FIG. 4 is a conversion source CAS stored in a CASE diagram diagram item type shape table file 43-1 in FIG.
The figure which shows an example of the figure item classification shape table about the figure item classification "process" of E tool # 1.
1…CPU、2…ディスプレイ端末(対話手段)、3…
プリンタ,11…変換指示部、12…入力部、13…出
力部、14…図項目テーブル管理部、15…データ形式
変換部、16…メッセージ出力部、41-1〜41-n…C
ASEダイアグラムデータファイル、42-1〜42-n…
CASEダイアグラム図項目データ形式テーブルファイ
ル(第1のテーブル格納手段)、43-1〜43-n…CA
SEダイアグラム図項目種別形状テーブルファイル(第
2のテーブル格納手段)、44…中間データ形式ファイ
ル。1 ... CPU, 2 ... Display terminal (interaction means), 3 ...
Printer, 11 ... Conversion instruction section, 12 ... Input section, 13 ... Output section, 14 ... Diagram item table management section, 15 ... Data format conversion section, 16 ... Message output section, 41-1 to 41-n ... C
ASE diagram data file, 42-1 to 42-n ...
CASE diagram diagram item data format table file (first table storage means), 43-1 to 43-n ... CA
SE diagram diagram Item type shape table file (second table storage means), 44 ... Intermediate data format file.
Claims (2)
are Engineering )ツール(支援ツール)のダイアグラ
ムを変換先CASEツールのデータ形式のダイアグラム
に変換するCASEツール変換装置において、 各種CASEツールについてのそれぞれのダイアグラム
を構成する図項目データの形式と中間データ形式との対
応関係が登録された第1のテーブルが格納される第1の
テーブル格納手段と、 各種CASEツールについて図項目種別毎に少なくとも
1つの形状が登録された第2のテーブルが格納される第
2のテーブル格納手段と、 前記第1の格納手段に格納されている前記第1のテーブ
ルおよび前記第2の格納手段に格納されている前記第2
のテーブルを管理し、前記第1のテーブルおよび第2の
テーブルに対する新規登録および登録内容の変更を司る
テーブル管理手段と、 変換元CASEツールおよび変換先CASEツールを指
示するための変換指示手段と、 この変換指示手段からの指示に応じ、指示された変換元
CASEツールのCASEダイアグラムデータを、前記
第1のテーブル格納手段内の変換元に対応する前記第1
のテーブルをもとに中間データ形式に変換し、この中間
データ形式から、前記第1のテーブル格納手段内の変換
先に対応する前記第1のテーブルおよび前記第2の格納
手段内の変換元並びに変換先にそれぞれ対応する2つの
前記第2のテーブルをもとに、指示された変換先CAS
EツールのCASEダイアグラムデータを生成するデー
タ形式変換手段と、 を具備することを特徴とするCASEダイアグラム変換
装置。1. CASE (Computer Aided Softw)
are engineering) A CASE tool conversion device for converting a diagram of a tool (support tool) into a data format diagram of a conversion destination CASE tool, and a diagram item data format and an intermediate data format that form each diagram of each CASE tool. And a second table in which at least one shape is registered for each figure item type for various CASE tools. Table storage means, the first table stored in the first storage means, and the second table stored in the second storage means
Table management means for managing the table and managing the new registration and the change of the registered contents for the first table and the second table; and a conversion instruction means for instructing the conversion source CASE tool and the conversion destination CASE tool. In response to the instruction from the conversion instruction means, the CASE diagram data of the instructed conversion source CASE tool is converted into the first table corresponding to the conversion source in the first table storage means.
Is converted to an intermediate data format based on the above table, and from this intermediate data format, the first table corresponding to the conversion destination in the first table storage means and the conversion source in the second storage means, Based on the two second tables respectively corresponding to the conversion destinations, the specified conversion destination CAS
A CASE diagram conversion device comprising: a data format conversion means for generating CASE diagram data of the E tool.
式変換でデータ未登録のために変換異常が発生した場合
に、その異常状態の回復を促すためのメッセージを生成
出力するメッセージ出力手段と、このメッセージ出力手
段から生成出力された前記メッセージを外部出力すると
共に同メッセージで示される異常状態を回復するための
指示を対話的に入力するための対話手段とを更に備え、
前記テーブル管理手段は、前記対話手段により入力され
た指示に応じて前記第1のテーブルまたは第2のテーブ
ルに対する新規登録または登録内容の変更を行うことを
特徴とする請求項1記載のCASEダイアグラム変換装
置。2. A message output means for generating and outputting a message for prompting recovery from the abnormal state when a conversion abnormality occurs due to unregistered data in the data format conversion by the data format conversion means, and this message. Further comprising an interactive means for externally outputting the message generated and output from the output means and interactively inputting an instruction for recovering the abnormal state indicated by the message,
2. The CASE diagram conversion according to claim 1, wherein the table management means performs new registration or modification of registration contents in the first table or the second table in accordance with an instruction input by the dialogue means. apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27747792A JPH06131165A (en) | 1992-10-15 | 1992-10-15 | CASE diagram converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27747792A JPH06131165A (en) | 1992-10-15 | 1992-10-15 | CASE diagram converter |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06131165A true JPH06131165A (en) | 1994-05-13 |
Family
ID=17584144
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27747792A Pending JPH06131165A (en) | 1992-10-15 | 1992-10-15 | CASE diagram converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06131165A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118132066A (en) * | 2024-02-04 | 2024-06-04 | 浪潮智能物联技术有限公司 | A method and device for implementing a conversion plug-in |
-
1992
- 1992-10-15 JP JP27747792A patent/JPH06131165A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118132066A (en) * | 2024-02-04 | 2024-06-04 | 浪潮智能物联技术有限公司 | A method and device for implementing a conversion plug-in |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO1989002114A1 (en) | Data processing system | |
| JPH03268058A (en) | Document creation method and device | |
| JP3599198B2 (en) | Figure editing device | |
| JPS63231613A (en) | Command setting method | |
| JPH06131165A (en) | CASE diagram converter | |
| JPS63118820A (en) | Menu display device | |
| JPH0744343A (en) | Operation support information automatic generation device | |
| JPH06295236A (en) | Engineering device | |
| JP3557622B2 (en) | Data structure display device and data structure display method | |
| JPH0223438A (en) | File operation method | |
| JPH06290037A (en) | General converter for drawing data | |
| JPH04199226A (en) | Selecting and actuating method for tool | |
| JP2597286B2 (en) | Data processing system | |
| JP2958479B2 (en) | Document creation device | |
| JP2637208B2 (en) | Graphic processing system | |
| JP2530568B2 (en) | How to create operation buttons for computer processing | |
| JPH03135655A (en) | Editing system for contents of table block | |
| JPH06251039A (en) | Form design system | |
| JPH05158644A (en) | Menu processing device | |
| JPH08147167A (en) | Knowledge editing method | |
| JP2004213148A (en) | Plant monitoring and control system | |
| JPH0540559A (en) | Online manual display system | |
| JPS63138466A (en) | Control method for form data on cad system | |
| JPH08161128A (en) | Form overlay file output processing method | |
| JPH0452829A (en) | Information processor |