JPH08129483A - Event driving type process controller - Google Patents

Event driving type process controller

Info

Publication number
JPH08129483A
JPH08129483A JP6267089A JP26708994A JPH08129483A JP H08129483 A JPH08129483 A JP H08129483A JP 6267089 A JP6267089 A JP 6267089A JP 26708994 A JP26708994 A JP 26708994A JP H08129483 A JPH08129483 A JP H08129483A
Authority
JP
Japan
Prior art keywords
event
state transition
state
transition information
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6267089A
Other languages
Japanese (ja)
Inventor
Eiji Ueda
栄治 植田
Toshitaka Hanaura
敏孝 花浦
Daisaku Suzuki
大作 鈴木
Yoshinori Imanishi
芳典 今西
Hideki Fujimoto
秀樹 藤本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6267089A priority Critical patent/JPH08129483A/en
Publication of JPH08129483A publication Critical patent/JPH08129483A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE: To provide an event driving type process controller in which the development cycle required for the preparation of a processing sequence and correction therefor is shortened and development efficiency is improved. CONSTITUTION: A sequence preparing device 1 generates the processing sequence of an object process in a state that the device 1 is independent of an object process 60. A state transition information storage device 2 is connected with the sequence preparing device 1 by an on-line in a state that the device 2 is independent of the object process 60 and the device 2 stores/controls state transition information 21a, 21b, 21c, 21d,... including the contents of the processing sequence generated by the sequence preparing device 1. An event driving type process execution device 3 includes the object process 60 in its independent state, is connected with the sequence preparing device 1 and the state transition information storage device 2 on-line, and controls the object process 60 based on the classification of the event, the state of the object process and the state transition information 21a, 21b, 21c, 21d,... stored/controlled in the state transition information storage device 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、イベント駆動型プロセ
ス制御装置に関し、より特定的には、イベントの発生お
よび対象プロセスの状態に基づいて、当該対象プロセス
の処理シーケンスに従う制御動作を実行するイベント駆
動型プロセス制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an event driven process control device, and more specifically, an event for executing a control operation according to a processing sequence of a target process based on the occurrence of the event and the state of the target process. The present invention relates to a drive type process control device.

【0002】[0002]

【従来の技術】図9は、従来のイベント駆動型プロセス
制御装置の構成を示す図である。対象プロセス600の
処理シーケンスを生成するために、従来では、紙に状態
遷移表500を作成し、状態遷移表500に基づいて、
対象プロセス600の処理と処理シーケンスとをプログ
ラミングするようにしていた。
2. Description of the Related Art FIG. 9 is a diagram showing the structure of a conventional event-driven process control device. In order to generate the processing sequence of the target process 600, conventionally, a state transition table 500 is created on paper and based on the state transition table 500,
The processing and the processing sequence of the target process 600 are programmed.

【0003】すなわち、状態遷移表500には、対象プ
ロセス600に対するイベント700の種類を表すイベ
ント種別502と、対象プロセス600の内部状態を表
す状態種別501と、イベント種別502と状態種別5
01との組み合わせに基づいて特定のイベントを受信し
た場合に実行する処理、その処理の順序、および処理の
実行後に対象プロセス600が遷移する状態が設定され
る処理種別503とが設計される。状態遷移表500に
おいて設計された処理シーケンスは、対象プロセス60
0の一部としてプログラミングされる。このプログラミ
ングされた処理シーケンスは、対象プロセス600の一
部として機能する。
That is, in the state transition table 500, an event type 502 showing the type of the event 700 for the target process 600, a state type 501 showing the internal state of the target process 600, an event type 502 and a state type 5 are shown.
Based on the combination with 01, a process to be executed when a specific event is received, an order of the process, and a process type 503 in which a state of transition of the target process 600 after the process is set are designed. The processing sequence designed in the state transition table 500 is the target process 60.
Programmed as part of zero. This programmed processing sequence functions as part of the subject process 600.

【0004】対象プロセス600の処理制御部603
は、イベント解析部602が解析したイベント700の
イベント種別と、状態記憶部601が管理している対象
プロセス600の状態とを参照して、プログラミングさ
れた処理シーケンスにしたがって実処理部604に格納
された関数を直接コールし、処理シーケンスの実行後、
次に遷移する対象プロセス600の状態を状態記憶部6
01に設定し、次のイベント700の受信を行なう。
The processing control unit 603 of the target process 600
Is stored in the actual processing unit 604 according to the programmed processing sequence with reference to the event type of the event 700 analyzed by the event analysis unit 602 and the state of the target process 600 managed by the state storage unit 601. Function directly, and after executing the processing sequence,
The state of the target process 600 to which the next transition is made
01 is set and the next event 700 is received.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
イベント駆動型プロセス制御装置では、状態遷移表によ
り処理シーケンスを設計し、処理および処理シーケンス
をプログラムとして実現していたため、処理シーケンス
が、プログラム中にプログラムの制御構造として静的に
埋め込まれた状態になってしまうことになった。このた
め、イベント、状態、処理や、処理シーケンスの変更の
必要が生じた場合、状態遷移表500を用いてイベン
ト、状態、処理や、処理シーケンスを再設計してから対
象プロセスのプログラムを修正する必要があり、イベン
ト、状態、処理や、処理シーケンスの作成や修正にかか
る開発サイクルが長く、開発効率が悪いという第1の問
題点があった。また、修正したイベント、状態、処理
や、処理シーケンスの検証を行なうには、検証期間中一
般のイベントの受付を停止する必要があるため、プロセ
スの稼働率が低下するという第2の問題点があった。
However, in the conventional event-driven process control device, the processing sequence is designed by the state transition table, and the processing and the processing sequence are realized as a program. It became a statically embedded state as the control structure of the program. Therefore, when it is necessary to change the event, state, processing, or processing sequence, the event, state, processing, or processing sequence is redesigned using the state transition table 500, and then the program of the target process is modified. There is a first problem that the development cycle is long and the development efficiency is low for the event, the state, the processing, and the creation and modification of the processing sequence. In addition, in order to verify the corrected event, state, processing, and processing sequence, it is necessary to stop the reception of general events during the verification period, which causes a second problem that the operation rate of the process decreases. there were.

【0006】それゆえに、本発明は、イベント、状態、
処理や、処理シーケンスの作成やその修正にかかる開発
サイクルを短縮し、開発効率を向上したイベント駆動型
プロセス制御装置を提供することを第1の目的とする。
Therefore, the present invention provides for events, states,
It is a first object of the present invention to provide an event-driven process control device that shortens a development cycle for processing and creation and modification of a processing sequence and improves development efficiency.

【0007】また、本発明は、プロセスの稼働効率を向
上したイベント駆動型プロセス制御装置を提供すること
を第2の目的とする。
A second object of the present invention is to provide an event-driven process control device with improved process operating efficiency.

【0008】[0008]

【課題を解決するための手段】請求項1に係る発明は、
イベントの発生および対象プロセスの状態に基づいて、
当該対象プロセスの処理シーケンスに従う制御動作を実
行するイベント駆動型プロセス制御装置であって、対象
プロセスと独立した状態で、対象プロセスの処理シーケ
ンスを生成するシーケンス作成装置、対象プロセスと独
立した状態で、シーケンス作成装置とオンライン接続さ
れ、シーケンス作成装置により生成された処理シーケン
スの内容を含む状態遷移情報を記憶・管理する状態遷移
情報記憶装置、および対象プロセスを独立した状態で含
み、シーケンス作成装置および状態遷移情報記憶装置と
オンライン接続され、イベントの種別と対象プロセスの
状態と、状態遷移情報記憶装置に記憶・管理された状態
遷移情報とに基づいて、対象プロセスを制御するイベン
ト駆動型プロセス実行装置を備える。
The invention according to claim 1 is
Based on the occurrence of the event and the state of the target process,
An event-driven process control device that executes a control operation according to the processing sequence of the target process, in a state independent of the target process, a sequence creation device that generates a processing sequence of the target process, in a state independent of the target process, A state transition information storage device that is online connected to the sequence generation device and that stores and manages state transition information including the contents of the processing sequence generated by the sequence generation device, and a target process in an independent state. An event-driven process execution device that is online connected to the transition information storage device and controls the target process based on the type of event, the state of the target process, and the state transition information stored and managed in the state transition information storage device. Prepare

【0009】請求項2に係る発明は、請求項1に記載の
ものにおいて、シーケンス作成装置は、イベント駆動型
プロセス実行装置に対するイベントの種別を設定するた
めのイベントテーブル、対象プロセスの内部状態の種別
を設定するための状態テーブル、対象プロセスの処理の
種別を設定するための処理テーブル、対象プロセスの状
態遷移手順を設定するための状態遷移テーブル、および
イベントテーブルに設定されたイベントの種別と、状態
テーブルに設定されたプロセスの内部状態の種別と、処
理テーブルに設定された処理の種別とを参照して、状態
遷移テーブルに状態遷移手順を設定することにより、対
象プロセスの処理シーケンスを生成する状態遷移エディ
タを備える。
According to a second aspect of the present invention, in the first aspect, the sequence creation device includes an event table for setting an event type for the event-driven process execution device, and an internal state type of the target process. Table for setting the process type, the process table for setting the process type of the target process, the state transition table for setting the state transition procedure of the target process, and the event type and state set in the event table A state in which the processing sequence of the target process is generated by setting the state transition procedure in the state transition table with reference to the internal state type of the process set in the table and the type of processing set in the processing table It has a transition editor.

【0010】請求項3に係る発明は、請求項1または2
に記載のものにおいて、イベント駆動型プロセス実行装
置は、さらに、対象プロセスと独立した状態で、対象プ
ロセスの制御を行う状態遷移エンジンを含み、状態遷移
エンジンは、イベントの内容を解析するイベント解析
部、対象プロセスの現在の内部状態を記憶・管理する状
態管理部、イベント解析部が解析したイベントの内容
と、状態管理部が記憶管理している対象プロセスの現在
の内部状態とに基づいて状態遷移情報記憶装置が記憶・
管理する状態遷移情報を解釈する状態遷移情報解釈部、
および状態遷移情報解釈部が解釈した状態遷移情報を参
照して、対象プロセスを制御する実処理制御部を備え
る。
The invention according to claim 3 is the invention according to claim 1 or 2.
The event-driven process execution device further includes a state transition engine that controls the target process in a state independent of the target process, and the state transition engine analyzes the content of the event. , A state management unit that stores and manages the current internal state of the target process, a state transition based on the content of the event analyzed by the event analysis unit and the current internal state of the target process that is stored and managed by the state management unit Information storage device stores
A state transition information interpretation unit that interprets state transition information to be managed,
And an actual processing control unit for controlling the target process by referring to the state transition information interpreted by the state transition information interpretation unit.

【0011】請求項4に係る発明は、請求項3に記載の
ものにおいて、状態遷移エンジンは、さらにイベント解
析部が状態遷移情報解釈部が使用する状態遷移情報の種
別を指定するイベントを受信した場合、状態遷移情報記
憶装置から指定された状態遷移情報をオンラインで選択
する状態遷移情報選択部を備える。
According to a fourth aspect of the present invention, in the third aspect, the state transition engine further receives an event that the event analysis section specifies the type of state transition information used by the state transition information interpretation section. In this case, a state transition information selection unit that online selects the designated state transition information from the state transition information storage device is provided.

