JP2008310475A - Workflow cooperation method, workflow cooperation program, and workflow connector - Google Patents

Workflow cooperation method, workflow cooperation program, and workflow connector Download PDF

Info

Publication number
JP2008310475A
JP2008310475A JP2007156184A JP2007156184A JP2008310475A JP 2008310475 A JP2008310475 A JP 2008310475A JP 2007156184 A JP2007156184 A JP 2007156184A JP 2007156184 A JP2007156184 A JP 2007156184A JP 2008310475 A JP2008310475 A JP 2008310475A
Authority
JP
Japan
Prior art keywords
workflow
notification
caller
work
response
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
JP2007156184A
Other languages
Japanese (ja)
Inventor
Masaaki Tanada
昌明 棚田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007156184A priority Critical patent/JP2008310475A/en
Publication of JP2008310475A publication Critical patent/JP2008310475A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide efficient processing as to a system constructed by cooperating workflows. <P>SOLUTION: This work flow connector 2 stores a called side workflow, work in the called side workflow and a situation of the work, in a notification condition storage part, while correlated therewith as notification conditions, the notification condition is determined to be satisfied when a situation of the work notified from a called side workflow device 3b is consistent with the situation of the work read from the notification condition storage part, and a response notification to calling-out from the called side workflow device 3b is repeated to a calling side workflow device 3a, when the notification condition is satisfied. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、ワークフロー連携方法、ワークフロー連携プログラム、および、ワークフロー接続装置に関する。   The present invention relates to a workflow cooperation method, a workflow cooperation program, and a workflow connection apparatus.

企業内のシステムは、会社の事業拡大の歴史、ITテクノロジーの変遷、そして事業・部門単位で予算化されシステムが構築されてきたことなど、企業の文化・成長背景によって、その時々の最善の選択を行った結果、複雑なシステム構成になってしまっているケースが多い。   The system within the company is the best choice at the time depending on the company's culture and growth background, such as the history of the company's business expansion, the transition of IT technology, and the fact that the system has been budgeted for each business / department. As a result, there are many cases where the system configuration is complicated.

そのようなシステムの状況とは関係なく、ビジネスは事業拡大のために、市場追従のために常に変化している。その変化に対応すべく、企業内のシステムも変化を求められるのは当然の要求である。この要求に対し、より柔軟な対応の方法として生まれたのがSOA(Service Oriented Architecture)という考え方である。   Regardless of the status of such systems, business is constantly changing to expand the business and to follow the market. In order to respond to the change, it is a natural requirement that the system in the company is also required to change. The idea of SOA (Service Oriented Architecture) was born as a more flexible method of responding to this requirement.

SOAとは、企業の各システムが実行する一連のワーク(作業処理)を束ねたワークフローごとに、Webサービスなどの標準化したインタフェースを設け、ほかのシステムやエンドユーザーのWebブラウザおよびクライアントソフトから、単純な手続きによってネットワーク経由で、ワークフローを呼び出せるようにするというものである。   SOA is a standardized interface such as a web service for each workflow that bundles a series of work (work processing) executed by each system of a company. It is simple from other systems and end-user web browsers and client software. The workflow can be called via the network through simple procedures.

なお、ワークフローは、コンピュータが、BPML(Business Process Modeling Language)などで記述されたビジネスプロセス定義をインスタンス化(実行プロセス化)したものである。また、Webサービスのインタフェースは、WSDL(Web Service Definition Language)などの標準化された規格で記述されており、外部のシステムからの利用を可能にしている。   The workflow is an instance (execution process) of a business process definition described in BPML (Business Process Modeling Language) by a computer. Further, the interface of the Web service is described in a standardized standard such as WSDL (Web Service Definition Language), and can be used from an external system.

SOAの考え方に基づき連携させるシステムは、ESB(Enterprise Service Bus)と直に接続する。システムは、ESBを通じて、ほかのシステムとメッセージをやり取りする。換言すると、ESBは、連携させるシステム間のメッセージのやり取りを一手に担う通り道になる。   A system to be linked based on the SOA concept is directly connected to an ESB (Enterprise Service Bus). The system exchanges messages with other systems through the ESB. In other words, the ESB is a way to handle message exchange between the systems to be linked together.

なお、ESBという用語は、システムを連携させることを目的とした技術を総称するものであり、特定の仕様や標準を指すものではない。現状のESBの定義には様々なものがあるが、以下の3つの機能が最低限必要であり、これらの機能を備えるシステム基盤が狭義のESBと言える。
(1)レジストリ
(2)メッセージ・ルーティング
(3)プロトコルやデータ形式の変換
Note that the term ESB is a generic term for technologies aimed at linking systems, and does not indicate a specific specification or standard. Although there are various definitions of the current ESB, the following three functions are required at a minimum, and a system infrastructure having these functions can be said to be an ESB in a narrow sense.
(1) Registry (2) Message routing (3) Protocol and data format conversion

(1)レジストリは、連携させる各システムの情報を一元的に管理する機能である。例えば、別のシステムへのメッセージ送信をESBに依頼する際、レジストリに格納されている送り先のシステムの物理的な場所を取得することができる。よって、各メッセージ送信において、送り先のシステムの物理的な場所まで指定する必要はない。   (1) The registry is a function that centrally manages information of each system to be linked. For example, when requesting the ESB to send a message to another system, the physical location of the destination system stored in the registry can be acquired. Therefore, it is not necessary to specify the physical location of the destination system in each message transmission.

(2)メッセージ・ルーティングは、レジストリに格納された各システムの情報に基づいて、仲介するメッセージを送り先のシステムに届ける機能である。ルーティングする際、メッセージ中の引数に応じて送り先を変えるといった単純な分岐処理や、あるシステムにメッセージを届けた後で次に別のシステムにも届けるという行程の設定も可能である。   (2) Message routing is a function for delivering a mediating message to a destination system based on information of each system stored in the registry. When routing, it is possible to set up a simple branching process such as changing the destination according to the argument in the message or a process of delivering the message to one system and then delivering it to another system.

(3)プロトコルやデータ形式の変換は、ESBは送り先のシステムに合わせて、プロトコルとデータ形式を変換する機能である。ESBでは、各システムが利用可能なプロトコルやデータ形式をレジストリで管理しており、その情報に基づいて、仲介するメッセージを送り先のシステムが解釈可能な形式に変換する。   (3) The protocol and data format conversion is a function for converting the protocol and data format of the ESB according to the destination system. In ESB, protocols and data formats that can be used by each system are managed in the registry, and based on the information, the mediating message is converted into a format that can be interpreted by the destination system.

非特許文献1では、互いに異なる2つのインタフェースを接続する手段として、アダプタが提案されている。アダプタは、レガシーシステムからサービスプラットフォームへの、データ変換および文字コード変換を実行する。これにより、双方からのワークフローの呼び出しを可能としている。
株式会社日立製作所、“日立ミドルウェア・プラットフォームソフトウェア総合サイト・Cosminexusサービス構成”、[online]、[平成19年4月27日検索]、インターネット<URL:http://www.hitachi.co.jp/Prod/comp/soft1/cosminexus/products/lineup/sa/index.html>
Non-Patent Document 1 proposes an adapter as means for connecting two different interfaces. The adapter performs data conversion and character code conversion from the legacy system to the service platform. As a result, the workflow can be called from both sides.
Hitachi, Ltd., “Hitachi middleware / platform software general site / Cosminexus service configuration”, [online], [Search April 27, 2007], Internet <URL: http://www.hitachi.co.jp/ Prod / comp / soft1 / cosminexus / products / lineup / sa / index.html>

