JPH11134180A - State transition drawing conversion device - Google Patents

State transition drawing conversion device

Info

Publication number
JPH11134180A
JPH11134180A JP9311517A JP31151797A JPH11134180A JP H11134180 A JPH11134180 A JP H11134180A JP 9311517 A JP9311517 A JP 9311517A JP 31151797 A JP31151797 A JP 31151797A JP H11134180 A JPH11134180 A JP H11134180A
Authority
JP
Japan
Prior art keywords
state transition
transition information
message sequence
diagram
state
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
JP9311517A
Other languages
Japanese (ja)
Other versions
JP3092563B2 (en
Inventor
Tomochika Yamashita
智慎 山下
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 JP09311517A priority Critical patent/JP3092563B2/en
Publication of JPH11134180A publication Critical patent/JPH11134180A/en
Application granted granted Critical
Publication of JP3092563B2 publication Critical patent/JP3092563B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To automatically generate a state transition drawing without overlapped transition information from plural message sequence drawings. SOLUTION: A message sequence drawing storage part A1 stores all message sequence drawings being the objects of conversion. A process designation means A2 designates the object of conversion on the message sequence drawing. A state transition information conversion means A3 extracts event sequences on all the message sequence drawings of a process designated by the process designation means A2, converts them into state transition information and stores them in a state transition drawing storage part A4. A state transition information reduction means A5 deletes overlapped transition information in state transition information stored in the state transition drawing storage part A4 and reduces state transition information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は状態遷移図変換装置
に関し、特に複数のメッセージシーケンス図から状態遷
移情報(状態遷移図の情報)を縮小した状態遷移図を生
成する状態遷移図変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a state transition diagram conversion device, and more particularly to a state transition diagram conversion device for generating a state transition diagram in which state transition information (information of a state transition diagram) is reduced from a plurality of message sequence diagrams.

【0002】[0002]

【従来の技術】従来、この種の状態遷移図変換装置は、
状態遷移情報の縮小が手作業で行われていたことの煩わ
しさを解消し、自動的に縮小するために使われている。
従来の状態遷移図変換装置の一例が、特開平5−627
2号公報に記載されている。この公報に記載された状態
遷移図変換装置は、状態遷移図上の遷移情報((状態を
含む)ノードから別のノードまでの遷移(列)の情報)
の重複を自動的に削除する装置である。主に、重複して
いる遷移情報のある状態遷移図において、状態の遷移情
報の等価性を判定する部分に当たる等価状態判定部と、
等価な部分が存在した場合に等価であると判定された状
態の遷移情報を削除し、その状態のラベルを等価な状態
のラベルに付け替えする遷移情報縮小部とから構成され
ている。等価状態判定部は、各状態における遷移情報を
逐次比較して等価な状態を検出する。具体的には、ま
ず、ある1つの状態の遷移情報群と他の状態の遷移情報
群とを逐次比較して最初の状態と同じ遷移情報群を有す
る状態が他に存在するか否かにより行っている。
2. Description of the Related Art Conventionally, this type of state transition diagram conversion apparatus is:
It is used for automatically reducing the state transition information by eliminating the troublesomeness of manually reducing the state transition information.
An example of a conventional state transition diagram conversion apparatus is disclosed in Japanese Unexamined Patent Publication No. 5-627.
No. 2 discloses this. The state transition diagram conversion device described in this publication discloses transition information (information of transition (column) from a node (including a state) to another node) on a state transition diagram.
This device automatically deletes duplicates. Mainly, in a state transition diagram having overlapping transition information, an equivalent state determination unit that corresponds to a part that determines the equivalence of state transition information,
A transition information reduction unit that deletes transition information of a state determined to be equivalent when an equivalent part exists, and replaces the label of the state with a label of an equivalent state. The equivalent state determination unit sequentially compares transition information in each state to detect an equivalent state. Specifically, first, a transition information group of a certain state is sequentially compared with a transition information group of another state, and a determination is made based on whether or not another state having the same transition information group as the first state exists. ing.

【0003】[0003]

【発明が解決しようとする課題】第1の問題点は、従来
の技術では、状態遷移情報の縮小の過程で重複している
遷移情報を削除できない場合があることである。その理
由は、遷移情報の等価性の判定に状態のラベルを考慮し
ているためである。各状態からの遷移情報が同一の場合
にどちらの状態のラベルを付け替えするかで、後に別の
各状態の遷移情報の等価性の判定を行うときに状態のラ
ベルによって遷移情報の等価性が変わってきてしまうか
らである。なお、本発明の状態遷移図変換装置は、状態
のラベルに左右されずに遷移情報をマージするため、遷
移情報の等価性が変わることはない。
A first problem is that in the prior art, there is a case where it is not possible to delete duplicated transition information in the process of reducing the state transition information. The reason is that the label of the state is considered in determining the equivalence of the transition information. When the transition information from each state is the same, which state label is changed, the equivalence of the transition information changes depending on the state label when the equivalence of the transition information of another state is determined later. Because it will come. Note that the state transition diagram conversion device of the present invention merges transition information regardless of the label of the state, so that the equivalence of the transition information does not change.

【0004】第2の問題点は、従来の技術では、複数の
メッセージシーケンス図から状態遷移情報を縮小した状
態遷移図に自動的に変換できないことである。その理由
は、複数のメッセージシーケンス図から状態遷移情報を
縮小した状態遷移図への変換処理を扱っていない(従来
は人手で行われていた)からである。
[0004] The second problem is that the conventional technology cannot automatically convert a plurality of message sequence diagrams into a state transition diagram in which state transition information is reduced. The reason is that conversion processing from a plurality of message sequence diagrams to a state transition diagram in which the state transition information is reduced is not handled (conventionally, it is manually performed).

【0005】本発明の目的は、複数のメッセージシーケ
ンス図から重複している遷移情報のない状態遷移図を生
成できるようにした状態遷移図変換装置を提供すること
にある。
An object of the present invention is to provide a state transition diagram conversion apparatus capable of generating a state transition diagram without duplicate transition information from a plurality of message sequence diagrams.

【0006】[0006]

【課題を解決するための手段】本発明の状態遷移図変換
装置は、メッセージシーケンス図から状態遷移図を生成
する状態遷移図変換装置において、複数のメッセージシ
ーケンス図を状態遷移情報に変換する状態遷移情報変換
手段と、この状態遷移情報変換手段により変換された状
態遷移情報中の重複している遷移情報を削除して状態遷
移情報を縮小する状態遷移情報縮小手段とを含むことを
特徴とする。特に、前記状態遷移情報縮小手段は、重複
している遷移情報があるかどうかを判定する従属関係判
定処理と、重複している遷移情報のマージを行うノード
マージ処理とを含む。
According to the present invention, there is provided a state transition diagram conversion apparatus for generating a state transition diagram from a message sequence diagram, wherein the state transition diagram converts a plurality of message sequence diagrams into state transition information. It is characterized by including an information conversion unit and a state transition information reduction unit that reduces the state transition information by deleting overlapping transition information in the state transition information converted by the state transition information conversion unit. In particular, the state transition information reducing unit includes a dependency determination process for determining whether there is overlapping transition information, and a node merging process for merging the overlapping transition information.

【0007】また、本発明の状態遷移図変換装置は、メ
ッセージシーケンス図を記憶するメッセージシーケンス
図記憶部と、このメッセージシーケンス図記憶部からメ
ッセージシーケンス図を入力してメッセージシーケンス
図上のイベント列を抽出して状態遷移情報に変換する状
態遷移情報変換手段と、この状態遷移情報変換手段によ
り変換された状態遷移情報を格納する状態遷移図記憶部
と、この状態遷移図記憶部に格納されている状態遷移情
報中の重複している遷移情報を削除して状態遷移情報を
縮小する状態遷移情報縮小手段とを有することを特徴す
る。
A state transition diagram conversion device according to the present invention includes a message sequence diagram storage unit for storing a message sequence diagram, a message sequence diagram input from the message sequence diagram storage unit, and an event sequence on the message sequence diagram. A state transition information conversion unit that extracts and converts the state transition information into state transition information, a state transition diagram storage unit that stores the state transition information converted by the state transition information conversion unit, and a state transition diagram storage unit that stores the state transition information. A state transition information reducing unit that reduces the state transition information by deleting the duplicated transition information in the state transition information.

【0008】さらに、本発明の状態遷移図変換装置は、
変換の対象となる全てのメッセージシーケンス図を記憶
するメッセージシーケンス図記憶部と、メッセージシー
ケンス図上の変換の対象となるプロセスを指定するプロ
セス指定手段と、前記メッセージシーケンス図記憶部に
格納されたメッセージシーケンス図から前記プロセス指
定手段で指定されたプロセスの全てのメッセージシーケ
ンス図上のイベント列を抽出して状態遷移情報に変換す
る状態遷移情報変換手段と、この状態遷移情報変換手段
により変換された状態遷移情報を格納する状態遷移図記
憶部と、この状態遷移図記憶部に格納されている状態遷
移情報中の重複している遷移情報を削除して状態遷移情
報を縮小する状態遷移情報縮小手段とを有することを特
徴する。
Further, the state transition diagram conversion device of the present invention
A message sequence diagram storage unit for storing all message sequence diagrams to be converted, a process designating unit for specifying a process to be converted on the message sequence diagram, and a message stored in the message sequence diagram storage unit State transition information conversion means for extracting an event sequence on all the message sequence diagrams of the process specified by the process specification means from the sequence diagram and converting the sequence into state transition information, and a state converted by the state transition information conversion means A state transition diagram storage unit that stores the transition information, and a state transition information reduction unit that reduces the state transition information by deleting overlapping transition information in the state transition information stored in the state transition diagram storage unit. It is characterized by having.

【0009】一方、本発明の記録媒体は、コンピュータ
を、複数のメッセージシーケンス図を状態遷移情報に変
換する状態遷移情報変換手段,およびこの状態遷移情報
変換手段により変換された状態遷移情報中の重複してい
る遷移情報を削除して状態遷移情報を縮小する状態遷移
情報縮小手段として機能させるためのプログラムを記録
したことを特徴とする。
On the other hand, the recording medium of the present invention is a computer-readable recording medium that converts a plurality of message sequence diagrams into state transition information and state transition information converted by the state transition information conversion means. A program for recording a program for functioning as state transition information reducing means for deleting the transition information and reducing the state transition information.

【0010】また、本発明の記録媒体は、コンピュータ
を、メッセージシーケンス図を記憶するメッセージシー
ケンス図記憶部,このメッセージシーケンス図記憶部か
らメッセージシーケンス図を入力し全てのメッセージシ
ーケンス図上のイベント列を抽出して状態遷移情報に変
換する状態遷移情報変換手段,およびこの状態遷移情報
変換手段により変換された状態遷移情報を格納する状態
遷移図記憶部と、この状態遷移図記憶部に格納されてい
る状態遷移情報中の重複している遷移情報を削除して状
態遷移情報を縮小する状態遷移情報縮小手段として機能
させるためのプログラムを記録したことを特徴とする。
In the recording medium of the present invention, a computer is provided with a message sequence diagram storage unit for storing a message sequence diagram, a message sequence diagram input from the message sequence diagram storage unit, and an event sequence on all the message sequence diagrams. A state transition information conversion unit that extracts and converts the state transition information into state transition information, a state transition diagram storage unit that stores the state transition information converted by the state transition information conversion unit, and a state transition diagram storage unit that stores the state transition information. A program for recording a program for functioning as state transition information reducing means for deleting the duplicated transition information in the state transition information and reducing the state transition information is recorded.

【0011】さらに、本発明の記録媒体は、コンピュー
タを、変換の対象となる全てのメッセージシーケンス図
を記憶するメッセージシーケンス図記憶部,メッセージ
シーケンス図上の変換の対象となるプロセスを指定する
プロセス指定手段,前記メッセージシーケンス図記憶部
に格納されたメッセージシーケンス図から前記プロセス
指定手段で指定されたプロセスの全てのメッセージシー
ケンス図上のイベント列を抽出して状態遷移情報に変換
する状態遷移情報変換手段,この状態遷移情報変換手段
により変換された状態遷移情報を格納する状態遷移図記
憶部,およびこの状態遷移図記憶部に格納されている状
態遷移情報中の重複している遷移情報を削除して状態遷
移情報を縮小する状態遷移情報縮小手段として機能させ
るためのプログラムを記録する。
Further, the recording medium of the present invention is a computer which stores a message sequence diagram storing section for storing all the message sequence diagrams to be converted, and a process specification for designating a process to be converted on the message sequence diagram. Means for extracting, from the message sequence diagram stored in the message sequence diagram storage unit, an event sequence on all the message sequence diagrams of the process designated by the process designating means and converting the sequence into state transition information; A state transition diagram storage unit for storing the state transition information converted by the state transition information conversion unit, and deleting the duplicated transition information in the state transition information stored in the state transition diagram storage unit. A program for functioning as state transition information reduction means for reducing state transition information The record.

【0012】本発明の第1の特徴は、状態遷移図上の重
複している遷移情報をマージするために、重複している
遷移情報があるかどうかの判定に状態からの遷移ではな
く状態からの遷移列を対象として行っていることであ
る。より具体的には、重複している遷移情報があるかど
うかを判定する従属関係判定処理と、重複している遷移
情報のマージを行うノードマージ処理とを含む状態遷移
情報縮小手段(図1のA5)を有する。
A first feature of the present invention is that in order to merge overlapping transition information on a state transition diagram, it is necessary to determine whether there is overlapping transition information from a state instead of a state transition. Is performed for the transition sequence of. More specifically, a state transition information reduction unit (see FIG. 1) that includes a dependency determination process for determining whether there is duplicated transition information and a node merge process for merging the duplicated transition information. A5).

