JP2007026008A - Task integration system - Google Patents

Task integration system Download PDF

Info

Publication number
JP2007026008A
JP2007026008A JP2005206291A JP2005206291A JP2007026008A JP 2007026008 A JP2007026008 A JP 2007026008A JP 2005206291 A JP2005206291 A JP 2005206291A JP 2005206291 A JP2005206291 A JP 2005206291A JP 2007026008 A JP2007026008 A JP 2007026008A
Authority
JP
Japan
Prior art keywords
execution
task
business process
business
asynchronous
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
JP2005206291A
Other languages
Japanese (ja)
Inventor
Yasuyuki Hoshi
靖之 星
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2005206291A priority Critical patent/JP2007026008A/en
Publication of JP2007026008A publication Critical patent/JP2007026008A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To attain efficient task integration processing when a task for which a relatively long time is required exists from an execution request till the acquisition of the execution result. <P>SOLUTION: A data cooperation server performs synchronous functional cooperation execution control since execution is requested until the acquisition of the execution result by 1 to 7. In the case of asynchronous functional cooperation execution control, a business process temporary stop control part 8 temporarily stops the execution of a BPL by a business process processing part 2 until the execution result of the task is acquired when the execution configuration of the task is an asynchronous type, and stores state storage data prior to the stop. A business process resumption control part 10 resumes the business process execution of the business processing processing part by restoring the state prior to a temporarily stop from the association of an asynchronous task result received by an asynchronous task execution result receiving part 9 and the state storage data stored prior to the temporal stop. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ネットワークを介して分散配置されている各種業務支援サーバを、データ連携サーバによって統合的に機能させる業務統合システムに係り、特にデータ連携サーバにおける機能連携実行制御に関するものである。   The present invention relates to a business integration system that allows various business support servers distributed and arranged via a network to function in an integrated manner using a data cooperation server, and more particularly to function cooperation execution control in a data cooperation server.

ネットワーク(イントラネット/インターネット)上に存在する各種システムの提供する機能をサブルーチン化(サブルーチン化された個々の機能をタスクと呼び、以下そう称す)し、それらを組み合わる事によりシステム間のシームレスな連携を実現するデータ連携サーバが既に提案されている(例えば、特許文献1参照)。   Functions provided by various systems on the network (intranet / Internet) are made into subroutines (individual functions made into subroutines are called tasks, hereinafter referred to as tasks), and these are combined to seamlessly link the systems. A data linkage server that realizes the above has already been proposed (see, for example, Patent Document 1).

このデータ連携サーバを利用した業務統合システムの構成例を図3に示す。対象とするシステム形態は、クライアントがWebプラウザであるWeb型システムとする。基本的には従来のクライアントAと各種業務支援サーバBとの間にデータ連携サーバCをネットワークを介して配置し、このデータ連携サーバCが予め搭載されている業務プロセスのロジック(業務プロセスロジック)を自動実行することで、各業務支援サーバBとデータ連携する。この構成により、クライアントAは、データ連携サーバCに業務プロセスの実行を依頼するだけで、最終的な業務プロセスの結果を得、業務処理に対する効率化を実現する。   An example of the configuration of a business integration system using this data linkage server is shown in FIG. The target system form is a Web system in which the client is a Web browser. Basically, a data linkage server C is arranged between a conventional client A and various business support servers B via a network, and a business process logic (business process logic) in which the data linkage server C is installed in advance. Is automatically executed to link data with each business support server B. With this configuration, the client A simply obtains the result of the business process simply by requesting the data linkage server C to execute the business process, thereby realizing efficiency in the business process.

図4は、データ連携サーバのS/Wブロック図を示す。図中、実線矢印はサーバS/Wが規定する内部データの各ブロック間の流れを、波線矢印は各情報源とブロック間の情報の流れを示している。以下、各S/Wブロックの詳細を説明する。   FIG. 4 shows an S / W block diagram of the data linkage server. In the figure, solid arrows indicate the flow between blocks of internal data defined by the server S / W, and broken arrows indicate the flow of information between each information source and the blocks. Details of each S / W block will be described below.

クライアントゲート部1は、クライアントAから送信されたデータの中から、実行するプロセスロジック、プロセスロジック実行に必要な各種パラメータ、作成するGUIに対するスタイルシートの情報を抽出し、内部データとして格納する。   The client gate unit 1 extracts process logic to be executed, various parameters necessary for executing the process logic, and style sheet information for the GUI to be created from the data transmitted from the client A, and stores them as internal data.

ビジネスプロセス処理部2は、指定されたビジネスプロセスのロジックシーケンス(以下、プロセスロジックと称す)を基にビジネスプロセスを実行する。プロセスロジックは、予め実行に必要な情報が記述されており、S/Wブロックの外部に配置される。プロセスロジックの中には、実行すべきビジネスプロセス機能の名前(サービス名)が記述されている。   The business process processing unit 2 executes a business process based on a logic sequence of a designated business process (hereinafter referred to as process logic). In the process logic, information necessary for execution is described in advance, and is arranged outside the S / W block. In the process logic, the name (service name) of the business process function to be executed is described.

このビジネスプロセス処理部2では、サービス名に対応する業務支援サーバの詳細情報(サーバ名またはIPアドレス、サービース実行に必要なパラメータ要素等)をレジストリ管理部3より取得する。また、サービス名及び業務支援サーバの詳細情報をタスク通信部4に渡し、業務支援サーバBとの通信(サービス実行)を依頼する。サービス実行の結果は内部データとして格納する。この一連の処理をプロセスロジックに記述されている全部の業務支援サーバBに対して実行し、各業務支援サーバ間の連携を実現する。   In the business process processing unit 2, detailed information (server name or IP address, parameter elements necessary for service execution, etc.) of the business support server corresponding to the service name is acquired from the registry management unit 3. Also, the service name and the detailed information of the business support server are passed to the task communication unit 4 to request communication (service execution) with the business support server B. The result of service execution is stored as internal data. This series of processing is executed for all the business support servers B described in the process logic to realize cooperation between the business support servers.

レジストリ管理部3は、ビジネスプロセス処理部2が指定する業務プロセス機能の名前(サービス名)に対応する業務支援サーバBの詳細情報(サーバ名またはIPアドレス、サービス実行に必要なパラメータ要素等)をS/Wブロックの外部に配置されたレジストリ5から取得し、ビジネスプロセス処理部2に通知する。   The registry management unit 3 provides detailed information (server name or IP address, parameter elements necessary for service execution, etc.) of the business support server B corresponding to the business process function name (service name) specified by the business process processing unit 2. Acquired from the registry 5 arranged outside the S / W block, and notifies the business process processing unit 2 of it.

タスク通信部4は、ビジネスプロセス処理部2が指定するサービス名及び業務支援サーバの詳細情報をもとに、業務支援サーバBと通信(サービス実行)し、業務支援サーバBのサービス実行結果をビジネスプロセス処理部2に通知する。   The task communication unit 4 communicates (service execution) with the business support server B based on the service name specified by the business process processing unit 2 and the detailed information of the business support server, and the business execution result of the business support server B The process processing unit 2 is notified.

レジストリ5は、業務プロセス機能の名前(サーバ名)に対応する業務支援サーバの詳細情報(サーバ名またはIPアドレス、サーバ実行に必要なパラメータ要素等)を格納する。これは、データ連携サーバCのS/Wブロックからは切り離された外部リソースである。   The registry 5 stores detailed information (server name or IP address, parameter elements necessary for server execution, etc.) of the business support server corresponding to the business process function name (server name). This is an external resource separated from the S / W block of the data linkage server C.

GUI作成部6は、内部データとして格納されているビジネスプロセス処理部2の処理結果と、指定されたスタイルシート情報(S/Wブロックの外部に配置されている)を基に、クライアントAへ送信すべきGUIを動的に作成する。   The GUI creation unit 6 transmits to the client A based on the processing result of the business process processing unit 2 stored as internal data and the specified style sheet information (located outside the S / W block). A GUI to be created is dynamically created.

上記で説明したS/Wブロック構成により、データ連携サーバCは、具体的な業務アプリケーションに依存しない処理を実行するフレームワーク的な部分と、具体的な業務アプリケーションに依存する外部リソース部分(サービスレジストリ情報、業務支援サーバ、プロセスロジック、GUIスタイルシート)とで構成されていることが特徴となる。   With the S / W block configuration described above, the data linkage server C allows the framework portion to execute processing independent of a specific business application and the external resource portion (service registry depending on the specific business application). (Information, business support server, process logic, GUI style sheet).

各タスクとの連携手順(ビジネスプロセス)は、外部ファイルに定義する(このファイルをビジネスプロセス定義ファイルと呼び、以下BPD:Business Process Definitionとする)。このBPDをXML形式で記述した例を図5に示す。データ連携サーバCはこのBPDを解釈し、その定義内容に従いタスクとの連携を実施する。このBPDの記述方式は、機能連携に関するキーワード(タスク実行、分岐制御、繰り返し制御等)を定義し、それぞれの実行に必要なデータ(実行するタスク名、分岐条件、繰り返し条件)を記述する事により、制御構造を持った一連のビジネスプロセスとするものである。   The linkage procedure (business process) with each task is defined in an external file (this file is called a business process definition file, hereinafter referred to as BPD: Business Process Definition). An example in which this BPD is described in the XML format is shown in FIG. The data linkage server C interprets this BPD and performs linkage with the task according to the definition content. This BPD description method defines keywords related to function linkage (task execution, branch control, repeat control, etc.) and describes the data required for each execution (task name to execute, branch condition, repeat condition). A series of business processes with a control structure.

データ連携サーバは、BPDに従い順次タスクを実行し、その実行結果を内部データとして保持する。BPDに記述する全てのタスクの実行が終了した段階で、この内部データをビジネスプロセス実行要求元であるクライアントに返す。   The data linkage server sequentially executes tasks according to the BPD and holds the execution result as internal data. When the execution of all the tasks described in the BPD is completed, the internal data is returned to the client that is the business process execution request source.

以上により、クライアントは、データ連携サーバに定義したBPDの実行を要求するのみで、タスク間の連携を実現する事ができ、またその連携による結果を受け取る事ができる。
特開2003−242127号公報
As described above, the client can realize cooperation between tasks and can receive a result of the cooperation only by requesting execution of the BPD defined in the data cooperation server.
JP 2003-242127 A

従来のデータ連携サーバのタスク実行は、その実行要求〜実行結果取得までを1つプロセス(同期機能連携)として実現している。そのため、実行要求を出した後、その実行結果を取得するまではデータ連携サーバは待機状態となり、その間は次のタスク実行は実行されない状態が発生する(ただし、結果を返さないタスクの場合は、この限りではない)。   The task execution of the conventional data linkage server is realized as one process (synchronization function linkage) from the execution request to the execution result acquisition. Therefore, after issuing an execution request, the data linkage server is in a standby state until the execution result is acquired, and during that time, the next task execution is not executed (however, in the case of a task that does not return a result, This is not the case)

このようなタスク実行方式では、実行結果が得られるまでの所要時間が多く必要となるようなタスクとの連携に問題が発生する。例えば、承認機能などがそれで、通常承認作業は承認依頼をしてからそれに対する承認を得られるまで多くの時間(数時間、または数日など)を要するのが一般的である。   In such a task execution method, a problem occurs in cooperation with a task that requires a long time until an execution result is obtained. For example, the approval function or the like is used, and generally, the approval operation usually requires a lot of time (several hours or days) until an approval is obtained after an approval request is made.

本発明の目的は、上記の課題を解決した業務統合システムを提供することにある。   An object of the present invention is to provide a business integration system that solves the above problems.

本発明は、前記の課題を解決するため、タスクがその実行要求から実行結果取得までに比較的長い時間を要する場合、実行要求と実行結果を独立したプロセスとし、実行要求を出した後はその他の処理を実行し、実行結果が返ってきた段階でその実行結果を受け取り、その実行結果に対する後の処理を行う非同期機能連携方式とするもので、以下のシステムを特徴とする。   In order to solve the above-mentioned problems, the present invention makes the execution request and the execution result independent processes when the task takes a relatively long time from the execution request to the execution result acquisition. This is an asynchronous function linkage system that receives the execution result when the execution result is returned, and performs subsequent processing on the execution result, and is characterized by the following system.

(1)データ連携サーバは、各種業務支援サーバとはネットワークを介して接続可能にし、該各種業務支援サーバがもつ機能を連携させて実行させるビジネスプロセスロジックを予め搭載しておき、クライアントから依頼される業務プロセスの実行には該ビジネスプロセスロジックに従って各種業務支援サーバに対してタスク実行を統合的に機能させる機能連携実行制御手段を備えた業務統合システムにおいて、
前記データ連携サーバは、前記業務支援サーバに実行させるタスクがその実行要求から実行結果取得までに比較的長い時間を要する場合、該業務支援サーバにタスク実行要求を出した後は当該ビジネスプロセスロジックの実行を一時停止させて他のビジネスプロセスロジックの処理を実行し、前記実行要求に対して当該業務支援サーバから実行結果が返ってきた段階でその実行結果を受け取り、その実行結果に対するビジネスプロセスロジックの後の処理を行う非同期型の機能連携実行制御手段を備えたことを特徴とする。
(1) The data linkage server can be connected to various business support servers via a network, and is preloaded with business process logic for executing the functions of the various business support servers in cooperation with each other, requested by the client. In the business integration system provided with the function linkage execution control means for performing the task execution on the various business support servers in an integrated manner according to the business process logic,
When the task to be executed by the business support server requires a relatively long time from the execution request to the execution result acquisition, the data linkage server, after issuing the task execution request to the business support server, Suspend execution to execute processing of other business process logic, receive the execution result when the execution result is returned from the business support server in response to the execution request, and execute the business process logic of the execution result Asynchronous function cooperation execution control means for performing later processing is provided.

(2)前記データ連携サーバは、
指定されたビジネスプロセスのロジックシーケンスを基にビジネスプロセスを実行するビジネスプロセス処理部と、
タスクの実行形態が非同期型の場合に当該タスクの実行要求を出した時点で処理を終了する非同期タスク通信部と、
タスクの実行形態が非同期型の場合に当該タスクの実行結果を取得するまで前記ビジネスプロセス処理部によるビジネスプロセスロジックの実行を一時停止させ、かつ停止前の状態保存データを保存処理するビジネスプロセス一時停止制御部と、
非同期型のタスクの実行結果を受け取る非同期タスク実行結果受信部と、
非同期タスク実行結果受信部で受信した非同期タスク結果と一時停止前に保存した前記状態保存データの関連から、一時停止前の状態を復元し、前記ビジネスプロセス処理部のビジネスプロセス実行を再開するビジネスプロセス再開制御部と、
を備えたことを特徴とする。
(2) The data linkage server
A business process processing unit that executes a business process based on a specified business process logic sequence;
When the task execution form is asynchronous, an asynchronous task communication unit that terminates processing when an execution request for the task is issued;
When the task execution form is asynchronous, the business process is temporarily stopped until the execution result of the business process processing unit is suspended and the state storage data before the stop is stored. A control unit;
An asynchronous task execution result receiver that receives the execution result of an asynchronous task;
A business process that restores the state before suspension from the relationship between the asynchronous task result received by the asynchronous task execution result receiver and the state storage data saved before suspension, and resumes the business process execution of the business process processor A resume control unit;
It is provided with.

(3)前記ビジネスプロセス一時停止制御部は、一時停止前に途中結果を一度クライアントへ返し、全てのビジネスプロセスロジックの定義内容実行が終了した段階で本実行結果を返す手段を備えたことを特徴とする。   (3) The business process suspension control unit includes means for returning a halfway result to the client once before suspension and returning the execution result when the execution of the definition contents of all the business process logic is completed. And

(4)前記ビジネスプロセス一時停止制御部は、タスクとの非同期通信方式として、HTTP通信方式、メール通信方式、MQ方式の少なくとも1つの方式を実装可能にしたことを特徴とする。   (4) The business process suspension control unit can implement at least one of an HTTP communication method, a mail communication method, and an MQ method as an asynchronous communication method with a task.

(5)前記非同期タスク通信部は、状態保存データの保存方式として、バイナリィファイル保存方式、XMLファイル保存方式、データベース保存方式の少なくとも1つの方式を実装可能にしたことを特徴とする。   (5) The asynchronous task communication unit is characterized in that at least one of a binary file storage method, an XML file storage method, and a database storage method can be implemented as a state storage data storage method.

(6)前記非同期タスク実行結果受信部は、非同期タスク実行結果受信方式として、共通受信部方式、実行タスク別受信部方式の少なくとも1つの方式を実装可能にしたことを特徴とする。   (6) The asynchronous task execution result receiving unit is characterized in that at least one of a common receiving unit method and an execution task-specific receiving unit method can be implemented as an asynchronous task execution result receiving method.

以上のとおり、本発明によれば、タスクがその実行要求から実行結果取得までに比較的長い時間を要する場合、実行要求と実行結果を独立したプロセスとし、実行要求を出した後はその他の処理を実行し、実行結果が返ってきた段階でその実行結果を受け取り、その実行結果に対する後の処理を行う非同期機能連携方式を付加したため、以下の効果がある。   As described above, according to the present invention, when a task takes a relatively long time from execution request to execution result acquisition, the execution request and the execution result are set as independent processes, and after the execution request is issued, other processing is performed. When the execution result is returned, the execution result is received, and the asynchronous function cooperation method for performing the subsequent processing on the execution result is added.

(1)比較的長い実行時間を要するタスクに対し、実行要求のみを先に出しておいて、その実行結果が必要となるまでの間に他のタスク実行を処理できるようになり、一連の機能連携の効率化が図れる。   (1) For a task that requires a relatively long execution time, only an execution request is issued first, and another task execution can be processed before the execution result is required. Collaboration efficiency can be improved.

(2)ビジネスプロセス一時停止機能により、非同期タスクの実行結果が得られるまでビジネスプロセスの処理を一時停止できるため、非同期タスクと同期タスクを混在させたビジネスプロセスを実行できる。   (2) Since the business process processing can be suspended until the execution result of the asynchronous task is obtained by the business process suspension function, the business process in which the asynchronous task and the synchronous task are mixed can be executed.

(3)非同期タスクの実行結果が得られるまで、ビジネスプロセス処理の状態情報を保存し一時停止するために、その間のシステムのリソースを開放する事が可能となり、その間に実行されるビジネスプロセス実行への影響をなくす事ができる。   (3) Until the execution result of the asynchronous task is obtained, the state information of the business process processing is saved and suspended, so that the system resources in the meantime can be released and the business process executed during that time can be executed. The influence of can be eliminated.

(4)一時停止前に途中結果を一度クライアントへ返し、全てのビジネスプロセスロジック定義内容実行が終了した段階で本実行結果を返すため、非同期タスクの実行を含むビジネスプロセスの実行結果が最後まで実施しないと得られないという事がなくなり、得られた情報を別の業務に利用する事ができる。   (4) Since the intermediate result is returned to the client once before the suspension and this execution result is returned when execution of all the business process logic definition contents is completed, the execution result of the business process including the execution of the asynchronous task is executed to the end. If you don't, you won't be able to get it, and you can use the information you get for other tasks.

(5)これまでの同期タスク実行方式に加え、非同期タスク実行方式を備える事で、同期タスク実行方式のみではサポートできない応用範囲(承認処理業務など)にデータ連携サーバの適用することが可能となる。   (5) By providing an asynchronous task execution method in addition to the conventional synchronous task execution method, the data linkage server can be applied to application ranges (such as approval processing tasks) that cannot be supported by the synchronous task execution method alone. .

図1は、本発明の実施形態を示すデータ連携サーバのS/W構成図であり、図4と同等の部分は同一符号を付して示す。   FIG. 1 is an S / W configuration diagram of a data linkage server showing an embodiment of the present invention, and parts equivalent to those in FIG.

本実施形態は、機能連携において同期機能連携でのみでしかなかった従来のデータ連携サーバに対し、非同期機能連携による機能連携を可能とするものである。   In the present embodiment, function cooperation by asynchronous function cooperation is enabled with respect to a conventional data cooperation server that has been only in synchronous function cooperation in function cooperation.

この非同機能連携を実装した図1の実線矢印はデータ連携サーバS/Wが規定する内部データの各ブロック間の流れを、破線矢印は各情報源とブロック間の情報の流れを示している。   A solid line arrow in FIG. 1 in which this non-same function cooperation is implemented indicates a flow between internal data blocks defined by the data cooperation server S / W, and a broken line arrow indicates a flow of information between each information source and the block. .

非同期タスク通信部7は、ビジネスプロセス処理部2において、BPDに定義されているタスク名をキーにレジストリよりその詳細情報を取得した結果、そのタスクの実行形態が非同期型の場合に実行される機能ブロックである。タスク通信部4では、実行したタスクの実行結果を取得するまで待機するが、非同期タスク通信部7はタスクの実行要求を出した時点で処理を終了する。このようなタスク実行要求送信を実現する手段として、HTTP通信、メール通信、MQ(Message Queueing)通信がある。タスクを実行する際に、その実行タスク固有の識別IDを生成しそれをタスク実行要求に付加し、同時に非同期タスク通信部7でも管理する。   The asynchronous task communication unit 7 is a function that is executed when the business process processing unit 2 acquires the detailed information from the registry with the task name defined in the BPD as a key, and as a result, the task execution form is asynchronous. It is a block. The task communication unit 4 waits until the execution result of the executed task is acquired, but the asynchronous task communication unit 7 ends the process when a task execution request is issued. As means for realizing such task execution request transmission, there are HTTP communication, mail communication, and MQ (Message Queueing) communication. When a task is executed, an identification ID unique to the execution task is generated and added to the task execution request. At the same time, the asynchronous task communication unit 7 manages the task ID.

ビジネスブロセス一時停止制御部8は、ビジネスプロセス処理部2において、BPD中にビジネスプロセス一時停止定義を見つけた場合に実行される機能ブロックである。ビジネスプロセス一時停止定義とは、非同期実行方式を実現するに当たり拡張された定義であり、ビジネスプロセスの実行をあるタスクの実行結果を取得するまで停止するものである。このビジネスプロセス一時停止制御部8は、現在実行中のBPDの実行を一時停止する前に以下の情報の保存処理を実施する。この保存した各種情報を総称して状態保存データと呼ぶ。   The business process suspension control unit 8 is a functional block executed when the business process processing unit 2 finds a business process suspension definition in the BPD. The business process pause definition is an extended definition for realizing the asynchronous execution method, and stops execution of a business process until an execution result of a task is acquired. The business process suspension control unit 8 performs the following information storage process before temporarily suspending the execution of the currently executing BPD. The stored various information is collectively referred to as state storage data.

・実施済BPD定義情報…データ連携サーバがBPDのどこまでを実行したかを示す情報。   Implemented BPD definition information: Information indicating how far the data linkage server has executed the BPD.

・データ連携サーバ状態情報…データ連携サーバのBPD実行に伴う各種状態情報。   Data linkage server status information: various status information associated with BPD execution of the data linkage server.

・実施済タスク実行結果情報…これまでに得られたタスクの実行結果情報。   Completed task execution result information: Task execution result information obtained so far.

これらの状態保存データには非同期タスク通信部7で生成したIDを付加する。また同時にこのIDを非同期タスク実行結果受信部9に登録する。   The ID generated by the asynchronous task communication unit 7 is added to these state storage data. At the same time, this ID is registered in the asynchronous task execution result receiving unit 9.

以上の情報を保存したビジネスブロセス一時停止制御部8は、次にそれまでの実行結果を元に途中結果情報を作成、これをクライアントへ返し、ビジネスプロセスの一時停止を実施する。   The business process suspension control unit 8 that stores the above information creates intermediate result information based on the execution results so far, returns this to the client, and suspends the business process.

非同期タスク実行結果受信部9は、非同期タスク実行要求が出されたタスクからの実行結果を受け取る事で実行される機能ブロックである。同期機能連携ではタスクの実行結果はタスク通信部(タスク実行要求を出した機能ブロック)4が受け取っていたが、非同期機能連携の場合は非同期タスク実行結果受信部9が受け取る。実行結果を受け取った非同期タスク実行結果受信部9は、ビジネスプロセス再開制御部10に一時停止していたビジネスプロセス実行の再開を依頼する。   The asynchronous task execution result receiving unit 9 is a functional block that is executed by receiving an execution result from a task for which an asynchronous task execution request has been issued. In the synchronous function cooperation, the task execution result is received by the task communication unit (functional block that issued the task execution request) 4, but in the asynchronous function cooperation, the asynchronous task execution result receiving part 9 receives it. The asynchronous task execution result receiving unit 9 that has received the execution result requests the business process resumption control unit 10 to resume execution of the business process that has been temporarily stopped.

ビジネスプロセス再開制御部10は、非同期タスク実行結果受信部9より依頼を受けた場合に実行される機能ブロックである。非同期タスク実行結果受信部9で受信した非同期タスク結果と一時停止前に保存した状態保存データはIDにより関連付けられており、ビジネスプロセス再開制御部10はIDに対応した状態保存データをロードし、受信した実行結果を引数に一時停止前の状態を復元し、ビジネスプロセスの実行を再開する。BPD中の全てのタスク実行が終了したら、全ての実行結果をメール等の手段を用いてクライアントへ返す。   The business process restart control unit 10 is a functional block that is executed when a request is received from the asynchronous task execution result receiving unit 9. The asynchronous task result received by the asynchronous task execution result receiving unit 9 is associated with the state storage data stored before the suspension by the ID, and the business process resumption control unit 10 loads and receives the state storage data corresponding to the ID. Restore the state before suspension using the executed result as an argument, and resume the execution of the business process. When execution of all tasks in the BPD is completed, all execution results are returned to the client using means such as mail.

上記各機能ブロックの内、非同期タスク通信部7には(A)非同期通信方式、ビジネスプロセス一時停止制御部8には(B)状態保存データ保存方式、及び非同期タスク実行結果受信部9には(C)非同期タスク実行結果受信方式を利用することができ、これら方式には幾つかの方式があり、その詳細を以下に説明する。   Of the above functional blocks, the asynchronous task communication unit 7 has (A) the asynchronous communication method, the business process pause control unit 8 has the (B) state storage data storage method, and the asynchronous task execution result reception unit 9 has ( C) Asynchronous task execution result reception methods can be used, and there are several methods, the details of which will be described below.

(A)非同期通信方式…データ連携サーバと非同期タスク間の通信方式であり、以下の方式を少なくとも1つ備える。   (A) Asynchronous communication method: This is a communication method between the data linkage server and the asynchronous task, and includes at least one of the following methods.

(A1)HTTP通信方式
非同期タスク実行要求、及び非同期タスク実行結果受信にHTTP通信を利用する。HTTP通信は要求送信と結果受信がペアとなる同期式の通信手段であるが、非同期タスク実行要求を送信した後に返される結果(これは、非同期タスクの実行結果ではない)を無視する事で仮想的な非同期通信を実現する。実行結果は、非同期タスク側からデータ連携サーバ側に同様に通信する事で実現する。タスクへの送信パラメータは、HTTPコンテンツとして設定し、実行結果も同様に設定する。
(A1) HTTP communication method HTTP communication is used to receive asynchronous task execution requests and asynchronous task execution results. HTTP communication is a synchronous communication means in which request transmission and result reception are paired, but the result returned after sending an asynchronous task execution request (this is not the execution result of the asynchronous task) can be ignored. Asynchronous communication is realized. The execution result is realized by communicating in the same way from the asynchronous task side to the data linkage server side. The transmission parameter to the task is set as HTTP content, and the execution result is similarly set.

(A2)メール通信方式
非同期タスク実行要求送信、及び非同期タスク実行結果受信にメールを利用する。タスクへの送信パラメータはメール本文、又は添付ファイルとして設定し、実行結果はメール本文、又は添付ファイルより取得する。非同期タスク実行結果の受信はメールアカウントにより実施し、このメールアカウントで受信した実行結果を非同期タスク実行結果受信部は取得する。
(A2) Mail communication method Mail is used for asynchronous task execution request transmission and asynchronous task execution result reception. The transmission parameter to the task is set as an email text or an attached file, and the execution result is acquired from the email text or an attached file. The asynchronous task execution result is received by the mail account, and the asynchronous task execution result receiving unit acquires the execution result received by the mail account.

(A3)MQ(Message Queueing)通信方式
非同期タスク実行要求送信、及び非同期タスク実行結果受信にMQを利用する。MQとは、アプリケーション間でメッセージ交換を実現する際に、送信する/受信したメッセージを一旦キューに保存する事で、それを定期的に管理するS/Wがそのメッセージに対する送信/受信処理を実施するものであり、これによりメッセージ交換を実施するアプリケーションは、メッセージの送受信処理完了を待機する必要がなく、メッセージをキューに保管した後は、次の処理を実現できる。
(A3) MQ (Message Queueing) communication method MQ is used for asynchronous task execution request transmission and asynchronous task execution result reception. MQ means that when messages are exchanged between applications, messages that are sent / received are temporarily stored in a queue, and the S / W that regularly manages them performs send / receive processing for the messages. Thus, an application that performs message exchange does not have to wait for completion of message transmission / reception processing, and can implement the following processing after storing the message in the queue.

タスクへの送信パラメータはメッセージとして設定し、実行結果も同様にメッセージとして取得する。非同期タスク実行結果の受信はメッセージキューにより実施し、このメッセージキューで受信した実行結果を非同期タスク実行結果受信部は取得する。   The parameters sent to the task are set as messages, and the execution results are obtained as messages as well. The asynchronous task execution result is received by the message queue, and the asynchronous task execution result receiving unit acquires the execution result received by the message queue.

(B)状態保存データ保存方式…ビジネスプロセス実行の一時停止前に保存する状態保存データの保存方式であり、以下の方式を少なくとも1つ備える。   (B) State storage data storage method: This is a state storage data storage method that is stored before suspension of business process execution, and includes at least one of the following methods.

(B1)バイナリファイル保存方式
状態保存データの対象となる以下のデータをシリアライズしてバイナリファイルとして保存する。
(B1) Binary file storage method The following data that is the target of state storage data is serialized and stored as a binary file.

・実施済BPD定義情報…データ連携サーバがBPDのどこまでを実行したかを示す情報。   Implemented BPD definition information: Information indicating how far the data linkage server has executed the BPD.

・データ連携サーバ状態情報…データ連携サーバのBPD実行に伴う各種状態情報。   Data linkage server status information: various status information associated with BPD execution of the data linkage server.

・実施済タスク実行結果情報…これまでに得られたタスクの実行結果情報。   Completed task execution result information: Task execution result information obtained so far.

なお、保存する際のファイル名はシステムが一意に命名し設定する。このファイル名には、保存時に作成したIDが含まれる形となり、ビジネスプロセス実行再開時にはIDから状態保存データファイルを特定する。   The file name for saving is uniquely set and set by the system. This file name includes an ID created at the time of saving, and the state saving data file is specified from the ID when business process execution is resumed.

以上のバイナリファイル保存方式は、特別なS/W、アプリケーションを用いなくても実現できるメリットがある。   The binary file storage method described above has an advantage that can be realized without using special S / W and applications.

(B2)XMLファイル保存方式
状態保存データの対象となる上記のものと同様のデータ毎にタグを定義して、XMLファイルとして保存する。XMLファイルによる状態保存データの実装例を図2に示す。保存するデータ種別により、各タグの子要素としてそのデータ種別に応じたタグを設定する。このXMLファイル保存方式は、特別なS/W、アプリケーションを用いなくても実現でき、OS、アプリケーション、プログラミング言語に依存しない扱いが可能というメリットがある。
(B2) XML file storage method A tag is defined for each piece of data similar to the above as the target of state storage data, and is stored as an XML file. FIG. 2 shows an implementation example of state storage data using an XML file. Depending on the data type to be stored, a tag corresponding to the data type is set as a child element of each tag. This XML file storage method can be realized without using a special S / W and application, and has an advantage that it can be handled independently of the OS, application, and programming language.

(B3)データベース保存方式
状態保存データの対象となる上記のものと同様のデータをその情報項目毎をデータフィールドとしデータベースに格納する。データベースを利用する事により、ファイル保存方式と比較してデータ入出力時の処理効率の向上、データ管理が容易になるなどのメリットがある。
(B3) Database storage method Data similar to the above-described data that is the target of state storage data is stored in the database with each information item as a data field. By using a database, there are advantages such as improved processing efficiency during data input / output and easier data management compared to the file storage method.

(C)非同期タスク実行結果受信方式…非同期タスクの実行結果を受信するための受信方式であり、以下の方式を少なくとも1つ備える。   (C) Asynchronous task execution result reception method: This is a reception method for receiving the execution result of an asynchronous task, and includes at least one of the following methods.

(C1)共通受信部方式
1つの非同期タスク実行結果受信部を、全ての非同期タスクの結果取得に共通して利用する。実行した非同期タスクの実行結果から実行要求時に付加したIDを取得し、結果情報とそのIDをビジネスプロセス再開制御部に渡す。この方式は、1つの受信部を全ての非同期タスク実行結果受信用に共用するため、システムリソースの消費を抑える事ができ、受信部管理に関わるコストを抑える事ができる。
(C1) Common receiving unit method One asynchronous task execution result receiving unit is commonly used to acquire the results of all asynchronous tasks. The ID added at the time of execution request is acquired from the execution result of the executed asynchronous task, and the result information and the ID are passed to the business process restart control unit. In this method, since one receiving unit is shared for receiving all asynchronous task execution results, it is possible to suppress the consumption of system resources and to reduce the cost related to receiving unit management.

(C2)実行タスク別受信部方式
非同期タスク実行受信部を、実行した非同期タスク専用に利用する。この場合、受信部には、実行した非同期タスクの識別IDを設定する。非同期タスクの実行結果を受信した時、この受信部に設定されているIDと結果情報をビジネスプロセス再開制御部に渡す。この方式は、受信部自体にIDを付加するため、非同期タスク結果からIDを取得する必要がなく、非同期タスク結果にIDが含まれていない場合にも対処する事が可能となる。
(C2) Receiving unit method by execution task The asynchronous task execution receiving unit is used exclusively for the executed asynchronous task. In this case, the identification ID of the executed asynchronous task is set in the receiving unit. When the execution result of the asynchronous task is received, the ID and result information set in the receiving unit are passed to the business process restart control unit. Since this method adds an ID to the receiving unit itself, it is not necessary to acquire the ID from the asynchronous task result, and it is possible to cope with the case where the asynchronous task result does not include the ID.

なお、上記までの(A)非同期通信方式、(B)状態保存データ保存方式、(C)非同期タスク実行結果受信方式は、適宜組み合わせることができる。   Note that the above (A) asynchronous communication method, (B) state storage data storage method, and (C) asynchronous task execution result reception method can be combined as appropriate.

本発明の実施形態を示すデータ連携サーバのS/W構成図。The S / W block diagram of the data cooperation server which shows embodiment of this invention. 実施形態における状態保存データXMLファイル保存方式の例。The example of the state preservation | save data XML file preservation | save system in embodiment. データ連携サーバによる業務統合システムの構成例。Configuration example of a business integration system using a data linkage server. 従来のデータ連携サーバのS/W構成図。The S / W block diagram of the conventional data cooperation server. ビジネスプロセスのXMLの例。XML of business process.

符号の説明Explanation of symbols

1 クライアントゲート部
2 ビジネスプロセス処理部
3 レジストリ管理部
4 タスク通信部
5 レジストリ
6 GUI作成部
7 非同期タスク通信部
8 ビジネスプロセス一時停止制御部
9 非同期タスク実行結果受信部
10 ビジネスプロセス再開制御部
DESCRIPTION OF SYMBOLS 1 Client gate part 2 Business process processing part 3 Registry management part 4 Task communication part 5 Registry 6 GUI preparation part 7 Asynchronous task communication part 8 Business process suspension control part 9 Asynchronous task execution result reception part 10 Business process resumption control part

Claims (6)

データ連携サーバは、各種業務支援サーバとはネットワークを介して接続可能にし、該各種業務支援サーバがもつ機能を連携させて実行させるビジネスプロセスロジックを予め搭載しておき、クライアントから依頼される業務プロセスの実行には該ビジネスプロセスロジックに従って各種業務支援サーバに対してタスク実行を統合的に機能させる機能連携実行制御手段を備えた業務統合システムにおいて、
前記データ連携サーバは、前記業務支援サーバに実行させるタスクがその実行要求から実行結果取得までに比較的長い時間を要する場合、該業務支援サーバにタスク実行要求を出した後は当該ビジネスプロセスロジックの実行を一時停止させて他のビジネスプロセスロジックの処理を実行し、前記実行要求に対して当該業務支援サーバから実行結果が返ってきた段階でその実行結果を受け取り、その実行結果に対するビジネスプロセスロジックの後の処理を行う非同期型の機能連携実行制御手段を備えたことを特徴とする業務統合システム。
The data linkage server can be connected to various business support servers via a network, and is preloaded with business process logic for executing the functions of the various business support servers in cooperation with each other. In the business integration system provided with the function cooperation execution control means for performing the task execution in an integrated manner for various business support servers according to the business process logic,
When the task to be executed by the business support server requires a relatively long time from the execution request to the execution result acquisition, the data linkage server, after issuing the task execution request to the business support server, Suspend execution to execute processing of other business process logic, receive the execution result when the execution result is returned from the business support server in response to the execution request, and execute the business process logic of the execution result A business integration system comprising an asynchronous function linkage execution control means for performing subsequent processing.
前記データ連携サーバは、
指定されたビジネスプロセスのロジックシーケンスを基にビジネスプロセスを実行するビジネスプロセス処理部と、
タスクの実行形態が非同期型の場合に当該タスクの実行要求を出した時点で処理を終了する非同期タスク通信部と、
タスクの実行形態が非同期型の場合に当該タスクの実行結果を取得するまで前記ビジネスプロセス処理部によるビジネスプロセスロジックの実行を一時停止させ、かつ停止前の状態保存データを保存処理するビジネスプロセス一時停止制御部と、
非同期型のタスクの実行結果を受け取る非同期タスク実行結果受信部と、
非同期タスク実行結果受信部で受信した非同期タスク結果と一時停止前に保存した前記状態保存データの関連から、一時停止前の状態を復元し、前記ビジネスプロセス処理部のビジネスプロセス実行を再開するビジネスプロセス再開制御部と、
を備えたことを特徴とする請求項1に記載の業務統合システム。
The data linkage server
A business process processing unit that executes a business process based on a specified business process logic sequence;
When the task execution form is asynchronous, an asynchronous task communication unit that terminates processing when an execution request for the task is issued;
When the task execution form is asynchronous, the business process is temporarily stopped until the execution result of the business process processing unit is suspended and the state storage data before the stop is stored. A control unit;
An asynchronous task execution result receiver that receives the execution result of an asynchronous task;
A business process that restores the state before suspension from the relationship between the asynchronous task result received by the asynchronous task execution result receiver and the state storage data saved before suspension, and resumes the business process execution of the business process processor A resume control unit;
The business integration system according to claim 1, further comprising:
前記ビジネスプロセス一時停止制御部は、一時停止前に途中結果を一度クライアントへ返し、全てのビジネスプロセスロジックの定義内容実行が終了した段階で本実行結果を返す手段を備えたことを特徴とする請求項2に記載の業務統合システム。   The business process suspension control unit includes means for returning a halfway result to the client once before suspension and returning the execution result when execution of the definition contents of all business process logic is completed. Item 3. The business integration system according to item 2. 前記ビジネスプロセス一時停止制御部は、タスクとの非同期通信方式として、HTTP通信方式、メール通信方式、MQ方式の少なくとも1つの方式を実装可能にしたことを特徴とする請求項2または3に記載の業務統合システム。   The business process suspension control unit can implement at least one of an HTTP communication method, a mail communication method, and an MQ method as an asynchronous communication method with a task. Business integration system. 前記非同期タスク通信部は、状態保存データの保存方式として、バイナリィファイル保存方式、XMLファイル保存方式、データベース保存方式の少なくとも1つの方式を実装可能にしたことを特徴とする請求項2に記載の業務統合システム。   The business according to claim 2, wherein the asynchronous task communication unit can implement at least one of a binary file storage method, an XML file storage method, and a database storage method as a state storage data storage method. Integrated system. 前記非同期タスク実行結果受信部は、非同期タスク実行結果受信方式として、共通受信部方式、実行タスク別受信部方式の少なくとも1つの方式を実装可能にしたことを特徴とする請求項2に記載の業務統合システム。
3. The business according to claim 2, wherein the asynchronous task execution result receiving unit can implement at least one of a common receiving unit method and an execution task-specific receiving unit method as an asynchronous task execution result receiving method. Integrated system.
JP2005206291A 2005-07-15 2005-07-15 Task integration system Pending JP2007026008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005206291A JP2007026008A (en) 2005-07-15 2005-07-15 Task integration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005206291A JP2007026008A (en) 2005-07-15 2005-07-15 Task integration system

Publications (1)

Publication Number Publication Date
JP2007026008A true JP2007026008A (en) 2007-02-01

Family

ID=37786686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005206291A Pending JP2007026008A (en) 2005-07-15 2005-07-15 Task integration system

Country Status (1)

Country Link
JP (1) JP2007026008A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310475A (en) * 2007-06-13 2008-12-25 Hitachi Ltd Workflow cooperation method, workflow cooperation program, and workflow connector

Citations (1)

* 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

Patent Citations (1)

* 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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008310475A (en) * 2007-06-13 2008-12-25 Hitachi Ltd Workflow cooperation method, workflow cooperation program, and workflow connector

Similar Documents

Publication Publication Date Title
US7971209B2 (en) Shortcut in reliable communication
JP5988621B2 (en) Scalability of high-load business processes
US7949686B2 (en) Method and apparatus for scalable transport processing fulfillment system
EP0817043B1 (en) Apparatus and method for operating an aggregation of server computers using a dual-role proxy server computer
US7831600B2 (en) Cluster communication manager
US20130047165A1 (en) Context-Aware Request Dispatching in Clustered Environments
JP2005196767A (en) Scheduler supporting web service invocation
JP2008033952A (en) Most eligible server in common work queue environment
JP2005276175A (en) Scalable print spooler
US20170132256A1 (en) Cluster-Based Business Process Management Through Eager Displacement And On-Demand Recovery
US8793325B2 (en) Time and event controlled message processing
BR112014014592B1 (en) MESSAGE EXCHANGE PROCESS BETWEEN CLIENT TASKS OF THE SAME SOFTWARE BUS
JPH06243070A (en) Inter-processor communication system
US20060200565A1 (en) Methods and apparatus for flexible and transparent mediation of communication between software applications
CN106911739B (en) Information distribution method and device
JP2007026008A (en) Task integration system
US20100250684A1 (en) High availability method and apparatus for shared resources
US20130232269A1 (en) Direct return to source (drs) routing of customer information control systems (cics) transactions
JP2008310475A (en) Workflow cooperation method, workflow cooperation program, and workflow connector
JP5381242B2 (en) Multiprocessor system and control program
US7650410B2 (en) Method and system for managing programs for Web service system
CN113190624A (en) Asynchronous-to-synchronous calling method and device based on distributed cross-container
JP2008052358A (en) Asynchronous request transmission system
JP2006031491A (en) Application linkage system
US7757235B2 (en) Trigger support for a bi-directional broker

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20080612

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111014

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120113

RD02 Notification of acceptance of power of attorney

Effective date: 20120113

Free format text: JAPANESE INTERMEDIATE CODE: A7422

A02 Decision of refusal

Effective date: 20120724

Free format text: JAPANESE INTERMEDIATE CODE: A02