図9は、同期方式および非同期方式におけるワークフローの連携方式を示す説明図である。ここでは、住民が引っ越し時に役所に対して行う手続きについて、複数の役所手続きを1カ所にまとめるワンストップサービスを例に説明を行う。呼出元ワークフローは、複数の呼出先ワークフローを順に呼び出すことにより、呼出先ワークフローを連携させる。なお、呼出先ワークフローは、新たに開発するよりも、既に稼働しているレガシーシステムを活用するほうが開発費の削減などの観点で望ましい。   FIG. 9 is an explanatory diagram showing a workflow cooperation method in the synchronous method and the asynchronous method. Here, a description will be given of a procedure performed by a resident at a government office when moving, taking as an example a one-stop service that combines a plurality of government office procedures into one place. The caller workflow links the callee workflows by sequentially calling a plurality of callee workflows. Note that it is preferable to use a legacy system that is already in operation rather than newly developing a call destination workflow from the viewpoint of reducing development costs.

呼出先ワークフローは、1つ以上のワーク(コンピュータが実行する作業処理)を接続することで構成される。例えば、図9(a)の呼出先ワークフローは、3つのワーク(受付処理、課長職審査処理、部長職審査処理)を順に接続することで構成される。   The call destination workflow is configured by connecting one or more works (work processes executed by a computer). For example, the callee workflow in FIG. 9A is configured by sequentially connecting three works (a reception process, a section manager examination process, and a department manager examination process).

図9(a)は、同期方式によるワークフロー連携を示す。既存の2つの呼出先ワークフロー(転出手続き、転入手続き)を連携させる呼出元ワークフロー(引っ越し手続き)を作成する場合を考える。同期方式では、ワークフロー呼び出しを行うと、その応答を待ってから、次の処理に進む。図中では、呼び出しや応答などの通信を点線矢印で示す。よって、転入手続きは、転出手続きが全て完了してから、実行される。これにより、転出手続きは、転入手続きの処理結果を活用することができる。   FIG. 9A shows workflow cooperation by a synchronous method. Consider a case of creating a caller workflow (moving procedure) that links two existing callee workflows (moving procedure, moving procedure). In the synchronous method, when a workflow is called, the process waits for a response before proceeding to the next process. In the figure, communication such as calling and answering is indicated by dotted arrows. Therefore, the transfer procedure is executed after the transfer procedure is completed. Thereby, the transfer procedure can utilize the processing result of the transfer procedure.

図9(b)は、非同期方式によるワークフロー連携を示す。非同期方式では、ワークフロー呼び出しを行うと、その応答を待たずに、次の処理に進むことができる。よって、転入手続きは、転出手続きが完了していなくても、実行される。これにより、転入手続きおよび転出手続きが、並列で実行されるため、早い時間で両方の処理を完了することができる。   FIG. 9B shows workflow cooperation by an asynchronous method. In the asynchronous method, when a workflow call is made, it is possible to proceed to the next process without waiting for a response. Therefore, the transfer procedure is executed even if the transfer procedure is not completed. Thereby, since the transfer-in procedure and the transfer-out procedure are executed in parallel, both processes can be completed in an early time.

図9(a)の同期方式、および、図9(b)の非同期方式の双方に共通する特徴として、呼出先ワークフローの応答は、呼出先ワークフローを構成するワークのうち、最後のワークが完了したときに、1回だけ通知されることである。この仕様は、ESBでは呼び出すワークフローを構成するワークごとの状態を管理していないことにより、規定されている。   As a feature common to both the synchronous method of FIG. 9A and the asynchronous method of FIG. 9B, the response of the callee workflow is the completion of the last work among the works constituting the callee workflow. Sometimes it is notified only once. This specification is defined by the fact that ESB does not manage the status of each work constituting the workflow to be called.

しかし、ワークフローの内容によっては、ワークフローを連携させるときに、無駄な待ち時間が発生してしまう場合がある。例えば、転出手続きの「課長職審査処理」の処理結果として「転出証明書」が発行され、転出手続きの「部長職審査処理」の処理結果として住民票データベースへの書き換えが実行されるとする。そして、転入手続きの「受付処理」では、事前に「転出証明書」が必要であるとする。   However, depending on the contents of the workflow, there is a case where a wasteful waiting time occurs when the workflow is linked. For example, it is assumed that a “transfer certificate” is issued as a processing result of the “section manager examination process” of the transfer procedure, and rewriting to the resident's card database is executed as a process result of the “manager inspection process” of the transfer procedure. It is assumed that a “transfer certificate” is required in advance in the “acceptance process” of the transfer procedure.

もし、転出手続きの「課長職審査処理」が終了した時点で応答が発行されると、転出手続きの「部長職審査処理」の終了を待たずに、転入手続きの「受付処理」を開始することができ、効率的である。   If a response is issued when the transfer manager's section manager review process is completed, the transfer procedure's reception process must be started without waiting for the transfer manager's department manager review process to end. Can be efficient.

しかし、図9(a)の同期方式では、ワークフローの途中である転出手続きの「課長職審査処理」では応答が通知されないため、転出手続きの「部長職審査処理」の終了まで応答通知が待たされてしまい、非効率である。   However, in the synchronous method of FIG. 9A, no response is notified in the “section manager review process” of the transfer procedure in the middle of the workflow, so the response notification is waited until the end of the “department manager review process” of the transfer procedure. It is inefficient.

また、図9(b)の非同期方式では、転出手続きの「課長職審査処理」の終了を待たずに、転入手続きの「受付処理」が開始されてしまい、「転出証明書」が発行されていないので、転入手続きが止まってしまう。   In the asynchronous method of FIG. 9B, the “acceptance process” of the transfer procedure is started without waiting for the completion of the “section manager examination process” of the transfer procedure, and the “transfer certificate” is issued. Because there is not, transfer procedure stops.

以上説明したように、呼出元ワークフローが、呼出先ワークフローを呼び出したときに、呼出先ワークフローから呼出元ワークフローへの呼び出しへの応答について、通知するタイミングが、呼出先ワークフローの処理完了時の1回だけであると、効率的なワークフロー連携システムの構築が困難となる場合がある。   As described above, when the callee workflow calls the callee workflow, the timing for notifying the response to the call from the callee workflow to the callee workflow is one time when the process of the callee workflow is completed. If it is only, it may be difficult to construct an efficient workflow linkage system.

特に、ワークフローを構成するワークについて、1つでも対話型ワークが存在するときには、そのワークフローの実行時間が全体的に長期間になってしまい、応答が遅れてしまう。なお、対話型ワークとは、ユーザからの入力を待つワークである。その結果として、呼出元ワークフローが処理停滞に陥ってしまう。   In particular, when there is at least one interactive work for a work constituting the workflow, the execution time of the work flow becomes long as a whole, and the response is delayed. The interactive work is a work that waits for input from the user. As a result, the caller workflow falls into a process stagnation.

そこで、本発明は、ワークフローを連携させて構築するシステムについて、効率的な処理を実現することを、主な目的とする。   Therefore, the main object of the present invention is to realize efficient processing for a system constructed by linking workflows.

前記課題を解決するため、本発明は、SOAに基づくサービスを実現するためのビジネスプロセス定義がインスタンス化されたワークを順に実行するワークフローについて、呼出元ワークフローを実行する呼出元ワークフロー装置、前記呼出元ワークフローから呼び出されて開始される呼出先ワークフローを実行する呼出先ワークフロー装置、および、呼び出しへの応答通知を前記呼出先ワークフロー装置から前記呼出元ワークフロー装置へと中継するワークフロー接続装置を、通信可能に接続して構成されるワークフローシステムが実行するワークフロー連携方法であって、前記ワークフロー接続装置が、前記呼出先ワークフロー、その呼出先ワークフロー内のワーク、および、そのワークの状態を通知条件として対応づけて通知条件記憶部に格納し、前記呼出先ワークフロー装置から通知された前記ワークの状態と、前記通知条件記憶部から読み取った前記通知条件の前記ワークの状態とが一致するときに、前記通知条件を満たしたと判定し、前記通知条件を満たしたときに、前記呼出先ワークフロー装置からの呼び出しへの前記応答通知を前記呼出元ワークフロー装置へと中継することを特徴とする。その他の手段は、後記する。   In order to solve the above-described problem, the present invention provides a caller workflow apparatus that executes a caller workflow for a workflow that sequentially executes a work in which a business process definition for realizing a service based on SOA is instantiated, and the caller Communication is possible between a callee workflow device that executes a callee workflow started by being called from a workflow, and a workflow connection device that relays a response notification to the call from the callee workflow device to the caller workflow device. A workflow linkage method executed by a connected workflow system, wherein the workflow connection device associates the call destination workflow, the work in the call destination workflow, and the state of the work as notification conditions. Notification condition memory When the state of the work notified from the call destination workflow device matches the state of the work of the notification condition read from the notification condition storage unit, it is determined that the notification condition is satisfied. When the notification condition is satisfied, the response notification to the call from the callee workflow device is relayed to the caller workflow device. Other means will be described later.

本発明によれば、ワークフローを連携させて構築するシステムについて、効率的な処理を実現することが可能になった。   According to the present invention, it has become possible to realize efficient processing for a system constructed by linking workflows.

図1は、ワークフローの連携方式を示す説明図である。図1の各ワークフローおよびその構成要素であるワークは、図9で説明したものと同じである。   FIG. 1 is an explanatory diagram showing a workflow cooperation method. Each workflow in FIG. 1 and the work that is a component thereof are the same as those described in FIG.

呼出元ワークフロー(引っ越し手続き)102は、呼出先ワークフロー(転出手続き)101を呼び出すワークフロー呼び出し102aおよびその応答を受け付けるワークフロー応答受付102b、ならびに、呼出先ワークフロー(転入手続き)103を呼び出すワークフロー呼び出し102cおよびその応答を受け付けるワークフロー応答受付102dを順に実行する。   The caller workflow (moving procedure) 102 includes a workflow call 102a that calls the callee workflow (transfer procedure) 101, a workflow response reception 102b that receives the response, and a workflow call 102c that calls the callee workflow (transfer procedure) 103 and the workflow call 102c. Workflow response reception 102d for receiving a response is executed in order.

呼出先ワークフロー(転出手続き)101は、受付処理101a→課長職審査処理101b→部長職審査処理101cの順に実行する。課長職審査処理101bの処理結果として「転出証明書」が発行され、部長職審査処理101cの処理結果として「住民票データベース」への書き換えが実行される。   The callee workflow (transfer procedure) 101 is executed in the order of reception processing 101a → section manager examination processing 101b → department manager examination processing 101c. A “transfer certificate” is issued as a processing result of the section manager examination process 101b, and rewriting to the “resident card database” is executed as a process result of the department manager examination process 101c.

呼出先ワークフロー(転入手続き)103は、受付処理103a→課長職審査処理103b→部長職審査処理103cの順に実行する。なお、「転出証明書」および「住民票データベース」などの処理結果のデータは、各呼出先ワークフローで、図示しない共有データベースなどで、応答とは別ルートでやりとりされる。   The callee workflow (transfer procedure) 103 is executed in the order of the reception process 103a → the section manager examination process 103b → the department manager examination process 103c. It should be noted that processing result data such as “transfer certificate” and “resident card database” is exchanged in a separate route from the response in a shared database (not shown) in each call destination workflow.

ワークフロー接続装置2は、各呼出先ワークフローから呼出元ワークフロー102への、任意のタイミングでの応答通知を可能にする。なお、図中のワークフロー接続装置2は、2台記載したが、1台以上なら任意の台数としてよい。   The workflow connection device 2 enables a response notification from each call destination workflow to the call source workflow 102 at an arbitrary timing. In addition, although two workflow connection apparatuses 2 are illustrated in the drawing, any number may be used as long as the number is one or more.

まず、ワークフロー接続装置2に対して、応答通知を実行するための通知条件をあらかじめ登録しておく。次に、各呼出先ワークフローの各ワークについて、実行開始、実行中、実行終了などの状態の遷移が発生するごとに、ワークフロー接続装置2に対して、状態遷移が発生したことを毎回通知する。そして、ワークフロー接続装置2は、毎回通知される状態遷移の中から、通知条件に適合する通知を取捨選択して、呼出元ワークフロー102へ通知する。通知条件は、ワークフロー間の相関関係を定義したものともいえる。   First, a notification condition for executing a response notification is registered in advance with respect to the workflow connection apparatus 2. Next, for each work of each call destination workflow, every time a state transition such as the start of execution, during execution, or the end of execution occurs, the workflow connection device 2 is notified every time that the state transition has occurred. Then, the workflow connection apparatus 2 selects a notification that matches the notification condition from the state transitions notified each time, and notifies the caller workflow 102 of the notification. It can be said that the notification condition defines a correlation between workflows.

図2は、本実施形態のワークフロー連携システムを示す構成図である。ワークフロー連携システムは、呼出元ワークフロー装置3a、複数の呼出先ワークフロー装置3b、ワークフロー接続装置2、設定装置5、および、運用装置6が、互いにネットワーク9に接続されて構成される。   FIG. 2 is a configuration diagram showing the workflow cooperation system of this embodiment. The workflow cooperation system includes a caller workflow device 3a, a plurality of callee workflow devices 3b, a workflow connection device 2, a setting device 5, and an operation device 6 that are connected to a network 9.

呼出元ワークフロー装置3aは、複数の呼出先ワークフロー装置3bがそれぞれ実行するワークフローを呼び出すことにより、ワークフローを連携させる。呼び出された呼出先ワークフロー装置3bは、呼び出しに対する応答をワークフロー接続装置2に通知する。ワークフロー接続装置2は、あらかじめ設定された通知条件を満たす応答を呼出元ワークフロー装置3aに転送する。設定装置5は、ワークフロー接続装置2の通知条件などの設定情報を設定する。運用装置6は、応答を通知するための制御の開始を指示する。   The caller workflow device 3a links the workflows by calling the workflows respectively executed by the plurality of callee workflow devices 3b. The called destination workflow device 3b notifies the workflow connection device 2 of a response to the call. The workflow connection device 2 transfers a response that satisfies a preset notification condition to the caller workflow device 3a. The setting device 5 sets setting information such as a notification condition of the workflow connection device 2. The operation device 6 instructs the start of control for notifying a response.

なお、複数の呼出先ワークフロー装置3bで、ワークフローの処理結果(例えば、図1で説明した「転出証明書」など)をやりとりするための共用データベース8が、複数の呼出先ワークフロー装置3bからアクセス可能に構成されている。この共用データベース8は、1台としてもよいし、複数台のデータベースを用意し、アクセス権を共用(シェアード)とすることにより構成してもよい。   A shared database 8 for exchanging workflow processing results (for example, the “transfer certificate” described in FIG. 1) between a plurality of call destination workflow devices 3b is accessible from the plurality of call destination workflow devices 3b. It is configured. The shared database 8 may be one, or may be configured by preparing a plurality of databases and sharing access rights.

図3は、本実施形態のワークフロー連携システムを構成する各装置の詳細を示す説明図である。   FIG. 3 is an explanatory diagram showing details of each device constituting the workflow cooperation system of the present embodiment.

図3(a)は、呼出元ワークフロー装置3aの構成図である。   FIG. 3A is a configuration diagram of the caller workflow device 3a.

呼出元ワークフロー装置3aは、CPU31a、主記憶装置32a、および、データベース33aから構成される。主記憶装置32aは、ワーク実行中の状態を一定時間ごと監視するワーク状態監視部321a、および、配備されたワークを実行し制御するワーク実行部322aを構成するためのプログラムを格納する。ワーク状態監視部321aは、ワークフローが生成される時点で、そのワークフローを構成するワークに対する状態監視を開始する。   The caller workflow device 3a includes a CPU 31a, a main storage device 32a, and a database 33a. The main storage device 32a stores a program for configuring a work state monitoring unit 321a for monitoring a state during execution of a work every predetermined time, and a work execution unit 322a for executing and controlling the deployed work. The work state monitoring unit 321a starts state monitoring for the work constituting the workflow when the workflow is generated.

データベース33aは、自装置で実行するワークフローの内容を定義したビジネスプロセス定義格納部331a、および、自装置で実行するワークフローを構成する各ワークごとの状態を格納しているワーク状態テーブル332aを格納する。   The database 33a stores a business process definition storage unit 331a that defines the contents of a workflow that is executed by the own apparatus, and a work state table 332a that stores the state of each work constituting the workflow executed by the own apparatus. .

図3(b)は、呼出先ワークフロー装置3bの構成図である。互いに連携させる呼出先ワークフロー装置3bは、3台以上あってもよい。呼出先ワークフロー装置3bは、呼出元ワークフロー装置3aと同様の構成であり、符号の末尾[a]と「b」がそれぞれの構成要素の対応を示す。同様の構成とした理由は、呼出先および呼出元という役割が、所定のワークフローだけに着目した固定的なものではなく、別のワークフローに着目すると、別の役割が割り当てられることがあるためである。   FIG. 3B is a configuration diagram of the callee workflow device 3b. There may be three or more call destination workflow devices 3b linked to each other. The call destination workflow device 3b has the same configuration as that of the call source workflow device 3a, and the suffixes [a] and “b” of the reference numerals indicate the correspondence between the components. The reason for adopting the same configuration is that the roles of the call destination and the call source are not fixed, focusing only on a predetermined workflow, and if another workflow is focused, another role may be assigned. .

図3(c)は、ワークフロー接続装置2の構成図である。ワークフロー接続装置2は、複数分けて起動させることで負荷を軽減させてもよい。   FIG. 3C is a configuration diagram of the workflow connection device 2. The workflow connection device 2 may reduce the load by being activated in a plurality of ways.

ワークフロー接続装置2は、CPU21、主記憶装置22、および、データベース23から構成される。主記憶装置22は、データ変換部221、通知条件判定部222、および、メッセージ送信部223を構成するためのプログラムから構成される。   The workflow connection device 2 includes a CPU 21, a main storage device 22, and a database 23. The main storage device 22 includes a data conversion unit 221, a notification condition determination unit 222, and a program for configuring the message transmission unit 223.

データベース23は、応答メッセージの通知条件を格納する通知条件テーブル231、各呼出先ワークフロー装置3bから通知されたワーク状態を統合管理するワーク状態統合テーブル232、および、各装置への通信を行う時に参照される通信管理テーブル233を格納する。   The database 23 is a notification condition table 231 that stores notification conditions for response messages, a work state integration table 232 that integrates and manages work states notified from each call destination workflow device 3b, and is referred to when communicating with each device. The communication management table 233 to be stored is stored.

通知条件判定部222は、ワーク状態監視部321bからワーク状態テーブル332bに書き込まれた状態更新の情報が送られてくると、その情報を呼出先ワークフロー装置3bのホスト名と対応づけて、ワーク状態統合テーブル232へと書き込む。   When the state update information written in the work state table 332b is sent from the work state monitoring unit 321b, the notification condition determination unit 222 associates the information with the host name of the called workflow device 3b, Write to integrated table 232.

通知条件判定部222は、ワーク状態統合テーブル232に書き込まれた状態更新の情報が、通知条件テーブル231の通知条件を満たしているか否かを評価する。通知条件を満たしたときには、データ変換部221が、通信管理テーブル233から通知先の呼出元ワークフロー装置3aを特定し、その通知先が処理可能な形式に変換した応答メッセージを作成する。   The notification condition determination unit 222 evaluates whether or not the state update information written in the work state integration table 232 satisfies the notification condition of the notification condition table 231. When the notification condition is satisfied, the data conversion unit 221 identifies the call destination workflow device 3a as the notification destination from the communication management table 233, and creates a response message converted into a format that can be processed by the notification destination.

メッセージ送信部223は、データ変換部221が作成した応答メッセージを呼出元ワークフロー装置3aへ通知する。また、メッセージ送信部223は、通知条件が成立し、以降のワークフローの応答が別の通知条件に定義されていない呼出先ワークフロー装置3bに対して、応答を返したという連絡をその呼出先ワークフロー装置3bのワーク状態監視部321bに送ることにより、ワーク状態監視部321b状態監視を終了させる。   The message transmission unit 223 notifies the response message created by the data conversion unit 221 to the caller workflow device 3a. Further, the message sending unit 223 notifies the callee workflow device 3b that the response is returned to the callee workflow device 3b in which the notification condition is satisfied and the response of the subsequent workflow is not defined in another notification condition. The work state monitoring unit 321b state monitoring is terminated by sending the work state monitoring unit 321b of 3b.

図4は、本実施形態のワークフロー連携システムを構成する各装置の詳細を示す説明図である。なお、各装置の処理部は、独立した装置に分散させて配置してもよいし、同一の装置上に集中させて配置してもよい。   FIG. 4 is an explanatory diagram showing details of each device constituting the workflow cooperation system of the present embodiment. It should be noted that the processing units of each device may be distributed and arranged in independent devices, or may be concentrated on the same device.

図4(a)は、設定装置5の構成図である。   FIG. 4A is a configuration diagram of the setting device 5.

設定装置5は、CPU51、主記憶装置52、および、磁気ディスク装置53から構成される。主記憶装置52は、設定部521を構成するためのプログラムを格納する。磁気ディスク装置53は、ワークフローの連携を行うための通信情報を定義した通信先定義ファイル531、および、ワークフローの状態遷移についてどのような条件でどのような制御が加えられるかを定義した通知条件定義ファイル532を格納する。   The setting device 5 includes a CPU 51, a main storage device 52, and a magnetic disk device 53. The main storage device 52 stores a program for configuring the setting unit 521. The magnetic disk device 53 includes a communication destination definition file 531 that defines communication information for linking workflows, and a notification condition definition that defines under what conditions and what control is applied to the workflow state transition. A file 532 is stored.

設定部521は、作成された通信先定義ファイル531、および、通知条件定義ファイル532を磁気ディスク装置53に設定する。設定部521は、磁気ディスク装置53に設定された各ファイルを、ワークフロー接続装置2の通知条件テーブル231、ワーク状態統合テーブル232、および、通信管理テーブル233内にそれぞれ登録する。   The setting unit 521 sets the created communication destination definition file 531 and notification condition definition file 532 in the magnetic disk device 53. The setting unit 521 registers each file set in the magnetic disk device 53 in the notification condition table 231, the work state integration table 232, and the communication management table 233 of the workflow connection device 2.

図4(b)は、運用装置6の構成図である。   FIG. 4B is a configuration diagram of the operation apparatus 6.

運用装置6は、CPU61および主記憶装置62から構成される。主記憶装置62は、ワークフロー接続装置2、および、ワーク状態監視部321bを起動および操作するための運用操作部621を構成するためのプログラムを格納する。   The operation device 6 includes a CPU 61 and a main storage device 62. The main storage device 62 stores a program for configuring the operation operation unit 621 for starting and operating the workflow connection device 2 and the work state monitoring unit 321b.

図5は、ワーク状態監視部321bおよびワーク実行部322bの処理概要を示す説明図である。   FIG. 5 is an explanatory diagram showing an outline of processing of the workpiece state monitoring unit 321b and the workpiece execution unit 322b.

まず、ワーク実行部322bは、ワークフロー接続装置2などからワークフローの実行要求を受信すると、ビジネスプロセス定義格納部331bに格納されたビジネスプロセス定義をインスタンス化して、呼出先ワークフロー(転出手続き)101などのワークフローを実行する。   First, when the work execution unit 322b receives a workflow execution request from the workflow connection device 2 or the like, the work execution unit 322b instantiates the business process definition stored in the business process definition storage unit 331b and calls the call destination workflow (transfer procedure) 101 or the like. Run the workflow.

次に、ワーク状態監視部321bは、ワークフローの実行が開始されると、実行されるワークフローを構成する各ワーク間の状態遷移を監視し、状態遷移を変更として検知すると、その結果をワーク状態テーブル332bに書き込む。なお、監視のタイミングは、例えば、一定間隔である。   Next, when the execution of the workflow is started, the work state monitoring unit 321b monitors the state transition between the works constituting the executed workflow, and when the state transition is detected as a change, the result is displayed in the work state table. Write to 332b. Note that the monitoring timing is, for example, at regular intervals.

図6(a)は、通信管理テーブル233の一例を示す。通信管理テーブル233は、呼出先ワークフロー装置ごとに、装置の「ホスト名」、および、その装置の「IPアドレス」から構成される。「ホスト名」には、呼出先ワークフロー装置を一意に特定する名称が格納される。「IPアドレス」には、その装置のネットワーク上における場所をを一意に特定するIPアドレスが格納される。つまり、通信管理テーブル233は、名前解決(DNS:Domain Name System)を実現するためのテーブルである。   FIG. 6A shows an example of the communication management table 233. The communication management table 233 includes, for each called workflow device, the “host name” of the device and the “IP address” of the device. The “host name” stores a name that uniquely identifies the called workflow device. The “IP address” stores an IP address that uniquely identifies the location of the device on the network. That is, the communication management table 233 is a table for realizing name resolution (DNS: Domain Name System).

図6(b)は、ワーク状態統合テーブル232の一例を示す。ワーク状態統合テーブル232は、呼び出しに用いる各マシンの「ホスト名」と、呼出先ワークフローを特定する「呼出先ワークフローID」と、呼出先ワークフローを構成するワークを特定する「呼出先ワークID」と、そのワークIDで特定されるワークの状態を示す「呼出先ワーク状態」とを、互いに対応づけて格納する。なお、「ホスト名」は、図6(a)と図6(b)とで同じ内容を示す。   FIG. 6B shows an example of the work state integration table 232. The work state integration table 232 includes a “host name” of each machine used for a call, a “call destination workflow ID” for specifying a call destination workflow, and a “call destination work ID” for specifying a work constituting the call destination workflow. The “call destination work state” indicating the work state specified by the work ID is stored in association with each other. The “host name” has the same contents in FIG. 6A and FIG.

図6(c)は、通知条件テーブル231の一例を示す。通知条件テーブル231は、通知条件名を表す「通知条件名」と、呼出元のワークフローを特定する「呼出元ワークフローID」と、応答を返す際の呼出元の状態を表す「呼出元応答返却状態」と、図6(b)で説明した呼出先に関する情報(「呼出先ワークフローID」、「呼出先ワークID」、「呼出先ワーク状態」)と、複数の通知条件間の関係を示す「演算子」とを互いに対応づけて格納する。   FIG. 6C shows an example of the notification condition table 231. The notification condition table 231 includes a “notification condition name” that represents a notification condition name, a “caller workflow ID” that identifies the caller workflow, and a “caller response return state” that represents the caller state when a response is returned. ”, Information on the call destination described in FIG. 6B (“ call destination workflow ID ”,“ call destination work ID ”,“ call destination work state ”), and“ calculation ”indicating the relationship between a plurality of notification conditions “Child” is stored in association with each other.

なお、通知条件テーブル231では、1行につき1つの通知条件を登録する。複数の通知条件にまたがったAND条件またはOR条件を定義するときには、「通知条件名」を複数の通知条件で同じ名称にし、かつ、「演算子」において互いの通知条件間の関係(AND、OR)を記述する。ANDであれば当該条件は複数における条件で必須となり、ORであれば複数のうちいずれかが条件を満たす。   In the notification condition table 231, one notification condition is registered per line. When defining an AND condition or an OR condition that extends over a plurality of notification conditions, the “notification condition name” has the same name in the plurality of notification conditions, and the “operator” has a relationship (AND, OR) between the notification conditions of each other. ) In the case of AND, the condition is indispensable in a plurality of conditions, and in the case of OR, one of the conditions satisfies the condition.

「呼出元応答返却状態」は、呼出元のワークフローの状態を示す。「応答待ち」でないときには、応答を通知せずに、「応答待ち」となるまで、通知を一時的に保留する。   The “caller response return state” indicates the state of the caller workflow. When it is not “waiting for response”, the notification is temporarily suspended until it becomes “waiting for response” without notifying the response.

通知条件を満たしたか否かを判定する処理は、図6(b)および図6(c)に記載された、呼出先に関する情報(「呼出先ワークフローID」、「呼出先ワークID」、「呼出先ワーク状態」)を互いに照合することにより、実現される。この呼出先に関する情報の組合せが、図6(b)および図6(c)で互いに一致したときに、通知条件を満たしたと判定する。   The processing for determining whether or not the notification condition is satisfied includes information on the call destination (“call destination workflow ID”, “call destination work ID”, “call” described in FIGS. 6B and 6C). This is realized by collating the previous work state ") with each other. It is determined that the notification condition is satisfied when the combination of the information on the call destinations matches each other in FIGS. 6B and 6C.

例えば、呼出先に関する情報について、2つの情報(転出ワークフロー、課長職審査ワーク)が互いに一致しているが、1つの情報(呼出先ワーク状態における「実行開始時」と「完了」)が不一致なため、この時点では通知条件を満たしていない。   For example, for information on the call destination, two pieces of information (transfer workflow, section manager examination work) match each other, but one piece of information ("execution start" and "complete" in the call destination work state) does not match. Therefore, the notification condition is not satisfied at this time.

しかし、課長職審査ワークが「実行開始時」から「完了」へと遷移し、その遷移がワーク状態統合テーブル232に反映されると、呼出先に関する情報について、3つの情報が互いに完全一致する。このとき、通知条件を満たしていると判断され、呼出元ワークフロー装置3aへと「転出ワークフロー」の応答通知が返信される。   However, when the section manager examination work transitions from “at the start of execution” to “complete” and the transition is reflected in the work state integration table 232, the three pieces of information regarding the call destination completely match each other. At this time, it is determined that the notification condition is satisfied, and a response notification of “transfer workflow” is returned to the caller workflow device 3a.

図7は、ワーク状態監視部321bが行う処理を示すフローチャートである。   FIG. 7 is a flowchart showing processing performed by the work state monitoring unit 321b.

まず、ワークフロー接続装置2からワークフロー連携を開始する旨の通知を受け取る(S11)。次に、ビジネスプロセス定義格納部331bからワークフローを読み込み、主記憶装置32b上に、ワーク状態監視を行うワークフローを保持する(S12)。そして、ワーク状態監視の対象を既に監視したワークから次に監視するワークへと変更し、ワーク状態監視の対象を決定する(S13)。まだワークを1つも監視していないときは、最初のワークを監視対象とする。   First, a notification to start workflow cooperation is received from the workflow connection device 2 (S11). Next, the workflow is read from the business process definition storage unit 331b, and the workflow for monitoring the work state is held on the main storage device 32b (S12). Then, the workpiece status monitoring target is changed from the already monitored workpiece to the next monitoring workpiece, and the workpiece status monitoring target is determined (S13). If no workpiece has been monitored yet, the first workpiece is the monitoring target.

ここで、ワークフロー接続装置2から監視終了の通知を受け取ったときは(S14,Yes)、監視の必要が無くなったことにより、処理を終了する。これにより、監視が不要なときには、監視を中断することにより、ムダな処理量を減らすことができる。一方、監視終了の通知を受け取らないときは(S14,No)、処理をS15に進める。   Here, when the monitoring end notification is received from the workflow connection device 2 (Yes in S14), the processing is ended because the monitoring is not necessary. Thereby, when monitoring is unnecessary, the amount of wasteful processing can be reduced by interrupting monitoring. On the other hand, when the notification of the monitoring end is not received (S14, No), the process proceeds to S15.

そして、一定間隔でワーク状態テーブル332bを参照して監視対象のワークの状態をチェックし、前回チェック時からワーク状態の遷移により状態が更新されている場合には(S15,Yes)、S16に進む。一方、更新がされていない場合(S15,No)は、S14に処理を戻す。   Then, the state of the work to be monitored is checked with reference to the work state table 332b at regular intervals. If the state has been updated due to the transition of the work state since the previous check (S15, Yes), the process proceeds to S16. . On the other hand, when the update has not been performed (S15, No), the process returns to S14.

S15でYesのときには、S15で検出した監視対象のワーク状態の更新をワークフロー接続装置2へ通知する(S16)。ここで、ワークフローを構成する全てのワークの処理が終了したときには(S17,Yes)、ワークフロー接続装置2へワークフローの完了通知を行う(S18)。一方、終了していないワークが存在するときには(S17,No)、処理をS13に戻す。   If the answer is Yes in S15, the workflow connection device 2 is notified of the update of the work status to be monitored detected in S15 (S16). Here, when processing of all the works constituting the workflow is completed (S17, Yes), a workflow completion notification is sent to the workflow connection apparatus 2 (S18). On the other hand, when there is an unfinished workpiece (S17, No), the process returns to S13.

図8は、ワーク状態監視部321bからワーク状態の更新を通知されたときの、ワークフロー接続装置2が行う処理を示すフローチャートである。   FIG. 8 is a flowchart showing processing performed by the workflow connection device 2 when the work state monitoring unit 321b is notified of the update of the work state.

まず、監視対象のワーク状態の更新通知(S18)をワーク状態監視部321bから受け取る(S21)。次に、S21で受け取ったワーク状態を、ワーク状態統合テーブル232へ書き込む(S22)。   First, a work state update notification (S18) to be monitored is received from the work state monitoring unit 321b (S21). Next, the work state received in S21 is written to the work state integration table 232 (S22).

ここで、通知条件テーブル231を参照し、通知条件が成立したか否かを判定する(S23)。まず、条件が不成立だった場合(S23,No)には、ワーク状態監視部321bからの情報待ち状態となり再度S21へと処理が戻る。一方、条件が成立した場合にはS24へ進む。   Here, with reference to the notification condition table 231, it is determined whether or not the notification condition is satisfied (S23). First, when the condition is not satisfied (S23, No), the information wait state from the work state monitoring unit 321b is entered, and the process returns to S21 again. On the other hand, if the condition is satisfied, the process proceeds to S24.

そして、呼出元にS21で受け取った応答メッセージを送信する(S24)。なお、S24の処理は、通知条件が成立していなくても、ワークフローが完了したときには、常に実行することとしてもよい。これは、図9に示した同期および非同期の連携方式では、ワークフローの最後に必ず応答を返すようにしている仕様との互換性を保つことを目的とする。   Then, the response message received in S21 is transmitted to the caller (S24). Note that the processing of S24 may be executed whenever the workflow is completed even if the notification condition is not satisfied. The purpose of this is to maintain compatibility with the specification in which a response is always returned at the end of the workflow in the synchronous and asynchronous linkage methods shown in FIG.

以上説明した本実施形態によれば、ワークフロー接続装置2が、呼出先ワークフローの状態遷移のうち、通知条件を満たすものについて、呼出元ワークフローに応答として通知することとした。これにより、呼出元ワークフローは、適切なタイミングで応答を受けられるので、不要な待ち時間を発生させずに、呼出先ワークフローを適切なタイミングで次々に開始することができる。よって、サービス連携における応答タイミングを柔軟に変更できる。   According to the present embodiment described above, the workflow connection device 2 notifies the caller workflow as a response of the state transition of the callee workflow that satisfies the notification condition. As a result, since the call source workflow can receive a response at an appropriate timing, the call destination workflow can be started one after another at an appropriate timing without causing unnecessary waiting time. Therefore, the response timing in service cooperation can be changed flexibly.

このように、応答を通知する機能をワークフロー接続装置2が専用的に実行する方式は、各呼出先ワークフローが呼出元ワークフローに対して、直接的に応答を通知するように呼出先ワークフローの内部を直接修正する方式に比べ、以下の利点がある。直接修正する方式では、呼出先ワークフローが実行した後に、新たに応答を通知する呼出先ワークフローが増えたときに、呼出先ワークフローを停止し、新規に呼出先ワークフローに対して、新たな応答先を登録することとなり、システムの稼働停止期間が発生してしまう。   As described above, the method in which the workflow connection apparatus 2 exclusively executes the function for notifying the response is configured so that each call destination workflow directly notifies the call source workflow of the response. Compared to the direct correction method, there are the following advantages. In the direct correction method, after the callee workflows are executed, when the number of callee workflows to which new responses are notified increases, the callee workflows are stopped and a new response destination is newly set for the callee workflows. Registration will result in a system outage period.

一方、ワークフロー接続装置2を設ける方式では、ワークフロー接続装置2の通知条件に新たに応答先を増やすだけで、呼出先ワークフローを停止せずに済むため、システムの稼働停止期間が発生しない。   On the other hand, in the system in which the workflow connection device 2 is provided, it is not necessary to stop the call destination workflow only by newly adding response destinations to the notification conditions of the workflow connection device 2, so that the system operation stop period does not occur.

本発明の一実施形態に関するワークフローの連携方式を示す説明図である。It is explanatory drawing which shows the cooperation system of the workflow regarding one Embodiment of this invention. 本発明の一実施形態に関する本実施形態のワークフロー連携システムを示す構成図である。It is a block diagram which shows the workflow cooperation system of this embodiment regarding one Embodiment of this invention. 本発明の一実施形態に関する本実施形態のワークフロー連携システムを構成する各装置の詳細を示す説明図である。It is explanatory drawing which shows the detail of each apparatus which comprises the workflow cooperation system of this embodiment regarding one Embodiment of this invention. 本発明の一実施形態に関する本実施形態のワークフロー連携システムを構成する各装置の詳細を示す説明図である。It is explanatory drawing which shows the detail of each apparatus which comprises the workflow cooperation system of this embodiment regarding one Embodiment of this invention. 本発明の一実施形態に関するワーク状態監視部およびワーク実行部の処理概要を示す説明図である。It is explanatory drawing which shows the process outline | summary of the workpiece | work state monitoring part and workpiece | work execution part regarding one Embodiment of this invention. 本発明の一実施形態に関する各テーブルの一例を示す構成図である。It is a block diagram which shows an example of each table regarding one Embodiment of this invention. 本発明の一実施形態に関するワーク状態監視部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the workpiece | work state monitoring part regarding one Embodiment of this invention performs. 本発明の一実施形態に関するワーク状態監視部からワーク状態の更新を通知されたときの、ワークフロー接続装置が行う処理を示すフローチャートである。It is a flowchart which shows the process which a workflow connection apparatus performs when the update of a workpiece | work state is notified from the workpiece | work state monitoring part regarding one Embodiment of this invention. 同期方式および非同期方式におけるワークフローの連携方式を示す説明図である。It is explanatory drawing which shows the cooperation system of the workflow in a synchronous system and an asynchronous system.

符号の説明Explanation of symbols

2 ワークフロー接続装置
221 データ変換部
222 通知条件判定部
223 メッセージ送信部
231 通知条件テーブル
232 ワーク状態統合テーブル
233 通信管理テーブル
3a 呼出元ワークフロー装置
321a ワーク状態監視部
322a ワーク実行部
331a ビジネスプロセス定義格納部
332a ワーク状態テーブル
3b 呼出先ワークフロー装置
321b ワーク状態監視部
322b ワーク実行部
331b ビジネスプロセス定義格納部
332b ワーク状態テーブル
5 設定装置
6 運用装置
9 ネットワーク
2 Workflow connection device 221 Data conversion unit 222 Notification condition determination unit 223 Message transmission unit 231 Notification condition table 232 Work state integration table 233 Communication management table 3a Caller workflow device 321a Work state monitoring unit 322a Work execution unit 331a Business process definition storage unit 332a Work state table 3b Called workflow device 321b Work state monitoring unit 322b Work execution unit 331b Business process definition storage unit 332b Work state table 5 Setting device 6 Operation device 9 Network

Claims (10)

SOA(Service Oriented Architecture)に基づくサービスを実現するためのビジネスプロセス定義がインスタンス化されたワークを順に実行するワークフローについて、
呼出元ワークフローを実行する呼出元ワークフロー装置、前記呼出元ワークフローから呼び出されて開始される呼出先ワークフローを実行する呼出先ワークフロー装置、および、呼び出しへの応答通知を前記呼出先ワークフロー装置から前記呼出元ワークフロー装置へと中継するワークフロー接続装置を、通信可能に接続して構成されるワークフローシステムが実行するワークフロー連携方法であって、
前記ワークフロー接続装置が、
前記呼出先ワークフロー、その呼出先ワークフロー内のワーク、および、そのワークの状態を通知条件として対応づけて通知条件記憶部に格納し、
前記呼出先ワークフロー装置から通知されたワークの状態と、前記通知条件記憶部から読み取った前記通知条件の前記ワークの状態とが一致するときに、前記通知条件を満たしたと判定し、
前記通知条件を満たしたときに、前記呼出先ワークフロー装置からの呼び出しへの前記応答通知を前記呼出元ワークフロー装置へと中継することを特徴とする
ワークフロー連携方法。
For workflows that execute work in which business process definitions for instantiating services based on SOA (Service Oriented Architecture) are instantiated,
A caller workflow device that executes a caller workflow, a callee workflow device that executes a callee workflow that is called and started from the caller workflow, and a call response notification from the callee workflow device to the caller A workflow linkage method executed by a workflow system configured by connecting a workflow connection device that relays to a workflow device in a communicable manner,
The workflow connection device is
The call destination workflow, the work in the call destination workflow, and the state of the work are associated with each other as a notification condition and stored in a notification condition storage unit,
When the work state notified from the callee workflow device matches the work state of the notification condition read from the notification condition storage unit, it is determined that the notification condition is satisfied,
A workflow cooperation method comprising: relaying the response notification to a call from the callee workflow device to the caller workflow device when the notification condition is satisfied.
前記ワークフロー接続装置は、さらに、前記応答通知を前記呼出元ワークフロー装置へと中継する工程において、前記呼出元ワークフロー装置が処理可能なデータ形式に前記応答通知を変換することを特徴とする
請求項1に記載のワークフロー連携方法。
The workflow connection device further converts the response notification into a data format that can be processed by the caller workflow device in a step of relaying the response notification to the caller workflow device. The workflow linkage method described in 1.
前記呼出先ワークフロー装置は、さらに、前記呼出先ワークフローの実行結果を、他の前記呼出先ワークフロー装置からもアクセス可能な共用データベースへ出力することを特徴とする
請求項1に記載のワークフロー連携方法。
The workflow cooperation method according to claim 1, wherein the call destination workflow device further outputs the execution result of the call destination workflow to a shared database accessible from other call destination workflow devices.
前記ワークフロー接続装置は、さらに、前記応答通知を前記呼出元ワークフロー装置へと中継する工程の後に、前記通知条件を全て満たした前記呼出元ワークフロー装置に対して、前記ワークの状態の通知処理を終了するように制御することを特徴とする
請求項1に記載のワークフロー連携方法。
The workflow connection apparatus further ends the work state notification process for the caller workflow apparatus that satisfies all the notification conditions after the step of relaying the response notification to the caller workflow apparatus. The workflow cooperation method according to claim 1, wherein control is performed so that
前記ワークフローシステムは、さらに、運用装置を通信可能に接続して構成され、
前記運用装置は、前記呼出先ワークフロー装置に対して前記ワークの状態の通知工程の開始を指示し、前記ワークフロー接続装置に対して通知された前記ワークの状態について、前記通知条件を満たすか否かの判定工程、および、前記通知条件を満たす前記応答通知を前記呼出元ワークフロー装置へと中継する工程の開始を指示することを特徴とする
請求項1に記載のワークフロー連携方法。
The workflow system is further configured by connecting operation devices to be communicable,
The operation device instructs the callee workflow device to start the work state notification step, and whether or not the notification condition is satisfied for the work state notified to the workflow connection device. 2. The workflow cooperation method according to claim 1, further comprising: instructing start of a step of relaying the response notification satisfying the notification condition to the caller workflow device.
前記ワークフロー接続装置は、さらに、前記通知条件記憶部に格納する前記通知条件について、複数の前記通知条件のAND条件、または、OR条件を示す前記演算子を複数の前記通知条件に対応づけて格納し、複数の前記通知条件を個別に判定し、その判定結果を前記演算子で示される条件で総合的に判定することを特徴とする
請求項1に記載のワークフロー連携方法。
The workflow connection apparatus further stores, for the notification condition stored in the notification condition storage unit, the AND condition of the plurality of notification conditions or the operator indicating the OR condition in association with the plurality of notification conditions. The workflow cooperation method according to claim 1, wherein a plurality of the notification conditions are individually determined, and the determination result is comprehensively determined based on the condition indicated by the operator.
前記ワークフロー接続装置は、さらに、前記応答通知を前記呼出元ワークフロー装置へと中継する工程において、前記呼出元ワークフロー装置が実行する前記呼出元ワークフローの状態が応答待ちでないときには、応答待ちになるまで前記応答通知を保留することを特徴とする
請求項1に記載のワークフロー連携方法。
In the step of relaying the response notification to the caller workflow device, the workflow connection device further waits for a response until the status of the caller workflow executed by the caller workflow device is not waiting for a response. The workflow cooperation method according to claim 1, wherein the response notification is suspended.
前記ワークフロー接続装置は、さらに、前記呼出先ワークフロー装置から前記呼出先ワークフローの完了通知を受けたときには、前記応答通知を前記呼出元ワークフロー装置へと通知することを特徴とする
請求項1に記載のワークフロー連携方法。
The said workflow connection apparatus further notifies the said notification of a response to the said call origin workflow apparatus, when the completion notification of the said call destination workflow is received from the said call destination workflow apparatus. Workflow linkage method.
請求項1ないし請求項8に記載のワークフロー連携方法を、前記ワークフローシステムを構成する各コンピュータに実行させるための
ワークフロー連携プログラム。
A workflow cooperation program for causing each computer constituting the workflow system to execute the workflow cooperation method according to claim 1.
SOA(Service Oriented Architecture)に基づくサービスを実現するためのビジネスプロセス定義がインスタンス化されたワークを順に実行するワークフローについて、
ワークを順に実行するワークフローである呼出元ワークフローを実行する呼出元ワークフロー装置、前記呼出元ワークフローから呼び出されて開始される呼出先ワークフローを実行する呼出先ワークフロー装置、および、呼び出しへの応答通知を前記呼出先ワークフロー装置から前記呼出元ワークフロー装置へと中継するワークフロー接続装置を、通信可能に接続して構成されるワークフローシステムに用いられる前記ワークフロー接続装置であって、
前記呼出先ワークフロー、その呼出先ワークフロー内のワーク、および、そのワークの状態を通知条件として対応づけて格納する通知条件記憶部と、
前記呼出先ワークフロー装置から通知されたワークの状態と、前記通知条件記憶部から読み取った前記通知条件の前記ワークの状態とが一致するときに、前記通知条件を満たしたと判定する前記通知条件判定部と、
前記通知条件を満たしたときに、前記呼出先ワークフロー装置からの呼び出しへの前記応答通知を前記呼出元ワークフロー装置へと中継するメッセージ送信部と、を有することを特徴とする
ワークフロー接続装置。
For workflows that execute work in which business process definitions for instantiating services based on SOA (Service Oriented Architecture) are instantiated,
A caller workflow device that executes a caller workflow that is a workflow that sequentially executes workpieces, a callee workflow device that executes a callee workflow that is called from the caller workflow, and a response notification to the call. A workflow connection device used in a workflow system configured by connecting a workflow connection device that relays from a call destination workflow device to the call source workflow device so that they can communicate with each other,
A notification condition storage unit that stores the call destination workflow, the work in the call destination workflow, and the state of the work in association with each other as a notification condition;
The notification condition determination unit that determines that the notification condition is satisfied when the state of the work notified from the call destination workflow device matches the state of the work of the notification condition read from the notification condition storage unit When,
And a message transmission unit that relays the response notification to the call from the callee workflow device to the caller workflow device when the notification condition is satisfied.
JP2007156184A 2007-06-13 2007-06-13 Workflow cooperation method, workflow cooperation program, and workflow connector Pending JP2008310475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007156184A JP2008310475A (en) 2007-06-13 2007-06-13 Workflow cooperation method, workflow cooperation program, and workflow connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007156184A JP2008310475A (en) 2007-06-13 2007-06-13 Workflow cooperation method, workflow cooperation program, and workflow connector

Publications (1)

Publication Number Publication Date
JP2008310475A true JP2008310475A (en) 2008-12-25

Family

ID=40238036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007156184A Pending JP2008310475A (en) 2007-06-13 2007-06-13 Workflow cooperation method, workflow cooperation program, and workflow connector

Country Status (1)

Country Link
JP (1) JP2008310475A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011209921A (en) * 2010-03-29 2011-10-20 Toshiba Corp Workflow cooperation management device and program
WO2015005395A1 (en) * 2013-07-12 2015-01-15 みずほ情報総研 株式会社 Event assistance device and event assistance method
JP2017201562A (en) * 2017-08-03 2017-11-09 みずほ情報総研株式会社 Event support device and event support method
WO2020170848A1 (en) * 2019-02-21 2020-08-27 日本電信電話株式会社 Maintenance management system for service providing application, maintenance management device, maintenance management method, and maintenance management program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11184766A (en) * 1997-12-18 1999-07-09 Nippon Telegr & Teleph Corp <Ntt> Business event server
JP2001331468A (en) * 2000-05-19 2001-11-30 Nec Corp Linked job flow management system among plural computers
JP2007026008A (en) * 2005-07-15 2007-02-01 Meidensha Corp Task integration system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11184766A (en) * 1997-12-18 1999-07-09 Nippon Telegr & Teleph Corp <Ntt> Business event server
JP2001331468A (en) * 2000-05-19 2001-11-30 Nec Corp Linked job flow management system among plural computers
JP2007026008A (en) * 2005-07-15 2007-02-01 Meidensha Corp Task integration system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011209921A (en) * 2010-03-29 2011-10-20 Toshiba Corp Workflow cooperation management device and program
WO2015005395A1 (en) * 2013-07-12 2015-01-15 みずほ情報総研 株式会社 Event assistance device and event assistance method
JP2015018509A (en) * 2013-07-12 2015-01-29 みずほ情報総研株式会社 Event support device and event support method
CN105378767A (en) * 2013-07-12 2016-03-02 瑞穗情报综研株式会社 Event assistance device and event assistance method
JP2017201562A (en) * 2017-08-03 2017-11-09 みずほ情報総研株式会社 Event support device and event support method
WO2020170848A1 (en) * 2019-02-21 2020-08-27 日本電信電話株式会社 Maintenance management system for service providing application, maintenance management device, maintenance management method, and maintenance management program
JP2020135504A (en) * 2019-02-21 2020-08-31 日本電信電話株式会社 Maintenance management system for service provision application, maintenance management device, maintenance management method, and maintenance management program
JP7421267B2 (en) 2019-02-21 2024-01-24 日本電信電話株式会社 Maintenance management system, maintenance management device, maintenance management method, and maintenance management program for service provision applications

Similar Documents

Publication Publication Date Title
JP5290518B2 (en) Business process management system and method for message exchange infrastructure
US20010049751A1 (en) Program control system and program control method
CN102257789A (en) System and methods for improving interaction routing performance
JPWO2008126210A1 (en) COMMUNICATION ROUTE SELECTION PROGRAM, COMMUNICATION ROUTE SELECTION METHOD, AND COMMUNICATION ROUTE SELECTION DEVICE
JP5458688B2 (en) Uniqueness guarantee support program, service providing system, and uniqueness guarantee realization method
US9537940B2 (en) Exchange of information between processing servers
JP4336363B2 (en) Business process execution method, business process execution system, and program
JP2005346573A (en) Web service providing method, server device and client terminal in web service system, web service system, web service program, and recording medium
JP2008310475A (en) Workflow cooperation method, workflow cooperation program, and workflow connector
KR20110065448A (en) Composing message processing pipelines
JP2010027007A (en) Processing device, requesting device, and processing method thereof
JP4516594B2 (en) Message transmission control method, message transmission control device, and message transmission control program
CN110807535A (en) Construction method and construction device of unified reservation platform and unified reservation platform system
JP5086820B2 (en) Service management method, system and program
JP4887338B2 (en) Information exchange computer system and operation program for the system
CN103502968B (en) Use the generic data exchange method of hierarchy routing
JP2006031491A (en) Application linkage system
KR101146742B1 (en) METHOD OF DISTRIBUTED SESSION MANAGEMENT IN SaaS AND SESSION MANAGEMENT SYSTEM THEROF
JPH1185694A (en) Inter-server link job operating system
WO2014203728A1 (en) Message control system, message control device, message control method, and program
JP4667299B2 (en) Interprocess communication method
JP2005149332A (en) Workflow management system and program therefor
US20210004266A1 (en) Distributed System that Promotes Task-Machine Affinity
CN116774996A (en) Integrated development system, code processing method, electronic device, and storage medium
CN112671877A (en) Data processing method and device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110531

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110802

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120117