【0013】本発明の第2の特徴は、メッセージシーケ
ンス図から状態遷移情報を縮小した状態遷移図に変換す
るために、メッセージシーケンス図をその状態のまま状
態遷移情報に変換して格納することである。より具体的
には、複数のメッセージシーケンス図からプロセス指定
手段(図1のA2)で指定されたプロセスのメッセージ
シーケンス図を状態遷移情報に変換する状態遷移情報変
換手段(図1のA3)と、変換されたときにその状態遷
移情報を格納し、状態遷移情報を縮小した状態遷移図を
も格納する状態遷移図記憶部(図1のA4)とを有す
る。
A second feature of the present invention is that, in order to convert the state transition information from the message sequence diagram into a reduced state transition diagram, the message sequence diagram is converted into the state transition information as it is and stored. is there. More specifically, state transition information conversion means (A3 in FIG. 1) for converting a message sequence diagram of a process designated by the process designation means (A2 in FIG. 1) from a plurality of message sequence diagrams into state transition information; It has a state transition diagram storage unit (A4 in FIG. 1) that stores the state transition information when converted, and also stores a state transition diagram in which the state transition information is reduced.

【0014】状態遷移情報変換手段は、プロセス指定手
段で指定されたプロセスのメッセージシーケンス図を状
態遷移情報に変換する。状態遷移図記憶部は、メッセー
ジシーケンス図から変換された状態遷移情報を格納し、
縮小処理を行った状態遷移図をも格納する。状態遷移情
報縮小手段は、この記憶された状態遷移情報を状態から
の遷移列を対象として重複している遷移情報があるかど
うかを判定し、重複している遷移情報がある場合にその
遷移情報をマージする。
The state transition information conversion means converts the message sequence diagram of the process specified by the process specification means into state transition information. The state transition diagram storage unit stores state transition information converted from the message sequence diagram,
The state transition diagram after the reduction process is also stored. The state transition information reducing means determines whether or not there is any overlapping transition information in the stored state transition information for the transition sequence from the state. If there is any overlapping transition information, the transition information Merge.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0016】図1は、本発明の第1の実施の形態に係る
状態遷移図変換装置の構成を示すブロック図である。本
実施の形態に係る状態遷移図変換装置は、複数のメッセ
ージシーケンス図を記憶するメッセージシーケンス図記
憶部Alと、変換の際にどのプロセスのメッセージシー
ケンス図を状態遷移図に変換するかを指定するプロセス
指定手段A2と、指定されたプロセスのメッセージシー
ケンス図を状態遷移情報に変換する状態遷移情報変換手
段A3と、変換された状態遷移情報を格納する状態遷移
図記憶部A4と、その状態遷移情報に重複している遷移
情報があるかどうかを判定し、ある場合にその遷移情報
のマージ処理を行って状態遷移情報を縮小する状態遷移
情報縮小手段A5とから構成されている。
FIG. 1 is a block diagram showing a configuration of a state transition diagram conversion device according to a first embodiment of the present invention. The state transition diagram conversion apparatus according to the present embodiment specifies a message sequence diagram storage unit Al that stores a plurality of message sequence diagrams, and specifies which process message sequence diagram is to be converted into a state transition diagram during conversion. A process designating unit A2, a state transition information converting unit A3 for converting a message sequence diagram of a designated process into state transition information, a state transition diagram storage unit A4 for storing the converted state transition information, and the state transition information And a state transition information reducing unit A5 that determines whether there is duplicated transition information, and if so, merges the transition information to reduce the state transition information.

【0017】メッセージシーケンス図記憶部Alは、変
換の対象となる全てのメッセージシーケンス図を記憶す
る。
The message sequence diagram storage unit Al stores all message sequence diagrams to be converted.

【0018】プロセス指定手段A2は、メッセージシー
ケンス図上の変換の対象となるプロセスを指定する。
The process specifying means A2 specifies a process to be converted on the message sequence diagram.

【0019】状態遷移情報変換手段A3は、メッセージ
シーケンス図を入力として、プロセス指定手段A2で指
定されたプロセスの全てのメッセージシーケンス図上の
イベント列を抽出して状態遷移情報に変換する。変換さ
れた状態遷移情報は、状態遷移図記憶部A4に記憶され
る。
The state transition information conversion means A3 receives the message sequence diagram as input, extracts an event sequence on all the message sequence diagrams of the process specified by the process specification means A2, and converts it into state transition information. The converted state transition information is stored in the state transition diagram storage unit A4.

【0020】状態遷移図記憶部A4は、メッセージシー
ケンス図から変換された縮小処理を行っていない状態遷
移情報を格納する。
The state transition diagram storage unit A4 stores state transition information converted from the message sequence diagram and not subjected to reduction processing.

【0021】状態遷移情報縮小手段A5は、変換された
状態遷移情報に重複している遷移情報があるかどうかを
判定し、あれば、その遷移情報を削除して状態遷移情報
を縮小する。状態遷移情報を縮小した状態遷移図は、状
態遷移図記憶部A4に記憶される。
The state transition information reducing means A5 determines whether there is any duplicated transition information in the converted state transition information, and if so, deletes the transition information and reduces the state transition information. The state transition diagram obtained by reducing the state transition information is stored in the state transition diagram storage unit A4.

【0022】図2(a)および(b)は、メッセージシ
ーケンス図記憶部Alに格納されるメッセージシーケン
ス図のデータ構造と、状態遷移図記憶部A4に格納され
る状態遷移図のデータ構造とをそれぞれ示す図である。
FIGS. 2A and 2B show the data structure of the message sequence diagram stored in the message sequence diagram storage unit Al and the data structure of the state transition diagram stored in the state transition diagram storage unit A4. FIG.

【0023】図2(a)を参照すると、メッセージシー
ケンス図のデータ構造は、メッセージシーケンス図の識
別子を表すmsc id,そのメッセージシーケンス図
のプロセスを表すentity name,メッセージ
シーケンス図のシンボルのタイプおよび名前を表すty
pe・name,およびsignalシンボルの一情報
としてメッセージのやりとり先を示すプロセスを表すe
ntity nameからなる。また、図2(b)を参
照すると、状態遷移図のデータ構造は、nodeの集合
とarcの集合とからなり、nodeの集合は、nod
eの識別子を表すid,タイプを表すtype,および
名前を表すnameから、arcの集合は、arcの識
別子を表すid,接続元node id,および接続先
nodoidからなる。状態遷移情報変換手段A3は、
この情報構造を基にメッセージシーケンス図を状態遷移
情報に変換する。
Referring to FIG. 2A, the data structure of the message sequence diagram includes an mscid representing an identifier of the message sequence diagram, an entity name representing a process of the message sequence diagram, a type and a name of a symbol of the message sequence diagram. Ty representing
e representing a process indicating a message exchange destination as one information of pe · name and signal symbol
consists of an entity name. Referring to FIG. 2B, the data structure of the state transition diagram includes a set of nodes and a set of arcs.
A set of arcs is composed of an id representing an identifier of e, a type representing a type, and a name representing a name, and an id representing an identifier of the arc, a connection source node id, and a connection destination nodoid. The state transition information conversion means A3
The message sequence diagram is converted into state transition information based on this information structure.

