Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5846084B2 - Message sequence generation method and message sequence generation apparatus - Google Patents
[go: Go Back, main page]

JP5846084B2 - Message sequence generation method and message sequence generation apparatus - Google Patents

Message sequence generation method and message sequence generation apparatus Download PDF

Info

Publication number
JP5846084B2
JP5846084B2 JP2012204553A JP2012204553A JP5846084B2 JP 5846084 B2 JP5846084 B2 JP 5846084B2 JP 2012204553 A JP2012204553 A JP 2012204553A JP 2012204553 A JP2012204553 A JP 2012204553A JP 5846084 B2 JP5846084 B2 JP 5846084B2
Authority
JP
Japan
Prior art keywords
event
information
message sequence
instance
action
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.)
Active
Application number
JP2012204553A
Other languages
Japanese (ja)
Other versions
JP2014060595A (en
Inventor
知之 長田
知之 長田
操代 藤岡
操代 藤岡
聡 原内
聡 原内
勉 山地
勉 山地
泰秀 上野
泰秀 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2012204553A priority Critical patent/JP5846084B2/en
Publication of JP2014060595A publication Critical patent/JP2014060595A/en
Application granted granted Critical
Publication of JP5846084B2 publication Critical patent/JP5846084B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Communication Control (AREA)

Description

本発明は、通信プロトコルの仕様を記述するメッセージシーケンス図を生成する、メッセージシーケンス生成方法及びメッセージシーケンス生成装置に関する。   The present invention relates to a message sequence generation method and a message sequence generation apparatus for generating a message sequence diagram describing a specification of a communication protocol.

監視制御システム等では、通信プロトコルの仕様をメッセージシーケンス図で記述することが多い。正常時の処理に加えて、エラー発生時の処理もメッセージシーケンス図で記述することで、実行可能なプログラムを生成する手法が提案されている。   In a monitoring control system or the like, communication protocol specifications are often described in message sequence diagrams. In addition to normal processing, a method for generating an executable program by describing processing when an error occurs in a message sequence diagram has been proposed.

一般に通信プロトコルでは、正常時の処理よりもエラー発生時の処理の方が多い。このため、エラー発生時のメッセージシーケンス図を、効率的に作成する手法が求められている。   In general, in the communication protocol, there are more processes when an error occurs than when it is normal. Therefore, a method for efficiently creating a message sequence diagram when an error occurs is required.

特許文献1では、正常時のシーケンスを表す正常シーケンスと、エラーが起こりうる条件やその処理を記述したルールとから、エラー発生時の処理が付加されたメッセージシーケンスを生成することを特徴とする、メッセージシーケンス生成装置が提案されている。   Patent Document 1 is characterized in that a message sequence to which processing at the time of error occurrence is added is generated from a normal sequence representing a sequence at the time of normality and a rule that describes a condition in which an error can occur and its processing. A message sequence generator has been proposed.

また、特許文献2では、入力として与えられた正常仕様に対して、非正常仕様を付加・合成することで、全体の仕様を生成するソフトウェア開発支援装置が提案されている。   Patent Document 2 proposes a software development support apparatus that generates an overall specification by adding and synthesizing an abnormal specification to a normal specification given as an input.

特開平6−152701号公報JP-A-6-152701 特開2006−85668号公報JP 2006-85668 A

しかしながら、特許文献1に示す方法では、メッセージの種類や状態数が多い場合、記述すべきルールの数が多くなってしまい、非正常仕様を記述したメッセージシーケンス図を効率的に生成することができないという問題があった。   However, in the method disclosed in Patent Document 1, when there are many types of messages and the number of states, the number of rules to be described increases, and a message sequence diagram describing an abnormal specification cannot be generated efficiently. There was a problem.

また、特許文献2に示す方法では、正常仕様を表すメッセージシーケンス図に対して非正常仕様を付加・合成する手段が開示されていない。このため、非正常仕様を付加したメッセージシーケンス図を生成することができないという問題があった。   Further, the method disclosed in Patent Document 2 does not disclose means for adding / combining an abnormal specification to a message sequence diagram representing a normal specification. For this reason, there is a problem that a message sequence diagram to which an abnormal specification is added cannot be generated.

本発明は、上記のような問題を解決するためになされたものであり、エラー処理を付加したメッセージシーケンスを効率的に生成可能な、メッセージシーケンス生成方法及びメッセージシーケンス生成装置を提供することを目的とする。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a message sequence generation method and a message sequence generation apparatus capable of efficiently generating a message sequence with error processing added. And

本発明にかかるメッセージシーケンス生成方法は、(a)メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報をデータ処理のために準備する工程と、(b)インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルをデータ処理のために準備する工程と、(c)インスタンスのモード情報を含む機器・構成制御情報と、機器・構成制御情報の現在値とをデータベースに記憶する工程と、(d)事象因果関係モデルにおける特定の事象に対し、当該事象が生じた場合に行うアクションを設定する工程と、(e)メッセージシーケンス情報の各要素と、各事象とを対応付け、要素・事象対応情報を生成する工程と、(f)要素・事象対応情報を記憶装置に記憶する工程と、(g)要素・事象対応情報から、各要素に対応する各事象及び当該事象に起因して生じる事象にそれぞれ設定されたアクションを取得し、エラー処理として各要素に付加する工程と、(h)メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるメッセージシーケンス情報を生成する工程とを備え、コンピュータによるデータ処理によって各工程を実行することを特徴とする。   A message sequence generation method according to the present invention involves (a) a step of preparing message sequence information indicating normal processing of a communication protocol using a message sequence diagram for data processing, and (b) mode switching of an instance. A step of preparing an event-causal relationship model in which events and events requiring error processing are described together with a causal relationship for data processing, (c) device / configuration control information including mode information of the instance, and device / configuration Storing a current value of control information in a database; (d) setting an action to be performed when the event occurs for a specific event in the event causality model; and (e) message sequence information A step of associating each element with each event and generating element / event correspondence information; and (f) element A step of storing the event correspondence information in the storage device; and (g) acquiring each action corresponding to each element and the action set for the event caused by the event from the element / event correspondence information, and processing the error. And (h) generating message sequence information in the current mode state of the system targeted by the message sequence information, each step being executed by computer data processing. And

また、本発明にかかるメッセージシーケンス生成装置は、メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報と、インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルと、インスタンスのモード情報を含む機器・構成制御情報と、機器・構成制御情報の現在値とを記憶するデータベースと、事象因果関係モデルにおける特定の事象に対し、当該事象が生じた場合に行うアクションを設定する設定手段と、メッセージシーケンス情報の各要素と、各事象とを対応付け、要素・事象対応情報を生成する対応情報生成手段と、要素・事象対応情報を記憶する記憶手段と、要素・事象対応情報から、各要素に対応する各事象及び当該事象に起因して生じる事象にそれぞれ設定されたアクションを取得し、エラー処理として各要素に付加する付加手段と、メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるメッセージシーケンス情報を生成する情報生成手段とを備えることを特徴とする。   In addition, the message sequence generation device according to the present invention has a causal relationship with respect to message sequence information indicating normal processing of a communication protocol using a message sequence diagram, an event accompanied by mode switching of an instance, and an event that requires error processing. For a specific event in the event-causal relationship model, a database that stores the event-causal relationship model described together with the device / configuration control information including the mode information of the instance, and the current value of the device / configuration control information. A setting means for setting an action to be performed when an error occurs, each element of message sequence information and each event are associated with each other, correspondence information generating means for generating element / event correspondence information, and element / event correspondence information are stored Each event and event corresponding to each element from the storage means and the element / event correspondence information. The action set for each event caused by the event is acquired, and the message sequence information in the current mode state of the system targeted by the message sequence information is generated by adding to each element as error processing. And an information generating means.

本発明にかかるメッセージシーケンス生成方法およびメッセージシーケンス生成装置によれば、事象因果関係モデルにより事象間の因果関係を考慮しつつ系切替が伴う場合を含むエラー処理において、メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるエラー処理を付加することができるので、効率的にエラー処理付加メッセージシーケンス図を生成することができる。   According to the message sequence generation method and the message sequence generation device according to the present invention, a system targeted by message sequence information in error processing including a case where system switching is involved while considering a causal relationship between events by an event causal relationship model. Since error processing in the current mode state can be added, an error processing addition message sequence diagram can be efficiently generated.

本発明の実施の形態1によるメッセージシーケンス生成装置41の構成を示すブロック図である。It is a block diagram which shows the structure of the message sequence production | generation apparatus 41 by Embodiment 1 of this invention. 本発明の実施の形態1によるハードウェアの構成図である。It is a hardware block diagram by Embodiment 1 of this invention. 本発明の実施の形態1によるメッセージシーケンス情報31の例を示す図である。It is a figure which shows the example of the message sequence information 31 by Embodiment 1 of this invention. 本発明の実施の形態1による事象因果関係モデル33の例を示す図である。It is a figure which shows the example of the event causal relationship model 33 by Embodiment 1 of this invention. 本発明の実施の形態1による機器・構成制御情報DB200の例を示す図である。It is a figure which shows the example of apparatus and structure control information DB200 by Embodiment 1 of this invention. 本発明の実施の形態1による機器・構成制御情報現在値情報201の例を示す図である。It is a figure which shows the example of the apparatus and structure control information present value information 201 by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the element and event corresponding | compatible information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the element and event corresponding | compatible information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the element and event corresponding | compatible information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the element and event corresponding | compatible information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the element and event corresponding | compatible information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理の情報の例を示す図である。It is a figure which shows the example of the information of the error processing by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加手段37の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the error process addition means 37 by Embodiment 1 of this invention. 本発明の実施の形態1の入力例を示す図である。It is a figure which shows the example of input of Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35のアクション設定処理の例を示す図である。It is a figure which shows the example of the action setting process of the element and event corresponding | compatible information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応情報生成手段35の要素・事象対応付けの例を示す図である。It is a figure which shows the example of the element and event correlation of the element and event corresponding information generation means 35 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加メッセージシーケンス情報40の例である。It is an example of the error process addition message sequence information 40 by Embodiment 1 of this invention. 本発明の実施の形態1によるエラー処理付加メッセージシーケンス情報40の例である。It is an example of the error process addition message sequence information 40 by Embodiment 1 of this invention. 本発明の実施の形態1による要素定義情報の例を示す図である。It is a figure which shows the example of the element definition information by Embodiment 1 of this invention. 本発明の実施の形態1による事象定義情報の例を示す図である。It is a figure which shows the example of the event definition information by Embodiment 1 of this invention. 本発明の実施の形態1による要素・事象対応定義情報の例を示す図である。It is a figure which shows the example of the element and event corresponding | compatible definition information by Embodiment 1 of this invention. 本発明の実施の形態1によるアクション・事象対応定義情報の例を示す図である。It is a figure which shows the example of the action / phenomenon correspondence definition information by Embodiment 1 of this invention. 本発明の実施の形態2によるメッセージシーケンス生成装置44の構成を示すブロック図である。It is a block diagram which shows the structure of the message sequence production | generation apparatus 44 by Embodiment 2 of this invention. 本発明の実施の形態2によるインスタンス抽象化事象因果関係モデルの例である。It is an example of the instance abstraction event causal relationship model by Embodiment 2 of this invention. 本発明の実施の形態2によるインスタンス抽象化事象因果関係モデル具体化手段の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the instance abstraction event causal relationship model realization means by Embodiment 2 of this invention. 本発明の実施の形態2による事象因果関係モデルの例である。It is an example of the event causal relationship model by Embodiment 2 of this invention.

<A.実施の形態1>
<A−1.構成>
図1は、本発明の実施の形態1によるメッセージシーケンス生成装置41の構成を示すブロック図である。
<A. Embodiment 1>
<A-1. Configuration>
FIG. 1 is a block diagram showing a configuration of a message sequence generation device 41 according to Embodiment 1 of the present invention.

図1に示すようにメッセージシーケンス生成装置41は、メッセージシーケンス情報31中に記述された各要素と、事象因果関係モデル33中に記述された各事象とが取得される要素・事象対応情報生成手段35を備える。   As shown in FIG. 1, the message sequence generating device 41 is an element / event correspondence information generating means for acquiring each element described in the message sequence information 31 and each event described in the event causal relation model 33. 35.

ここで、メッセージシーケンス情報31は、通信プロトコル仕様を、メッセージシーケンス図を用いて示したものである。また、事象因果関係モデル33は、エラー処理が必要な事象を含む複数の事象を、それらの因果関係とともに記述したものである。また、機器・構成制御情報DB(データベース)200は、メッセージシーケンス情報31の対象システムに含まれる機器情報とモード状態組合せ情報、モード状態遷移情報が記述されたものである。機器・構成制御情報現在値情報201は、機器・構成制御情報DB200に含まれる項目のうち、対象システムが稼働中に変更される項目の現在値の情報が記述されたものである。   Here, the message sequence information 31 indicates the communication protocol specifications using a message sequence diagram. The event-causal relationship model 33 describes a plurality of events including events that require error processing together with their causal relationships. The device / configuration control information DB (database) 200 describes device information, mode state combination information, and mode state transition information included in the target system of the message sequence information 31. The device / configuration control information current value information 201 describes information on the current value of an item that is changed during operation of the target system among items included in the device / configuration control information DB 200.

要素・事象対応情報生成手段35には、アクション入力手段34からアクションが入力され、要素・事象入力手段36からイベントが入力される。   The element / phenomenon correspondence information generating unit 35 receives an action from the action input unit 34 and an event from the element / phenomenon input unit 36.

また、メッセージシーケンス生成装置41は、要素・事象対応情報生成手段35から要素・事象対応情報が入力される要素・事象対応情報記憶手段38と、事象因果関係モデル33のうちの、ある事象から生ずるエラー処理を導出するエラー処理導出手段39と、機器・構成制御情報現在値情報201から機器・構成制御情報の現在値を取得する機器・構成制御情報現在値取得手段202と、要素・事象対応情報とエラー処理の情報とを、メッセージシーケンス情報31に付加するエラー処理付加手段37とを備える。エラー処理が付加されたメッセージシーケンス情報31は、エラー処理付加メッセージシーケンス情報40となる。   The message sequence generation device 41 is generated from a certain event among the element / event correspondence information storage unit 38 to which the element / event correspondence information is input from the element / event correspondence information generation unit 35 and the event causal relationship model 33. Error processing deriving means 39 for deriving error processing, device / configuration control information current value acquiring means 202 for acquiring the current value of the device / configuration control information from the device / configuration control information current value information 201, and element / event correspondence information And error processing adding means 37 for adding the error processing information to the message sequence information 31. The message sequence information 31 to which error processing has been added becomes error processing addition message sequence information 40.

さらに、メッセージシーケンス生成装置41は、要素・事象対応情報を出力する対応結果出力手段32を備える。   Further, the message sequence generation device 41 includes correspondence result output means 32 that outputs element / event correspondence information.

ここで、メッセージシーケンス情報31中の要素とは、メッセージシーケンス情報に示される、あらゆる動作、状態、それらの結果、過程を示すものであり、例えば、メッセージの送受信や内部アクション等である。また、二つの連続した要素の間も要素であるとする。例えば、あるインスタンスがメッセージを送信し、状態が「メッセージ送信」になるメッセージシーケンス情報があったとき、「メッセージ送信」と「状態(メッセージ送信)」も要素であるし、「メッセージ送信」要素と「状態(メッセージ送信)」の間も要素であるとする。これは、あるインスタンスがメッセージを送信したけれども、「状態(メッセージ送信)」になる前の結果を要素として扱えることを意味している。   Here, the elements in the message sequence information 31 indicate all operations, states, their results, and processes indicated in the message sequence information, such as message transmission / reception and internal actions. It is also assumed that an element is between two consecutive elements. For example, when there is message sequence information in which an instance sends a message and the status is “message sending”, “message sending” and “status (message sending)” are also elements, and “message sending” element It is assumed that the element during “state (message transmission)” is also an element. This means that although an instance has sent a message, the result before entering the “state (message send)” can be treated as an element.

また、アクション入力手段34から入力されるアクションとは、事象因果関係モデル33における各事象が発生した場合に実行される、所定の処理である。   The action input from the action input unit 34 is a predetermined process executed when each event in the event causal relationship model 33 occurs.

図2は、メッセージシーケンス生成装置41を実際に運用したときのハードウェアの構成を示したものである。図2では、図1中のメッセージシーケンス生成装置41としてPC1を備える。なおメッセージシーケンス生成装置41は、PCだけでなく例えば計算機一般を含めてもよい。   FIG. 2 shows a hardware configuration when the message sequence generation device 41 is actually operated. In FIG. 2, the PC 1 is provided as the message sequence generation device 41 in FIG. Note that the message sequence generation device 41 may include not only a PC but also a general computer, for example.

PC1には、演算を行うCPU2と、情報を記憶することができる記憶装置3と、マウスやキーボードなどのPCに対して入力を与える入力装置4と、ディスプレイ等の出力を行うことができる出力装置5とが含まれる。   The PC 1 includes a CPU 2 that performs computation, a storage device 3 that can store information, an input device 4 that provides input to the PC such as a mouse and a keyboard, and an output device that can perform output such as a display. 5 is included.

図1における要素・事象対応情報生成手段35、要素・事象対応情報記憶手段38、エラー処理導出手段39、エラー処理付加手段37、機器・構成制御情報現在値取得手段202は、プログラムとして記憶装置3に格納され、CPU2上で実行される。   The element / event correspondence information generating means 35, the element / event correspondence information storage means 38, the error processing derivation means 39, the error processing addition means 37, and the device / configuration control information current value acquisition means 202 in FIG. And is executed on the CPU 2.

また、アクション入力手段34、要素・事象入力手段36、エラー処理付加手段37は、入力装置4によって、ユーザからの入力を得る。対応結果出力手段32は、出力装置5によって、要素・事象対応情報を出力する。また、出力装置5によって、エラー処理付加メッセージシーケンス情報40が出力される。   Further, the action input unit 34, the element / event input unit 36, and the error processing addition unit 37 obtain input from the user by the input device 4. The correspondence result output means 32 outputs the element / event correspondence information by the output device 5. Further, the error processing additional message sequence information 40 is output by the output device 5.

図3は、図1のメッセージシーケンス情報31の例を示す図である。メッセージシーケンス情報31では、時間軸が垂直で表され、上から下へ時間が流れる。   FIG. 3 is a diagram illustrating an example of the message sequence information 31 of FIG. In the message sequence information 31, the time axis is represented vertically, and time flows from top to bottom.

メッセージシーケンス情報で、メッセージの送受信の主体となるシステム、装置、システム内の機能は、インスタンスとよばれる。インスタンスは、インスタンス開始記号61、インスタンス名62、ライフライン63、インスタンス終了記号64から構成される。   In the message sequence information, the system, apparatus, and functions in the system that are the main body of message transmission / reception are called instances. An instance includes an instance start symbol 61, an instance name 62, a lifeline 63, and an instance end symbol 64.

インスタンスの名称は、インスタンス名62によって示される。インスタンスの開始位置と終了位置は、それぞれインスタンス開始記号61、インスタンス終了記号64で示される。   The name of the instance is indicated by the instance name 62. The start position and end position of the instance are indicated by an instance start symbol 61 and an instance end symbol 64, respectively.

インスタンス開始記号61と、インスタンス終了記号64とはライフライン63で結ばれ、インスタンスの生存期間が示される。インスタンス間のメッセージのやり取りは、メッセージ記号65によって示される。メッセージには方向が定義されており、メッセージの送信元と送信先が識別できる。また、メッセージの種類や名称は、メッセージ名66によって示される。   The instance start symbol 61 and the instance end symbol 64 are connected by a lifeline 63 to indicate the lifetime of the instance. Message exchange between instances is indicated by message symbol 65. The message has a defined direction and can identify the source and destination of the message. The message type and name are indicated by a message name 66.

タイマはタイマ記号67で示され、名称や期間はタイマ情報68によって示される。タイマのリセットはタイマリセット記号300によって示され、タイマの発火はタイマ発火記号301によって示される。タイマの停止は、タイマ停止記号302によって示される。インスタンスの状態は状態記号69によって示され、メッセージの送受信を伴わないインスタンスの内部アクションは、内部アクション記号70によって示される。   The timer is indicated by a timer symbol 67, and the name and period are indicated by timer information 68. Timer reset is indicated by timer reset symbol 300, and timer firing is indicated by timer firing symbol 301. Stopping the timer is indicated by a timer stop symbol 302. The state of the instance is indicated by a status symbol 69, and the internal action of the instance that does not involve sending and receiving messages is indicated by an internal action symbol 70.

インスタンス名62、メッセージ名66、タイマ情報68の位置関係は、それぞれインスタンス開始記号61、メッセージ記号65、タイマ記号の関連が認識できれば、任意の場所においてもよい。また、オブジェクト終了記号64を省略してもよい。   The positional relationship between the instance name 62, the message name 66, and the timer information 68 may be in any place as long as the relationship between the instance start symbol 61, the message symbol 65, and the timer symbol can be recognized. Further, the object end symbol 64 may be omitted.

本発明におけるメッセージシーケンス情報31は、図3に示すものに限らず、UML(Unified Modeling Language)で定められているメッセージシーケンス図や、ITU−T(国際電気通信連合 電気通信標準化部門)の勧告Z.120によるMessage Sequence Chart(MSC)等を用いてもよい。   The message sequence information 31 in the present invention is not limited to that shown in FIG. 3, but is a message sequence diagram defined by UML (Unified Modeling Language), ITU-T (International Telecommunication Union Telecommunication Standardization Sector) Recommendation Z . Message Sequence Chart (MSC) by 120 may be used.

図4は、図1の事象因果関係モデル33を、FT(Fault Tree)図を例に用いて説明したものである。   FIG. 4 illustrates the event-causal relationship model 33 of FIG. 1 using an FT (Fault Tree) diagram as an example.

事象因果関係モデル33は、エラー処理等の非正常事象をあらわすトップ事象81と、それらを発生させる事象との因果関係を論理記号を用いて、例えばツリー構造上に表現したものである。なお、事象間の因果関係を示す方法は、論理記号によるものに限るものではない。   The event causal relationship model 33 is a representation of a causal relationship between a top event 81 representing an abnormal event such as error processing and an event that generates them using a logical symbol, for example, on a tree structure. Note that the method of indicating the causal relationship between events is not limited to a method using logical symbols.

トップ事象81は、図の最上段に配置する。トップ事象81の発生に関与する要因を、論理積82や論理和83を用いてツリー構造上に並べる。論理記号で結ばれた事象を中間事象84とよび、さらに、これ以上分解できない事象を基本事象85とよぶ。   The top event 81 is arranged at the top of the figure. Factors related to the occurrence of the top event 81 are arranged on the tree structure using the logical product 82 and the logical sum 83. Events connected by logical symbols are referred to as intermediate events 84, and events that cannot be further resolved are referred to as basic events 85.

図5(a)〜(c)は、機器・構成制御情報DB200の例である。機器・構成制御情報DB200には、機器情報とモード状態組合せ情報、モード状態遷移情報が含まれる。   5A to 5C are examples of the device / configuration control information DB 200. FIG. The device / configuration control information DB 200 includes device information, mode state combination information, and mode state transition information.

図5(a)に示す機器情報は、対象システムにどのような機器が含まれ、どのような名称とクラス及びIPアドレスが指定されているか、系切替発生時の優先度を記憶する。クラスには、メッセージシーケンス情報中のインスタンス名が指定される。   The device information shown in FIG. 5A stores what devices are included in the target system, what name, class, and IP address are specified, and the priority at the time of system switching. In the class, an instance name in the message sequence information is specified.

系切替優先度は、三重系以上の多重系システムにおいて、常用系に対し複数の待機系が存在している際に使用する。常用系に障害が発生して待機系に遷移し、一つの待機系が常用系に遷移する際に、複数の待機系からどの系が常用系に遷移するかは優先度を用いて決定する。本例では、数字が小さい優先度のものが優先的に常用系に遷移するとする。   The system switching priority is used when there are a plurality of standby systems with respect to the regular system in a multiple system of triple system or more. When a failure occurs in the active system and transitions to the standby system, and one standby system transitions to the regular system, which system is transitioned from the plurality of standby systems to the regular system is determined using the priority. In this example, it is assumed that a priority with a small number is preferentially transitioned to the regular system.

図5(b)に示すモード状態組合せ情報は、対象システムが冗長構成化されているとき、それぞれの系の運転モードの組合せを指定するものである。本例では、サーバ1とサーバ2が共に常用モード又は待機モードになること、保守モードと待機モードの組合せは不可であることを示している。また、常用モードと待機モード又は常用モードと保守モードの組合せは可能であることを示している。   The mode state combination information shown in FIG. 5B specifies combinations of operation modes of the respective systems when the target system has a redundant configuration. In this example, it is indicated that both the server 1 and the server 2 are in the normal mode or the standby mode, and the combination of the maintenance mode and the standby mode is not possible. Further, it is shown that a combination of the normal mode and the standby mode or the normal mode and the maintenance mode is possible.

図5(c)に示すモード状態遷移情報は、常用モード、待機モード、保守モード間の状態遷移について示す情報である。   The mode state transition information illustrated in FIG. 5C is information indicating state transitions between the normal mode, the standby mode, and the maintenance mode.

図6は図1の機器・構成制御情報現在値情報201の例である。機器・構成制御情報現在値情報201には、機器・構成制御情報DB200に含まれる情報のうち、対象システムが実行中に変更される項目が含まれている。本例では、対象システムが実行中に変更される項目として、IPアドレスと運転モード状態が機器・構成制御情報現在値情報に含まれている。サーバ1の現時点でのIPアドレスは192.168.0.3、運転モード状態は常用であることを示している。また、サーバ2の現時点でのIPアドレスは192.168.0.4、運転モード状態は待機であることを示している。機器・構成制御情報現在値情報200は、実行中の機器の状態が変更されるたびに更新されるとする。   FIG. 6 is an example of the device / configuration control information current value information 201 of FIG. The device / configuration control information current value information 201 includes items that are changed during execution of the target system among the information included in the device / configuration control information DB 200. In this example, the IP address and the operation mode state are included in the device / configuration control information current value information as items to be changed during execution of the target system. The current IP address of the server 1 is 192.168.0.3, indicating that the operation mode state is normal. Further, the current IP address of the server 2 is 192.168.0.4, and the operation mode state is standby. It is assumed that the device / configuration control information current value information 200 is updated each time the state of the device being executed is changed.

<A−2.動作>
図7は、図1の要素・事象対応情報生成手段35の動作を示すフローチャートである。要素・事象対応情報生成手段35は、ステップST201において、メッセージシーケンス情報31と事象因果関係モデル33とを取得する。
<A-2. Operation>
FIG. 7 is a flowchart showing the operation of the element / event correspondence information generating means 35 of FIG. In step ST201, the element / event correspondence information generation unit 35 acquires the message sequence information 31 and the event causal relationship model 33.

次にステップST202において、事象因果関係モデル33中の事象に、その事象の発生時のアクション(処理)を設定するアクション設定処理を行う。   Next, in step ST202, action setting processing for setting an action (processing) at the time of occurrence of the event is performed on the event in the event causal relationship model 33.

次にステップST203において、メッセージシーケンス情報31中の要素と、事象因果関係モデル33中の事象とを対応付ける、要素・事象対応情報生成処理を行う。当該処理が終了すれば、動作を終了する。   Next, in step ST203, element / event correspondence information generation processing for associating the elements in the message sequence information 31 with the events in the event causal relationship model 33 is performed. When the process is finished, the operation is finished.

<A−2−1.アクション設定>
図8は、図7の要素・事象対応情報生成手段35の、ステップST202の動作(各事象に対するアクション設定処理)を示すフローチャートである。
<A-2-1. Action settings>
FIG. 8 is a flowchart showing the operation (action setting process for each event) of step ST202 of the element / phenomenon correspondence information generating means 35 of FIG.

要素・事象対応情報生成手段35は、ステップST210において、要素・事象入力手段36からのイベントを順次受信する。ここでイベントとは、事象因果関係モデル33中の事象、メッセージシーケンス情報31中の要素を指定するもの、及び前記指定を終了するものである。   In step ST210, the element / phenomenon correspondence information generating unit 35 sequentially receives events from the element / phenomenon input unit 36. Here, an event is an event in the event causal relationship model 33, an element that specifies an element in the message sequence information 31, and an end of the specification.

当該イベントにおいて、事象と要素とは、ユーザが任意に対応づけ可能である。但し、ハードウェアの故障等、通信プロトコルと関係なくメッセージシーケンス図中のあらゆる「要素」で発生しうる「事象」との対応は、「要素定義情報」、「事象定義情報」、「要素・事象対応定義情報」を利用して、メッセージシーケンス図中の全ての「要素」と自動的に対応づけすることも可能である。   In the event, the user can arbitrarily associate the event and the element. However, the correspondence with “events” that can occur in any “element” in the message sequence diagram regardless of the communication protocol, such as hardware failure, is “element definition information”, “event definition information”, “element / event” It is also possible to automatically associate all “elements” in the message sequence diagram using “correspondence definition information”.

また、パリティ検定違反など、任意のメッセージの受信で発生しうる「事象」は、「要素定義情報」、「事象定義情報」、「要素・事象対応定義情報」を利用して、メッセージの受信「要素」全てと自動的に対応づけることも可能である。   In addition, “events” that can occur when receiving any message, such as parity test violations, can be received using “element definition information”, “event definition information”, and “element / event correspondence definition information”. It is also possible to automatically associate all “elements”.

さらに、特定のグループのメッセージの受信「要素」、特定のグループの「内部アクション」と、「事象」とを、自動的に対応づけることも可能である。また、過去の履歴を用いて、要素と事象との対応づけを行うことも可能である。   Furthermore, it is possible to automatically associate “elements” for receiving messages of a specific group, “internal actions” of a specific group, and “events”. It is also possible to associate elements with events using past history.

ここで、「要素定義情報」とは、各要素が所属するグループを示す情報である。例えば、要素「選択メッセージ受信」は、グループ「メッセージ」に含まれ、かつ「選択制御メッセージ」に含まれる(図25参照)。   Here, “element definition information” is information indicating a group to which each element belongs. For example, the element “selection message reception” is included in the group “message” and is included in the “selection control message” (see FIG. 25).

また「事象定義情報」とは、各事象が所属するグループを示す情報である。例えば、事象「LAN両系異常」は、グループ「故障」と「通信断」とに含まれ、事象「パリティ検定違反」はグループ「メッセージ不正」に含まれる(図26参照)。   “Event definition information” is information indicating a group to which each event belongs. For example, the event “LAN both system abnormality” is included in the groups “failure” and “communication disconnection”, and the event “parity test violation” is included in the group “message fraud” (see FIG. 26).

また「要素・事象対応定義情報」では、「事象」とそれに対応する要素を複数指定することができる(図27参照)。   In the “element / event correspondence definition information”, “event” and a plurality of corresponding elements can be designated (see FIG. 27).

例えば、事象「LAN両系異常」は、通信プロトコルとは関係なく任意の時点で発生しうるので、メッセージシーケンス情報中の全ての要素と対応付ける。よって、「事象定義情報」の対応要素として「All(要素)」と指定する。これは、事象「LAN両系異常」は、全ての要素と対応付けられることを意味している。対応要素には、具体的な要素名か要求定義情報のグループを指定する。   For example, the event “abnormality of both LAN systems” can occur at any time regardless of the communication protocol, and is therefore associated with all elements in the message sequence information. Therefore, “All (element)” is designated as the corresponding element of “event definition information”. This means that the event “abnormality of both LAN systems” is associated with all elements. For the corresponding element, specify a specific element name or a group of request definition information.

例えば、事象「パリティ検定違反」は、全てのメッセージを受信した際に発生しうるので、対応要素は全ての「メッセージ受信」要素となる。ここで論理式は、S1∩S2等といった対応要素を論理記号で結んだもので、細かな指定が可能となる。   For example, the event “parity test violation” can occur when all messages are received, so the corresponding elements are all “message received” elements. Here, the logical expression is obtained by connecting corresponding elements such as S1∩S2 and the like with logical symbols, and fine specification is possible.

要素・事象対応情報生成手段35は、事象定義情報から事象とその対応要素(1〜n)を取得する。続いて、対応要素1〜nに対応する要素を要素定義情報から取得する。取得した各要素のうち、論理式で評価したものと一致する要素をメッセージシーケンス情報から検索し、要素と事象とを対応付けることができる。   The element / event correspondence information generation unit 35 acquires an event and its corresponding element (1 to n) from the event definition information. Subsequently, the elements corresponding to the corresponding elements 1 to n are acquired from the element definition information. Among the acquired elements, an element that matches the one evaluated by the logical expression is searched from the message sequence information, and the element and the event can be associated with each other.

そして、ステップST211において、イベント判定を行い、終了イベントの場合には動作を終了し、終了イベント以外の場合はステップST212へ進む。   Then, in step ST211, an event determination is performed. If it is an end event, the operation is terminated, and if it is not an end event, the process proceeds to step ST212.

ステップST212では、ステップST210で受信したイベントで指定された事象因果関係モデル33中の事象を記憶し、ステップST213へ進む。   In step ST212, the event in the event causal relationship model 33 designated by the event received in step ST210 is stored, and the process proceeds to step ST213.

ステップST213では、アクション入力手段34によって入力された、ステップST212において記憶された事象に設定されるアクションを記憶し、ステップST214へ進む。   In step ST213, the action set in the event stored in step ST212 input by the action input means 34 is stored, and the process proceeds to step ST214.

ステップST214では、ステップST212で記憶した事象に、ステップST213で記憶したアクションを設定し、ステップST210へ進む。順次イベントを受信し、それぞれのイベントが指定する事象にアクションを設定していき、全てのイベントについてアクションの設定が終了したら(すなわち、終了イベントに達したら)、動作を終了する。   In step ST214, the action stored in step ST213 is set in the event stored in step ST212, and the process proceeds to step ST210. The events are sequentially received, and actions are set for the events designated by the respective events. When setting of the actions is completed for all the events (that is, when the end event is reached), the operation is ended.

なお、事象とアクションとは、ユーザが任意に対応づけ可能である。   Note that an event and an action can be arbitrarily associated by the user.

ここで、一つの「アクション」を効率的に複数の「事象」と対応付けるため、上記の「事象定義情報」と「アクション・事象対応定義情報」とを利用することができる。   Here, in order to efficiently associate one “action” with a plurality of “events”, the above “event definition information” and “action / phenomenon correspondence definition information” can be used.

ここで「アクション・事象対応定義情報」とは、各「アクション」がどの「事象」に対応付けられるかを示す情報である。図28に示すように、各「事象」毎に対応付けられる「事象」のグループを記述する。「要素・事象対応定義情報」と同様に、論理式も使用できる。   Here, the “action / phenomenon correspondence definition information” is information indicating which “phenomenon” each “action” is associated with. As shown in FIG. 28, a group of “events” associated with each “event” is described. As with “element / event correspondence definition information”, logical expressions can also be used.

要素・事象対応情報生成手段35は、「事象定義情報」から各「事象」情報を取得し、「アクション・事象対応定義情報」から、アクションと事象との対応情報を取得する。   The element / phenomenon correspondence information generating unit 35 obtains each “phenomenon” information from “phenomenon definition information”, and obtains correspondence information between actions and phenomena from “action / phenomenon correspondence definition information”.

続いて、事象因果関係モデル33から各「アクション」に対応する「事象」を検索し、自動的に対応付ける。一つの事象に複数のアクションが設定された場合は、ユーザが設定したアクションを優先することができる。また、自動的に設定したアクションが複数あった場合は、ユーザに通知することができる。先に(または後に)設定したアクションを優先してもよい。   Subsequently, an “event” corresponding to each “action” is searched from the event causal relationship model 33 and automatically associated. When multiple actions are set for one event, the action set by the user can be prioritized. Further, when there are a plurality of automatically set actions, the user can be notified. The action set earlier (or later) may be given priority.

<A−2−2.要素・事象対応情報生成>
図9は、図7の要素・事象対応情報生成手段35のステップST203の動作(要素・事象対応情報生成処理)を示すフローチャートである。
<A-2-2. Generating element / event correspondence information>
FIG. 9 is a flowchart showing the operation (element / event correspondence information generation processing) of step ST203 of the element / event correspondence information generation means 35 of FIG.

要素・事象対応情報生成手段35は、ステップST220で、メッセージシーケンス情報31と事象因果関係モデル33とを取得し、ステップST221へ進む。   In step ST220, the element / event correspondence information generating unit 35 acquires the message sequence information 31 and the event causal relationship model 33, and proceeds to step ST221.

ステップST221では、要素・事象入力手段36からイベントを順次取得し、ステップST222へ進む。ここで取得するイベントは、ステップST210で受信したイベントとは独立に取得するものである。   In step ST221, events are sequentially acquired from the element / phenomenon input means 36, and the process proceeds to step ST222. The event acquired here is acquired independently of the event received in step ST210.

ステップST222でイベント判定を行い、メッセージシーケンス情報31中の要素に対するイベントであればステップST223へ進み、事象因果関係モデル33中の事象に対するイベントであればステップST224へ進み、終了イベントの場合は動作を終了する。   In step ST222, an event is determined. If the event is for an element in the message sequence information 31, the process proceeds to step ST223. If the event is for an event in the event causality model 33, the process proceeds to step ST224. finish.

ステップST223では、要素指定処理を行う。ステップST224では事象指定処理を行う。詳細については後述する。   In step ST223, element designation processing is performed. In step ST224, an event designation process is performed. Details will be described later.

図10は、図7の要素・事象対応情報生成手段35のステップST223の動作(要素指定処理)を示すフローチャートである。   FIG. 10 is a flowchart showing the operation (element specifying process) of step ST223 of the element / event correspondence information generating means 35 of FIG.

要素・事象対応情報生成手段35は、ステップST260で、ステップST221においてイベントに指定された要素を記憶し、ステップST261へ進む。   In step ST260, the element / phenomenon correspondence information generating unit 35 stores the element designated as the event in step ST221, and proceeds to step ST261.

ステップST261では、要素・事象入力手段36からイベントを取得し、ステップST262へ進む。ここで取得するイベントは、ステップST221において取得したイベントと同一のイベントである。   In step ST261, an event is acquired from the element / phenomenon input means 36, and the process proceeds to step ST262. The event acquired here is the same event as the event acquired in step ST221.

ステップST262では、イベント判定をし、メッセージシーケンス情報31の要素に対するイベントの場合はステップST265へ進み、事象因果関係モデル33の事象に対するイベントの場合はステップST263へ進む。   In step ST262, an event is determined. If the event is for an element of the message sequence information 31, the process proceeds to step ST265, and if the event is for an event of the event causality model 33, the process proceeds to step ST263.

ステップST263では、ステップST261で取得したイベントにおいて指定された事象と、ステップST260で記憶した要素とを対応付け、ステップST264へ進む。   In step ST263, the event specified in the event acquired in step ST261 is associated with the element stored in step ST260, and the process proceeds to step ST264.

ステップST264では、ステップST263で対応付けた要素・事象対応情報を要素・事象対応情報記憶手段38(記憶装置3)に記憶し、動作を終了する。   In step ST264, the element / event correspondence information associated in step ST263 is stored in the element / event correspondence information storage means 38 (storage device 3), and the operation is terminated.

ステップST265では、ステップST260で記憶した要素を破棄し、ステップST261において指定された要素を記憶し、再びステップST261へ進む。   In step ST265, the element stored in step ST260 is discarded, the element specified in step ST261 is stored, and the process proceeds again to step ST261.

図11は、図9の要素・事象対応情報生成手段35のステップST224の動作(事象指定処理)を示すフローチャートである。   FIG. 11 is a flowchart showing the operation (event designation process) of step ST224 of the element / event correspondence information generation means 35 of FIG.

要素・事象対応情報生成手段35は、ステップST280で、ステップST221においてイベントに指定された事象を記憶し、ステップST281へ進む。   In step ST280, the element / phenomenon correspondence information generating unit 35 stores the phenomenon designated as the event in step ST221, and proceeds to step ST281.

ステップST281では、要素・事象入力手段36からイベントを取得し、ステップST282へ進む。ここで取得するイベントは、ステップST221において取得したイベントと同一のイベントである。   In step ST281, an event is acquired from the element / phenomenon input means 36, and the process proceeds to step ST282. The event acquired here is the same event as the event acquired in step ST221.

ステップST282では、イベント判定を行い、事象因果関係モデル33の事象に対するイベントの場合はステップST285へ進み、メッセージシーケンス情報31の要素に対するイベントの場合はステップST283へ進む。   In step ST282, event determination is performed, and in the case of an event for an event in the event causality model 33, the process proceeds to step ST285, and in the case of an event for an element of the message sequence information 31, the process proceeds to step ST283.

ステップST283では、ステップST281で取得したイベントにおいて指定された要素と、ステップST280で記憶した事象とを対応付け、記憶し、ステップST284へ進む。   In step ST283, the element specified in the event acquired in step ST281 and the event stored in step ST280 are associated and stored, and the process proceeds to step ST284.

ステップST284では、ステップST283の対応付けた要素・事象対応情報を要素・事象対応情報記憶手段38(記憶装置3)に記憶し、動作を終了する。   In step ST284, the element / event correspondence information associated in step ST283 is stored in the element / event correspondence information storage unit 38 (storage device 3), and the operation is terminated.

ステップST285では、ステップST280で記憶した事象を破棄し、ステップST281において指定された事象を記憶し、再びステップST281へ進む。   In step ST285, the event stored in step ST280 is discarded, the event specified in step ST281 is stored, and the process proceeds to step ST281 again.

<A−2−3.エラー処理付加>
図12は、図1のエラー処理付加手段37の動作を示すフローチャートである。
<A-2-3. Add error handling>
FIG. 12 is a flowchart showing the operation of the error processing adding means 37 of FIG.

エラー処理付加手段37は、ステップST300においてメッセージシーケンス情報31を取得し、ステップST301へ進む。   The error process addition means 37 acquires the message sequence information 31 in step ST300, and proceeds to step ST301.

次に、ステップST301では、要素・事象対応情報記憶手段38から要素・事象対応情報を1つ、すなわち、1つの要素に対応する事象の情報を取得し、ステップST302へ進む。   Next, in step ST301, one element / event correspondence information is acquired from the element / event correspondence information storage unit 38, that is, information of an event corresponding to one element is obtained, and the process proceeds to step ST302.

ステップST302では、1つの要素に対応する要素・事象対応情報が取得できたかどうか判定し、取得できた場合はステップST303へ進み、取得できなかった場合は動作を終了する。   In step ST302, it is determined whether or not the element / event correspondence information corresponding to one element has been acquired. If it can be acquired, the process proceeds to step ST303, and if it cannot be acquired, the operation ends.

ステップST303では、ステップST300において取得したメッセージシーケンス情報31から、ステップST301において取得した1つの要素に関連する各インスタンスの状態を取得し、ステップST304へ進む。   In step ST303, the state of each instance related to one element acquired in step ST301 is acquired from the message sequence information 31 acquired in step ST300, and the process proceeds to step ST304.

ステップST304では、ステップST303で取得した各インスタンスの状態と、ステップST301で取得した、1つの要素の要素・事象対応情報とをエラー処理導出手段39へ渡す。   In step ST304, the state of each instance acquired in step ST303 and the element / event correspondence information of one element acquired in step ST301 are passed to the error processing deriving means 39.

一方ステップST305では、エラー処理導出手段39から、ステップST301で取得した1つの要素に対応するエラー処理の情報を取得し、ステップST306へ進む。   On the other hand, in step ST305, error processing information corresponding to one element acquired in step ST301 is acquired from the error processing deriving means 39, and the process proceeds to step ST306.

ステップST306では、エラー処理付加メッセージシーケンス情報生成処理を行い、ステップST301へ進む。詳細は後述する。   In step ST306, an error processing additional message sequence information generation process is performed, and the process proceeds to step ST301. Details will be described later.

図13は、図12におけるエラー処理付加手段37のステップST306の動作(エラー処理付加メッセージシーケンス情報生成処理)を示すフローチャートである。   FIG. 13 is a flowchart showing the operation (error processing addition message sequence information generation processing) of step ST306 of the error processing addition means 37 in FIG.

エラー処理付加手段37は、ステップST400において、ステップST301で取得した1つの要素が発生するまでのメッセージシーケンス情報31を作業対象メッセージシーケンス情報として設定し、ステップST401へ進む。   In step ST400, the error processing adding unit 37 sets the message sequence information 31 until one element acquired in step ST301 is generated as work target message sequence information, and proceeds to step ST401.

ステップST401で、作業対象メッセージシーケンス情報に、ステップST301で取得した1つの要素の、対応する事象が発生した情報を付加し、ステップST402へ進む。   In step ST401, information on occurrence of a corresponding event of one element acquired in step ST301 is added to the work target message sequence information, and the process proceeds to step ST402.

ステップST402では、エラー処理導出手段39から、ステップST301で取得した1つの要素に対応する事象に起因するエラー処理の情報を取り出し、ステップST403へ進む。   In step ST402, error processing information resulting from the event corresponding to one element acquired in step ST301 is extracted from the error processing deriving unit 39, and the process proceeds to step ST403.

ステップST403では、エラー処理の情報を取り出せたかどうか判定し、取り出せた場合はステップST404へ進み、取り出せなかった場合はステップST409へ進む。   In step ST403, it is determined whether or not error processing information has been extracted. If it has been extracted, the process proceeds to step ST404. If it cannot be extracted, the process proceeds to step ST409.

ステップST404では、ステップST402で取得したエラー処理の情報に構成制御条件が設定されているか判定する。構成制御条件が設定されている場合はステップST405に進む。設定されていない場合はステップST406に進む。   In step ST404, it is determined whether the configuration control condition is set in the error processing information acquired in step ST402. When the configuration control condition is set, the process proceeds to step ST405. If not set, the process proceeds to step ST406.

ステップST405では、ステップST400で取得した作業対象メッセージシーケンス情報に機器・構成制御情報を付加し、ステップST406へ進む。詳細については後述する。   In step ST405, the device / configuration control information is added to the work target message sequence information acquired in step ST400, and the process proceeds to step ST406. Details will be described later.

ステップST406では、ステップST402で取得したエラー処理の情報に含まれるアクションの実行条件と構成制御条件をチェックし、ステップST407へ進む。   In step ST406, the execution condition and configuration control condition of the action included in the error processing information acquired in step ST402 are checked, and the process proceeds to step ST407.

ステップST407では、ステップST406で取得したアクションの実行条件と構成制御条件が満たされているか判定する。実行条件が満たされている場合はステップST408へ進む。満たされていない場合はステップST409へ進む。   In step ST407, it is determined whether the action execution condition and the configuration control condition acquired in step ST406 are satisfied. If the execution condition is satisfied, the process proceeds to step ST408. If not satisfied, the process proceeds to step ST409.

ステップST408では、作業対象メッセージシーケンス情報にST402のアクションを付加してステップST402へ進む。   In step ST408, the action of ST402 is added to the work target message sequence information, and the process proceeds to step ST402.

ステップST409では、対応するエラー処理が付加された作業対象メッセージシーケンス情報を、エラー処理付加メッセージシーケンス情報40として出力装置5に出力する。   In step ST409, the work target message sequence information to which the corresponding error processing is added is output to the output device 5 as the error processing addition message sequence information 40.

図14は、エラー処理の情報の例を示す。エラー処理の情報は、実行される順に番号がつけられており、エラー処理に対応する事象名、その事象に設定されたアクション、実行条件、事象が発生する際の構成制御の条件が対応付けられている。   FIG. 14 shows an example of error processing information. The error processing information is numbered in the order of execution, and the event name corresponding to the error processing, the action set for the event, the execution condition, and the condition of the configuration control when the event occurs are associated. ing.

本例では、事象名「系切替」、アクション「アクション1」が対応付けられており、その場合の実行条件は未設定、構成制御条件は「自モードが常用」かつ「相手モードが予備」であることを示している。   In this example, the event name “system switching” and the action “action 1” are associated, the execution condition in this case is not set, the configuration control condition is “usual mode is regular” and “partner mode is spare”. It shows that there is.

図15は、図13におけるエラー処理付加手段37のステップST405の動作(機器・構成制御情報付加処理)を示すフローチャートである。   FIG. 15 is a flowchart showing the operation (device / configuration control information addition process) of step ST405 of the error process addition means 37 in FIG.

ステップST420において、対象システムの現在状態におけるメッセージシーケンス情報のみを生成するか、全ての組み合わせを出力するかを入力装置から指定する。その後、ステップST421へ進む。   In step ST420, whether to generate only message sequence information in the current state of the target system or to output all combinations is designated from the input device. Then, it progresses to step ST421.

ステップST421では、イベント判定を行い、現在状態におけるメッセージシーケンス情報のみを出力する指令が与えられた場合は、ステップST422へ進む。全ての組み合わせを出力する指令を与えられた場合は、ステップST423へ進む。   In step ST421, event determination is performed. If an instruction to output only message sequence information in the current state is given, the process proceeds to step ST422. If a command to output all combinations is given, the process proceeds to step ST423.

ステップST422では、現在状態における機器・構成制御情報付加メッセージシーケンス生成処理を行い、終了する。詳細については後述する。   In step ST422, a device / configuration control information addition message sequence generation process in the current state is performed, and the process ends. Details will be described later.

ステップST423では、全ての組合せにおける機器・構成制御情報を付加したメッセージシーケンスを生成する、機器・構成制御情報全組合せ付加メッセージシーケンス生成処理を行い、終了する。詳細については後述する。   In step ST423, a device / configuration control information all combination addition message sequence generation process for generating a message sequence to which the device / configuration control information in all combinations is added is performed, and the process ends. Details will be described later.

図16は、図15におけるエラー処理付加手段37のステップST422の動作(現在状態における機器・構成制御情報付加メッセージシーケンス生成処理)を示すフローチャートである。   FIG. 16 is a flowchart showing the operation of step ST422 of the error processing addition means 37 in FIG. 15 (device / configuration control information addition message sequence generation processing in the current state).

ステップST430では、機器・構成制御情報DB200から、系切替対象となるインスタンスを取得し、ステップST431へ進む。   In step ST430, an instance that is a system switching target is acquired from the device / configuration control information DB 200, and the process proceeds to step ST431.

ステップST431では、機器・構成制御情報現在値取得手段から、系切替対象となるインスタンスの現在状態を取得し、ステップST432へ進む。   In step ST431, the current state of the instance to be system-switched is acquired from the device / configuration control information current value acquisition unit, and the process proceeds to step ST432.

ステップST432では、機器・構成制御情報現在値情報付加メッセージシーケンス情報生成処理を行い、終了する。詳細については後述する。   In step ST432, a device / configuration control information current value information addition message sequence information generation process is performed, and the process ends. Details will be described later.

図17は、図16におけるエラー処理付加手段37のステップST432の動作(機器・構成制御情報現在値情報付加メッセージシーケンス情報生成処理)を示すフローチャートである。   FIG. 17 is a flowchart showing the operation (device / configuration control information current value information addition message sequence information generation processing) of step ST432 of the error processing addition means 37 in FIG.

ステップST450では、ステップST401の作業対象メッセージシーケンス情報に、ステップST430で取得したインスタンスを付加し、ステップST451へ進む。   In step ST450, the instance acquired in step ST430 is added to the work target message sequence information in step ST401, and the process proceeds to step ST451.

ステップST451では、ステップST450で取得した系切替対象インスタンスを付加したメッセージシーケンス情報に、ステップST431で取得した各インスタンスの現在のード状態を付加し、終了する。   In step ST451, the current mode state of each instance acquired in step ST431 is added to the message sequence information to which the system switching target instance acquired in step ST450 is added, and the process ends.

図18は、図15におけるエラー処理付加手段37のステップST423の動作(機器・構成制御情報全組合せ付加処理)を示すフローチャートである。   FIG. 18 is a flowchart showing the operation of step ST423 of the error processing addition means 37 in FIG. 15 (device / configuration control information all combination addition processing).

ステップST470では機器・構成制御情報DB200から、系切替対象となるインスタンスを取得し、ステップST471へ進む。   In step ST470, an instance that is a system switching target is acquired from the device / configuration control information DB 200, and the process proceeds to step ST471.

ステップST471では、ステップST401の作業対象メッセージシーケンス情報にステップST470で取得したインスタンスを付加し、ステップST472へ進む。   In step ST471, the instance acquired in step ST470 is added to the work target message sequence information in step ST401, and the process proceeds to step ST472.

ステップST472では、機器・構成制御情報DB200から、対象システムの各インスタンスが取りうるモード状態の全組み合わせを取得し、ステップST473へ進む。   In step ST472, all combinations of mode states that can be taken by each instance of the target system are acquired from the device / configuration control information DB 200, and the process proceeds to step ST473.

ステップST473では、ステップST472で取得したモード状態の組合せ分だけ作業対象メッセージシーケンス情報のコピーを作成し、ステップST474へ進む。   In step ST473, a copy of the work target message sequence information is created for the combination of mode states acquired in step ST472, and the process proceeds to step ST474.

ステップST474では、ステップST472で取得した取りうるモード状態の全組合せを満たすように、ステップST473のメッセージシーケンス情報の各インスタンスのモード状態を追加し、終了する。   In step ST474, the mode state of each instance of the message sequence information in step ST473 is added so as to satisfy all combinations of possible mode states acquired in step ST472, and the process ends.

<A−2−4.エラー処理導出>
図19は、図1のエラー処理導出手段39の動作を示すフローチャートである。
<A-2-4. Error processing derivation>
FIG. 19 is a flowchart showing the operation of the error process deriving means 39 in FIG.

エラー処理導出手段39は、ステップST351において、エラー処理付加手段37から指定された事象、すなわち、作業対象メッセージシーケンス情報の1つの要素に対応する事象を、作業対象事象として記憶しステップST352へ進む。   In step ST351, the error processing deriving unit 39 stores the event designated by the error processing adding unit 37, that is, the event corresponding to one element of the work target message sequence information as the work target event, and proceeds to step ST352.

ステップST352では、作業対象事象のアクションとその実行条件とを、要素・事象対応情報記憶手段38から取得し、ステップST353へ進む。   In step ST352, the action of the work target event and its execution condition are acquired from the element / phenomenon correspondence information storage means 38, and the process proceeds to step ST353.

ステップST353で、それらが取得できたか判定し、取得できた場合はステップST354へ進み、取得できなかった場合はステップST355へ進む。   In step ST353, it is determined whether or not they can be acquired. If they can be acquired, the process proceeds to step ST354, and if they cannot be acquired, the process proceeds to step ST355.

ステップST354では、作業対象事象のアクションとその実行条件とを記憶し、ステップST355へ進む。   In step ST354, the action of the work target event and its execution condition are stored, and the process proceeds to step ST355.

ステップST355では、作業対象事象の上位事象が存在するかどうかチェックし、存在する場合はステップST356へ進み、存在しない場合はステップST360へ進む。   In step ST355, it is checked whether or not a higher-order event of the work target event exists. If it exists, the process proceeds to step ST356, and if it does not exist, the process proceeds to step ST360.

ステップST356では、存在する上位事象が発生する条件をチェック(取得)し、ステップST357へ進む。   In step ST356, the conditions under which the existing upper event occurs are checked (acquired), and the process proceeds to step ST357.

ステップST357では、上位事象が発生する条件が系切替に関係するかどうか判定する。関係する場合はステップST359へ進む。関係しない場合はステップST358へ進む。   In step ST357, it is determined whether or not the condition for causing the higher-level event is related to system switching. If so, the process proceeds to step ST359. When not related, it progresses to step ST358.

ステップST358では、上位事象が発生するかどうかチェックし、発生する場合はステップST359へ進み、発生しない場合はステップST360へ進む。   In step ST358, it is checked whether or not an upper event occurs. If it occurs, the process proceeds to step ST359, and if not, the process proceeds to step ST360.

ステップST359では、上位事象を作業対象事象に設定し、ステップST352に進む。   In step ST359, the upper event is set as a work target event, and the process proceeds to step ST352.

ステップST360では、記憶した作業対象事象のアクションとその実行条件とを、エラー処理の情報としてエラー処理付加手段37に渡し、終了する。   In step ST360, the stored action of the work target event and its execution condition are passed to the error process adding means 37 as error process information, and the process ends.

<A−3.動作例>
図20、図21、図22、図23、図24、図25を用いて、実施の形態1の動作例を示す。
<A-3. Example of operation>
An operation example of the first embodiment will be described with reference to FIGS. 20, 21, 22, 23, 24, and 25.

図20は、本発明の実施の形態1における入力例である。図20(a)のメッセージシーケンス情報例においては、メッセージシーケンス情報のインスタンスは、上位システム、監視制御サーバ、監視制御端末装置の3つである。   FIG. 20 shows an input example in Embodiment 1 of the present invention. In the message sequence information example of FIG. 20A, there are three instances of message sequence information: a host system, a monitoring control server, and a monitoring control terminal device.

上位システムからの選択要求を受け、監視制御サーバは監視制御端末装置に選択要求を送信する。監視制御端末装置は「選択完了」状態に遷移し、監視制御サーバへ選択返信(OK)を送信する。監視制御サーバは「選択完了」状態に遷移し、上位システムに選択返信(OK)を送信する。上位システムは選択返信(OK)を受信すると、「選択完了」状態へと遷移する。メッセージの送信側は、メッセージの受信側からの返信をタイマによって管理する。一定期間返信が帰ってこない場合は、前記タイマが発火する。一方、返信が帰ってきた場合は、前記タイマをリセットする。   In response to the selection request from the host system, the monitoring control server transmits the selection request to the monitoring control terminal device. The monitoring control terminal device transits to the “selection complete” state and transmits a selection reply (OK) to the monitoring control server. The monitoring control server transits to the “selection completed” state, and transmits a selection reply (OK) to the higher system. When the host system receives the selection reply (OK), the host system transits to the “selection complete” state. The message transmission side manages the reply from the message reception side using a timer. If a reply is not returned for a certain period, the timer fires. On the other hand, when the reply is returned, the timer is reset.

同様に、上位システムからの制御要求を受け、監視制御サーバは監視端末装置へ制御要求を送信する。監視端末装置は制御要求を受信すると、「制御完了」状態へ遷移し、監視制御サーバへ制御返信(OK)を送信する。監視制御サーバは制御返信(OK)を受信すると状態を「制御完了」へと遷移し、上位システムへと制御返信(OK)を送信する。上位システムはそれを受け、「制御完了」へと状態を遷移する。   Similarly, upon receiving a control request from the host system, the monitoring control server transmits a control request to the monitoring terminal device. When the monitoring terminal device receives the control request, the monitoring terminal device transits to a “control completed” state, and transmits a control reply (OK) to the monitoring control server. When receiving the control reply (OK), the monitoring control server changes the state to “control completed” and transmits the control reply (OK) to the host system. The host system receives it and changes the state to “control completed”.

図20(b)の事象因果関係モデル例において、エラー処理など非正常事象を表すトップ事象は選択復帰である。選択復帰は選択中の時にのみ、制御要求受信データ異常か選択復帰要求か系切替によって発生する。さらに制御要求受信データ異常は、パリティ検定違反か不正データエラーによって発生する。また、系切替は自インスタンスの運転モードが常用で、かつ相手系の運転モードが待機の時に、重故障発生によって生じる。重故障発生は、構内LAN両系断か、電源異常によって発生する。   In the example of the event causal relationship model in FIG. 20B, the top event representing an abnormal event such as error processing is selective return. Selective return occurs only when selection is in progress due to a control request reception data error or a selection return request or system switching. Further, the control request reception data abnormality occurs due to a parity test violation or an illegal data error. In addition, system switching occurs due to the occurrence of a serious failure when the operation mode of the own instance is normal and the operation mode of the partner system is standby. A serious failure occurs due to the disconnection of both local LAN systems or a power failure.

図21は、本発明の実施の形態1における要素・事象対応情報生成手段35のアクション設定処理(ステップST202参照)の例である。イベントにおいて、選択復帰、系切替、重故障発生がそれぞれ指定されているとする。   FIG. 21 is an example of the action setting process (see step ST202) of the element / phenomenon correspondence information generating means 35 in the first embodiment of the present invention. Assume that selective return, system switching, and occurrence of a serious failure are specified in the event.

トップ事象である選択復帰には、次のようなアクション1を設定する。   The following action 1 is set for selective return which is a top event.

アクション1は、モード状態が常用である監視制御サーバが監視制御端末装置に選択復帰要求を送信し、その選択復帰要求に対する選択復帰返信を受信することで、常用の監視制御サーバは状態を「無選択」へと遷移する。続いて常用の監視制御サーバは、上位システムへ選択復帰返信を送信し、上位システムはその選択復帰返信を受信することで「無選択」へと状態を遷移する、というものである。   Action 1 is that the monitoring control server whose mode state is normal transmits a selection return request to the monitoring control terminal device and receives a selection return reply for the selection return request, so that the normal monitoring control server changes the state to “none”. Transition to “Select”. Subsequently, the regular monitoring control server transmits a selective return reply to the host system, and the host system receives the selective return reply and transitions the state to “no selection”.

中間事象である系切替には、次のようなアクション2を設定する。   The following action 2 is set for system switching which is an intermediate event.

アクション2は、監視制御サーバにおいて稼働中のタイマt3がリセットされることと、上位システムにおいて、稼働中のタイマt4がリセットされることを示している。   Action 2 indicates that the timer t3 operating in the monitoring control server is reset and the timer t4 operating in the host system is reset.

アクション3は、監視制御サーバにおいて要素「重故障発生」が起こることを示している。   Action 3 indicates that the element “serious failure” occurs in the monitoring control server.

図22は、本発明の実施の形態1における要素・事象対応情報生成手段35の要素・事象対応情報生成処理の例である。   FIG. 22 is an example of the element / event correspondence information generation process of the element / event correspondence information generation means 35 in the first embodiment of the present invention.

メッセージシーケンス情報31における、監視制御サーバがタイマt4を開始した後の要素と、事象因果関係モデル33における、「重故障発生」事象とを対応付けている。   The element in the message sequence information 31 after the monitoring control server starts the timer t4 is associated with the “serious failure occurrence” event in the event causal relationship model 33.

本発明の実施の形態1におけるエラー処理付加手段37及びエラー処理導出手段39の動作例について述べる。   An operation example of the error processing adding unit 37 and the error processing deriving unit 39 in the first embodiment of the present invention will be described.

まず、エラー処理付加手段37は、ステップST301において、要素・事象対応情報記憶手段38から要素・事象対応情報を1つ、すなわち、1つの要素に対応する事象の情報を取得する。本例では、監視制御サーバがタイマt4を開始した後における要素と、「重故障発生」事象との対応情報を取得する(図22参照)。   First, in step ST301, the error processing adding means 37 acquires one element / event correspondence information from the element / event correspondence information storage means 38, that is, information on an event corresponding to one element. In this example, the monitoring control server acquires correspondence information between the elements after starting the timer t4 and the “serious failure occurrence” event (see FIG. 22).

ステップST303において、ステップST300において取得したメッセージシーケンス情報31から、ステップST302において取得した1つの要素に関連する各インスタンスの状態を取得する。本例では、上位システム、監視制御サーバ、監視端末装置の状態は「選択完了」である。   In step ST303, the state of each instance related to one element acquired in step ST302 is acquired from the message sequence information 31 acquired in step ST300. In this example, the statuses of the host system, the monitoring control server, and the monitoring terminal device are “selection complete”.

ステップST304では、ステップST303で取得した各インスタンスの状態と、ステップST301で取得した、1つの要素の要素・事象対応情報とをエラー処理導出手段39へ渡す。   In step ST304, the state of each instance acquired in step ST303 and the element / event correspondence information of one element acquired in step ST301 are passed to the error processing deriving means 39.

一方、エラー処理導出手段39は、ステップST351においてエラー処理付加手段37から指定された事象、すなわち、作業対象メッセージシーケンス情報の1つの要素に対応する事象を、作業対象事象として記憶する。本例では、監視制御サーバがタイマt3を開始した後の要素と、「重故障発生」事象との要素・事象対応情報を取得しているため、作業対象事象は「重故障発生」事象となる。   On the other hand, the error process deriving unit 39 stores an event designated by the error process adding unit 37 in step ST351, that is, an event corresponding to one element of the work target message sequence information as a work target event. In this example, since the monitoring control server has acquired the element / event correspondence information of the element after starting the timer t3 and the “major fault occurrence” event, the work target event becomes the “major fault occurrence” event. .

ステップST352で、作業対象事象のアクションとその実行条件とを、要素・事象対応情報記憶手段38から取得する。本例では、図21で示したアクション3が設定されている。なお、実行条件は未設定である。   In step ST352, the action of the work target event and its execution condition are acquired from the element / phenomenon correspondence information storage means 38. In this example, action 3 shown in FIG. 21 is set. Execution conditions are not set.

ステップST354で、作業対象事象のアクションと実行条件とを記憶し、ステップST355で、作業対象事象の上位事象が存在するかチェックする。本例では、上位事象として中間事象「系切替」が存在するので、ステップST356へ進む。   In step ST354, the action and execution condition of the work target event are stored, and in step ST355, it is checked whether there is a higher event of the work target event. In this example, since the intermediate event “system switching” exists as a higher-level event, the process proceeds to step ST356.

ステップST356では、上位事象が発生する条件をチェックし、ステップST357へ進む。本例では、自系のモード状態が常用で、かつ相手系のモード状態が待機のときに系切替が発生する。   In step ST356, the conditions under which a higher-level event occurs are checked, and the process proceeds to step ST357. In this example, system switching occurs when the mode state of the own system is normal and the mode state of the partner system is standby.

ステップST357では、上位事象が発生する条件が系切替に関係するかどうか判定する。本例では系切替に関係するので、ステップST359へ進む。   In step ST357, it is determined whether or not the condition for causing the higher-level event is related to system switching. Since this example relates to system switching, the process proceeds to step ST359.

ステップST359では、上位事象「系切替」を作業対象事象に設定し、ST352へ進む。   In step ST359, the higher-level event “system switching” is set as a work target event, and the process proceeds to ST352.

ステップST352において、作業対象事象は「系切替」で、そのアクションはアクション2である。なお、アクション2の実行条件は未設定である。ST353、ステップST354を経て、作業対象事象「系切替」のアクション2を取得し、ステップST355へ進む。ステップST355では、作業対象事象「系切替」の上位事象が存在するか調べる。本例では、上位事象として選択復帰が存在するため、ステップST356へ進む。   In step ST <b> 352, the work target event is “system switching”, and the action is action 2. The execution condition for action 2 is not set. Through ST353 and step ST354, action 2 of the work target event “system switching” is acquired, and the process proceeds to step ST355. In step ST355, it is checked whether there is an upper event of the work target event “system switch”. In this example, since selection return exists as an upper event, the process proceeds to step ST356.

ステップST356では、上位事象である選択復帰が発生する条件をチェックし、ステップST357へ進む。選択復帰が発生する条件は、選択中のとき系切替が発生したときである。本例では監視制御サーバの状態は選択中であるため、選択復帰が発生する。   In step ST356, a condition for causing selective return, which is a higher-order event, is checked, and the process proceeds to step ST357. The condition for the return of selection is when system switching occurs during selection. In this example, since the state of the monitoring control server is being selected, selection return occurs.

ステップST357では上位事象が発生する条件が系切替に関係するかどうか判定する。本例では関係が無いため、ステップST358へ進む。ステップST358では、上位事象が発生するかどうか判定する。本例では上位事象である選択復帰が発生するので、ステップST359へ進む。   In step ST357, it is determined whether or not the condition for causing the upper event is related to system switching. Since there is no relationship in this example, the process proceeds to step ST358. In step ST358, it is determined whether an upper event occurs. In this example, selection return, which is a higher-order event, occurs, so the process proceeds to step ST359.

ステップST359では、上位事象である選択復帰を作業対象事象に設定し、ステップST352へ進む。   In step ST359, selection return which is a higher-order event is set as a work target event, and the process proceeds to step ST352.

ステップST352では作業対象事象である選択復帰のアクションと実行条件を取得し、ステップST353へ進む。本例では選択復帰のアクションはアクション1である。実行条件は未設定である。   In step ST352, the action and execution condition for selective return that is a work target event are acquired, and the process proceeds to step ST353. In this example, the action for selection return is action 1. Execution conditions are not set.

ステップST353、ステップST354を経て、ステップST355に進む。ステップST355では、作業対象事象の上位事象が存在するかどうかを判定する。本例では、選択復帰の上位事象が存在しないので、ステップST360へ進む。   It progresses to step ST355 through step ST353 and step ST354. In step ST355, it is determined whether there is an upper event of the work target event. In this example, since there is no upper event of selective return, the process proceeds to step ST360.

ステップST360において、記憶した事象のアクションと実行条件とを、エラー処理としてエラー処理付加手段37に渡す。本例では、事象に設定されたアクション3、及び、当該事象に起因して生じるアクション2と1を記憶している。   In step ST360, the stored action of the event and the execution condition are passed to the error processing adding unit 37 as error processing. In this example, action 3 set for an event and actions 2 and 1 caused by the event are stored.

さらに、エラー処理付加手段37は、ステップST401で、ステップST301で取得した1つの要素が発生するまでの作業対象メッセージシーケンス情報に、対応する事象が発生した情報を付加する。本例では、監視制御サーバがタイマt3を開始した後の要素で事象「重故障発生」が発生した情報を付加する。   Further, in step ST401, the error processing adding unit 37 adds information on occurrence of the corresponding event to the work target message sequence information until one element acquired in step ST301 occurs. In this example, information on the occurrence of the event “serious failure” is added as an element after the monitoring control server starts the timer t3.

続いて、ステップST402で、エラー処理導出手段39が記憶したエラー処理を取り出す。具体的には、事象に設定されたアクションと、当該事象に起因して生じたアクションとを、記憶した順に取り出す。   Subsequently, in step ST402, the error process stored by the error process deriving unit 39 is taken out. Specifically, the action set for the event and the action caused by the event are extracted in the stored order.

本例では、まずアクション3を取り出して、ステップST404へ進む。ステップST404では、エラー処理の中に構成制御条件が設定されているかどうかを判定する。アクション3では設定されていないので、ステップST406へ進む。本例では、アクション3の実行条件が設定されていないので、ステップST408へ進む。   In this example, first, action 3 is extracted, and the process proceeds to step ST404. In step ST404, it is determined whether a configuration control condition is set in the error process. Since it is not set in action 3, the process proceeds to step ST406. In this example, since the execution condition of action 3 is not set, the process proceeds to step ST408.

ステップST408では、作業対象メッセージシーケンス情報にステップST402のアクションを付加してステップST402へ進む。本例では、監視制御サーバで重故障が発生したアクション3を付加する。   In step ST408, the action of step ST402 is added to the work target message sequence information, and the process proceeds to step ST402. In this example, action 3 in which a serious failure has occurred in the monitoring control server is added.

ステップST402では、アクション2を取り出し、ステップST404へ進む。   In step ST402, action 2 is taken out and the process proceeds to step ST404.

ステップST404では構成制御条件が設定されているか判定する。アクション2は構成制御条件が設定されているため、ステップST405の機器・構成制御情報付加処理へ進む。   In step ST404, it is determined whether a configuration control condition is set. In action 2, since the configuration control condition is set, the process proceeds to the device / configuration control information addition processing in step ST405.

ステップST405の詳細フローチャートにおいて、ステップST420で、対象システムの現在状態における、メッセージシーケンス情報のみを生成するか、すべての組み合わせを出力するかを指定する。   In the detailed flowchart of step ST405, it is designated in step ST420 whether to generate only message sequence information or output all combinations in the current state of the target system.

全ての組み合わせを出力する場合は、ステップST423へ進む。   If all combinations are output, the process proceeds to step ST423.

ステップST423の詳細フローチャートにおいて、ステップST470で機器・構成制御情報DBから、系切替対象となるインスタンスを取得し、ST471へ進む。本例では、監視制御サーバである。   In the detailed flowchart of step ST423, in step ST470, an instance that is a system switching target is acquired from the device / configuration control information DB, and the process proceeds to ST471. In this example, it is a monitoring control server.

ステップST471では、ステップST401の作業対象メッセージシーケンス情報に、ステップST470で取得したインスタンスを付加し、ステップST472へ進む。本例では、監視制御を付加し、機器・構成制御情報DBから、従来からある監視制御サーバを監視制御サーバ1、追加した監視制御サーバを監視制御サーバ2とする。   In step ST471, the instance acquired in step ST470 is added to the work target message sequence information in step ST401, and the process proceeds to step ST472. In this example, supervisory control is added, and the conventional supervisory control server is designated as supervisory control server 1 and the added supervisory control server is designated as supervisory control server 2 from the device / configuration control information DB.

ステップST472では、機器・構成制御情報DBから、取りうるモード状態の全組合せを取得し、ステップST473へ進む。本例では、(サーバ1、サーバ2)=(常用、待機)、(常用、保守)、(待機、常用)、(保守、待機)の4パターンである。   In step ST472, all combinations of possible mode states are acquired from the device / configuration control information DB, and the process proceeds to step ST473. In this example, there are four patterns: (server 1, server 2) = (normal, standby), (normal, maintenance), (standby, normal), (maintenance, standby).

ステップST473へでは、ステップST472で取得したモード状態の組合せ分だけ作業対象メッセージシーケンス情報コピーを作成し、ステップST474へ進む。本例では、作業対象メッセージシーケンス情報コピーを4つ作成する。   In step ST473, the work target message sequence information copy is created for the combination of the mode states acquired in step ST472, and the process proceeds to step ST474. In this example, four work target message sequence information copies are created.

ステップST474では、ステップST472で取得した取りうるモード状態の全組合せを満たすように、ステップST473のメッセージシーケンス情報の各インスタンスのモード状態を追加し、ステップST406へ進む。本例では、ステップST472で取得したサーバ1、サーバ2が取りうるモード状態をそれぞれのコピーに追加する。   In step ST474, the mode state of each instance of the message sequence information in step ST473 is added so as to satisfy all combinations of possible mode states acquired in step ST472, and the process proceeds to step ST406. In this example, the mode states that can be taken by the server 1 and the server 2 acquired in step ST472 are added to the respective copies.

ステップST406では、ステップST408において、アクション2を作業対象メッセージシーケンス情報に付加する。このとき、ステップST473で作成した各コピーに対して、構成制御条件を満たすコピーに対しては、アクション2を付加する。満たさないコピーに対しては、ステップST409へ進む。   In step ST406, action 2 is added to the work target message sequence information in step ST408. At this time, action 2 is added to each copy created in step ST473 for a copy that satisfies the configuration control condition. For unsatisfied copies, the process proceeds to step ST409.

以下同様に、アクション1を取り出し、アクション2を付加したステップST473のコピーに対してはアクション1を付加する。   Similarly, action 1 is taken out and action 1 is added to the copy of step ST473 to which action 2 is added.

図23は、監視制御サーバ1が常用モードで、監視制御サーバ2が待機モードである場合のエラー処理付加メッセージシーケンス情報40である。一方、図24は監視制御サーバ1が常用モードで、監視制御サーバ2が保守モードである場合のエラー処理付加メッセージシーケンス情報40である。   FIG. 23 shows error processing additional message sequence information 40 when the monitoring control server 1 is in the normal mode and the monitoring control server 2 is in the standby mode. On the other hand, FIG. 24 shows error processing additional message sequence information 40 when the monitoring control server 1 is in the normal mode and the monitoring control server 2 is in the maintenance mode.

図23では、系切替が発生し、系切替の上位事象である選択復帰のアクションが付加されている。一方、図24では、系切替が発生しないため、その上位事象である選択復帰のアクションは付加されていない。   In FIG. 23, system switching occurs, and an action for selective return, which is an upper event of system switching, is added. On the other hand, in FIG. 24, since system switching does not occur, the action of selective return that is the higher-order event is not added.

ステップST420において、機器・構成制御情報の現在情報のみを生成する場合、ST422へ進む。   In step ST420, when only the current information of the device / configuration control information is generated, the process proceeds to ST422.

ステップST422の詳細フローチャートであるステップST430において、機器・構成制御情報DBから、系切替対象となるインスタンスを取得し、ステップST431へ進む。本例では、監視制御サーバである。   In step ST430, which is a detailed flowchart of step ST422, an instance that is a system switching target is acquired from the device / configuration control information DB, and the process proceeds to step ST431. In this example, it is a monitoring control server.

ステップST431では、機器・構成制御情報現在値取得手段から、系切替対象となるインスタンスの現在状態を取得し、ステップST432へ進む。   In step ST431, the current state of the instance to be system-switched is acquired from the device / configuration control information current value acquisition unit, and the process proceeds to step ST432.

ステップST432の詳細フローチャートであるステップST450において、ステップST401の作業対象メッセージシーケンス情報にステップST430で取得したインスタンスを付加し、ステップST451へ進む。本例では、監視制御サーバを付加する。   In step ST450, which is a detailed flowchart of step ST432, the instance acquired in step ST430 is added to the work target message sequence information in step ST401, and the process proceeds to step ST451. In this example, a monitoring control server is added.

ステップST451では、ステップST450で取得した系切替対象インスタンスを付加したメッセージシーケンスに、ST431で取得した各インスタンスの現在のモード状態を付加する。本例において、監視制御サーバ1、監視制御サーバ2のモード状態がそれぞれ常用、保守の場合のエラー処理付加メッセージシーケンス情報40が図24である。現在状態以外のモード状態におけるエラー処理付加メッセージシーケンス情報40は生成されない。   In step ST451, the current mode state of each instance acquired in ST431 is added to the message sequence to which the system switching target instance acquired in step ST450 is added. In this example, FIG. 24 shows error processing additional message sequence information 40 when the mode states of the monitoring control server 1 and the monitoring control server 2 are normal and maintenance, respectively. Error processing additional message sequence information 40 in a mode state other than the current state is not generated.

上述の構成とすることで、機器・構成制御現在値情報から機器の状態の現在値を機器・構成制御情報現在値取得手段が取得し、現在の多重系システムの運転状態におけるエラー処理付加メッセージシーケンス情報のみを生成する。これにより、現在の多重系システムの運転状態からは発生することが無いエラー処理付加メッセージシーケンス情報を抑制することができる。   With the above-described configuration, the device / configuration control information current value acquisition unit acquires the current value of the device status from the device / configuration control current value information, and an error processing additional message sequence in the current operation state of the multiplex system Generate information only. Thereby, it is possible to suppress error processing additional message sequence information that does not occur from the current operating state of the multiplex system.

<A−4.効果>
本発明の実施の形態1にかかるメッセージシーケンス生成方法によれば、(a)メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報をデータ処理のために準備する工程と、(b)インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルをデータ処理のために準備する工程と、(c)インスタンスのモード情報を含む機器・構成制御情報と、機器・構成制御情報の現在値とをデータベースに記憶する工程と、(d)事象因果関係モデルにおける特定の事象に対し、当該事象が生じた場合に行うアクションを設定する工程と、(e)メッセージシーケンス情報の各要素と、各事象とを対応付け、要素・事象対応情報を生成する工程と、(f)要素・事象対応情報を記憶装置に記憶する工程と、(g)要素・事象対応情報から、各要素に対応する各事象及び当該事象に起因して生じる事象にそれぞれ設定されたアクションを取得し、エラー処理として各要素に付加する工程と、(h)メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるメッセージシーケンス情報を生成する工程とを備え、コンピュータによるデータ処理によって各工程を実行するので、事象因果関係モデルにより事象間の因果関係を考慮しつつ系切替が伴う場合を含むエラー処理を付加することができるので、効率的にエラー処理付加メッセージシーケンス図を生成することができる。
<A-4. Effect>
According to the message sequence generation method according to the first exemplary embodiment of the present invention, (a) a step of preparing message sequence information indicating normal processing of a communication protocol using a message sequence diagram for data processing; ) A step of preparing an event causal relationship model in which an event accompanied by mode switching of an instance and an event requiring error processing are described together with a causal relationship for data processing; and (c) a device / configuration including mode information of the instance Storing the control information and the current value of the device / configuration control information in the database; and (d) setting an action to be performed when the event occurs for a specific event in the event causal relationship model; (E) Corresponding each element of the message sequence information and each event to generate element / event correspondence information A process, (f) a step of storing element / event correspondence information in a storage device, and (g) each element corresponding to each element and an event caused by the event are set from the element / event correspondence information. And (h) generating message sequence information in the current mode state of the system targeted by the message sequence information, and performing data processing by a computer. Since each process is executed, error processing including cases involving system switching can be added while considering the causal relationship between events by the event causal relationship model, so that an error processing additional message sequence diagram is efficiently generated. be able to.

また、
本発明の実施の形態1にかかるメッセージシーケンス生成装置によれば、(メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報と、インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルと、インスタンスのモード情報を含む機器・構成制御情報と、機器・構成制御情報の現在値とを記憶するデータベースと、事象因果関係モデルにおける特定の事象に対し、当該事象が生じた場合に行うアクションを設定する設定手段と、メッセージシーケンス情報の各要素と、各事象とを対応付け、要素・事象対応情報を生成する対応情報生成手段と、要素・事象対応情報を記憶する記憶手段と、要素・事象対応情報から、各要素に対応する各事象及び当該事象に起因して生じる事象にそれぞれ設定されたアクションを取得し、エラー処理として各要素に付加する付加手段と、メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるメッセージシーケンス情報を生成する情報生成手段とを備えるので、事象因果関係モデルにより事象間の因果関係を考慮しつつ系切替が伴う場合を含むエラー処理を付加することができるので、効率的にエラー処理付加メッセージシーケンス図を生成することができる。
Also,
According to the message sequence generation device according to the first exemplary embodiment of the present invention, (message sequence information indicating normal processing of a communication protocol using a message sequence diagram, an event accompanied by instance mode switching, and error processing are required. An event-causal relationship model described with a causal relationship with a particular event, a database storing device / configuration control information including instance mode information, and the current value of the device / configuration control information, and a specific event-causal relationship model A setting means for setting an action to be performed when an event occurs for an event, each element of message sequence information, each event is associated with each other, correspondence information generating means for generating element / event correspondence information, and an element・ Storage means for storing event response information and element / event response information Acquiring each action event and the action set for the event caused by the event, adding to each element as error processing, and message in the current mode state of the system targeted by the message sequence information Since there is an information generation means that generates sequence information, error processing including cases involving system switching can be added while considering the causal relationship between events using the event causal relationship model, so error processing can be added efficiently A message sequence diagram can be generated.

さらに、事象因果関係モデルにより事象間の因果関係を考慮しつつ系切替が伴う場合を含むエラー処理において、メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるエラー処理を付加することができるので、効率的にエラー処理付加メッセージシーケンス図を生成することができる。   In addition, error processing in the current mode state of the system targeted by the message sequence information can be added in error processing including cases involving system switching while considering the causal relationship between events by the event causal relationship model. Thus, it is possible to efficiently generate an error processing additional message sequence diagram.

<B.実施の形態2>
<B−1.構成>
図29は、本発明の実施の形態によるメッセージシーケンス生成装置44の構成を示すブロック図である。ブロック図の構成要素のうち、インスタンス抽象化事象因果関係モデル303、インスタンス抽象化事象因果関係モデル具体化手段以外は、実施の形態1と同様の構成であるので、詳細な説明は省略する。
<B. Second Embodiment>
<B-1. Configuration>
FIG. 29 is a block diagram showing a configuration of the message sequence generation device 44 according to the embodiment of the present invention. Among the constituent elements of the block diagram, except for the instance abstraction event causal relationship model 303 and the instance abstraction event causal relationship model specifying means, the configuration is the same as that of the first embodiment, and detailed description thereof will be omitted.

図30は、インスタンス抽象化事象因果関係モデルの例を示す。実施の形態1の事象因果関係モデル33では、系切替の条件を具体的な各インスタンスの情報を用いて記述する必要があった。図20の事象因果関係モデル33の例では、系切替が発生する条件を自系と他系のインスタンスを具体的に用いて記述する必要があった。   FIG. 30 shows an example of an instance abstraction event causal model. In the event-causal relationship model 33 of the first embodiment, it is necessary to describe the system switching condition using specific information on each instance. In the example of the event-causal relationship model 33 in FIG. 20, it is necessary to describe the conditions for system switching by specifically using the instances of the own system and other systems.

図30において、系切替発生条件における他系のインスタンスを、「他系X」として抽象化して記述してある。   In FIG. 30, an instance of another system in the system switching occurrence condition is abstracted and described as “other system X”.

インスタンス抽象化事象因果関係モデルにより、三重構成以上の多重系システムに関係する系切替条件を容易に記述することができる。   The instance abstraction event-causal model can easily describe system switching conditions related to a multi-system with a triple structure or higher.

図31は、インスタンス抽象化事象因果関係モデル具体化手段の動作を示すフローチャートである。ステップST500にて、インスタンス抽象化事象因果関係モデルの事象を一つ取得し、ステップST501へ進む。   FIG. 31 is a flowchart showing the operation of the instance abstraction event-causal model realization means. In step ST500, one event of the instance abstraction event causal relationship model is acquired, and the process proceeds to step ST501.

ステップST501にて、ステップST500の事象が取得できたか判定する。取得できた場合はステップST502へ進む。取得できなかった場合は、ST507へ進む。   In step ST501, it is determined whether the event of step ST500 has been acquired. If it can be obtained, the process proceeds to step ST502. If not acquired, the process proceeds to ST507.

ステップST502では、ステップST500の事象が抽象化インスタンスに関係する事象か判定する。関係する場合はステップST503へ進む。関係ない場合はステップST500へ進む。抽象化インスタンスに関係する事象かどうかは、モード状態が記載されている事象のインスタンスが、具体的なインスタンス名であるかどうかで判別する。   In step ST502, it is determined whether the event in step ST500 is an event related to the abstraction instance. If so, the process proceeds to step ST503. If not, the process proceeds to step ST500. Whether or not the event is related to the abstract instance is determined by whether or not the instance of the event in which the mode state is described is a specific instance name.

ステップST503では、機器・構成制御情報現在値取得手段から、各インスタンスのモード状態を取得し、ステップST504へ進む。本例では、サーバ1のモード状態は常用、サーバ2のモード状態は待機である(図6参照)。   In step ST503, the mode state of each instance is acquired from the device / configuration control information current value acquisition unit, and the process proceeds to step ST504. In this example, the mode state of the server 1 is normal, and the mode state of the server 2 is standby (see FIG. 6).

ステップST504では、機器・構成制御情報DBから、系切替優先度を取得してステップST505へ進む。本例では、サーバ1の系切替優先度は1で、サーバ2の系切替優先度は2である。   In step ST504, the system switching priority is acquired from the device / configuration control information DB, and the process proceeds to step ST505. In this example, the system switching priority of the server 1 is 1, and the system switching priority of the server 2 is 2.

ステップST505では、抽象化インスタンスを置換するインスタンスを検索し、ステップST506へ進む。本例では、現在待機系である監視制御サーバはサーバ2のみであるため、サーバ2が取得される。複数の待機系が存在している場合は、最も系切替優先度が高い待機系が取得される。   In step ST505, an instance that replaces the abstraction instance is searched, and the process proceeds to step ST506. In this example, since the server 2 is the only monitoring control server that is currently a standby system, the server 2 is acquired. If there are multiple standby systems, the standby system with the highest system switching priority is acquired.

ステップST506にて、ステップST500で取得した抽象化インスタンスをステップST505で取得したインスタンスで置換し、ステップST500へ進む。本例では、他系Xはサーバ2で置換される。   In step ST506, the abstraction instance acquired in step ST500 is replaced with the instance acquired in step ST505, and the process proceeds to step ST500. In this example, the other system X is replaced by the server 2.

ステップST507では、エラー処理導出手段に抽象化インスタンスが具体的なインスタンスで置換された事象因果関係モデルを渡す。   In step ST507, the event causal relationship model in which the abstract instance is replaced with a specific instance is passed to the error processing deriving unit.

図32は、本発明の実施の形態2により生成された、事象因果関係モデルの例である。インスタンス化抽象事象因果関係モデル中の事象「他系X:待機モード」が、「監視制御サーバ2:待機モード」と、対象システムの現在状態において、適切な具体的なインスタンスにより抽象化インスタンスが置換されている。   FIG. 32 is an example of an event causal relationship model generated according to the second embodiment of the present invention. In the instantiation abstract event causality model, the event “other system X: standby mode” is replaced with “monitoring control server 2: standby mode”, and the current instance of the target system replaces the abstract instance with an appropriate concrete instance. Has been.

<B−4.効果>
本発明の実施の形態2のメッセージシーケンス生成方法によれば、(a)メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報をデータ処理のために準備する工程と、(b)インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルをデータ処理のために準備する工程と、(c)インスタンスのモード情報を含む機器・構成制御情報と、機器・構成制御情報の現在値とをデータベースに記憶する工程と、(d)事象因果関係モデルにおける特定の事象に対し、当該事象が生じた場合に行うアクションを設定する工程と、(e)メッセージシーケンス情報の各要素と、各事象とを対応付け、要素・事象対応情報を生成する工程と、(f)要素・事象対応情報を記憶装置に記憶する工程と、(g)要素・事象対応情報から、各要素に対応する各事象及び当該事象に起因して生じる事象にそれぞれ設定されたアクションを取得し、エラー処理として各要素に付加する工程と、(h)メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるメッセージシーケンス情報を生成する工程と、(i)機器・構成制御情報と、機器・構成制御情報の現在値と、事象因果関係モデルとからインスタンスのモード切替発生条件を記述した事象因果関係モデルを生成する工程とを備えたので、具体的なインスタンスに関係する系切替発生条件を記述した事象因果関係モデルを生成することができる。
<B-4. Effect>
According to the message sequence generation method of the second embodiment of the present invention, (a) preparing message sequence information for normal processing of a communication protocol using a message sequence diagram for data processing; and (b) A step of preparing an event-causal relation model describing together with a causal relation between an event accompanied by mode switching of the instance and an event requiring error processing, and (c) device / configuration control including mode information of the instance Storing the information and the current value of the device / configuration control information in a database; (d) setting an action to be performed when the event occurs for a specific event in the event causality model; e) A step of associating each element of message sequence information with each event to generate element / event correspondence information (F) storing element / event correspondence information in the storage device; and (g) actions set for each event corresponding to each element and an event caused by the event from the element / event correspondence information. And (h) generating message sequence information in the current mode state of the system targeted by the message sequence information; (i) device / configuration control information; , A process to generate an event causal relationship model describing the mode switching occurrence conditions of the instance from the current value of the device / configuration control information and the event causal relationship model, so that system switching related to a specific instance occurs An event-causal relationship model describing conditions can be generated.

また、本発明の実施の形態2のメッセージシーケンス生成装置によれば、メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報と、インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルと、インスタンスのモード情報を含む機器・構成制御情報と、機器・構成制御情報の現在値とを記憶するデータベースと、事象因果関係モデルにおける特定の事象に対し、当該事象が生じた場合に行うアクションを設定する設定手段と、メッセージシーケンス情報の各要素と、各事象とを対応付け、要素・事象対応情報を生成する対応情報生成手段と、要素・事象対応情報を記憶する記憶手段と、要素・事象対応情報から、各要素に対応する各事象及び当該事象に起因して生じる事象にそれぞれ設定されたアクションを取得し、エラー処理として各要素に付加する付加手段と、メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるメッセージシーケンス情報を生成する情報生成手段と、機器・構成制御情報と、機器・構成制御情報の現在値と、事象因果関係モデルとからインスタンスのモード切替発生条件を記述した事象因果関係モデルを生成するモデル生成手段とを備えたので、具体的なインスタンスに関係する系切替発生条件を記述した事象因果関係モデルを生成することができる。   In addition, according to the message sequence generation device of the second exemplary embodiment of the present invention, message sequence information indicating normal processing of the communication protocol using the message sequence diagram, an event accompanied by instance mode switching, and error processing are required. An event-causal relationship model described with a causal relationship with a particular event, a database storing device / configuration control information including instance mode information, and the current value of the device / configuration control information, and a specific event-causal relationship model A setting means for setting an action to be performed when an event occurs for an event, each element of message sequence information, each event is associated with each other, correspondence information generating means for generating element / event correspondence information, and an element・ Storage means for storing event response information and element / event response information Acquisition means, an action set for each event that occurs due to the event, and an addition means for adding to each element as error processing, and a message sequence in the current mode state of the system targeted by the message sequence information Information generation means for generating information, model generation for generating an event causal relationship model describing the mode switching occurrence condition of the instance from the device / configuration control information, the current value of the device / configuration control information, and the event causal relationship model Therefore, it is possible to generate an event-causal relationship model describing a system switching occurrence condition related to a specific instance.

さらに、事象因果関係モデルにより事象間の因果関係を考慮しつつ系切替が伴う場合を含むエラー処理において、メッセージシーケンス情報が対象とするシステムの現在のモード状態におけるエラー処理を付加することができるので、効率的にエラー処理付加メッセージシーケンス図を生成することができる。   In addition, error processing in the current mode state of the system targeted by the message sequence information can be added in error processing including cases involving system switching while considering the causal relationship between events by the event causal relationship model. Thus, it is possible to efficiently generate an error processing additional message sequence diagram.

1 PC、2 CPU、3 記憶装置、4 入力装置、5 出力装置、31,400 メッセージシーケンス情報、32 対応結果出力手段、33 事象因果関係モデル、34 アクション入力手段、35 要素・事象対応情報生成手段、36 要素・事象入力手段、37,42 エラー処理付加手段、38 要素・事象対応情報記憶手段、39,45 エラー処理導出手段、40 エラー処理付加メッセージシーケンス情報、41,44 メッセージシーケンス生成装置、61 インスタンス開始記号、62 インスタンス名、63 ライフライン、64 インスタンス終了記号、65 メッセージ記号、66 メッセージ名、67 タイマ記号、68 タイマ情報、69 状態記号、70 内部アクション記号、81 トップ事象、82 論理積、83 論理和、84 中間事象、85 基本事象、300 タイマリセット記号、301 タイマ発火記号、302 タイマ停止記号、303 インスタンス抽象化事象因果関係モデル、304 インスタンス抽象化事象因果関係モデル具体化手段。   1 PC, 2 CPU, 3 storage device, 4 input device, 5 output device, 31,400 message sequence information, 32 correspondence result output means, 33 event causal relationship model, 34 action input means, 35 element / event correspondence information generation means 36, element / event input means, 37, 42 error processing addition means, 38 element / event correspondence information storage means, 39, 45 error processing derivation means, 40 error processing addition message sequence information, 41, 44 message sequence generation device, 61 Instance start symbol, 62 Instance name, 63 Lifeline, 64 Instance end symbol, 65 Message symbol, 66 Message name, 67 Timer symbol, 68 Timer information, 69 Status symbol, 70 Internal action symbol, 81 Top event, 82 Logical product, 83 logic Sum, 84 Intermediate event, 85 Basic event, 300 Timer reset symbol, 301 Timer firing symbol, 302 Timer stop symbol, 303 Instance abstract event causal relationship model, 304 Instance abstract event causal relationship model realization means.

Claims (4)

(a)メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報をデータ処理のために準備する工程と、
(b)インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルをデータ処理のために準備する工程と、
(c)前記インスタンスのモード情報を含む機器・構成制御情報と、前記機器・構成制御情報の現在値とをデータベースに記憶する工程と、
(d)前記事象因果関係モデルにおける特定の前記事象に対し、当該事象が生じた場合に行うアクションを設定する工程と、
(e)前記メッセージシーケンス情報の各要素と、各前記事象とを対応付け、要素・事象対応情報を生成する工程と、
(f)前記要素・事象対応情報を記憶装置に記憶する工程と、
(g)前記要素・事象対応情報から、各前記要素に対応する各前記事象及び当該事象に起因して生じる事象にそれぞれ設定された前記アクションを取得し、エラー処理として各前記要素に付加する工程と、
(h)前記メッセージシーケンス情報が対象とするシステムの現在のモード状態における前記メッセージシーケンス情報を生成する工程とを備え、
コンピュータによるデータ処理によって前記各工程を実行することを特徴とするメッセージシーケンス生成方法。
(A) preparing message sequence information indicating normal processing of a communication protocol using a message sequence diagram for data processing;
(B) preparing an event-causal relationship model describing, together with a cause-and-effect relationship, an event accompanied by mode switching of an instance and an event requiring error processing for data processing;
(C) storing device / configuration control information including mode information of the instance and a current value of the device / configuration control information in a database;
(D) setting an action to be performed when the event occurs for the specific event in the event-causal relationship model;
(E) associating each element of the message sequence information with each event to generate element / event correspondence information;
(F) storing the element / event correspondence information in a storage device;
(G) From the element / phenomenon correspondence information, acquire the action corresponding to each element and the action set for the event caused by the event, and add it to each element as error processing Process,
(H) generating the message sequence information in a current mode state of a system targeted by the message sequence information,
A method for generating a message sequence, wherein the steps are executed by data processing by a computer.
(i)前記機器・構成制御情報と、前記機器・構成制御情報の現在値と、前記事象因果関係モデルとから前記インスタンスのモード切替発生条件を記述した事象因果関係モデルを生成する工程を備えたことを特徴とする請求項1に記載のメッセージシーケンス生成方法。 (I) including a step of generating an event causal relationship model describing a mode switching occurrence condition of the instance from the device / configuration control information, a current value of the device / configuration control information, and the event causal relationship model. The message sequence generation method according to claim 1, wherein: メッセージシーケンス図を用いた通信プロトコルの正常時処理について示すメッセージシーケンス情報と、
インスタンスのモード切替えを伴う事象と、エラー処理が必要な事象とについて因果関係とともに記述した事象因果関係モデルと、
前記インスタンスのモード情報を含む機器・構成制御情報と、前記機器・構成制御情報の現在値とを記憶するデータベースと、
前記事象因果関係モデルにおける特定の前記事象に対し、当該事象が生じた場合に行うアクションを設定する設定手段と、
前記メッセージシーケンス情報の各要素と、各前記事象とを対応付け、要素・事象対応情報を生成する対応情報生成手段と、
前記要素・事象対応情報を記憶する記憶手段と、
前記要素・事象対応情報から、各前記要素に対応する各前記事象及び当該事象に起因して生じる事象にそれぞれ設定された前記アクションを取得し、エラー処理として各前記要素に付加する付加手段と、
前記メッセージシーケンス情報が対象とするシステムの現在のモード状態における前記メッセージシーケンス情報を生成する情報生成手段とを備えたことを特徴とするメッセージシーケンス生成装置。
Message sequence information indicating normal processing of the communication protocol using the message sequence diagram;
An event-causal relationship model that describes events that involve mode switching of instances and events that require error handling, along with causal relationships;
A database that stores device / configuration control information including mode information of the instance, and a current value of the device / configuration control information;
Setting means for setting an action to be performed when the event occurs with respect to the specific event in the event-causal relationship model;
Correspondence information generating means for associating each element of the message sequence information with each event and generating element / event correspondence information;
Storage means for storing the element / event correspondence information;
Adding means for acquiring each of the events corresponding to each of the elements and the action set for the event caused by the event from the element / event correspondence information, and adding the action to each element as error processing; ,
A message sequence generation device comprising: information generation means for generating the message sequence information in a current mode state of a system targeted by the message sequence information.
前記機器・構成制御情報と、前記機器・構成制御情報の現在値と、前記事象因果関係モデルとから前記インスタンスのモード切替発生条件を記述した事象因果関係モデルを生成するモデル生成手段とを備えたことを特徴とする請求項3に記載のメッセージシーケンス生成装置。 Model generation means for generating an event causal relationship model describing a mode switching occurrence condition of the instance from the device / configuration control information, the current value of the device / configuration control information, and the event causal relationship model The message sequence generation device according to claim 3, wherein
JP2012204553A 2012-09-18 2012-09-18 Message sequence generation method and message sequence generation apparatus Active JP5846084B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012204553A JP5846084B2 (en) 2012-09-18 2012-09-18 Message sequence generation method and message sequence generation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012204553A JP5846084B2 (en) 2012-09-18 2012-09-18 Message sequence generation method and message sequence generation apparatus

Publications (2)

Publication Number Publication Date
JP2014060595A JP2014060595A (en) 2014-04-03
JP5846084B2 true JP5846084B2 (en) 2016-01-20

Family

ID=50616685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012204553A Active JP5846084B2 (en) 2012-09-18 2012-09-18 Message sequence generation method and message sequence generation apparatus

Country Status (1)

Country Link
JP (1) JP5846084B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892833A (en) * 2015-12-30 2016-08-24 乐视致新电子科技(天津)有限公司 Popup message processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006343866A (en) * 2005-06-07 2006-12-21 Canon Inc Information processing apparatus, state transition information generation method, computer program, and storage medium
JP2007094922A (en) * 2005-09-30 2007-04-12 Fuji Electric Holdings Co Ltd Program automatic generation apparatus, method, and program
WO2012137385A1 (en) * 2011-04-04 2012-10-11 三菱電機株式会社 Method for generating message sequence, and device for generating message sequence

Also Published As

Publication number Publication date
JP2014060595A (en) 2014-04-03

Similar Documents

Publication Publication Date Title
CN107908469B (en) A task scheduling method and system
JP6095140B2 (en) Remote monitoring system, remote monitoring method, and program
JP6109662B2 (en) Operation management apparatus, operation management method, and program
CN109088773A (en) Fault self-healing method and device, server and storage medium
CN112764956A (en) Database exception handling system, and database exception handling method and device
CN109542781A (en) Block chain common recognition test of heuristics method, apparatus, computing device and storage medium
JP5846084B2 (en) Message sequence generation method and message sequence generation apparatus
CN115203008A (en) A test method, device, storage medium and equipment
JP5352027B2 (en) Computer system management method and management apparatus
CN113448844B (en) Method and device for regression testing and electronic equipment
JP5031127B1 (en) Message sequence generation method and message sequence generation apparatus
JP2006053728A (en) Failure handling rule propagation method, failure restoration device and program
CN120929313A (en) Fault processing method of multi-control storage system and electronic equipment
CN119127624B (en) Automated testing system and method for direct communication between heterogeneous GPUs
JP2019153055A (en) Cluster system, information processing apparatus, cluster monitoring method, and cluster monitoring program
US20240403186A1 (en) IoT Event Detector Correctness Verification
CN115473828B (en) Fault detection method and system based on simulation network
JPWO2013018219A1 (en) Program creation device and programmable logic controller
CN117193232A (en) RPA-based flow node fault processing method, system, device and medium
JP2016057658A (en) Fault information management system and fault information management method
JP6060123B2 (en) Influence range identification device, influence range identification method, and program
JP6438900B2 (en) Device monitoring control system and device monitoring control method
JP2007233918A (en) Log information collection system, information processor, log information collection method and program
JP2000295242A (en) Monitoring and control system using general-purpose products and its evaluation device
US20260111352A1 (en) Workflow debugging method and system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20140326

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141027

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150902

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20151027

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151109

R151 Written notification of patent or utility model registration

Ref document number: 5846084

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250