【0012】請求項5に係る発明は、請求項3または4
に記載のものにおいて、イベント駆動型プロセス実行装
置は、さらに実処理制御部が対象プロセスの実処理部に
登録されている処理を実行する場合、処理インデックス
と実処理を対応づけるための処理インデックステーブル
を備える。
The invention according to claim 5 is the invention according to claim 3 or 4.
In the one described in (1), the event-driven process execution device further includes a process index table for associating the process index with the actual process when the actual process control unit executes the process registered in the actual process unit of the target process. Equipped with.

【0013】請求項6に係る発明は、請求項5に記載の
ものにおいて、イベント駆動型プロセス実行装置は、さ
らに処理インデックステーブルの内容を処理テーブルの
内容に変換する処理インデックストランスレータを備え
る。
According to a sixth aspect of the present invention, in the fifth aspect, the event driven process execution apparatus further includes a processing index translator for converting the contents of the processing index table into the contents of the processing table.

【0014】請求項7に係る発明は、請求項4に記載の
ものにおいて、シーケンス作成装置は、さらに状態遷移
テーブルまたはイベント解析部に擬似的なイベントを発
生する疑似イベント発生部、状態遷移テーブルに疑似的
な状態を設定する疑似状態設定部、および疑似イベント
発生部がイベント解析部に擬似的なイベントを発生した
場合における状態遷移情報選択部が選択している状態遷
移情報記憶装置の状態遷移情報、または、状態遷移エデ
ィタで選択した任意の状態遷移情報を状態遷移テーブル
上に処理シーケンスとして展開する状態遷移情報変換部
を備える。
According to a seventh aspect of the present invention, in the fourth aspect, the sequence creation device further includes a pseudo event generating section and a state transition table for generating a pseudo event in the state transition table or the event analysis section. State transition information of the state transition information storage device selected by the state transition information selection unit when the pseudo state setting unit that sets a pseudo state and the pseudo event generation unit generates a pseudo event in the event analysis unit Alternatively, it is provided with a state transition information conversion unit that expands arbitrary state transition information selected by the state transition editor as a processing sequence on the state transition table.

【0015】[0015]

【作用】請求項1に係る発明においては、シーケンス作
成装置は、対象プロセスと独立した状態で、対象プロセ
スの処理シーケンスを生成する。状態遷移情報記憶装置
は、対象プロセスと独立した状態で、シーケンス作成装
置とオンライン接続され、シーケンス作成装置により生
成された処理シーケンスの内容を含む状態遷移情報を記
憶・管理する。イベント駆動型プロセス実行装置は、対
象プロセスを独立した状態で含み、シーケンス作成装置
および状態遷移情報記憶装置とオンライン接続され、イ
ベントの種別と対象プロセスの状態と、状態遷移情報記
憶装置に記憶・管理された状態遷移情報とに基づいて、
対象プロセスを制御する。このため、対象プロセスと独
立に処理シーケンスを生成でき、また対象プロセス60
と独立に処理シーケンスを検証できる。したがって、処
理シーケンスの作成や修正にかかる開発サイクルを短縮
することができる。また、検証期間中一般の受付を停止
する必要がなくなる。したがって、開発効率が向上し、
プロセスの稼働効率が向上する。
According to the first aspect of the invention, the sequence creation device generates the processing sequence of the target process in a state independent of the target process. The state transition information storage device is online connected to the sequence creation device in a state independent of the target process, and stores and manages the state transition information including the contents of the processing sequence created by the sequence creation device. The event-driven process execution device includes the target process in an independent state, is online connected to the sequence creation device and the state transition information storage device, and stores and manages the event type, the target process state, and the state transition information storage device. Based on the state transition information
Control the target process. Therefore, the processing sequence can be generated independently of the target process, and the target process 60
Can verify the processing sequence independently. Therefore, the development cycle for creating and modifying the processing sequence can be shortened. Moreover, it is not necessary to stop the general reception during the verification period. Therefore, the development efficiency is improved,
The operating efficiency of the process is improved.

【0016】請求項2に係る発明においては、シーケン
ス作成装置のイベントテーブルは、イベント駆動型プロ
セス実行装置に対するイベントの種別を設定する。状態
テーブルは、対象プロセスの内部状態の種別を設定す
る。処理テーブルは、対象プロセスの処理の種別を設定
する。状態遷移テーブルは、対象プロセスの状態遷移手
順を設定する。状態遷移エディタは、イベントテーブル
に設定されたイベントの種別と、状態テーブルに設定さ
れたプロセスの内部状態の種別と、処理テーブルに設定
された処理の種別とを参照して、状態遷移テーブルに状
態遷移手順を設定することにより、対象プロセスの処理
シーケンスを生成する。したがって、対象プロセスのプ
ログラムに依存しない処理シーケンスを容易に生成する
ことができ、生成した処理シーケンスを容易に変更する
ことができる。
In the invention according to claim 2, the event table of the sequence creation device sets the type of event for the event-driven process execution device. The state table sets the type of internal state of the target process. The processing table sets the processing type of the target process. The state transition table sets the state transition procedure of the target process. The state transition editor refers to the event type set in the event table, the internal state type of the process set in the state table, and the process type set in the process table to refer to the state in the state transition table. By setting the transition procedure, the processing sequence of the target process is generated. Therefore, a processing sequence that does not depend on the program of the target process can be easily generated, and the generated processing sequence can be easily changed.

【0017】請求項3に係る発明においては、イベント
駆動型プロセス実行装置の状態遷移エンジンは、対象プ
ロセスと独立した状態で、対象プロセスの制御を行う。
状態遷移エンジンのイベント解析部は、イベントの内容
を解析する。状態管理部は、対象プロセスの現在の内部
状態を記憶・管理する。状態遷移情報解釈部32は、イ
ベント解析部が解析したイベントの内容と、状態管理部
が記憶管理している対象プロセスの現在の内部状態とに
基づいて状態遷移情報記憶装置が記憶・管理する状態遷
移情報を解釈する。状態遷移情報選択部34は、状態遷
移情報解釈部が解釈した状態遷移情報を参照して、対象
プロセスを制御する。このため、シーケンス処理は、対
象プロセスのプログラムに埋め込まれない。したがっ
て、対象プロセスのプログラムの開発とシーケンス処理
の開発を独立に行うことができるため、それぞれの開発
に集中でき、開発期間を短縮できる。
In the third aspect of the invention, the state transition engine of the event-driven process execution device controls the target process in a state independent of the target process.
The event analysis unit of the state transition engine analyzes the content of the event. The state management unit stores and manages the current internal state of the target process. The state transition information interpretation unit 32 stores a state stored and managed by the state transition information storage device based on the content of the event analyzed by the event analysis unit and the current internal state of the target process stored and managed by the state management unit. Interpret transition information. The state transition information selection unit 34 refers to the state transition information interpreted by the state transition information interpretation unit to control the target process. Therefore, the sequence process is not embedded in the program of the target process. Therefore, since the development of the program of the target process and the development of the sequence processing can be performed independently, it is possible to concentrate on each development and shorten the development period.

【0018】請求項4に係る発明においては、状態遷移
エンジンの状態遷移情報選択部は、イベント解析部が状
態遷移情報解釈部が使用する状態遷移情報の種別を指定
するイベントを受信した場合、状態遷移情報記憶装置か
ら指定された状態遷移情報をオンラインで選択する。し
たがって、任意の処理シーケンスを状態遷移エンジンに
適用できるとともに、状態遷移エンジンに適用する処理
シーケンスを容易に変更することができる。
According to another aspect of the present invention, the state transition information selecting unit of the state transition engine receives the event when the event analyzing unit receives an event designating the type of the state transition information used by the state transition information interpreting unit. The designated state transition information is selected online from the transition information storage device. Therefore, an arbitrary processing sequence can be applied to the state transition engine, and the processing sequence applied to the state transition engine can be easily changed.

【0019】請求項5に係る発明においては、イベント
駆動型プロセス実行装置の処理インデックステーブル
は、実処理制御部が対象プロセスの実処理部に登録され
ている処理を実行する場合、処理インデックスと実処理
を対応づける。このため、処理インデックステーブルを
参照して実処理の開始アドレスを取得し、実処理を実行
することができる。したがって、対象プロセスのプログ
ラムを変更しても同じ開始アドレスを使用する限り、正
常に処理シーケンスが実行され、シーケンス処理の変更
に柔軟に対処することができる。
In the invention according to claim 5, the process index table of the event-driven process execution device is such that the process index and the process index table are used when the actual process control unit executes the process registered in the actual process unit of the target process. Correspond processing. Therefore, it is possible to execute the actual process by referring to the process index table to obtain the start address of the actual process. Therefore, even if the program of the target process is changed, as long as the same start address is used, the processing sequence is normally executed, and the change in the sequence processing can be flexibly dealt with.

【0020】請求項6に係る発明においては、イベント
駆動型プロセス実行装置の処理インデックストランスレ
ータ80は、処理インデックステーブルの内容を処理テ
ーブルの内容に変換する。したがって、処理テーブルの
作成を効率化することができる。
According to the sixth aspect of the invention, the processing index translator 80 of the event driven process execution device converts the contents of the processing index table into the contents of the processing table. Therefore, the processing table can be efficiently created.

【0021】請求項7に係る発明においては、シーケン
ス作成装置の疑似イベント発生部17は、状態遷移テー
ブルまたはイベント解析部に擬似的なイベントを発生す
る。疑似状態設定部は、状態遷移テーブルに疑似的な状
態を設定する。状態遷移情報変換部は、疑似イベント発
生部がイベント解析部に擬似的なイベントを発生した場
合における状態遷移情報選択部が選択している状態遷移
情報記憶装置の状態遷移情報、または、状態遷移エディ
タで選択した任意の状態遷移情報を状態遷移テーブル上
に処理シーケンスとして展開する。したがって、イベン
ト駆動型プロセス実行装置を実稼働させたまま、対象プ
ロセスの稼働率を落とさずに、擬似的な状態と擬似的な
イベントとに基づいて処理シーケンスの動作を容易に検
証することができる。
In the seventh aspect of the invention, the pseudo event generating section 17 of the sequence creating device generates a pseudo event in the state transition table or the event analyzing section. The pseudo state setting unit sets a pseudo state in the state transition table. The state transition information conversion unit is the state transition information of the state transition information storage device selected by the state transition information selection unit when the pseudo event generation unit generates a pseudo event in the event analysis unit, or the state transition editor. The arbitrary state transition information selected in step 1 is expanded as a processing sequence on the state transition table. Therefore, it is possible to easily verify the operation of the processing sequence based on the pseudo state and the pseudo event without reducing the operation rate of the target process while the event-driven process execution device is actually operating. .

【0022】[0022]

【実施例】以下、図面に基づいて本発明の実施例を説明
する。図1は、本発明の一実施例の対象プロセス制御装
置の全体構成を示すブロック図である。図1において、
対象プロセス制御装置は、イベント駆動型の対象プロセ
ス60のプロセスの処理シーケンスを生成するシーケン
ス作成装置1と、シーケンス作成装置1で生成されたイ
ベント駆動型の処理シーケンスをそれぞれ表す複数の状
態遷移情報21a,21b,21c,21d,…を記憶
する状態遷移情報記憶装置2と、複数(図示1つ)のイ
ベント駆動型プロセス実行装置3とを備える。このよう
なイベント駆動型プロセス制御装置は、例えば、複数の
銀行のオンラインシステムにおいて用いられている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the overall configuration of a target process control device according to an embodiment of the present invention. In FIG.
The target process control device includes a sequence creation device 1 that creates a process sequence of a process of an event-driven target process 60, and a plurality of state transition information 21a that respectively represent the event-driven process sequence created by the sequence creation device 1. , 21b, 21c, 21d, ... And a plurality of (one in the figure) event-driven process execution devices 3 are provided. Such event-driven process control devices are used, for example, in online systems of a plurality of banks.

【0023】シーケンス作成装置1およびイベント駆動
型プロセス実行装置3は、たとえばワークステーション
によりそれぞれ構成されている。状態遷移情報記憶装置
2は、たとえばハードディスク装置により構成されてい
る。このシーケンス作成装置1、状態遷移情報記憶装置
2およびイベント駆動型プロセス実行装置3は、ネット
ワークを介して相互に通信可能にオンライン接続されて
いる。なお、この実施例では、図1に示すイベント駆動
型プロセス実行装置3をA銀行用のものとして説明す
る。
The sequence creation device 1 and the event driven process execution device 3 are each constituted by a workstation, for example. The state transition information storage device 2 is composed of, for example, a hard disk device. The sequence creation device 1, the state transition information storage device 2, and the event driven process execution device 3 are online connected to each other via a network so that they can communicate with each other. In this embodiment, the event-driven process execution device 3 shown in FIG. 1 will be described as one for bank A.

【0024】シーケンス作成装置1は、イベント種別を
設定するイベントテーブル11と、対象プロセス60の
内部状態を設定する状態テーブル12と、イベント4の
入力時の対象プロセス60の状態別の制御を行うための
処理種別を表す処理テーブル13と、対象プロセスの処
理シーケンスを表す状態遷移テーブル15と、イベント
テーブル11、状態テーブル12および処理テーブル1
3を用いて状態遷移テーブル15を設定する状態遷移エ
ディタ14と、状態遷移テーブル15に対象プロセス6
0の擬似的な状態を設定する疑似状態設定部16と、対
象プロセス60に対する擬似的なイベントを発生させる
疑似イベント発生部17と、状態遷移テーブル15に設
定された処理シーケンスから所定のフォーマットの状態
遷移情報21a,21b,21c,21d,…に変換す
る状態遷移情報変換部18とを備える。
The sequence creating apparatus 1 controls the event table 11 for setting the event type, the state table 12 for setting the internal state of the target process 60, and the state-specific control of the target process 60 when the event 4 is input. Table 13 representing the processing type of the process, the state transition table 15 representing the processing sequence of the target process, the event table 11, the state table 12, and the processing table 1.
3. The state transition editor 14 that sets the state transition table 15 using 3 and the target process 6 in the state transition table 15.
A pseudo state setting unit 16 that sets a pseudo state of 0, a pseudo event generation unit 17 that generates a pseudo event for the target process 60, and a state of a predetermined format based on the processing sequence set in the state transition table 15. The state transition information conversion part 18 which converts into the transition information 21a, 21b, 21c, 21d, ... is provided.

【0025】図2は、イベントテーブル11の構成の一
例を示す図である。図2において、イベントテーブル1
1は、イベント値を表す欄11αと、各イベント値を表
す欄11αと1対1に対応するイベント名称を表す欄1
1βとを備える。ユーザは、状態遷移エディタ14を用
いて、例えばA銀行用のイベント値を表す欄11αと、
イベント名称を表す欄11βとに、複数のイベント値
(たとえば、101,102,…)と、複数のイベント
名称(例えば、イベント1,イベント2,…)とを対応
させて書き込むことにより、イベント種別を設定したイ
ベントテーブル11を新規に作成でき、またイベントテ
ーブル11を再編集することができる。
FIG. 2 is a diagram showing an example of the structure of the event table 11. In FIG. 2, the event table 1
1 is a column 11α that represents an event value, and a column 1 that represents an event name that has a one-to-one correspondence with the column 11α that represents each event value.
1β. The user uses the state transition editor 14 to enter, for example, a column 11α representing the event value for bank A,
By writing a plurality of event values (for example, 101, 102, ...) And a plurality of event names (for example, Event 1, Event 2, ...) In the column 11β indicating the event name, the event type It is possible to newly create the event table 11 in which is set, and to re-edit the event table 11.

【0026】図3は、状態テーブル12の構成の一例を
示す図である。図3において、状態テーブル12は、対
象プロセス60の状態値を表す欄12αと、対象プロセ
ス60の状態値を表す欄12αと1対1に対応する状態
名称を表す欄12βとを備える。ユーザは、状態遷移エ
ディタ14を用いて、例えばA銀行用の状態値を表す欄
12αと、状態名称を表す欄12βとに、複数の状態値
(たとえば、201,202,…)と、複数の状態名称
(例えば、状態1,状態2,…)とを対応させてそれぞ
れ書き込むことにより、状態種別を設定した状態テーブ
ル12を新規に作成でき、また状態テーブル12を再編
集することができる。
FIG. 3 is a diagram showing an example of the configuration of the state table 12. In FIG. 3, the state table 12 includes a column 12α that indicates the state value of the target process 60, a column 12α that indicates the state value of the target process 60, and a column 12β that indicates the state name corresponding to one to one. The user uses the state transition editor 14 to enter a plurality of state values (for example, 201, 202, ...) In a column 12α indicating a state value for bank A and a column 12β indicating a state name, and a plurality of state values. By writing the state names (for example, state 1, state 2, ...) In association with each other, the state table 12 in which the state type is set can be newly created and the state table 12 can be edited again.

【0027】図4は、処理テーブル13の構成の一例を
示す図である。図4において、処理テーブル13は、対
象プロセス60のそれぞれの処理に対応する関数を表す
処理インデックスの欄13αと、処理インデックスの欄
13αと1対1に対応する処理名称を表す欄13βとを
備える。この処理テーブル13は、後述する処理インデ
ックストランスレータ80が処理インデックステーブル
70に基づいて自動的に作成する。ユーザは、状態遷移
エディタ14を用いて、例えばA銀行用の処理インデッ
クスを表す欄13αと、処理名称を表す欄13βとにそ
れぞれ設定された複数の処理インデックス(たとえば、
P1,P2,…)と、複数の処理名称(例えば、処理
1,処理2,…)とを参照することができる。
FIG. 4 is a diagram showing an example of the configuration of the processing table 13. In FIG. 4, the processing table 13 includes a processing index column 13α that represents a function corresponding to each processing of the target process 60, and a processing index column 13α and a column 13β that represents a processing name corresponding to the processing index. . The processing table 13 is automatically created by the processing index translator 80 described later based on the processing index table 70. The user uses the state transition editor 14 to set a plurality of processing indexes (for example, a column 13α indicating a processing index for bank A and a column 13β indicating a processing name) (for example,
, And a plurality of process names (for example, process 1, process 2, ...) Can be referred to.

【0028】状態遷移エディタ14は、イベントテーブ
ル11、状態テーブル12、処理テーブル13および状
態遷移テーブル15を同一画面上に表示することがで
き、イベントテーブル11、状態テーブル12、処理テ
ーブル13のイベント種別、状態種別、処理種別を参照
して、対象プロセス60の内部状態が任意の状態で、対
象プロセス60が受信したイベントに応じて実行する処
理の種別の順序と処理実行後に対象プロセス60が遷移
する状態を状態遷移テーブル15上に設定することによ
り、状態遷移のシーケンスを表現する状態遷移テーブル
15を作成することができる。また、状態遷移エディタ
14は、状態遷移テーブル15、疑似状態設定部16お
よび疑似イベント発生部17を同一画面上に表示するこ
とができる。
The state transition editor 14 can display the event table 11, the state table 12, the processing table 13 and the state transition table 15 on the same screen, and the event types of the event table 11, the state table 12 and the processing table 13 can be displayed. , The state type, the process type, the internal state of the target process 60 is an arbitrary state, and the target process 60 transits after the process is executed and the order of the types of processes to be executed according to the event received by the target process 60. By setting the states on the state transition table 15, the state transition table 15 expressing the sequence of state transitions can be created. Further, the state transition editor 14 can display the state transition table 15, the pseudo state setting unit 16, and the pseudo event generating unit 17 on the same screen.

【0029】図5は、状態遷移テーブル15の構成の一
例を示す図である。図5において、状態遷移テーブル1
5は、イベントを設定するイベント設定の欄15αと、
対象プロセス60の遷移前の状態を設定する状態設定の
欄15βと、イベント設定の欄15αおよび状態設定の
欄15βの交差する枠内に対象プロセス60の処理と、
遷移後の状態とをそれぞれ設定する欄15γとを備え
る。ユーザは、状態遷移エディタ14を用いて、例えば
A銀行用のイベント設定欄15αにイベントテーブル1
1のイベント名称の欄11βを参照して複数のイベント
(例えば、イベント1、イベント2、イベント3、…)
を設定し、状態設定の欄15βに状態テーブル12の状
態名称を表す欄12βを参照して複数の状態(例えば、
状態1、状態2、状態3、…)を設定し、欄15γ1,
γ2,…に処理テーブル13の処理名称の欄13βと状
態テーブル12の状態名称を表す欄12βとを参照し
て、複数の処理シーケンスを設定した状態遷移テーブル
15を新規に作成でき、また状態遷移テーブル15を再
編集することができる。
FIG. 5 is a diagram showing an example of the configuration of the state transition table 15. In FIG. 5, the state transition table 1
5 is an event setting field 15α for setting an event,
The processing of the target process 60 in a frame in which the state setting column 15β for setting the state of the target process 60 before transition and the event setting column 15α and the state setting column 15β intersect
The column 15γ for setting the state after transition and the column 15γ for setting each state. The user uses the state transition editor 14 to display the event table 1 in the event setting column 15α for bank A, for example.
A plurality of events (for example, event 1, event 2, event 3, ...) With reference to the event name column 11β of 1
Is set, and the state setting column 15β is referred to the column 12β representing the state name of the state table 12, and a plurality of states (for example,
(State 1, state 2, state 3, ...) are set, and columns 15γ1,
The state transition table 15 in which a plurality of processing sequences are set can be newly created by referring to the process name column 13β of the process table 13 and the column 12β representing the state name of the state table 12 for γ2, ... The table 15 can be edited again.

【0030】疑似状態設定部16は、状態遷移テーブル
15に疑似的な状態を設定することができる。疑似イベ
ント発生部17は、状態遷移テーブル15に疑似的なイ
ベントを発生させることができる。また、状態遷移エン
ジン30に対し、現在使用中の状態遷移情報の種別を問
い合わせるイベントを発生させることもできる。状態遷
移情報変換部18は、状態遷移テーブル15に設定され
た処理シーケンスから所定のフォーマットの状態遷移情
報21a,21b,21c,21d,…に変換するとと
もに、任意の状態遷移情報の処理シーケンスを状態遷移
テーブル15に設定することができる。
The pseudo state setting unit 16 can set a pseudo state in the state transition table 15. The pseudo event generating unit 17 can generate a pseudo event in the state transition table 15. It is also possible to cause the state transition engine 30 to generate an event inquiring about the type of state transition information currently in use. The state transition information conversion unit 18 converts the processing sequence set in the state transition table 15 into the state transition information 21a, 21b, 21c, 21d, ... It can be set in the transition table 15.

【0031】状態遷移情報記憶装置2は、シーケンス作
成装置1で作成された状態遷移情報21a,21b,2
1c,21d,…を記憶・管理している。状態遷移情報
21aは、例えばA銀行用のものであり、他の状態遷移
情報21b,21c,21d,…は、それぞれB銀行
用、C銀行用、D銀行用のものである。
The state transition information storage device 2 stores the state transition information 21a, 21b, 2 created by the sequence creation device 1.
1c, 21d, ... are stored and managed. The state transition information 21a is, for example, for bank A, and the other state transition information 21b, 21c, 21d, ... Is for bank B, bank C, and bank D, respectively.

【0032】図6は、図1の状態遷移情報21a,21
b,21c,21d,…のデータ構造を示す図である。
なお、状態遷移情報21aと、他の状態遷移情報21
b,21c,21d,…のデータ構造が同じであるの
で、状態遷移情報21aの場合をその代表例として説明
する。状態遷移情報21aには、状態遷移テーブル15
の内容を所定のフォーマットに変換することにより、イ
ベント値、イベント名称、現在の状態値、現在の状態名
称、遷移先状態値、遷移先状態名称、処理インデック
ス、処理名称、…、処理インデックス、処理名称、…が
この順序で並べられている。
FIG. 6 shows the state transition information 21a, 21 of FIG.
It is a figure which shows the data structure of b, 21c, 21d, ....
The state transition information 21a and other state transition information 21
Since the data structures of b, 21c, 21d, ... Are the same, the case of the state transition information 21a will be described as a representative example. The state transition table 15 is included in the state transition information 21a.
By converting the contents of the event into a predetermined format, the event value, the event name, the current state value, the current state name, the transition destination state value, the transition destination state name, the process index, the process name, ..., The process index, the process The names, ... Are arranged in this order.

【0033】ここで、例えば、イベントテーブル11に
おいて、イベント値、イベント名称を設定したが、状態
遷移テーブル15にこのイベント名称を設定しない場合
がある。この場合に状態遷移テーブル15の内容だけを
状態遷移情報21aに変換したとき、状態遷移情報21
aから状態遷移テーブル15に逆変換することはできる
が、イベントテーブル11に逆変換しても状態遷移テー
ブル15に設定しなかったイベント名称が失われる。状
態テーブル12、処理テーブル13の場合にも同様の事
態が生じる。したがって、このような事態が生じないよ
うに、状態遷移情報21aには、イベントテーブル1
1、状態テーブル12、処理テーブル13および状態遷
移テーブル15の情報も登録されている。
Here, for example, the event value and the event name are set in the event table 11, but the event name may not be set in the state transition table 15. In this case, when only the contents of the state transition table 15 are converted into the state transition information 21a, the state transition information 21
Although it is possible to perform the reverse conversion from a to the state transition table 15, even if the reverse conversion is performed to the event table 11, the event name not set in the state transition table 15 is lost. The same situation occurs in the case of the state table 12 and the processing table 13. Therefore, in order to prevent such a situation, the event table 1 is included in the state transition information 21a.
1, information on the state table 12, the processing table 13, and the state transition table 15 is also registered.

【0034】図7は、図1の状態遷移情報21a,21
b,21c,21d,…の具体例を示す図である。欄1
5γ1に対応する部分においては、図6の構造にしたが
って、101、イベント1、201、状態1、202、
状態2、P1、処理1、P2、処理2、P3、処理3が
格納されている。欄15γ2に対応する部分において
は、102、イベント2、202、状態2、203、状
態3、P1、処理1、P3、処理3、P4、処理4が格
納されている。欄15γ4に対応する部分においては、
103、イベント3、203、状態3、201、状態
1、P1、処理1が格納されている。欄15γ3に対応
する部分においては、102、イベント2、203、状
態3、203、状態3、P3、処理3、P5、処理5、
P6、処理6が格納されている。
FIG. 7 shows the state transition information 21a, 21 of FIG.
It is a figure which shows the specific example of b, 21c, 21d, .... Column 1
In the portion corresponding to 5γ1, 101, event 1, 201, state 1, 202,
State 2, P1, process 1, P2, process 2, P3, process 3 are stored. In the portion corresponding to the column 15γ2, 102, event 2, 202, state 2, 203, state 3, P1, process 1, P3, process 3, P4, and process 4 are stored. In the part corresponding to column 15γ4,
103, event 3, 203, state 3, 201, state 1, P1, and process 1 are stored. In the part corresponding to the column 15γ3, 102, event 2, 203, state 3, 203, state 3, P3, process 3, P5, process 5,
P6 and process 6 are stored.

【0035】イベント駆動型プロセス実行装置3は、対
象プロセス60と、対象プロセス60と別個に、対象プ
ロセス60の制御を行なう状態遷移エンジン30と、処
理インデックステーブル70と、処理インデックストラ
ンスレータ80とを備える。なお、対象プロセス60
は、実処理部50を備えている。実処理部50は、処理
1,処理2,…をそれぞれ実行する複数のプログラムを
パーツとして備え、状態遷移エンジン30から指示され
た開始アドレスを有するプログラムが動作し、その処理
を実行する。
The event-driven process execution apparatus 3 includes a target process 60, a state transition engine 30 that controls the target process 60 separately from the target process 60, a processing index table 70, and a processing index translator 80. . The target process 60
Includes an actual processing unit 50. The actual processing unit 50 includes, as parts, a plurality of programs that respectively execute the processes 1, 2, and ... A program having a start address instructed by the state transition engine 30 operates and executes the processes.

【0036】図8は、図1の処理インデックステーブル
70の構成の一例を示す図である。図8において、処理
インデックステーブル70は、処理インデックスの欄7
0αと、処理インデックスの欄70αと1対1に対応す
る関数開始アドレスを表す欄70βと、処理インデック
スの欄70αおよび関数開始アドレスの欄70βと1対
1に対応する処理名称を表す欄70γとを備える。この
処理インデックステーブル70は、実処理部50の各プ
ログラムをコンパイルするときに、プロファイル機能を
使用することで自動的に作成される。処理インデックス
の欄には、A銀行用の複数の処理インデックス(たとえ
ば、P1,P2,…)が格納される。関数開始アドレス
の欄70βには、A銀行用の複数の関数開始アドレス
(例えば、[addr1],[addr2],…)が格
納される。処理名称の欄70γには、A銀行用の処理名
称(例えば、処理1,処理2,…)が格納される。
FIG. 8 is a diagram showing an example of the configuration of the processing index table 70 of FIG. In FIG. 8, the processing index table 70 has a processing index column 7
0α, a column 70β showing a function start address corresponding to the process index column 70α and one-to-one, and a column 70γ showing a process name corresponding to the process index column 70α and the function start address column 70β. Equipped with. The processing index table 70 is automatically created by using the profile function when compiling each program of the actual processing unit 50. A plurality of processing indexes for bank A (for example, P1, P2, ...) Are stored in the processing index column. A plurality of function start addresses (for example, [addr1], [addr2], ...) For bank A are stored in the function start address column 70β. The processing name column 70γ stores processing names for bank A (for example, processing 1, processing 2, ...).

【0037】処理インデックストランスレータ80は、
処理インデックステーブル70の内容から関数開始アド
レスの欄70βの内容を削除し、処理インデックスの欄
αと処理名称の欄70γとの内容を抽出しすることによ
り、抽出した内容を処理テーブル13に自動的に登録す
る。
The processing index translator 80 is
By deleting the contents of the function start address column 70β from the contents of the processing index table 70 and extracting the contents of the processing index column α and the processing name column 70γ, the extracted contents are automatically stored in the processing table 13. Register with.

【0038】状態遷移エンジン30は、それぞれマルチ
タスクで動作するイベント解析部31と、状態遷移情報
解釈部32と、状態管理部33と、状態遷移情報選択部
34とを備える。イベント解析部31は、イベント4を
受信し、イベントの内容を解析する。イベント4が状態
遷移情報選択部34が使用する状態遷移情報21a,2
1b,21c,21d,…の種別を選択する内容である
場合、すなわち状態遷移情報21a,21b,21c,
21d,…のいずれか1つを選択する内容(例えば、A
銀行用)である場合には、イベント解析部31は、その
イベントの内容を状態遷移情報選択部34に通知する。
この場合、状態遷移情報選択部34は、イベント解析部
31から状態遷移情報21a,21b,21c,21
d,…のいずれか1つを選択する旨の通知を受けた場
合、その通知にしたがって例えばA銀行用の状態遷移情
報21aを選択する。これにより、状態遷移情報解釈部
32は、状態遷移情報21aをオンラインで使用するこ
とができる。
The state transition engine 30 includes an event analysis section 31, which operates in multitasking, a state transition information interpretation section 32, a state management section 33, and a state transition information selection section 34. The event analysis unit 31 receives the event 4 and analyzes the content of the event. Event 4 is the state transition information 21a, 2 used by the state transition information selection unit 34.
1b, 21c, 21d, ... If the content is to select the type, that is, the state transition information 21a, 21b, 21c,
21d, ... selecting one of the contents (for example, A
If it is for a bank), the event analysis unit 31 notifies the state transition information selection unit 34 of the content of the event.
In this case, the state transition information selection unit 34 receives the state transition information 21a, 21b, 21c, 21 from the event analysis unit 31.
When receiving a notification that any one of d, ... Is selected, for example, the state transition information 21a for bank A is selected according to the notification. As a result, the state transition information interpretation unit 32 can use the state transition information 21a online.

【0039】また、疑似イベント発生部17から状態遷
移情報選択部34が選択した状態遷移情報21a,21
b,21c,21d,…の種別を知らせる旨の疑似イベ
ントを受信した場合、イベント解析部31は、その疑似
イベントの内容を状態遷移情報選択部34に通知する。
この場合、状態遷移情報選択部34は、イベント解析部
31から状態遷移情報21a,21b,21c,21
d,…のいずれを選択しているかを知らせる旨の疑似イ
ベントを受信した場合、状態遷移情報選択部34は、そ
の種別をシーケンス作成装置1の状態遷移情報変換部1
8に通知する。さらに、イベント4が対象プロセス60
に対するものである場合、イベント解析部31は、その
イベントの内容を状態遷移情報解釈部32に通知する。
The state transition information 21a, 21 selected by the state transition information selection unit 34 from the pseudo event generation unit 17 is also included.
When a pseudo event indicating that the type of b, 21c, 21d, ... Is received, the event analysis unit 31 notifies the state transition information selection unit 34 of the content of the pseudo event.
In this case, the state transition information selection unit 34 receives the state transition information 21a, 21b, 21c, 21 from the event analysis unit 31.
When a pseudo event indicating that any one of d, ... Is selected is received, the state transition information selection unit 34 sets the type to the state transition information conversion unit 1 of the sequence creation device 1.
Notify 8. Furthermore, event 4 is the target process 60.
If it is, the event analysis unit 31 notifies the state transition information interpretation unit 32 of the content of the event.

【0040】状態管理部33は、対象プロセス60の現
在の内部状態を記憶・管理する。状態遷移情報解釈部3
2は、イベント解析部31から通知されたイベント種別
と、状態管理部33が管理している対象プロセス60の
現在の状態を参照し、選択されている状態遷移情報21
aの処理の内容およびその順序を状態遷移情報選択部3
4に通知するとともに処理の終了後対象プロセス60の
遷移後の状態を状態管理部33に対して設定する。状態
遷移情報選択部34は、状態遷移情報選択部34から処
理の内容の通知があると、処理インデックステーブル7
0からその処理に対応する関数開始アドレスを処理の順
序で取得し、取得した関数開始アドレスを処理の順序で
実処理部50に対して通知する。
The status management unit 33 stores and manages the current internal status of the target process 60. State transition information interpretation unit 3
2 refers to the event type notified from the event analysis unit 31 and the current state of the target process 60 managed by the state management unit 33, and the selected state transition information 21
The state transition information selection unit 3 determines the contents of the processing of a and the order thereof.
4 is notified and the post-transition state of the target process 60 is set in the state management unit 33 after the processing is completed. When the state transition information selection unit 34 is notified of the content of the processing by the state transition information selection unit 34, the processing index table 7
The function start address corresponding to the processing is acquired from 0 in the processing order, and the acquired function start address is notified to the actual processing unit 50 in the processing order.

【0041】次いで、図1のイベント駆動型プロセス制
御装置の動作を説明する。まず、シーケンス作成装置1
におけるシーケンス生成動作について説明する。このシ
ーケンス作成装置1における、シーケンスの生成動作
は、対象プロセス60の実処理部50のプログラム作成
と並行して行われるが、便宜上、実処理部50の各処理
を実行するプログラムが完成し、したがって、処理イン
デックステーブル70および処理テーブル13が作成済
みのものとして説明する。
Next, the operation of the event driven process control device of FIG. 1 will be described. First, the sequence creation device 1
The sequence generation operation in will be described. The sequence generation operation in the sequence creation device 1 is performed in parallel with the program creation of the actual processing unit 50 of the target process 60. However, for the sake of convenience, the program that executes each process of the actual processing unit 50 is completed, The processing index table 70 and the processing table 13 will be described as already created.

【0042】図2に示すイベントテーブル11は、イベ
ント値の欄11αと、イベント名称の欄11βとが1対
1に対応している。したがって、ユーザは、状態遷移エ
ディタ14を使用して図2のイベントテーブル11と図
5の状態遷移テーブル15とを同一画面上に表示し、イ
ベントテーブル11からイベント名称を選択し、状態遷
移テーブル15のイベント設定欄15αのイベント名称
として簡単に設定することができる。また、ユーザは、
状態遷移エディタ14を使用して、イベントテーブル1
1にイベント値と、イベント名称とをそれぞれ追加、削
除することができるため、イベントの設定を柔軟に行な
うことができる。
In the event table 11 shown in FIG. 2, the event value column 11α and the event name column 11β have a one-to-one correspondence. Therefore, the user uses the state transition editor 14 to display the event table 11 of FIG. 2 and the state transition table 15 of FIG. 5 on the same screen, selects an event name from the event table 11, and selects the state transition table 15 It can be easily set as the event name in the event setting field 15α. Also, the user
Using the state transition editor 14, the event table 1
Since the event value and the event name can be added to and deleted from 1 respectively, the event can be flexibly set.

【0043】図3に示す状態テーブル12は、状態値の
欄12αと、状態名称の欄12βとが1対1に対応して
いる。したがって、ユーザは、状態遷移エディタ14を
使用して図3の状態テーブル12と図5の状態遷移テー
ブル15とを同一画面上に表示し、状態テーブル12か
ら状態名称を選択し、状態遷移テーブル15の状態設定
欄33の状態名称として簡単に設定することができる。
また、ユーザは、状態遷移エディタ14を使用して、状
態テーブル12に状態値と、状態名称とをそれぞれ追
加、削除することができるため、状態の設定を柔軟に行
なうことができる。
In the state table 12 shown in FIG. 3, the state value column 12α and the state name column 12β have a one-to-one correspondence. Therefore, the user uses the state transition editor 14 to display the state table 12 of FIG. 3 and the state transition table 15 of FIG. 5 on the same screen, selects the state name from the state table 12, and selects the state transition table 15 It can be easily set as the state name in the state setting field 33.
Further, since the user can add and delete the state value and the state name to and from the state table 12 by using the state transition editor 14, the state can be flexibly set.

【0044】図4に示すように、処理テーブル13は、
処理インデックスの欄13αと処理名称の欄13βとが
1対1に対応している。したがって、ユーザは、状態遷
移エディタ14を使用して図4の処理テーブル13と図
5の状態遷移テーブル15とを同一画面上に表示し、処
理テーブル13から処理名称を選択し、イベント名称1
5αと状態名称15βとの条件を満足する処理設定欄1
5γ1,15γ2,15γ3,15γ4,…を選択し、
実行する順序で処理する処理名称として設定することが
可能である。また、図3の状態テーブル12と状態遷移
テーブル15とを同一画面上に表示し、処理設定欄15
γ1,15γ2,…の処理種別の最後に次に遷移する状
態名を状態テーブル12から選択し、設定することがで
きる。
As shown in FIG. 4, the processing table 13 is
The process index column 13α and the process name column 13β have a one-to-one correspondence. Therefore, the user uses the state transition editor 14 to display the process table 13 of FIG. 4 and the state transition table 15 of FIG. 5 on the same screen, selects the process name from the process table 13, and selects the event name 1
Process setting column 1 that satisfies the conditions of 5α and state name 15β
Select 5γ1,15γ2,15γ3,15γ4, ...
It is possible to set as a process name to be processed in the order of execution. Further, the state table 12 and the state transition table 15 of FIG. 3 are displayed on the same screen, and the process setting field 15
It is possible to select and set from the state table 12 the state name to be transited to next at the end of the processing type of γ1, 15γ2, ....

【0045】例えば、「状態2において、イベント2を
受信した場合、処理1、処理3、処理4を実行した後、
状態を状態3に遷移する。」といった処理シーケンスを
処理設定欄15γ2に設定する場合、状態遷移エディタ
14を用いて、図4の処理テーブル13から処理1,処
理3,処理4をこの順で選択し、図3の状態テーブル1
2から状態3を選択すればよい。
For example, "In the state 2, when the event 2 is received, after executing the processing 1, processing 3, and processing 4,
The state transits to the state 3. 3 is set in the process setting field 15γ2, the state transition editor 14 is used to select process 1, process 3, and process 4 from the process table 13 of FIG. 4 in this order, and the state table 1 of FIG.
It suffices to select state 2 to state 3.

【0046】なお、処理設定欄15γ1,15γ2,…
の処理種別の最後に次に遷移する状態名が設定されない
場合は、処理終了後に状態は遷移しないものとみなされ
る。逆に、処理設定欄15γ1,15γ2,に処理種別
の記載がなく、遷移先の状態のみが設定されている場合
は、処理は実行されず、状態だけが遷移するのみとな
る。
The process setting fields 15γ1, 15γ2, ...
If the next transition state name is not set at the end of the process type of, the state is considered not to transition after the process is completed. Conversely, if there is no description of the process type in the process setting fields 15γ1, 15γ2, and only the transition destination state is set, the process is not executed and only the state transitions.

【0047】状態遷移テーブル15に処理シーケンスを
設定し終わると、ユーザは、状態遷移エディタ14の変
換ボタン(図示せず)を操作する。これにより、状態遷
移テーブル15に設定された処理シーケンスの内容と、
イベントテーブル11、状態テーブル12、処理テーブ
ル13および状態遷移テーブル15とが状態遷移情報2
1aとして状態遷移情報記憶装置2に送られる。
After setting the processing sequence in the state transition table 15, the user operates the conversion button (not shown) of the state transition editor 14. As a result, the contents of the processing sequence set in the state transition table 15 and
The event table 11, the state table 12, the processing table 13, and the state transition table 15 are the state transition information 2
It is sent to the state transition information storage device 2 as 1a.

【0048】状態遷移情報記憶装置2は、図6に示すよ
うに、状態遷移テーブル15に設定された処理シーケン
スの内容と、イベントテーブル11、状態テーブル1
2、処理テーブル13および状態遷移テーブル15とを
1つの状態遷移情報21aとして、かつ、状態とイベン
トの組別に、イベント値とイベント名称、現在の状態値
とその状態名称、次に遷移する状態値とその状態名称、
そして処理インデックスと処理名称のシーケンスでまと
められ記憶・管理し、逆に状態遷移情報変換部18によ
って、この状態遷移情報21aをイベントテーブル1
1、状態テーブル12、処理テーブル13および状態遷
移テーブル15に展開することもできる。したがって、
ユーザは、作成済みの状態遷移情報を修正することが可
能である。
As shown in FIG. 6, the state transition information storage device 2 stores the contents of the processing sequence set in the state transition table 15, the event table 11, and the state table 1.
2, the processing table 13 and the state transition table 15 as one piece of state transition information 21a, and the event value and the event name, the current state value and its state name, and the state value to be transitioned to next, for each set of state and event And its state name,
The sequence of process indexes and process names are collected and stored and managed. On the contrary, the state transition information conversion unit 18 converts the state transition information 21a into event table 1
1, the state table 12, the processing table 13 and the state transition table 15 can be expanded. Therefore,
The user can modify the created state transition information.

【0049】次いで、イベント駆動型プロセス実行装置
3におけるシーケンス実行動作を説明する。まず、状態
遷移エンジン30が使用する状態遷移情報記憶装置2の
状態遷移情報21a,21b,21c,21d,…の選
定動作について説明する。状態遷移情報記憶装置2は、
対象プロセス60の制御別(例えば、A銀行用、B銀行
用、…)に、複数の状態遷移情報21a,21b,21
c,21d,…を記憶・管理している。状態遷移エンジ
ン30を使用するA銀行のユーザは、A銀行用の状態遷
移情報21aを選択する要求を持つイベント、たとえば
A銀行のユーザだけが知っている特定のコードの入力を
発生させる。
Next, the sequence execution operation in the event driven process execution device 3 will be described. First, the operation of selecting the state transition information 21a, 21b, 21c, 21d, ... Of the state transition information storage device 2 used by the state transition engine 30 will be described. The state transition information storage device 2 is
For each control of the target process 60 (for example, for bank A, for bank B, ...), a plurality of state transition information 21a, 21b, 21.
It stores and manages c, 21d, .... A user of Bank A using the state transition engine 30 causes an event having a request to select the state transition information 21a for Bank A, for example, the input of a specific code known only to the user of Bank A.

【0050】状態遷移エンジン30のイベント解析部3
1は、このA銀行用の状態遷移情報21aを選択する要
求を持つイベントを受信した場合、そのイベントを状態
遷移情報選択部34に通知する。状態遷移情報選択部3
4は、通知に基づいて、オンラインでA銀行用の状態遷
移情報21aを選択し、状態遷移エンジン30に提供す
る処理シーケンスの種別、すなわちA銀行用を決定し、
処理シーケンスの種別(A銀行用)を記憶・管理する。
Event analysis unit 3 of state transition engine 30
When receiving an event having a request to select the state transition information 21a for bank A, 1 notifies the state transition information selection unit 34 of the event. State transition information selection unit 3
4 selects the state transition information 21a for Bank A online based on the notification and determines the type of processing sequence provided to the state transition engine 30, that is, for Bank A,
Stores and manages the type of processing sequence (for bank A).

【0051】次いで、対象プロセス60に対するイベン
トを受信した場合のシーケンス実行動作を説明する。例
えば、対象プロセス60の現在の状態が状態1の場合、
状態管理部33は、その状態値が201であることを記
憶している。イベント解釈部13は、イベント名称=イ
ベント1のイベント4を受信した場合、イベント4のイ
ベント値を解析し、「101」であることを状態遷移情
報解釈部32に通知する。状態遷移情報解釈部32は、
状態管理部33から対象プロセス60の現在の状態を取
得し、状態値201とイベント値101とをキーにして
状態遷移情報選択部34を介して状態遷移情報記憶装置
2の状態遷移情報21aを検索することで、該当状態に
おける該当イベント受信時の処理インデックスと処理シ
ーケンスとを取得し、取得した処理インデックスと処理
シーケンスとを実処理制御部35に通知する。
Next, the sequence execution operation when an event for the target process 60 is received will be described. For example, if the current state of the target process 60 is state 1,
The state management unit 33 stores that the state value is 201. When the event interpretation unit 13 receives the event 4 with the event name = event 1, the event interpretation unit 13 analyzes the event value of the event 4 and notifies the state transition information interpretation unit 32 that the event value is “101”. The state transition information interpretation unit 32
The current state of the target process 60 is acquired from the state management unit 33, and the state transition information 21a of the state transition information storage device 2 is searched through the state transition information selection unit 34 using the state value 201 and the event value 101 as keys. By doing so, the processing index and the processing sequence at the time of receiving the corresponding event in the corresponding state are acquired, and the actual processing control unit 35 is notified of the acquired processing index and processing sequence.

【0052】実処理制御部35は、処理インデックステ
ーブル70(表3参照)を参照し、通知された処理イン
デックスに対応する関数開始アドレスを取得し、取得し
た関数開始アドレスを実処理部50に発行する。これに
より、実処理部50は、発行された関数開始アドレスか
ら実処理を実行する。したがって、処理設定欄15γ1
の場合、関数開始アドレス[addr1]、[addr
2]、[addr3]の関数が順に実行されることにな
る。なお、実処理の実行は、処理インデックスを仲介と
し関数開始アドレスを処理インデックステーブル70に
よって参照している。したがって、ユーザは、同一の処
理シーケンスであっても、実処理部50の実処理部分を
変更することで処理内容を自由に変更することが可能で
ある。すべての処理の実行が終了すると、状態遷移情報
解釈部32は、状態管理部33に対し、次に遷移する状
態値202を状態管理部33に設定し、次のイベントを
待つ。したがって、状態遷移エンジン30を用いて対象
プロセス60の制御を行なうことが可能である。
The actual processing control unit 35 refers to the processing index table 70 (see Table 3), acquires the function start address corresponding to the notified processing index, and issues the acquired function start address to the actual processing unit 50. To do. As a result, the actual processing unit 50 executes the actual processing from the issued function start address. Therefore, the processing setting field 15γ1
, The function start address [addr1], [addr]
2] and the function of [addr3] are sequentially executed. The execution of the actual process uses the process index as an intermediary to refer to the function start address by the process index table 70. Therefore, the user can freely change the processing content by changing the actual processing portion of the actual processing unit 50 even in the same processing sequence. When the execution of all the processes is completed, the state transition information interpretation unit 32 sets the next transition state value 202 in the state management unit 33, and waits for the next event. Therefore, it is possible to control the target process 60 using the state transition engine 30.

【0053】次いで、シーケンス作成装置1で生成した
処理シーケンスの検証動作を説明する。ここで、処理シ
ーケンスの検証には、次の3つの場合がある。 (1) 所定の状態遷移エンジン30(例えば、A銀行
用)が現在、対象プロセス60を制御するために使用し
ている所定の状態遷移情報21aの処理シーケンスを検
証する場合。 (2) どのイベント駆動型プロセス実行装置3がどの
状態遷移情報21a,21b,21c,21d,…を使
用しているかに関係なく、既に作成され状態遷移情報記
憶装置2に記憶管理されている任意の状態遷移情報21
a,21b,21c,21d,…の処理シーケンスを検
証する場合。 (3) 現在作成中の状態遷移テーブル15に展開され
ている処理シーケンス(例えば、A銀行用)に対して動
作の検証を行なう場合である。
Next, the verification operation of the processing sequence generated by the sequence creation device 1 will be described. Here, there are the following three cases in the verification of the processing sequence. (1) When verifying the processing sequence of the predetermined state transition information 21a currently used by the predetermined state transition engine 30 (for example, for bank A) to control the target process 60. (2) Regardless of which event-driven process execution device 3 uses which state transition information 21a, 21b, 21c, 21d, ... Arbitrarily created and stored in the state transition information storage device 2 State transition information 21
When verifying the processing sequence of a, 21b, 21c, 21d, .... (3) This is a case where the operation is verified for the processing sequence (for example, for bank A) developed in the state transition table 15 currently being created.

【0054】ここで、上記の(1)および(2)の場合
には、状態遷移情報記憶装置2に状態遷移情報21a,
21b,21c,21d,…が格納され、状態遷移エン
ジン30が状態遷移情報21a,21b,21c,21
d,…を使用して実稼働しているため、イベント駆動型
プロセス実行装置3を停止させないで、処理シーケンス
を検証する必要がある。一方、上記の(3)の場合に
は、イベント駆動型プロセス実行装置3が実稼働する状
態まで達しておらず、状態遷移情報記憶装置2に作成途
中の状態遷移情報21aが格納されていない状態であ
る。このため、上記の(1)および(2)の場合と、
(3)の場合では、異なる検証動作が行われる。
Here, in the above cases (1) and (2), the state transition information 21a,
21b, 21c, 21d, ... Are stored, and the state transition engine 30 stores the state transition information 21a, 21b, 21c, 21.
Since it is actually operating using d, ..., It is necessary to verify the processing sequence without stopping the event-driven process execution device 3. On the other hand, in the case of the above (3), the state in which the event-driven process execution device 3 has not reached the actual operating state and the state transition information storage device 2 does not store the state transition information 21a being created. Is. Therefore, in the cases of (1) and (2) above,
In the case of (3), a different verification operation is performed.

【0055】上記の(1)の場合、シーケンス作成装置
1のユーザは、安全上の観点からイベント駆動型プロセ
ス実行装置3のユーザが状態遷移情報記憶装置2のどの
状態遷移情報21a,21b,21c,21d,…を使
用しているか知ることができないことが多い。この場合
には、イベント駆動型プロセス実行装置3のユーザが使
用している状態遷移情報21aから状態遷移テーブル1
5に処理シーケンスを展開するために、状態遷移エディ
タ14と疑似イベント発生部17とを用いて、状態遷移
エンジン30が現在参照している状態遷移情報21の種
別(A銀行用)を問い合わせるイベントを発生させる。
イベント解析部31は、疑似イベント発生部17から受
信したこのイベントのイベント種別を解析し、イベント
値を状態遷移情報選択部34に通知する。状態遷移情報
選択部34は、現在状態遷移情報解釈部32が参照して
いる状態遷移情報21の種別(A銀行用)を状態遷移情
報変換部18に通知する。状態遷移情報変換部18は、
目的の状態遷移情報21a、すなわちA銀行用を状態遷
移情報記憶装置2からオンラインで読み出し、A銀行用
の状態遷移情報21中のイベントテーブル11と、状態
テーブル12と、処理テーブル13とに展開するととも
に、状態遷移テーブル15に処理シーケンスとして展開
する。
In the case of the above (1), the user of the sequence creation device 1 determines which state transition information 21a, 21b, 21c of the state transition information storage device 2 by the user of the event driven process execution device 3 from the viewpoint of safety. , 21d, ... It is often impossible to know if they are using. In this case, from the state transition information 21a used by the user of the event driven process execution device 3 to the state transition table 1
In order to develop the processing sequence in 5, the state transition editor 14 and the pseudo event generation unit 17 are used to generate an event for inquiring the type (for bank A) of the state transition information 21 that the state transition engine 30 is currently referring to. generate.
The event analysis unit 31 analyzes the event type of this event received from the pseudo event generation unit 17, and notifies the state transition information selection unit 34 of the event value. The state transition information selection unit 34 notifies the state transition information conversion unit 18 of the type (for bank A) of the state transition information 21 referred to by the current state transition information interpretation unit 32. The state transition information conversion unit 18
The target state transition information 21a, that is, the one for bank A is read online from the state transition information storage device 2 and expanded to the event table 11, the state table 12, and the processing table 13 in the state transition information 21 for bank A. At the same time, it is expanded in the state transition table 15 as a processing sequence.

【0056】(2)の場合、シーケンス作成装置1のユ
ーザは、状態遷移エディタ14を用いて、状態遷移情報
記憶装置2内の任意の状態遷移情報21a,21b,2
1c,21d,…のいずれかを指定する。状態遷移情報
変換部18は、指定された状態遷移情報21a,21
b,21c,21d,…を状態遷移情報記憶装置2から
オンラインで読み出し、A銀行用の状態遷移情報21中
のイベントテーブル11と、状態テーブル12と、処理
テーブル13とに展開するとともに、状態遷移テーブル
15に処理シーケンスとして展開する。
In the case of (2), the user of the sequence creation device 1 uses the state transition editor 14 to set arbitrary state transition information 21a, 21b, 2 in the state transition information storage device 2.
One of 1c, 21d, ... Is designated. The state transition information conversion unit 18 uses the designated state transition information 21a, 21
, b, 21c, 21d, ... Are read online from the state transition information storage device 2, expanded into the event table 11, the state table 12, and the processing table 13 in the state transition information 21 for bank A, and the state transitions are performed. It is expanded in the table 15 as a processing sequence.

【0057】(3)の場合、処理シーケンスは、現在作
成中の状態遷移テーブル15に展開されている。なお、
(1)〜(3)のいずれの場合においても、状態遷移テ
ーブル15に処理シーケンスが展開された後の動作は、
同じである。
In the case of (3), the processing sequence is expanded in the state transition table 15 currently being created. In addition,
In any of (1) to (3), the operation after the processing sequence is expanded in the state transition table 15 is
Is the same.

【0058】処理シーケンスを検証する場合、シーケン
ス作成装置1のユーザは、状態遷移テーブル15に展開
されている処理シーケンスを検証するために、まず、状
態遷移エディタ14を起動させ、テストボタン(図示せ
ず)を選択する。これにより、状態遷移テーブル15、
疑似状態設定部16および疑似イベント発生部17がモ
ニタの同一画面上に表示される。ユーザは、疑似状態設
定部16から状態テーブル12を参照して、状態遷移テ
ーブル15に疑似的な状態を設定する。これにより、状
態遷移テーブル15の状態設定欄15β(図5参照)の
いずれかの状態(例えば、状態2)が選択される。次い
で、疑似イベント発生部17からイベントテーブル11
を参照して、状態遷移テーブル15に疑似的なイベント
を発生させる。これにより、状態遷移テーブル15のイ
ベント設定欄15α(図5参照)のいずれかのイベント
(例えば、イベント2)が選択され、処理設定欄15γ
2が選択される。したがって、処理設定欄15γ2に設
定された処理シーケンスが疑似的に実行されるため、処
理シーケンス設定内容を確認することができる。なお、
このようにして選択された処理設定欄15γ2,…の処
理シーケンスをログとして残すことができる。
When verifying the processing sequence, the user of the sequence creation device 1 first activates the state transition editor 14 and verifies the processing sequence developed in the state transition table 15 by pressing the test button (not shown). Select). As a result, the state transition table 15,
The pseudo state setting unit 16 and the pseudo event generating unit 17 are displayed on the same screen of the monitor. The user refers to the state table 12 from the pseudo state setting unit 16 and sets the pseudo state in the state transition table 15. As a result, any state (for example, state 2) in the state setting field 15β (see FIG. 5) of the state transition table 15 is selected. Next, the pseudo event generation unit 17 to the event table 11
, A pseudo event is generated in the state transition table 15. As a result, any event (for example, event 2) in the event setting field 15α (see FIG. 5) of the state transition table 15 is selected, and the process setting field 15γ
2 is selected. Therefore, since the processing sequence set in the processing setting column 15γ2 is executed in a pseudo manner, the processing sequence setting content can be confirmed. In addition,
The processing sequence of the processing setting fields 15γ2, ... Selected in this way can be left as a log.

【0059】このように、シーケンス作成装置1では、
処理シーケンスを生成するだけではなく、生成された、
または生成途中の処理シーケンスを疑似的に実行するこ
とで、イベント駆動型プロセス実行装置3の実稼働と無
関係に処理シーケンスの動作検証を行なうことが可能で
ある。したがって、図1のシーケンス作成装置1、状態
遷移情報記憶装置2、イベント駆動型プロセス実行装置
3によれば、効率良く処理シーケンスを生成、検証、実
行することが可能なため、結果としてプログラム開発を
効率良く行なうことが可能である。
As described above, in the sequence creation device 1,
Not only generate the processing sequence,
Alternatively, it is possible to verify the operation of the processing sequence irrespective of the actual operation of the event-driven process execution apparatus 3 by pseudo-executing the processing sequence during the generation. Therefore, according to the sequence creation device 1, the state transition information storage device 2, and the event-driven process execution device 3 in FIG. 1, it is possible to efficiently generate, verify, and execute a processing sequence, which results in program development. It can be done efficiently.

【0060】なお、上述の実施例では、図1のイベント
駆動型プロセス制御装置を複数の銀行のオンラインシス
テムとして説明したが、ファクシミリコミュニケーショ
ンシステム等の他のシステムにおいて実施するようにし
てもよい。
In the above embodiment, the event-driven process control device of FIG. 1 was described as an online system for a plurality of banks, but it may be implemented in another system such as a facsimile communication system.

【0061】[0061]

【発明の効果】請求項1に係る発明にあっては、対象プ
ロセスと独立に処理シーケンスを生成でき、また対象プ
ロセス60と独立に処理シーケンスを検証できるので、
処理シーケンスの作成や修正にかかる開発サイクルを短
縮することができる。また、検証期間中一般の受付を停
止する必要がなくなるので、開発効率が向上し、プロセ
スの稼働効率が向上する。
According to the invention of claim 1, the processing sequence can be generated independently of the target process, and the processing sequence can be verified independently of the target process 60.
The development cycle for creating and modifying the processing sequence can be shortened. Moreover, since it is not necessary to stop the general reception during the verification period, the development efficiency is improved and the process operation efficiency is improved.

【0062】請求項2に係る発明にあっては、状態遷移
エディタが、イベントテーブルに設定されたイベントの
種別と、状態テーブルに設定されたプロセスの内部状態
の種別と、処理テーブルに設定された処理の種別とを参
照して、状態遷移テーブルに状態遷移手順を設定するこ
とにより、対象プロセスの処理シーケンスを生成するの
で、対象プロセスのプログラムに依存しない処理シーケ
ンスを容易に生成することができ、生成した処理シーケ
ンスを容易に変更することができる。
According to the second aspect of the present invention, the state transition editor sets the event type set in the event table, the internal state type of the process set in the state table, and the processing table. By referring to the processing type and setting the state transition procedure in the state transition table, the processing sequence of the target process is generated, so that the processing sequence that does not depend on the program of the target process can be easily generated. The generated processing sequence can be easily changed.

【0063】請求項3に係る発明にあっては、シーケン
ス処理が対象プロセスのプログラムに埋め込まれないの
で、対象プロセスのプログラムの開発とシーケンス処理
の開発を独立に行うことができるため、それぞれの開発
に集中でき、開発期間を短縮できる。
In the invention according to claim 3, since the sequence process is not embedded in the program of the target process, the program of the target process and the sequence process can be independently developed. The development period can be shortened.

【0064】請求項4に係る発明にあっては、状態遷移
エンジンの状態遷移情報選択部が、イベント解析部が状
態遷移情報解釈部が使用する状態遷移情報の種別を指定
するイベントを受信した場合、状態遷移情報記憶装置か
ら指定された状態遷移情報をオンラインで選択するの
で、任意の処理シーケンスを状態遷移エンジンに適用で
きるとともに、状態遷移エンジンに適用する処理シーケ
ンスを容易に変更することができる。
In the invention according to claim 4, when the state transition information selection unit of the state transition engine receives an event designating the type of state transition information used by the state transition information interpretation unit by the event analysis unit. Since the designated state transition information is selected online from the state transition information storage device, any processing sequence can be applied to the state transition engine and the processing sequence applied to the state transition engine can be easily changed.

【0065】請求項5に係る発明にあっては、処理イン
デックステーブルを参照して実処理の開始アドレスを取
得し、実処理を実行することができるので、対象プロセ
スのプログラムを変更しても同じ開始アドレスを使用す
る限り、正常に処理シーケンスが実行され、シーケンス
処理の変更に柔軟に対処することができる。
According to the fifth aspect of the invention, since the start address of the actual process can be obtained by referring to the process index table and the actual process can be executed, the same applies even if the program of the target process is changed. As long as the start address is used, the processing sequence is executed normally, and it is possible to flexibly cope with changes in the sequence processing.

【0066】請求項6に係る発明にあって、処理インデ
ックストランスレータが、処理インデックステーブルの
内容を処理テーブルの内容に変換するので、処理テーブ
ルの作成を効率化することができる。
In the invention according to claim 6, since the processing index translator converts the contents of the processing index table into the contents of the processing table, the processing table can be created efficiently.

【0067】請求項7に係る発明にあって、状態遷移情
報変換部が、疑似イベント発生部がイベント解析部に擬
似的なイベントを発生した場合における状態遷移情報選
択部が選択している状態遷移情報記憶装置の状態遷移情
報、または、状態遷移エディタで選択した任意の状態遷
移情報を状態遷移テーブル上に処理シーケンスとして展
開するので、イベント駆動型プロセス実行装置を実稼働
させたまま、対象プロセスの稼働率を落とさずに、擬似
的な状態と擬似的なイベントとに基づいて処理シーケン
スの動作を容易に検証することができる。
In the invention according to claim 7, the state transition information conversion unit selects the state transition selected by the state transition information selection unit when the pseudo event generation unit generates a pseudo event in the event analysis unit. Since the state transition information of the information storage device or any state transition information selected in the state transition editor is expanded as a processing sequence on the state transition table, the target process of the target process can be The operation of the processing sequence can be easily verified based on the pseudo state and the pseudo event without lowering the operating rate.

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

【図1】本発明の一実施例のイベント駆動型プロセス制
御装置の全体構成を示すブロック図である。
FIG. 1 is a block diagram showing the overall configuration of an event-driven process control device according to an embodiment of the present invention.

【図2】図1のイベントテーブル11の構成の一例を示
す図である。
FIG. 2 is a diagram showing an example of a configuration of an event table 11 in FIG.

【図3】図1の状態テーブル12の構成の一例を示す図
である。
FIG. 3 is a diagram showing an example of a configuration of a state table 12 of FIG.

【図4】図1の処理テーブル13の構成の一例を示す図
である。
4 is a diagram showing an example of a configuration of a processing table 13 in FIG.

【図5】図1の状態遷移テーブル15の構成の一例を示
す図である。
5 is a diagram showing an example of a configuration of a state transition table 15 of FIG.

【図6】図1の状態遷移情報21a(21b,21c,
21d,…)のデータ構造の一例を示す図である。
FIG. 6 is state transition information 21a (21b, 21c,
21d, ...) Is a diagram showing an example of a data structure.

【図7】図1の状態遷移情報21aのデータ構造の具体
例の一部を示す図である。
7 is a diagram showing a part of a specific example of a data structure of state transition information 21a in FIG.

【図8】図1の処理インデックステーブル70の構成の
一例を示す図である。
8 is a diagram showing an example of a configuration of a processing index table 70 of FIG.

【図9】従来のイベント駆動型プロセス制御装置の全体
構成を示すブロック図である。
FIG. 9 is a block diagram showing the overall configuration of a conventional event-driven process control device.

【符号の説明】[Explanation of symbols]

1…シーケンス作成装置 2…状態遷移情報記憶装置 3…イベント駆動型プロセス実行装置 4…イベント 11…イベントテーブル 12…状態テーブル 13…処理テーブル 14…状態遷移エディタ 15…状態遷移テーブル 16…疑似状態設定部 17…疑似イベント発生部 18…状態遷移情報変換部 21a,21b,21c,21d,……状態遷移情報 30…状態遷移エンジン 31…イベント解析部 32…状態遷移情報解釈部 33…状態管理部 34…状態遷移情報選択部 35…実処理制御部 50…実処理部 60…対象プロセス 70…処理インデックステーブル 80…処理インデックストランスレータ 1 ... Sequence creation device 2 ... State transition information storage device 3 ... Event-driven process execution device 4 ... Event 11 ... Event table 12 ... State table 13 ... Processing table 14 ... State transition editor 15 ... State transition table 16 ... Pseudo state setting Part 17 ... Pseudo event generation part 18 ... State transition information conversion part 21a, 21b, 21c, 21d, ... State transition information 30 ... State transition engine 31 ... Event analysis part 32 ... State transition information interpretation part 33 ... State management part 34 State transition information selection unit 35 Actual process control unit 50 Actual process unit 60 Target process 70 Process index table 80 Process index translator

───────────────────────────────────────────────────── フロントページの続き (72)発明者 今西 芳典 広島市東区光町1丁目12番20号 株式会社 松下電器情報システム広島研究所内 (72)発明者 藤本 秀樹 広島市東区光町1丁目12番20号 株式会社 松下電器情報システム広島研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Yoshinori Imanishi 1-12-20, Hikarimachi, Higashi-ku, Hiroshima City Matsushita Electric Information Systems Hiroshima Research Laboratory (72) Inventor Hideki Fujimoto 1-12, Hikarimachi, Higashi-ku, Hiroshima No. 20 Inside Matsushita Electric Information Systems Hiroshima Laboratory

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 イベントの発生および対象プロセスの状
態に基づいて、当該対象プロセスの処理シーケンスに従
う制御動作を実行するイベント駆動型プロセス制御装置
であって、 前記対象プロセスと独立した状態で、前記対象プロセス
の処理シーケンスを生成するシーケンス作成装置、 前記対象プロセスと独立した状態で、前記シーケンス作
成装置とオンライン接続され、前記シーケンス作成装置
により生成された処理シーケンスの内容を含む状態遷移
情報を記憶・管理する状態遷移情報記憶装置、および前
記対象プロセスを独立した状態で含み、前記シーケンス
作成装置および状態遷移情報記憶装置とオンライン接続
され、前記イベントの種別と前記対象プロセスの状態
と、前記状態遷移情報記憶装置に記憶・管理された状態
遷移情報とに基づいて、前記対象プロセスを制御するイ
ベント駆動型プロセス実行装置を備える、イベント駆動
型プロセス制御装置。
1. An event-driven process control device that executes a control operation according to a processing sequence of a target process based on the occurrence of an event and the state of the target process, wherein the target process is independent of the target process. A sequence creation device that generates a processing sequence of a process, which is connected to the sequence creation device online in a state independent of the target process, and stores and manages state transition information including the contents of the processing sequence created by the sequence creation device. State transition information storage device and the target process that are independent of each other, online connected to the sequence creation device and the state transition information storage device, the type of the event, the state of the target process, and the state transition information storage With state transition information stored and managed in the device Zui and comprises an event-driven process execution unit which controls the target process, event-driven process control device.
【請求項2】 前記シーケンス作成装置は、 前記イベント駆動型プロセス実行装置に対するイベント
の種別を設定するためのイベントテーブル、 前記対象プロセスの内部状態の種別を設定するための状
態テーブル、 前記対象プロセスの処理の種別を設定するための処理テ
ーブル、 前記対象プロセスの状態遷移手順を設定するための状態
遷移テーブル、および前記イベントテーブルに設定され
たイベントの種別と、前記状態テーブルに設定されたプ
ロセスの内部状態の種別と、前記処理テーブルに設定さ
れた処理の種別とを参照して、前記状態遷移テーブルに
状態遷移手順を設定することにより、前記対象プロセス
の処理シーケンスを生成する状態遷移エディタを備え
る、請求項1に記載のイベント駆動型プロセス制御装
置。
2. The sequence creation device, an event table for setting an event type for the event-driven process execution device, a state table for setting an internal state type of the target process, A process table for setting a process type, a state transition table for setting a state transition procedure of the target process, and an event type set in the event table, and an internal process set in the state table A state transition editor that generates a processing sequence of the target process by setting a state transition procedure in the state transition table with reference to the type of state and the type of processing set in the processing table is provided. The event-driven process control device according to claim 1.
【請求項3】 前記イベント駆動型プロセス実行装置
は、さらに、 前記対象プロセスと独立した状態で、前記対象プロセス
の制御を行う状態遷移エンジンを含み、 前記状態遷移エンジンは、 前記イベントの内容を解析するイベント解析部、 前記対象プロセスの現在の内部状態を記憶・管理する状
態管理部、 前記イベント解析部が解析したイベントの内容と、前記
状態管理部が記憶管理している前記対象プロセスの現在
の内部状態とに基づいて前記状態遷移情報記憶装置が記
憶・管理する状態遷移情報を解釈する状態遷移情報解釈
部、および前記状態遷移情報解釈部が解釈した状態遷移
情報を参照して、対象プロセスを制御する実処理制御部
を備える、請求項1または2に記載のイベント駆動型プ
ロセス制御装置。
3. The event-driven process execution device further includes a state transition engine that controls the target process in a state independent of the target process, and the state transition engine analyzes the content of the event. An event analysis unit, a state management unit that stores and manages the current internal state of the target process, the content of the event analyzed by the event analysis unit, and a current state of the target process that is stored and managed by the state management unit. The target process is referenced by referring to the state transition information interpreting unit that interprets the state transition information stored and managed by the state transition information storage device based on the internal state, and the state transition information that the state transition information interpreting unit interprets. The event-driven process control device according to claim 1, comprising an actual processing control unit for controlling.
【請求項4】 前記状態遷移エンジンは、さらに前記イ
ベント解析部が前記状態遷移情報解釈部が使用する状態
遷移情報の種別を指定するイベントを受信した場合、前
記状態遷移情報記憶装置から指定された状態遷移情報を
オンラインで選択する状態遷移情報選択部を備える、請
求項3に記載のイベント駆動型プロセス制御装置。
4. The state transition engine further specifies from the state transition information storage device when the event analysis unit receives an event designating a type of state transition information used by the state transition information interpretation unit. The event driven process control device according to claim 3, further comprising a state transition information selection unit that selects state transition information online.
【請求項5】 前記イベント駆動型プロセス実行装置
は、さらに前記実処理制御部が前記対象プロセスの実処
理部に登録されている処理を実行する場合、処理インデ
ックスと実処理を対応づけるための処理インデックステ
ーブルを備える、請求項3または4に記載のイベント駆
動型プロセス制御装置。
5. The process for associating a process index with an actual process when the actual process control unit further executes a process registered in the actual process unit of the target process. The event driven process control device according to claim 3, further comprising an index table.
【請求項6】 前記イベント駆動型プロセス実行装置
は、さらに前記処理インデックステーブルの内容を前記
処理テーブルの内容に変換する処理インデックストラン
スレータを備える、請求項5に記載のイベント駆動型プ
ロセス制御装置。
6. The event-driven process control device according to claim 5, wherein the event-driven process execution device further comprises a processing index translator for converting the contents of the processing index table into the contents of the processing table.
【請求項7】 前記シーケンス作成装置は、さらに前記
状態遷移テーブルまたは前記イベント解析部に擬似的な
イベントを発生する疑似イベント発生部、 前記状態遷移テーブルに疑似的な状態を設定する疑似状
態設定部、および前記疑似イベント発生部が前記イベン
ト解析部に擬似的なイベントを発生した場合における前
記状態遷移情報選択部が選択している前記状態遷移情報
記憶装置の状態遷移情報、または、前記状態遷移エディ
タで選択した任意の状態遷移情報を前記状態遷移テーブ
ル上に処理シーケンスとして展開する状態遷移情報変換
部を備える、請求項4に記載のイベント駆動型プロセス
制御装置。
7. The sequence creation device further includes a pseudo event generation unit that generates a pseudo event in the state transition table or the event analysis unit, and a pseudo state setting unit that sets a pseudo state in the state transition table. , And the state transition information of the state transition information storage device selected by the state transition information selection unit when the pseudo event generation unit generates a pseudo event in the event analysis unit, or the state transition editor The event-driven process control device according to claim 4, further comprising a state transition information conversion unit that expands the arbitrary state transition information selected in 1. as a processing sequence on the state transition table.
JP6267089A 1994-10-31 1994-10-31 Event driving type process controller Pending JPH08129483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6267089A JPH08129483A (en) 1994-10-31 1994-10-31 Event driving type process controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6267089A JPH08129483A (en) 1994-10-31 1994-10-31 Event driving type process controller

Publications (1)

Publication Number Publication Date
JPH08129483A true JPH08129483A (en) 1996-05-21

Family

ID=17439897

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6267089A Pending JPH08129483A (en) 1994-10-31 1994-10-31 Event driving type process controller

Country Status (1)

Country Link
JP (1) JPH08129483A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999066679A1 (en) * 1998-06-19 1999-12-23 Matsushita Electric Industrial Co., Ltd. Data transmitting/receiving method and device, and program recorded medium
JP2010191964A (en) * 2009-02-19 2010-09-02 Fisher Rosemount Syst Inc Method and device to configure process control system using electronic description language script
JP2012243093A (en) * 2011-05-19 2012-12-10 Mitsubishi Electric Corp Tracking antenna control device
JP2015018553A (en) * 2013-07-09 2015-01-29 フィッシャー−ローズマウント システムズ,インコーポレイテッド State machine function block with user-definable actions on transition between states
US10671038B2 (en) 2016-07-15 2020-06-02 Fisher-Rosemount Systems, Inc. Architecture-independent process control
CN113010158A (en) * 2021-03-18 2021-06-22 中国科学技术大学 Method for converting pure state trigger action programming paradigm into event driven system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999066679A1 (en) * 1998-06-19 1999-12-23 Matsushita Electric Industrial Co., Ltd. Data transmitting/receiving method and device, and program recorded medium
JP2010191964A (en) * 2009-02-19 2010-09-02 Fisher Rosemount Syst Inc Method and device to configure process control system using electronic description language script
US9354629B2 (en) 2009-02-19 2016-05-31 Fisher-Rosemount Systems, Inc. Methods and apparatus to configure a process control system using an electronic description language script
JP2012243093A (en) * 2011-05-19 2012-12-10 Mitsubishi Electric Corp Tracking antenna control device
JP2015018553A (en) * 2013-07-09 2015-01-29 フィッシャー−ローズマウント システムズ,インコーポレイテッド State machine function block with user-definable actions on transition between states
US10671038B2 (en) 2016-07-15 2020-06-02 Fisher-Rosemount Systems, Inc. Architecture-independent process control
US11609542B2 (en) 2016-07-15 2023-03-21 Fisher-Rosemount Systems, Inc. Architecture-independent process control
CN113010158A (en) * 2021-03-18 2021-06-22 中国科学技术大学 Method for converting pure state trigger action programming paradigm into event driven system

Similar Documents

Publication Publication Date Title
US6651240B1 (en) Object-oriented software development support apparatus and development support method
JP2000275276A (en) Unified trigger function display system for developing trigger definition and method thereof
JPH09259153A (en) Device and method for generating batch execution control program
JPH086812A (en) Debugging method and debugger for information processing program
JP4305307B2 (en) Digital mixer capable of programming mixer configuration, mixer configuration editing device, and control application program for controlling digital mixer
JP2002202899A (en) Method for extending function of debugger and debug system and recording medium with debugger program recorded
JPH08129483A (en) Event driving type process controller
JPH06348766A (en) Method and device for incorporating tool
JPH09223040A (en) System test supporting device for software and test scenario generator to be used for the same
JPWO2007097014A1 (en) Information system operation check method, operation check program, recording medium, and operation check system
JP2720768B2 (en) Program customization equipment
KR0133411B1 (en) Automatic generation method of command dialog box in basestation subsystem manager
JP2009080536A (en) Bom editing device, editing program, editing system and editing method
JPH10221130A (en) Analyzer
JPH0520046A (en) Method and device for program development assistance
JPH1165888A (en) Software testing device and storage medium
JPH0561662A (en) Method and device for controlling execution of program parts
JP2000207188A (en) Device and method for automatically generating program and recording medium thereof
JPH0916218A (en) Programming device of programmable controller, and its sequence program preparing method
JPH09223042A (en) System test device for software
JPH0847014A (en) Development aid/maintenance system for software for exchange
JP2002014064A (en) Analysis system
JP3392505B2 (en) Program module execution controller
JP2010092333A (en) Standard operation procedure manual preparation support system for analysis apparatus and program for the system
JPH05181661A (en) General purpose menu system for each user