【0024】図3は、状態遷移情報変換手段A3の処理
手順の概要を示すフローチャートである。図3を参照す
ると、状態遷移情報変換手段A3の処理手順は、シンボ
ル集合取り出しステップB1と、最初シンボル取り出し
ステップB2と、ノード情報への名前およびタイプの追
加ステップB3と、ノードタイプ入力イベント判定ステ
ップB4と、入力イベント直前状態判定ステップB5
と、直前ノード有無判定ステップB6と、ノード情報へ
の仮の名前およびタイプ追加ステップB7と、ノード接
続ステップB8と、ノード接続ステップB9と、直前ノ
ード記憶ステップB10と、次シンボル有無判定ステッ
プB11と、最後状態判定ステップB12と、状態ノー
ド追加・接続ステップB13と、イベント列有無判定ス
テップB14とからなる。
FIG. 3 is a flowchart showing an outline of the processing procedure of the state transition information conversion means A3. Referring to FIG. 3, the processing procedure of the state transition information converting means A3 includes a symbol set extracting step B1, a first symbol extracting step B2, a name and type adding step B3 to node information, a node type input event determining step. B4 and state determination step B5 immediately before the input event
A step B6 for judging the presence of the immediately preceding node, a step B7 for adding a temporary name and type to the node information, a step B8 for connecting the node, a step B9 for connecting the node, a step B10 for storing the immediately preceding node, and a step B11 for determining the presence or absence of the next symbol. , Last state determination step B12, state node addition / connection step B13, and event sequence presence / absence determination step B14.

【0025】図4は、状態遷移情報縮小手段A5の処理
手順を示すフローチャートである。状態遷移情報縮小手
段A5の処理手順は、遷移とは逆方向(backwar
d方向)の縮小処理Clと、遷移と同方向(forwa
rd方向)の縮小処理C2とを行うことによって達成さ
れる。
FIG. 4 is a flowchart showing a processing procedure of the state transition information reducing means A5. The processing procedure of the state transition information reducing unit A5 is performed in a direction opposite to the transition (backward).
d) and the transition in the same direction (forward) as the transition.
(rd direction) and the reduction process C2.

【0026】図5は、状態遷移情報縮小手段A5による
backward方向の縮小処理C1のより詳細な処理
手順を示すフローチャートである。図5を参照すると、
状態遷移情報縮小手段A5によるbackward方向
の縮小処理C1の処理手順は、ノード集合取得ステップ
D1と、最初ノード設定ステップD2と、次ノード有無
判定ステップD3と、最初ノード設定ステップD4と、
次ノード有無判定ステップD5と、backward方
向従属関係判定処理D6と、次ノード設定ステップD7
と、結果判定ステップD8と、backward方向ノ
ードマージ処理D9と、次ノード設定ステップD10と
からなる。
FIG. 5 is a flowchart showing a more detailed processing procedure of the reduction process C1 in the backward direction by the state transition information reduction means A5. Referring to FIG.
The procedure of the reduction process C1 in the backward direction by the state transition information reduction means A5 includes a node set acquisition step D1, a first node setting step D2, a next node presence / absence determination step D3, a first node setting step D4,
Next node presence / absence determination step D5, backward direction dependency determination processing D6, Next node setting step D7
, A result determination step D8, a backward direction node merge process D9, and a next node setting step D10.

【0027】図6は、状態遷移情報縮小手段A5による
forward方向の縮小処理C2のより詳細な処理手
順を示すフローチャートである。図6を参照すると、状
態遷移情報縮小手段A5によるforward方向の縮
小処理C2の処理手順は、ノード集合取得ステップE1
と、最初ノード設定ステップE2と、次ノード有無判定
ステップE3と、最初ノード設定ステップE4と、次ノ
ード有無判定ステップE5と、forward方向従属
関係判定処理E6と、次ノード設定ステップE7と、結
果判定ステップE8と、forward方向ノードマー
ジ処理E9と、次ノード設定ステップE10とからな
る。
FIG. 6 is a flowchart showing a more detailed processing procedure of the forward direction reduction processing C2 by the state transition information reduction means A5. Referring to FIG. 6, the processing procedure of the forward direction reduction processing C2 by the state transition information reduction unit A5 includes a node set acquisition step E1.
A first node setting step E2, a next node presence / absence determination step E3, a first node setup step E4, a next node presence / absence determination step E5, a forward direction dependency relationship determination processing E6, a next node setup step E7, and a result determination It comprises step E8, forward node merge processing E9, and next node setting step E10.

【0028】図7は、図6中のforward方向従属
関係判定処理E6のより詳細な処理手順を示すフローチ
ャートである。従属関係とはノードとノードとの関係を
表し、そのノードからの遷移列が全て別のノードからの
遷移列に含まれているとき、そのノードは別のノードに
従属しているという。図7を参照すると、forwar
d方向従属関係判定処理E6の処理手順は、2ノード取
り出しステップF1と、ノード同一判定ステップF2
と、ノードタイプ取り出しステップF3と、真返却ステ
ップF4と、タイプ同一判定ステップF5と、状態タイ
プ判定ステップF6と、偽返却ステップF7と、名前同
一判定ステップF8と、偽返却ステップF9と、アーク
数取り出しステップF10と、アーク出力判定ステップ
F11と、状態タイプ判定ステップF12と、アーク出
力判定ステップF13と、アーク判定処理F14と、偽
返却ステップF15と、真返却ステップF16とからな
る。
FIG. 7 is a flowchart showing a more detailed processing procedure of the forward direction dependency determination processing E6 in FIG. The dependency relationship indicates a relationship between nodes, and when all transition sequences from the node are included in a transition sequence from another node, the node is said to be subordinate to another node. Referring to FIG.
The processing procedure of the d-direction dependency relationship determination processing E6 includes a two-node extraction step F1 and a node identity determination step F2.
, Node type extraction step F3, true return step F4, type identity determination step F5, state type determination step F6, false return step F7, name identity determination step F8, false return step F9, arc count It comprises an extraction step F10, an arc output determination step F11, a state type determination step F12, an arc output determination step F13, an arc determination process F14, a false return step F15, and a true return step F16.

【0029】図8は、図7中のアーク判定処理F14の
より詳細な処理手順を示すフローチャートである。図8
を参照すると、アーク判定処理F14の処理手順は、ア
ーク集合取り出しステップG1と、flag偽設定ステ
ップG2と、最初アーク設定ステップG3と、最初アー
ク設定ステップG4と、ノード取り出しステップG5
と、ノード取り出しステップG6と、ノード同一判定ス
テップG7と、forward方向従属関係判定処理G
8と、flag真設定ステップG9と、結果判定ステッ
プG10と、flag真設定ステップG11と、fla
g偽設定ステップG12と、次アーク有無判定ステップ
G13と、次アーク設定ステップG14と、flag偽
判定ステップG15と、次アーク有無判定ステップG1
6と、次アーク設定ステップG17と、flag偽判定
ステップG18と、真返却ステップG19と、偽返却ス
テップG20とからなる。
FIG. 8 is a flowchart showing a more detailed processing procedure of the arc determination processing F14 in FIG. FIG.
, The processing procedure of the arc determination processing F14 includes an arc set extraction step G1, a flag false setting step G2, a first arc setting step G3, a first arc setting step G4, and a node extraction step G5.
, A node extraction step G6, a node identity determination step G7, and a forward direction dependency determination processing G
8, a flag true setting step G9, a result determination step G10, a flag true setting step G11, and a flag
g false setting step G12, next arc presence / absence determination step G13, next arc setting step G14, flag false determination step G15, next arc presence / absence determination step G1
6, a next arc setting step G17, a flag false determination step G18, a true return step G19, and a false return step G20.

【0030】図9は、図5および図6中のノードマージ
処理D9およびE9のより詳細な処理手順を示すフロー
チャートである。図9を参照すると、ノードマージ処理
D9およびE9の処理手順は、ノード取り出しステップ
H1と、アーク集合取り出しステップH2と、ノードに
入って来るアークのマージ処理H3と、ノードから出て
行くアークのマージ処理H4と、ノード消去ステップH
5とからなる。
FIG. 9 is a flowchart showing a more detailed processing procedure of the node merge processing D9 and E9 in FIGS. 5 and 6. Referring to FIG. 9, the processing procedure of the node merging processes D9 and E9 includes a node extracting step H1, an arc set extracting step H2, an arc merging process H3 coming into the node, and a merging arc coming out of the node. Processing H4 and node erasing step H
5

【0031】図10は、図9中のノードに入って来るア
ークのマージ処理H3のより詳細な処理手順を示すフロ
ーチャートである。図10を参照すると、ノードに入っ
て来るアークのマージ処理H3の処理手順は、入って来
るノード有無判定ステップI1と、最初アーク設定ステ
ップI2と、最初アーク設定ステップI3と、flag
真初期設定ステップI4と、接続元ノード同一判定ステ
ップI5と、flag偽設定ステップI6と、次アーク
有無判定ステップI7と、次アーク設定ステップI8
と、flag判定ステップI9と、アーク接続ステップ
I10と、アーク消去ステップI11と、次アーク有無
判定ステップI12と、次アーク設定ステップI13と
からなる。
FIG. 10 is a flowchart showing a more detailed processing procedure of the merging process H3 of the arc entering the node in FIG. Referring to FIG. 10, the processing procedure of the merging process H3 of the arc entering the node includes an incoming node presence / absence determination step I1, a first arc setting step I2, a first arc setting step I3, and a flag.
True initial setting step I4, connection source node identity determination step I5, flag false setting step I6, next arc presence / absence determination step I7, next arc setting step I8
, A flag determination step I9, an arc connection step I10, an arc elimination step I11, a next arc presence / absence determination step I12, and a next arc setting step I13.

【0032】図11は、図9中のノードから出て行くア
ークのマージ処理H4のより詳細な処理手順を示すフロ
ーチャートである。図11を参照すると、ノードから出
て行くアークのマージ処理H4の処理手順は、出て行く
ノード有無判定ステップJ1と、最初アーク設定ステッ
プJ2と、最初アーク設定ステップJ3と、flag真
初期設定ステップJ4と、接続先ノード同一判定ステッ
プJ5と、flag偽判定ステップJ6と、次アーク有
無判定ステップJ7と、次アーク設定ステップJ8と、
flag判定ステップJ9と、アーク接続ステップJ1
0と、アーク消去ステップJ11と、次アーク有無判定
ステップJ12と、次アーク設定ステップJ13とから
なる。
FIG. 11 is a flowchart showing a more detailed processing procedure of the merging process H4 of the arc coming out of the node in FIG. Referring to FIG. 11, the processing procedure of the merging process H4 of the arcs coming out of the nodes includes the outgoing node existence determining step J1, the first arc setting step J2, the first arc setting step J3, and the flag true initial setting step. J4, a connection destination node identity determination step J5, a flag false determination step J6, a next arc presence / absence determination step J7, a next arc setting step J8,
Flag determination step J9 and arc connection step J1
0, an arc elimination step J11, a next arc presence / absence determination step J12, and a next arc setting step J13.

【0033】次に、このように構成された第1の実施の
形態に係る状態遷移図変換装置の動作について、図1な
いし図11を参照して詳細に説明する。
Next, the operation of the state transition diagram converting apparatus according to the first embodiment thus configured will be described in detail with reference to FIGS.

【0034】状態遷移情報変換手段A3は、まず、メッ
セージシーケンス図記憶部A1から入力として与えられ
たメッセージシーケンス図上の、プロセス指定手段A2
で指定されたプロセスのシンボルの集合を取り出す(ス
テップBl)。
First, the state transition information conversion means A3 is provided with the process designation means A2 on the message sequence diagram given as an input from the message sequence diagram storage section A1.
A set of symbols of the process specified by is extracted (step Bl).

【0035】次に、状態遷移情報変換手段A3は、状態
遷移図への変換を行うためにシンボルの集合から最初の
シンボルを取り出す(ステップB2)。
Next, the state transition information conversion means A3 extracts the first symbol from the set of symbols for conversion into a state transition diagram (step B2).

【0036】続いて、状態遷移情報変換手段A3は、そ
のシンボルから名前およびタイプを取り出し、状態遷移
図のノードの名前およびタイプとして追加する(ステッ
プB3)。
Subsequently, the state transition information conversion means A3 extracts the name and type from the symbol and adds them as the names and types of the nodes in the state transition diagram (step B3).

【0037】次に、状態遷移情報変換手段A3は、ノー
ドのタイプが入力イベントであるかどうかを調べ(ステ
ップB4)、入力イベントであれば、入力イベントの直
前のノードが状態であるかどうかを調べる(ステップB
5)。入力イベントの直前のノードが状態でなければ、
状態遷移情報変換手段A3は、入力イベントの直前に新
たな状態ノードを追加して、そのノード情報に名前およ
びタイプを追加して(ステップB7)、直前ノードと状
態ノードとを接続し、状態ノードと入力イベントノード
とを接続して(ステップB8)、ステップB10に制御
を移す。ステップB5で入力イベントの直前のノードが
状態であれば、状態遷移情報変換手段A3は、直前ノー
ドと状態ノードとを接続し、状態ノードと入力イベント
ノードとを接続して(ステップB8)、ステップB10
に制御を移す。
Next, the state transition information conversion means A3 checks whether the type of the node is an input event (step B4), and if it is an input event, determines whether the node immediately before the input event is in a state. Check (Step B
5). If the node immediately before the input event is not in the state,
The state transition information conversion means A3 adds a new state node immediately before the input event, adds a name and a type to the node information (step B7), connects the immediately preceding node to the state node, and Is connected to the input event node (step B8), and the control shifts to step B10. If the node immediately before the input event is in the state at step B5, the state transition information conversion means A3 connects the immediately preceding node to the state node, connects the state node to the input event node (step B8), and B10
Transfer control to.

【0038】ステップB4でノードのタイプが入力イベ
ントでなければ、状態遷移情報変換手段A3は、その直
前にノードがあるかどうかを調べ(ステップB6)、あ
れば直前のノードと情報を追加された状態ノードとを接
続し(ステップB9)、ステップB10に制御を移し、
なければそのままステップB10に制御を移す。
If the type of the node is not an input event at step B4, the state transition information conversion means A3 checks whether or not there is a node immediately before (step B6). Connect to the state node (step B9), and transfer control to step B10.
If not, control is transferred to step B10.

【0039】ステップB10では、状態遷移情報変換手
段A3は、変換されたノードを直前のノードとして記憶
する。
In step B10, the state transition information conversion means A3 stores the converted node as the immediately preceding node.

【0040】次に、状態遷移情報変換手段A3は、シン
ボルの集合に次のシンボルがあるかどうかを調べ(ステ
ップB11)、あれば、ステップB2に制御を戻し、な
ければ、ステップB12に制御を移す。
Next, the state transition information conversion means A3 checks whether or not the next symbol is present in the set of symbols (step B11). If so, the control returns to step B2; otherwise, the control returns to step B12. Move.

【0041】ステップB12では、状態遷移情報変換手
段A3は、メッセージシーケンス図の最後のシンボルが
状態であるかどうかを調べ、状態でない場合は、最後に
新たな状態ノードを追加して直前ノードと接続し、その
ノードに名前およびタイプを追加して(ステップB1
3)、ステップB14に制御を移す。状態である場合
は、状態遷移情報変換手段A3は、何も行わずにステッ
プB14に制御を移す。
In step B12, the state transition information conversion means A3 checks whether or not the last symbol in the message sequence diagram is a state, and if not, adds a new state node at the end and connects to the immediately preceding node. And add a name and a type to the node (step B1).
3) Transfer control to step B14. If the state is the state, the state transition information conversion means A3 shifts the control to step B14 without doing anything.

【0042】ステップB14では、状態遷移情報変換手
段A3は、同一のプロセスに他のイベント列があるかど
うかを調べ、あれば、ステップBlに制御を戻し、なけ
れば、処理を終了する。
At step B14, the state transition information conversion means A3 checks whether or not there is another event sequence in the same process, and if so, returns the control to step B1, otherwise ends the process.

【0043】次に、状態遷移情報縮小手段A5は、ba
ckward方向縮小処理C1およびforward方
向の縮小処理C2を行い、変換された状態遷移情報に重
複している遷移情報があるかどうかを判定し、あれば、
その遷移情報を削除して状態遷移情報を縮小する。状態
遷移情報を縮小した状態遷移図は、状態遷移図記憶部A
4に記憶される。
Next, the state transition information reducing means A5 sets ba
The ckward direction reduction processing C1 and the forward direction reduction processing C2 are performed, and it is determined whether or not there is overlapping transition information in the converted state transition information.
The transition information is deleted to reduce the state transition information. The state transition diagram in which the state transition information is reduced is represented by a state transition diagram storage unit A
4 is stored.

【0044】詳しくは、状態遷移情報縮小手段A5は、
まず、backward方向縮小処理C1において、状
態遷移図記憶部A4から指定プロセスの縮小前の状態遷
移図のノードの集合を取り出す(ステップDl)。
More specifically, the state transition information reducing means A5
First, in the backward direction reduction process C1, a set of nodes of the state transition diagram before the reduction of the designated process is extracted from the state transition diagram storage unit A4 (step D1).

【0045】次に、状態遷移情報縮小手段A5は、その
ノードの集合から最初のノード(nodel)を1つ取
り出し(ステップD2)、次のノードがあるかどうかを
調べる(ステップD3)。取り出すnodelがなくな
った場合は、状態遷移情報縮小手段A5は、処理を終了
し、そうでなければ、ノードの集合から最初のノード
(node2)を1つ取り出す(ステップD4)。
Next, the state transition information reducing means A5 extracts one first node (node) from the set of nodes (step D2) and checks whether there is a next node (step D3). If there are no more nodes to be taken out, the state transition information reducing means A5 ends the processing, otherwise, it takes out one first node (node2) from the set of nodes (step D4).

【0046】次に、状態遷移情報縮小手段A5は、次の
node2があるかどうかを判定し(ステップD5)、
取り出すnode2がなくなった場合は、状態遷移情報
縮小手段A5は、次のnodelを取り出して(ステッ
プD7)、ステップD3に制御を戻す。そうでなけれ
ば、状態遷移情報縮小手段A5は、backward方
向従属関係判定処理D6を呼び出し、ステップD8に制
御を移す。
Next, the state transition information reducing means A5 determines whether there is a next node 2 (step D5).
When there is no more node2 to be taken out, the state transition information reducing means A5 takes out the next node (Step D7) and returns the control to Step D3. Otherwise, the state transition information reducing means A5 calls the backward direction dependency determination processing D6, and shifts the control to step D8.

【0047】ステップD8でbackward方向従属
関係判定処理D6の判定の結果、nodelがnode
2に従属していた場合は、状態遷移情報縮小手段A5
は、backward方向ノードマージ処理D9を呼び
出して、ステップD10に制御を移し、そうでなけれ
ば、何も行わずステップD10に制御を移す。そして、
状態遷移情報縮小手段A5は、次のnode2を取り出
してステップD5に制御を戻す(ステップD10)。
In step D8, as a result of the determination in the backward direction dependency determination processing D6,
2, the state transition information reducing means A5
Invokes the backward direction node merge process D9, and shifts the control to step D10. Otherwise, shifts the control to step D10 without doing anything. And
The state transition information reducing means A5 takes out the next node2 and returns the control to step D5 (step D10).

【0048】次に、状態遷移情報縮小手段A5は、fo
rward方向縮小処理C2において、状態遷移図記憶
部A4から指定プロセスの縮小前の状態遷移図のノード
の集合を取り出す(ステップEl)。
Next, the state transition information reducing means A5 outputs the fo
In the backward direction reduction process C2, a set of nodes of the state transition diagram before the reduction of the designated process is extracted from the state transition diagram storage unit A4 (step El).

【0049】続いて、状態遷移情報縮小手段A5は、そ
のノードの集合から最初のノード(nodel)を1つ
取り出し(ステップE2)、次のノードがあるかどうか
を調べる(ステップE3)。取り出すnodelがなく
なった場合は、状態遷移情報縮小手段A5は、処理を終
了し、そうでなければ、ノードの集合から最初のノード
(node2)を1つ取り出す(ステップE4)。
Subsequently, the state transition information reducing means A5 extracts one first node (node) from the set of nodes (step E2), and checks whether there is a next node (step E3). If there are no more nodes to be taken out, the state transition information reducing means A5 ends the process, otherwise, takes out one first node (node2) from the set of nodes (step E4).

【0050】次に、状態遷移情報縮小手段A5は、次の
node2があるかどうかを判定し(ステップE5)、
取り出すnode2がなくなった場合は、状態遷移情報
縮小手段A5は、次のnodelを取り出して(ステッ
プE7)、ステップE3に制御を戻す。そうでなけれ
ば、状態遷移情報縮小手段A5は、forward方向
従属関係判定処理E6を呼び出し、ステップE8に制御
を移す。
Next, the state transition information reducing means A5 determines whether there is a next node 2 (step E5).
When there is no more node2 to be taken out, the state transition information reducing means A5 takes out the next node (step E7) and returns the control to step E3. Otherwise, the state transition information reducing unit A5 calls forward direction dependency determination processing E6, and shifts the control to step E8.

【0051】ステップE8でforward方向従属関
係判定処理E6の判定の結果、nodelがnode2
に従属していた場合は、状態遷移情報縮小手段A5は、
forward方向ノードマージ処理E9を呼び出し
て、ステップE10に制御を移し、そうでなければ、何
も行わずステップE10に制御を移す。そして、状態遷
移情報縮小手段A5は、次のnode2を取り出してス
テップE5に制御を戻す(ステップE10)。
In step E8, as a result of the determination in the forward direction dependency relationship determination processing E6, node is node2.
If the state transition information reduction means A5 is dependent on
The forward direction node merge processing E9 is called, and the control is moved to the step E10. Otherwise, nothing is performed and the control is moved to the step E10. Then, the state transition information reducing means A5 takes out the next node2 and returns the control to step E5 (step E10).

【0052】forward方向従属関係判定処理E6
では、状態遷移情報縮小手段A5は、まず、引数として
与えられた2つのノードを取り出して(ステップF
1)、その2つのノードが同一であれば(ステップF
2)、真を返して(ステップF4)、処理を終了する。
同一でなければ、状態遷移情報縮小手段A5は、2つの
ノードのタイプを取り出し(ステップF3)、2つのノ
ードのタイプが同一であるかどうかを調べ(ステップF
5)、同一でなければ、偽を返して(ステップF7)、
処理を終了する。タイプが同一であれば(ステップF5
でイエス)、状態遷移情報縮小手段A5は、ステップF
6に制御を移す。
Forward direction dependency determination processing E6
Then, the state transition information reducing means A5 first extracts two nodes given as arguments (step F5).
1) If the two nodes are the same (step F
2) Return true (step F4) and end the process.
If they are not the same, the state transition information reducing means A5 extracts the types of the two nodes (step F3) and checks whether the types of the two nodes are the same (step F3).
5) If not identical, return false (step F7),
The process ends. If the types are the same (step F5
Yes), the state transition information reducing means A5 performs step F
Transfer control to 6.

【0053】ステップF6では、状態遷移情報縮小手段
A5は、ノードのタイプが状態かどうかを判定し、ノー
ドのタイプが状態でない場合は、名前が同一であるかど
うかを調べ(ステップF8)、同一でなければ、偽を返
して(ステップF9)、処理を終了する。名前が同一で
あれば、状態遷移情報縮小手段A5は、ステップF10
に制御を移す。また、ステップF6でノードのタイプが
状態であれば、状態遷移情報縮小手段A5は、名前を調
べずに、ステップF10に制御を移す。
In step F6, the state transition information reducing means A5 determines whether the type of the node is the state. If the type of the node is not the state, it checks whether the names are the same (step F8). If not, it returns false (step F9) and ends the process. If the names are the same, the state transition information reducing means A5 proceeds to step F10
Transfer control to. If the type of the node is the state in step F6, the state transition information reducing means A5 shifts the control to step F10 without checking the name.

【0054】ステップF10では、状態遷移情報縮小手
段A5は、ノードから出て行くアークの数の値を取り出
し(ステップF10)、2つのノードのどちらからもア
ークが出ているかどうかを調べる(ステップF11)。
2つのノードのどちらからもアークが出ている場合は、
状態遷移情報縮小手段A5は、アーク判定処理F14を
呼び出す(ステップF14)。そうでない場合は、状態
遷移情報縮小手段A5は、ノードのタイプが状態である
かどうかを調べ(ステップF12)、ノードのタイプが
状態でなければ、真を返して(ステップF16)、処理
を終了する。ノードのタイプが状態であれば、状態遷移
情報縮小手段A5は、どちらのノードからもアークがで
ていないかどうかを調べて(ステップF13)、どちら
のノードからもアークが出ていなければ、真を返して
(ステップF16)、処理を終了し、そうでなければ、
偽を返して(ステップF15)、処理を終了する。
In step F10, the state transition information reducing means A5 extracts the value of the number of arcs going out of the node (step F10) and checks whether or not arcs are coming out of both of the two nodes (step F11). ).
If an arc is coming out of both nodes,
The state transition information reducing means A5 calls the arc determination processing F14 (step F14). If not, the state transition information reducing means A5 checks whether the node type is the state (step F12), and returns true if the node type is not the state (step F16), and terminates the processing. I do. If the type of the node is the state, the state transition information reducing means A5 checks whether or not an arc has been emitted from either node (step F13), and if no arc has been emitted from either node, true. Is returned (step F16), and the processing is terminated.
If false is returned (step F15), the process ends.

【0055】なお、backward方向従属関係判定
処理D6でも、forward方向従属関係判定処理E
6と同様の処理が行われる。
In the backward direction dependency determination processing D6, the forward direction dependency determination processing E is also performed.
The same processing as in step 6 is performed.

【0056】アーク判定処理F14では、状態遷移情報
縮小手段A5は、まず、2つのノードから出て行くアー
クの集合を取り出す(ステップG1)。次に、状態遷移
情報縮小手段A5は、真であるか偽であるかを記憶する
flagの初期値を偽に設定する(ステップG2)。
In the arc determination process F14, the state transition information reducing means A5 first extracts a set of arcs coming out of two nodes (step G1). Next, the state transition information reducing means A5 sets the initial value of the flag for storing whether the flag is true or false to false (step G2).

【0057】次に、状態遷移情報縮小手段A5は、2つ
のノードからでていくアーク集合から最初のアーク(a
rc1およびarc2)を1つずつ取り出す(ステップ
G3およびG4)。
Next, the state transition information reducing means A5 calculates the first arc (a) from the set of arcs coming out of the two nodes.
rc1 and arc2) are taken out one by one (steps G3 and G4).

【0058】さらに、状態遷移情報縮小手段A5は、2
つのアーク集合からarc1およびarc2に接続して
いるノード(node1およびnode2)を1つずつ
取り出す(ステップG5およびG6)。
Further, the state transition information reducing means A5 has two
The nodes (node1 and node2) connected to arc1 and arc2 are extracted one by one from one arc set (steps G5 and G6).

【0059】次に、状態遷移情報縮小手段A5は、取り
出した2つのアークが入って行くノードが同一であるか
どうかを調べ(ステップG7)、同一であれば、fla
gに真を代入して(ステップG9)、ステップG13に
制御を移す。
Next, the state transition information reducing means A5 checks whether or not the nodes into which the two extracted arcs enter are the same (step G7).
Substitute true for g (step G9) and transfer control to step G13.

【0060】ステップG7で2つのアークが入って行く
ノードが同一でなければ、状態遷移情報縮小手段A5
は、forward方向従属関係判定処理G8(for
ward方向従属関係判定処理E6と同様)を呼び出し
て再帰処理を行う。
In step G7, if the nodes to which the two arcs enter are not the same, the state transition information reducing means A5
Is a forward direction dependency determination process G8 (for
(similar to the ward direction dependency relationship determination process E6) to perform a recursive process.

【0061】forward方向従属関係判定処理G8
の結果(ステップG10)、従属している場合は、状態
遷移情報縮小手段A5は、flagに真を代入し(ステ
ップG11)、従属していない場合はflagに偽を代
入して(ステップG12)、ステップG13に制御を移
す。
Forward direction dependency determination processing G8
(Step G10), if they are dependent, the state transition information reducing means A5 substitutes true for flag (step G11), and if not, substitutes false for flag (step G12). Then, control is transferred to step G13.

【0062】ステップG13では、状態遷移情報縮小手
段A5は、次のarc2がないかどうかを調べ、取り出
すarc2がまだあれば、次のarc2を取り出して
(ステップG14)、ステップG5に制御を戻す。取り
出すarc2がなければ、状態遷移情報縮小手段A5
は、flagの値を調べ(ステップG15)、偽であれ
ば偽を返して(ステップG20)、処理を終了する。
At step G13, the state transition information reducing means A5 checks whether there is the next arc2, and if there is any arc2 to be taken out, takes out the next arc2 (step G14) and returns the control to step G5. If there is no arc2 to be taken out, the state transition information reducing means A5
Checks the value of flag (step G15). If false, returns false (step G20) and ends the process.

【0063】ステップG15でflagの値が偽でなけ
れば、状態遷移情報縮小手段A5は、次のarclがな
いかどうかを調べ(ステップG16)、取り出すarc
lがまだあれば、次のarclを取り出して(ステップ
G17)、ステップG4に制御を戻す。取り出すarc
lがなければ、状態遷移情報縮小手段A5は、flag
の値を調べ(ステップG18)、偽であれば偽を返し
(ステップG20)、そうでなければ、真を返して(ス
テップG19)、処理を終了する。
If the value of flag is not false in step G15, the state transition information reducing means A5 checks whether there is the next arcl (step G16), and takes out the arc.
If l is still present, the next arcl is taken out (step G17), and the control returns to step G4. Arc to take out
If there is no l, the state transition information reducing means A5 outputs the flag
Is checked (step G18). If false, false is returned (step G20); otherwise, true is returned (step G19), and the process ends.

【0064】backward方向のノードマージ処理
D9では、状態遷移情報縮小手段A5は、まず、マージ
されるノードとマージするノードとを取り出す(ステッ
プH1)。次に、状態遷移情報縮小手段A5は、2つの
ノードに接続しているアークの集合を取り出す(ステッ
プH2)。そして、状態遷移情報縮小手段A5は、ノー
ドに入って来るアークのマージ処理H3を呼び出し、次
にノードから出て行くアークのマージ処理H4を呼び出
し、最後にマージされるノードを除去して(ステップH
5)、処理を終了する。
In the node merge process D9 in the backward direction, the state transition information reducing means A5 first extracts a node to be merged and a node to be merged (step H1). Next, the state transition information reducing unit A5 extracts a set of arcs connected to the two nodes (step H2). Then, the state transition information reducing means A5 calls the merging process H3 of the arc coming into the node, calls the merging process H4 of the arc going out of the next node, and removes the node to be merged last (step H
5), end the processing.

【0065】なお、forward方向のノードマージ
処理E9でも、backward方向のノードマージ処
理D9と同様の処理が行われる。
In the forward direction node merge process E9, the same process as the backward direction node merge process D9 is performed.

【0066】ノードに入って来るアークのマージ処理H
3では、状態遷移情報縮小手段A5は、まず、マージさ
れるノードに入って来るアークがあるかどうかを調べ
(ステップI1)、なければ処理を終了し、あればマー
ジされるノードに入ってくるアーク集合から最初のアー
ク(arcl)を1つ取り出す(ステップI2)。次
に、状態遷移情報縮小手段A5は、マージするノードに
入って来るアーク集合から最初のアーク(arc2)を
1つ取り出す(ステップI3)。また、状態遷移情報縮
小手段A5は、アークを付け替えるのか除去するのかを
記憶するflagの初期値TRUEを設定する(ステッ
プI4)。
Merging of arcs entering a node H
In 3, the state transition information reducing means A5 first checks whether there is an arc entering the node to be merged (step I1), and if not, terminates the process, and if there is, enters the node to be merged. One first arc (arcl) is extracted from the arc set (step I2). Next, the state transition information reducing means A5 extracts one first arc (arc2) from the set of arcs entering the node to be merged (step I3). Further, the state transition information reducing means A5 sets an initial value TRUE of a flag for storing whether to replace or remove the arc (step I4).

【0067】次に、状態遷移情報縮小手段A5は、2つ
のアークの接続元であるアークが同一であるかどうかを
調べ(ステップI5)、同一であればflagにFAL
SEを代入し(ステップI6)、ステップI9に制御を
移す。同一でなければ、状態遷移情報縮小手段A5は、
取り出すarc2があるかどうかを調べ(ステップI
7)、あれば次のarc2を取り出して(ステップI
8)、ステップI5に制御を戻す。取り出すarc2が
なければ、状態遷移情報縮小手段A5は、ステップI9
に制御を移す。
Next, the state transition information reducing means A5 checks whether or not the arcs that are the connection sources of the two arcs are the same (step I5).
SE is substituted (step I6), and control is transferred to step I9. If they are not the same, the state transition information reducing means A5
Check if there is arc2 to be taken out (step I
7) If there is, fetch the next arc2 (step I)
8) Return control to step I5. If there is no arc2 to be taken out, the state transition information reducing means A5 proceeds to step I9
Transfer control to.

【0068】ステップI9では、状態遷移情報縮小手段
A5は、flagを調べて、TRUEであれば、arc
1の接続元のノードとマージするノードにアークを接続
して(ステップI10)、マージされるノードに接続し
ているarc1を除去し(ステップI11)、FALS
Eであれば、そのままarc1を除去する(ステップI
11)。次に、状態遷移情報縮小手段A5は、取り出す
arc1があるかどうかを調べ(ステップI12)、あ
れば次の次のarc1を取り出して(ステップI1
3)、ステップI3に制御を戻す。ステップI12で取
り出すarc1がなければ、状態遷移情報縮小手段A5
は、処理を終了する。
In step I9, the state transition information reducing means A5 checks the flag, and if TRUE, arc
An arc is connected to the node to be merged with the connection source node of No. 1 (step I10), arc1 connected to the merged node is removed (step I11), and FALS
If E, arc1 is removed as it is (step I
11). Next, the state transition information reducing means A5 checks whether there is an arc1 to be taken out (step I12), and if so, takes out the next next arc1 (step I1).
3) Return control to step I3. If there is no arc1 to be extracted in step I12, the state transition information reducing means A5
Ends the processing.

【0069】ノードから出て行くアークのマージ処理H
4では、状態遷移情報縮小手段A5は、まず、マージさ
れるノードに出て行くアークがあるかどうかを調べ(ス
テップJ1)、なければ処理を終了し、あればマージさ
れるノードから出て行くアーク集合から最初のアーク
(arcl)を1つ取り出す(ステップJ2)。次に、
状態遷移情報縮小手段A5は、マージするノードから出
て行くアーク集合から最初のアーク(arc2)を1つ
取り出す(ステップJ3)。また、状態遷移情報縮小手
段A5は、アークを付け替えるのか除去するのかを記憶
するflagの初期値TRUEを設定する(ステップJ
4)。
Merge process H for arcs exiting from nodes
In step 4, the state transition information reducing unit A5 first checks whether there is an outgoing arc at the node to be merged (step J1), and if not, ends the processing, and if so, exits from the merged node. One first arc (arcl) is extracted from the arc set (step J2). next,
The state transition information reducing unit A5 extracts one first arc (arc2) from the set of arcs coming out of the node to be merged (step J3). Further, the state transition information reducing means A5 sets an initial value TRUE of the flag for storing whether to replace or remove the arc (step J).
4).

【0070】次に、状態遷移情報縮小手段A5は、2つ
のアークの接続元であるアークが同一であるかどうかを
調べ(ステップJ5)、同一であればflagにFAL
SEを代入し(ステップJ6)、ステップJ9に制御を
移す。同一でなければ、状態遷移情報縮小手段A5は、
取り出すarc2があるかどうかを調べ(ステップJ
7)、あれば次のarc2を取り出して(ステップJ
8)、ステップI5に制御を戻す。取り出すarc2が
なければ、状態遷移情報縮小手段A5は、ステップJ9
に制御を移す。
Next, the state transition information reducing means A5 checks whether or not the arcs that are the connection sources of the two arcs are the same (step J5).
SE is substituted (step J6), and control is transferred to step J9. If they are not the same, the state transition information reducing means A5
Check if there is arc2 to be taken out (Step J
7) If there is, take out the next arc2 (step J)
8) Return control to step I5. If there is no arc2 to be taken out, the state transition information reducing means A5 proceeds to step J9
Transfer control to.

【0071】ステップJ9では、状態遷移情報縮小手段
A5は、flagを調べて、TRUEであれば、arc
1の接続元のノードとマージするノードにアークを接続
して(ステップJ10)、マージされるノードに接続し
ているarc1を除去し(ステップJ11)、FALS
Eであれば、そのままarc1を除去する(ステップJ
11)。次に、状態遷移情報縮小手段A5は、取り出す
arc1があるかどうかを調べ(ステップJ12)、あ
れば次の次のarc1を取り出して(ステップJ1
3)、ステップJ3に制御を戻す。ステップJ12で取
り出すarc1がなければ、状態遷移情報縮小手段A5
は、処理を終了する。
At step J9, the state transition information reducing means A5 checks the flag, and if TRUE, sets arc
An arc is connected to the node to be merged with the connection source node 1 (step J10), and arc1 connected to the node to be merged is removed (step J11), and FALS
If E, arc1 is removed as it is (step J
11). Next, the state transition information reducing unit A5 checks whether there is an arc1 to be extracted (step J12), and if so, extracts the next arc1 next (step J1).
3) Return control to step J3. If there is no arc1 to be extracted in step J12, the state transition information reducing means A5
Ends the processing.

【0072】以上のようにして、複数のメッセージシー
ケンス図から状態遷移情報を縮小した状態遷移図が生成
される。
As described above, a state transition diagram in which the state transition information is reduced from a plurality of message sequence diagrams is generated.

【0073】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings.

【0074】図22を参照すると、本発明の第2の実施
の形態は、キーボード,マウス等の入力装置1と、デー
タ処理装置2と、記憶装置3と、ディスプレイ,プリン
タ等の出力装置4と、状態遷移図変換プログラムを記録
した記録媒体5とから構成されている。記録媒体5は、
磁気ディスク,半導体メモリ,その他の記録媒体であっ
てもよい。
Referring to FIG. 22, according to a second embodiment of the present invention, an input device 1 such as a keyboard and a mouse, a data processing device 2, a storage device 3, and an output device 4 such as a display and a printer are provided. And a recording medium 5 on which a state transition diagram conversion program is recorded. The recording medium 5
It may be a magnetic disk, a semiconductor memory, or another recording medium.

【0075】状態遷移図変換プログラムは、記録媒体5
からデータ処理装置2に読み込まれ、プロセス指定手段
A2,状態遷移情報変換手段A3および状態遷移情報縮
小手段A5としてデータ処理装置2の動作を制御し、記
憶装置3にメッセージシーケンス図記憶部A1および状
態遷移図記憶部A4を作成する。データ処理装置2の状
態遷移図変換プログラムの制御による動作は、第1の実
施の形態の場合と全く同様になるので、その詳しい説明
を割愛する。
The state transition diagram conversion program is stored in the storage medium 5
To the data processing device 2, and controls the operation of the data processing device 2 as a process designating unit A2, a state transition information converting unit A3, and a state transition information reducing unit A5, and stores the message sequence diagram storage unit A1 and the state in the storage unit 3. A transition diagram storage unit A4 is created. The operation of the data processing device 2 under the control of the state transition diagram conversion program is exactly the same as that in the first embodiment, and therefore a detailed description thereof will be omitted.

【0076】[0076]

【実施例】次に、第1の実施の形態に係る状態遷移図変
換装置の一実施例について図面を参照して詳細に説明す
る。
Next, an embodiment of the state transition diagram conversion apparatus according to the first embodiment will be described in detail with reference to the drawings.

【0077】図12〜図14は、メッセージシーケンス
図をそれぞれ表している。
FIGS. 12 to 14 show message sequence diagrams, respectively.

【0078】図15は、図12〜図14のメッセージシ
ーケンス図を変換した状態遷移情報の縮小前の状態遷移
図を表している。
FIG. 15 shows a state transition diagram before reduction of the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14.

【0079】図16および図17は、backward
方向にマージした状態遷移図およびforward方向
に1つ遷移列をマージした状態遷移図を表している。
FIG. 16 and FIG.
A state transition diagram in which the transition sequence is merged in the direction and a state transition diagram in which one transition sequence is merged in the forward direction are shown.

【0080】図18は、状態遷移情報の縮小後の状態遷
移図を表している。
FIG. 18 is a state transition diagram after reduction of the state transition information.

【0081】図19は、図12〜図14のメッセージシ
ーケンス図のデータ構造を表している。
FIG. 19 shows the data structure of the message sequence diagrams of FIGS.

【0082】図20は、メッセージシーケンス図から変
換された状態遷移情報の縮小前の状態遷移図のデータ構
造を表している。
FIG. 20 shows the data structure of the state transition diagram before reduction of the state transition information converted from the message sequence diagram.

【0083】図21は、状態遷移情報の縮小後の状態遷
移図のデータ構造を表している。
FIG. 21 shows a data structure of a state transition diagram after reduction of the state transition information.

【0084】図12〜図21を参照すると、入力となる
メッセージシーケンス図(図12〜図14)において、
Pl,P2はプロセスを表しており、矢印は矢印の向き
にイベントが入ってくることを示している。例えば、図
12では、PlはイベントElを入力イベントとして受
け取っていることを意味している。逆に、P2はイベン
トElを出力イベントとして送っていることを意味して
いる。
Referring to FIG. 12 to FIG. 21, in the message sequence diagram to be input (FIG. 12 to FIG. 14),
Pl and P2 represent processes, and the arrows indicate that an event comes in the direction of the arrow. For example, in FIG. 12, Pl means that the event El has been received as an input event. Conversely, P2 means that the event El is being sent as an output event.

【0085】図12〜14をまとめた図19のメッセー
ジシーケンス図のデータ構造においては、シンボルのタ
イプのstateは状態を、inputは入力イベント
を、outputは出力イベントを表している。
In the data structure of the message sequence diagram in FIG. 19, which summarizes FIGS. 12 to 14, the symbol type state indicates a state, input indicates an input event, and output indicates an output event.

【0086】これらのメッセージシーケンス図をプロセ
ス指定手段A2でプロセスPlに指定して状態遷移図へ
の変換を行う場合、まず、メッセージシーケンス図のデ
ータ構造において、msc idが1番目(図12に相
当)のメッセージシーケンス図のプロセスPlのSta
telからE4までのイベント列のデータを状態遷移図
のノードのデータに変換していくと、状態遷移図のデー
タ構造は、図20のnodeの集合のid1〜9までの
ノードに変換されて、図15の状態遷移図の左側の遷移
列に変換される。
When converting these message sequence diagrams into state transition diagrams by designating them as processes Pl by the process designating means A2, first, in the data structure of the message sequence diagram, the msc id is the first (corresponding to FIG. 12). ) Of the process Pl in the message sequence diagram
When the data of the event sequence from tel to E4 is converted into the data of the node of the state transition diagram, the data structure of the state transition diagram is converted into the nodes of id1 to id9 of the set of nodes in FIG. It is converted into a transition sequence on the left side of the state transition diagram of FIG.

【0087】図15の状態遷移図では、名前の先頭にE
がつくノードが入力イベントノードを表し、Sがつくノ
ードが状態ノードを表している。また、状態遷移は意味
的に入力イベントの直前がなんらかの状態になるので、
メッセージシーケンス図で入力イベントシンボルの直前
に状態シンボルがない場合は状態遷移情報に変換したと
きに入力イベントノードの直前に状態ノードを挿入して
いる。
In the state transition diagram of FIG.
Nodes marked with represent an input event node, and nodes marked with S represent state nodes. Also, the state transition is semantically a state immediately before the input event,
If there is no state symbol immediately before the input event symbol in the message sequence diagram, the state node is inserted immediately before the input event node when converted to state transition information.

【0088】さらに、2番目以降のmsc idについ
ても同様に同一のプロセス(Pl)のイベント列を変換
して行くと、状態遷移図のデータ構造は図20のnod
eの集合のid10〜27に変換されて、図15の状態
遷移図の中央および右側の遷移列に変換される。
When the event sequence of the same process (Pl) is similarly converted for the second and subsequent msc ids, the data structure of the state transition diagram becomes nod in FIG.
It is converted into ids 10 to 27 of the set of e, and is converted into the transition sequence on the center and right side of the state transition diagram in FIG.

【0089】次に、図15の状態遷移図上でbackw
ard方向(つまり下から上方向)へ状態遷移情報の縮
小処理を行う場合、名前がStatelである状態ノー
ドのいずれもbackward方向にアークが出ていな
いため、それぞれのノードがそれぞれのノードに含まれ
て従属関係になっていると判定され、最初に任意の2つ
のStatelの状態ノードを1つにマージし、そのマ
ージした状態ノードと残ったStatelの状態ノード
とを1つにマージして、図16の状態遷移図のように1
つにまとめられる。
Next, in the state transition diagram of FIG.
When performing state transition information reduction processing in the ard direction (that is, from the bottom to the top), none of the state nodes having the name “Statel” have arcs in the backward direction, and therefore each node is included in each node. Thus, it is determined that the nodes are in a dependent relationship. First, any two State nodes of the State are merged into one, and the merged state node and the remaining State nodes of the State are merged into one. As shown in the 16 state transition diagram, 1
They are put together.

【0090】次に、forward方向の状態遷移情報
の縮小処理を行っていく場合、図16の状態遷移図上の
状態ノードState2とS5とに注目すると、S5か
らの遷移列(S5,E3,State3,E4,S6)
は全てState2からの遷移列(State2,E
3,S2,E4,S3)に含まれるので、S5はSta
te2に従属していると判定される(この場合は逆も成
り立つ)。したがって、S5はState2にマージさ
れて、S5は削除される。
Next, in the process of reducing the state transition information in the forward direction, focusing on the state nodes State2 and S5 on the state transition diagram of FIG. 16, the transition sequence from S5 (S5, E3, State3) , E4, S6)
Are all transition sequences from State2 (State2, E
3, S2, E4, S3), S5 is Sta
It is determined that they are dependent on te2 (in this case, the reverse is also true). Therefore, S5 is merged into State2 and S5 is deleted.

【0091】また、E3以下の遷移列に対しても同様な
処理を行って行き、1つの遷移列を全てマージすると、
図17の状態遷移図を得る。
Further, the same processing is performed for the transition sequence below E3, and all the one transition sequence is merged.
The state transition diagram of FIG. 17 is obtained.

【0092】さらに、状態ノードS2とS9とに注目す
ると、S9からの遷移列(S9,E4,State4)
はS2からの遷移列(S2,E4,S3)に全て含まれ
るので、S9はS2に従属していると判定され、S9は
S2にマージされる。E4やState4といったノー
ドに対しても同様な判定処理とマージ処理とを行い、最
終的に従属関係になりえるノードが存在しなくなったと
きに状態遷移情報の縮小処理を終了し、図18の状態遷
移図を得る。
Looking further at the state nodes S2 and S9, a transition sequence from S9 (S9, E4, State4)
Are all included in the transition sequence from S2 (S2, E4, S3), so that it is determined that S9 is dependent on S2, and S9 is merged with S2. The same determination processing and merging processing are performed on nodes such as E4 and State4, and when there is no longer a node that can be subordinated, the reduction processing of the state transition information ends, and the state shown in FIG. Get the transition diagram.

【0093】[0093]

【発明の効果】第1の効果は、メッセージシーケンス図
から重複している遷移情報を排除した状態遷移図を効率
良く作成することができることにある。これにより、高
品質な状態遷移プログラムを効率良く設計することが可
能になる。その理由は、メッセージシーケンス図を重複
している遷移情報を含む状態遷移図へ変換する状態遷移
図変換手段、およびそれによって変換された状態遷移図
から重複している遷移情報を排除した状態遷移図へ変換
する状態遷移情報縮小手段により、人手を介さずに自動
的に重複している遷移情報を排除した状態遷移図へ変換
できるためである。
The first effect is that a state transition diagram in which duplicate transition information is excluded from a message sequence diagram can be efficiently created. This makes it possible to efficiently design a high-quality state transition program. The reason is that the state transition diagram conversion means for converting the message sequence diagram into the state transition diagram including the overlapping transition information, and the state transition diagram excluding the duplicated transition information from the state transition diagram converted thereby. This is because the state transition information reducing means for converting to state transition can automatically convert the state information into a state transition diagram in which duplicated transition information is eliminated without manual intervention.

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

【図1】本発明の第1の実施の形態に係る状態遷移図変
換装置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a state transition diagram conversion device according to a first embodiment of the present invention.

【図2】(a)は図1中のメッセージシーケンス図記憶
部に格納されるメッセージシーケンス図のデータ構造を
示す図であり、(b)は図1中の状態遷移図記憶部に格
納される状態遷移図のデータ構造を示す図である。
2A is a diagram showing a data structure of a message sequence diagram stored in a message sequence diagram storage unit in FIG. 1, and FIG. 2B is stored in a state transition diagram storage unit in FIG. It is a figure showing the data structure of a state transition diagram.

【図3】図1中の状態遷移情報変換手段の処理手順の概
要を示すフローチャートである。
FIG. 3 is a flowchart illustrating an outline of a processing procedure of a state transition information conversion unit in FIG. 1;

【図4】図1中の状態遷移情報縮小手段の処理手順の概
要を示すフローチャートである。
FIG. 4 is a flowchart showing an outline of a processing procedure of a state transition information reducing unit in FIG. 1;

【図5】図4中のbackward方向縮小処理の詳細
な処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a detailed processing procedure of a backward direction reduction process in FIG. 4;

【図6】図4中のforward方向縮小処理の詳細な
処理手順を示すフローチャートである。
FIG. 6 is a flowchart showing a detailed processing procedure of a forward direction reduction process in FIG. 4;

【図7】図6中のforward方向従属関係判定処理
の詳細な処理手順を示すフローチャートである。
FIG. 7 is a flowchart illustrating a detailed processing procedure of a forward direction dependency relationship determination process in FIG. 6;

【図8】図7中のアーク判定処理の詳細な処理手順を示
すフローチャートである。
FIG. 8 is a flowchart showing a detailed processing procedure of an arc determination process in FIG. 7;

【図9】図5中のノードマージ処理の詳細な処理手順を
示すフローチャートである。
FIG. 9 is a flowchart illustrating a detailed processing procedure of a node merge process in FIG. 5;

【図10】図9中のノードに入って来るアークのマージ
処理の詳細な処理手順を示すフローチャートである。
FIG. 10 is a flowchart showing a detailed processing procedure of a merging process of an arc entering a node in FIG. 9;

【図11】図9中のノードから出て行くアークのマージ
処理の詳細な処理手順を示すフローチャートである。
FIG. 11 is a flowchart showing a detailed processing procedure of a merging process of an arc coming out of a node in FIG. 9;

【図12】第1の実施の形態に係る状態遷移図変換装置
の一実施例で使用するメッセージシーケンス図である。
FIG. 12 is a message sequence diagram used in an example of the state transition diagram conversion device according to the first embodiment.

【図13】第1の実施の形態に係る状態遷移図変換装置
の一実施例で使用するメッセージシーケンス図である。
FIG. 13 is a message sequence diagram used in one example of the state transition diagram conversion device according to the first embodiment.

【図14】第1の実施の形態に係る状態遷移図変換装置
の一実施例で使用するメッセージシーケンス図である。
FIG. 14 is a message sequence diagram used in an example of the state transition diagram conversion device according to the first embodiment.

【図15】図12〜図14のメッセージシーケンス図を
変換した状態遷移情報の縮小前の状態遷移図を表す図で
ある。
FIG. 15 is a diagram showing a state transition diagram before reduction of the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14;

【図16】図12〜図14のメッセージシーケンス図を
変換した状態遷移情報の縮小過程の状態遷移図を表す図
である。
FIG. 16 is a diagram showing a state transition diagram in a process of reducing the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14;

【図17】図12〜図14のメッセージシーケンス図を
変換した状態遷移情報の縮小過程の状態遷移図を表す図
である。
FIG. 17 is a diagram showing a state transition diagram in a process of reducing the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14;

【図18】図12〜図14のメッセージシーケンス図を
変換した状態遷移情報の縮小後の状態遷移図を表す図で
ある。
FIG. 18 is a diagram illustrating a state transition diagram after the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14 is reduced.

【図19】図12〜図14のメッセージシーケンス図の
データ構造を表す図である。
FIG. 19 is a diagram illustrating a data structure of the message sequence diagrams of FIGS. 12 to 14;

【図20】図12〜図14のメッセージシーケンス図を
変換した状態遷移情報の縮小前の状態遷移図のデータ構
造を表す図である。
FIG. 20 is a diagram illustrating a data structure of a state transition diagram before reduction of the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14;

【図21】図12〜図14のメッセージシーケンス図を
変換した状態遷移情報の縮小後の状態遷移図のデータ構
造を表している。
FIG. 21 shows a data structure of a state transition diagram after the state transition information obtained by converting the message sequence diagrams of FIGS. 12 to 14 is reduced.

【図22】本発明の第2の実施の形態に係る状態遷移図
変換装置の構成を示すブロック図である。
FIG. 22 is a block diagram illustrating a configuration of a state transition diagram conversion device according to a second embodiment of the present invention.

【符号の簡単な説明】[Brief description of reference numerals]

1 入力装置 2 データ処理装置 3 記憶装置 4 出力装置 5 記録媒体 A1 メッセージシーケンス図記憶部 A2 プロセス指定手段 A3 状態遷移情報変換手段 A4 状態遷移図記憶部 A5 状態遷移情報縮小手段 DESCRIPTION OF REFERENCE NUMERALS 1 input device 2 data processing device 3 storage device 4 output device 5 recording medium A1 message sequence diagram storage unit A2 process designating unit A3 state transition information conversion unit A4 state transition diagram storage unit A5 state transition information reduction unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 メッセージシーケンス図から状態遷移図
を生成する状態遷移図変換装置において、 複数のメッセージシーケンス図を状態遷移情報に変換す
る状態遷移情報変換手段と、 この状態遷移情報変換手段により変換された状態遷移情
報中の重複している遷移情報を削除して状態遷移情報を
縮小する状態遷移情報縮小手段とを含むことを特徴とす
る状態遷移図変換装置。
1. A state transition diagram conversion apparatus for generating a state transition diagram from a message sequence diagram, comprising: a state transition information conversion unit for converting a plurality of message sequence diagrams into state transition information; A state transition information reducing unit that reduces the state transition information by deleting the duplicated transition information in the state transition information.
【請求項2】 メッセージシーケンス図を記憶するメッ
セージシーケンス図記憶部と、 このメッセージシーケンス図記憶部からメッセージシー
ケンス図を入力しメッセージシーケンス図上のイベント
列を抽出して状態遷移情報に変換する状態遷移情報変換
手段と、 この状態遷移情報変換手段により変換された状態遷移情
報を格納する状態遷移図記憶部と、 この状態遷移図記憶部に格納されている状態遷移情報中
の重複している遷移情報を削除して状態遷移情報を縮小
する状態遷移情報縮小手段とを有することを特徴する状
態遷移図変換装置。
2. A message sequence diagram storage unit for storing a message sequence diagram, and a state transition for inputting a message sequence diagram from the message sequence diagram storage unit, extracting an event sequence on the message sequence diagram, and converting it into state transition information. Information conversion means, a state transition diagram storage unit for storing the state transition information converted by the state transition information conversion unit, and overlapping transition information in the state transition information stored in the state transition diagram storage unit And a state transition information reducing unit for reducing state transition information by deleting the state transition information.
【請求項3】 変換の対象となる全てのメッセージシー
ケンス図を記憶するメッセージシーケンス図記憶部と、 メッセージシーケンス図上の変換の対象となるプロセス
を指定するプロセス指定手段と、 前記メッセージシーケンス図記憶部に格納されたメッセ
ージシーケンス図から前記プロセス指定手段で指定され
たプロセスの全てのメッセージシーケンス図上のイベン
ト列を抽出して状態遷移情報に変換する状態遷移情報変
換手段と、 この状態遷移情報変換手段により変換された状態遷移情
報を格納する状態遷移図記憶部と、 この状態遷移図記憶部に格納されている状態遷移情報中
の重複している遷移情報を削除して状態遷移情報を縮小
する状態遷移情報縮小手段とを有することを特徴する状
態遷移図変換装置。
3. A message sequence diagram storage unit for storing all message sequence diagrams to be converted, a process designating unit for designating a process to be converted on the message sequence diagram, and the message sequence diagram storage unit State transition information converting means for extracting an event sequence on all the message sequence diagrams of the process designated by the process designating means from the message sequence diagram stored in the system and converting the sequence into state transition information; A state transition diagram storage unit that stores the state transition information converted by the above, and a state in which the duplicated transition information in the state transition information stored in the state transition diagram storage unit is deleted to reduce the state transition information A state transition diagram conversion device comprising: a transition information reduction unit.
【請求項4】 前記状態遷移情報縮小手段が、重複して
いる遷移情報があるかどうかを判定する従属関係判定処
理と、重複している遷移情報のマージを行うノードマー
ジ処理とを含む請求項1,2または3記載の状態遷移図
変換装置。
4. The state transition information reducing unit includes a dependency determination process for determining whether there is duplicated transition information, and a node merge process for merging the duplicated transition information. The state transition diagram conversion device according to 1, 2, or 3.
【請求項5】 コンピュータを、複数のメッセージシー
ケンス図を状態遷移情報に変換する状態遷移情報変換手
段,およびこの状態遷移情報変換手段により変換された
状態遷移情報中の重複している遷移情報を削除して状態
遷移情報を縮小する状態遷移情報縮小手段として機能さ
せるためのプログラムを記録したことを特徴とする記録
媒体。
5. A computer which converts a plurality of message sequence diagrams into state transition information, and deletes duplicated transition information in the state transition information converted by the state transition information conversion means. A recording medium having recorded thereon a program for functioning as state transition information reducing means for reducing state transition information.
【請求項6】 コンピュータを、メッセージシーケンス
図を記憶するメッセージシーケンス図記憶部,このメッ
セージシーケンス図記憶部からメッセージシーケンス図
を入力しメッセージシーケンス図上のイベント列を抽出
して状態遷移情報に変換する状態遷移情報変換手段,こ
の状態遷移情報変換手段により変換された状態遷移情報
を格納する状態遷移図記憶部,およびこの状態遷移図記
憶部に格納されている状態遷移情報中の重複している遷
移情報を削除して状態遷移情報を縮小する状態遷移情報
縮小手段として機能させるためのプログラムを記録した
ことを特徴とする記録媒体。
6. A computer stores a message sequence diagram storage unit for storing a message sequence diagram, inputs a message sequence diagram from the message sequence diagram storage unit, extracts an event sequence on the message sequence diagram, and converts it into state transition information. State transition information conversion means, a state transition diagram storage unit for storing the state transition information converted by the state transition information conversion unit, and overlapping transitions in the state transition information stored in the state transition diagram storage unit A recording medium having recorded thereon a program for functioning as state transition information reduction means for deleting information and reducing state transition information.
【請求項7】 コンピュータを、変換の対象となる全て
のメッセージシーケンス図を記憶するメッセージシーケ
ンス図記憶部,メッセージシーケンス図上の変換の対象
となるプロセスを指定するプロセス指定手段,前記メッ
セージシーケンス図記憶部に格納されたメッセージシー
ケンス図から前記プロセス指定手段で指定されたプロセ
スの全てのメッセージシーケンス図上のイベント列を抽
出して状態遷移情報に変換する状態遷移情報変換手段,
この状態遷移情報変換手段により変換された状態遷移情
報を格納する状態遷移図記憶部,およびこの状態遷移図
記憶部に格納されている状態遷移情報中の重複している
遷移情報を削除して状態遷移情報を縮小する状態遷移情
報縮小手段として機能させるためのプログラムを記録し
たことを特徴とする記録媒体。
7. A message sequence diagram storage unit for storing all message sequence diagrams to be converted, a process specifying means for specifying a process to be converted on the message sequence diagram, and storing the message sequence diagram. State transition information conversion means for extracting an event sequence on all message sequence diagrams of the process designated by the process designation means from the message sequence diagram stored in the section and converting the sequence into state transition information;
A state transition diagram storage unit that stores the state transition information converted by the state transition information conversion unit, and a state in which the duplicated transition information in the state transition information stored in the state transition diagram storage unit is deleted. A recording medium on which a program for functioning as state transition information reducing means for reducing transition information is recorded.
JP09311517A 1997-10-27 1997-10-27 State transition diagram converter Expired - Fee Related JP3092563B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09311517A JP3092563B2 (en) 1997-10-27 1997-10-27 State transition diagram converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09311517A JP3092563B2 (en) 1997-10-27 1997-10-27 State transition diagram converter

Publications (2)

Publication Number Publication Date
JPH11134180A true JPH11134180A (en) 1999-05-21
JP3092563B2 JP3092563B2 (en) 2000-09-25

Family

ID=18018198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09311517A Expired - Fee Related JP3092563B2 (en) 1997-10-27 1997-10-27 State transition diagram converter

Country Status (1)

Country Link
JP (1) JP3092563B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041805A (en) * 2005-08-02 2007-02-15 Hitachi Ltd Program generation device, program generation method and compiler
US7707567B2 (en) 2005-09-14 2010-04-27 Sony Corporation Information processing method, information-processing apparatus, recording medium, and program
JP2012194708A (en) * 2011-03-15 2012-10-11 Fujitsu Ltd Oriented graph creation device, oriented graph creation method, and oriented graph creation program
WO2017145309A1 (en) * 2016-02-24 2017-08-31 株式会社日立製作所 Computer and state transition information generation method
WO2019142469A1 (en) * 2018-01-17 2019-07-25 三菱電機株式会社 Security design apparatus, security design method, and security design program
JP2020530606A (en) * 2017-10-04 2020-10-22 グーグル エルエルシー User-configured and customized interactive dialog application

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041805A (en) * 2005-08-02 2007-02-15 Hitachi Ltd Program generation device, program generation method and compiler
US7707567B2 (en) 2005-09-14 2010-04-27 Sony Corporation Information processing method, information-processing apparatus, recording medium, and program
JP2012194708A (en) * 2011-03-15 2012-10-11 Fujitsu Ltd Oriented graph creation device, oriented graph creation method, and oriented graph creation program
WO2017145309A1 (en) * 2016-02-24 2017-08-31 株式会社日立製作所 Computer and state transition information generation method
JP2020530606A (en) * 2017-10-04 2020-10-22 グーグル エルエルシー User-configured and customized interactive dialog application
US11341968B2 (en) 2017-10-04 2022-05-24 Google Llc User-configured and customized interactive dialog application
US11676602B2 (en) 2017-10-04 2023-06-13 Google Llc User-configured and customized interactive dialog application
WO2019142469A1 (en) * 2018-01-17 2019-07-25 三菱電機株式会社 Security design apparatus, security design method, and security design program
JPWO2019142469A1 (en) * 2018-01-17 2020-01-23 三菱電機株式会社 Security design apparatus, security design method, and security design program

Also Published As

Publication number Publication date
JP3092563B2 (en) 2000-09-25

Similar Documents

Publication Publication Date Title
JP3148692B2 (en) Similarity search device
JP3092563B2 (en) State transition diagram converter
CN1578301B (en) Method and apparatus for editing a data stream
JP2863370B2 (en) File compression encryption processor
JP3043439B2 (en) Network storage method in data processing device
JP3267550B2 (en) Degrade check device
JP2008108266A (en) Method and apparatus for compiling two-level morphology rules
JP3954232B2 (en) Audio signal control device
JP3235287B2 (en) Image editing device
JPH056272A (en) Software designing device
JP2960123B2 (en) Data distribution method
KR100298168B1 (en) Method for processing and editing of phone number update data
JPH0950513A (en) Method for inputting drawing
US20040178932A1 (en) Data compression method and processor
JPS607557A (en) Dividing and compressing method of character type data
JPH1124908A (en) Automatic software generating device
JPH07271568A (en) Program generator
JPH10163879A (en) Dsv control method and its device
JP2006003978A (en) Conversion error record recovery program
JP2850936B2 (en) Database update method
JPH0588847A (en) Code conversion processing method
JPH04160569A (en) Optimizing system for logic circuit
JP2003258800A (en) Setting processing method and apparatus for network equipment
JPH04147360A (en) Execution command reproducing system
JP2001290689A (en) Data-verifying method for replication among plural data bases

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070728

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080728

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees