JPH06348482A - Object directional analysis/design supporting system - Google Patents

Object directional analysis/design supporting system

Info

Publication number
JPH06348482A
JPH06348482A JP5135495A JP13549593A JPH06348482A JP H06348482 A JPH06348482 A JP H06348482A JP 5135495 A JP5135495 A JP 5135495A JP 13549593 A JP13549593 A JP 13549593A JP H06348482 A JPH06348482 A JP H06348482A
Authority
JP
Japan
Prior art keywords
diagram
transition
net
petri net
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5135495A
Other languages
Japanese (ja)
Inventor
Makoto Motoki
誠 元木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5135495A priority Critical patent/JPH06348482A/en
Publication of JPH06348482A publication Critical patent/JPH06348482A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】 【目的】オブジェクトの機能を記述する各種のダイアグ
ラムから高レベル・ペトリネットに変換し、一貫性チェ
ックおよび検証が可能なオブジェクト指向分析・設計支
援システムの提供。 【構成】オブジェクトダイアグラム2の各オブジェクト
の仕様をトークンに変換するトークン生成部3と、オブ
ジェクト通信ダイアグラム4の各オブジェクトをトラン
ジションに、イベントをプレースに、置き換え、高レベ
ル・ペトリネットを生成するクラス間動的仕様変換部5
と、ステートダイアグラム6をプレースに、イベントの
ガード条件をトランジショに、イベントをトランジショ
ン名に、状態遷移をアークに、遷移時のアクションをア
ーク関数に、変換するクラス内動的仕様変換部7と、デ
ータフローダイアグラム8のバブルをトランジション
に、フローをプレースに、置き換え高レベル・ペトリネ
ットを生成する機能仕様変換部9と、クラス間動的仕様
変換部5のペトリネットのトランジションを、高レベル
・ペトリネットで置き換えるペトリネット精密化部10
と、を備える。
(57) [Summary] [Purpose] Providing an object-oriented analysis and design support system that can convert various diagrams that describe the functions of objects into high-level Petri nets and perform consistency checking and verification. [Structure] A token generation unit 3 that converts the specifications of each object in the object diagram 2 into a token, and a class that replaces each object in the object communication diagram 4 with a transition and replaces an event with a place to generate a high-level Petri net. Dynamic specification converter 5
And a state diagram 6 in place, an event guard condition in a transition, an event in a transition name, a state transition in an arc, an action at transition in an arc function, and a dynamic specification conversion unit 7 in a class, The transition of the petri net of the functional specification conversion unit 9 and the dynamic specification conversion unit between classes 5 that replaces the bubble in the data flow diagram 8 with the transition and the flow into the place and generates the high level petri net is replaced with the high level petri net. Petri net refinement unit 10 to replace with net
And

Description

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

【0001】[0001]

【産業上の利用分野】オブジェクト指向分析・設計方法
論に基づくソフトウェア分析および設計に高レベル・ペ
トリネットを適用するオブジェクト指向分析・設計支援
システムに関する。
[Industrial application] The present invention relates to an object-oriented analysis / design support system that applies a high-level Petri net to software analysis and design based on an object-oriented analysis / design methodology.

【0002】[0002]

【従来の技術】この発明におけるオブジェクト指向設計
方法論および高レベル・ペトリネットに関する参考文献
を下記に挙げる。
The following are references relating to object-oriented design methodologies and high level Petri nets in the present invention.

【0003】(1)ランボー他(羽生田 栄一監訳):
オブジェクト指向方法論OMT 株式会社トッパン 1992年発行 (2)椎塚 久雄:実例ペトリネット−その基礎からコ
ンピュータツールまで コロナ社 1992発行 オブジェクト指向CASEツールにおいては、クラスや
オブジェクトがイベントを受けた際の対象クラス内での
動的な振る舞いを記述するのに、状態遷移ダイアグラム
などを用いたステートダイアグラムが提供されている。
しかし、このステートダイアグラムはインフォーマルな
セマンティクスに基づくダイアグラム記述形式であるた
めに、形式的な一貫性のチェックや検証ができない。更
に、クラスやオブジェクトの階層関係や集約関係など設
計対象の静的側面を記述するのにオブジェクトダイアグ
ラムが、また、クラス間のイベントあるいはメッセージ
のやりとりなどのクラス間の動的な振る舞いの側面を記
述するのにオブジェクト通信ダイアグラミが、更に、ま
た、クラス内の処理のロジックすなわち処理の詳細な流
れを記述するのにデータフローダイアグラムが、それぞ
れオブジェクト指向CASEツールによって提供されて
いる。上述の複数のダイアグラムはそれぞれ別々のイン
フォーマルなセマンティクスに基づいているため、同じ
設計対象を異なる側面から記述する上述のダイアグラム
間で一貫性が成り立っているか、あるいは否かなどの全
体の整合性を確かめることが難しい。
(1) Rambo and others (Translated by Eiichi Hanyuda):
Object-Oriented Methodology OMT Toppan Co., Ltd., Published in 1992 (2) Hisao Shiizuka: Case Study Petri Net-From Basics to Computer Tools Corona Publishing Co., Ltd., 1992 In object-oriented CASE tools, when a class or object receives an event A state diagram that uses a state transition diagram, etc., is provided to describe the dynamic behavior in.
However, since this state diagram is a diagram description format based on informal semantics, formal consistency check and verification cannot be performed. Furthermore, an object diagram is used to describe static aspects of the design target such as hierarchical relationships and aggregation relationships of classes and objects, and aspects of dynamic behavior between classes such as exchange of events or messages between classes. An object communication diagram is provided by the object-oriented CASE tool, and a data flow diagram is provided by the object-oriented CASE tool to describe the logic of processing in the class, that is, the detailed flow of processing. Since the above diagrams are based on different informal semantics, the overall consistency of whether or not there is consistency between the above diagrams that describe the same design object from different aspects. It's hard to see.

【0004】[0004]

【発明が解決しようとする課題】上述のオブジェクト指
向分析・設計方法論における、オブジェクトの静的仕様
を記述するオブジェクトダイアグラムと、オブジェクト
間のインタラクションを記述するオブジェクト通信ダイ
アグラムと、オブジェクトの動的仕様を記述するステー
トダイアグラムと、オブジェクトが実現する機能を記述
するデータフローダイアグラムから、数多くの形式的な
検証技術やシミュレーション技術が確立されている表現
形式で、かつ、丸にノードで表されるプレースと棒線あ
るいは矩形ノードで表されるトランジションの2種類の
ノードとアークからなるネット構造と、ネット構造上の
プレース内を移動するデータ構造を有するトークンと、
によって構成される高レベル・ペトリネットに、一元的
に変換するシステムを導入する。そして、このシステム
によって、高レベル・ペトリネットについて、数多く提
供されている形式的な検証技術やシミュレーション技術
によって、全体の整合性および一貫性チェックならびに
検証が可能となるオブジェクト指向分析・設計支援シス
テムを提供する。
In the above object-oriented analysis / design methodology, an object diagram for describing static specifications of objects, an object communication diagram for describing interactions between objects, and a dynamic specification of objects are described. Places and bars that are represented by nodes in circles in the form of representations in which a number of formal verification and simulation techniques are established from the state diagram to be created and the data flow diagram that describes the functions realized by the object. Alternatively, a token having a net structure composed of two types of transition nodes and arcs represented by rectangular nodes, and a data structure for moving within a place on the net structure,
Introduce a system for centralized conversion to a high-level Petri net composed of. In addition, this system provides an object-oriented analysis and design support system that enables high-level Petri nets to be checked and verified as a whole with the formal verification and simulation technologies provided. provide.

【0005】[0005]

【課題を解決するための手段】オブジェクトダイアグラ
ムから高レベル・ペトリネットにおけるトークンを生成
する手段と、オブジェクト通信ダイアグラムからクラス
間の動的仕様に相当する高レベル・ペトリネットを生成
する手段と、ステートダイアグラムからクラス内の動的
仕様に相当する高レベル・ペトリネットを生成する手段
と、データフローダイアグラムから各オブジェクトの機
能を記述する高レベル・ペトリネットを生成する手段
と、上述の各手段により生成される高レベル・ペトリネ
ットとトークンを組み合わせる高レベル・ペトリネット
を生成する手段と、を有する。
[Means for Solving the Problem] A means for generating a token in a high-level Petri net from an object diagram, a means for generating a high-level Petri net corresponding to a dynamic specification between classes from an object communication diagram, and a state. A means to generate a high-level petri net corresponding to a dynamic specification in a class from a diagram, a means to generate a high-level petri net that describes the function of each object from a data flow diagram, and the above-mentioned means Generating high level petri nets that combine the tokens with the high level petri nets.

【0006】[0006]

【作用】従来のオブジェクト指向分析・設計方法論にお
ける各ダイアグラムから高レベル・ペトリネットを生成
し、融合する。先ず、オブジェクトダイアグラムに記述
されるオブジェクトの属性定義を集約して高レベル・ペ
トリネットにおけるトークンの型を定義する。そして、
オブジェクト通信ダイアグラムにおける各オブジェクト
を高レベル・ペトリネットにおけるトランジションに置
き換え、オブジェクト間のイベントをプレースに置き換
えて、高レベル・ペトリネットのネット構造を生成す
る。更に、ステートダイアグラムで表されるクラス内の
振る舞いを、ステートをプレースに置き換え、イベント
をトランジションに置き換えて、高レベル・ペトリネッ
トのネット構造に変換する。また更に、データフローダ
イアグラムのノードであるバブルで表された機能をトラ
ンジションに置き換え、アークで表されたデータのフロ
ーをプレースに置き換えて、高レベル・ペトリネットの
ネット構造に変換する。
Operation: A high-level Petri net is generated and fused from each diagram in the conventional object-oriented analysis / design methodology. First, the attribute definitions of the objects described in the object diagram are aggregated to define the token type in the high-level Petri net. And
Each object in the object communication diagram is replaced with a transition in the high-level Petri net, and an event between the objects is replaced with a place to generate a net structure of the high-level Petri net. Furthermore, the behavior in the class represented by the state diagram is converted into a high-level Petri net net structure by replacing states with places and events with transitions. Furthermore, the function represented by a bubble, which is a node in the data flow diagram, is replaced with a transition, and the flow of data represented by an arc is replaced with a place, and converted into a net structure of a high-level Petri net.

【0007】次に、オブジェクト通信ダイアグラムから
変換される高レベル・ペトリネットのネット構造のトラ
ンジションの部分に、ステートダイアグラムから変換す
る高レベル・ペトリネットのネット構造を埋め込む。更
に、次に、ステートダイアグラムから変換する高レベル
・ペトリネットのネット構造のトランジションの部分
に、データフローダイアグラムから変換する高レベル・
ペトリネットのネット構造を埋め込み、融合する。そし
て、初期状態を表わすプレースにトークンを配置するこ
とによって、各ダイアグラムを融合し、まとめて表現す
る形式的な検証が可能な高レベル・ペトリネットが生成
される。
Then, the net structure of the high-level Petri net converted from the state diagram is embedded in the transition part of the net structure of the high-level Petri net converted from the object communication diagram. Furthermore, next, to the transition part of the net structure of the high-level Petri net to convert from the state diagram, to the high-level level to convert from the data flow diagram
Embed and fuse the net structure of Petri nets. Then, by arranging the tokens in the place representing the initial state, each diagram is fused, and a high-level Petri net capable of formal verification that is expressed collectively is generated.

【0008】[0008]

【実施例】次に、この発明について図面を参照し説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0009】この発明の一実施例の構成を示す図1を参
照すると、オブジェクト指向分析・設計支援システム1
は、オブジェクトダイアグラム2で記述される属性定義
からなる各オブジェクトあるいはクラスの仕様を同型の
タイプのトークンに変換するトークン生成部3と、オブ
ジェクト通信ダイアグラム4における各オブジェクトを
トランジションに、オブジェクト間のイベントをプレー
スに置き換えて高レベル・ペトリネットのネット構造を
生成し、プレースにメッセージのタイプと同型のタイプ
を付与するクラス間動的仕様変換部5と、ステートダイ
アグラム6に記述される各クラスの状態を高レベル・ペ
トリネットにおけるプレースに、イベントのカード条件
をトランジションに、イベントをトランジション名に、
状態遷移をアークに、そして、遷移時に実行されるアク
ションをアーク関数に、変換する高レベル・ペトリネッ
トにおけるネット構造を生成するクラス内動的仕様変換
部7と、データフローダイアグラム8で表わされる機能
をトランジションに、フローをプレースに、置き換える
高レベル・ペトリネットを生成する機能仕様変換部9
と、クラス間動的仕様変換部5から得られる高レベル・
ペトリネットのネット構造のトランジションを、クラス
内動的仕様変換部7において生成するトランジションの
内部の振る舞いに相当する高レベル・ペトリネットのネ
ット構造に、置き換えることによって精密化し、さら
に、クラス内動的仕様変換部7において生成される高レ
ベル・ペトリネットの中に現れるトランジションの機能
を機能仕様変換部9において生成されるこの機能に相当
する高レベル・ペトリネットのネット構造によって、精
密化し、トークン生成部3によって得られるトークンの
マーキングを用い、高レベル・ペトリネット10に変換
するペトリネット精密化部11と、を備える。
Referring to FIG. 1 showing the configuration of an embodiment of the present invention, an object-oriented analysis / design support system 1
Is a token generation unit 3 that converts the specifications of each object or class consisting of the attribute definitions described in the object diagram 2 into tokens of the same type, and the transition of each object in the object communication diagram 4 and the event between the objects. A high-level Petri net net structure is generated by substituting a place, and the inter-class dynamic specification conversion unit 5 that assigns a message type to the place and the state of each class described in the state diagram 6 Places on high-level Petri nets, event card conditions as transitions, events as transition names,
In-class dynamic specification conversion unit 7 that generates a net structure in a high-level Petri net that converts state transitions into arcs and actions executed during transitions into arc functions, and the functions represented by a data flow diagram 8 Is a transition, and a flow is a place. A functional specification conversion unit 9 that generates a high-level Petri net that replaces
And the high level obtained from the interclass dynamic specification conversion unit 5.
The transition of the net structure of the Petri net is refined by replacing it with the net structure of the high-level Petri net that corresponds to the internal behavior of the transition generated in the in-class dynamic specification conversion unit 7, The transition function appearing in the high-level Petri net generated in the specification conversion unit 7 is refined by the net structure of the high-level Petri net corresponding to this function generated in the functional specification conversion unit 9 to generate a token. And a Petri net refinement unit 11 for converting the token obtained by the unit 3 into a high level Petri net 10.

【0010】次に、この実施例を詳細に説明すると、ト
ークン生成部3によって、生成されるトークンとトーク
生成部3の入力となるオブジェクトダイアグラム2を例
示する図2を参照すると、オブジェクトダイアグラム2
で記述されている属性すべてを1つの組とするオブジェ
クトダイアグラム(図2(a))から、各属性のタイプ
をそのまま組の中のタイプとして定義することによっ
て、オブジェクト自体の仕様と同型のタイプをもつトー
クン(図2(b))に変換する。
Next, this embodiment will be described in detail. Referring to FIG. 2 which illustrates an object diagram 2 which is a token generated by the token generation unit 3 and an input of the talk generation unit 3, the object diagram 2
By defining the type of each attribute as it is as a type in the set from the object diagram (Fig. 2 (a)) in which all the attributes described in 1 are set as a set, the type of the same type as the specification of the object itself is defined. Convert to a token (Fig. 2 (b)).

【0011】次に、オブジェクト通信ダイアグラム4か
ら高レベル・ペトリネットへの変換を例示する図3を参
照すると、オブジェクト通信ダイアグラム(図3
(a))に記述されるオブジェクトを高レベル・ペトリ
ネット(図3(b))におけるトランジションに、ま
た、メッセージのやりとりに相当するアークをトランジ
ションとプレースをつなぐアークに、あるいはプレース
ならびにプレースとトランジションとをつなぐアーク
に、それぞれ変換し、データを有するメッセージに相当
するプレースに対してはデータとして流れるトークンの
タイプをプレースに付与する。
Referring now to FIG. 3, which illustrates the transformation of the object communication diagram 4 into a high level Petri net, the object communication diagram (FIG.
The object described in (a)) is a transition in the high-level Petri net (FIG. 3B), the arc corresponding to the exchange of messages is an arc connecting the transition and the place, or the place and the place and the transition. Are converted into arcs that connect to each other, and for the place corresponding to the message having data, the type of token flowing as data is added to the place.

【0012】次に、ステートダイアグラムからクラス内
の状態遷移を高レベル・ペトリネットのネット構造への
変換を例示する図4を参照すると、イベント送信などの
アクションあるいはアクティビィティをアークによっ
て、表現される状態遷移図あるいはステートチャートの
サブセット(図4(a))などから、図5に示される変
換の手続きによって、高レベル・ペトリネット(図4
(b))を生成する。また、図3(b)に例示する「加
工機」に対するステートダイアグラムの高レベル・ペト
リネットを図7に例示する。ステートダイアグラムから
高レベル・ペトリネットへの変換手続きを示す図5を参
照し、変換手続きを説明すると、先ず、ステートダイア
グラムの状態をプレースとして定義する。そして状態名
がある場合は状態名をプレース名とする(ステップ
1)。次に、ステートダイアグラムの遷移をトランジシ
ョンとして定義する(ステップ2)。更に、ガード条件
を持つ遷移の場合、ガード条件をトランジションにおけ
る述語として定義する(ステップ2.1)。また、遷移
がステートダイアグラムが対象としているオブジェクト
以外の情報を用いる場合、情報に対応するタイプによっ
て、ラベルづけされるアークを対応するトランジション
への入力アークとする(ステップ2.2)。図4の例示
によって説明すると、「充填確認」トランジションに入
力する「V」でラベルづけされたアークが上述の入力ア
ークに相当する。
Next, referring to FIG. 4 exemplifying conversion of a state transition in a class from a state diagram into a net structure of a high-level Petri net, an action or activity such as event transmission is expressed by an arc. From the state transition diagram or a subset of the state chart (FIG. 4A), etc., the high-level Petri net (FIG.
(B)) is generated. Further, a high level Petri net of the state diagram for the "processing machine" illustrated in FIG. 3B is illustrated in FIG. The conversion procedure will be described with reference to FIG. 5 showing a conversion procedure from a state diagram to a high level Petri net. First, a state of the state diagram is defined as a place. If there is a state name, the state name is used as the place name (step 1). Next, the transition of the state diagram is defined as a transition (step 2). Furthermore, in the case of a transition having a guard condition, the guard condition is defined as a predicate in the transition (step 2.1). When the transition uses information other than the object targeted by the state diagram, the arc labeled by the type corresponding to the information is set as the input arc to the corresponding transition (step 2.2). Explaining with the example of FIG. 4, the arc labeled with “V” input to the “fill confirmation” transition corresponds to the above-mentioned input arc.

【0013】更に、また、遷移において、アクションと
してイベント送出を行なう場合、図4(b)の「放出確
認」トランジションは、イベントデータのタイプでラベ
ルづけする出力アークをトランジションに追加する(ス
テップ2.3)。図4(b)の例示によって説明する
と、「放出確認」トランジションから出力する「充填確
認」によって、ラベルづけされたアークが上述の出力ア
ークに相当する。
Furthermore, when an event is sent as an action in the transition, the "confirm release" transition of FIG. 4B adds an output arc labeled with the type of event data to the transition (step 2. 3). Explaining with the example of FIG. 4B, the arc labeled by the "fill confirmation" output from the "release confirmation" transition corresponds to the above-mentioned output arc.

【0014】また、次に、各遷移におけるアクションを
トランジションの出力アークのアーク関数としてはりつ
ける(ステップ3)。図4(b)の例示によって説明す
ると、「充填完了」における加算処理がこのアーク関数
にあたる。そして、アークに対してこのオブジェクトの
タイプを付与し、タイプでラベルづけする(ステップ
4)。上述の手続きによって、ステートダイアグラムが
高レベル・ペトリネットに変換される。
Next, the action at each transition is pasted as the arc function of the output arc of the transition (step 3). Explaining with the example of FIG. 4B, the addition processing in “filling completion” corresponds to this arc function. Then, the type of this object is given to the arc and labeled with the type (step 4). The above procedure transforms the state diagram into a high level Petri net.

【0015】更に、次に、データフローダイアグラムか
ら高レベル・ペトリネットに変換を例示する図6を参照
すると、データフローダイアグラム(図6(a))で表
される機能をトランジションに、データフローをプレー
スに、それぞれ置き換えて高レベル・ペトリネット(図
6(b))を生成し、フローを流れるトークンのタイプ
をプレースに付与し、バブルの入力フローのタイプと同
型のタイプをトランジションの入力アークに付与する。
また、コントロールフローが存在する場合、図6(a)
の「ack」とラベルづけされている破線によって示さ
れるコントロールフローのには、コントロールフローそ
のものを表わすプレースの他に、コントロールフローを
トリガーする外部からのイベントを表わすプレースを追
加し、コントロールフローの行き先のバブルに相当する
トランジション(図6に例示する「貯蔵処理」トランジ
ション)への入力プレースとする(図6(b)において
ackとラベルづけされたプレースのことである)。
Further, referring to FIG. 6 exemplifying the conversion from the data flow diagram to the high-level Petri net, the function represented by the data flow diagram (FIG. 6 (a)) is used as a transition. Each place is replaced to generate a high-level Petri net (Fig. 6 (b)), the token type flowing through the flow is given to the place, and the same type of bubble input flow type is used as the transition input arc. Give.
In addition, when the control flow exists, FIG.
In addition to the place that represents the control flow itself, a place that represents an external event that triggers the control flow is added to the control flow indicated by the dashed line labeled "ack" in The input place to the transition corresponding to the bubble (the “storage process” transition illustrated in FIG. 6) (the place labeled ack in FIG. 6B).

【0016】更に、また、データストアが存在する場合
は、データストアへのアクセスあるいは、更新に関わら
ず、データストアを表わすプレースと、アクセスあるい
は更新に相当するトランジションとの間に双方向のアー
クをはる。
Furthermore, when a data store exists, a bidirectional arc is formed between the place representing the data store and the transition corresponding to the access or update, regardless of whether the data store is accessed or updated. Haru.

【0017】ペトリネット精密化部11によって、図2
に例示するトークン生成部3の変換によって、生成され
るトークン(図2(b))と、図3に例示するクラス間
動的仕様変換部5の変換によって、生成される高レベル
・ネットのネット構造(図3(b))と、図4に例示す
るクラス内動的仕様変換部3の変換によって、生成され
る高レベル・ネットのネット構造(図6(b))と、図
7に例示する図3(a)における「加工機」のステート
ダイアグラムに対応する高レベル・ネットのネット構造
と、を融合することによって、生成される1つに融合さ
れる高レベル・ネットを図8に例示する。図3に例示す
るオブジェクト通信ダイアグラムから変換する高レベル
・ペトリネットのネット構造のトランジション「加工
機」および「タンク」の部分に、ステートダイアグラム
から変換され、図7に例示する「加工機」に相当する高
レベル・ペトリネットのネット構造と、図4に例示する
「タンク」に相当する高レベル・ペトリネットのネット
構造と、をそれぞれ埋め込んで、更に、埋め込まれるス
テートダイアグラムから変換し、図7に例示する高レベ
ル・ペトリネット「加工機」のネット構造のトランジシ
ョン「加工工程2」の部分に、データフローダイアグラ
ムから変換する図6に例示する高レベル・ペトリネット
のネット構造を埋め込んで融合し、プレース図4の「タ
ンク」の初期状態を表わす「空」状態に図2に例示する
「タンク」クラスのトークンを配置することによって、
各ダイアグラムをまとめて表現する形式的な検証が可能
な高レベル・ペトリネットを生成する。
The Petri net refining unit 11 shown in FIG.
Token generated by the conversion of the token generation unit 3 illustrated in FIG. 2B and the net of the high-level net generated by the conversion of the interclass dynamic specification conversion unit 5 illustrated in FIG. The structure (FIG. 3B), the net structure of the high-level net generated by the conversion of the in-class dynamic specification conversion unit 3 illustrated in FIG. 4 (FIG. 6B), and the example illustrated in FIG. FIG. 8 exemplifies a high-level net fused to one generated by fusing the net structure of the high-level net corresponding to the state diagram of the “machining machine” in FIG. 3A. To do. The transition of the net structure of the high-level Petri net, which is converted from the object communication diagram illustrated in FIG. 3, is converted into “machine” and “tank”, and the state diagram is converted, which is equivalent to the “machine” illustrated in FIG. 7. The high-level Petri net net structure and the high-level Petri net net structure corresponding to the “tank” illustrated in FIG. 4 are embedded, respectively, and further converted from the embedded state diagram. The net structure of the high-level Petri net illustrated in FIG. 6, which is converted from the data flow diagram, is embedded and fused in the transition “processing step 2” of the net structure of the high-level Petri net “processing machine” illustrated. The "tank" illustrated in FIG. 2 is placed in the "empty" state which represents the initial state of the "tank" in FIG. By placing a token of "class,
Generates a high-level Petri net that can be formalized and represents each diagram together.

【0018】[0018]

【発明の効果】従来のオブジェクト指向分析・設計方法
論においては、インフォーマルなセマンティクスに基づ
くダイアグラムが複数与えられているため、それぞれの
ダイアグラムの記述内容に対して形式的な一貫性のチェ
ックや検証ができない。更に、同じ設計対象を異なる側
面から記述する上述のダイアグラム間で一貫性が成り立
っているか否かなどの全体の整合性を確かめることが困
難である。しかし、この発明によればすべてのダイアグ
ラムを統合し、1つの高レベル・ペトリネットに変換す
ることによって、高レベル・ペトリネットに対して、数
多く提供されている形式的な検証技術やシミュレーショ
ン技術を用いて、全体の整合性および一貫性チェックな
らびに検証が行える。従って、オブジェクト指向分析・
設計過程における仕様の正しさの検証と、分析・設計段
階での仕様のバグの発見が行える。
According to the conventional object-oriented analysis / design methodology, since a plurality of diagrams based on informal semantics are provided, formal consistency check and verification can be performed on the description contents of each diagram. Can not. Furthermore, it is difficult to confirm the overall consistency such as whether consistency is established between the above diagrams that describe the same design object from different aspects. However, according to the present invention, by integrating all the diagrams and converting them into one high-level Petri net, many formal verification techniques and simulation techniques provided for the high-level Petri net are provided. Can be used for overall consistency and consistency checking and verification. Therefore, object-oriented analysis
It is possible to verify the correctness of specifications in the design process and find bugs in specifications during the analysis / design stage.

【0019】そして、ソフトウェア作成下流工程におけ
る仕様修正のコストの削減と、信頼性の高いオブジェク
ト指向ソフトウェアの作成と、を促進する。
Then, it is possible to reduce the cost of modifying the specifications in the software production downstream process and to produce highly reliable object-oriented software.

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

【図1】この発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of the present invention.

【図2】トークン生成部の入力となるオブジェクトダイ
アグラムを示す子図(a)と、トークン生成部により生
成されるトークンを例示する子図(b)と、である。
FIG. 2 is a child diagram (a) showing an object diagram that is an input of the token generation unit, and a child diagram (b) illustrating a token generated by the token generation unit.

【図3】オブジェクト通信ダイアグラムを例示する子図
(a)と、高レベル・ペトリネットへの変換を例示する
子図(b)である。
FIG. 3 is a child diagram (a) illustrating an object communication diagram and a child diagram (b) illustrating conversion to a high-level Petri net.

【図4】ステートダイアグラムを例示する子図(a)
と、高レベル・ペトリネットへの変換を例示する子図
(b)である。
FIG. 4 is a child diagram (a) illustrating a state diagram.
FIG. 6B is a child diagram (b) illustrating conversion into a high-level Petri net.

【図5】ステートダイアグラムから高レベル・ペトリネ
ットへの変換手続きを示す図である。
FIG. 5 is a diagram showing a conversion procedure from a state diagram to a high level Petri net.

【図6】データフローダイアグラムを例示する子図
(a)と、高レベル・ペトリネットへの変換を例示する
子図(b)である。
FIG. 6 is a child diagram (a) illustrating a data flow diagram and a child diagram (b) illustrating a conversion to a high level Petri net.

【図7】図3に例示する「加工機」部分に相当するステ
ートダイアグラムに対応する高レベル・ペトリネットを
例示する図である。
FIG. 7 is a diagram illustrating a high-level Petri net corresponding to a state diagram corresponding to the “machining machine” portion illustrated in FIG. 3;

【図8】ペトリネット精密化部により、図2、図3、図
4、図6、図7の生成結果から生成される高レベル・ペ
トリネットを例示する図である。
FIG. 8 is a diagram exemplifying a high-level Petri net generated from the generation results of FIGS. 2, 3, 4, 6, and 7 by the Petri net refining unit.

【符号の説明】 1 オブジェクト指向分析・設計支援システム 2 オブジェクトダイアグラム 3 トークン生成部 4 オブジェクト通信ダイアグラム 5 クラス間動的仕様変換部 6 ステートダイアグラム 7 クラス内動的仕様変換部 8 データフローダイアグラム 9 機能仕様変換部 10 高レベル・ペトリネット 11 プトリネット精密化部[Explanation of symbols] 1 Object-oriented analysis / design support system 2 Object diagram 3 Token generator 4 Object communication diagram 5 Dynamic specification conversion unit between classes 6 State diagram 7 Dynamic specification conversion unit within class 8 Data flow diagram 9 Functional specification Converter 10 High-level Petri net 11 Petri net refiner

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 オブジェクト指向設計方法論に基づいて
ソフトウェアを分析・設計する際にクラスやオブジェク
トの階層関係や集約関係など設計対象の静的側面を記述
するオブジェクトダイアグラムから、ベトリネットにお
けるトークンに構造を付与する高レベル・ペトリネット
におけるトークンを生成する手段と、 オブジェクト指向設計方法論に基づいてソフトウェアを
分析・設計する際にクラス間のイベントあるいはメッセ
ージのやりとりなどのクラス間の動的な振る舞いの側面
を記述するオブジェクト通信ダイアグラムからクラス間
の動的仕様を表わす高レベル・ペトリネットのネット構
造を生成する手段と、 オブジェクト指向設計方法論に基づいてソフトウェアを
分析・設計する際にクラスやオブジェクトがイベントを
受けた際に行うべき処理の記述などの対象のクラス内で
の動的な振る舞いを記述するステートダイアグラムから
クラス内の動的仕様を表わす高レベル・ペトリネットの
ネット構造を生成する手段と、 オブジェクト指向設計方法論に基づいてソフトウェアを
分析・設計する際にクラス内の処理のロジックすなわち
処理の詳細な流れを記述するデータフローダイアグラム
から各クラスによって実現される機能を表わす高レベル
・ペトリネットのネット構造を生成する手段と、 前記各手段によって生成される高レベル・ペリネットの
ネット構造およびトークンを組み合わせて融合する高レ
ベル・ペリネットを生成する手段と、 を有するオブジェクト指向分析・設計支援システム。
1. A structure is attached to a token in a Petri net from an object diagram that describes static aspects of a design target such as hierarchical relationships and aggregation relationships of classes and objects when software is analyzed and designed based on an object-oriented design methodology. Describes the means of generating tokens in high-level Petri nets and the aspect of dynamic behavior between classes such as exchange of events or messages between classes when analyzing and designing software based on object-oriented design methodology A method for generating a net structure of a high-level Petri net that represents a dynamic specification between classes from an object communication diagram and a class or object receives an event when analyzing and designing software based on an object-oriented design methodology. Line Based on an object-oriented design methodology and a means for generating a net structure of a high-level Petri net that represents a dynamic specification in a class from a state diagram that describes dynamic behavior in a target class such as a description of a power process. When analyzing and designing software by means of means, a means to generate a net structure of a high level Petri net representing the functions realized by each class from the data flow diagram that describes the logic of processing within a class, that is, the detailed flow of processing. An object-oriented analysis / design support system having: means for generating a high-level perinet that combines and fuses the net structure and tokens of the high-level perinet generated by each of the above means.
JP5135495A 1993-06-07 1993-06-07 Object directional analysis/design supporting system Pending JPH06348482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5135495A JPH06348482A (en) 1993-06-07 1993-06-07 Object directional analysis/design supporting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5135495A JPH06348482A (en) 1993-06-07 1993-06-07 Object directional analysis/design supporting system

Publications (1)

Publication Number Publication Date
JPH06348482A true JPH06348482A (en) 1994-12-22

Family

ID=15153080

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5135495A Pending JPH06348482A (en) 1993-06-07 1993-06-07 Object directional analysis/design supporting system

Country Status (1)

Country Link
JP (1) JPH06348482A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001522083A (en) * 1997-10-31 2001-11-13 エンテロス・インコーポレーテッド How to generate a representation of a dynamic simulation model using node and link representations
JP2022522177A (en) * 2019-02-27 2022-04-14 コミッサリア ア レネルジー アトミーク エ オ ゼネルジ ザルタナテイヴ How to validate your dataflow system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001522083A (en) * 1997-10-31 2001-11-13 エンテロス・インコーポレーテッド How to generate a representation of a dynamic simulation model using node and link representations
JP2022522177A (en) * 2019-02-27 2022-04-14 コミッサリア ア レネルジー アトミーク エ オ ゼネルジ ザルタナテイヴ How to validate your dataflow system
US12056507B2 (en) 2019-02-27 2024-08-06 Commissariat A L'energie Atomique Et Aux Energies Alternatives Method for validating a data flow system

Similar Documents

Publication Publication Date Title
Evans et al. Core meta-modelling semantics of UML: The pUML approach
Cossentino et al. A CASE tool supported methodology for the design of multi-agent systems
US8510345B2 (en) Generating a service-oriented architecture policy based on a context model
Dorador et al. Application of IDEF0, IDEF3 and UML methodologies in the creation of information models
Huber et al. Consistent graphical specification of distributed systems
Hong et al. Software modeling and analysis using a hierarchical object-oriented Petri net
US5548524A (en) Expression promotion for hierarchical netlisting
De Caso et al. Automated abstractions for contract validation
Miranda et al. Domain‐specific language for automatic generation of UML models
Hauschildt et al. WOFLAN: a Petri-net-based Workflow Analyzer
JPH06348482A (en) Object directional analysis/design supporting system
Hilken et al. From UML/OCL to base models: transformation concepts for generic validation and verification
Mellor et al. Softwareplatform-independent, precise action specifications for UML
Burge et al. Rationale support for maintenance of large scale systems
Regep et al. LfP: a specification language for rapid prototyping of concurrent systems
Christensen et al. Modelling and simulation of a network management system using hierarchical coloured Petri nets
Cleidson et al. Using critiquing systems for inconsistency detection in software engineering models
Bhargavan et al. Fault origin adjudication
KR101044182B1 (en) A method for facilitating verification of a system, an apparatus and a computer readable recording medium for facilitating verification of a software application.
Mouheb et al. Unified modeling language
Falah et al. An attempt towards a formalizing UML class diagram semantics
KR100456631B1 (en) Apparatus and method for adaptation of design models in the object-oriented programming system and recording medium providing program therein
Garcia et al. Performance model interchange format: Semantic validation
Bokhari et al. Translation of UML Models to Object Coloured Petri Nets with a view to Analysis.
Ehrig et al. Relevance, integration and classification of specification formalisms and formal specification techniques

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19960521