JP2015041285A - Consistency verification device, consistency verification method, and consistency verification program - Google Patents

Consistency verification device, consistency verification method, and consistency verification program Download PDF

Info

Publication number
JP2015041285A
JP2015041285A JP2013172549A JP2013172549A JP2015041285A JP 2015041285 A JP2015041285 A JP 2015041285A JP 2013172549 A JP2013172549 A JP 2013172549A JP 2013172549 A JP2013172549 A JP 2013172549A JP 2015041285 A JP2015041285 A JP 2015041285A
Authority
JP
Japan
Prior art keywords
verification
model
metamodel
consistency
diagrams
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.)
Granted
Application number
JP2013172549A
Other languages
Japanese (ja)
Other versions
JP6164979B2 (en
Inventor
勇人 金井
Hayato Kanai
勇人 金井
忠隆 浅川
Tadataka Asakawa
忠隆 浅川
中村 勝彦
Katsuhiko Nakamura
勝彦 中村
山田 貴光
Takamitsu Yamada
貴光 山田
僚 柏木
Ryo Kashiwagi
僚 柏木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2013172549A priority Critical patent/JP6164979B2/en
Publication of JP2015041285A publication Critical patent/JP2015041285A/en
Application granted granted Critical
Publication of JP6164979B2 publication Critical patent/JP6164979B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a consistency verification device, a consistency verification method, and a consistency verification program which are capable of verifying consistency of an arbitrary element between different types of arbitrary diagrams.SOLUTION: A consistency verification device 100 for consistency verification of a model 107 into which one software structure is visualized by a plurality of diagrams, includes: a verification item table 106 which is generated on the basis of meta-models 103 and 104 defining elements included in respective diagrams by meta-model elements and defines associations of meta-model elements consistent between different diagrams as verification items; a model information generation unit which generates a model information table 110 associating the meta-model elements defining the elements included in respective diagrams and values of the elements with each other on the basis of the model 107 and the meta-models 103 and 104; and a verification processing unit 108 which determines whether the model information table 110 includes elements inconsistent with the verification item table 106 or not on the basis of the verification item table 106 and the model information table 110.

Description

本発明は、S/W(ソフトウェア)構造を可視化したモデルの整合性を検証するための整合性検証装置、整合性検証方法及び整合性検証プログラムに関する。   The present invention relates to a consistency verification apparatus, a consistency verification method, and a consistency verification program for verifying the consistency of a model that visualizes an S / W (software) structure.

S/W開発の際、S/W構造を可視化する手法として、UML(Unified・Modeling・Language)を用いた方法がある。
UMLは、S/W構造を表す様々な図(ダイアグラム(線図))の表記方法を定義したものであり、S/Wの設計や分析に用いられる。
As a technique for visualizing the S / W structure during S / W development, there is a method using UML (Unified / Modeling / Language).
UML defines various notation methods for diagrams (diagrams) representing S / W structures, and is used for S / W design and analysis.

複数のUMLモデルの整合性を取ることで、別々に開発されたS/Wを組み合わせた大規模なS/W開発に役立てることができる。
一方、複数のUMLモデル間に不整合が存在する状態で開発を進めると、後工程で手戻りが発生する可能性があり、工程の遅延につながる。
By taking the consistency of a plurality of UML models, it can be used for large-scale S / W development combining separately developed S / Ws.
On the other hand, if development proceeds in a state where inconsistencies exist among a plurality of UML models, there is a possibility that rework may occur in a later process, leading to a delay in the process.

UMLの記述には自由度があるので、記述方針が異なる場合、複数のモデルにおいて不整合が発生する可能性がある。例えば、クラス・メソッドなどの要素の名称、あるいは変数・引数の型が一致していない等の記述方針の不一致があると、複数のモデルにおいて不整合が発生する可能性がある。
しかし、UMLにおいて、人間がモデルを書く際に不整合を完全に無くすことや、人間が複数のモデルを比較してモデル間の不整合を発見することは困難である。
Since there is a degree of freedom in the description of UML, inconsistencies may occur in a plurality of models if the description policy is different. For example, if there is a mismatch in the description policy such as the name of an element such as a class / method or the type of a variable / argument does not match, a mismatch may occur in a plurality of models.
However, in UML, it is difficult for humans to completely eliminate inconsistencies when writing models, and for humans to compare a plurality of models and find inconsistencies between models.

特許文献1では、UMLモデルがUMLのメタモデルの仕様に合致しているか又は一般的によく知られているモデルリング・ルールに沿っているかについて検証することができる。   In Patent Document 1, it is possible to verify whether the UML model conforms to the specifications of the UML metamodel or conforms to a generally well-known modeling rule.

特開2010−86066号公報JP 2010-86066 A

特許文献1では、異なる種類のダイアグラム間での整合性を検証することはできないという課題があった。
また、整合性ルールをモデル担当者が独自に設定することができないという課題があった。
In Patent Document 1, there is a problem that consistency between different types of diagrams cannot be verified.
In addition, there is a problem that the person in charge of the model cannot set the consistency rule independently.

本発明は、例えば、任意の異なる種類のダイアグラム間での、任意の要素に対する整合性を検証することができる整合性検証装置、整合性検証方法及び整合性検証プログラムを提供することを目的とする。   An object of the present invention is to provide a consistency verification apparatus, a consistency verification method, and a consistency verification program that can verify the consistency of an arbitrary element between arbitrary different types of diagrams, for example. .

本発明に係る整合性検証装置は、
1つのソフトウェア構造を複数の線図により可視化したモデルについて、前記複数の線図間の整合性を検証する整合性検証装置において、
前記複数の線図の各線図に含まれる要素をメタモデル要素により定義するメタモデルに基づいて作成され、異なる線図間で整合するメタモデル要素の対応を検証項目として定義した検証項目表を記憶装置に記憶する検証項目表記憶部と、
前記モデルと前記メタモデルとに基づいて、前記複数の線図の各線図に含まれる要素を定義するメタモデル要素と、前記要素の値とを対応付けた対応表を生成する対応表生成部と、
前記検証項目表と前記対応表とに基づいて、前記対応表のなかに前記検証項目表に合致しない要素があるか否かを処理装置により判定する検証処理部と
を備えることを特徴とする。
Consistency verification device according to the present invention,
In a consistency verification device that verifies the consistency between a plurality of diagrams for a model in which one software structure is visualized by a plurality of diagrams,
A verification item table is created based on a meta model that defines the elements included in each diagram of the plurality of diagrams by a meta model element, and the correspondence of meta model elements that match between different diagram is defined as a verification item. A verification item table storage unit stored in the device;
Based on the model and the metamodel, a correspondence table generation unit that generates a correspondence table in which a metamodel element that defines an element included in each diagram of the plurality of diagrams and a value of the element are associated with each other ,
And a verification processing unit that determines whether or not there is an element that does not match the verification item table in the correspondence table based on the verification item table and the correspondence table.

本発明の一の態様によれば、メタモデルに基づいて作成され、異なる線図間で整合するメタモデル要素の対応を検証項目として定義した検証項目表と、要素を定義するメタモデル要素と前記要素の値とを対応付けた対応表とに基づいて、前記対応表のなかに前記検証項目表に合致しない要素があるか否かを処理装置により判定するので、任意の異なる種類の線図間での、任意の要素に対する整合性を検証することができるという効果を奏する。   According to one aspect of the present invention, a verification item table that is created based on a meta model and defines a correspondence between meta model elements that match between different diagrams as a verification item, a meta model element that defines an element, Based on the correspondence table in which the values of the elements are associated, the processing device determines whether there is an element that does not match the verification item table in the correspondence table. Thus, there is an effect that the consistency with respect to an arbitrary element can be verified.

実施の形態1に係る整合性検証装置100の構成を示すブロック図である。1 is a block diagram showing a configuration of a consistency verification device 100 according to Embodiment 1. FIG. 実施の形態1に係る整合性検証装置100のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a consistency verification device 100 according to Embodiment 1. FIG. 実施の形態1に係る検証項目106の構成の一例を示す図である。It is a figure which shows an example of a structure of the verification item 106 which concerns on Embodiment 1. FIG. 実施の形態1に係るメタモデル(要素定義)103の一例であり、クラス図メタモデルを示す図である。It is an example of the metamodel (element definition) 103 concerning Embodiment 1, and is a figure which shows a class diagram metamodel. 実施の形態1に係るメタモデル(要素定義)103の一例であり、シーケンス図メタモデルを示す図である。It is an example of the metamodel (element definition) 103 concerning Embodiment 1, and is a figure which shows a sequence diagram metamodel. 実施の形態1に係るメタモデル(要素定義)103の一例であり、ステートマシン図メタモデルを示す図である。It is an example of the metamodel (element definition) 103 according to the first embodiment, and is a diagram illustrating a state machine diagram metamodel. 実施の形態1に係るメタモデル(記法定義)104の一例(一部抜粋)であり、クラス図のメタモデル(記法定義)を示す図である。It is an example (partial excerpt) of the metamodel (notation definition) 104 according to the first embodiment, and shows a metamodel (notation definition) of a class diagram. 実施の形態1に係るモデル107の一例であり、クラス図を示す図である。It is an example of the model 107 which concerns on Embodiment 1, and is a figure which shows a class diagram. 実施の形態1に係るモデル107の一例であり、シーケンス図を示す図である。It is an example of the model 107 which concerns on Embodiment 1, and is a figure which shows a sequence diagram. 実施の形態1に係るモデル107の一例であり、ステートマシン図を示す図である。It is an example of the model 107 which concerns on Embodiment 1, and is a figure which shows a state machine diagram. 実施の形態1に係るモデル情報表110の構成の一例を示す図である。It is a figure which shows an example of a structure of the model information table 110 which concerns on Embodiment 1. FIG. 実施の形態1に係る検証処理部108による整合性検証処理を示すフローチャートである。4 is a flowchart showing consistency verification processing by the verification processing unit 108 according to the first embodiment. 実施の形態1に係る検証処理部108による整合性検証処理を示すフローチャートである。4 is a flowchart showing consistency verification processing by the verification processing unit 108 according to the first embodiment. 実施の形態1に係る違反結果表109の構成の一例を示す図である。It is a figure which shows an example of a structure of the violation result table | surface 109 which concerns on Embodiment 1. FIG. 実施の形態2に係る整合性検証装置100aを示すブロック構成図である。It is a block block diagram which shows the consistency verification apparatus 100a which concerns on Embodiment 2. FIG. 実施の形態2に係る検証対象表121の一例を示す図である。It is a figure which shows an example of the verification object table | surface 121 which concerns on Embodiment 2. FIG. 実施の形態2に係るメタモデル対応表122の一例を示す図である。It is a figure which shows an example of the metamodel corresponding | compatible table 122 which concerns on Embodiment 2. FIG. 実施の形態3に係る整合性検証装置100bを示すブロック構成図である。It is a block block diagram which shows the consistency verification apparatus 100b which concerns on Embodiment 3. FIG. 実施の形態3に係る指定箇所117の一例を示す図である。It is a figure which shows an example of the designation | designated location 117 which concerns on Embodiment 3. FIG.

実施の形態1.
図1は、本実施の形態に係る整合性検証装置100の構成を示すブロック図である。整合性検証装置100は、1つのソフトウェア構造を複数のダイアグラム(線図)により可視化したモデル107について、複数のダイアグラム間の整合性を検証する。モデル107は、例えば、UMLなどである。整合性検証装置100は、モデル107の定義レベル(メタレベル)において定義された整合性の検証項目を読み込み、検証する機能を有する装置である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of consistency verification apparatus 100 according to the present embodiment. The consistency verification apparatus 100 verifies the consistency between a plurality of diagrams for a model 107 in which one software structure is visualized by a plurality of diagrams (diagrams). The model 107 is, for example, UML. The consistency verification apparatus 100 is an apparatus having a function of reading and verifying consistency verification items defined at the definition level (meta level) of the model 107.

図1において、整合性検証装置100は、モデル情報生成部105、検証処理部108、リスト表示部114を備える。
また、使用者によって記述された整合性検証対象であるモデル107、モデル107の定義であるメタモデル(要素定義)103とメタモデル(記法定義)104とが予め記憶装置に記憶されている。メタモデル(要素定義)103とメタモデル(記法定義)104とを合わせて、単にメタモデルと呼ぶ場合もある。
メタモデルは、複数のダイアグラムのそれぞれに含まれる要素を、メタレベルのメタモデル要素(メタモデル要素名ともいう)により定義する。
In FIG. 1, the consistency verification apparatus 100 includes a model information generation unit 105, a verification processing unit 108, and a list display unit 114.
In addition, a model 107 to be verified by a user and a meta model (element definition) 103 and a meta model (notation definition) 104 that are definitions of the model 107 are stored in the storage device in advance. The metamodel (element definition) 103 and the metamodel (notation definition) 104 may be simply referred to as a metamodel.
In the meta model, elements included in each of a plurality of diagrams are defined by meta model meta model elements (also referred to as meta model element names).

使用者は検証したい項目を検証項目106として明記し、予め記憶装置に記憶する。あるいは、整合性検証装置100を起動すると、表示装置に検証したい項目を入力する検証項目入力画面が表示され、使用者により入力された検証項目を検証項目106として記憶装置に記憶するとしてもよい。
検証項目106(検証項目表)は、メタモデルに基づいてユーザにより作成される。検証項目106(検証項目表)は、異なるダイアグラム間で整合する要素を、メタモデル要素の対応を用いて定義される。検証項目106は、例えば、検証項目表記憶部により記憶装置に記憶される。
The user specifies the item to be verified as the verification item 106 and stores it in the storage device in advance. Alternatively, when the consistency verification device 100 is activated, a verification item input screen for inputting an item to be verified may be displayed on the display device, and the verification item input by the user may be stored as a verification item 106 in the storage device.
The verification item 106 (verification item table) is created by the user based on the meta model. In the verification item 106 (verification item table), elements that match between different diagrams are defined using correspondence of metamodel elements. For example, the verification item 106 is stored in the storage device by the verification item table storage unit.

モデル情報生成部105は、モデル107、メタモデル(要素定義)103とメタモデル(記法定義)104とを記憶装置から読み込む。モデル情報生成部5は、検証する情報を抽出したモデル情報表110を処理装置により生成し、出力する。
モデル情報生成部105は、モデル107とメタモデル(メタモデル(要素定義)103、メタモデル(記法定義)104)とに基づいて、メタモデルにおいて要素を定義するメタモデル要素と、要素の値とを対応付けたモデル情報表110(対応表)を生成する対応表生成部の一例である。
The model information generation unit 105 reads the model 107, the metamodel (element definition) 103, and the metamodel (notation definition) 104 from the storage device. The model information generation unit 5 generates and outputs a model information table 110 from which information to be verified is extracted by a processing device.
Based on the model 107 and the metamodel (metamodel (element definition) 103, metamodel (notation definition) 104), the model information generation unit 105 defines a metamodel element that defines an element in the metamodel, an element value, 3 is an example of a correspondence table generation unit that generates a model information table 110 (correspondence table) in which the items are associated with each other.

検証処理部108は、記憶装置に記憶されている検証項目106と、モデル情報生成部105から出力されたモデル情報表110とを読み込む。検証処理部108は、読み込んだ検証項目106とモデル情報表110とに基づいて、モデル情報表110の行(要素を定義するメタモデル要素と、要素の値との対応)のなかに、検証項目106に合致しない行(要素)があるか否かを処理装置により判定する。
検証処理部108は、検証項目106から、検証元である正とする要素、検証対象とする要素を抽出し、抽出結果を元にモデル情報表110から正とする要素の値と検証対象とする要素の値を抽出する。
The verification processing unit 108 reads the verification items 106 stored in the storage device and the model information table 110 output from the model information generation unit 105. Based on the verification item 106 and the model information table 110 that have been read, the verification processing unit 108 includes the verification item in the row of the model information table 110 (correspondence between the metamodel element that defines the element and the value of the element). Whether or not there is a row (element) that does not match 106 is determined by the processing device.
The verification processing unit 108 extracts a positive element that is a verification source and an element that is a verification target from the verification item 106, and sets the value of the positive element and the verification target from the model information table 110 based on the extraction result. Extract the element value.

検証処理部108は、モデル情報表110の行(メタモデル要素と、要素の値との対応)のうち検証項目106に合致しないと判定した行(要素)の一覧を違反結果表109として出力する。つまり、検証処理部108は、抽出した値から違反を抽出し、違反結果表109を処理装置により生成し、出力する。
リスト表示部114は、検証処理部108から違反結果表9を入力し、表示装置にリスト形式で表示する。
The verification processing unit 108 outputs, as the violation result table 109, a list of rows (elements) determined not to match the verification item 106 among the rows of the model information table 110 (correspondence between the meta model elements and the element values). . That is, the verification processing unit 108 extracts violations from the extracted values, and generates and outputs the violation result table 109 by the processing device.
The list display unit 114 receives the violation result table 9 from the verification processing unit 108 and displays it on the display device in a list format.

図2は、本実施の形態に係る整合性検証装置100のハードウェア構成の一例を示す図である。
図2を用いて、整合性検証装置100のハードウェア構成例について説明する。
FIG. 2 is a diagram illustrating an example of a hardware configuration of the consistency verification apparatus 100 according to the present embodiment.
A hardware configuration example of the consistency verification apparatus 100 will be described with reference to FIG.

整合性検証装置100はコンピュータを備え、整合性検証装置100の各要素をプログラムで実現することができる。   The consistency verification apparatus 100 includes a computer, and each element of the consistency verification apparatus 100 can be realized by a program.

整合性検証装置100のハードウェア構成としては、バスに、演算装置901、外部記憶装置902、主記憶装置903、通信装置904、入出力装置905が接続されている。   As a hardware configuration of the consistency verification device 100, an arithmetic device 901, an external storage device 902, a main storage device 903, a communication device 904, and an input / output device 905 are connected to the bus.

演算装置901は、プログラムを実行するCPU(Central・Processing・Unit)である。
外部記憶装置902は、例えばROM(Read・Only・Memory)やフラッシュメモリ、ハードディスク装置である。ハードディスク120は、外部記憶装置902の一例である。
主記憶装置903は、RAM(Random・Access・Memory)である。
The arithmetic device 901 is a CPU (Central Processing Unit) that executes a program.
The external storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or a hard disk device. The hard disk 120 is an example of the external storage device 902.
The main storage device 903 is a RAM (Random / Access / Memory).

通信装置904は、例えば通信ボード等であり、LAN(Local・Area・Network)等に接続されている。通信装置904は、LANに限らず、IP−VPN(Internet・Protocol・Virtual・Private・Network)、広域LAN、ATM(Asynchronous・Transfer・Mode)ネットワークといったWAN(Wide・Area・Network)、あるいは、インターネットに接続されていても構わない。LAN、WAN、インターネットは、ネットワークの一例である。   The communication device 904 is, for example, a communication board or the like, and is connected to a LAN (Local / Area / Network) or the like. The communication device 904 is not limited to a LAN, but is an IP-VPN (Internet / Protocol / Virtual / Private / Network), a wide-area LAN, an ATM (Asynchronous / Transfer / Mode) network, a WAN (Wide / Area / Network), or the Internet. It does not matter if it is connected to. LAN, WAN, and the Internet are examples of networks.

入出力装置905は、例えばマウス、キーボード、ディスプレイ装置等である。マウスの代わりに、タッチパネル、タッチパッド、トラックボール、ペンタブレット、あるいは、その他のポインティングデバイスが用いられてもよい。ディスプレイ装置は、LCD(Liquid・Crystal・Display)、CRT(Cathode・Ray・Tube)、あるいは、その他の表示装置でもよい。ディスプレイ130は、表示装置の一例である。   The input / output device 905 is, for example, a mouse, a keyboard, a display device, or the like. Instead of the mouse, a touch panel, touch pad, trackball, pen tablet, or other pointing device may be used. The display device may be an LCD (Liquid / Crystal / Display), a CRT (Cathode / Ray / Tube), or another display device. The display 130 is an example of a display device.

プログラムは、通常は外部記憶装置902に記憶されており、主記憶装置903にロードされた状態で、順次演算装置901に読み込まれ、実行される。
プログラムは、図1に示す「〜部」として説明している機能を実現するプログラムである。
更に、外部記憶装置902にはオペレーティングシステム(OS)も記憶されており、OSの少なくとも一部が主記憶装置903にロードされ、演算装置901はOSを実行しながら、図1に示す「〜部」の機能を実現するプログラムを実行する。
また、アプリケーションプログラムも外部記憶装置902に記憶されており、主記憶装置903にロードされた状態で、順次演算装置901により実行される。
また、「〜テーブル」等の情報も外部記憶装置902に記憶されている。
The program is normally stored in the external storage device 902, and is loaded into the main storage device 903 and sequentially read into the arithmetic device 901 and executed.
The program is a program that realizes a function described as “unit” shown in FIG.
Further, an operating system (OS) is also stored in the external storage device 902. At least a part of the OS is loaded into the main storage device 903. ”Is executed.
An application program is also stored in the external storage device 902, and is sequentially executed by the arithmetic device 901 while being loaded in the main storage device 903.
Information such as “˜table” is also stored in the external storage device 902.

また、本実施の形態の説明において、「〜の判断」、「〜の判定」、「〜の抽出」、「〜の検知」、「〜の設定」、「〜の登録」、「〜の選択」、「〜の生成」、「〜の入力」、「〜の出力」、「〜表」等として説明している処理の結果を示す情報やデータや信号値や変数値が主記憶装置903にファイルとして記憶されている。
また、整合性検証装置100が受信したデータが主記憶装置903に記憶される。
また、暗号鍵・復号鍵や乱数値やパラメータが、主記憶装置903にファイルとして記憶されてもよい。
In the description of the present embodiment, “determining”, “determining”, “extracting”, “detecting”, “setting”, “registering”, “selecting” ”,“ Generation of ”,“ Input of ”,“ Output of ”,“ Table ”, etc. Information, data, signal values, and variable values indicating the results of processing are stored in the main memory 903. Stored as a file.
Further, data received by the consistency verification device 100 is stored in the main storage device 903.
Further, the encryption key / decryption key, random number value, and parameter may be stored in the main storage device 903 as a file.

なお、図2の構成は、あくまでも整合性検証装置100のハードウェア構成の一例を示すものであり、整合性検証装置100のハードウェア構成は図2に記載の構成に限らず、他の構成であってもよい。   2 is merely an example of the hardware configuration of the consistency verification device 100, and the hardware configuration of the consistency verification device 100 is not limited to the configuration described in FIG. There may be.

図3は、本実施の形態に係る検証項目106の構成の一例を示す図である。
検証項目106は、整合性検証で正とするメタモデル要素(メタモデル要素名)、検証対象とするメタモデル要素を明示する。
検証項目106は、「検証元一致条件1」、「検証元一致条件2」、「検証元」、「検証対象一致条件1」、「検証対象一致条件2」、「検証対象」の項目から構成される。
「検証元一致条件1」と「検証対象一致条件1」、「検証元一致条件2」と「検証対象一致条件2」が一致することを前提条件として、整合性検証で正とする「検証元」、検証対象とする「検証対象」を示している。「検証元一致条件1」、「検証対象一致条件1」、「検証元一致条件2」、「検証対象一致条件2」は必須ではない。設定されていない場合には、「−(ハイフン)」が記入されている。
FIG. 3 is a diagram showing an example of the configuration of the verification item 106 according to the present embodiment.
The verification item 106 specifies a metamodel element (metamodel element name) that is positive in the consistency verification and a metamodel element that is a verification target.
The verification item 106 includes items of “verification source match condition 1”, “verification source match condition 2”, “verification source”, “verification target match condition 1”, “verification target match condition 2”, and “verification target”. Is done.
Assuming that “verification source matching condition 1” and “verification target matching condition 1”, “verification source matching condition 2”, and “verification target matching condition 2” match, ”,“ Verification object ”to be verified. “Verification source match condition 1”, “verification target match condition 1”, “verification source match condition 2”, and “verification target match condition 2” are not essential. If it is not set, “-(hyphen)” is entered.

図3を用いて、検証項目6の具体例について説明する。
例えば、第1行では、前提条件として「検証元一致条件1」である「Note.ClassDiagram」と、「検証対象一致条件1」である「Interaction.name」が一致する必要があることを示している。一致した場合には、「検証元」である「Class.name」を正として、「検証対象」である「Interaction.message.receiveEvent.covered.name」を検証の対象とすることを示している。
A specific example of the verification item 6 will be described with reference to FIG.
For example, the first line indicates that “Note.ClassDiagram”, which is “verification source matching condition 1”, and “Interaction.name”, which is “verification target matching condition 1”, must match as a precondition. Yes. If they match, “Class.name” that is “verification source” is positive, and “Interaction.message.receiveEvent.covered.name” that is “verification target” is to be verified.

メタモデル(要素定義)103は、ダイアグラムで記述される各要素を、メタレベルのメタモデル要素により定義している。代表例として、UMLのメタモデルが挙げられる。   The meta model (element definition) 103 defines each element described in the diagram by a meta level meta model element. A typical example is a UML metamodel.

図4は、本実施の形態に係るメタモデル(要素定義)103の一例(一部抜粋)であり、クラス図メタモデルを示す図である。
図5は、本実施の形態に係るメタモデル(要素定義)103の一例(一部抜粋)であり、シーケンス図メタモデルを示す図である。
図6は、本実施の形態に係るメタモデル(要素定義)103の一例(一部抜粋)であり、ステートマシン図メタモデルを示す図である。
FIG. 4 is an example (partially extracted) of the meta model (element definition) 103 according to the present embodiment, and is a diagram illustrating a class diagram meta model.
FIG. 5 is an example (partially extracted) of the meta model (element definition) 103 according to the present embodiment, and is a diagram illustrating a sequence diagram meta model.
FIG. 6 is an example (partially extracted) of the metamodel (element definition) 103 according to the present embodiment, and is a diagram showing a state machine diagram metamodel.

メタモデル(記法定義)104は、ダイアグラムで記述される記法の定義をしている。具体的には、メタモデル(要素定義)103で定義された各要素の記法を定義している。代表例として、UMLのメタモデルが挙げられる。
図7は、本実施の形態に係るメタモデル(記法定義)104(一部抜粋)であり、クラス図のメタモデル(記法定義)を示す図である。
A metamodel (notation definition) 104 defines a notation described by a diagram. Specifically, the notation of each element defined in the metamodel (element definition) 103 is defined. A typical example is a UML metamodel.
FIG. 7 is a meta model (notation definition) 104 (partially extracted) according to the present embodiment, and shows a meta model (notation definition) of a class diagram.

図8は、本実施の形態に係るモデル107の一例であり、クラス図を示す図である。
図9は、本実施の形態に係るモデル107の一例であり、シーケンス図を示す図である。
図10は、本実施の形態に係るモデル107の一例であり、ステートマシン図を示す図である。
FIG. 8 is an example of the model 107 according to the present embodiment and is a diagram illustrating a class diagram.
FIG. 9 is an example of the model 107 according to the present embodiment, and is a diagram illustrating a sequence diagram.
FIG. 10 is an example of the model 107 according to the present embodiment, and is a diagram illustrating a state machine diagram.

モデル107はメタモデル(要素定義)103及びメタモデル(記法定義)104を用いて、作成される。メタモデル(要素定義)103及びメタモデル(記法定義)104を併せてメタモデルと呼ぶ。
図8〜10は、UMLのメタモデルから作成されたモデル107の一例を示す図であり、クラス図、シーケンス図、ステートマシン図を示している。
なお、図8では、コメント機能を利用してクラス図名を定義している。これは、UMLのメタモデル上では、クラス図の名前を持つ要素が定義されていないためである。そのため、本例ではメタモデルを拡張し、要素定義を「Note.ClassDiagram」としている。
The model 107 is created using a metamodel (element definition) 103 and a metamodel (notation definition) 104. The meta model (element definition) 103 and the meta model (notation definition) 104 are collectively referred to as a meta model.
8 to 10 are diagrams showing an example of the model 107 created from the UML metamodel, and show a class diagram, a sequence diagram, and a state machine diagram.
In FIG. 8, the class diagram name is defined using the comment function. This is because an element having a class diagram name is not defined on the UML metamodel. Therefore, in this example, the meta model is extended and the element definition is “Note.ClassDiagram”.

図11は、本実施の形態に係るモデル情報表110の構成の一例を示す図である。
モデル情報表110は、モデル情報生成部105により生成される。
FIG. 11 is a diagram showing an example of the configuration of the model information table 110 according to the present embodiment.
The model information table 110 is generated by the model information generation unit 105.

モデル情報表110は、メタモデル要素を示す「メタモデル要素1種類」、「メタモデル要素2種類」、「メタモデル要素3種類」と各々に対応した値である「要素1」、「要素2」、「要素3」で構成される。また、「メタモデル要素1種類」は「メタモデル要素2種類」を保持し、「メタモデル要素2種類」は「メタモデル要素3種類」を保持する関係が成り立つ。   The model information table 110 includes “element 1”, “element 2” which are values corresponding to “metamodel element 1 type”, “metamodel element 2 types”, and “metamodel element 3 types” indicating metamodel elements. ”And“ Element 3 ”. Further, the relationship of “metamodel element 1 type” holds “metamodel element 2 types”, and “metamodel element 2 types” holds “metamodel element 3 types”.

以下に、モデル情報生成部105がモデル7とメタモデル(要素定義)103」、「メタモデル(記法定義)104」を入力として、「モデル情報表110」を出力するモデル情報出力処理(対応表生成処理)について説明する。
モデル情報生成部105は、処理装置を用いて、以下の手順でモデル情報表110を生成する。
In the following, model information generation unit 105 receives model 7 and meta model (element definition) 103 ”and“ meta model (notation definition) 104 ”as input, and outputs model information output processing (correspondence table) for“ model information table 110 ”. Generation processing) will be described.
The model information generation unit 105 generates the model information table 110 by the following procedure using the processing device.

(1)モデル情報生成部105は、「モデル107」に対して、「メタモデル(記法定義)104」に基づいて得られる要素の値と、「メタモデル(要素定義)103」で定義されているメタモデル要素との対応を取る。
(2)モデル情報生成部105は、(1)で対応を取ったメタモデル要素を「モデル情報表110」の「メタモデル要素1種類」または「メタモデル要素2種類」または「メタモデル要素3種類」に設定する。次に、対応を取った値をそれぞれ、「要素1」または「要素2」または「要素3」に設定する。
ここで、モデル情報生成部105は、以下の規則に従って、モデル情報表110を出力する。「メタモデル要素1種類」は「メタモデル要素2種類」を保持し、「メタモデル要素2種類」は「メタモデル要素3種類」を保持する関係とすることを規則とする。
(1) The model information generation unit 105 is defined with respect to the “model 107” by an element value obtained based on the “metamodel (notation definition) 104” and the “metamodel (element definition) 103”. Take correspondence with the metamodel elements.
(2) The model information generation unit 105 selects the “metamodel element 1 type”, “metamodel element 2 type”, or “metamodel element 3” in the “model information table 110” as the metamodel element that has taken the correspondence in (1). Set to Type. Next, the corresponding values are set to “element 1”, “element 2”, or “element 3”, respectively.
Here, the model information generation unit 105 outputs the model information table 110 according to the following rules. It is a rule that “metamodel element 1 type” holds “metamodel element 2 types” and “metamodel element 2 types” holds “metamodel element 3 types”.

図12及び図13は、本実施の形態に係る検証処理部108による整合性検証処理を示すフローチャートである。フローチャートは検証項目106の各行毎に実行される。
図12及び図13を用いて、検証処理部108による整合性検証処理(検証処理)について説明する。
12 and 13 are flowcharts showing the consistency verification processing by the verification processing unit 108 according to the present embodiment. The flowchart is executed for each row of the verification item 106.
The consistency verification process (verification process) by the verification processing unit 108 will be described with reference to FIGS. 12 and 13.

S101において、検証処理部108は、「検証項目106」の処理対象の行(処理対象行)の「検証元一致条件1」、「検証元一致条件2」、「検証元」に合致するモデル情報表110の行を抽出する。検証処理部108が抽出したモデル情報表110の検証元の行を検証元表10とする。
具体例を用いて説明する。例えば、「検証項目106」の処理対象行を第1行とする。このとき、「検証元一致条件1」、「検証元一致条件2」、「検証元」は、「Note.ClassDiagram」、「−」、「Class.name」となる。したがって、検証処理部108は、処理対象行の第1行に対応するモデル情報表110の行として、モデル情報表110の第1行と第2行とを抽出する。モデル情報表110の第1行と第2行とが検証元表10となる。
In S101, the verification processing unit 108 matches the model information that matches the “verification source match condition 1”, “verification source match condition 2”, and “verification source” of the processing target row (processing target row) of the “verification item 106”. Extract the rows of Table 110. The verification source row of the model information table 110 extracted by the verification processing unit 108 is referred to as a verification source table 10.
This will be described using a specific example. For example, the processing target row of “verification item 106” is the first row. At this time, “verification source match condition 1”, “verification source match condition 2”, and “verification source” are “Note.ClassDiagram”, “−”, and “Class.name”. Therefore, the verification processing unit 108 extracts the first row and the second row of the model information table 110 as the rows of the model information table 110 corresponding to the first row of the processing target rows. The first and second rows of the model information table 110 become the verification source table 10.

S102において、検証処理部108は、「検証項目106」の処理対象行の「検証対象一致条件1」、「検証対象一致条件2」、「検証対象」に合致するモデル情報表110の行を抽出する。検証処理部108が抽出したモデル情報表110の検証対象の行を検証元表10とする。
具体例では、「検証項目106」の処理対象行が第1行のとき、「検証対象一致条件1」、「検証対象一致条件2」、「検証対象」は、「Interaction.name」、「−」、「Interaction.message.receiveEvent.covered.name」となる。したがって、検証処理部108は、処理対象行の第1行に対応するモデル情報表110の行として、モデル情報表110の第4行と第6行とを抽出する。モデル情報表110の第4行と第6行とが検証対象抽出表20となる。
In S102, the verification processing unit 108 extracts the rows of the model information table 110 that match the “verification target matching condition 1”, “verification target matching condition 2”, and “verification target” of the processing target row of the “verification item 106”. To do. The verification target row of the model information table 110 extracted by the verification processing unit 108 is set as a verification source table 10.
In the specific example, when the processing target row of “verification item 106” is the first row, “verification target matching condition 1”, “verification target matching condition 2”, and “verification target” are “Interaction.name”, “− "Interaction.message.receiveEvent.covered.name". Therefore, the verification processing unit 108 extracts the fourth and sixth rows of the model information table 110 as the rows of the model information table 110 corresponding to the first row of the processing target rows. The fourth row and the sixth row of the model information table 110 become the verification target extraction table 20.

次に、検証処理部108は、検証対象抽出表20の各行について処理する。
S103において、検証処理部108は、検証対象抽出表20の全ての行について処理したかを判定する。検証処理部108は、検証対象抽出表20の全ての行について処理したと判定した場合(S103においてYES)、処理を終了する。検証処理部108は、検証対象抽出表20に、未処理の行があると判定した場合(S103においてNO)、S104に処理を進める。
Next, the verification processing unit 108 processes each row of the verification target extraction table 20.
In step S <b> 103, the verification processing unit 108 determines whether all rows of the verification target extraction table 20 have been processed. If the verification processing unit 108 determines that all rows of the verification target extraction table 20 have been processed (YES in S103), the processing ends. If the verification processing unit 108 determines that there is an unprocessed row in the verification target extraction table 20 (NO in S103), the verification processing unit 108 proceeds to S104.

S104において、検証処理部108は、検証対象抽出表20から処理する1行を選択する。そして、検証処理部108は、選択した行が、以下の条件(a)〜(c)(S105〜S107)に合致するか否かを判定する。   In S <b> 104, the verification processing unit 108 selects one row to be processed from the verification target extraction table 20. Then, the verification processing unit 108 determines whether or not the selected row meets the following conditions (a) to (c) (S105 to S107).

(a)の条件判定:
S105において、検証処理部108は、検証対象抽出表20から選択した1行について、以下の判定をする。「検証元一致条件1」で指定されたメタモデル要素(「抽出した検証元表10」の「メタモデル要素1種類」列または「メタモデル要素2種類」列または「メタモデル要素3種類」列)に対応した値(抽出した検証元表10の「要素1」列または「要素2」列または「要素3」列)と、「検証対象一致条件1」で指定されたメタモデル要素(「抽出した検証対象抽出表20」の「メタモデル要素1種類」列または「メタモデル要素2種類」列または「メタモデル要素3種類」列)に対応した値(「抽出した検証対象抽出表20」の「要素1」列または「要素2」列または「要素3」列)が等しいがどうか判定する。
Condition determination of (a):
In S <b> 105, the verification processing unit 108 makes the following determination for one row selected from the verification target extraction table 20. Meta model element specified by “Verification source match condition 1” (“Meta model element 1 type” column, “Meta model element 2 type” column or “Meta model element 3 type” column of “Extracted verification source table 10” ) (The “element 1” column, the “element 2” column, or the “element 3” column of the extracted verification source table 10) and the metamodel element (“extraction”) specified by the “verification target matching condition 1” Of the “examined verification target extraction table 20” in the “metamodel element 1 type” column, “metamodel element 2 type” column or “metamodel element 3 type” column) It is determined whether the “element 1” column, “element 2” column, or “element 3” column) are equal.

具体的には、検証対象抽出表20の第1行(モデル情報表110の第4行に相当)の「検証元一致条件1」「Note.ClassDiagram」は「sample」であり、「抽出した検証元表10」の第1行(モデル情報表110の第1行に相当)の「Note.ClassDiagram」は「sample」であり、値が等しいと判定される。
S105において、値が等しくないと判定された場合、S103に戻る。
S105において、値が等しいと判定された場合、S106に進む。
Specifically, “Verification source match condition 1” and “Note. Class Diagram” in the first row of the verification target extraction table 20 (corresponding to the fourth row of the model information table 110) are “sample” and “extracted verification” “Note.ClassDiagram” of the first row of the original table 10 (corresponding to the first row of the model information table 110) is “sample”, and it is determined that the values are equal.
If it is determined in S105 that the values are not equal, the process returns to S103.
If it is determined in S105 that the values are equal, the process proceeds to S106.

抽出した検証元表10が複数行ある場合、検証処理部108は、等しいと判定される行が見つかるまで処理を行い、等しいと判定される行がない場合には、値が等しくないと判定する。例えば、次に説明するS106の判定を行う場合には、S105における判定が等しいとされた検証元表10の行についてのみ判定を行う。   When the extracted verification source table 10 has a plurality of rows, the verification processing unit 108 performs processing until a row determined to be equal is found, and determines that the values are not equal when there is no row determined to be equal. . For example, when the determination in S106 described below is performed, the determination is performed only for the row of the verification source table 10 in which the determination in S105 is equal.

(b)の条件判定:
S106において、検証処理部108は、検証対象抽出表20から選択した上記1行について、以下の判定をする。
S106において、検証処理部108は、検証対象抽出表20から選択した上記1行について、以下の判定をする。「検証元一致条件2」で指定されたメタモデル要素(「抽出した検証元表10」の「メタモデル要素1種類」列または「メタモデル要素2種類」列または「メタモデル要素3種類」列)に対応した値(抽出した検証元表10の「要素1」列または「要素2」列または「要素3」列)と、「検証対象一致条件2」で指定されたメタモデル要素(「抽出した検証対象抽出表20」の「メタモデル要素1種類」列または「メタモデル要素2種類」列または「メタモデル要素3種類」列)に対応した値(「抽出した検証対象抽出表20」の「要素1」列または「要素2」列または「要素3」列)が等しいかどうか判定する。
Condition determination of (b):
In S <b> 106, the verification processing unit 108 makes the following determination for the one row selected from the verification target extraction table 20.
In S <b> 106, the verification processing unit 108 makes the following determination for the one row selected from the verification target extraction table 20. Meta model element specified by “Verification source match condition 2” (“Meta model element 1 type” column, “Meta model element 2 type” column or “Meta model element 3 type” column of “Extracted verification source table 10” ) (The “element 1” column, the “element 2” column, or the “element 3” column in the extracted verification source table 10) and the metamodel element (“extraction”) specified by the “verification target matching condition 2” Of the “examined verification target extraction table 20” in the “metamodel element 1 type” column, “metamodel element 2 type” column or “metamodel element 3 type” column) It is determined whether the “element 1” column, “element 2” column, or “element 3” column) are equal.

具体的には、検証対象抽出表20の第1行(モデル情報表110の第4行に相当)の「検証元一致条件2」「−」であり、「抽出した検証元表10」の第1行(モデル情報表110の第1行に相当)の「検証元一致条件2」「−」であるため、条件判定する必要がなく、値が等しいと判定される。
S106において、値が等しくないと判定された場合、S103に戻る。
S106において、値が等しいと判定された場合、S107に進む。
Specifically, it is “verification source match condition 2” “−” in the first row of the verification target extraction table 20 (corresponding to the fourth row of the model information table 110), and the “first verification source table 10”. Since it is “verification source match condition 2” “−” in one row (corresponding to the first row of the model information table 110), it is not necessary to determine the condition and it is determined that the values are equal.
If it is determined in S106 that the values are not equal, the process returns to S103.
If it is determined in S106 that the values are equal, the process proceeds to S107.

(c)の条件判定:
S107において、検証処理部108は、検証対象抽出表20から選択した上記1行について、以下の判定をする。
S107において、検証処理部108は、検証対象抽出表20から選択した上記1行について、以下の判定をする。「検証元」で指定されたメタモデル要素(「抽出した検証元表10」の「メタモデル要素1種類」列または「メタモデル要素2種類」列または「メタモデル要素3種類」列)に対応した値(抽出した検証元表10の「要素1」列または「要素2」列または「要素3」列)と、「検証対象」で指定されたメタモデル要素(「抽出した検証対象抽出表20」の「メタモデル要素1種類」列または「メタモデル要素2種類」列または「メタモデル要素3種類」列)に対応した値(「抽出した検証対象抽出表20」の「要素1」列または「要素2」列または「要素3」列)が等しいかどうか判定する。
Condition determination of (c):
In step S <b> 107, the verification processing unit 108 makes the following determination on the one row selected from the verification target extraction table 20.
In step S <b> 107, the verification processing unit 108 makes the following determination on the one row selected from the verification target extraction table 20. Corresponds to the meta model element specified in “Verification source” (“Meta model element 1 type” column, “Meta model element 2 type” column or “Meta model element 3 type” column of “Extracted verification source table 10”) Value (the “element 1” column, the “element 2” column, or the “element 3” column of the extracted verification source table 10) and the metamodel element specified by the “verification target” (“the extracted verification target extraction table 20 "Metamodel element 1 type" column, "metamodel element 2 types" column or "metamodel element 3 types" column) ("element 1" column of "extracted verification target extraction table 20" or It is determined whether the “element 2” column or the “element 3” column is equal.

具体的には、検証対象抽出表20の第1行(モデル情報表110の第4行に相当)の「検証対象」「Class.name」は値が「ClassB」であり、「抽出した検証元表10」の第2行(モデル情報表110の第2行に相当)の「検証元」「Class.name」は値が「ClassB」であるため、値が等しいと判定される。
S106において、値が等しくないと判定された場合、検証結果が違反であることを意味し、S108に進む。
S106において、値が等しいと判定された場合、S103に戻る。
Specifically, “verification target” “Class.name” in the first row of the verification target extraction table 20 (corresponding to the fourth row of the model information table 110) has a value of “Class B” and “extracted verification source” Since the value of “verification source” “Class.name” in the second row of “Table 10” (corresponding to the second row of the model information table 110) is “Class B”, it is determined that the values are equal.
If it is determined in S106 that the values are not equal, it means that the verification result is a violation and the process proceeds to S108.
If it is determined in S106 that the values are equal, the process returns to S103.

S108において、検証処理部108は、検証結果が違反となった検証対象抽出表20の行(すなわち、S105、S106、S107の条件に該当した行)を含む違反結果表109を生成する。違反結果表109が既に生成済の場合は、検証処理部108は、検証結果が違反であると判定された検証対象抽出表20の行(すなわち、S105、S106、S107の条件に該当した行)を違反結果表109」に追加する。
以上のように、検証処理部108による検証処理の結果、検証処理部108は違反結果表109を生成し、出力する。
リスト表示部114は、検証処理部108から出力された違反結果表109を表示装置に表示する。
In S108, the verification processing unit 108 generates a violation result table 109 including a row of the verification target extraction table 20 in which the verification result is a violation (that is, a row corresponding to the conditions of S105, S106, and S107). When the violation result table 109 has already been generated, the verification processing unit 108 reads the row of the verification target extraction table 20 in which the verification result is determined to be a violation (that is, the row corresponding to the conditions of S105, S106, and S107). Is added to the violation result table 109 ”.
As described above, as a result of the verification processing by the verification processing unit 108, the verification processing unit 108 generates and outputs the violation result table 109.
The list display unit 114 displays the violation result table 109 output from the verification processing unit 108 on the display device.

図14は、本実施の形態に係る違反結果表109の構成の一例を示す図である。
図14に示すように、違反結果表109の構成は、モデル情報表110の構成と同様である。
FIG. 14 is a diagram showing an example of the configuration of the violation result table 109 according to the present embodiment.
As illustrated in FIG. 14, the configuration of the violation result table 109 is the same as the configuration of the model information table 110.

以上のように、本実施の形態に係る整合性検証装置100は、S/Wの構造や振舞いを表現したモデルにおいて、書き方を定義するルール(メタモデル)に基づいて、2つのモデル間の整合性箇所を定義した検証項目を用いて、ユーザ(設計者)の作成したモデルの整合性の検証を実行する。
そのために、本実施の形態に係る整合性検証装置100は、モデルから整合性検証の対象になるモデル情報生成手段と、モデル情報表と検証項目から整合性に違反している箇所を検出する検証処理部と、違反結果を表示するリスト表示手段を設ける。
As described above, the consistency verification apparatus 100 according to the present embodiment is a model that expresses the structure and behavior of S / W, and based on the rule (metamodel) that defines how to write, the consistency between the two models. Verification of the consistency of the model created by the user (designer) is executed using the verification items defining the sex location.
Therefore, the consistency verification apparatus 100 according to the present embodiment includes a model information generation unit that is a target of consistency verification from a model, and verification that detects a location that violates consistency from the model information table and verification items. A processing unit and list display means for displaying violation results are provided.

本実施の形態に係る整合性検証装置100によれば、任意の異なる種類のダイアグラム間での、任意の要素に対する整合性を検証することができるので、ユーザが設定したモデル間の要素の整合性の検証を自動化し、モデル間の整合性検証作業の効率化が可能である。   According to the consistency verification apparatus 100 according to the present embodiment, it is possible to verify the consistency of an arbitrary element between arbitrary different types of diagrams. Therefore, the consistency of elements between models set by the user It is possible to automate the verification of the model and to improve the efficiency of the consistency verification work between the models.

実施の形態2.
本実施の形態では、主に、実施の形態1と異なる点について説明する。
実施の形態1では、「メタモデル(要素定義)103」と「メタモデル(記法定義)104」が変更された場合、「検証項目106」の記述を変更する必要がある。本実施の形態では、メタモデルが変更された場合であっても、自動的に検証項目106を生成することにより、整合性検証を実施する機能について説明する。
Embodiment 2. FIG.
In the present embodiment, differences from the first embodiment will be mainly described.
In the first embodiment, when “metamodel (element definition) 103” and “metamodel (notation definition) 104” are changed, it is necessary to change the description of “verification item 106”. In the present embodiment, a function for performing consistency verification by automatically generating verification items 106 even when the metamodel is changed will be described.

図15は、本実施の形態に係る整合性検証装置100aを示すブロック構成図である。
実施の形態1で説明した構成部と同様の機能を有する構成部については、同一の符号を付し、その説明を省略する場合がある。
FIG. 15 is a block diagram showing a consistency verification apparatus 100a according to the present embodiment.
Components having the same functions as those described in Embodiment 1 may be denoted by the same reference numerals and description thereof may be omitted.

図15に示すように、整合性検証装置100aは、図1に示す整合性検証装置100に加えて、検証対象表121、メタモデル対応表122、検証項目生成部124を備える。   As shown in FIG. 15, the consistency verification device 100a includes a verification target table 121, a metamodel correspondence table 122, and a verification item generation unit 124 in addition to the consistency verification device 100 shown in FIG.

検証対象表121は、整合性検証で正とする要素の前提条件である「検証元一致条件1」、「検証元一致条件2」、正とする要素である「検証元」、検証対象要素の前提条件である「検証対象一致条件1」、「検証対象一致条件2」、検証対象とする要素「検証対象」から構成される。検証対象表121は、整合性検証で正となる要素と、検証対象となる要素との対応を、メタレベルのメタモデル要素より上位の情報により定義する表である。   The verification target table 121 includes “verification source match condition 1” and “verification source match condition 2” that are preconditions of elements that are positive in the consistency verification, “verification source” that is a positive element, and verification target elements It consists of “verification target matching condition 1”, “verification target matching condition 2”, which are preconditions, and an element “verification target” to be verified. The verification target table 121 is a table that defines correspondence between elements that are positive in the consistency verification and elements that are verification targets by using information higher than the meta model element at the meta level.

図16は、本実施の形態に係る検証対象表121の一例を示す図である。
検証対象表121の行4では、ステートマシンモデルにおいて「ステートマシンモデル名」と「クラス名」とが等しいことを前提として「メソッド名」を正として、シーケンスモデルの「シーケンスモデル名」と「クラス名」とが等しい「メソッド名」を検証対象とすることを示している。
これらの「ステートマシンモデル名」、「クラス名」、「シーケンスモデル名」、「メソッド名」等による定義は、メタレベルのメタモデル要素より上位の情報による定義であり、例えば、モデル名である「モデル呼称」、要素名である「要素呼称」、要素のメンバである「メンバ呼称」から構成され、異なるダイアグラム間で整合する箇所を定義するものである。
FIG. 16 is a diagram showing an example of the verification target table 121 according to this embodiment.
In row 4 of the verification target table 121, the “method name” is assumed to be positive and the “sequence model name” and “class” of the sequence model are premised on the assumption that “state machine model name” and “class name” are equal in the state machine model. This indicates that “method name” equal to “name” is to be verified.
These definitions based on the “state machine model name”, “class name”, “sequence model name”, “method name”, and the like are definitions based on information higher than the meta model element at the meta level, for example, the model name “ It is composed of “model name”, “element name” which is an element name, and “member name” which is a member of an element, and defines a location to be matched between different diagrams.

メタモデル対応表122は、メタレベルのメタモデル要素より上位の情報と、メタモデルで定義されたメタモデル要素である「メタモデル定義要素」、メタモデルで定義されたメンバである「メタモデル定義メンバ」とを対応付けたものである。
つまり、モデル名である「モデル呼称」、要素名である「要素呼称」、要素のメンバである「メンバ呼称」と、メタモデルで定義されたメタモデル要素である「メタモデル定義要素」、メタモデルで定義されたメンバである「メタモデル定義メンバ」とを対応付けたものである。メタモデル対応表122は、「モデル呼称」、「要素呼称」、「メンバ呼称」の組み合わせと「メタモデル定義要素」、「メンバモデル定義メンバ」の組み合わせの対応を定義する表である。
したがって、メタモデル要素が変更された場合であっても、メタモデル対応表122の「メタモデル定義要素」、「メンバモデル定義メンバ」を変更することで、検証項目106を生成することができる。
The meta model correspondence table 122 includes information higher than the meta model meta model elements, “meta model definition elements” that are meta model elements defined in the meta model, and “meta model definition members that are members defined in the meta model. ”.
That is, the model name “model name”, the element name “element name”, the element member “member name”, the metamodel element defined in the metamodel “metamodel definition element”, meta A “meta model definition member” that is a member defined in the model is associated with the model. The metamodel correspondence table 122 is a table that defines a correspondence between a combination of “model name”, “element name”, and “member name” and a combination of “metamodel definition element” and “member model definition member”.
Therefore, even if the metamodel element is changed, the verification item 106 can be generated by changing the “metamodel definition element” and “member model definition member” of the metamodel correspondence table 122.

図17は、本実施の形態に係るメタモデル対応表122の一例を示す図である。
例えば、メタモデル対応表122の行3では、「クラスモデル名」、「クラス名」、「メソッド名」の組み合わせが、メタモデル定義の「Class.Operation.name」に対応することを示している。
FIG. 17 is a diagram showing an example of the metamodel correspondence table 122 according to the present embodiment.
For example, row 3 of the metamodel correspondence table 122 indicates that the combination of “class model name”, “class name”, and “method name” corresponds to “Class.Operation.name” of the metamodel definition. .

次に、検証項目生成部124の動作について説明する。
検証項目生成部124は、「検証対象表121」、「メタモデル対応表122」を用いて、「検証項目106」を生成する。
検証項目生成部124による検証項目生成方法では、以下の手順(1)〜(4)を「検証対象表121」の全行に対して実行することにより実現される。検証項目生成部124は、例えば、検証項目生成プログラムを処理装置などのハードウェア資源を用いて実行することにより、検証条件付加処理を実現する。
Next, the operation of the verification item generation unit 124 will be described.
The verification item generation unit 124 generates the “verification item 106” using the “verification target table 121” and the “metamodel correspondence table 122”.
The verification item generation method by the verification item generation unit 124 is realized by executing the following procedures (1) to (4) for all the rows of the “verification target table 121”. For example, the verification item generation unit 124 implements the verification condition addition processing by executing the verification item generation program using hardware resources such as a processing device.

(1)検証項目生成部124は、「検証対象表121」の「検証元一致条件1」、「検証元一致条件2」、「検証元」の組み合わせと、「メタモデル対応表122」の「モデル呼称」、「要素呼称」、「メンバ呼称」の組み合わせとが同一の行を「メタモデル対応表122」から抽出する。抽出した行を検証元抽出行125とする。
例えば、具体例として、検証対象表121の行2について処理する場合、「検証元一致条件1」、「検証元一致条件2」、「検証元」の組み合わせが「クラスモデル名」、「クラス名」、「メソッド名」であるので、「メタモデル対応表122」の行3を検証元抽出行125として抽出する。
(1) The verification item generation unit 124 includes a combination of “verification source match condition 1”, “verification source match condition 2”, and “verification source” in the “verification target table 121”, and “metamodel correspondence table 122” “ A row having the same combination of “model name”, “element name”, and “member name” is extracted from the “metamodel correspondence table 122”. The extracted line is set as a verification source extraction line 125.
For example, as a specific example, when processing is performed on row 2 of the verification target table 121, the combination of “verification source match condition 1”, “verification source match condition 2”, and “verification source” is “class model name”, “class name” And “method name”, line 3 of “metamodel correspondence table 122” is extracted as verification source extraction line 125.

(2)検証元抽出行125の「メタモデル定義要素」の値を「検証項目106」の「検証元」に設定する。検証項目106において、「検証元」に値を設定した行を設定行1061とする。設定行1061には、「検証元一致条件1」、「検証元一致条件2」も設定する。
具体例では、検証元抽出行125の「メタモデル定義要素」の値が「Class.Operation.name」であるので、「Class.Operation.name」を「検証項目106」(図3参照)の設定行1061の「検証元」に設定する。「クラスモデル名」、「クラス名」も設定行1061の「検証元一致条件1」、「検証元一致条件2」に設定する。
(2) The value of “metamodel definition element” in the verification source extraction line 125 is set to “verification source” of “verification item 106”. In the verification item 106, a line in which a value is set in “verification source” is set as a setting line 1061. In the setting row 1061, “verification source match condition 1” and “verification source match condition 2” are also set.
In the specific example, since the value of the “metamodel definition element” in the verification source extraction line 125 is “Class.Operation.name”, “Class.Operation.name” is set to “Verification item 106” (see FIG. 3). Set to “verification source” in the row 1061. “Class model name” and “class name” are also set in “verification source match condition 1” and “verification source match condition 2” in the setting line 1061.

(3)「検証対象表121」の「検証対象一致条件1」、「検証対象一致条件2」、「検証対象」の組み合わせと、「メタモデル対応表122」の「モデル呼称」、「要素呼称」、「メンバ呼称」の組み合わせとが同一の行を、「メタモデル対応表122」から抽出する。抽出した行を検証対象抽出行126とする。
例えば、具体例として、検証対象表121の行2について処理する場合、「検証対象一致条件1」、「検証対象一致条件2」、「検証対象」の組み合わせが「シーケンスモデル名」、「クラス名」、「メソッド名」であるので、「メタモデル対応表122」の行6を検証対象抽出行126として抽出する。
(3) A combination of “verification target matching condition 1”, “verification target matching condition 2”, “verification target” in “verification target table 121”, “model designation”, “element designation” in “metamodel correspondence table 122” ”And“ Member designation ”are extracted from the“ metamodel correspondence table 122 ”. The extracted row is set as a verification target extraction row 126.
For example, as a specific example, when processing is performed on row 2 of the verification target table 121, the combination of “verification target matching condition 1”, “verification target matching condition 2”, and “verification target” is “sequence model name”, “class name” ”And“ method name ”, the row 6 of the“ metamodel correspondence table 122 ”is extracted as the verification target extraction row 126.

(4)検証対象抽出行126の「メタモデル定義要素」の値を「検証項目106」の設定行1061の「検証対象」に設定する。設定行1061には、「検証対象一致条件1」、「検証対象一致条件2」も設定する。   (4) The value of the “metamodel definition element” in the verification target extraction line 126 is set to “verification target” in the setting line 1061 of the “verification item 106”. In the setting row 1061, “verification target matching condition 1” and “verification target matching condition 2” are also set.

具体例では、検証対象抽出行126の「メタモデル定義要素」の値が「Interraction.message.name」であるので、「Interraction.message.name」を「検証項目106」(図3参照)の上記設定行1061の「検証対象」に設定する。「シーケンスモデル名」、「クラス名」も設定行1061の「検証対象一致条件1」、「検証対象一致条件2」に設定する。   In the specific example, since the value of the “metamodel definition element” in the verification target extraction line 126 is “Interaction.message.name”, “Interaction.message.name” is set to the above-mentioned “Verification item 106” (see FIG. 3). Set to “verification target” in the setting line 1061. “Sequence model name” and “class name” are also set in “verification target matching condition 1” and “verification target matching condition 2” in the setting line 1061.

本実施の形態に係る整合性検証装置100aは、検証項目とメタモデル要素の対応指定機能により、メタモデル対応表122を作成するので、特定メタモデルに対して非依存にすることができる。   Since the consistency verification apparatus 100a according to the present embodiment creates the metamodel correspondence table 122 by the function for specifying correspondence between verification items and metamodel elements, it can be made independent of a specific metamodel.

本実施の形態に係る整合性検証装置100aによれば、メタレベルより上位の情報で定義された検証対象要素と、メタレベルのメタモデル情報との対応を記述することで、メタモデルが変更された場合、検証項目の修正が省略でき、さらに検証作業の効率化が可能である。   According to the consistency verification apparatus 100a according to the present embodiment, when the meta model is changed by describing the correspondence between the verification target element defined by the information higher than the meta level and the meta model information at the meta level. The correction of the verification items can be omitted, and the verification work can be made more efficient.

実施の形態3.
本実施の形態では、主に、実施の形態1,2と異なる点について説明する。
実施の形態1では、整合違反箇所は表形式で出力され、モデル107との対応関係は表示されない。本実施の形態では、モデル107上に違反箇所を自動ハイライト表示させる機能について説明する。
Embodiment 3 FIG.
In the present embodiment, differences from Embodiments 1 and 2 will be mainly described.
In the first embodiment, the alignment violation location is output in a table format, and the correspondence relationship with the model 107 is not displayed. In this embodiment, a function of automatically highlighting a violation location on the model 107 will be described.

図18は、本実施の形態に係る整合性検証装置100bを示すブロック構成図である。
実施の形態1で説明した構成部と同様の機能を有する構成部については、同一の符号を付し、その説明を省略する場合がある。
FIG. 18 is a block configuration diagram showing the consistency verification apparatus 100b according to the present embodiment.
Components having the same functions as those described in Embodiment 1 may be denoted by the same reference numerals and description thereof may be omitted.

図18に示すように、整合性検証装置100bは、図1に示す整合性検証装置100に加えて、入力指定115、指定箇所生成部119、指定箇所117、ハイライト表示部116を備える。   As shown in FIG. 18, the consistency verification device 100 b includes an input specification 115, a specified location generation unit 119, a specified location 117, and a highlight display unit 116 in addition to the consistency verification device 100 shown in FIG. 1.

入力指定115は、モデル107においてハイライトする違反箇所を指定する。例えば、整合性検証装置100bは入力指定受付部を有し、入力指定受付部は表示装置にハイライト箇所指定画面を表示する。また、入力指定受付部は、ハイライト箇所指定画面に対しユーザが入力したハイライトする箇所(要素名)を受け付け、受け付けたハイライトする箇所(要素名)を入力指定115として記憶装置に記憶する。例えば、ユーザは、クラス名であれば「ClassA」などを指定する。複数指定も可能とする。   The input designation 115 designates a violation part to be highlighted in the model 107. For example, the consistency verification device 100b includes an input designation receiving unit, and the input designation receiving unit displays a highlight location designation screen on the display device. The input designation accepting unit accepts a highlight location (element name) input by the user on the highlight location designation screen, and stores the received highlight location (element name) as the input designation 115 in the storage device. . For example, the user designates “Class A” for the class name. Multiple specification is also possible.

指定箇所生成部119は、違反結果表109(図14参照)と、入力指定115とを入力する。指定箇所生成部119は、違反結果表109に対し、入力指定1152より指定された「指定要素種類」を追加し、指定箇所117を生成し、記憶装置に記憶する。「指定要素種類」には「入力指定115」で指定された要素のメタモデル要素が入る。
指定箇所生成部119は、入力指定15によって違反結果表109をフィルタリングし、その結果である指定箇所117を得る。
The designated location generation unit 119 inputs the violation result table 109 (see FIG. 14) and the input designation 115. The designated location generation unit 119 adds the “designated element type” designated by the input designation 1152 to the violation result table 109, creates the designated location 117, and stores it in the storage device. The “designated element type” contains the metamodel element of the element designated by “input designation 115”.
The designated location generation unit 119 filters the violation result table 109 according to the input designation 15, and obtains a designated location 117 as a result of the filtering.

指定箇所生成部119は、入力指定115と違反結果表109とを入力し、指定箇所117を出力する。指定箇所生成部119は、以下の手順(1)〜(3)により、入力指定115と違反結果表109とに基づいて、指定箇所117を生成する。   The designated location generation unit 119 inputs the input designation 115 and the violation result table 109 and outputs the designated location 117. The designated location generation unit 119 creates the designated location 117 based on the input designation 115 and the violation result table 109 by the following procedures (1) to (3).

処理手順(1)〜(3)は、以下の通りである。
(1)指定箇所生成部119は、違反結果表109から、入力指定115に含まれている要素名が「要素1」または「要素2」または「要素3」に該当する行を抽出する。
(2)指定箇所生成部119は、上記(1)で抽出した行を出力する。
(3)指定箇所生成部119は、上記(2)で出力した行に対し、「指定要素種類」の項目欄を追加する。指定箇所生成部119は、該当した列が「要素1」の場合は「メタモデル要素1種類」の値を、「要素2」の場合は「メタモデル要素2種類」の値を、「要素3」の場合は「メタモデル要素3種類」の値を、「指定要素種類」に出力する。
Processing procedures (1) to (3) are as follows.
(1) The designated location generation unit 119 extracts, from the violation result table 109, a row in which the element name included in the input designation 115 corresponds to “element 1”, “element 2”, or “element 3”.
(2) The designated location generation unit 119 outputs the line extracted in (1) above.
(3) The designated location generation unit 119 adds an item column of “designated element type” to the line output in (2) above. The designated location generation unit 119 sets the value of “metamodel element 1 type” when the corresponding column is “element 1”, the value of “metamodel element 2 types” when “column 2”, and the “element 3” In the case of “”, the value of “3 types of meta model elements” is output to “Specified element type”.

図19は、本実施の形態に係る指定箇所117の一例を示す図である。   FIG. 19 is a diagram showing an example of the designated place 117 according to the present embodiment.

ハイライト表示部116は、モデル107、メタモデル(記法定義)104、違反結果表109、指定箇所117を入力として、表示装置の表示画面に表示されたモデルに対して、「指定要素種類」に該当する特定箇所をハイライト表示する。   The highlight display unit 116 receives the model 107, the meta model (notation definition) 104, the violation result table 109, and the designated portion 117 as inputs, and sets the “designated element type” for the model displayed on the display screen of the display device. Highlight the specific location in question.

ハイライト表示部116は、「指定箇所117」(図19参照)の各行に対して、以下の処理(1),(2)を実行する。
(1)ハイライト表示部116は、「指定箇所117」の「メタモデル要素1種類」、「メタモデル要素2種類」、「メタモデル要素3種類」に該当する記法を「メタモデル(記法定義)104」から取得する。
The highlight display unit 116 executes the following processes (1) and (2) for each row of “designated place 117” (see FIG. 19).
(1) The highlight display unit 116 selects “metamodel (notation definition) for the notation corresponding to“ one type of metamodel element ”,“ two types of metamodel element ”, and“ three types of metamodel element ”of“ designated location 117 ”. ) 104 ”.

(2)ハイライト表示部116は、「モデル107」から以下の条件に該当する箇所を抽出する。上記(1)で取得した記法で記載されている「モデル107」の各値が、「指定箇所117」の値と同じである箇所を抽出する。具体的には、上記(1)で「指定箇所117」の「メタモデル要素1種類」に対応する記法で記載された「モデル107」の値と「要素1」の値が同じであり、「指定箇所117」の「メタモデル要素2種類」に対応する記法で記載された「モデル107」の値と「要素2」の値が同じであり、「指定箇所117」の「メタモデル要素3種類」に対応する記法で記載された「モデル107」の値と「要素3」の値が同じである箇所を抽出する。   (2) The highlight display unit 116 extracts locations corresponding to the following conditions from the “model 107”. A location where each value of “model 107” described in the notation acquired in (1) is the same as the value of “designated location 117” is extracted. Specifically, the value of “model 107” and the value of “element 1” described in the notation corresponding to “one type of metamodel element” of “designated location 117” in (1) are the same, and “ The value of “Model 107” and the value of “Element 2” described in the notation corresponding to “Meta model element 2 types” of “Specified location 117” are the same, and “Meta model element 3 types of“ Specified location 117 ” ”Where the value of“ Model 107 ”described in the notation corresponding to“ and the value of “Element 3” is the same.

(3)ハイライト表示部116は、上記(2)で抽出した「モデル107」上の箇所で、かつ、「指定箇所117」の「指定要素種類」に該当するメタモデル要素種類を、処理装置によりハイライト表示する。   (3) The highlight display unit 116 displays the meta model element type corresponding to the “designated element type” of the “designated location 117” on the “model 107” extracted in (2) above. To highlight.

本実施の形態に係る整合性検証装置100bは、特定の違反箇所をモデル図上で自動的にハイライトするハイライト箇所指定機能を備える。
本実施の形態に係る整合性検証装置100bによれば、違反箇所確認の作業効率化が促進され、さらに検証作業の効率化が可能である。
The consistency verification apparatus 100b according to the present embodiment includes a highlight location designation function that automatically highlights a specific violation location on the model diagram.
According to the consistency verification apparatus 100b according to the present embodiment, the work efficiency for checking the violation location is promoted, and further the efficiency of the verification work can be improved.

上記実施の形態の説明では、複数の機能ブロックに分割して整合性検証装置100,100a,100bを構成したが、機能ブロックの構成は、上記実施の形態に限らず、他のどのような組み合わせで機能ブロックを構成しても構わない。   In the description of the above embodiment, the consistency verification apparatuses 100, 100a, and 100b are configured by being divided into a plurality of functional blocks. However, the configuration of the functional blocks is not limited to the above embodiment, and any other combination A functional block may be configured.

以上、本発明の実施の形態1〜3について説明したが、この実施の形態のうち、1つの部分を実施しても構わない。あるいは、この実施の形態のうち、2つ以上の部分を組み合わせて実施しても構わない。
なお、以上の実施の形態は、本質的に好ましい例示であって、本発明、その適用物や用途の範囲を制限することを意図するものではなく、必要に応じて種々の変更が可能である。
As mentioned above, although Embodiment 1-3 of this invention was demonstrated, you may implement one part among this embodiment. Or you may implement combining two or more parts among this embodiment.
The above-described embodiments are essentially preferable examples, and are not intended to limit the scope of the present invention, its application, and uses, and various modifications can be made as necessary. .

10 検証元表、20 検証対象抽出表、100,100a,100b 整合性検証装置、103 メタモデル(要素定義)、104 メタモデル(記法定義)、105 モデル情報生成部、106 検証項目、107 モデル、108 検証処理部、110 モデル情報表、114 リスト表示部、116 ハイライト表示部、115 入力指定、117 指定箇所、121 検証対象表、122 メタモデル対応表、124 検証項目生成部、125 検証元抽出行、126 検証対象抽出行、901 演算装置、902 外部記憶装置、903 主記憶装置、904 通信装置、905 入出力装置、1061 設定行。   10 verification source table, 20 verification target extraction table, 100, 100a, 100b consistency verification device, 103 metamodel (element definition), 104 metamodel (notation definition), 105 model information generation unit, 106 verification item, 107 model, 108 verification processing unit, 110 model information table, 114 list display unit, 116 highlight display unit, 115 input specification, 117 specified location, 121 verification target table, 122 metamodel correspondence table, 124 verification item generation unit, 125 verification source extraction Line 126, extraction target for verification, 901 arithmetic device, 902 external storage device, 903 main storage device, 904 communication device, 905 input / output device, 1061 setting line.

Claims (6)

1つのソフトウェア構造を複数の線図により可視化したモデルについて、前記複数の線図間の整合性を検証する整合性検証装置において、
前記複数の線図の各線図に含まれる要素をメタモデル要素により定義するメタモデルに基づいて作成され、異なる線図間で整合するメタモデル要素の対応を検証項目として定義した検証項目表を記憶装置に記憶する検証項目表記憶部と、
前記モデルと前記メタモデルとに基づいて、前記複数の線図の各線図に含まれる要素を定義するメタモデル要素と、前記要素の値とを対応付けた対応表を生成する対応表生成部と、
前記検証項目表と前記対応表とに基づいて、前記対応表のなかに前記検証項目表に合致しない要素があるか否かを処理装置により判定する検証処理部と
を備えることを特徴とする整合性検証装置。
In a consistency verification device that verifies the consistency between a plurality of diagrams for a model in which one software structure is visualized by a plurality of diagrams,
A verification item table is created based on a meta model that defines the elements included in each diagram of the plurality of diagrams by a meta model element, and the correspondence of meta model elements that match between different diagram is defined as a verification item. A verification item table storage unit stored in the device;
Based on the model and the metamodel, a correspondence table generation unit that generates a correspondence table in which a metamodel element that defines an element included in each diagram of the plurality of diagrams and a value of the element are associated with each other ,
A matching processing unit comprising: a verification processing unit that determines, based on the verification item table and the correspondence table, whether or not there is an element that does not match the verification item table in the correspondence table; Sex verification device.
前記検証処理部は、
前記対応表のうち前記検証項目表に合致しないと判定した要素の一覧を違反結果表として出力し、
前記検証処理部により出力された前記違反結果表を表示装置に表示するリスト表示部を備えることを特徴とする請求項1に記載の整合性検証装置。
The verification processing unit
A list of elements determined not to match the verification item table in the correspondence table is output as a violation result table,
The consistency verification device according to claim 1, further comprising a list display unit that displays the violation result table output by the verification processing unit on a display device.
前記異なる線図間で整合する箇所を定義する検証対象表を記憶する検証対象表記憶部と、
前記検証対象表に定義された箇所について、前記メタモデル要素を対応付けたメタモデル対応表を記憶するメタモデル対応表記憶部と、
前記検証対象表と前記メタモデル対応表とに基づいて、前記検証項目表を生成する検証項目生成部と
を備えることを特徴とする請求項1または2に記載の整合性検証装置。
A verification target table storage unit that stores a verification target table that defines a location to be matched between the different diagrams;
For a location defined in the verification target table, a metamodel correspondence table storage unit that stores a metamodel correspondence table in which the metamodel elements are associated,
The consistency verification apparatus according to claim 1, further comprising: a verification item generation unit that generates the verification item table based on the verification target table and the metamodel correspondence table.
前記モデルを表示装置に表示するとともに、前記表示装置に表示された前記モデルのうち、前記検証項目表に合致しないと判定した要素に対応する部分をハイライト表示するハイライト表示部を備えることを特徴とする請求項1に記載の整合性検証装置。   A highlight display unit that displays the model on a display device and highlights a portion corresponding to an element that is determined not to match the verification item table among the models displayed on the display device. The consistency verification apparatus according to claim 1, wherein: 1つのソフトウェア構造を複数の線図により可視化したモデルについて、前記複数の線図間の整合性を検証する整合性検証装置の整合性検証方法において、
前記モデルと、前記複数の線図の各線図に含まれる要素をメタモデル要素により定義するメタモデルとに基づいて、前記要素を定義するメタモデル要素と、前記要素の値とを対応付けた対応表を生成する対応表生成ステップと、
前記メタモデルに基づいて作成され、異なる線図間で整合するメタモデル要素の対応を検証項目として定義した検証項目表と、前記対応表とに基づいて、前記対応表のなかに前記検証項目表に合致しない要素があるか否かを処理装置により判定する検証処理ステップとを備えることを特徴とする整合性検証方法。
In the consistency verification method of the consistency verification apparatus for verifying the consistency between the plurality of diagrams for a model in which one software structure is visualized by a plurality of diagrams,
Correspondence that associates a metamodel element that defines the element and a value of the element based on the model and a metamodel that defines an element included in each diagram of the plurality of diagrams by a metamodel element A correspondence table generation step for generating a table;
A verification item table created based on the meta model and defined as verification items corresponding to meta model elements that match between different diagrams, and the verification item table in the correspondence table based on the correspondence table And a verification processing step for determining by a processing device whether or not there is an element that does not match the above.
1つのソフトウェア構造を複数の線図により可視化したモデルについて、前記複数の線図間の整合性を検証するコンピュータである整合性検証装置に実行させる整合性検証プログラムにおいて、
前記モデルと、前記複数の線図の各線図に含まれる要素をメタモデル要素により定義するメタモデルとに基づいて、前記要素を定義するメタモデル要素と、前記要素の値とを対応付けた対応表を生成する対応表生成処理と、
前記メタモデルに基づいて作成され、異なる線図間で整合するメタモデル要素の対応を検証項目として定義した検証項目表と、前記対応表とに基づいて、前記対応表のなかに前記検証項目表に合致しない要素があるか否かを処理装置により判定する検証処理とを備えることを特徴とする整合性検証プログラム。
In a consistency verification program to be executed by a consistency verification apparatus, which is a computer for verifying the consistency between a plurality of diagrams, for a model in which one software structure is visualized by a plurality of diagrams,
Correspondence that associates a metamodel element that defines the element and a value of the element based on the model and a metamodel that defines an element included in each diagram of the plurality of diagrams by a metamodel element A correspondence table generation process for generating a table;
A verification item table created based on the meta model and defined as verification items corresponding to meta model elements that match between different diagrams, and the verification item table in the correspondence table based on the correspondence table And a verification process for determining by a processing device whether or not there is an element that does not match.
JP2013172549A 2013-08-22 2013-08-22 Consistency verification device, consistency verification method, and consistency verification program Expired - Fee Related JP6164979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013172549A JP6164979B2 (en) 2013-08-22 2013-08-22 Consistency verification device, consistency verification method, and consistency verification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013172549A JP6164979B2 (en) 2013-08-22 2013-08-22 Consistency verification device, consistency verification method, and consistency verification program

Publications (2)

Publication Number Publication Date
JP2015041285A true JP2015041285A (en) 2015-03-02
JP6164979B2 JP6164979B2 (en) 2017-07-19

Family

ID=52695397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013172549A Expired - Fee Related JP6164979B2 (en) 2013-08-22 2013-08-22 Consistency verification device, consistency verification method, and consistency verification program

Country Status (1)

Country Link
JP (1) JP6164979B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143304A (en) * 1991-11-18 1993-06-11 Nec Corp Consistency inspecting system
WO2006033159A1 (en) * 2004-09-24 2006-03-30 Fujitsu Limited Program, method, and apparatus for assisting creation of business model chart

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143304A (en) * 1991-11-18 1993-06-11 Nec Corp Consistency inspecting system
WO2006033159A1 (en) * 2004-09-24 2006-03-30 Fujitsu Limited Program, method, and apparatus for assisting creation of business model chart

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小飼 敬,外1名: "メタ階層化による図式モデルの形式的記述", 情報処理学会研究報告, vol. 2001, no. 56, JPN6017006707, 1 June 2001 (2001-06-01), JP, pages 41 - 48, ISSN: 0003508358 *

Also Published As

Publication number Publication date
JP6164979B2 (en) 2017-07-19

Similar Documents

Publication Publication Date Title
US9424168B2 (en) System and method for automatic generation of software test
WO2020033071A1 (en) Recommending development tool extensions based on usage context telemetry
US8413109B2 (en) Systems and methods for metamodel transformation
JP2007334627A (en) Service base software design support method, and device therefor
JPWO2017126041A1 (en) Training apparatus, training method, and training program
JP2018005535A (en) Software development assist method and system
JP5426938B2 (en) Information processing apparatus and information processing method
JP6873868B2 (en) Data analysis processing support device and data analysis processing support method
US20140310248A1 (en) Verification support program, verification support apparatus, and verification support method
US8346793B1 (en) Techniques for suggesting correct identifiers
JP6164979B2 (en) Consistency verification device, consistency verification method, and consistency verification program
JP2014186477A (en) Information processing device, information processing method, and program
US10666255B1 (en) System and method for compacting X-pessimism fixes for gate-level logic simulation
Luckow et al. Symbolic pathfinder v7
JP2012238235A (en) Program verification device and program
Latvala et al. Security risk visualization with semantic risk model
JP2013235508A (en) Object-oriented program generation device, method therefor, and program
US9405514B1 (en) Process fragment management
JP7268759B2 (en) TEST DATA GENERATION DEVICE, TEST DATA GENERATION METHOD, AND PROGRAM
JP2022153237A (en) security test system
JP2017151594A (en) Supporting device, supporting method, and program
JP5644599B2 (en) Object-oriented model design support device
US20220206934A1 (en) Test apparatus, test method and program
US20110191395A1 (en) Reducing Image Footprints
JP2009053767A (en) Program analysis device and program analysis method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170620

R150 Certificate of patent or registration of utility model

Ref document number: 6164979

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees